game.LoadNextMap

From GMod Wiki

Jump to: navigation, search
Function
Syntax game.LoadNextMap( )
Where is this used?
Description:
Begins the next map.
Returns: nil
Part of Library: Game
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Game.LoadNextMap]Game.LoadNextMap [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis example begins the next map.
Used onNewerServer.png
Code
game.LoadNextMap()
OutputN/A


Additional Notes

game.ConsoleCommand( "changelevel " .. game.GetMapNext() .. "\n" )

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox