View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0009490||Multi Theft Auto : San Andreas||Scripting||public||2016-12-09 00:54||2018-07-21 16:36|
|Target Version||1.5.6||Fixed in Version||1.5.6|
|Summary||0009490: [Request] setWorldSoundEnabled could stop the sound if already playing|
setWorldSoundEnabled doesn't stop or start the sound immediately.
|Steps To Reproduce|
Use setWorldSoundEnabled to stop or start a sound.
It's a bit annoying if you (for example) want to mute the sound of the motor of a vehicle (index 1). It won't stop the sound, so you first have to sit in and drive a little bit to stop the sound.
|Tags||No tags attached.|
Easiest way to reproduce is:
setWorldSoundEnabled(0, 0, false)
Turn the volume up so that you can hear that annoying wind sound. Enter interior, exit interior, notice that the wind no longer plays.
Though whether or not this is a bug or lack of feature is debatable.
(Partially) fixed in https://github.com/multitheftauto/mtasa-blue/commit/44844590d35cf52a1c1bf4e4c659c4dfbe2372fb
You mean we'll be able to completely disable the annoying wind sound without first entering an interior to stop the sound playing? If so, THANK YOU! That wind sound annoys me so much I had to make a command that I had to use every time I joined that would set my interior for 1 second to remove that sound.
Wow, I hated this bug. Thanks for fixing this.