Garry's Mod Wiki

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".

Page Links


Special Pages


Wikis

?

Render Time: 25ms

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