DIALOG COLOR help???
#1

HOW TO ADD COLOr to dialog Box,,,, and Web Check Code COLOR samp
Tks
sory my Bad english
Reply
#2

is very simple you should use the color combiner and then place it inside '{' '}'

Exmple:
pawn Код:
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Notice", "{00ff00}You {ffff00}connected {ff0000}to the {00ffff}server", "Close", "");
Reply
#3

https://sampwiki.blast.hk/wiki/Colour_Em...olor_embedding

Let's say the text of the dialog is: "This is a dialog with {FFFFFF}white and {FF0000} red colours!".

You can convert colours at: http://www.javascripter.net/faq/rgbtohex.htm

Play around with 0-255 values (Red-Green-Blue) and you'll get different colors.

For example, 255-255-255 gives: FFFFFF

So adding 0x before and FF after that 6 digits -> 0xFFFFFFFF
Reply
#4

thank you all for helping
hi
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)