Garry's Mod Wiki

ENTITY:OnRestore

  ENTITY:OnRestore()

Description

Called when the 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.