open.mp forum
How can i embed color in Textdraw? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: General Discussions (https://forum.open.mp/forumdisplay.php?fid=6)
--- Thread: How can i embed color in Textdraw? (/showthread.php?tid=1348)



How can i embed color in Textdraw? - Cada - 2020-11-14

Hello.



I want to make Textdraw with couple of colors.

I know that i can make it like " Oh!?~r~Hello ~w~World" but i can`t " Oh! {FF0000}Hello {FFFFFF}World".

i want to embed hex color. can i do it?



Finally, i want to make textdraw based on gray, and make some color red.

Ex) {Gray}Oh!! Hey, {Red}How {Gray}are you?



Plz help me!!


RE: How can i embed color in Textdraw? - Pinch - 2020-11-14

You can't.



Only gametext colors are available


RE: How can i embed color in Textdraw? - Freaksken - 2020-11-15

Pretty sure someone made a library once that enabled RGB textdraw text colours.



Can't find it anymore unfortunately.


RE: How can i embed color in Textdraw? - Y_Less - 2020-11-15

https://github.com/On3d4y/TextDrawColour.inc