loadAllPathNodes
LOAD_ALL_PATH_NODES0xC2AB6BFE34E92F8BThe GTA V native LOAD_ALL_PATH_NODES of the PATHFIND namespace, as LS:MP client scripts call it: the global function loadAllPathNodes, in JavaScript and in Lua.
loadAllPathNodes(bLoadAll: boolean): booleanloadAllPathNodes(bLoadAll: boolean): booleanUsage
JavaScript
const result = loadAllPathNodes(bLoadAll);Lua
local result = loadAllPathNodes(bLoadAll)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
bLoadAll | BOOL | boolean | boolean |
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.
Loads/unloads all path nodes on the map.
Returns true if all nodes are loaded (effectively areNodesLoadedForArea for the entire map).
Note: this native was removed in build 1180 but returned in build 2802.
Reference
- Namespace
- Pathfinding PATHFIND
- In the game
BOOL LOAD_ALL_PATH_NODES(BOOL bLoadAll)- Hash
0xC2AB6BFE34E92F8B- Introduced
- Game build 2802 legacy numbering