27.05.2016, 18:05
Why not keep it simple?
You were using first bracket wrong way around and you've missed quote mark after string formatting.
Код:
CMD:cc(pid, params[]) { #pragma unused params 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); }