17.03.2013, 04:45
I have a code below, what it currently does is adds the players rank before his name, and sets his rank, playername and text as his Teams color. I don't want it to set EVERYTHING to his team color, i only want his name to be his team color.
Example - (General John: hello).
This is the current code.
Example - (General John: hello).
This is the current code.
pawn Код:
format(string, sizeof(string), "%s %s [%d]: %s", RankName(playerid), Name(playerid), playerid, text);
SendClientMessageToAll(TeamColor(playerid), string);