IvanSantosPT Posted December 10, 2017 Posted December 10, 2017 Hello everyone! Is there some function that let me change the world sounds volume (like vehicle, weapons, etc) just like setSoundVolume does with player voice and custom sound elments? I've tried setSoundVolume on vehicle element and does nothing (as I imagined). The objective is to reduce the world sound volume when someone is talking. The only thing I can do is to disable and enable the world sound elements. If there is some function to reduce the MTA overall sound volume just like the client settings I can use it too! Best regards
DRW Posted December 11, 2017 Posted December 11, 2017 Not really, there is no function such as setWorldSoundVolume, if that's what you mean. Proud owner and developer of ZNEXT: Aftermath. Enter a post-apocalyptic San Andreas and fight over 30 types of enemies and bosses with varying difficulties and skills, improve and customize your character by leveling up, completing challenges and a solid lootbox system with no Pay-to-Win mechanics that will break your experience. Meet new characters, creatures and weapon metas, experience an innovative combo-based melee system, or join our solid PvP modes to show other survivors who’s boss. Español, Pусский, Türk, عربى, Polski, Português IP: mtasa://104.36.110.227:22003 - Discord: https://discord.gg/CxMxjvC5pB
Moderators IIYAMA Posted December 11, 2017 Moderators Posted December 11, 2017 You can only set specific sound-groups and sounds on and off with:setWorldSoundEnabled Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
IvanSantosPT Posted December 11, 2017 Author Posted December 11, 2017 Thank you for your answers. So, if I want the global sound volume to be reduced when people start voice chatting, my only hope is to edit MTA:SA Blue server/client and implement it myself, right?
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