CameraClient

getCamAnimCurrentPhase

GET_CAM_ANIM_CURRENT_PHASE0xA10B2DB49E92A6B0

The 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.

SignatureJavaScript
getCamAnimCurrentPhase(cam: Cam): number
SignatureLua
getCamAnimCurrentPhase(cam: Cam): number

Usage

JavaScript
const value = getCamAnimCurrentPhase(cam);
Lua
local value = getCamAnimCurrentPhase(cam)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger

Returns

float JavaScript number, Lua number

Reference

Namespace
Camera CAM
In the game
float GET_CAM_ANIM_CURRENT_PHASE(Cam cam)
Hash
0xA10B2DB49E92A6B0

Open in the interactive natives reference