01.11.2017, 23:16
@edit
Jб vi o erro, se ajudei um rep faz bem kk.
Jб vi o erro, se ajudei um rep faz bem kk.
PHP код:
forward InicioCorrida();
public InicioCorrida()
{
for(new i = 0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
case 0:
{
if(correndo[i] == 1)
{
GameTextForPlayer(i, "5", 1001, 5);
PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0);
}
}
case 1:
{
if(correndo[i] == 1)
{
GameTextForPlayer(i, "4", 1001, 5);
PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0);
}
}
SetTimer("InicioCorrida3", 1000, false);
case 2:
{
if(correndo[i] == 1)
{
GameTextForPlayer(i, "4", 1001, 5);
PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0);
}
}
SetTimer("InicioCorrida3", 1000, false);
case 3:
{
if(correndo[i] == 1)
{
GameTextForPlayer(i, "3", 1001, 5);
PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0);
}
}
SetTimer("InicioCorrida3", 1000, false);
case 4:
{
if(correndo[i] == 1)
{
GameTextForPlayer(i, "2", 1001, 5);
PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0);
}
}
SetTimer("InicioCorrida3", 1000, false);
case 5:
{
if(correndo[i] == 1)
{
GameTextForPlayer(i, "1", 1001, 5);
PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0);
}
}
SetTimer("InicioCorrida3", 1000, false);
case 6:
{
if(correndo[i] == 1)
{
GameTextForPlayer(i, "GO", 1001, 5);
PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0);
}
}
SetTimer("InicioCorrida3", 1000, false);
}
}
return 1;
}