hi i have deathrun server with pointshop 1 and this addon of knives : [url]http://steamcommunity.com/sharedfiles/filedetails/?id=506283460[/url]
and on the shop its show the model of the knife without the skin, this is the code i use :
[CODE]ITEM.Name = 'Bayonet : Fade'
ITEM.Price = 30000
ITEM.Model = 'models/weapons/w_csgo_bayonet.mdl'
ITEM.WeaponClass = 'csgo_bayonet_fade'
ITEM.SingleUse = false
function ITEM:OnEquip(ply)
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end
function ITEM:OnSell(ply)
ply:StripWeapon(self.WeaponClass)
end[/CODE]
Sorry, you need to Log In to post a reply to this thread.