16.01.2019, 18:00
You can do it without timers;
PHP код:
new player_time[MAX_PLAYERS];
public OnPlayerUpdate(playerid)
{
new time = gettime();
if(player_time[playerid] != time)
{
player_time[playerid] = time;
//code here
}
return 1;
}