Gamemode.Saved
From GMod Wiki
Revision as of 23:07, 22 October 2009 by Crazy Quebecer (Talk | contribs)
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! |