Skip to content

game_rules

Properties

Name Type Description
is_valve_server bool True if the game is connected to a Valve-hosted server
is_freeze_period bool True if the round is in freeze period state
is_warmup_period bool True if the game is in warmup
is_paused bool True if the game is paused

Usage

local is_valve = game_rules.is_valve_server;
local freeze_period = game_rules.is_freeze_period;
local warmup_period = game_rules.is_warmup_period;
local paused = game_rules.is_paused;