Garry's Mod Wiki

Revision Difference

WEAPON:Equip#517937

<function name="Equip" parent="WEAPON" type="hook"> <ishook>yes</ishook> <description>Called when a player or NPC has picked the weapon up.</description> <realm>Server</realm> <args> <arg name="NewOwner" type="Entity">The one who picked the weapon up. Can be &lt;page&gt;Player&lt;/page&gt; or &lt;page&gt;NPC&lt;/page&gt;.</arg> <arg name="NewOwner" type="Entity">The one who picked the weapon up. Can be <page>Player</page> or <page>NPC</page>.</arg> </args> </function>