Garry's Mod Wiki

weapons.OnLoaded

  weapons.OnLoaded()

Description

This is used internally - although you're able to use it you probably shouldn't.

Called after all SWEPS have been loaded and runs baseclass.Set on each one.

You can retrieve all the currently registered SWEPS with weapons.GetList.

This is not called after a SWEP auto refresh, and thus the inherited baseclass functions retrieved with baseclass.Get will not be updated