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

18 lines
322 B
Lua
Raw Normal View History

2014-10-02 08:49:54 +08:00
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
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