05.11.2011, 12:49
(
Последний раз редактировалось manchestera; 05.11.2011 в 13:58.
)
Ok ive got a timer that works great but i want asecond time the same but ust with a different time on it but when i try to moddify it i get errors i do not understand totally.
So i need another one like this but im not sure what i need to change in it ?
Код:
forward TimedCountdown(playerid);
public TimedCountdown(playerid) {
if(iTimedCountdown == -1) {
iTimedCountdown = 81;
}
new
szMessage[10];
iTimedCountdown--;
format(szMessage, sizeof(szMessage), "~r~%d",iTimedCountdown); // Add more in if you wish.
GameTextForPlayer(playerid, szMessage, 950, 6);
if(iTimedCountdown == 0) {
KillTimer(Sfracetimer);
DisablePlayerRaceCheckpoint(playerid);
}
return 1;
}

