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.
Garry's Mod
Rust
Steamworks
Wiki Help