SelectTextDraw
#1

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.
Reply
#2

*bump*?
Reply
#3

BUMP

not my post, but does anyone really know a fix to this?
Reply
#4

TextDrawTextSize(BaseConOpen, 10.0, 10.0);
TextDrawTextSize(BaseConClose, 10.0, 10.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)