02.07.2009, 09:16
Assign a variabele to the timers, like so:
pawn Код:
new FlashColor[2];
forward StopFlash(playerid);
FlashColor[0] = SetTimerEx();
FlashColor[1] = SetTimerEx();
public StopFlash(playerid);
{
for(new i = 0; i <= sizeof(FlashColor); i++)
{
KillTimer(FlashColor[i]);
}
SetPlayerColor(playerid, default);
return 1;
}