e.yellowalive_stat = yellowalive;
e.pinkalive_stat = pinkalive;
}
+
+ eliminatedPlayers.SendFlags |= 1;
}
#define FREEZETAG_ALIVE_TEAMS() ((redalive > 0) + (bluealive > 0) + (yellowalive > 0) + (pinkalive > 0))
#define FREEZETAG_ALIVE_TEAMS_OK() (FREEZETAG_ALIVE_TEAMS() == freezetag_teams)
Unfreeze(self);
}
+float freezetag_isEliminated(entity e)
+{
+ if(e.frozen == 1 || e.deadflag != DEAD_NO)
+ return TRUE;
+ return FALSE;
+}
+
// ================
// Bot player logic
addstat(STAT_BLUEALIVE, AS_INT, bluealive_stat);
addstat(STAT_YELLOWALIVE, AS_INT, yellowalive_stat);
addstat(STAT_PINKALIVE, AS_INT, pinkalive_stat);
+
+ EliminatedPlayers_Init(freezetag_isEliminated);
}
MUTATOR_DEFINITION(gamemode_freezetag)