Using makros with inline Textdrawcolors?
#1

Ahoy guys


Thats what i have

Код:
#define FIRST_TEAM_COLOR_TAG "{610D96}VIOLET"

format(astring,sizeof(astring),"Team: "#FIRST_TEAM_COLOR_TAG);
PlayerTextDrawSetString(playerid, TeamText[playerid], astring);
PlayerTextDrawShow(playerid,TeamText[playerid]);
Ingame it looks like: Team: ? 610D96 VIOLET (without any color)

If i do it this way

Код:
format(astring,sizeof(astring),"Team: {610D96}VIOLET ");
PlayerTextDrawSetString(playerid, TeamText[playerid], astring);
PlayerTextDrawShow(playerid,TeamText[playerid]);
Its fine.
How can i fix my first part to get the same result like in the second, working part?
Reply


Messages In This Thread
Using makros with inline Textdrawcolors? - by faxxe - 11.03.2017, 22:22
Re: Using makros with inline Textdrawcolors? - by LeonMrBonnie - 11.03.2017, 22:44
Re: Using makros with inline Textdrawcolors? - by Toroi - 11.03.2017, 22:58
Re: Using makros with inline Textdrawcolors? - by Vince - 12.03.2017, 09:01
Re: Using makros with inline Textdrawcolors? - by Toroi - 12.03.2017, 09:05

Forum Jump:


Users browsing this thread: 2 Guest(s)