if(teamscores_entities_count)
return;
+
if(g_lms) return;
if(g_arena || g_ca) return;
if(g_race && !g_race_qualifying) return;
if(scores_label[i] != "")
sk.SendFlags |= pow(2, i);
sk.(scores[i]) = 0;
+ // do NOT clear scores_accumulated!
}
}
if(scores_label[i] != "")
sk.SendFlags |= pow(2, i);
sk.(scores[i]) = 0;
+ // do NOT clear scores_accumulated!
}
}
for(t = 0; t < 16; ++t)
if(score)
if(scores_label[scorefield] != "")
s.SendFlags |= pow(2, scorefield);
+ s.(scores_accumulated[scorefield]) += score;
return (s.(scores[scorefield]) += score);
}
.float scores[MAX_SCORE];
.float teamscores[MAX_TEAMSCORE];
+.float scores_accumulated[MAX_SCORE]; // for player stats only
+
/**
* Attaches a PlayerScore entity to a player. Use that in ClientConnect.
* Remember to detach it in ClientDisconnect!