Skip to content

CGlobalVars@

Class of the global vars class.

Methods

  • string startspot() -- Gets the start spot in the map.

Properties

  • float absoluteframetime -- Gets the absolute frame time.
  • bool bMapLoadFailed -- Returns true if current map load has failed.
  • bool coop -- Returns true if game is currently coop.
  • float curtime -- Returns the current time on the map.
  • bool deathmatch -- Returns true if game is currently deathmatch.
  • MapLoadType_t eLoadType -- Gets the current load type.
  • int framecount --
  • float frametime --
  • float interval_per_tick --
  • string_t mapname -- Returns the map name in string.
  • int mapversion --
  • int maxClients -- maxplayers.
  • int network_protocol --
  • float realtime --
  • int serverCount --
  • int simTicksThisFrame --
  • bool teamplay -- Returns true if game is currently teamplay based.
  • int tickcount --