Garry's Mod Wiki

engine.WriteSave

  engine.WriteSave( string saveData, string name )

Description

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

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

Arguments

1 string saveData
Data generated by gmsave.SaveMap.
2 string name
Name the save will have.