IsPlayerAFK function ?
#1

i need working script for detect AFK players.
u found this but i am not sure does it work...

Код:
new PlayerTick[MAX_PLAYERS];
#define IsPlayerAfk(%0) (PlayerTick[%0]+1000 < GetTickCount())
public OnPlayerUpdate(playerid)
{
    PlayerTick[playerid]=GetTickCount();
}
anyone know something simular...?
Reply


Messages In This Thread
IsPlayerAFK function ? - by Trac - 11.12.2011, 20:58
Re: IsPlayerAFK function ? - by rapidhost - 11.12.2011, 21:01
Re: IsPlayerAFK function ? - by Trac - 11.12.2011, 21:04
Re: IsPlayerAFK function ? - by BleverCastard - 11.12.2011, 21:24
Re: IsPlayerAFK function ? - by rt-2 - 17.02.2017, 20:06
Re: IsPlayerAFK function ? - by Luis- - 17.02.2017, 20:22
[No subject] - by Sew_Sumi - 17.02.2017, 20:51
Re: IsPlayerAFK function ? - by Runn3R - 21.02.2017, 09:58
Re: IsPlayerAFK function ? - by rt-2 - 22.02.2017, 05:11
Re: IsPlayerAFK function ? - by PrO.GameR - 22.02.2017, 06:19

Forum Jump:


Users browsing this thread: 1 Guest(s)