SA-MP Forums Archive
"SelectTextDraw" Bug ?. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: "SelectTextDraw" Bug ?. (/showthread.php?tid=475598)



"SelectTextDraw" Bug ?. - Swedky - 14.11.2013

I believe that it is a bug.

On having used "SelectTextDraw" and having spent the mouse on a textdraw, all good is, but on having spent the mouse on a textdraw that is down below that of above of all, it selects everything.

Look at the video:

[ame="http://www.youtube.com/watch?v=xJU3gfjGEzc"]http://www.youtube.com/watch?v=xJU3gfjGEzc[/ame]


Regards.



Re: "SelectTextDraw" Bug ?. - Pottus - 14.11.2013

Not a bug, your TD's are messed up.


Respuesta: Re: "SelectTextDraw" Bug ?. - Swedky - 14.11.2013

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
Not a bug, your TD's are messed up.
Do you believe that it can be this?:

pawn Код:
PlayerTextDrawSetSelectable(playerid, Box[0], 0);
I use it when I believe the TD.


Re: "SelectTextDraw" Bug ?. - Astralis - 14.11.2013

get the box area for each of selectable textdraw so it won't select all.


Re: "SelectTextDraw" Bug ?. - [D]ry[D]esert - 14.11.2013

It happen for me, because your text size is so big
i mean:
pawn Код:
TextDrawTextSize(YourTextVar,15,Your text size 'Y');
you have to reduce the x size, because you have it i think bigger than 70 or something like that.
In other word, MAKE the X in TextSize around 10 to 20.


Re: "SelectTextDraw" Bug ?. - Raza2013 - 14.11.2013

i dont think so... :O


Re: "SelectTextDraw" Bug ?. - Diablosrouge - 15.11.2013

Yeah as Neonman said, just make a box and take its size for the TextDrawTextSize.
The box is only for you to define the clickable area easier, you dont have to keep it on.