bool SaveGame(string gameName, number slotNumber, string description, string gameVersion)

Saves a game state to disk. It saves it in the slot number specified with the given description. The gameName and gameVersion parameters are used to prevent opening of games from other versions.

It returns TRUE on success, FALSE on error.

SaveGame("LSL3" 2 "Some game saved in slot 2" "1.002")

See Also: GetSaveDir, CheckSaveGame, RestoreGame, RestartGame