getCamSplineNodePhase
GET_CAM_SPLINE_NODE_PHASE0xD9D0E694C8282C96The GTA V native GET_CAM_SPLINE_NODE_PHASE of the CAM namespace, as LS:MP client scripts call it: the global function getCamSplineNodePhase, in JavaScript and in Lua.
getCamSplineNodePhase(cam: Cam): numbergetCamSplineNodePhase(cam: Cam): numberUsage
JavaScript
const value = getCamSplineNodePhase(cam);Lua
local value = getCamSplineNodePhase(cam)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
Returns
float JavaScript number, Lua numberNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
I'm pretty sure the parameter is the camera as usual, but I am not certain so I'm going to leave it as is.
Reference
- Namespace
- Camera CAM
- In the game
float GET_CAM_SPLINE_NODE_PHASE(Cam cam)- Hash
0xD9D0E694C8282C96