TextDraws Problems On Hovering Color
#1

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:
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);
Instead, this is that I use to make clickable them:
pawn Код:
TextDrawSetSelectable(Skills1,1);
TextDrawShowForPlayer(playerid,Skills1);
SelectTextDraw(playerid,0xC0C0C0FF);
All works fine, I would say wonderfully: but this color problem is really annoying!!!
So, where is the problem?
Reply
#2

You can control the selectable area via TextDrawTextSize but you have to it manually (change the x and y till it fits)
Reply
#3

Thanks so much
Rep +1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)