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)
 
(update)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{apicall
 
{{apicall
 
| name          = bz_setPlayerLosses
 
| name          = bz_setPlayerLosses
| description  = Sets the losses of a player. (v3.0)
+
| version      =
 +
| description  = Sets the losses of a player.
 
| param1        = playerID
 
| param1        = playerID
 
| param1type    = int
 
| param1type    = int

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.