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

Session 0
DB GetPage 3
Generate Html 5
SaveChanges 8
Render Body 0
Render Sidebar 12