This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Bz setPlayerSpawnable"
From BZFlagWiki
(bz_setPlaerSpawnable) |
m (typo) |
||
Line 1: | Line 1: | ||
{{apicall | {{apicall | ||
− | | name = | + | | name = bz_setPlayerSpawnable |
| description = Marks this player as allowed to spawn or not allowed to spawn. | | description = Marks this player as allowed to spawn or not allowed to spawn. | ||
| param1 = playerID | | param1 = playerID |
Revision as of 21:16, 26 September 2010
void bz_setPlayerSpawnable (int playerID, bool spawn)
Marks this player as allowed to spawn or not allowed to spawn.
Parameters:
playerID - The id of the player to mark as spawnable.
spawn - Mark them as able to spawn or not spawn