A little help here please.
#1

I have been working on textdraws for a long time now and have a good grip on making and scripting textdraws but i have a problem.
Yesterday i came up with an idea. I thought that if textdraw can change color when we hover at them why cant they change size?
So i am here to ask this that if this is possible or not that if i hover over a textdraw is it possible that it changes size? As in like the textdraw zooms upon hovering the mouse over it?
Reply
#2

Hello? Can someone answer this please?
Reply
#3

SA-MP does not give you the chance to change it using a function. However, you can pre-create a Textdraw with the size you want, hide the previous one and showing the pre-created. It's not going to be easy with a large amount of Textdraws, but it is going to work I guess.
Reply
#4

The problem is how can i create a textdraw and hide the previous one just by hovering over it?
Reply
#5

Quote:
Originally Posted by Vege
Посмотреть сообщение
The problem is how can i create a textdraw and hide the previous one just by hovering over it?
https://sampwiki.blast.hk/wiki/TextDrawCreate
https://sampwiki.blast.hk/wiki/TextDrawHideForPlayer
https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
Reply
#6

Oh My God WoW!
A useless reply that didnt help me -.-

I am talking about just hovering the mouse pointer over a specific textdraw and make it zoom or change size or whatever.
Reply
#7

Smeone with a useful reply please?
I reallly need help regarding this.
Reply
#8

When you hover your mouse over a textdraw, the SA-MP server does not send any callback so it's kind of impossible to detect it. You can however, create a plugin for this functionality and that plugin (in VS) can help you do all sorts of things you want (detecting mouse clicks, key presses, hovering and whatever VS offers) LOCALLY. (only on the PC where you run the plugin)
Reply
#9

Now thats an answer i was looking for thanks dude i really appreciate your help and for the truth when i started working on textdraws i wanted to master textdraws like you.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)