game.GetMapChangeCount
Recently Added
This was recently added in version (2025.11.28). It might only be available on the Dev Branch right now.
Description
Returns the current map change count for the server.
This is useful to determine whether the current map is the initial map, or whether a changelevel (using map command is also detected) has occurred at any point in the server's session.
Garry's Mod
Rust
Steamworks
Wiki Help