Difference between revisions of "Bz setPlayerWins"

From BZFlagWiki
Jump to: navigation, search
(Added bz_setPlayerWins)
 
m (Added API Version)
Line 1: Line 1:
 
{{apicall
 
{{apicall
 
| name          = bz_setPlayerWins
 
| name          = bz_setPlayerWins
| description  = Sets the wins of a player. (v3.0)
+
| version      = 2.99.x and higher
 +
| description  = Sets the wins of a player.
 
| param1        = playerID
 
| param1        = playerID
 
| param1type    = int
 
| param1type    = int

Revision as of 03:03, 10 February 2009

void bz_setPlayerWins (int playerID, int wins)


Minimum API Version: 2.99.x and higher
Sets the wins of a player.

Parameters:
playerID  -  The player who is affected by the win change.
wins  -  The wins to set for the player.