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

    Class PlayerLeaveAfterEventSignal

    Manages callbacks that are connected to a player leaving the world.

    export class PlayerLeaveAfterEventSignal {
    private constructor();
    subscribe(callback: (arg0: PlayerLeaveAfterEvent) => void): (arg0: PlayerLeaveAfterEvent) => void;
    unsubscribe(callback: (arg0: PlayerLeaveAfterEvent) => void): void;
    }
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      Returns void

      Removes a callback from being called when a player leaves the world.

      This function can't be called in restricted-execution mode.

      This function can be called in early-execution mode.