TextDraw simple help
#1

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);
Reply
#2

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)
Reply
#3

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
Reply
#4

I suggest this :
https://sampwiki.blast.hk/wiki/Colors_List
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)