27.05.2016, 19:07
Like this
Код:
CMD:cc(pid, params[]) { #pragma unused params if(Playerinfo[pAdmin] == 0) return SCM(playerid,-1,"Only admins with level 1 or higher can use this command."); if(Playerinfo[pAdmin] < 3) { for(new cc = 0; cc < 250; cc++) { SCMToAll(COLOR_WHITE, " "); } new name[MAX_PLAYER_NAME + 1]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "The chat has been cleared by {FF0000}%s", name); SCMToAll(COLOR_WHITE, string); } }