Skip to Content

bz_setPlayerWins()

Available since 2.4.0

Set the number of wins for the specified player. This function will overwrite the number of wins with the specified value.

Usage

bool bz_setPlayerWins(int playerID, int wins)
Parameters
int playerID

The player whose number of wins will be overwritten

int wins

The new number of the wins for the specified player

Returns

bool - True if the player score was overwritten successfully

Other Player Score Functions

Back to bzfs API Functions

This content is maintained on GitHub. We welcome any feedback and improvements!

Give us Feedback Edit this Page