isCutsceneAuthorized
IS_CUTSCENE_AUTHORIZED0x4CEBC1ED31E8925EThe GTA V native IS_CUTSCENE_AUTHORIZED of the CUTSCENE namespace, as LS:MP client scripts call it: the global function isCutsceneAuthorized, in JavaScript and in Lua.
isCutsceneAuthorized(cutsceneName: string): booleanisCutsceneAuthorized(cutsceneName: string): booleanUsage
JavaScript
const result = isCutsceneAuthorized(cutsceneName);Lua
local result = isCutsceneAuthorized(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.
This function is hard-coded to always return 1.
Reference
- Namespace
- Cutscenes CUTSCENE
- In the game
BOOL IS_CUTSCENE_AUTHORIZED(const char* cutsceneName)- Hash
0x4CEBC1ED31E8925E