getCamAnimCurrentPhase
GET_CAM_ANIM_CURRENT_PHASE0xA10B2DB49E92A6B0The GTA V native GET_CAM_ANIM_CURRENT_PHASE of the CAM namespace, as LS:MP client scripts call it: the global function getCamAnimCurrentPhase, in JavaScript and in Lua.
getCamAnimCurrentPhase(cam: Cam): numbergetCamAnimCurrentPhase(cam: Cam): numberUsage
JavaScript
const value = getCamAnimCurrentPhase(cam);Lua
local value = getCamAnimCurrentPhase(cam)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
Returns
float JavaScript number, Lua numberReference
- Namespace
- Camera CAM
- In the game
float GET_CAM_ANIM_CURRENT_PHASE(Cam cam)- Hash
0xA10B2DB49E92A6B0