Stranger Posted February 13, 2015 Share Posted February 13, 2015 hello, i have a little question which is, how can i make when the player shoting the real sound of the weapon stop, and make another sound starts ? Link to comment
franku Posted February 13, 2015 Share Posted February 13, 2015 You want to change the original sound of the weapon? Link to comment
Stranger Posted February 13, 2015 Author Share Posted February 13, 2015 yes, but i don't want the real sound to start Link to comment
franku Posted February 13, 2015 Share Posted February 13, 2015 playSound onClientWeaponFire Don't forget to add the sound in the script folder and in meta. Link to comment
Stranger Posted February 13, 2015 Author Share Posted February 13, 2015 i know that, i meant, i want the real sound of the weapon stops when the player is shooting, and the custom sound start, so you can't hear the real sound of the weapon, only custom sounds. Link to comment
xeon17 Posted February 13, 2015 Share Posted February 13, 2015 function disableSounds() setAmbientSoundEnabled( "gunfire", false ) setWorldSoundEnabled ( 5, false) end addEventHandler("onClientResourceStart",resourceRoot,disableSounds) 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