GamerDeMTA Posted June 19, 2013 Share 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 Link to comment
iPrestege Posted June 19, 2013 Share Posted June 19, 2013 onClientMouseEnter playSoundFrontEnd or playSound Link to comment
GamerDeMTA Posted June 19, 2013 Author Share Posted June 19, 2013 it says i need the X and the Y . Can't i do it with the button variable? Link to comment
Castillo Posted June 19, 2013 Share Posted June 19, 2013 No, you don't need it, just attach it to the button element. Link to comment
GamerDeMTA Posted June 19, 2013 Author Share 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? Link to comment
Castillo Posted June 19, 2013 Share Posted June 19, 2013 Not sure, have you searched on the community? Link to comment
GamerDeMTA Posted June 19, 2013 Author Share Posted June 19, 2013 No... I will. EDIT: Do you know if 50drift has best drift export? Link to comment
Castillo Posted June 19, 2013 Share Posted June 19, 2013 I don't know, why don't you download it and check it by yourself? Link to comment
papam77 Posted June 21, 2013 Share 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 ) 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