I have looked at several, several posts about this, so please dont tell me search it up. Im not the greatest with LUA but I have a ttt server with pointshop working fabulously. However, when making the perma weapons in the pointshop, everything works as it lets me purchase it and equip, however i dont have it. I can holster/equip but it doesnt put it in my hand. This is what I used:
[QUOTE]ITEM.Name = 'Galil'
ITEM.Price = 10000
ITEM.Model = 'models/weapons/v_rif_ak47.mdl'
ITEM.WeaponClass = 'weapon_ttt_galil'
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
[/QUOTE]
Please help me, thanks.
Maybe you're just being silly and already have a weapon in that slot?
Like, if you're already holding another weapon, say the Mp5, it won't equip this new item
Sorry, you need to Log In to post a reply to this thread.