setCamSplinePhase
SET_CAM_SPLINE_PHASE0x242B5874F0A4E052The 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.
setCamSplinePhase(cam: Cam, p1: number): voidsetCamSplinePhase(cam: Cam, p1: number)Usage
JavaScript
setCamSplinePhase(cam, p1);Lua
setCamSplinePhase(cam, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
p1 | float | number | number |
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