Garry's Mod Wiki

Garry's Mod Wiki

  NPC:CapabilitiesAdd( number capabilities )

Description

Adds a capability to the NPC.

Arguments

1 number capabilities
Capabilities to add, see CAP enum.

Example

Adds the CAP_USE_SHOT_REGULATOR to the NPC's capabilities.

self:CapabilitiesAdd( CAP_USE_SHOT_REGULATOR )

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 four times a day. Edits and history are not available.

Last Parsed: Loading...