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 iseNoTeam
, 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
- bz_getPlayerCount()
- bz_getReports()
- bz_getShotMismatch()
- bz_getWorldCacheData()
- bz_getWorldCacheSize()
- bz_isAutoTeamEnabled()
- bz_reloadBadwords()
- bz_reloadGroups()
- bz_reloadHelp()
- bz_reloadLocalBans()
- bz_reloadMasterBans()
- bz_reloadUsers()
- bz_restart()
- bz_setShotMismatch()
- bz_shutdown()
- bz_superkill()
- bz_updateListServer()
This content is maintained on GitHub. We welcome any feedback and improvements!