HunT Posted July 2, 2012 Share Posted July 2, 2012 (edited) Hi guys. I need the solution for make the CUE botton The botton cue dj console type tracktor. Press the botton playSound (onClientGUIClick is ok) But I need stopSound "onClientGUIClickLeave or up" Type Mouse enter / leave but with click Solution? Or need new event? Tnx. Edited July 2, 2012 by Guest Link to comment
Guest Guest4401 Posted July 2, 2012 Share Posted July 2, 2012 onClientMouseEnter onClientMouseLeave Link to comment
HunT Posted July 2, 2012 Author Share Posted July 2, 2012 Type Mouse enter / leave but with click i know this tnx but I need with click Link to comment
Guest Guest4401 Posted July 2, 2012 Share Posted July 2, 2012 Type Mouse enter / leave but with click i know this tnx but I need with click I don't think what you are trying to achieve is possible at the moment. The wiki @ onClientGUIClick says: state: the state of the mouse button, will be down if the mouse button was pushed, or up if it was released. Please note currently only the up state is supported. Link to comment
HunT Posted July 2, 2012 Author Share Posted July 2, 2012 (edited) But I can use the onClientGUIClick for playSound and onClientMouseLeave for stopSound I forget this. Ok tnx. = FAIL Edited July 2, 2012 by Guest Link to comment
HunT Posted July 2, 2012 Author Share Posted July 2, 2012 onClientMouseLeave is not good for the CUE Why this event stop the sound over the botton,but I need stopSound click leave. Other solution ? Sorry for db post. 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