🌍GlobalVars

Talbe to work with game's global variables.

GetFrameCount(): integer

Returns absolute frame counter. Continues to increase even if game is paused.


GetAbsFrameTime(): number

Returns absolute frame time.


GetAbsFrameTimeDev(): number

Returns absolute frame time. No idea what's the difference between this and GetAbsFrameTime.


GetMapName(): string

Returns full name of the current map. For example, "maps/dota.vpk" or "maps/hero_demo_main.vpk".


GetMapGroupName(): string

Returns short name of the current map. For example, "dota" or "hero_demo_main".


GetCurTime(): number

TODO


GetServerTick(): integer

TODO


GetIntervalPerTick(): number

TODO

Last updated