SelectTextDraw - 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: SelectTextDraw (
/showthread.php?tid=351501)
SelectTextDraw -
AstonDA-G - 16.06.2012
Hey all, I decided to play with Selecting textdraws this morning.
I made a little gate system, press buttons on a textdraw to move the object, but theres a couple of problems.
So I created the textdraws, then added these lines in OnGameModeInit
pawn Код:
TextDrawSetSelectable(BaseConOpen, 1);
TextDrawSetSelectable(BaseConClose, 1);
and this when the thing is called
pawn Код:
SelectTextDraw(playerid, 0x32CD32FF);
So the selecting is the problem. If I mouseover the top option, only that one goes green. But if I mouse over the bottom one, both are selected green. Also if i select on the other side of the screen but in line with the textdraw, it still selects. Here's what i mean, I know i can't explain for my life.
http://beta.xfire.com/videos/5807f6
Thanks for any help in advance,
-Aston.
Re: SelectTextDraw -
AstonDA-G - 22.06.2012
*bump*?
Re: SelectTextDraw -
Sheperc - 16.04.2016
BUMP
not my post, but does anyone really know a fix to this?
Re: SelectTextDraw -
UltraScripter - 16.04.2016
TextDrawTextSize(BaseConOpen, 10.0, 10.0);
TextDrawTextSize(BaseConClose, 10.0, 10.0);