Native referenceRedMclient

ADD_CAM_SPLINE_NODE

0xF1F57F9D230F9CD1 CAM
FUNCTION SIGNATURE
void ADD_CAM_SPLINE_NODE(Cam camera, float x, float y, float z, float xRot, float yRot, float zRot, int length, int p8, int p9);
Property Value
Native Name ADD_CAM_SPLINE_NODE
Hash 0xF1F57F9D230F9CD1
Return Type void
Build 1207
API Set client
Parameters camera (Cam), x (float), y (float), z (float), xRot (float), yRot (float), zRot (float), length (int), p8 (int), p9 (int)

Description: p7 (length) determines the length of the spline, affects camera path and duration of transition between previous node and this one

p8 big values ~100 will slow down the camera movement before reaching this node

p9 != 0 seems to override the rotation/pitch (bool?)

Usage

Lua (Direct):

AddCamSplineNode(camera, x, y, z, xRot, yRot, zRot, length, p8, p9)

Lua (Hash):

Citizen.InvokeNative(0xF1F57F9D230F9CD1, camera, x, y, z, xRot, yRot, zRot, length, p8, p9)
Back to CAM