The Lab
INVENTORY native

_INVENTORY_GET_FULL_INVENTORY_ITEM_DATA

returns BOOL5 paramsbuild 1207

Based on its name and signature, here is our best reading:

Fills a buffer with the full data of the item at guid in inventory inventoryId. Returns true on success.

Signature

C
BOOL _INVENTORY_GET_FULL_INVENTORY_ITEM_DATA(int inventoryId, Any* guid, Any* p2, int p3, int p4); // 0x025A1B1FB03FBF61 b1207

Parameters

#NameType
1inventoryIdint
2guidAny* (out pointer)
3p2Any* (out pointer)
4p3int
5p4int

Facts

Facts about _INVENTORY_GET_FULL_INVENTORY_ITEM_DATA
Name
_INVENTORY_GET_FULL_INVENTORY_ITEM_DATA
Hash
0x025A1B1FB03FBF61
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, guid, p2 = Citizen.InvokeNative(0x025A1B1FB03FBF61, -- _INVENTORY_GET_FULL_INVENTORY_ITEM_DATA
  0, -- int inventoryId
  Citizen.PointerValueInt(), -- Any* guid
  Citizen.PointerValueInt(), -- Any* p2
  0, -- int p3
  0, -- int p4
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, guid, p2] = Citizen.invokeNative("0x025A1B1FB03FBF61", // _INVENTORY_GET_FULL_INVENTORY_ITEM_DATA
  0, // int inventoryId
  Citizen.pointerValueInt(), // Any* guid
  Citizen.pointerValueInt(), // Any* p2
  0, // int p3
  0, // int p4
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var guidArg = new OutputArgument();
var p2Arg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x025A1B1FB03FBF61, // _INVENTORY_GET_FULL_INVENTORY_ITEM_DATA
  0, // int inventoryId
  guidArg, // Any* guid
  p2Arg, // Any* p2
  0, // int p3
  0 // int p4
);
int guid = guidArg.GetResult<int>();
int p2 = p2Arg.GetResult<int>();
All INVENTORY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.