SA-MP Forums Archive
Check if user is AFK? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Check if user is AFK? (/showthread.php?tid=94951)



Check if user is AFK? - Programie - 01.09.2009

Hi,

I created an AFK system for my GM.
The players can go AFK by typing /afk and go back by writing any message or command.
But now I additionally want to set the status of a player automatically to AFK, if he/she does nothing for a while.

How can I check if a player is AFK?
Maybe in OnPlayerUpdate()?


Re: Check if user is AFK? - LuxurioN™ - 01.09.2009

Exists AFK so many systems, use on your server. Or see the system to learn how that makes!

Use the search to find some!


Re: Check if user is AFK? - brett7 - 01.09.2009

http://forum.sa-mp.com/index.php?topic=116981.0

thats a slightly more adnaced one though