_SET_PED_CULL_RANGE
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
void _SET_PED_CULL_RANGE(Ped ped, float p1, float p2); // 0x8AC1D721B2097B6E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | float |
| 3 | p2 | float |
Facts
| 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.
Citizen.InvokeNative(0x8AC1D721B2097B6E, -- _SET_PED_CULL_RANGE
PlayerPedId(), -- Ped ped
0.0, -- float p1
0.0 -- float p2
)// 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
);Function.Call((Hash)0x8AC1D721B2097B6E, // _SET_PED_CULL_RANGE
API.PlayerPedId(), // Ped ped
0.0f, // float p1
0.0f // float p2
);Related PED natives
- _SET_SCENARIO_PED_RANGE_MULTIPLIER_THIS_FRAME
- _SET_PED_CAN_BE_LASSOED
- _SET_PED_CAN_UNK_BODYPART_IK
- _SET_PED_COMBAT_ATTRIBUTE_HASH
- _SET_PED_COMBAT_BEHAVIOUR
- _SET_PED_COMBAT_SPEED
- _SET_PED_COMBAT_STYLE
- _SET_PED_COMBAT_STYLE_MOD
- _SET_PED_CROUCH_MOVEMENT
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_ACTIVATE_WOUND_EFFECT
- _SET_PED_ACTIVE_PLAYER_TYPE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.