hasCutFileLoaded
HAS_CUT_FILE_LOADED0xA1C996C2A744262EThe GTA V native HAS_CUT_FILE_LOADED of the CUTSCENE namespace, as LS:MP client scripts call it: the global function hasCutFileLoaded, in JavaScript and in Lua.
hasCutFileLoaded(cutsceneName: string): booleanhasCutFileLoaded(cutsceneName: string): booleanUsage
JavaScript
const result = hasCutFileLoaded(cutsceneName);Lua
local result = hasCutFileLoaded(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.
Simply checks if the cutscene has loaded and doesn't check via CutSceneManager as opposed to HAS_[THIS]_CUTSCENE_LOADED.
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_CUT_FILE_LOADED(const char* cutsceneName)- Hash
0xA1C996C2A744262E