11.01.2013, 21:41
Hey,
I just made this command and it crashes my server... What's wrong??
I just made this command and it crashes my server... What's wrong??
pawn Код:
CMD:ashout(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] > 1)
{
new string[256];
if(sscanf(params, "s[256]", string)) return
SendClientMessage(playerid, COLOR_ORANGE, "[USAGE]{FFFFFF} /ashout <text>");
format(string, sizeof(string), "~w~%s", string);
GameTextForAll(string, 5000, 3);
}else{
SendClientMessage(playerid, COLOR_ERROR, "[ERROR]{FFFFFF} Only level 2,3,4,5 admins can use this command.");
}
return 1;
}