Crash
#1

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;
}
Reply


Messages In This Thread
Crash - by Snoopythekill - 15.06.2014, 16:16
Respuesta: Crash - by Swedky - 15.06.2014, 16:21
Respuesta: Crash - by Snoopythekill - 15.06.2014, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)