Garry's Mod Wiki

WEAPON:OnRemove

  WEAPON:OnRemove()

Description

Called when the Scripted Weapon is about to be removed.

Entity:GetOwner may be unset at this point, see WEAPON:OnDrop and WEAPON:OwnerChanged.