SA-MP Forums Archive
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=575488)



Textdraw - sscarface - 27.05.2015

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); 



Re: Textdraw - bgedition - 27.05.2015

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


Re: Textdraw - sscarface - 27.05.2015

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


Re: Textdraw - sscarface - 27.05.2015

Anyone help?


Re: Textdraw - sscarface - 27.05.2015

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


Re: Textdraw - UltraScripter - 27.05.2015

try to add more ~n~
and did you add TextDrawShowForPlayer?


Re: Textdraw - sscarface - 27.05.2015

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?


Re: Textdraw - UltraScripter - 27.05.2015

Yess