SA-MP Forums Archive
afk detect - 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)
+--- Thread: afk detect (/showthread.php?tid=486563)



afk detect - iBots - 09.01.2014

how can i make like when play presses on esc or gets afk,it will show like a timer on his head counts the seconds,minutes,hours of his afk time,i dont want it to be like getting playerpos and getting the pos again with a timer
help


Re: afk detect - newbie scripter - 09.01.2014

http://forum.sa-mp.com/showthread.ph...=onplayerpause


Re: afk detect - iBots - 09.01.2014

i tried it,it doesnt work


Re: afk detect - iBots - 09.01.2014

help?


Re: afk detect - Burridge - 09.01.2014

https://sampforum.blast.hk/showthread.php?tid=220089 - cessil talks about how you can use OnPlayerUpdate to detect AFK players as OnPlayerUpdate isn't called for players who are paused.

http://forum.sa-mp.com/showpost.php?...8&postcount=43 - A full example.