Skip to Content

bz_setPlayerSpawnAtBase()

Available since 2.4.4

Specify whether or not a player should spawn at their base when they spawn next. This function should be used before a player spawns.

Usage

void bz_setPlayerSpawnAtBase(int playerID, bool base)
Parameters
int playerID

The id of the player to target

bool base

Set to true to make a player spawn at their base on their next respawn

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