bz_isPlayerSpawnable

From BZFlagWiki
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