05.11.2011, 08:53
Hello al im having aproblem with my timer with gametext, i want it to count down from 60 to 0 but all that is happening is that 1 just flash on the screen it isnt going 60, 59, 58 andso on.
Код:
forward TimedCountdown(playerid); public TimedCountdown(playerid) { if(iTimedCountdown == -1) { iTimedCountdown = 61; } new szMessage[10]; iTimedCountdown--; format(szMessage, sizeof(szMessage), "~r~%d"); // Add more in if you wish. GameTextForAll(szMessage, 950, 3); if(iTimedCountdown == 0) { KillTimer(rCountdownHandle); DisablePlayerCheckpoint(playerid); } return 1; }