31.10.2015, 17:34
(
Последний раз редактировалось TheDarkBlade; 01.11.2015 в 05:02.
)
Hello i have been trying to make a vip vehicle fix
i get an error at countdown var
Код:
new CountDown1 = 5; new CountDownTimer; forward CountDown(); public CountDown() { CountDown1--; new str[128]; if(CountDown1 == 0) { KillTimer(CountDownTimer); CountDownVar = 5; } else { format(str, sizeof(str), "Numaratoarea inversa: %d", CountDownTimer); GameTextForAll(str, 1000, 1); } return 1; } CMD:test(playerid, params[]) { CountDownTimer = SetTimer("CountDown", 1000, false); SendClientMessage(playerid, COLOR_WHITE, "Numaratoarea inversa a fost declansata."); return 1; }