Garry's Mod Wiki

saverestore.ReadVar

  any saverestore.ReadVar( IRestore save )

Description

Loads a variable from the save game file that is being loaded.

Variables will be read in the save order you have saved them.

Arguments

1 IRestore save
The restore object to read variables from.

Returns

1 any
The variable that was read, if any.