[SOLVED]TextDrawUseBox question
#1

Does this supposed to look like this or you can set the width of the box or something makes the box like this?

http://i42.tinypic.com/r1ep09.jpg

I would want it to be like this

http://i39.tinypic.com/2qc4ad0.jpg

I have searched all wiki and forum and noone has this problem (if this is even a problem)

Here is the code

Код:
    ClothesTextDraw = TextDrawCreate(15.000000, 170.000000, "Use ~y~LMB ~w~and ~y~RMB ~n~~w~for clothes selection.~n~Press ~y~ENTER ~w~to buy clothes~n~or press ~y~LEFT SHIFT ~w~to~n~return to main menu.");
	TextDrawFont(ClothesTextDraw, 1);
	TextDrawLetterSize(ClothesTextDraw,0.499999,1.500000);
	TextDrawSetProportional(ClothesTextDraw, 1);
	TextDrawUseBox(ClothesTextDraw, 1);
	TextDrawBoxColor(ClothesTextDraw, 0x00000099);
I've tried this
Код:
    ClothesTextDraw = TextDrawCreate(15.000000, 170.000000, "Use ~y~LMB ~w~and ~y~RMB ~n~~w~for clothes selection.~n~Press ~y~ENTER ~w~to buy clothes~n~or press ~y~LEFT SHIFT ~w~to~n~return to main menu.");
	TextDrawUseBox(ClothesTextDraw, 1);
	TextDrawBoxColor(ClothesTextDraw, 0x00000099);
this

Код:
    ClothesTextDraw = TextDrawCreate(15.000000, 170.000000, "Use ~y~LMB ~w~and ~y~RMB ~n~~w~for clothes selection.~n~Press ~y~ENTER ~w~to buy clothes~n~or press ~y~LEFT SHIFT ~w~to~n~return to main menu.");
this

Код:
    ClothesTextDraw = TextDrawCreate(15.000000, 170.000000, "Test.");

and it is the same. The box is stretched to the right side.
Reply


Messages In This Thread
[SOLVED]TextDrawUseBox question - by Dujma - 04.03.2009, 18:01
Re: TextDrawUseBox question - by ғαιιοцт - 04.03.2009, 18:08
Re: TextDrawUseBox question - by Dujma - 04.03.2009, 18:09
Re: TextDrawUseBox question - by ғαιιοцт - 04.03.2009, 18:10
Re: TextDrawUseBox question - by Dujma - 04.03.2009, 18:12
Re: TextDrawUseBox question - by ғαιιοцт - 04.03.2009, 18:13
Re: TextDrawUseBox question - by Dujma - 04.03.2009, 18:34
Re: [SOLVED]TextDrawUseBox question - by ғαιιοцт - 05.03.2009, 17:19
Re: [SOLVED]TextDrawUseBox question - by Dujma - 05.03.2009, 17:46

Forum Jump:


Users browsing this thread: 1 Guest(s)