01.12.2013, 18:33
That's a good question and we are not aware of its answer yet. Anyways, I'm going to write about both.
- The text on the chat is white colour because you added "{FFFFFF}" before the text. If you don't want it white, then you'll simply need to remove it.
- The name on the chat is white colour? If so, then you need to use:
so the name will get the colour of the team. If that is what you wanted, then change the rest according the example above but each team with its own colour.
- The text on the chat is white colour because you added "{FFFFFF}" before the text. If you don't want it white, then you'll simply need to remove it.
- The name on the chat is white colour? If so, then you need to use:
pawn Код:
if(gTeam[playerid] == TEAM_GSF)
{
format(str, sizeof(str), "{%06x}%s: {FFFFFF}%s", TEAM_GSF_COLOR >>> 8, pname, text);
ProxDetector(10.0, playerid, str, TEAM_GSF_COLOR, TEAM_GSF_COLOR, TEAM_GSF_COLOR, TEAM_GSF_COLOR, TEAM_GSF_COLOR);
}