10.02.2012, 12:57
Show us the ClearChatbox(i) function.
Also, you can easily do it this way:
Also, you can easily do it this way:
pawn Код:
CMD:clearchat(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
for(new i = 0; i < 100; i++)
SendClientMessageToAll(-1,"");
}
return 1;
format(string, sizeof(string), "AdmCmd: %s has cleared all the chatbox.", GetPlayerNameEx(playerid);
ABroadCast(COLOR_WHITE, string, 2);
}