Dialog 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 help. (
/showthread.php?tid=475519)
Dialog help. -
JonesyFoCoTDM - 13.11.2013
Hi, I've got a dialog set up as a radio system, but I want to change the colour of "TURN OFF" in the dialog. At the moment, it's just the default white colour like the other options, any ideas?
Re: Dialog help. -
Stinged - 13.11.2013
Do you want "TURN OFF" to be as a button or an option from a list?
Re: Dialog help. -
Konstantinos - 13.11.2013
You can only change the color of the caption and info with
color embedding. However, you cannot change the color of the buttons.
Re: Dialog help. -
JonesyFoCoTDM - 13.11.2013
Quote:
Originally Posted by Stinged
Do you want "TURN OFF" to be as a button or an option from a list?
|
Option from the list mate.
Re: Dialog help. -
Stinged - 14.11.2013
pawn Код:
ShowPlayerDialog(playerid, DIALOG_ID_HERE, "Title here", "{FF0000}Option1\n{00FF00}Option2\n{0000FF}Option3","Button1","Button2");
So as you can see, I added {code} before each option.
This is how you change the colors.
FF (red) FF (green) FF (blue)
Example: FFFFFF is white.
But you can easily use a color picker.
http://www.psyclops.com/tools/rgb/
When you choose a color, just copy the code after "Hex String" and paste it between { }