08.01.2015, 14:24
Code:
forward CountDown(); public CountDown() { CountDownVar--; new str[128]; format(str, sizeof(str), "~y~%d", CountDownVar); GameTextForAll(str, 1500, 3); SoundForAll(1056); if(CountDownVar == 0) { KillTimer(CountDownTimer); SoundForAll(1057); GameTextForAll("~g~~h~~h~GO!", 2000, 3); CountDownVar = 0; for (new i = 0; i<MAX_PLAYERS; i++) { if(IsAod[i] == 1) continue; if(IsPlayerConnected(i)) { TogglePlayerControllable(i, true); } } } return 1; }