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

Difference between revisions of "Bz incrementPlayerTKs"

From BZFlagWiki
Jump to: navigation, search
(Created page with "{{apicall | name = bz_incrementPlayerTKs | description = Increments the team-kill count of a player. | param1 = playerID | param1type = int | param1desc...")
 
m (Added minimum API verision)
 
Line 2: Line 2:
 
| name          = bz_incrementPlayerTKs
 
| name          = bz_incrementPlayerTKs
 
| description  = Increments the team-kill count of a player.
 
| description  = Increments the team-kill count of a player.
 +
| version = 2.4.3
 
| param1        = playerID
 
| param1        = playerID
 
| param1type    = int
 
| param1type    = int

Latest revision as of 21:12, 14 June 2015

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)