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

bz_incrementPlayerTKs

From BZFlagWiki
Revision as of 21:12, 14 June 2015 by Allejo (Talk | contribs) (Added minimum API verision)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)