LUA script for auto reload

What’s the script for your gun to reload when it’s out of ammo?

**[SWEP.CanPrimaryAttack

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=SWEP.CanPrimaryAttack)**

I think that is what your looking for.

Thanks dude.