The Lab
AUDIO native

_HAS_SOUND_ID_FINISHED

returns BOOL1 parambuild 1207

Returns true if the sound playing on soundId has finished.

Signature

C
BOOL _HAS_SOUND_ID_FINISHED(int soundId); // 0x84848E1C0FC67DBB b1207

Parameters

#NameType
1soundIdint

Facts

Facts about _HAS_SOUND_ID_FINISHED
Name
_HAS_SOUND_ID_FINISHED
Hash
0x84848E1C0FC67DBB
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(0x84848E1C0FC67DBB, -- _HAS_SOUND_ID_FINISHED
  0 -- int soundId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x84848E1C0FC67DBB", // _HAS_SOUND_ID_FINISHED
  0, // int soundId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x84848E1C0FC67DBB, // _HAS_SOUND_ID_FINISHED
  0 // int soundId
);
All AUDIO natives

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