Textdraw-Selectable-Color Issue
#1

Quick question I didn't find a solution for yet: I have three textdraws which are all selectable. But I only want one of these textdraws to change its color when I slide with my mouse over it. Is it possible?

Issue is here because I can only set one color for all textdraws:

pawn Код:
SelectTextDraw(playerid, color);
Reply
#2

Only indirectly. For the ones you don't want the color to change you'll have to create an invisible overlay (box only, no text). It is this overlay which then needs to be made selectable, rather than the actual text.
Reply
#3

Worked out fine, thanks.
Reply
#4

I seem to have a follow-up question: I have a box, on this box I have a text. Now I want to have a box as a hover behind the text as soon as I move with my mouse over the area of the box. Is this possible?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)