From GMod Wiki
|Internal Function: weapons.Register|
|weapons.Register is an internal function. This means you will be able to call it, but you really shouldn't.|
weapons.Register( Table weapon_table, String weapon_name, Boolean reload )
Where is this used?
|Registers a SWEP.|
|Part of Library:||Weapons|
|BBCode Link:||[b][url=http://wiki.garrysmod.com/?title=Weapons.Register]Weapons.Register [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]|
- This is an internal function - you should not need to call this. It can be used for adding a bunch of simple SWEPs that are based off a master SWEP, such as a bunch of CS:S SWEPs based of a master CS:S base.
- If reload is false and the swep already exists, nothing will happen.