Putting information text to box
#1

Hello guys, can someone give me an example, how can I create some information box, where the header will have some color for example ъdolie, bellow header will be white text with some red parts.. Thx...
Reply
#2

This link will help you with dialogs in general...

DIALOG_STYLE_MSGBOX is the style you will want... Use Color Embedding to color parts of your text...

Example of coloring a string...
Quote:

White = "Hello World!"
Red = "{FF0000}Hello World!"
Blue = "{0000FF}Hello World!"

To color different parts... (This will show "Hello World!")
Quote:

Red/Blue = "{FF0000}Hello {0000FF}World!"

Reply
#3

Yeah dude, but I want to put this "textbox" for example to down left corner and is this possible in dialog?
Reply
#4

No, not in a dialog... If you want to do this, you will need to create a bunch of "TextDraws" or a "Menu"...

You should just create a dialog for what you need to do... (I dont like menu's and textdraw take up alot of lines... :P)

If you do refuse to use TextDraws, goto this CreateMenu page...
Reply
#5

I want to make something like this..

http://imageshack.us/photo/my-images/401/samp013di.png/
Reply
#6

You can make it with TextDraws. You can use something like that - https://sampforum.blast.hk/showthread.php?tid=406833 do make textdraws.
Reply
#7

I am actually trying it but I dont know why when I use box I cant put the textdraw here into this box, textdraw is just right to box..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)