TextDraw Coords (Help)
#1

Hey, Erm i need the textdraw coords of this black box in the middle of the screen

I'm rly not good with coords, So please go easy on me


If u know please reply, Thanks





Reply
#2

the frame of each textdraw is 640x480. if you want that box 1/2 size of horizontal/vertcal size, then its the coords:
640/4= 160 and 480/4=120
if you want it slightly smaller, like your picture, it could be 1/3 at x and y axis: around 640/3 = 210, the width depends on the string lenght you define to display...
in short: you only need 2 coords for the top-left spot. 160,120 is good to start with i guess ^^
Код:
0,0       320,0      640,0
+---------------+---------------+
l   l
+------+160,120- - - - +
l   l textdraw box l
l   l ...      l
l   l ...      l
l   + - - - - - - - +
l
+---------------+---------------+
0,480      320,480     640,480
Reply
#3

Quote:
Originally Posted by Babul
the frame of each textdraw is 640x480. if you want that box 1/2 size of horizontal/vertcal size, then its the coords:
640/4= 160 and 480/4=120
if you want it slightly smaller, like your picture, it could be 1/3 at x and y axis: around 640/3 = 210, the width depends on the string lenght you define to display...
in short: you only need 2 coords for the top-left spot. 160,120 is good to start with i guess ^^
Код:
0,0       320,0      640,0
+---------------+---------------+
l   l
+------+160,120- - - - +
l   l textdraw box l
l   l ...      l
l   l ...      l
l   + - - - - - - - +
l
+---------------+---------------+
0,480      320,480     640,480

Thank you very much, But i don't realy understand

I just want the coords for right in the middle of the screen, I don't want it the exact size.
Reply
#4

simply try 160,120 or 200,120
Reply
#5

Simply use the textdraw filterscripts. Helped me a lot!
Reply
#6

Quote:
Originally Posted by Babul
simply try 160,120 or 200,120
Ok are give it a try and, reply if they work.
Reply
#7

Ok so i tryed 200,120 and it is the exact postion i want but.

The box is to long, it goes out of the right hand screen


Any help?


Pic



Reply
#8

thats a too long string. shorten it to maybe [14] maximum.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)