TextDraw simple help - 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: TextDraw simple help (
/showthread.php?tid=569777)
TextDraw simple help -
Brys - 02.04.2015
Does the HTML Colors works for text draws ? or what colors can i use ? can you send me a menu with colors and codes please ?
FOr example : will this work ?
Код:
TextDrawColor(MainMenu[5] , 0099FF);
Re: TextDraw simple help -
Gamer 1 - 02.04.2015
I don't think it will work, basically you just put 0x infront of RGB color code
Here are some colors codes for ya.
COLOR_CLIENT (0xAAC4E5FF)
COLOR_WHITE (0xFFFFFFFF)
COLOR_RED (0xFF0000FF)
COLOR_CYAN (0x33CCFFFF)
COLOR_LIGHTRED (0xFF6347FF)
COLOR_LIGHTGREEN (0x9ACD32FF)
COLOR_YELLOW (0xFFFF00FF)
COLOR_GREY (0xAFAFAFFF)
COLOR_HOSPITAL (0xFF8282FF)
COLOR_PURPLE (0xD0AEEBFF)
COLOR_LIGHTYELLOW (0xF5DEB3FF)
COLOR_DARKBLUE (0x1394BFFF)
COLOR_ORANGE (0xFFA500FF)
COLOR_LIME (0x00FF00FF)
COLOR_GREEN (0x33CC33FF)
COLOR_BLUE (0x2641FEFF)
Re: TextDraw simple help -
Ritzy2K - 02.04.2015
No mate color embedding only work for client messages... for textdraws and gamemode text u need to use like -
this - ~(color]~
for example ~b~blueee
and ~r~reeeeedddd
and ~g~greeeeen
~w~whiiiteeee
~y~yellowwwww
~p~puuurpleee
there are certain more...refer to samp wiki for them..
note using ~h~ will lighten it..
and if u use it exceissevly it ll turn the it into white
like ~b~~h~ light blueeeee
u can also create arrows (forgot
)
if u even miss a '~' somewhere ull have an error of unmatched tilde...good luck.
and nope your example wont work.
you need to use this while creating textdraw itself
Re: TextDraw simple help -
Alpay0098 - 02.04.2015
I suggest this :
https://sampwiki.blast.hk/wiki/Colors_List