Garry's Mod Wiki

Revision Difference

WEAPON:OnDrop#563571

<function name="OnDrop" parent="WEAPON" type="hook"> <description> Called when weapon is dropped by <page>Player:DropWeapon</page>. See also <page>WEAPON:OwnerChanged</page>. </description> <realm>Server</realm> <args>⤶ <arg name="owner" type="Entity">The entity that dropped the weapon.</arg>⤶ </args>⤶ </function>