How to identify AFK people
#8

There is a much simpler way of detecting if someone is paused/alt-tabbed. Since OnPlayerUpdate doesn't get called when you aren't in the actual game, create a variable and set it to 0 constantly under OnPlayerUpdate. Then set a (1 second) timer which check if the variable is 1 (if yes, then he's afk) and after the check set it to 1.
Reply


Messages In This Thread
How to identify AFK people - by aNdReSkKkK - 20.01.2010, 20:19
Re: How to identify AFK people - by KnooL - 20.01.2010, 20:22
Re: How to identify AFK people - by woot - 20.01.2010, 20:22
Re: How to identify AFK people - by aNdReSkKkK - 20.01.2010, 20:24
Re: How to identify AFK people - by KnooL - 20.01.2010, 20:27
Re: How to identify AFK people - by Joe Staff - 20.01.2010, 20:32
Re: How to identify AFK people - by aNdReSkKkK - 20.01.2010, 20:41
Re: How to identify AFK people - by dice7 - 20.01.2010, 20:50

Forum Jump:


Users browsing this thread: 1 Guest(s)