The Lab
CAMERA native

GET_CAM_SPLINE_PHASE

returns float1 parambuild 1207

Returns the progress of the spline camera cam along its path, from 0.0 to 1.0.

Signature

C
float GET_CAM_SPLINE_PHASE(Cam cam); // 0x095EDCD24D90033A b1207

Parameters

#NameType
1camCam

Facts

Facts about GET_CAM_SPLINE_PHASE
Name
GET_CAM_SPLINE_PHASE
Hash
0x095EDCD24D90033A
Namespace
Returns
float
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x095EDCD24D90033A, -- GET_CAM_SPLINE_PHASE
  0, -- Cam cam
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x095EDCD24D90033A", // GET_CAM_SPLINE_PHASE
  0, // Cam cam
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x095EDCD24D90033A, // GET_CAM_SPLINE_PHASE
  0 // Cam cam
);
All CAMERA natives

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