Little Help
#1

How to change color
Of Dailog_box

Need To pick colors from colorpicker.com ?

Код:
if(response)//button Next
  {
      ShowPlayerDialog(playerid, 10+3, DIALOG_STYLE_MSGBOX, "Commands Menu", "\n/Flip = Flip Car\n/tcar Spawn Tune Car\n/goto = Teleport To Players\n/race\n/afk\n/back\", "Next", "Cancel");
}
Reply
#2

Quote:
Originally Posted by Menaz
Посмотреть сообщение
How to change color
Of Dailog_box

Need To pick colors from colorpicker.com ?

Код:
if(response)//button Next
  {
      ShowPlayerDialog(playerid, 10+3, DIALOG_STYLE_MSGBOX, "Commands Menu", "\n/Flip = Flip Car\n/tcar Spawn Tune Car\n/goto = Teleport To Players\n/race\n/afk\n/back\", "Next", "Cancel");
}
Yes, you are right. When you get a color you want put it into brackets {color} and past in front of needed text? for example:

Код:
if(response)//button Next
  {
   ShowPlayerDialog(playerid, 10+3, DIALOG_STYLE_MSGBOX, "{ff0000}Commands Menu", "{00ff00}\n/Flip = Flip Car\n/tcar Spawn Tune Car\n/goto = Teleport To Players\n/race\n/afk\n/back\", "Next", "Cancel");
}
Reply
#3

http://www.colorpicker.com/ <- pick a color, note it (eg 0F26D6) , put it like this into the string:
"{color here}text {another color} other text" eg:
"{FFFFFF} This is white and {0F26D6} This is blue"
Reply
#4

ohh thnx both guys
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)