Small question.
#1

I was redesigning my textdraw menu and thought about making the background color changing upon hover but I found out the wikipedia says the following;

Quote:

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

But the thing is, I saw that the mSelection menu include by d0 has the background color of the tab changing upon hovering the item and I'm looking for something similar. I tried checking the include to get the idea from there but wasn't able to find it out. Can anyone explain how it's made?
Reply
#2

Don't know if this helps, but i found this:
https://sampforum.blast.hk/showthread.php?tid=436730

Seems like you would have to create your own function.
Reply
#3

Those "backgrounds" are a separate textdraw themselves, which are selectable instead of the text itself.
Reply
#4

Quote:
Originally Posted by PrO.GameR
Посмотреть сообщение
Those "backgrounds" are a separate textdraw themselves, which are selectable instead of the text itself.
Can you explain a little further?

I just however want the background color to be changed, the text color does not really matter to me. If there's a need for a separate textdraw, that's not a problem. I'm just out of idea on how to do it.
Reply
#5

Previewing models is like that. What you can do is create a sprite and use that instead.

https://sampwiki.blast.hk/wiki/TextDraw_Sprites
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)