SA-MP Forums Archive
Hex-Code in TextDraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hex-Code in TextDraw (/showthread.php?tid=306739)



Hex-Code in TextDraw - Zcelo12 - 27.12.2011

Hey,
I would like to use Hex-Colors in Textdraws like that way {FFFFFF}
But they doesn't work.

Code:
format(str,sizeof(str),"Vehicle: ~w~%s    {Old_Color} Speed: %d
So, the first color is LightBlue. "Vehicle" willl be shown in Lightblue. The name of
the vehicle will be shown in Lightblue. But How i can make Speed in Lightblue without using ~l~~n~

I hope, you understand me.
Greetings


Re: Hex-Code in TextDraw - Seven_of_Nine - 27.12.2011

You can't, Hex codes cannot be used in textdraws.
Make 2 separate textdraws. That'll do the job.


AW: Hex-Code in TextDraw - Zcelo12 - 28.12.2011

Ok, that's bad, because i can't use two seperate textdraws. (Vehiclenames)