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

Difference between revisions of "Bz incrementPlayerLosses"

From BZFlagWiki
Jump to: navigation, search
m
m (Added minimum API verision)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
| name          = bz_incrementPlayerLosses
 
| name          = bz_incrementPlayerLosses
 
| description  = Increments the losses of a player.
 
| description  = Increments the losses of a player.
 +
| version = 2.4.3
 
| param1        = playerID
 
| param1        = playerID
 
| param1type    = int
 
| param1type    = int
 
| param1desc    = The player who is affected by the loss change.
 
| param1desc    = The player who is affected by the loss change.
| param2        = losses
+
| param2        = increment
 
| param2type    = int
 
| param2type    = int
 
| param2desc    = The losses to add to the player. (0 to leave the losses unchanged, negative number to decrement the losses)
 
| param2desc    = The losses to add to the player. (0 to leave the losses unchanged, negative number to decrement the losses)

Latest revision as of 21:11, 14 June 2015

void bz_incrementPlayerLosses (int playerID, int increment)


Minimum API Version: 2.4.3
Increments the losses of a player.

Parameters:
playerID  -  The player who is affected by the loss change.
increment  -  The losses to add to the player. (0 to leave the losses unchanged, negative number to decrement the losses)