SET_AUDIO_FLAG
Audio flags can be found here:
Hash
0xB9EFD5C25018725ARuntime name
SetAudioFlagNamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xB9EFD5C25018725ASignature
void SET_AUDIO_FLAG(const char* flagName, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
flagName | const char* | — |
toggle | BOOL | — |
Returns void
Description
Audio flags can be found here: https://pastebin.com/40qPV6EJ
https://github.com/femga/rdr3_discoveries/tree/master/audio/audio_flags
Usage
SetAudioFlag(flagName, toggle)
-- always works, by hash
Citizen.InvokeNative(0xB9EFD5C25018725A, flagName, toggle)JavaScript and C#
SetAudioFlag(flagName, toggle);
// by hash
Citizen.invokeNative('0xB9EFD5C25018725A', flagName, toggle);Function.Call((Hash)0xB9EFD5C25018725A, flagName, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.