Chat colour only white
#3

Quote:
Originally Posted by Areax
Посмотреть сообщение
The names are white or the text is white ?
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:
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);
}
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.
Reply


Messages In This Thread
Chat colour only white - by Jesper00 - 01.12.2013, 17:20
Re: Chat colour only white - by Areax - 01.12.2013, 18:09
Re: Chat colour only white - by Konstantinos - 01.12.2013, 18:33

Forum Jump:


Users browsing this thread: 5 Guest(s)