This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

bz_isPlayerSpawnable

From BZFlagWiki
Jump to navigation Jump to 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