Garry's Mod Wiki

Revision Difference

weapons.Get#512213

<function name="Get" parent="weapons" type="libraryfunc">⤶ <description>Get a `copy` of weapon table by name. This function also inherits fields from the weapon's base class, unlike <page>weapons.GetStored</page>.</description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="classname" type="string">Class name of weapon to retrieve</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="table">The retrieved table or nil</ret>⤶ </rets>⤶ </function>⤶ ⤶