The Lab
AUDIO native

_HAS_SOUND_AUDIO_NAME_FINISHED

returns BOOL2 paramsbuild 1207

Returns true if the sound audioName from soundsetName has finished playing.

Signature

C
BOOL _HAS_SOUND_AUDIO_NAME_FINISHED(const char* audioName, const char* soundsetName); // 0x714A0EA7DE1167BE b1207

Parameters

#NameType
1audioNameconst char*
2soundsetNameconst char*

Facts

Facts about _HAS_SOUND_AUDIO_NAME_FINISHED
Name
_HAS_SOUND_AUDIO_NAME_FINISHED
Hash
0x714A0EA7DE1167BE
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(0x714A0EA7DE1167BE, -- _HAS_SOUND_AUDIO_NAME_FINISHED
  "text", -- const char* audioName
  "text" -- const char* soundsetName
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x714A0EA7DE1167BE", // _HAS_SOUND_AUDIO_NAME_FINISHED
  "text", // const char* audioName
  "text", // const char* soundsetName
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x714A0EA7DE1167BE, // _HAS_SOUND_AUDIO_NAME_FINISHED
  "text", // const char* audioName
  "text" // const char* soundsetName
);
All AUDIO natives

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