weapons.GetStored

From Garry's Mod
Jump to: navigation, search
 weapons.GetStored( )

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.

WARNING

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

Arguments

string weapon_class

Weapon class to retrieve weapon table of

Returns

table

The weapon table
Personal tools
Navigation