Dialogs - 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: Dialogs (
/showthread.php?tid=237290)
Dialogs -
sim_sima - 09.03.2011
Hello.
I have made a dialog based login/register system in my gamemode.
Now im asking; how can i change the text color in the dialog box?
The dialog i want to change it in, is like this:
pawn Код:
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "<SERVERNAVN> Account", "Wrong password\nEnter your password", "Login", "Quit");
I want the "<SERVERNAVN> Account" to be yellow, the "Wrong password" to be red and the "Enter your password" to stay as default.
Hope someone can answer me. Thank you.
Re: Dialogs -
HyperZ - 09.03.2011
pawn Код:
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{F3FF02}<SERVERNAVN> Account", "{F81414}Wrong password\n{FFFFFF}Enter your password", "Login", "Quit");
Also check this:
https://sampwiki.blast.hk/wiki/Colour_Embedding
Re: Dialogs -
sim_sima - 09.03.2011
Thanks man xD
Re: Dialogs -
HyperZ - 09.03.2011
Quote:
Originally Posted by sim_sima
Thanks man xD
|
No Problem.
Re: Dialogs -
Markx - 09.03.2011
Here you can find the color codes:
http://www.colorschemer.com/online.html