10.02.2012, 13:08
After Removing String i think script look likes
pawn Код:
CMD:clearchat(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 2)
return SendClientMessage(playerid, COLOR_WHITE, "AdmCmd: You are not authorized to use that command!");
for(new i; i < 20 /* or 50 */; i++)
SendClientMessageToAll(-1, " ");
format(sizeof), "AdmCmd: %s has cleared the chatbox.", GetPlayerNameEx(playerid);
ABroadCast(COLOR_WHITE, 2);
return 1;
}