Weird Textdraw Box Width - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Weird Textdraw Box Width (
/showthread.php?tid=440198)
Weird Textdraw Box Width -
AccountName - 28.05.2013
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);
Re: Weird Textdraw Box Width -
Pottus - 28.05.2013
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.
Re: Weird Textdraw Box Width -
AccountName - 28.05.2013
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.
Re: Weird Textdraw Box Width -
Pottus - 28.05.2013
Use the TD editor export and you'll see why, but from what I can tell you need to set TextDrawTextSize().
Re: Weird Textdraw Box Width -
MarkenFrank1 - 10.02.2014
I have the same problem