16.03.2013, 09:34
Lol, just delete that command and use this one:
I have absolutely no idea what you're trying to do in that command, the only thing I get is that you want to clear the chat.
pawn Код:
cmd(cc, playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return 1;
for(new i = 0; i < 50; i++) {SendClientMessageToAll(0x33FF33AA," ");}
new name[MAX_PLAYER_NAME],string[128];
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
format(string,128,"Administrator %s has cleared the chat.",name);
SendClientMessageToAll(0xFFFFFFAA,string);
return 1;
}