GamerDeMTA Posted June 19, 2013 Posted June 19, 2013 I want to do that when you "pass" the cursor in a Button there's a sound. Like in FFSGAming. I dont mean when u click it, I mean when u pass the cursor
iPrestege Posted June 19, 2013 Posted June 19, 2013 onClientMouseEnter playSoundFrontEnd or playSound
GamerDeMTA Posted June 19, 2013 Author Posted June 19, 2013 it says i need the X and the Y . Can't i do it with the button variable?
Castillo Posted June 19, 2013 Posted June 19, 2013 No, you don't need it, just attach it to the button element.
GamerDeMTA Posted June 19, 2013 Author Posted June 19, 2013 Ok thanks. Hey can ypou also help me with this? I need a DRIFT Resource but with a export for get the Best Drift (and if it saves in your account, the best drift) is there any?
GamerDeMTA Posted June 19, 2013 Author Posted June 19, 2013 No... I will. EDIT: Do you know if 50drift has best drift export?
Castillo Posted June 19, 2013 Posted June 19, 2013 I don't know, why don't you download it and check it by yourself?
papam77 Posted June 21, 2013 Posted June 21, 2013 local Testik = { ["something"]= guiCreateStaticImage(0.157, 0.19, 0.17, 0.305, "path", true) } addEventHandler( "onClientMouseEnter", root, function(aX, aY) for key,gui in pairs (Testik) do if gui == source then guiSetAlpha ( source, 1 ) playSound("sound/btn.mp3") return end end end )
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