Table of Contents

Struct PlayerSpectateData

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents data related to a player's spectating state.

public readonly struct PlayerSpectateData
Inherited Members

Fields

spectateID

The ID of the entity (player or vehicle) being spectated.

public readonly int spectateID

Field Value

int

spectating

Indicates whether the player is currently spectating.

public readonly bool spectating

Field Value

bool

type

The type of entity being spectated.

public readonly PlayerSpectateData.ESpectateType type

Field Value

PlayerSpectateData.ESpectateType