weapons.Get

From Garry's Mod
Revision as of 12:17, 9 May 2019 by Bo98 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 weapons.Get( )

Description

Get a copy of weapon table by name. This function also inherits fields from the weapon's base class, unlike weapons.GetStored.

Arguments

string classname

Class name of weapon to retrieve

Returns

table

The retrieved table or nil
Personal tools
Navigation