Stranger Posted February 13, 2015 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 ?
franku Posted February 13, 2015 Posted February 13, 2015 You want to change the original sound of the weapon?
Stranger Posted February 13, 2015 Author Posted February 13, 2015 yes, but i don't want the real sound to start
franku Posted February 13, 2015 Posted February 13, 2015 playSound onClientWeaponFire Don't forget to add the sound in the script folder and in meta.
Stranger Posted February 13, 2015 Author 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.
xeon17 Posted February 13, 2015 Posted February 13, 2015 function disableSounds() setAmbientSoundEnabled( "gunfire", false ) setWorldSoundEnabled ( 5, false) end addEventHandler("onClientResourceStart",resourceRoot,disableSounds)
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