Garry's Mod Wiki

WEAPON:GetNPCBurstSettings

  number, number, number WEAPON:GetNPCBurstSettings()

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

1 number
Minimum amount of bullets per burst. Default is 1.
2 number
Maximum amount of bullets per burst. Default is 1.
3 number
Delay between each shot, aka firerate. Default is 1.