05.11.2011, 09:03
pawn Код:
forward TimedCountdown(playerid);
public TimedCountdown(playerid) {
if(iTimedCountdown == -1) {
iTimedCountdown = 61;
}
new
szMessage[10];
iTimedCountdown--;
format(szMessage, sizeof(szMessage), "~r~%d",iTimedCountdown); // Add more in if you wish.
GameTextForAll(szMessage, 950, 3);
if(iTimedCountdown == 0) {
KillTimer(rCountdownHandle);
DisablePlayerCheckpoint(playerid);
}
return 1;
}