isNavmeshLoadedInArea
IS_NAVMESH_LOADED_IN_AREA0xF813C7E63F9062A5The GTA V native IS_NAVMESH_LOADED_IN_AREA of the PATHFIND namespace, as LS:MP client scripts call it: the global function isNavmeshLoadedInArea, in JavaScript and in Lua.
isNavmeshLoadedInArea(
x1: number,
y1: number,
z1: number,
x2: number,
y2: number,
z2: number
): booleanisNavmeshLoadedInArea(
x1: number,
y1: number,
z1: number,
x2: number,
y2: number,
z2: number
): booleanUsage
JavaScript
const result = isNavmeshLoadedInArea(x1, y1, z1, x2, y2, z2);Lua
local result = isNavmeshLoadedInArea(x1, y1, z1, x2, y2, z2)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
const result = isNavmeshLoadedInArea(pos1, pos2);Lua · with vectors
local result = isNavmeshLoadedInArea(pos1, pos2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x1 | float | number | number |
y1 | float | number | number |
z1 | float | number | number |
x2 | float | number | number |
y2 | float | number | number |
z2 | float | number | number |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns whether navmesh for the region is loaded. The region is a rectangular prism defined by it's top left deepest corner to it's bottom right shallowest corner.
If you can re-word this so it makes more sense, please do. I'm horrible with words sometimes...
Reference
- Namespace
- Pathfinding PATHFIND
- In the game
BOOL IS_NAVMESH_LOADED_IN_AREA(float x1, float y1, float z1, float x2, float y2, float z2)- Hash
0xF813C7E63F9062A5