SA-MP Forums Archive
About the colors.. - 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: About the colors.. (/showthread.php?tid=208487)



About the colors.. - Coffeemonster - 08.01.2011

So, could someone do an explain about the dialog coloring? I kind of didn't get it, I just need an example line of colored dialog text, thanks.


Re: About the colors.. - HyperZ - 08.01.2011

https://sampwiki.blast.hk/wiki/Colour_Embedding

pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"bla bla","{FF0000}This text here is red. {0000FF} This text here is blue.","bla","bla");



Re: About the colors.. - GiS - 08.01.2011

You can do it the following way:

PHP код:
ShowPlayerDialog(playeridDIALOG_TESTDIALOG_STYLE_MSGBOX"Test""Normal color {ffffff}White color {000000}Black color""button""button2"); 
EDIT: Too slow


Re: About the colors.. - HyperZ - 08.01.2011

Quote:
Originally Posted by GiS
Посмотреть сообщение
You can do it the following way:

PHP код:
ShowPlayerDialog(playeridDIALOG_TESTDIALOG_STYLE_MSGBOX"Test""Normal color {ffffff}White color {000000}Black color""button""button2"); 
EDIT: Too slow
Hehehe and please next time use [pawn] [ /pawn]


Re: About the colors.. - Coffeemonster - 08.01.2011

Thanks.