Garry's Mod Wiki

Garry's Mod Wiki

  CNavArea navmesh.GetNavAreaByID( number id )

Description

Returns a CNavArea by the given ID.

Avoid calling this function every frame, as internally it does a lookup trough all the CNavAreas, call this once and store the result

Arguments

1 number id
ID of the CNavArea to get. Starts with 1.

Returns

1 CNavArea
The CNavArea with given ID.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...