Highlighting textdraws.
#1

Hello!

For example, I have five textdraws. TextDrawCreate, Selectable (............) show for player. Let's suppose those textdraws are green color. I use function to set player ability to select a textdraw. (SelectTextDraw(playerid, 0xFFFFFFFF); --> white. But, if I move my cursor on textdraws, then all gets highlighted.

My question is: Is any way to remove that highlight, or maybe highlight only selected textdraw?
I've been searching for an half an hour, but I couldn't find something wich can help me!

+Rep.
Reply
#2

It's all about the "TextDrawTextSize" you have to reduce it, but pay attention so you don't have a negative value.
Reply
#3

Don't have that in my Texdraw code.
I created Textdraws with iPLEOMAX's Texdraw Editor.

What's the proper TextDrawTextSize? I've tried with 5, 5, but lol, if I put, all my Textdraws aren't workin', and nothing happens when I press on them.

Anyway; +rep.
Reply
#4

That textdraw editor is old the new on by adri1 is much better https://sampforum.blast.hk/showthread.php?tid=543002
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)