requestCutsceneWithPlaybackList
REQUEST_CUTSCENE_WITH_PLAYBACK_LIST0xC23DE0E91C30B58CThe GTA V native REQUEST_CUTSCENE_WITH_PLAYBACK_LIST of the CUTSCENE namespace, as LS:MP client scripts call it: the global function requestCutsceneWithPlaybackList, in JavaScript and in Lua.
requestCutsceneWithPlaybackList(
cutsceneName: string,
playbackFlags: number,
flags: number
): voidrequestCutsceneWithPlaybackList(
cutsceneName: string,
playbackFlags: integer,
flags: integer
)Usage
JavaScript
requestCutsceneWithPlaybackList(cutsceneName, playbackFlags, flags);Lua
requestCutsceneWithPlaybackList(cutsceneName, playbackFlags, flags)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
cutsceneName | string | string | string | |
playbackFlags | int | number | integer | |
flags | int | number | integer | Usually 8 |
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.
playbackFlags: Which scenes should be played.
Example: 0x105 (bit 0, 2 and 8 set) will enable scene 1, 3 and 9.
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_WITH_PLAYBACK_LIST(const char* cutsceneName, int playbackFlags, int flags)- Hash
0xC23DE0E91C30B58C- Formerly
_REQUEST_CUTSCENE_EX