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
(Added bz_setPlayerLosses)
 
m (version)
Line 1: Line 1:
 
{{apicall
 
{{apicall
 
| name          = bz_setPlayerLosses
 
| name          = bz_setPlayerLosses
| description  = Sets the losses of a player. (v3.0)
+
| version      = 2.99.x and higher
 +
| description  = Sets the losses of a player.
 
| param1        = playerID
 
| param1        = playerID
 
| param1type    = int
 
| param1type    = int

Revision as of 03:05, 10 February 2009

void bz_setPlayerLosses (int playerID, int losses)


Minimum API Version: 2.99.x and higher
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.