26.03.2018, 22:21
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
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;
}


