Garry's Mod Wiki

game.MapLoadType

game.MapLoadType

  string game.MapLoadType()

Description

Returns the map load type of the current map.

After changing the map with the console command changelevel, "newgame" is returned. With changelevel2 (single player only), "transition" is returned.

Returns

1 string
The load type. Possible values are: "newgame", "loadgame", "transition", "background".

Special Pages


Wikis

?

Render Time: 231ms

DB GetPage 213
Generate Html 1
SaveChanges (1) 8
Render Body 0
Render Sidebar 6