Hello everyone. I have a problem with my pointshop weapons in my deathrun server, Once anyone buys them they do not show up/get equipped. It says it has been equipped in the bottom right but it really hasn't. Here is the code for my weapon:
[CODE]ITEM.Name = 'Dubstep Gun: Burnout'
ITEM.Price = 50000
ITEM.Model = 'models/mark2580/sr4/dubstepgun.mdl'
ITEM.WeaponClass = 'weapon_dubstepgun_burnout'
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
local function PlayerLoadout ( ply )
ply:Give(self.WeaponClass)
end[/CODE]
Sorry, you need to Log In to post a reply to this thread.