getCamSplineNodeIndex
GET_CAM_SPLINE_NODE_INDEX0xB22B17DF858716A6The GTA V native GET_CAM_SPLINE_NODE_INDEX of the CAM namespace, as LS:MP client scripts call it: the global function getCamSplineNodeIndex, in JavaScript and in Lua.
getCamSplineNodeIndex(cam: Cam): numbergetCamSplineNodeIndex(cam: Cam): integerUsage
JavaScript
const result = getCamSplineNodeIndex(cam);Lua
local result = getCamSplineNodeIndex(cam)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Camera CAM
- In the game
int GET_CAM_SPLINE_NODE_INDEX(Cam cam)- Hash
0xB22B17DF858716A6