CameraClient

setCamAnimCurrentPhase

SET_CAM_ANIM_CURRENT_PHASE0x4145A4C44FF3B5A6

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

SignatureJavaScript
setCamAnimCurrentPhase(cam: Cam, phase: number): void
SignatureLua
setCamAnimCurrentPhase(cam: Cam, phase: number)

Usage

JavaScript
setCamAnimCurrentPhase(cam, phase);
Lua
setCamAnimCurrentPhase(cam, phase)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger
phasefloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_CAM_ANIM_CURRENT_PHASE(Cam cam, float phase)
Hash
0x4145A4C44FF3B5A6

Open in the interactive natives reference