15.10.2010, 15:47
Quote:
You can use:
pawn Код:
pawn Код:
|
Quote:
new down, gCountDown = 4;
public OnGameModeInit() { down = SetTimer("StartingRace",1000,true); } forward StartingRace(); public StartingRace() { gCountDown--; switch(gCountDown) { case 0: { GameTextForAll("~g~GO!", 1000, 3); KillTimer(down); PlayerPlaySound(playerid, soundid, 0,0,0); for(new i = 0; i < MAX_PLAYERS; i++) { TogglePlayerControllable(i,1); } } case 1:{ GameTextForAll("~b~1", 1000, 3);PlayerPlaySound(playerid, soundid, 0,0,0); } case 2:{ GameTextForAll("~y~2", 1000, 3);PlayerPlaySound(playerid, soundid, 0,0,0); } case 3:{ GameTextForAll("~r~3", 1000, 3);PlayerPlaySound(playerid, soundid, 0,0,0); } } return 1; }[/pawn] |