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

Difference between revisions of "Bz setPlayerWins"

From BZFlagWiki
Jump to: navigation, search
m (Added API Version)
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.