The Lab
AUDIO native

_SET_AUDIO_SCENESET

returns BOOL2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Applies the audio sceneset sceneset to audioName and returns a success flag.

Signature

C
BOOL _SET_AUDIO_SCENESET(const char* audioName, const char* sceneset); // 0xAC84686C06184B0D b1207

Parameters

#NameType
1audioNameconst char*
2scenesetconst char*

Facts

Facts about _SET_AUDIO_SCENESET
Name
_SET_AUDIO_SCENESET
Hash
0xAC84686C06184B0D
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xAC84686C06184B0D, -- _SET_AUDIO_SCENESET
  "text", -- const char* audioName
  "text" -- const char* sceneset
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xAC84686C06184B0D", // _SET_AUDIO_SCENESET
  "text", // const char* audioName
  "text", // const char* sceneset
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xAC84686C06184B0D, // _SET_AUDIO_SCENESET
  "text", // const char* audioName
  "text" // const char* sceneset
);
All AUDIO natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.