Deathrun Melee weapons

Hi was wondering if there was a way to keep a melee weapon after you die i have added a melee weapon to my pointshop but i lose it after the round ends is there anyway to keep the melee weapon through rounds like Lifepunch have?

Thank you.

This is the lua for the bat

ITEM.Name = ‘Bat’
ITEM.Price = 2000
ITEM.Model = ‘models/weapons/w_bat.mdl’
ITEM.WeaponClass = ‘weapon_bat’
ITEM.SingleUse = false

function ITEM:OnBuy(ply)
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end

function ITEM:OnSell(ply)
ply:StripWeapon(self.WeaponClass)
end


ITEM.Name = 'Bat'
ITEM.Price = 2000
ITEM.Model = 'models/weapons/w_bat.mdl'
ITEM.WeaponClass = 'weapon_bat'
ITEM.SingleUse = false

function ITEM:OnBuy(ply)
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end

function ITEM:OnEquip(ply)
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end

function ITEM:OnSell(ply)
ply:StripWeapon(self.WeaponClass)
end

function ITEM:OnHolster(ply)
ply:StripWeapon(self.WeaponClass)
end

will that fix it?

Yes

Hi that never worked i died and next round lost the Bat?

[editline]30th July 2015[/editline]

Actually sorry it did work thanks