Garry's Mod Wiki

WEAPON:OnRestore

  WEAPON:OnRestore()

Description

Called when the weapon entity is reloaded from a Source Engine save (not the Sandbox saves or dupes) or on a changelevel (for example Half-Life 2 campaign level transitions).

For the duplicator callbacks, see ENTITY:OnDuplicated.

See also saverestore for relevant functions.