Sign in to follow this  
biostunt

How can I realize an AFK kick?

Recommended Posts

The most basic AFK Kick is by saving the player position or the car position if the player is in the car and then checking this position once in a while with the actual position of the player/car. If the positions are the same for 10 times ( after checking this 10 x 60000 ms ) you can kick the player for being AFK for more than 10 minutes.

Share this post


Link to post
Share on other sites
В 30.08.2019 в 19:57, Atesh сказал:

The most basic AFK Kick is by saving the player position or the car position if the player is in the car and then checking this position once in a while with the actual position of the player/car. If the positions are the same for 10 times ( after checking this 10 x 60000 ms ) you can kick the player for being AFK for more than 10 minutes.

thx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.