Garry's Mod Wiki

NPC:CapabilitiesAdd

NPC:CapabilitiesAdd

NPC:CapabilitiesAdd( number capabilities )

Description

Adds a capability to the NPC.

Arguments

1 number capabilities
Capabilities to add, see Enums/CAP.

Example

Adds the CAP_USE_SHOT_REGULATOR to the NPC's capabilities.

self:CapabilitiesAdd( CAP_USE_SHOT_REGULATOR )

Special Pages


Wikis

?

Render Time: 62ms

DB GetPage 41
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 7