16.08.2014, 16:17
As long as the player color was changed with SetPlayerColor, it will work.
You can also use this:
If you like it to look like the normal chat but with id.
You can also use this:
pawn Код:
format(str, sizeof(str), "{%06x}%s[%d]: {FFFFFF}%s", GetPlayerColor(playerid) >>> 8, name, playerid, text);
SendClientMessageToAll(-1, str);