Mission label - 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: Mission label (
/showthread.php?tid=658636)
Re: Mission label -
Gammix - 17.09.2018
^ Why not just make a bigger box instead of that mess?
These two are responsible for your box:
PHP код:
TextDrawUseBox(textdraw, 1); // enable box
TextDrawTextSize(textdraw, 142.000000, 0.000000); // "142.000000" is the width of your box, higher it is the more text will fit in one line
Once you have your desired box size, you can simply just put plain text and the line will break when characters reach the width of box and a new line will continue the later text. You don't need "~n~" to break lines manually.