CameraClient

setCamSplinePhase

SET_CAM_SPLINE_PHASE0x242B5874F0A4E052

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

SignatureJavaScript
setCamSplinePhase(cam: Cam, p1: number): void
SignatureLua
setCamSplinePhase(cam: Cam, p1: number)

Usage

JavaScript
setCamSplinePhase(cam, p1);
Lua
setCamSplinePhase(cam, p1)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger
p1floatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_CAM_SPLINE_PHASE(Cam cam, float p1)
Hash
0x242B5874F0A4E052

Open in the interactive natives reference