21.01.2013, 14:37
Look at these screenshots:
As you can see, when I move the mouse on a textdraw, it turns gray. Now, when I move the mouse below a selectable textdraw, it remains gray, until I move the mouse above this last. Why? I have always the same problem when I try to make a clickable textdraw.
This is the way I use to create textdraws:
Instead, this is that I use to make clickable them:
All works fine, I would say wonderfully: but this color problem is really annoying!!!
So, where is the problem?
As you can see, when I move the mouse on a textdraw, it turns gray. Now, when I move the mouse below a selectable textdraw, it remains gray, until I move the mouse above this last. Why? I have always the same problem when I try to make a clickable textdraw.
This is the way I use to create textdraws:
pawn Код:
Skills1 = TextDrawCreate(320,240,"Rapinatore Di Auto");
TextDrawAlignment(Skills1,2);
TextDrawBackgroundColor(Skills1,0x000000FF);
TextDrawFont(Skills1,1);
TextDrawLetterSize(Skills1,0.3,1.5);
TextDrawColor(Skills1,0xFFFFFFFF);
TextDrawSetOutline(Skills1,1);
TextDrawSetProportional(Skills1,true);
TextDrawSetShadow(Skills1,1);
pawn Код:
TextDrawSetSelectable(Skills1,1);
TextDrawShowForPlayer(playerid,Skills1);
SelectTextDraw(playerid,0xC0C0C0FF);
So, where is the problem?