CutscenesClient

getCutscenePlayDuration

GET_CUTSCENE_PLAY_DURATION0x5D583F71C901F2A3

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

SignatureJavaScript
getCutscenePlayDuration(): number
SignatureLua
getCutscenePlayDuration(): integer

Usage

JavaScript
const result = getCutscenePlayDuration();
Lua
local result = getCutscenePlayDuration()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Cutscenes CUTSCENE
In the game
int GET_CUTSCENE_PLAY_DURATION()
Hash
0x5D583F71C901F2A3
Introduced
Game build 2802 legacy numbering

Open in the interactive natives reference