From 5adb218feb2c384fec2c6fbfa03ad0b3e4515550 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 5 May 2022 11:48:33 +0200 Subject: [PATCH] Document r parameter in player stats specs --- qcsrc/common/playerstats.qc | 1 + qcsrc/server/scores.qh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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). -- 2.39.2