Skip to Content

bz_gameOver()

Available since 2.4.0

Causes a "Game Over", announcing the player and/or team specified as the winner.

Notes

  • By default the team value is eNoTeam, which makes the team of the player that was specified as the winner. If set to any other bz_eTeamType enumeration, it will announce that the specified color team won even if the player specified is on a different team.

Usage

void bz_gameOver(int playerID, bz_eTeamType team = eNoTeam)
Parameters
int playerID

The player ID who won the game

bz_eTeamType team

The team that wins the game, regardless of the player ID

Other Server Management Functions

Back to bzfs API Functions

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

Give us Feedback Edit this Page