Garry's Mod Wiki

Garry's Mod Wiki

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...