Garry's Mod Wiki

Garry's Mod Wiki

  number, number game.GetMapVersion()

Description

Returns the revision (Not to be confused with VBSP Version) and BSP version of the current map.

Map revision is the amount of times the map file was saved in Hammer at the time of the map being compiled. This is useful to detect when a map has changed.

Returns

1 number
Revision of the currently loaded map.
2 number
BSP version.
This was recently added in version (2026.02.06). It might only be available on the Dev Branch right now.

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