NetworkClient

isPlayerInCutscene

IS_PLAYER_IN_CUTSCENE0xE73092F4157CD126

The GTA V native IS_PLAYER_IN_CUTSCENE of the NETWORK namespace, as LS:MP client scripts call it: the global function isPlayerInCutscene, in JavaScript and in Lua.

SignatureJavaScript
isPlayerInCutscene(player: Player): boolean
SignatureLua
isPlayerInCutscene(player: Player): boolean

Usage

JavaScript
const result = isPlayerInCutscene(player);
Lua
local result = isPlayerInCutscene(player)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL IS_PLAYER_IN_CUTSCENE(Player player)
Hash
0xE73092F4157CD126

Open in the interactive natives reference