AudioClient

setAudioSpecialEffectMode

SET_AUDIO_SPECIAL_EFFECT_MODE0x12561FCBB62D5B9C

The GTA V native SET_AUDIO_SPECIAL_EFFECT_MODE of the AUDIO namespace, as LS:MP client scripts call it: the global function setAudioSpecialEffectMode, in JavaScript and in Lua.

SignatureJavaScript
setAudioSpecialEffectMode(mode: number): void
SignatureLua
setAudioSpecialEffectMode(mode: integer)

Usage

JavaScript
setAudioSpecialEffectMode(mode);
Lua
setAudioSpecialEffectMode(mode)

Parameters

ParameterTypeJavaScriptLua
modeintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Needs to be called every frame.

Reference

Namespace
Audio AUDIO
In the game
void SET_AUDIO_SPECIAL_EFFECT_MODE(int mode)
Hash
0x12561FCBB62D5B9C

Open in the interactive natives reference