AudioClient

overrideMicrophoneSettings

OVERRIDE_MICROPHONE_SETTINGS0x75773E11BA459E90

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

SignatureJavaScript
overrideMicrophoneSettings(hash: Hash, toggle: boolean): void
SignatureLua
overrideMicrophoneSettings(hash: Hash, toggle: boolean)

Usage

JavaScript
overrideMicrophoneSettings(hash, toggle);
Lua
overrideMicrophoneSettings(hash, toggle)

Parameters

ParameterTypeJavaScriptLua
hashHashnumberinteger
toggleBOOLbooleanboolean

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.

Sets audio flag "OverrideMicrophoneSettings"

Reference

Namespace
Audio AUDIO
In the game
void OVERRIDE_MICROPHONE_SETTINGS(Hash hash, BOOL toggle)
Hash
0x75773E11BA459E90
Formerly
_OVERRIDE_MICROPHONE_SETTINGS

Open in the interactive natives reference