if(GameRules_scoring_add(player, LMS_LIVES, LMS_NewPlayerLives()) <= 0)
{
GameRules_scoring_add(player, LMS_RANK, 666); // mark as forced spectator for the hud code
if(GameRules_scoring_add(player, LMS_LIVES, LMS_NewPlayerLives()) <= 0)
{
GameRules_scoring_add(player, LMS_RANK, 666); // mark as forced spectator for the hud code