Audio::setStaticEmitterEnabled

From RAGE Multiplayer Wiki
Revision as of 20:59, 6 May 2017 by Marty uploader (talk | contribs) (yay)

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

audio.setStaticEmitterEnabled(emitterName, toggle);

Required Arguments

  • emitterName: String
  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also