Garry's Mod Wiki

game.GetMapNext

  string game.GetMapNext()

Description

Returns the next map that would be loaded according to the file that is set by the mapcyclefile convar.

Returns

1 string
nextMap