zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_zombie/init.lua

15 lines
257 B
Lua
Raw Normal View History

INC_SERVER()
2014-10-02 08:49:54 +08:00
SWEP.MoanDelay = 1
function SWEP:Reload()
if CurTime() < self:GetNextSecondaryFire() then return end
self:SetNextSecondaryFire(CurTime() + self.MoanDelay)
if self:IsMoaning() then
self:StopMoaning()
else
self:StartMoaning()
end
end