Skip to content

IPlayer

Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll

public interface IPlayer : IEntity

Extends: IEntity

bool IsLocal { get; }

The player at this client. Always false for a server resource.

string Name { get; }
IVehicle? Vehicle { get; }

The player’s vehicle, or null.

EntityId VehicleId { get; }

The player’s vehicle id, or EntityId.None.