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)
 
m (Removed version 2.99.x requirement.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{apicall
 
{{apicall
 
| name          = bz_setPlayerTKs
 
| name          = bz_setPlayerTKs
| description  = Sets the tks of a player. (v3.0)
+
| description  = Sets the tks of a player.
 
| param1        = playerID
 
| param1        = playerID
 
| param1type    = int
 
| param1type    = int

Latest revision as of 09:48, 19 October 2011

void bz_setPlayerTKs (int playerID, int tks)


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.