Hmm. Selectable textdraws. - 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: Hmm. Selectable textdraws. (
/showthread.php?tid=332333)
Hmm. Selectable textdraws. -
CoCo™ - 07.04.2012
Alright, well I've been working on a new login screen that upto now has gone brilliantly however when I tried to create the keyboard / input for the passwords, any character before the one I try to select is highlighted too as seen in the image.
Is this just my coding or is there a way around it?
Re: Hmm. Selectable textdraws. -
Luis- - 07.04.2012
It happens to me as well.
AW: Hmm. Selectable textdraws. -
NetKiel - 07.04.2012
Maybe TextDrawLetterSize and TextDrawUseBox not used?
Re: Hmm. Selectable textdraws. -
Hiddos - 07.04.2012
I noticed this as well, you need to screw around a bit with TextDrawTextSize. This indicates how many 'points' in the x/y on-screen direction the selectable area is shown (When you hover over it). I think TextDrawTextSize(textid, 15.0, 15.0) should work.
Re: Hmm. Selectable textdraws. -
WaLLy.SAMP - 12.04.2012
I have the same problem at textdraw how to solve?
Re: Hmm. Selectable textdraws. -
Hiddos - 12.04.2012
Screw around a bit with TextDrawTextSize
Re: Hmm. Selectable textdraws. -
WaLLy.SAMP - 12.04.2012
Put textdrawsize in textdraw keyboard?
Edit: i put textdrawsize on Q and new is not selectable..
Re: Hmm. Selectable textdraws. -
Shabi RoxX - 12.04.2012
Quote:
Originally Posted by WaLLy.SAMP
Put textdrawsize in textdraw keyboard?
Edit: i put textdrawsize on Q and new is not selectable..
|
TextDrawUseBox is true ? I mean you are using TextDrawUseBox , if not it must be true to use textdrawsize
.
Re: Hmm. Selectable textdraws. -
WaLLy.SAMP - 12.04.2012
Quote:
Originally Posted by Shabi RoxX
TextDrawUseBox is true ? I mean you are using TextDrawUseBox , if not it must be true to use textdrawsize .
|
No,box is off.
Re: Hmm. Selectable textdraws. -
Shabi RoxX - 12.04.2012
Quote:
Originally Posted by WaLLy.SAMP
No,box is off.
|
Try to on box and then textdrawsize
use alignment = 2 : its perfect .