Garry's Mod Wiki

Garry's Mod Wiki

The gmsave library provides functions relating to the singleplayer save system in Garry's Mod.

Methods

gmsave.LoadMap( string mapData, Player ply = NULL, function callback = nil )
Loads a saved map.
gmsave.PlayerLoad( Player ply, table data )
Sets player position and angles from supplied table
table gmsave.PlayerSave( Player ply )
Returns a table containing player position and angles. Used by gmsave. SaveMap.
string gmsave.SaveMap( Player ply )
Saves the map
Returns if we should save this entity in a duplication or a map save or not.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...