Textdraw
#1

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.
Reply
#2

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.
Reply
#3

Alright, simply using some "___" should work right?
Reply
#4

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.
Reply
#5

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!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)