SetSoundEffectEnabled
From Multi Theft Auto: Wiki
Used to enable or disable specific sound effects.
Syntax
bool setSoundEffectEnabled ( element sound, string effectName, bool bEnable )
Required Arguments
- sound: a sound element.
- effectName: the effect you want to enable or disable
- gargle
- compressor
- echo
- i3dl2reverb
- distortion
- chorus
- parameq
- reverb
- flanger
- bEnable: true if you want to enable the effect, false if you want to disable it.
Returns
Returns true if the effect was set successfully, false otherwise.
Example
-- TODOSee Also
- getSoundMetaTags
- getSoundMinDistance
- getSoundPosition
- getSoundSpeed
- getSoundVolume
- isSoundPaused
- playSound
- playSound3D
- setRadioChannel
- setSoundEffectEnabled
- setSoundMaxDistance
- setSoundMinDistance
- setSoundPaused
- setSoundPosition
- setSoundSpeed
- setSoundVolume
- stopSound