RedM Natives

MUMBLE_SET_AUDIO_INPUT_INTENT

Use this native to disable noise suppression and high pass filters.

Hash0x6383526B
Runtime nameMumbleSetAudioInputIntent
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void MUMBLE_SET_AUDIO_INPUT_INTENT(Hash intentHash);

Parameters

NameTypeDescription
intentHashHash

The intent hash.

Returns void

Description

Cfx.re native reference

Use this native to disable noise suppression and high pass filters.

The possible intents for this are as follows (backticks are used to represent hashes):

Index Description
`speech` Default intent
`music` Disable noise suppression and high pass filter

Usage

Lua
MumbleSetAudioInputIntent(intentHash)

-- always works, by hash
Citizen.InvokeNative(0x6383526b, intentHash)
JavaScript and C#
JavaScript
MumbleSetAudioInputIntent(intentHash);

// by hash
Citizen.invokeNative('0x6383526b', intentHash);
C#
Function.Call((Hash)0x6383526b, intentHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Examples

LUA · Cfx.re native reference
-- disable noise suppression and high pass filter
MumbleSetAudioInputIntent(`music`)

-- set the default intent (enable noise suppression and high pass filter)
MumbleSetAudioInputIntent(`speech`)

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.