From: terencehill Date: Thu, 5 May 2022 09:48:33 +0000 (+0200) Subject: Document r parameter in player stats specs X-Git-Tag: xonotic-v0.8.5~46 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5adb218feb2c384fec2c6fbfa03ad0b3e4515550;p=xonotic%2Fxonotic-data.pk3dir.git Document r parameter in player stats specs --- diff --git a/qcsrc/common/playerstats.qc b/qcsrc/common/playerstats.qc index 3e1444a35..f8aa2b514 100644 --- a/qcsrc/common/playerstats.qc +++ b/qcsrc/common/playerstats.qc @@ -366,6 +366,7 @@ void PlayerStats_GameReport_Handler(entity fh, entity pass, float status) * i: player index * n: nickname of the player (optional) * t: team ID + * r: player ranking enabled / disabled * e: followed by an event name, a space, and the event count/score * event names can be: * alivetime: total playing time of the player diff --git a/qcsrc/server/scores.qh b/qcsrc/server/scores.qh index 178181cba..2b6ea4881 100644 --- a/qcsrc/server/scores.qh +++ b/qcsrc/server/scores.qh @@ -88,7 +88,7 @@ void ScoreInfo_SetLabel_PlayerScore(PlayerScoreField i, string label, float scor * Initialize the scores info for the given number of teams. * Set all labels right before this call. */ -void ScoreInfo_Init(float teams); +void ScoreInfo_Init(int teams); /** * Clear ALL scores (for ready-restart).