areNodesLoadedForArea

ARE_NODES_LOADED_FOR_AREA0xF7B79A50B905A30D

The GTA V native ARE_NODES_LOADED_FOR_AREA of the PATHFIND namespace, as LS:MP client scripts call it: the global function areNodesLoadedForArea, in JavaScript and in Lua.

SignatureJavaScript
areNodesLoadedForArea(x1: number, y1: number, x2: number, y2: number): boolean
SignatureLua
areNodesLoadedForArea(x1: number, y1: number, x2: number, y2: number): boolean

Usage

JavaScript
const result = areNodesLoadedForArea(x1, y1, x2, y2);
Lua
local result = areNodesLoadedForArea(x1, y1, x2, y2)

Parameters

ParameterTypeJavaScriptLua
x1floatnumbernumber
y1floatnumbernumber
x2floatnumbernumber
y2floatnumbernumber

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Pathfinding PATHFIND
In the game
BOOL ARE_NODES_LOADED_FOR_AREA(float x1, float y1, float x2, float y2)
Hash
0xF7B79A50B905A30D
Formerly
_ARE_PATH_NODES_LOADED_IN_AREA

Open in the interactive natives reference