Hello again you awesome people out there!
I am having a new issue with Gmod pointshop.
The weapons I have installed do not spawn when they are purchase nor can I just give them to a player with the commands.
I installed 2 other weapons already and they work perfectly fine but now the waht I installed them before doesn’t work!
I downloaded the add on via steam workshop.
Extracted with gmad
Copied all folders in to my server files.
Please another copy of the weapon files in the addons folder
And finally coded them in to the point shop.
Like I said this work before and Im not sure if I even have to put them in the add ons folder but I thought it couldn’t hurt.
Anyways here is the code for the pointshop.
ITEM.Name = 'AK-47' ITEM.Price = 50 ITEM.Model = 'models/weapons/v_cloutak1.mdl' ITEM.WeaponClass = 'weapon_ak47' ITEM.SingleUse = true ITEM.Except = true function ITEM:OnBuy(ply) ply:Give(self.WeaponClass) ply:SelectWeapon(self.WeaponClass) end function ITEM:OnSell(ply) ply:StripWeapon(self.WeaponClass) end