game.GetMapNext
From GMod Wiki
| Function | |
| Syntax |
game.GetMapNext( ) Where is this used? |
| Description: | |
| Retrieve the next map name. | |
| Returns: | String |
| Part of Library: | Game |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Game.GetMapNext]Game.GetMapNext [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | This example prints the next map name to the console. |
|---|---|
| Used on | |
| Code | Msg("The next map is " .. game.GetMapNext() .. "\n") |
| Output | The next map is <name of next map> |