CutscenesClient

getCutsceneTotalDuration

GET_CUTSCENE_TOTAL_DURATION0xEE53B14A19E480D4

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

SignatureJavaScript
getCutsceneTotalDuration(): number
SignatureLua
getCutsceneTotalDuration(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Cutscenes CUTSCENE
In the game
int GET_CUTSCENE_TOTAL_DURATION()
Hash
0xEE53B14A19E480D4

Open in the interactive natives reference