From BZFlagWiki
Revision as of 05:11, 29 July 2015 by Allejo (Talk | contribs) (Add return type)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

bool bz_setPlayerSpawnable (int playerID, bool spawn)

Minimum API Version: 2.4.3
Marks this player as allowed to spawn or not allowed to spawn.

playerID  -  The id of the player to mark as spawnable.
spawn  -  Mark them as able to spawn or not spawn
True if target player was valid and setting the spawnablity was successful