Skip to main content

InventoryBlockedOrLimited

Callable

  • InventoryBlockedOrLimited(C: Character, Item: Item, ItemType?: string): boolean

  • Returns TRUE if a specific item / asset is blocked or limited for the player by the character item permissions


    Parameters

    • C: Character

      The character on which we check the permissions

    • Item: Item

      The item being interacted with

    • optionalItemType: string

      The asset type to scan

    Returns boolean

    • Returns TRUE if the item cannot be used