View Issue Details

IDProjectCategoryView StatusLast Update
0009490Multi Theft Auto : San AndreasScriptingpublic2018-07-21 16:36
ReporterBonus1702 Assigned ToNecktrox  
Status resolvedResolutionfixed 
PlatformLinuxOSDebianOS Version8.2
Target Version1.5.6Fixed in Version1.5.6 
Summary0009490: [Request] setWorldSoundEnabled could stop the sound if already playing

setWorldSoundEnabled doesn't stop or start the sound immediately.
It works only for the next times the sound should start.

A video:

Steps To Reproduce

Use setWorldSoundEnabled to stop or start a sound.
The sound won't stop or start until you force it by yourself.

Additional Information

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.

TagsNo tags attached.



2016-12-17 18:48

manager   ~~0025507

Easiest way to reproduce is:

setWorldSoundEnabled(0, 0, false)
setWorldSoundEnabled(0, 29, false)
setWorldSoundEnabled(0, 30, 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.


2018-02-20 21:11

developer   ~~0026439

(Partially) fixed in
It won't immediately start the SFX sound, only stop works. Playing a sound with CAESoundManager requires more reversing.


2018-02-20 23:31

manager   ~~0026440

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.


2018-02-21 10:26

viewer   ~~0026444

Wow, I hated this bug. Thanks for fixing this.

Issue History

Date Modified Username Field Change