game.LoadNextMap
From GMod Wiki
Revision as of 19:26, 25 September 2009 by Crazy Quebecer (Talk | contribs)
| 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" )