15.06.2014, 16:16
Hice un conteo y todo estб bien, pero en el formato si cambio de color me da crash, es el primer formato el segundo anda sin problemas .
pawn Код:
forward OnPlayerConteo(playerid);
public OnPlayerConteo(playerid)
{
new numero[3];
format(numero, sizeof(numero), "~b~~h~%d", iconteo);
GameTextForPlayer(playerid, numero, 1000, 3);
iconteo--;
if(iconteo != -1)
{
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
}
if(iconteo == -1)
{
GameTextForAll("~r~~h~~h~yaaaa!", 1000, 6);
PlayerPlaySound(playerid, 3200, 0.0, 0.0, 0.0);
TogglePlayerControllable(playerid, true);
KillTimer(ConteoPlayer);
}
return 1;
}