hasThisCutsceneLoaded
HAS_THIS_CUTSCENE_LOADED0x228D3D94F8A11C3CThe GTA V native HAS_THIS_CUTSCENE_LOADED of the CUTSCENE namespace, as LS:MP client scripts call it: the global function hasThisCutsceneLoaded, in JavaScript and in Lua.
hasThisCutsceneLoaded(cutsceneName: string): booleanhasThisCutsceneLoaded(cutsceneName: string): booleanUsage
JavaScript
const result = hasThisCutsceneLoaded(cutsceneName);Lua
local result = hasThisCutsceneLoaded(cutsceneName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cutsceneName | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Full list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json
Reference
- Namespace
- Cutscenes CUTSCENE
- In the game
BOOL HAS_THIS_CUTSCENE_LOADED(const char* cutsceneName)- Hash
0x228D3D94F8A11C3C