Get Owner

STD Library
Lado del servidor
Disponible en PC y móvil

Get the player to which the entity belongs

Declaración

func GetOwner(target entity) entity<Player>
go

Parámetros

Entrada

Nombre Tipo Descripción
Target entity Target entity, the entity will only synchronize with the player it belongs to

Regresar

Tipo Descripción
Player The player to which the target entity belongs