Перейти к основному содержанию

Callback.ItemUsingReleasedFunction

Function used in "ItemUsingReleased" callback.

Callable

  • ItemUsingReleasedFunction(item: ItemInstance, ticks: number, playerUid: number): void

  • Parameters

    • item: ItemInstance

      item that was in the player's hand when the event occurred

    • ticks: number

      amount of ticks left to the specified max use duration value

    • playerUid: number

    Returns void