Garry's Mod Wiki

gmsave

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

Methods

gmsave.LoadMap( string mapData, Player ply )
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
boolean gmsave.ShouldSaveEntity( Entity ent, table t )
Returns if we should save this entity in a duplication or a map save or not.

Page Links


Special Pages


Wikis

?

Render Time: 22ms

Session 0
DB GetPage 3
Generate Html 2
SaveChanges 9
Render Body 0
Render Sidebar 6