Posts: 621
Threads: 174
Joined: Nov 2013
Quote:
Originally Posted by Danijel.
pawn Код:
CMD:cc(playerid, params[]) { if(PlayerInfo[playerid][Admin] >= 1) { for(new i; i<100; i++) { SendClientMessageToAll(-1, ""); } new string[128]; format(string, sizeof string, "BLRP | Admin %s cleared chat", GetName(playerid)); SendClientMessageToAll(LIGHTBLUE, string); } return 1; }
|
it should be ABroadCast not SendClientMessageToAll