This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz incrementPlayerLosses: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Alezakos (talk | contribs)
Created page with "{{apicall | name = bz_incrementPlayerLosses | description = Increments the losses of a player. | param1 = playerID | param1type = int | param1desc = Th..."
 
Alezakos (talk | contribs)
mNo edit summary
Line 5: Line 5:
| 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        = wins
| param2        = losses
| param2type    = int
| param2type    = int
| param2desc    = The losses to add to the player. (0 to leave the wings unchanged, negative number to decrement the wins)
| param2desc    = The losses to add to the player. (0 to leave the losses unchanged, negative number to decrement the losses)
| returntype    = bool
| returntype    = bool
| return        = Whether the player exists.
| return        = Whether the player exists.
}}
}}

Revision as of 13:38, 29 May 2015

void bz_incrementPlayerLosses (int playerID, int losses)


Increments the losses of a player.

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