CutscenesClient

isCutsceneAuthorized

IS_CUTSCENE_AUTHORIZED0x4CEBC1ED31E8925E

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

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

Usage

JavaScript
const result = isCutsceneAuthorized(cutsceneName);
Lua
local result = isCutsceneAuthorized(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.

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

Open in the interactive natives reference