hasSoundFinished
HAS_SOUND_FINISHED0xFCBDCE714A7C88E5The GTA V native HAS_SOUND_FINISHED of the AUDIO namespace, as LS:MP client scripts call it: the global function hasSoundFinished, in JavaScript and in Lua.
hasSoundFinished(soundId: number): booleanhasSoundFinished(soundId: integer): booleanUsage
JavaScript
const result = hasSoundFinished(soundId);Lua
local result = hasSoundFinished(soundId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
soundId | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Audio AUDIO
- In the game
BOOL HAS_SOUND_FINISHED(int soundId)- Hash
0xFCBDCE714A7C88E5