OSRS Plugin API
    Preparing search index...

    Function highlightPlayerOn

    • Turns on the highlight on the specified player at a specified channel. Disable through ClientOp.highlightPlayerOff. If the player has already been highlighted with other channel ids, the channel with the smallest id that is also enabled will be the channel through which the highlight gets its properties from.

      Parameters

      • channelId: number

        The highlight channel [1-32]. If specified channel is not enabled the highlight will not be visible. Positive Integer.

      • displayName: string

        The display name of the player to highlight.

      Returns void

      wasFound, playerId = osrs.ClientOp.pFindself();

      osrs.ClientOp.highlightPlayerOn(5, osrs.ClientOp.pName(playerId))