10.10.2012, 02:57
no seu GM sу pode 2 pessoas tirar x1 por vez? porque se nгo teria que ser
pawn Код:
//no topo
new CountdownTimerX1Running[MAX_PLAYERS];
CountdownTimerX1Running[i] = SetTimerEx("CountDownX1Running", 1000, 1, "n", i);
public CountDownX1Running(playerid)
{
switch(Count)
{
case 5: { GameTextForPlayer(playerid,"~n~~w~]~r~ 5 ~w~]", 1000, 3), PlayerPlaySound(playerid, 1056, 0,0,0); }
case 4: { GameTextForPlayer(playerid,"~n~~w~]~r~ 4 ~w~]", 1000, 3), PlayerPlaySound(playerid, 1056, 0,0,0); }
case 3: { GameTextForPlayer(playerid,"~n~~w~]~r~ 3 ~w~]", 1000, 3), PlayerPlaySound(playerid, 1056, 0,0,0); }
case 2: { GameTextForPlayer(playerid,"~n~~w~]~y~ 2 ~w~]", 1000, 3), PlayerPlaySound(playerid, 1056, 0,0,0); }
case 1: { GameTextForPlayer(playerid,"~n~~w~]~y~ 1 ~w~]", 1000, 3), PlayerPlaySound(playerid, 1056, 0,0,0); }
case 0:
{
GameTextForPlayer(playerid,"~n~~b~]~g~ GO! ~b~]", 2000, 3);
PlayerPlaySound(playerid, 1057, 0,0,0);
KillTimer(CountdownTimerX1Running[playerid]);
}
}
Count--;
}