Change color of this
#1

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.
pawn Код:
format(string, sizeof(string), "%s %s [%d]: %s", RankName(playerid), Name(playerid), playerid, text);
    SendClientMessageToAll(TeamColor(playerid), string);
Reply
#2

1. What is your colour code for TeamColor(playerid) ?
2. Use this: http://www.w3schools.com/tags/ref_colorpicker.asp and (re)select your colors
Reply
#3

pawn Код:
format(string, sizeof(string), "{FFFFFF}%s {%06x} %s {FFFFFF}[%d]: %s", RankName(playerid), TeamColor(playerid), Name(playerid), playerid, text);
    SendClientMessageToAll(TeamColor(playerid), string);
try maybe something like that? so everything is white except his name which is Team Color
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)