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

bz_incrementPlayerTKs

From BZFlagWiki
Jump to: navigation, search

void bz_incrementPlayerTKs (int playerID, int increment)


Minimum API Version: 2.4.3
Increments the team-kill count of a player.

Parameters:
playerID  -  The player who is affected by the team-kill count change.
increment  -  The team-kills to add to the player. (0 to leave the team-kills unchanged, negative number to decrement the team-kills)