08.11.2016, 07:57
First you make timer
Then you do this
Then you do this
PHP код:
new Timer1[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
Timer1[playerid] = SetTimerEx(blah blah blah);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
KillTimer(Timer1[playerid])
return 1;
}