NPC/CapabilitiesRemove

From Garry's Mod
Revision as of 04:17, 19 August 2014 by DrVrej (Talk | contribs)
Jump to: navigation, search
 NPC:CapabilitiesRemove( )

Contents

Description

Remove a certain capability.

Arguments

number capabilities

Capabilities to remove, see CAP_ Enums

Examples

Example

It will remove the CAP_USE_SHOT_REGULATOR if the NPC has it.

self:CapabilitiesRemove(CAP_USE_SHOT_REGULATOR)


Personal tools
Navigation