SA-MP Forums Archive
TextDraw Help! - 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 Help! (/showthread.php?tid=376346)



TextDraw Help! - Akcent_Voltaj - 09.09.2012

how can i make the blackbox touch the redline please look at photo.

blackbox:
PHP код:
TD_Box TextDrawCreate(575.0380.0"_");
                    
TextDrawUseBox(TD_Box1);
                    
TextDrawAlignment(TD_Box2);
                    
TextDrawTextSize(TD_Box0.090.0);
                    
TextDrawLetterSize(TD_Box0.06.3);
                    
TextDrawBoxColor(TD_Box0x00000066);
                    
TextDrawBackgroundColor(TD_Box0x1229FAFF); 
Picture:



Re: TextDraw Help! - HuSs3n - 09.09.2012

just use a textdraw editor..


Re: TextDraw Help! - Akcent_Voltaj - 09.09.2012

i did and didnt work..


Re: TextDraw Help! - HuSs3n - 09.09.2012

pawn Код:
TextDrawTextSize(TD_Box, 0.0, 180.0);
idk if this will work


Re: TextDraw Help! - Akcent_Voltaj - 09.09.2012

no work..


Re: TextDraw Help! - jpeg - 10.09.2012

pawn Код:
TextDrawLetterSize(TD_Box, 0.0, 6.8);



Re: TextDraw Help! - Akcent_Voltaj - 11.09.2012

then how can i make the blackbox touch down? the _| understand like edges..


Re: TextDraw Help! - [DOG]irinel1996 - 11.09.2012

Just increase the values for TextDrawTextSize(TextdrawID, X, Y);

X -> Left/Right.
Y -> Up/Down

I think you know that negative values make the opposite. In X will go left, and in Y up.


Re: TextDraw Help! - Akcent_Voltaj - 11.09.2012

ok thx last thing how can i make a blue transparent color??


Re: TextDraw Help! - [DOG]irinel1996 - 11.09.2012

Use hexadecimal colors, 0xRRGGBBAA.
AA (alpha) is the transparency.