Textdraw - 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: Textdraw (
/showthread.php?tid=312349)
Textdraw -
Abreezy - 21.01.2012
How would you make a textdraw that covers the whole screen? Apologies if this was asked before, I couldn't find it via Search. Thanks in advance.
Re: Textdraw -
Babul - 21.01.2012
https://sampwiki.blast.hk/wiki/TextDrawCreate
Quote:
Note: The x,y coordinate is the top left coordinate for the text draw area based on a 640x480 "canvas" (irrespective of screen resolution). If you plan on using TextDrawAlignment with alignment 3 (right), the x,y coordinate is the top right coordinate for the text draw.
|
..so you will need to create the textdraw at 0,0 but you also need to format it with a pretty huge string in order to let it accumulate the entire screen. it depends on the fontsize, too.
Re: Textdraw -
Abreezy - 21.01.2012
Alright, simply using some "___" should work right?
Re: Textdraw -
wildcookie007 - 21.01.2012
not really, use just _ , do a text draw box and make a lot of new lines. For example:
_~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~
But I am not sure one textdraw will cover the whole screen, there would be like 10% left of un-covered screen still.
Re: Textdraw -
iPLEOMAX - 21.01.2012
Use
Zamaroht's Textdraw editor 1.0
a) Create a textdraw
b) Enable it's box option.
c) Click on "Position" > Set it to X:0.0, Y:480.0
d) Click on "Font size" > Resize font > Increase it's Height til it covers the screen.
Done!