🌍GlobalVars

Talbe to work with game's global variables.

GetFrameCount

GlobalVars.GetFrameCount(): integer

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

GetAbsFrameTime

GlobalVars.GetAbsFrameTime(): number

Returns absolute frame time.

GetAbsFrameTimeDev

GlobalVars.GetAbsFrameTimeDev(): number

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

GetMapName

GlobalVars.GetMapName(): string

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

GetMapGroupName

GlobalVars.GetMapGroupName(): string

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

GetCurTime

GlobalVars.GetCurTime(): number

TODO

GetServerTick

GlobalVars.GetServerTick(): integer

TODO

GetIntervalPerTick

GlobalVars.GetIntervalPerTick(): number

TODO

Last updated