20.03.2010, 20:54
Is there any func like ClearChat? Or ClearPlayerChat?
Thanks.
Thanks.
SendClientMessageToAll(0xDEEE20FF, " ");
SendClientMessageToAll(0xDEEE20FF, " ");
SendClientMessageToAll(0xDEEE20FF, " ");
SendClientMessageToAll(0xDEEE20FF, " ");
SendClientMessageToAll(0xDEEE20FF, " ");
SendClientMessageToAll(0xDEEE20FF, " ");
SendClientMessageToAll(0xDEEE20FF, " ");
SendClientMessageToAll(0xDEEE20FF, " ");
SendClientMessageToAll(0xDEEE20FF, " ");
SendClientMessageToAll(0xDEEE20FF, " ");
for(new i = 0; i < 50; i++) SendClientMessageToAll(COLOR_WHITE," "); return 1;
Originally Posted by Jeffry
pawn Код:
Greetz, Jeffry |
for(new i = 0; i < 16; i++) SendClientMessageToAll(COLOR_WHITE," "); return 1;
Originally Posted by Zimon95
Quote:
pawn Код:
|
if(strcmp(cmd, "/clearchat", true) == 0 || strcmp(cmd, "/cc", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1 ) { if(PlayerInfo[playerid][pAdmin] == 0) { for(new i = 0; i < 100; i++) SendClientMessage(playerid,COLOR_WHITE," "); } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "AdmCmd:%s has cleared the chat.", sendername); ABroadCast(COLOR_LIGHTRED,string,1); return 1; } else { SendClientMessage(playerid, -1, "{F81414}[DENIED]:{FFFFFF} You are not authorized to use that command!"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not Logged in !"); } return 1; }