Skip to content

CGlobalVars@

Class of the global vars class.

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.
  • int framecount --
  • float frametime --
  • float interval_per_tick --
  • 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 --