Garry's Mod Wiki

NPC:CapabilitiesRemove

NPC:CapabilitiesRemove

  NPC:CapabilitiesRemove( number capabilities )

Description

Remove a certain capability.

Arguments

1 number capabilities
Capabilities to remove, see Enums/CAP

Example

Removes the CAP_USE_SHOT_REGULATOR capability, if the NPC has it.

self:CapabilitiesRemove(CAP_USE_SHOT_REGULATOR)

Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 3
Generate Html 23
SaveChanges (1) 18
Render Body 0
Render Sidebar 7