#Just_Me Posted December 13, 2015 Share Posted December 13, 2015 hello guys, how can i make the sound of the reloading not turned off when i use this function setWorldSoundEnabled ? cause i've noticed that there is a sounds are turned off some of them turned off when using the sound id 5 which is for weapons group but when i use it the punch sound turned off and the reloading sound turned off .. etc so how can i make it only for the weapons, without the reloading sound and the punch sound .. etc, with them ? Link to comment
Addlibs Posted December 15, 2015 Share Posted December 15, 2015 2 distinct solutions: 1) disable every sound you want removed, one by one, instead of the whole group; or 2) disable the whole group and re-enable certain sounds such as weapon reload sounds. Link to comment
#Just_Me Posted December 19, 2015 Author Share Posted December 19, 2015 how can i disable specific sound is there other function ? cause i don't know Link to comment
Addlibs Posted December 19, 2015 Share Posted December 19, 2015 bool setWorldSoundEnabled( int group, [ int index = -1, ] bool enable )If index is not specified, it assumes it's -1, and -1 means 'all of the group.' If you want to block a specific sound, use development mode function to find the exact sound group and index, and just disable it using the above function. 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