Pointshop create weapon


I’m trying to add a weapon to the pointshop (by _Undefined) to meh server.
Despite my fairly good understanding of lua, I’m not the best with gmod.
If I want to add a weapon do I need to set
to a weapon that was added in from another “mod”/“script”/“whatev” or how do I do a such thing?



An example for ITEM.WeaponClass is

ITEM.WeaponClass = ‘weapon_smg1’

It is the class of the weapon.

ITEM.Model is the model you’ll see in the pointshop preview, ITEM.WeaponClass is the item you’ll receive.

See the weapons that come with the pointshop and use one of those either as a template or as a reference.

What I’m asking is how do I use a weapon added from another mod, if it just works like changing the weaponclass & model.

What do you mean by another mod?

Nevermind, I figured out how to do this by trial and error