26.07.2014, 15:45
pawn Код:
new TimerCreator;
//callback
new counter = 11;
TimerCreator = SetTimer("CountDown",1000,true);
//callback not.
forward CountDown();
public CountDown()
{
counter = counter - 1;
if(counter == -1)
{
KillTimer(TimerCreator);
}
else GameTextForPlayer(playerid,counter,100,3);
}