[N]irvana Posted August 11, 2013 Share Posted August 11, 2013 As I can give a sound to a button? Example: Botton 1 Mousing over the button ( Start Song.mp3 ) Remove the mouse over the button ( Stop Song.mp3 ) Botton 2 Mousing over the button ( Start Song.mp3 ) Remove the mouse over the button ( Stop Song.mp3 ) Botton 3 Mousing over the button ( Start Song.mp3 ) Remove the mouse over the button ( Stop Song.mp3 ) I have three buttons and I want to do it that way Need some examples which are understandable, If possible created by yourselves. Link to comment
Castillo Posted August 11, 2013 Share Posted August 11, 2013 I'll do the same as I did on your other post, if you think is useful or not, I don't really care. onClientMouseEnter playSound Each link has examples, use them. Link to comment
[N]irvana Posted August 12, 2013 Author Share Posted August 12, 2013 Solidsnake14 You can create example..(( I've been struggling all day but I can not able to do I need help only with some examples in which you can understand better ..( Link to comment
Castillo Posted August 12, 2013 Share Posted August 12, 2013 button = guiCreateButton ( arguments... ) addEventHandler ( "onClientMouseEnter", button, function ( ) outputChatBox ( "The cursor just passed over the button." ) end ,false ) 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