addCamSplineNodeUsingGameplayFrame
ADD_CAM_SPLINE_NODE_USING_GAMEPLAY_FRAME0x609278246A29CA34The GTA V native ADD_CAM_SPLINE_NODE_USING_GAMEPLAY_FRAME of the CAM namespace, as LS:MP client scripts call it: the global function addCamSplineNodeUsingGameplayFrame, in JavaScript and in Lua.
addCamSplineNodeUsingGameplayFrame(cam: Cam, length: number, p2: number): voidaddCamSplineNodeUsingGameplayFrame(cam: Cam, length: integer, p2: integer)Usage
JavaScript
addCamSplineNodeUsingGameplayFrame(cam, length, p2);Lua
addCamSplineNodeUsingGameplayFrame(cam, length, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
length | int | number | integer |
p2 | 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.
p2 is always 2 in scripts. It might be smoothing style or rotation order.
Reference
- Namespace
- Camera CAM
- In the game
void ADD_CAM_SPLINE_NODE_USING_GAMEPLAY_FRAME(Cam cam, int length, int p2)- Hash
0x609278246A29CA34