Garry's Mod Wiki

game.GetMap

string game.GetMap()

Description

Returns the name of the current map, without a file extension. On the menu state, returns "menu".

Returns

1 string
The name of the current map, without a file extension.

Example

Output: gm_flatgrass

Page Links


Special Pages


Wikis

?

Render Time: 37ms

DB GetPage 8
Generate Html 2
SaveChanges (1) 12
Render Body 0
Render Sidebar 12