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

Difference between revisions of "Bz setPlayerTKs"

From BZFlagWiki
Jump to: navigation, search
(Added bz_setPlayerTKs)
 
(version)
Line 1: Line 1:
 
{{apicall
 
{{apicall
 
| name          = bz_setPlayerTKs
 
| name          = bz_setPlayerTKs
| description  = Sets the tks of a player. (v3.0)
+
| version      = 2.99.x and higher
 +
| description  = Sets the tks of a player.
 
| param1        = playerID
 
| param1        = playerID
 
| param1type    = int
 
| param1type    = int

Revision as of 03:05, 10 February 2009

void bz_setPlayerTKs (int playerID, int tks)


Minimum API Version: 2.99.x and higher
Sets the tks of a player.

Parameters:
playerID  -  The player who is affected by the tk change.
tks  -  The tks to set for the player.