Skip to content
zer0.k edited this page Nov 18, 2023 · 2 revisions

Timer starts whenever the player stops being on the ground or leaves the start zone while being on the ground. The player must also not be in any race that is in the countdown period to start the timer. Timer increments by one tick whenever the player's PostThink function is called, which should be called every tick.

TODO: Can this be called multiple times per tick? Is this reliable against network issues? (eg. packet loss)

Timer forcibly stops in the following scenarios:

  • Player enters noclip.
  • Player joins spectator team while not being on the ground or on a ladder.
  • Player changes mode.
  • Player teleports to another player.
  • Player re-enters the start zone or to the player-defined start position (!ssp).
  • A race including the player goes into the countdown phase.
  • Player issues !stop/kz_stop command.

Clone this wiki locally