The Lab
INVENTORY native

_0xB1DD74A1F5536622

returns BOOL2 paramsbuild 1311

This INVENTORY native has no community name yet, so it is known by its hash 0xB1DD74A1F5536622. It takes 2 parameters (inventoryId as int, itemGUID as Any*) and returns a BOOL.

Signature

C
BOOL _0xB1DD74A1F5536622(int inventoryId, Any* itemGUID); // 0xB1DD74A1F5536622 b1311

Parameters

#NameType
1inventoryIdint
2itemGUIDAny* (out pointer)

Facts

Facts about _0xB1DD74A1F5536622
Name
_0xB1DD74A1F5536622
Hash
0xB1DD74A1F5536622
Namespace
Returns
BOOL
Game build
1311

Examples

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

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

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