IS_NAVMESH_LOADED_IN_AREA
Returns true if the navmesh is loaded for the box between the two corners.
Signature
BOOL IS_NAVMESH_LOADED_IN_AREA(float x1, float y1, float z1, float x2, float y2, float z2); // 0xF813C7E63F9062A5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x1 | float |
| 2 | y1 | float |
| 3 | z1 | float |
| 4 | x2 | float |
| 5 | y2 | float |
| 6 | z2 | float |
Facts
| Name | IS_NAVMESH_LOADED_IN_AREA |
|---|---|
| Hash | 0xF813C7E63F9062A5 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xF813C7E63F9062A5, -- IS_NAVMESH_LOADED_IN_AREA
0.0, -- float x1
0.0, -- float y1
0.0, -- float z1
0.0, -- float x2
0.0, -- float y2
0.0 -- float z2
)
if result then
-- ...
end// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xF813C7E63F9062A5", // IS_NAVMESH_LOADED_IN_AREA
0.0, // float x1
0.0, // float y1
0.0, // float z1
0.0, // float x2
0.0, // float y2
0.0, // float z2
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xF813C7E63F9062A5, // IS_NAVMESH_LOADED_IN_AREA
0.0f, // float x1
0.0f, // float y1
0.0f, // float z1
0.0f, // float x2
0.0f, // float y2
0.0f // float z2
);Related PATH natives
- _NAVMESH_ASSIGN_NAVMESH_TO_VEHICLE
- _NAVMESH_IS_SWAP_ACTIVE
- ARE_NODES_LOADED_FOR_AREA
- GET_NUM_NAVMESHES_EXISTING_IN_AREA
- REQUEST_PATH_NODES_IN_AREA_THIS_FRAME
- SET_PED_PATHS_IN_AREA
- SET_ROADS_BACK_TO_ORIGINAL_IN_ANGLED_AREA
- SET_ROADS_IN_ANGLED_AREA
- SET_ROADS_IN_AREA
- SIMULATED_ROUTE_IS_LOADED
- IS_POINT_ON_ROAD
- IS_VEHICLE_NODE_ID_VALID
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.