addCamSplineNodeUsingCameraFrame
ADD_CAM_SPLINE_NODE_USING_CAMERA_FRAME0x0A9F2A468B328E74The GTA V native ADD_CAM_SPLINE_NODE_USING_CAMERA_FRAME of the CAM namespace, as LS:MP client scripts call it: the global function addCamSplineNodeUsingCameraFrame, in JavaScript and in Lua.
addCamSplineNodeUsingCameraFrame(
cam: Cam,
cam2: Cam,
length: number,
p3: number
): voidaddCamSplineNodeUsingCameraFrame(
cam: Cam,
cam2: Cam,
length: integer,
p3: integer
)Usage
JavaScript
addCamSplineNodeUsingCameraFrame(cam, cam2, length, p3);Lua
addCamSplineNodeUsingCameraFrame(cam, cam2, length, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
cam2 | Cam | number | integer |
length | int | number | integer |
p3 | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
p0 is the spline camera to which the node is being added.
p1 is the camera used to create the node.
p3 is always 3 in scripts. It might be smoothing style or rotation order.
Reference
- Namespace
- Camera CAM
- In the game
void ADD_CAM_SPLINE_NODE_USING_CAMERA_FRAME(Cam cam, Cam cam2, int length, int p3)- Hash
0x0A9F2A468B328E74