Okay, so I co-own a TTT server and I just finished working on all of the weapons in the pointshop. I added in some colored smoke grenades because why not? However, they aren’t showing up at all.
ITEM.Name = 'Yellow Smoke' ITEM.Price = 2500 ITEM.Model = 'models/weapons/w_eq_smokegrenade.mdl' ITEM.WeaponClass = 'weapon_ttt_ylw_smokegrenade' ITEM.SingleUse = false function ITEM:OnEquip(ply) ply:Give(self.WeaponClass) ply:SelectWeapon(self.WeaponClass) end function ITEM:OnHolster(ply) ply:StripWeapon(self.WeaponClass) end
That’s one of the codes. It [the format] worked flawlessy for every single gun, but when it came to the grenades they just don’t show up.
(And yes, they’re intended to be used multiple times)