_SET_AUDIO_SCENESET
Based on its name and signature, here is our best reading:
Applies the audio sceneset sceneset to audioName and returns a success flag.
Signature
BOOL _SET_AUDIO_SCENESET(const char* audioName, const char* sceneset); // 0xAC84686C06184B0D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | audioName | const char* |
| 2 | sceneset | const char* |
Facts
| 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.
local result = Citizen.InvokeNative(0xAC84686C06184B0D, -- _SET_AUDIO_SCENESET
"text", -- const char* audioName
"text" -- const char* sceneset
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xAC84686C06184B0D", // _SET_AUDIO_SCENESET
"text", // const char* audioName
"text", // const char* sceneset
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xAC84686C06184B0D, // _SET_AUDIO_SCENESET
"text", // const char* audioName
"text" // const char* sceneset
);Related AUDIO natives
- _START_AUDIO_SCENESET
- _STOP_AUDIO_SCENESET
- SET_AUDIO_FLAG
- SET_AUDIO_ONLINE_TRANSITION_STAGE
- SET_AUDIO_SCENE_VARIABLE
- SET_AUDIO_VEHICLE_PRIORITY
- _SET_AMBIENT_ZONE_POSITION
- _SET_SOUND_RELATIONSHIP_ON_PED
- _SET_VARIABLE_ON_SOUND_WITH_ID
- _SET_VARIABLE_ON_SOUND_WITH_NAME
- _SET_VOFX_PED_VOICE
- _SET_WHISTLE_CONFIG_FOR_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.