FlyingSpoon Posted October 26, 2014 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. GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
Dealman Posted October 26, 2014 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. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
FlyingSpoon Posted October 27, 2014 Author Posted October 27, 2014 An example script please? GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
MTA Team botder Posted October 27, 2014 MTA Team 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. GitHub: Debug Console • MTA-Discord Relay Scripting: How to draw a line chart with DirectX functions? • Doppler Effect in MTA • Get the client's FPS • Customizable Blur Shader
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