Garry's Mod Wiki

CNavArea:GetZ

  number CNavArea:GetZ( Vector pos )

Description

Returns the elevation of this Nav Area at the given position.

Arguments

1 Vector pos
The position to get the elevation from, the z value from this position is ignored and only the X and Y values are used to this task.

Returns

1 number
The elevation.