Script API - v1.26.10
    Preparing search index...

    Class PlayerGameModeChangeAfterEvent

    Contains information regarding an event after a players game mode is changed.

    export class PlayerGameModeChangeAfterEvent {
    private constructor();
    readonly fromGameMode: GameMode;
    readonly player: Player;
    readonly toGameMode: GameMode;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    fromGameMode: GameMode

    The previous game mode before the change.

    This property can't be read in early-execution mode.

    player: Player

    Source Player for this event.

    This property can't be read in early-execution mode.

    toGameMode: GameMode

    The current game mode after the change.

    This property can't be read in early-execution mode.