Textdraw Big
#1

The box is to big i only want it so the box just goes aorund the text

Quote:

txtTypeTest = TextDrawCreate(500.0, 320.0," ~y~GAMBLING AREA ~n~~w~Welcome to the gambling~n~ area ~n~Gambling is at your ~r~own~n~ risk~n~ ~w~Call the quit line on ~r~69-999");
TextDrawUseBox(txtTypeTest, 1);
TextDrawFont(txtTypeTest, 1);
TextDrawLetterSize(txtTypeTest, 0.2, 0.75);
TextDrawSetShadow(txtTypeTest,1); // no shadow
TextDrawSetOutline(txtTypeTest,1); // thickness 1
TextDrawBackgroundColor(txtTypeTest,0x000000FF);
TextDrawBoxColor(txtTypeTest,0x00000071);
TextDrawAlignment(txtTypeTest,2); // align right.

Reply
#2

Anyone know how to fix?
Reply
#3

Remove all text, and replace with "test" and see if that is the problem.
Reply
#4

Its still the same
Reply
#5

Ehm ... i'm not sure, i never scripted anything for 0.3, but try to use
pawn Код:
TextDrawTextSize(TextDrawName, size, size);
Try it out which size you need. ^^
Reply
#6

That looks promising steve, i must say.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)