arePathNodesLoaded
Client
Tells whether the path nodes of an area are loaded yet.
bool arePathNodesLoaded([float minX, minY = nil, float maxX, maxY = nil])
Parameters
| Name | Type | Description |
|---|---|---|
| minX, minY | float | The area's lowest corner. With no arguments, it checks the area requested with requestPathNodesInArea.default nil |
| maxX, maxY | float | The area's highest corner.default nil |
Returns
true if every path area covering the area is loaded.
Example
if arePathNodesLoaded(1000, -2000, 2000, -1000) then
outputDebugString("Los Santos east is loaded")
end