17.08.2015, 16:20
Код:
public OnPlayerText(playerid, text[])
{
new chat[200], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(chat, sizeof(chat), "%s (%d): {009900}%s", name, playerid, text);
SendClientMessageToAll(0xFFFFFFFF, chat);
return 0;
}
And now, after I've added this, my color is white on mainchat no matter that I have blue color(SetPlayerColor) and it shows the greenish text.
Could you help me how to make so if I have the blue colour as a cop, and when I chat on the main chat, I actually get blue colour instead of white.
The script I've scripted is wrong. Thank you.

