overrideMicrophoneSettings
OVERRIDE_MICROPHONE_SETTINGS0x75773E11BA459E90The 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.
overrideMicrophoneSettings(hash: Hash, toggle: boolean): voidoverrideMicrophoneSettings(hash: Hash, toggle: boolean)Usage
JavaScript
overrideMicrophoneSettings(hash, toggle);Lua
overrideMicrophoneSettings(hash, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
hash | Hash | number | integer |
toggle | BOOL | boolean | boolean |
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