CameraClient

isCinematicCamInputActive

IS_CINEMATIC_CAM_INPUT_ACTIVE0xF5F1E89A970B7796

The GTA V native IS_CINEMATIC_CAM_INPUT_ACTIVE of the CAM namespace, as LS:MP client scripts call it: the global function isCinematicCamInputActive, in JavaScript and in Lua.

SignatureJavaScript
isCinematicCamInputActive(): boolean
SignatureLua
isCinematicCamInputActive(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Tests some cinematic camera flags

Reference

Namespace
Camera CAM
In the game
BOOL IS_CINEMATIC_CAM_INPUT_ACTIVE()
Hash
0xF5F1E89A970B7796
Introduced
Game build 1493 legacy numbering
Formerly
_IS_CINEMATIC_CAM_ACTIVE

Open in the interactive natives reference