CameraClient

isCinematicShotActive

IS_CINEMATIC_SHOT_ACTIVE0xCC9F3371A7C28BC9

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

SignatureJavaScript
isCinematicShotActive(p0: Hash): boolean
SignatureLua
isCinematicShotActive(p0: Hash): boolean

Usage

JavaScript
const result = isCinematicShotActive(p0);
Lua
local result = isCinematicShotActive(p0)

Parameters

ParameterTypeJavaScriptLua
p0Hashnumberinteger

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.

Hash is always JOAAT("CAMERA_MAN_SHOT") in decompiled scripts

Reference

Namespace
Camera CAM
In the game
BOOL IS_CINEMATIC_SHOT_ACTIVE(Hash p0)
Hash
0xCC9F3371A7C28BC9

Open in the interactive natives reference