CutscenesClient

hasThisCutsceneLoaded

HAS_THIS_CUTSCENE_LOADED0x228D3D94F8A11C3C

The 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.

SignatureJavaScript
hasThisCutsceneLoaded(cutsceneName: string): boolean
SignatureLua
hasThisCutsceneLoaded(cutsceneName: string): boolean

Usage

JavaScript
const result = hasThisCutsceneLoaded(cutsceneName);
Lua
local result = hasThisCutsceneLoaded(cutsceneName)

Parameters

ParameterTypeJavaScriptLua
cutsceneNamestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Reference

Namespace
Cutscenes CUTSCENE
In the game
BOOL HAS_THIS_CUTSCENE_LOADED(const char* cutsceneName)
Hash
0x228D3D94F8A11C3C

Open in the interactive natives reference