Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ChangeCarriedItemFunction

Callable

  • Function used in "ChangeCarriedItem" callback

    since

    2.2.2

    Parameters

    • player: number

      unique ID of the player, whose carried item has changed

    • oldItem: ItemInstance

      item instance of the player's hand before changing

    • newItem: ItemInstance

      item instance of the player's hand after changing

    • hand: 0 | 1

      0=mainhand, 1=offhand

    Returns void

Generated using TypeDoc