// usually only possible by reconnecting to the server
strfree(it.playerstats_id);
PlayerStats_GameReport_AddEvent(sprintf("kills-%d", it.playerid));
- if (IS_BOT_CLIENT(it) || CS_CVAR(it).cvar_cl_allow_uidtracking)
- PlayerStats_GameReport_AddPlayer(it);
+ PlayerStats_GameReport_AddPlayer(it);
});
FOREACH(Scores, true, {
string label = scores_label(it);
#if defined(CSQC)
float autoswitch;
bool cvar_cl_allow_uid2name;
- float cvar_cl_allow_uidtracking;
+ string cvar_cl_allow_uidtracking;
bool cvar_cl_allow_uidranking;
float cvar_cl_autoscreenshot;
float cvar_cl_autotaunt;
*/
#ifdef CSQC
// handled specially on the server
-REPLICATE(cvar_cl_allow_uidtracking, float, "cl_allow_uidtracking");
+// FIXME change cvar_cl_allow_uidtracking type from string to float without breaking playerstats
+REPLICATE(cvar_cl_allow_uidtracking, string, "cl_allow_uidtracking");
#endif
REPLICATE(cvar_cl_weaponpriority, string, "cl_weaponpriority");