11.12.2011, 20:58
i need working script for detect AFK players.
u found this but i am not sure does it work...
anyone know something simular...?
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(); }