Coding a SWEP base?

Hi, I was wondering how you went about creating a basic SWEP. There is a good article on wiki.garrysmod.com about it, but that does not explain how to fire bullets from your SWEP. If anyone could provide me with some useful functions or a commented SWEP base ‘base’, that would be very helpful.

This was posted a month or two ago and I’m still looking for an answer, thanks.

self.Owner:FireBullets() if that’s what you mean by firing bullets.