[PointShop] Player spawn with buyed weapon

afther buy weapon, if player dead they will not spawn with weapon, they need sell weapon and rebuy weapon



ITEM.Name = 'AK47'
ITEM.Price = 1500
ITEM.Model = 'models/weapons/w_rif_ak47.mdl'
ITEM.WeaponClass = 'weapon_cs_ak47'
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


why i need make for player auto spawn with buyed weapon?
help plz
Thanks :wink:

Change OnBuy to OnEquip.

Thanks