Get Random Spawn Position

Player
Lado del servidor
Disponible en PC y móvil

Get the coordinates of a random spawn point, which will only be randomly selected from available spawn points that are not fully occupied

Declaración

func GetRandomSpawnPosition(target entity<Player>) Vector3
go

Parámetros

Entrada

Nombre Tipo Descripción
Target Player Target Player

Regresar

Tipo Descripción
Vector3 Random birth point coordinates. If there is no birth point that meets the conditions, a position close to (0, 0, 0) will be returned.