The Lab
PED native

_SET_PED_CULL_RANGE

returns void3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Appears to set the distance range at which ped is culled from rendering.

Signature

C
void _SET_PED_CULL_RANGE(Ped ped, float p1, float p2); // 0x8AC1D721B2097B6E b1207

Parameters

#NameType
1pedPed
2p1float
3p2float

Facts

Facts about _SET_PED_CULL_RANGE
Name
_SET_PED_CULL_RANGE
Hash
0x8AC1D721B2097B6E
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(0x8AC1D721B2097B6E, -- _SET_PED_CULL_RANGE
  PlayerPedId(), -- Ped ped
  0.0, -- float p1
  0.0 -- float p2
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x8AC1D721B2097B6E", // _SET_PED_CULL_RANGE
  PlayerPedId(), // Ped ped
  0.0, // float p1
  0.0 // float p2
);
C#
Function.Call((Hash)0x8AC1D721B2097B6E, // _SET_PED_CULL_RANGE
  API.PlayerPedId(), // Ped ped
  0.0f, // float p1
  0.0f // float p2
);
All PED natives

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