Audio::setStaticEmitterEnabled

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Example:
AUDIO::SET_STATIC_EMITTER_ENABLED((Any*)'LOS_SANTOS_VANILLA_UNICORN_01_STAGE', false); AUDIO::SET_STATIC_EMITTER_ENABLED((Any*)'LOS_SANTOS_VANILLA_UNICORN_02_MAIN_ROOM', false); AUDIO::SET_STATIC_EMITTER_ENABLED((Any*)'LOS_SANTOS_VANILLA_UNICORN_03_BACK_ROOM', false);

This turns off surrounding sounds not connected directly to peds.

Syntax

mp.game.audio.setStaticEmitterEnabled(emitterName, toggle);

Required Arguments

  • emitterName: String
  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also

Template:Audio s function c