NPC/CapabilitiesRemove

From Garry's Mod
Jump to: navigation, search
 NPC:CapabilitiesRemove( )

Contents

Description

Remove a certain capability.

Arguments

number capabilities

Capabilities to remove, see CAP_ Enums

Examples

Example

Removes the CAP_USE_SHOT_REGULATOR capability, if the NPC has it.

self:CapabilitiesRemove(CAP_USE_SHOT_REGULATOR)


Personal tools
Navigation