Textdraw
#1

Hi everyone.

I need help anyone can tell me how to make box height size small. I am talking about textdraw. I can't find it. I tried my best. I want make height size a bit small.

here's code:

PHP код:
CIVBOX TextDrawCreate(7.000000135.000000"~n~~n~~n~");
    
TextDrawUseBox(CIVBOX1);
    
TextDrawBoxColor(CIVBOX0x5591AAC8);
    
TextDrawTextSize(CIVBOX215.000000400.000000);
    
TextDrawAlignment(CIVBOX1);
    
TextDrawBackgroundColor(CIVBOX0x5591AAC8);
    
TextDrawFont(CIVBOX1);
    
TextDrawLetterSize(CIVBOX1.7000005.699999);
    
TextDrawColor(CIVBOX0x5591AAC8);
    
TextDrawSetOutline(CIVBOX1);
    
TextDrawSetShadow(CIVBOX1);
    
TextDrawSetProportional(CIVBOX1); 
Reply
#2

Look at this
Код:
TextDrawTextSize(CIVBOX, 215.000000, 400.000000);
                         x           y
x	The size on the X axis (left/right) following the same 640x480 grid as TextDrawCreate.
y	The size on the Y axis (up/down) following the same 640x480 grid as TextDrawCreate.
Source: SAMP Wiki
Reply
#3

Already did but it changes width not height. Idk y. I want to change height cuz its big for me. Thanks for replying. But it doesn't help me
Reply
#4

Anyone help?
Reply
#5

I'm sorry for bumping but i don't know why my hight size of textdraw isn't working. Guyz do you have any idea? Please look at my code and help me. thanks
Reply
#6

try to add more ~n~
and did you add TextDrawShowForPlayer?
Reply
#7

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
try to add more ~n~
and did you add TextDrawShowForPlayer?
I don't think ~n~ does help me. And No. Should i add it?
Reply
#8

Yess
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)