PlayerStats_AddEvent(PLAYERSTATS_ALIVETIME);
PlayerStats_AddEvent(PLAYERSTATS_WINS);
PlayerStats_AddEvent(PLAYERSTATS_MATCHES);
+ PlayerStats_AddEvent(PLAYERSTATS_SCOREBOARD_VALID);
}
void PlayerStats_AddPlayer(entity e)
FOR_EACH_PLAYER(p)
{
PlayerScore_PlayerStats(p);
+ PlayerStats_Event(p, PLAYERSTATS_SCOREBOARD_VALID, 1);
if(finished)
{
PlayerStats_Event(p, PLAYERSTATS_WINS, p.winning);
string PLAYERSTATS_MATCHES = "matches";
string PLAYERSTATS_TOTAL = "total-";
string PLAYERSTATS_SCOREBOARD = "scoreboard-";
+string PLAYERSTATS_SCOREBOARD_VALID = "scoreboardvalid";
// delay map switch until this is set
float playerstats_waitforme;