ann command causes crash
#1

This command causes crash on my server as I fix it?

when using the command /ann ~r~text, it is normal

but when they write without the ~ provokes crash
/ann r~ text


Код:
CMD:ann(playerid, params[])
{
 if(Player[playerid][Level] < 5 && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"{0099FF}>> {EEEEEE}Error: {0099FF}You Need High level.");
        GameTextForAll(params,4000,3);
    new
       jugador[32],
        enviador[128]
    ;
    GetPlayerName(playerid, jugador, sizeof(jugador));
    format(enviador, 128, "Admi {FFFFFF}%s envio ann",jugador);
    SendClientMessageToAll(PINK_COLOR,enviador);
    return 1;
}
Reply


Messages In This Thread
ann command causes crash - by vegaltasendai - 26.03.2018, 22:21
Re: ann command causes crash - by UFF - 27.03.2018, 02:20
Re: ann command causes crash - by vegaltasendai - 27.03.2018, 04:45
Re: ann command causes crash - by UFF - 27.03.2018, 05:21
Re: ann command causes crash - by AlamoTR - 27.03.2018, 06:16
Re: ann command causes crash - by vegaltasendai - 27.03.2018, 15:19

Forum Jump:


Users browsing this thread: 3 Guest(s)