zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_butcherknifez.lua
2014-10-01 20:49:54 -04:00

17 lines
315 B
Lua

AddCSLuaFile()
SWEP.Base = "weapon_zs_butcherknife"
SWEP.ZombieOnly = true
SWEP.MeleeDamage = 30
SWEP.Primary.Delay = 0.4
function SWEP:OnMeleeHit(hitent, hitflesh, tr)
if not hitent:IsPlayer() then
self.MeleeDamage = 11
end
end
function SWEP:PostOnMeleeHit(hitent, hitflesh, tr)
self.MeleeDamage = 24
end