Garry's Mod Wiki


  engine.WriteSave( string saveData, string name, number time, string map )


Stores savedata into the game (can be loaded using the LoadGame menu)


1 string saveData
Data generated by gmsave.SaveMap
2 string name
Name the save will have.
3 number time
When the save was saved during the game (Put CurTime here)
4 string map
The map the save is used for.