Posts: 35
Threads: 18
Joined: Feb 2014
Reputation:
0
is there a way to check if a player is afk and run a function ?
Posts: 1,794
Threads: 104
Joined: Feb 2012
Reputation:
0
Yes you can.
OnPlayerUpdate- either check if the player is in the same position for the X time then do what you want (not afk players might be kicked 2 if they stand in the same XYZ)
OnPlayerUpdate - check again if the player in the same position then display a dialog, when the dialog displays set another time which checks if he didnt answer(RESPONSE) kick him.
Posts: 35
Threads: 18
Joined: Feb 2014
Reputation:
0
can you show me an example ?
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
Not related to 0.3z is it?
Posts: 35
Threads: 18
Joined: Feb 2014
Reputation:
0
well i puted it here because i use 0.3z server.
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
Other people use 0.3z, do you see anyone else posting here?