22.10.2012, 17:10
E Tente..
PHP код:
public CountDownX1Running()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(TaNox1Running[i] == 1 && IsPlayerConnected(i))
{
if(Count == 5){GameTextForPlayer(i,"5", 2000, 3);PlayerPlaySound(i, 1056, 0,0,0);}
if(Count == 4){GameTextForPlayer(i,"4", 2000, 3);PlayerPlaySound(i, 1056, 0,0,0);}
if(Count == 3){GameTextForPlayer(i,"3", 2000, 3);PlayerPlaySound(i, 1056, 0,0,0);}
if(Count == 2){GameTextForPlayer(i,"2", 2000, 3);PlayerPlaySound(i, 1056, 0,0,0);}
if(Count == 1){GameTextForPlayer(i,"1", 2000, 3);PlayerPlaySound(i, 1056, 0,0,0);}
if(Count == 0)
{
GameTextForPlayer(i,"GO", 2000, 3);
PlayerPlaySound(i, 1057, 0,0,0);
KillTimer(CountdownTimerX1Running);
TogglePlayerControllable(i,1);
}
}
}
Count--;
return true;
}