19.08.2012, 15:29
I have a string like this:
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.
pawn Код:
format(string, sizeof(string), "< PRIVATE "COLOR_WHITE"CLASS >");