Garry's Mod Wiki

saverestore.WriteVar

saverestore.WriteVar( any value, ISave save )

Description

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

Arguments

1 any value
The value to save.

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

2 ISave save
The save object to write the variable to.

Page Links


Special Pages


Wikis

?

Render Time: 65ms

DB GetPage 5
Generate Html 16
SaveChanges (1) 23
Render Body 0
Render Sidebar 19