game
The game namespace. Nyx Lua API v1.
game.curtime
Section titled game.curtimegame.curtime() -> numberGame time in seconds.
game.realtime
Section titled game.realtimegame.realtime() -> numberWall-clock seconds.
game.frametime
Section titled game.frametimegame.frametime() -> numberSeconds since the last frame.
game.tickcount
Section titled game.tickcountgame.tickcount() -> numberServer tick.
game.tick_interval
Section titled game.tick_intervalgame.tick_interval() -> numberSeconds per tick.
game.map
Section titled game.mapgame.map() -> stringMap name, "" outside a match.
game.in_game
Section titled game.in_gamegame.in_game() -> booleanIn a match.
game.is_valve_server
Section titled game.is_valve_servergame.is_valve_server() -> booleanOn an official Valve server (Nyx's limits apply).
game.is_deathmatch
Section titled game.is_deathmatchgame.is_deathmatch() -> booleanDeathmatch.
Nyx Lua API v1 · release commit-4b659d9c3810 · d0f772c99281