game.GetMapNext

From GMod Wiki

Revision as of 06:18, 21 July 2011 by immibis (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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