Using a string to set textdraw color
#2

Nope.

Code:
PlayerTextDrawColor(playerid, txtpDmg[playerid], ADD_COLOR_CODE_HERE);
PlayerTextDrawColor(playerid, txtpDmg[playerid], COLOR_RED);
You can use this.
https://sampwiki.blast.hk/wiki/TextDraw_Text_Codes

Code:
format(strJoin, sizeof(strJoin), "~r~%d", 10+amount*-1);
PlayerTextDrawSetString(playerid, txtpDmg[playerid], strJoin);
Reply


Messages In This Thread
Using a string to set textdraw color - by Amads - 01.07.2017, 10:53
Re: Using a string to set textdraw color - by Freedom. - 01.07.2017, 11:56
Re: Using a string to set textdraw color - by Amads - 01.07.2017, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)