FlyingSpoon Posted October 26, 2014 Share Posted October 26, 2014 Hi there, I am trying to make a resource so when I hover over a image it changes? Any ideas how I can do it. Link to comment
Dealman Posted October 26, 2014 Share Posted October 26, 2014 Learn to navigate the MTA Wiki and it will open a whole new world of possibilities. 1. You want to change something when your mouse hovers over an image - obviously, this would be an event - not a function. Go to Client Scripting Events. 2. Images are related to GUI, look at the GUI Events. 3. You want something to happen when your mouse hovers and probably stops to hover an image. You'll find onClientMouseEnter and onClientMouseLeave. 4. All you need. Link to comment
FlyingSpoon Posted October 27, 2014 Author Share Posted October 27, 2014 An example script please? Link to comment
MTA Team botder Posted October 27, 2014 MTA Team Share Posted October 27, 2014 Learn to read* navigate the MTA Wiki and it will open a whole new world of possibilities.... 3. You want something to happen when your mouse hovers and probably stops to hover an image. You'll find onClientMouseEnter and onClientMouseLeave. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now