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.

Page Links


Special Pages


Wikis

?

Render Time: 82ms

DB GetPage 52
Generate Html 3
SaveChanges (1) 13
Render Body 0
Render Sidebar 12