bz_isPlayerSpawnable

From BZFlagWiki
Revision as of 05:16, 29 July 2015 by Allejo (Talk | contribs) (Created page)

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

bool bz_isPlayerSpawnable (int playerID)


Minimum API Version: 2.4.3
Checks if player has the ability to spawn. This is not to be confused with the SPAWN permission but instead, this should be used together with bz_setPlayerSpawnable.

Parameters:
playerID  -  The id of the player to check if they can spawn
Returns:
True if target player is allowed to spawn