Garry's Mod Wiki

saverestore.SaveGlobal

  saverestore.SaveGlobal( ISave save )

Description

This is used internally - although you're able to use it you probably shouldn't.

Called by engine when a save is being saved.

This handles saving gamemode and calls all of the hooks added with saverestore.AddSaveHook.

Arguments

1 ISave save
The save object to write data into the save file.