Weapon base template?

People in the past have made templates for gamemodes, entitys and weapons but is there a template for a weapon base? When I say template I mean like .lua files with functions needed for a weapon base to work. if you know of one could you be so kind to post a link to it. Thank you for taking your time to read this.

Go find the CSS Realistic Weapons. It includes a bunch of already existing weapons, as well as the base for you to make some off of. Best one so far in my opinion. I’m in the process of writing my own. Once I finish it, Ill give you the link to mine as well.

Thank you SeveredSkull for the idea about CSS Realistic Weapons. I don’t think I rip out all the code but see how it works, and thank you for letting me look at your base when your done.

Part of it is sitting publicly here if you want to take a look.