Skip to Content

bz_isPlayerSpawnable()

Available since 2.4.4

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.

Usage

bool bz_isPlayerSpawnable(int playerID)
Parameters
int playerID

The id of the player to check

Returns

bool - True if the player specified has the ability to spawn.

Other Player State Functions

Back to bzfs API Functions

This content is maintained on GitHub. We welcome any feedback and improvements!

Give us Feedback Edit this Page