ADD_CAM_SPLINE_NODE
Adds a node at the given position and rotation to the spline camera camera, with length controlling the time spent reaching it.
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); // 0xF1F57F9D230F9CD1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | camera | Cam |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
| 5 | xRot | float |
| 6 | yRot | float |
| 7 | zRot | float |
| 8 | length | int |
| 9 | p8 | int |
| 10 | p9 | int |
Facts
| 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.
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
)// 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
);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
);Related CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.