06.11.2016, 10:49
I'm trying to make a little close button for my textdraw. The X button should become white when selected.
But when I hover my mouse over the orange part that I drew, the X becomes white.
How do I only make the X clickable when the mouse is on it?
![](http://i.imgur.com/jfHuu4g.jpg)
But when I hover my mouse over the orange part that I drew, the X becomes white.
How do I only make the X clickable when the mouse is on it?
![](http://i.imgur.com/jfHuu4g.jpg)
Код:
XSign = TextDrawCreate(591.999877, 121.125930, "X"); TextDrawTextSize(XSign, 574.999511, 574.999511); TextDrawLetterSize(XSign, 0.400000, 1.600000); TextDrawColor(XSign, 0xFF0000FF); TextDrawSetShadow(XSign, 0); TextDrawSetOutline(XSign, 0); TextDrawFont(XSign, 2); TextDrawSetSelectable(XSign, 1);