CutscenesClient

requestCutscene

REQUEST_CUTSCENE0x7A86743F475D9E09

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

SignatureJavaScript
requestCutscene(cutsceneName: string, flags: number): void
SignatureLua
requestCutscene(cutsceneName: string, flags: integer)

Usage

JavaScript
requestCutscene(cutsceneName, flags);
Lua
requestCutscene(cutsceneName, flags)

Parameters

ParameterTypeJavaScriptLua
cutsceneNamestringstringstring
flagsintnumberinteger

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.

flags: Usually 8
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
void REQUEST_CUTSCENE(const char* cutsceneName, int flags)
Hash
0x7A86743F475D9E09

Open in the interactive natives reference