{
case CMD_REQUEST_COMMAND:
{
- if (IS_CLIENT(caller) && caller.last_ready < time - 3)
if (warmup_stage || g_race_qualifying == 2)
if (IS_PLAYER(caller) || INGAME_JOINED(caller))
{
caller.ready = true;
bprint(playername(caller.netname, caller.team, false), "^2 is ready\n");
}
-
- caller.last_ready = time;
ReadyCount();
}
return; // never fall through to usage
entity nagger;
int readycount; // amount of players who are ready
.bool ready; // flag for if a player is ready
-.float last_ready; // last ready time for anti-spam
.int team_saved; // team number to restore upon map reset
.void(entity this) reset; // if set, an entity is reset using this
.void(entity this) reset2; // if set, an entity is reset using this (after calling ALL the reset functions for other entities)