Native referenceRedMclient

_INVENTORY_GET_INVENTORY_ITEM_COMPATIBLE_SLOTS

0x9AC53CB6907B4428 INVENTORY
FUNCTION SIGNATURE
BOOL _INVENTORY_GET_INVENTORY_ITEM_COMPATIBLE_SLOTS(Hash item, Any* outSlotIds, int maxResults);
Property Value
Native Name _INVENTORY_GET_INVENTORY_ITEM_COMPATIBLE_SLOTS
Hash 0x9AC53CB6907B4428
Return Type BOOL
Build 1207
API Set client
Parameters item (Hash), outSlotIds (Any*), maxResults (int)

Description: outSlotIds (out) and maxResults (in) are both script arrays? item: can be a component item, see SHOP_CATALOG_BUILD_LIST_OF_WEAPON_COMPONENTS

Usage

Lua (Direct):

local result = InventoryGetInventoryItemCompatibleSlots(item, outSlotIds, maxResults)

Lua (Hash):

local result = Citizen.InvokeNative(0x9AC53CB6907B4428, item, outSlotIds, maxResults)
Back to INVENTORY