Garry's Mod Wiki

Garry's Mod Wiki

  number game.GetMapChangeCount()

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.

Returns

1 number
The current map change count. Will start at 1.

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