bz_getStandardSpawn()
Available since 2.4.0
Get a standard spawn position for a player anywhere on the map.
Usage
bool bz_getStandardSpawn(int playerID, float pos[3], float* rot)
Parameters | ||
---|---|---|
int |
playerID
|
The player ID for whom to get a spawn position for |
float |
pos[3]
|
The spawn position a player will be able to spawn at. |
float* |
rot
|
The rotation a player will have for this spawn. |
Returns
bool
Other Spawn Management Functions
This content is maintained on GitHub. We welcome any feedback and improvements!