Garry's Mod Wiki

navmesh.GetAllNavAreas

  table navmesh.GetAllNavAreas()

Description

Returns an integer indexed table of all CNavAreas on the current map. If the map doesn't have a navmesh generated then this will return an empty table.

Returns

1 table
A table of all the CNavAreas on the current map.