10.02.2012, 12:54
pawn Код:
CMD:clearchat(playerid, params[])
{
foreach(Player, i)
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
for(new e = 0; e < 4; e++) ClearChatbox(i);
}
}
return 1;
format(string, sizeof(string), "AdmCmd: %s has cleared all the chatbox.", GetPlayerNameEx(playerid);
ABroadCast(COLOR_WHITE, string, 2);
}