How to make a weapon shoot a projectile (such as a nail)?

Hi there, I’m working on a SWEP that ports some weapons and one of them is a nailgun. I have the nail model and the weapon ready to go but I have no idea how to make the weapon shoot the nail instead of a bullet.

I recommend studying this:

1 Like