Garry's Mod Wiki

Garry's Mod Wiki

  table weapons.GetStored( string weapon_class )

Description

Gets the REAL weapon table, not a copy. The produced table does not inherit fields from the weapon's base class, unlike weapons.Get.

Modifying this table will modify what is stored by the weapons library. Take a copy or use weapons.Get to avoid this.

Arguments

1 string weapon_class
Weapon class to retrieve weapon table of

Returns

1 table
The weapon table

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...