The Lab
PATH native

IS_NAVMESH_LOADED_IN_AREA

returns BOOL6 paramsbuild 1207

Returns true if the navmesh is loaded for the box between the two corners.

Signature

C
BOOL IS_NAVMESH_LOADED_IN_AREA(float x1, float y1, float z1, float x2, float y2, float z2); // 0xF813C7E63F9062A5 b1207

Parameters

#NameType
1x1float
2y1float
3z1float
4x2float
5y2float
6z2float

Facts

Facts about IS_NAVMESH_LOADED_IN_AREA
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.

Lua
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
JavaScript
// 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) {
  // ...
}
C#
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
);
All PATH natives

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