SA-MP Forums Archive
Auto AFK detection.. - 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: Auto AFK detection.. (/showthread.php?tid=176407)



Auto AFK detection.. - DiddyBop - 13.09.2010

How would you detect someone alt-tabbed? or paused?
Someone once said its if, OnPlayerUpdate returns 0.. but how can i tell if it returns 0?


Re: Auto AFK detection.. - Calgon - 13.09.2010

OnPlayerUpdate just doesn't call at all if the player is paused. Search for ******' update peripherals (or something along the lines of that name).


Re: Auto AFK detection.. - DiddyBop - 13.09.2010

Hehe ofc, somthing from ****** :P Thanks calgon