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

From BZFlagWiki
Jump to navigation Jump to search
Yassen (talk | contribs)
m Added API Version
Sigonasr2 (talk | contribs)
m Removed version 2.99.x requirement.
 
Line 1: Line 1:
{{apicall
{{apicall
| name          = bz_setPlayerWins
| name          = bz_setPlayerWins
| version      = 2.99.x and higher
| description  = Sets the wins of a player.
| description  = Sets the wins of a player.
| param1        = playerID
| param1        = playerID

Latest revision as of 09:49, 19 October 2011

void bz_setPlayerWins (int playerID, int wins)


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.