Skip to Content

bz_setPlayerLosses()

Available since 2.4.0

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

Usage

bool bz_setPlayerLosses(int playerID, int losses)
Parameters
int playerID

The player whose number of losses will be overwritten

int losses

The new number of the losses 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