Using team color in a textdraw
#1

I have a string like this:
pawn Код:
format(string, sizeof(string), "< PRIVATE "COLOR_WHITE"CLASS >");
I am going to use the string in a texdraw. I want the word: "PRIVATE" to be in that player's team color. I got a stock "TeamColor" to get the team's color, so can I use it in that somehow? I dont want format these manually (like if(gTeam[playerid] == TEAMNAME)) because I got 4 teams and 6 classes so I'd have to make 24 seperate format lines. Any help would be appreciated.
Reply


Messages In This Thread
Using team color in a textdraw - by Dan. - 19.08.2012, 15:29
Re: Using team color in a textdraw - by Vince - 19.08.2012, 15:34
Re: Using team color in a textdraw - by Grimrandomer - 19.08.2012, 15:41
Re: Using team color in a textdraw - by Dan. - 19.08.2012, 15:50
Re: Using team color in a textdraw - by Dan. - 19.08.2012, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)