Native referenceRedM

_INVENTORY_GET_INVENTORY_ITEM_EQUIPPED_IN_SLOT_BY_REF

0x22E590F108289A9D INVENTORY
FUNCTION SIGNATURE
BOOL _INVENTORY_GET_INVENTORY_ITEM_EQUIPPED_IN_SLOT_BY_REF(`inventoryId` (int), `guid` (Any*), `slotId` (Hash), `outGuid` (Any*));
Property Value
Native Name _INVENTORY_GET_INVENTORY_ITEM_EQUIPPED_IN_SLOT_BY_REF
Hash 0x22E590F108289A9D
Return Type BOOL
Build 1207
Parameters inventoryId (int), guid (Any*), slotId (Hash), outGuid (Any*)

Parameters

  • inventoryId (int)
  • guid (Any*)
  • slotId (Hash)
  • outGuid (Any*)

Usage

Lua (Direct):

local result = InventoryGetInventoryItemEquippedInSlotByRef(inventoryId, guid, slotId, outGuid)

Lua (Hash):

local result = Citizen.InvokeNative(0x22E590F108289A9D, inventoryId, guid, slotId, outGuid)

Back to INVENTORY