Garry's Mod Wiki

WEAPON:OnDrop

  WEAPON:OnDrop( Entity owner )

Description

Called when weapon is dropped by Player:DropWeapon.

See also WEAPON:OwnerChanged.

Arguments

1 Entity owner
The entity that dropped the weapon.
This was recently added in version (2025.02.12). It might only be available on the Dev Branch right now.