09.05.2010, 18:37
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.