Weird Textdraw Box Width
#1

Hey, I have just started to learn the textdraw functions and then I encounted this weird width thing, anyone tell me whats wrong with my code, also how do I do spaces in the string?

Image of problem: http://i.imgur.com/uO03ncv.png
pawn Код:
Test = TextDrawCreate(204 ,225, "Welcome, John Farrow");
TextDrawFont(Test, 1);
TextDrawLetterSize(Test, 0.5, 1.5);
TextDrawColor(Test, 0x00368CFF);
TextDrawSetOutline(Test, false);
TextDrawSetProportional(Test, true);
TextDrawSetShadow(Test, 1);
TextDrawUseBox(Test, 1);
TextDrawBoxColor(Test, 0x1F1F1F88);
Reply
#2

Use a TD editor

http://forum.sa-mp.com/showthread.ph...aroht+textdraw

or

https://sampforum.blast.hk/showthread.php?tid=376758

Manually trying to do it is a waste of time.
Reply
#3

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
That doesn't really help me, I want to know why it does it, not how to do it an easier way.
Reply
#4

Use the TD editor export and you'll see why, but from what I can tell you need to set TextDrawTextSize().
Reply
#5

I have the same problem
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)