ADD_NAVMESH_REQUIRED_REGION
Requests that the navmesh around x, y within radius stays loaded.
Signature
void ADD_NAVMESH_REQUIRED_REGION(float x, float y, float radius); // 0x387EAD7EE42F6685 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | radius | float |
Facts
| Name | ADD_NAVMESH_REQUIRED_REGION |
|---|---|
| Hash | 0x387EAD7EE42F6685 |
| 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(0x387EAD7EE42F6685, -- ADD_NAVMESH_REQUIRED_REGION
0.0, -- float x
0.0, -- float y
0.0 -- float radius
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x387EAD7EE42F6685", // ADD_NAVMESH_REQUIRED_REGION
0.0, // float x
0.0, // float y
0.0 // float radius
);Function.Call((Hash)0x387EAD7EE42F6685, // ADD_NAVMESH_REQUIRED_REGION
0.0f, // float x
0.0f, // float y
0.0f // float radius
);Related PATH natives
- ADD_NAVMESH_BLOCKING_OBJECT
- _ADD_NAVMESH_BLOCKING_VOLUME
- _NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE
- _DOES_NAVMESH_BLOCKING_VOLUME_EXIST
- _NAVMESH_ACTIVATE_SWAP
- _NAVMESH_CLEAR_REQUESTED_PATH
- _NAVMESH_DEACTIVATE_SWAP
- _NAVMESH_DOES_SWAP_EXIST
- _NAVMESH_IS_SWAP_ACTIVE
- _NAVMESH_REQUESTED_PATH_NUM_WAYPOINTS
- _NAVMESH_REQUESTED_PATH_QUERY_STATUS
- _NAVMESH_REQUESTED_PATH_WAYPOINT_BY_INDEX
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.