Posts: 73
Threads: 18
Joined: Sep 2013
Reputation:
0
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?
Posts: 73
Threads: 18
Joined: Sep 2013
Reputation:
0
Hello? Can someone answer this please?
Posts: 731
Threads: 29
Joined: Feb 2012
Reputation:
0
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.
Posts: 73
Threads: 18
Joined: Sep 2013
Reputation:
0
The problem is how can i create a textdraw and hide the previous one just by hovering over it?
Posts: 73
Threads: 18
Joined: Sep 2013
Reputation:
0
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.
Posts: 73
Threads: 18
Joined: Sep 2013
Reputation:
0
Smeone with a useful reply please?
I reallly need help regarding this.
Posts: 2,187
Threads: 81
Joined: Aug 2011
Reputation:
0
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)
Posts: 73
Threads: 18
Joined: Sep 2013
Reputation:
0
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.