DIALOG COLOR 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: DIALOG COLOR help??? (
/showthread.php?tid=473283)
DIALOG COLOR help??? -
VinPure - 02.11.2013
HOW TO ADD COLOr to dialog Box,,,, and Web Check Code COLOR samp
Tks
sory my Bad english
Respuesta: DIALOG COLOR help??? -
Parka - 02.11.2013
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", "");
Re: DIALOG COLOR help??? -
Konstantinos - 02.11.2013
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
Re: DIALOG COLOR help??? -
VinPure - 02.11.2013
thank you all for helping
hi