isCinematicShotActive
IS_CINEMATIC_SHOT_ACTIVE0xCC9F3371A7C28BC9The 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.
isCinematicShotActive(p0: Hash): booleanisCinematicShotActive(p0: Hash): booleanUsage
JavaScript
const result = isCinematicShotActive(p0);Lua
local result = isCinematicShotActive(p0)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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