WEAPON/GetNPCBurstSettings

From Garry's Mod
Jump to: navigation, search
 WEAPON:GetNPCBurstSettings( )

Contents

Description

Called when the weapon is used by NPCs to tell the NPC how to use this weapon. Controls how long the NPC can or should shoot continuously.

Returns

number

Minimum amount of bullets per burst. Default is 1.

Returns

number

Maximum amount of bullets per burst. Default is 1.

Returns

number

Delay between each shot, aka firerate. Default is 1.
Personal tools
Navigation