game.GetMapNext

From GMod Wiki

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



Example

DescriptionThis example prints the next map name to the console.
Used onNewerServer.png
Code
Msg("The next map is " .. game.GetMapNext() .. "\n")
OutputThe next map is <name of next map>


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox