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: 18ms

DB GetPage 2
Generate Html 1
SaveChanges (1) 5
Render Body 0
Render Sidebar 7