}
else if((g_race && g_race_qualifying) || g_cts)
{
- if(PlayerScore_Add(e, SP_RACE_FASTEST, 0))
+ if(PlayerScore_Add(self, SP_RACE_FASTEST, 0))
self.frags = FRAGS_LMS_LOSER;
else
self.frags = FRAGS_SPECTATOR;
* Initialize the score of this player if needed.
* Does nothing in teamplay.
* Use that when a spectator becomes a player.
+ * Returns whether clearing has been performed
*/
-void PlayerScore_Clear(entity player);
+float PlayerScore_Clear(entity player);
/**
* Adds a score to the player's team's scores.