SA-MP Forums Archive
Colors in Dialog - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Colors in Dialog (/showthread.php?tid=211494)



Colors in Dialog - Rock18 - 15.01.2011

Hello , i wanna know how to put colors in dialogs , i've searched but didn't find how .


Re: Colors in Dialog - Infamous - 15.01.2011

Within the text add {Hexcode} / {FFFF00}


Re: Colors in Dialog - blackwave - 15.01.2011

click herefor the site which you can get these colors in "{ }".

A example: red
pawn Код:
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "{E01B4C}TITLE_HERE","{E01B4C}LIST_ITEMS_HERE","ok","cancel");
You can defined through words:
pawn Код:
#define red "{E01B4C}"  // HAve to be like this
And, since it's defined, the usage must be:
pawn Код:
"#red"