The Lab
CAMERA native

SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE

returns void2 paramsbuild 1207

Limits how close and how far the third person camera can orbit from the player, for the current update.

Signature

C
void SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE(float p0, float distance); // 0x2126C740A4AC370B b1207

Parameters

#NameType
1p0float
2distancefloat

Facts

Facts about SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE
Name
SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE
Hash
0x2126C740A4AC370B
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(0x2126C740A4AC370B, -- SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE
  0.0, -- float p0
  0.0 -- float distance
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x2126C740A4AC370B", // SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE
  0.0, // float p0
  0.0 // float distance
);
C#
Function.Call((Hash)0x2126C740A4AC370B, // SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE
  0.0f, // float p0
  0.0f // float distance
);
All CAMERA natives

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