Garry's Mod Wiki

CNavArea:HasAttributes

  boolean CNavArea:HasAttributes( number attribs )

Description

Returns true if the given CNavArea has this attribute flag set.

Arguments

1 number attribs
Attribute mask to check for, see NAV_MESH enum

Returns

1 boolean
True if the CNavArea matches the given mask. False otherwise.