SA-MP Forums Archive
SelectTextDraw Highlight - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SelectTextDraw Highlight (/showthread.php?tid=436730)



SelectTextDraw Highlight - The Woody - 12.05.2013

Quote:
SelectTextDraw
Note: It is the TEXT which will be highlighted when hovered over, NOT the box (if one is shown).

So its impossible to highlight the box?


Re: SelectTextDraw Highlight - AIped - 12.05.2013

i think its just the text you can highlight You could try to choose a bright colour for the box though but thats not what you want i guess.


AW: SelectTextDraw Highlight - Blackazur - 12.05.2013

Nope, it isn't.


Re: SelectTextDraw Highlight - The Woody - 12.05.2013

Quote:
Originally Posted by AIped
View Post
i think its just the text you can highlight You could try to choose a bright colour for the box though but thats not what you want i guess.
No, can't use that .

Quote:
Originally Posted by Blackazur
View Post
Nope, it isn't.
I asked if it was impossible. So do you mean no as in, yes there is a way? If so, can you explain?


Re: SelectTextDraw Highlight - RajatPawar - 12.05.2013

You could create a function to get the selected textdraw, then create a bright border around it. Not a perfect way, but a workaround.


Re: SelectTextDraw Highlight - newbienoob - 12.05.2013

Wiki won't lie


Re: SelectTextDraw Highlight - The Woody - 12.05.2013

Quote:
Originally Posted by Rajat_Pawar
View Post
You could create a function to get the selected textdraw, then create a bright border around it. Not a perfect way, but a workaround.
Great! I'll try and see what i can come up with, thank you


Re: SelectTextDraw Highlight - MP2 - 12.05.2013

I've been trying to do this. The only thing I've found out is that it works for sprites. I wonder if there's a plain-coloured sprite box that could be used..


Re: SelectTextDraw Highlight - The Woody - 12.05.2013

Quote:
Originally Posted by MP2
View Post
I've been trying to do this. The only thing I've found out is that it works for sprites. I wonder if there's a plain-coloured sprite box that could be used..
Or if i could find a small useless maybe even invisible object. I could use the model preview background instead.