Skip to main content

InventoryCheckLimitedPermission

Callable

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

  • Returns TRUE if the item is not limited, if the player is an owner or a lover of the character, or on their whitelist


    Parameters

    • C: Character

      The character on which we check the limited permissions for the item

    • Item: Item

      The item being interacted with

    • optionalItemType: string

      The asset type to scan

    Returns boolean

    • TRUE if item is allowed