#1

What is the best way to make an afk system which would kick player when he stays afk for certain amount of minutes? I heard something like OnPlayerUpdate doesnt gets called when player is tabbed-out or somth like that
Reply
#2

you can use a timer.. when he used the cmd: /afk then set a timer with the amount of minutes you want and then put in the public function a message which says he has been kicked for being too long afk and then put there the Kick(playerid); function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)