Game.SetNextMap

Well I was helping someone with a map changing system and I saw a few functions
**[Game.GetMapNext

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Game.GetMapNext)**
**[Game.LoadNextMap

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Game.LoadNextMap)**

But I cant see anyway to set the next map just stuff to change to it and find out what it is. Is it a functon missing on wiki or is there another way to do it.

It’s based off the map cycle file ( by default I think it’s mapcycle.txt in the root of garrysmod, which loads it from CSS on my install ). You can set the file with a convar.

Ok thanks

[lua]function game.GetMapNext()
return “pies.bsp”
end[/lua]

:ms: