FatalTerror Posted January 8, 2012 Share Posted January 8, 2012 (edited) Hi, Exist one event when the player scroll the mouse on up or down ? Thanks Edited January 8, 2012 by Guest Link to comment
Gr0x Posted January 8, 2012 Share Posted January 8, 2012 Yes. use onClientMouseWheel Arguments: upOrDown up = 1 down = -1 Link to comment
FatalTerror Posted January 8, 2012 Author Share Posted January 8, 2012 Yes i found it but... It work only when the mouse are on top of a GUI element. I want detect the scroll (up and down) not only when he is on a GUI element. Understand ? ^^ Example: I'm mapping and i want change fastly the object. I scroll the mouse and it change the object Link to comment
myonlake Posted January 8, 2012 Share Posted January 8, 2012 Check out the editor resource, it should have function for that because you rotate elements with that scrolling. Link to comment
FatalTerror Posted January 8, 2012 Author Share Posted January 8, 2012 Check out the editor resource, it should have function for that because you rotate elements with that scrolling. I have try, but have so much functions Link to comment
mjau Posted January 8, 2012 Share Posted January 8, 2012 https://wiki.multitheftauto.com/wiki/Key_names bind mousewheel up and down to a function to detect it Link to comment
FatalTerror Posted January 8, 2012 Author Share Posted January 8, 2012 https://wiki.multitheftauto.com/wiki/Key_namesbind mousewheel up and down to a function to detect it Big thanks 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