16.06.2012, 12:05
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
and this when the thing is called
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.
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);
pawn Код:
SelectTextDraw(playerid, 0x32CD32FF);
http://beta.xfire.com/videos/5807f6
Thanks for any help in advance,
-Aston.