weapons.GetList
Description
Get a list of all the registered SWEPs. This does not include weapons added to spawnmenu manually.
This function does not inherit fields from the weapon's base class, unlike weapons.Get
Returns
Example
Example structure.
Output: 1:
Folder = weapons/weapon_myweapon
ClassName = weapon_myweapon
-- The rest of the SWEP table
2:
Folder = weapons/weapon_myweapon2
ClassName = weapon_myweapon2
-- The rest of the SWEP table
Garry's Mod
Rust
Steamworks
Wiki Help