zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_tithonus/init.lua
William Moodhe e9da54c2f9 ZS updates for 2014-2018
Too many changes to list.
2018-05-01 18:32:59 -04:00

17 lines
389 B
Lua

INC_SERVER()
SWEP.Primary.Projectile = "projectile_tithonus"
SWEP.Primary.ProjVelocity = 1100
function SWEP:Think()
self:CheckCharge()
if self:GetReloadFinish() > 0 then
if CurTime() >= self:GetReloadFinish() then
self:FinishReload()
end
elseif self.IdleAnimation and self.IdleAnimation <= CurTime() then
self.IdleAnimation = nil
self:SendWeaponAnim(ACT_VM_IDLE)
end
end