CutscenesClient

setScriptCanStartCutscene

SET_SCRIPT_CAN_START_CUTSCENE0x8D9DF6ECA8768583

The GTA V native SET_SCRIPT_CAN_START_CUTSCENE of the CUTSCENE namespace, as LS:MP client scripts call it: the global function setScriptCanStartCutscene, in JavaScript and in Lua.

SignatureJavaScript
setScriptCanStartCutscene(threadId: number): void
SignatureLua
setScriptCanStartCutscene(threadId: integer)

Usage

JavaScript
setScriptCanStartCutscene(threadId);
Lua
setScriptCanStartCutscene(threadId)

Parameters

ParameterTypeJavaScriptLua
threadIdintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

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

Sets the cutscene's owning thread ID.

Reference

Namespace
Cutscenes CUTSCENE
In the game
void SET_SCRIPT_CAN_START_CUTSCENE(int threadId)
Hash
0x8D9DF6ECA8768583

Open in the interactive natives reference