M MY Multiplayer: Wiki
Side
Kind

arePathNodesLoaded

Client

Tells whether the path nodes of an area are loaded yet.

bool arePathNodesLoaded([float minX, minY = nil, float maxX, maxY = nil])

Parameters

NameTypeDescription
minX, minYfloatThe area's lowest corner. With no arguments, it checks the area requested with requestPathNodesInArea.default nil
maxX, maxYfloatThe 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

See also