Gamemode.Saved
From GMod Wiki
Event Hook | |
Hook Name | Saved |
Syntax | GM:Saved( ) |
Description | Automatically called when the game is saved (through the Save Game interface in Single Player) |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.Saved]Gamemode.Saved [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Prints "the game has been saved" to the console when the game is saved |
---|---|
Used on | |
Code | function GM:Saved() print("The game has been saved!") end |
Output | The game has been saved! |