08.11.2016, 07:55
how to make a timer that stops on player disconnect and continue on player connect ??
new Timer1[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
Timer1[playerid] = SetTimerEx(blah blah blah);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
KillTimer(Timer1[playerid])
return 1;
}