i want add other models for the Crowbar in the Pointshop, but important is that,
i want change the weapon sound, too. ( Lightsword with Crowbar sound are stupid :b)
ITEM.Name = 'Sledgehammer' ITEM.Price = 1500 ITEM.Model = 'models/weapons/w_sledgehammer.mdl' ITEM.WeaponClass = 'weapon_zm_sledgehammer' function ITEM:OnEquip(ply) ply:StripWeapon('weapon_zm_improvised') if not ply:IsSpec() then ply:Give(self.WeaponClass) ply:SelectWeapon(self.WeaponClass) end end function ITEM:OnHolster(ply) ply:StripWeapon(self.WeaponClass) if not ply:IsSpec() then ply:Give('weapon_zm_improvised') ply:SelectWeapon('weapon_zm_improvised') end end
So i add the new “SWEP weapon”. Over the weapon lua, i hope u understand what i mean.
but i have a kind of bigger problem…
When i bought it and choose for example the katana model.
Sometimes the player switch to the katana without doing something.
I want shoot with my m16 and suddenly while i am shooting the game thinks “HERE take the katana and die!”
that so stupid… i hope someone can edit the code so it dont randomly change.