weapons.GetStored

From Garry's Mod
Revision as of 12:18, 9 May 2019 by Bo98 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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