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 incrementPlayerWins: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Alezakos (talk | contribs)
mNo edit summary
Allejo (talk | contribs)
Add minimum API version
 
Line 2: Line 2:
| name          = bz_incrementPlayerWins
| name          = bz_incrementPlayerWins
| description  = Increments the wins of a player.
| description  = Increments the wins of a player.
| version = 2.4.3
| param1        = playerID
| param1        = playerID
| param1type    = int
| param1type    = int

Latest revision as of 21:11, 14 June 2015

void bz_incrementPlayerWins (int playerID, int increment)


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

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