Garry's Mod Wiki

NPC:CapabilitiesGet

  number NPC:CapabilitiesGet()

Description

Returns the NPC's capabilities along the ones defined on its weapon.

Returns

1 number
The capabilities as a bitflag. See CAP enum