CheiN Posted August 26, 2012 Share Posted August 26, 2012 function sound ( ) playSound ( "music2.mp3" ) end bindKey ( "w", "down", sound ) function real ( ) stopSound ( "music2.mp3" ) end bindKey ( "w", "up", real ) Link to comment
Castillo Posted August 26, 2012 Share Posted August 26, 2012 function soundBind ( _, keyState ) if ( keyState == "down" ) then sound = playSound ( "music2.mp3" ) elseif ( keyState == "up" ) then if ( sound ) then stopSound ( sound ) end end end bindKey ( "w", "both", soundBind ) Link to comment
CheiN Posted August 26, 2012 Author Share Posted August 26, 2012 solid which function i should use to dissable the Vehicle sounds? Link to comment
TAPL Posted August 26, 2012 Share Posted August 26, 2012 solid which function i should use to dissable the Vehicle sounds? https://wiki.multitheftauto.com/wiki/SetWorldSoundEnabled 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