PlayerClient

isPlayerReadyForCutscene

IS_PLAYER_READY_FOR_CUTSCENE0x908CBECC2CAA3690

The GTA V native IS_PLAYER_READY_FOR_CUTSCENE of the PLAYER namespace, as LS:MP client scripts call it: the global function isPlayerReadyForCutscene, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Player PLAYER
In the game
BOOL IS_PLAYER_READY_FOR_CUTSCENE(Player player)
Hash
0x908CBECC2CAA3690

Open in the interactive natives reference