saverestore.WriteVar

From Garry's Mod
Jump to: navigation, search
 saverestore.WriteVar( )

Description

Writes a variable to the save game file that is being saved.

Arguments

any value

The value to save.
It can be one of the following types: number, boolean, string, Entity, Angle, Vector or table.

Arguments

ISave save

The save object to write the variable to.
Personal tools
Navigation