06.07.2009, 18:03
Код:
forward CountDown(); public CountDown() { new String[64]; for(new i = 0; i < GetMaxPlayers(); i++) if(IsPlayerConnected(i)) { if(Drift[i] == 1) { format(String, 64,"~r~~h~%d",Count); GameTextForPlayer(i,String,1000,6); } } Count--; if(Count > 0) { SetTimer("CountDown",1000,false); } else { format(String, 64,"~g~~h~GO"); for(new i = 0; i < GetMaxPlayers(); i++) { if(Drift[i] == 1) { TogglePlayerControllable(i, 1); GameTextForPlayer(i,String,1000,6); } } Count = 6; } }