game.LoadNextMap
From GMod Wiki
Function | |
Syntax |
game.LoadNextMap( ) Where is this used? |
Description: | |
Begins the next map. | |
Returns: | nil |
Part of Library: | Game |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Game.LoadNextMap]Game.LoadNextMap [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This example begins the next map. |
---|---|
Used on | |
Code | game.LoadNextMap() |
Output | N/A |
Additional Notes
- Exactly the same as using:
game.ConsoleCommand( "changelevel " .. game.GetMapNext() .. "\n" )