TextDraw: Letter distance for box
#1

Hi all, I have a problem. I can not make a textdraw the red square. I use Zamaroht's TextDraw Editor v0.6 but the problem is the TextDraw not grow down, I need a big box with no text to put other texts. I think it would take 2 texts. But as I make a box with no text in this ratio to below the image of Cops And Robber's. I use it because the server that the chat is very constant, would be a second box with the game information. Thanks for all!



[img width=1024 height=640]http://i.imagehost.org/0726/imagem.jpg[/img]





Reply
#2

UP
Reply
#3

Wait long time for an answer. I need to know how this textdraw was done so that I can make one like that. ( first img )


Thanks....
Reply
#4

I think the first box is made with no TextDrawAlignment, with the TextDrawTextSize set to about 200.000000 and 0.000000.
This should stop the box filling the screen.

Second text is no box and no TextDrawTextSize, but use TextDrawAlignment and set it to 2.
Reply
#5

Sure,

I tried to do what you told me, but failed


[img width=514 height=768]/imageshack/img694/1484/wowj.jpg[/img]

Code:
	Textdraw4 = TextDrawCreate(17.000000, 142.000000, "Routine Patrol Mission");
	TextDrawBackgroundColor(Textdraw4, 255);
	TextDrawFont(Textdraw4, 3);
	TextDrawLetterSize(Textdraw4, 0.519999, 1.200000);
	TextDrawColor(Textdraw4, -1);
	TextDrawSetOutline(Textdraw4, 0);
	TextDrawSetProportional(Textdraw4, 1);
	TextDrawUseBox(Textdraw4, 1);
	TextDrawBoxColor(Textdraw4, 255);
	TextDrawTextSize(Textdraw4, 222.000000, 0.000000);
Reply
#6

Make a new Textdraw and just add spaces to it, then add the box to that.
Reply
#7

The objective is not to make another Cops and Robbers, but this model textdraw to reduce the sa-mp chat. The TextDraw is not that just want to know how to make a big box without text.


Thanks
Reply
#8

Quote:
Originally Posted by Marshew_DD
The objective is not to make another Cops and Robbers, but this model textdraw to reduce the sa-mp chat. The TextDraw is not that just want to know how to make a big box without text.


Thanks
Quote:
Originally Posted by [HiC
TheKiller ]
Make a new Textdraw and just add spaces to it, then add the box to that.
Reply
#9

Quote:
Originally Posted by [HiC
TheKiller ]
Quote:
Originally Posted by Marshew_DD
The objective is not to make another Cops and Robbers, but this model textdraw to reduce the sa-mp chat. The TextDraw is not that just want to know how to make a big box without text.


Thanks
Quote:
Originally Posted by [HiC
TheKiller ]
Make a new Textdraw and just add spaces to it, then add the box to that.

Hun... i make this, but i need the distance between the text and the box, the sides as the top. how I do it?

Code:
Textdraw0 = TextDrawCreate(17.000000, 142.000000, "Routine Patrol Mission ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.519999, 1.200000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, 221.000000, 0.000000);
And:

[img width=479 height=768]/imageshack/img704/5471/wow2k.jpg[/img]



Thanks!
Reply
#10

I waiting long time.... thanks
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)