×

GetCategoryAndSubcategoryByItemID

 

The "GetCategoryAndSubcategoryByItemID" event is used to get the item category and subcategory of item by a item ID who can be retrieve on "GetAllItemsDetails" , is used to prevent the crash of the Item details structure.

 

To get the item Category and subcategory, you can use the “GetCategoryAndSubcategoryByItemID” interface with the following inputs:

  • ‘Target’ = The “PlayerCode” reference from the “Get player” function
  • ‘ItemsID’ = Here you can enter the item ID to get item category and subcategory. (If you don't know the item IDs, use the "GetAllItemDetails function", which returns the Item IDs.)

 

and the function returns the following parameters:

  • ‘Category’ = A list/array of the item category
  • ‘SubCategory’ = A list/array of the item Sub-category