The Lab
CAMERA native

ADD_CAM_SPLINE_NODE

returns void10 paramsbuild 1207

Adds a node at the given position and rotation to the spline camera camera, with length controlling the time spent reaching it.

Signature

C
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); // 0xF1F57F9D230F9CD1 b1207

Parameters

#NameType
1cameraCam
2xfloat
3yfloat
4zfloat
5xRotfloat
6yRotfloat
7zRotfloat
8lengthint
9p8int
10p9int

Facts

Facts about ADD_CAM_SPLINE_NODE
Name
ADD_CAM_SPLINE_NODE
Hash
0xF1F57F9D230F9CD1
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xF1F57F9D230F9CD1, -- ADD_CAM_SPLINE_NODE
  0, -- Cam camera
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0.0, -- float xRot
  0.0, -- float yRot
  0.0, -- float zRot
  0, -- int length
  0, -- int p8
  0 -- int p9
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xF1F57F9D230F9CD1", // ADD_CAM_SPLINE_NODE
  0, // Cam camera
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0.0, // float xRot
  0.0, // float yRot
  0.0, // float zRot
  0, // int length
  0, // int p8
  0 // int p9
);
C#
Function.Call((Hash)0xF1F57F9D230F9CD1, // ADD_CAM_SPLINE_NODE
  0, // Cam camera
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0.0f, // float xRot
  0.0f, // float yRot
  0.0f, // float zRot
  0, // int length
  0, // int p8
  0 // int p9
);
All CAMERA natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.