WEAPON:OnRestore

From Garry's Mod
Jump to: navigation, search
 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 library callbacks, see ENTITY:OnDuplicated.

See also saverestore library for relevant functions.

Personal tools
Navigation