Skip to content

ObjectManager ยป Players

Namespace: Mayo.Manager.Objects
GameClient: GC.OM


You can find more info's about the IPlayer properties here:


List<IPlayer> GetPlayers()

Returns a list of all IPlayer's (except for me).

Example
foreach (var Player in GC.OM.GetPlayers())
    Log.Write($"{Player.Name} | Health: {Player.CurrentHealthInPercent}%");

IPlayer? GetPlayer(UInt128 GUID)

Returns IPlayer or null.


IPlayer? GetClosestPlayer()

Returns the closest IPlayer or null (except for me).


string GetPlayerName(UInt128 GUID)

List<IPlayer> GetPlayersAround(Vector3 Location, double Distance)

Returns a list of IPlayer's located within the specified distance to the specified position (except for me).