Garry's Mod Wiki

gmsave.SaveMap

  string gmsave.SaveMap( Player ply )

Description

Saves the map

Arguments

1 Player ply
The player, whose position should be saved for loading the save

Returns

1 string
The encoded to JSON string containing save data