SET_AUDIO_FLAG
Sets the audio flag flagName on or off.
Signature
void SET_AUDIO_FLAG(const char* flagName, BOOL toggle); // 0xB9EFD5C25018725A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | flagName | const char* |
| 2 | toggle | BOOL |
Facts
| Name | SET_AUDIO_FLAG |
|---|---|
| Hash | 0xB9EFD5C25018725A |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xB9EFD5C25018725A, -- SET_AUDIO_FLAG
"text", -- const char* flagName
false -- BOOL toggle
)Citizen.invokeNative("0xB9EFD5C25018725A", // SET_AUDIO_FLAG
"text", // const char* flagName
false // BOOL toggle
);Function.Call((Hash)0xB9EFD5C25018725A, // SET_AUDIO_FLAG
"text", // const char* flagName
false // BOOL toggle
);Related AUDIO natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.