]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Document r parameter in player stats specs
authorterencehill <piuntn@gmail.com>
Thu, 5 May 2022 09:48:33 +0000 (11:48 +0200)
committerterencehill <piuntn@gmail.com>
Thu, 5 May 2022 09:48:33 +0000 (11:48 +0200)
qcsrc/common/playerstats.qc
qcsrc/server/scores.qh

index 3e1444a35f9f28fcc98a16ed8553e042a1777d82..f8aa2b514059884b5ed43020a06740ece5a6fc37 100644 (file)
@@ -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
index 178181cbada248a0ee7e55f5da55b8583d09d6ea..2b6ea4881045808340260607aaabd596032a6a5f 100644 (file)
@@ -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).