25.06.2013, 17:22
You have to use the color of the player to show the correct color.
pawn Код:
public OnPlayerText(playerid, text[])
{
new message[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(message, sizeof message, "%s(%d): {FFFFFF}%s", name, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), message);
return 0;
}