requestPathNodesInAreaThisFrame
REQUEST_PATH_NODES_IN_AREA_THIS_FRAME0x07FB139B592FA687The GTA V native REQUEST_PATH_NODES_IN_AREA_THIS_FRAME of the PATHFIND namespace, as LS:MP client scripts call it: the global function requestPathNodesInAreaThisFrame, in JavaScript and in Lua.
requestPathNodesInAreaThisFrame(
x1: number,
y1: number,
x2: number,
y2: number
): booleanrequestPathNodesInAreaThisFrame(
x1: number,
y1: number,
x2: number,
y2: number
): booleanUsage
JavaScript
const result = requestPathNodesInAreaThisFrame(x1, y1, x2, y2);Lua
local result = requestPathNodesInAreaThisFrame(x1, y1, x2, y2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x1 | float | number | number |
y1 | float | number | number |
x2 | float | number | number |
y2 | 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.
Used internally for long range tasks
Reference
- Namespace
- Pathfinding PATHFIND
- In the game
BOOL REQUEST_PATH_NODES_IN_AREA_THIS_FRAME(float x1, float y1, float x2, float y2)- Hash
0x07FB139B592FA687- Formerly
REQUEST_PATHS_PREFER_ACCURATE_BOUNDINGSTRUCT