This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Bz setPlayerLosses"

From BZFlagWiki
Jump to: navigation, search
m (version)
(update)
 
Line 1: Line 1:
 
{{apicall
 
{{apicall
 
| name          = bz_setPlayerLosses
 
| name          = bz_setPlayerLosses
| version      = 2.99.x and higher
+
| version      =
 
| description  = Sets the losses of a player.
 
| description  = Sets the losses of a player.
 
| param1        = playerID
 
| param1        = playerID

Latest revision as of 18:15, 31 January 2017

void bz_setPlayerLosses (int playerID, int losses)


Sets the losses of a player.

Parameters:
playerID  -  The player who is affected by the loss change.
losses  -  The losses to set for the player.