The Lab
INVENTORY native

_0x6862E4D93F64CF01

returns BOOL4 paramsbuild 1207

This INVENTORY native has no community name yet, so it is known by its hash 0x6862E4D93F64CF01. It takes 4 parameters (inventoryId as int, guid as Any*, p2 as Hash, p3 as Any*) and returns a BOOL.

Signature

C
BOOL _0x6862E4D93F64CF01(int inventoryId, Any* guid, Hash p2, Any* p3); // 0x6862E4D93F64CF01 b1207

Parameters

#NameType
1inventoryIdint
2guidAny* (out pointer)
3p2Hash
4p3Any* (out pointer)

Facts

Facts about _0x6862E4D93F64CF01
Name
_0x6862E4D93F64CF01
Hash
0x6862E4D93F64CF01
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, p3 = Citizen.InvokeNative(0x6862E4D93F64CF01, -- _0x6862E4D93F64CF01
  0, -- int inventoryId
  Citizen.PointerValueInt(), -- Any* guid
  GetHashKey("name"), -- Hash p2
  Citizen.PointerValueInt(), -- Any* p3
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, guid, p3] = Citizen.invokeNative("0x6862E4D93F64CF01", // _0x6862E4D93F64CF01
  0, // int inventoryId
  Citizen.pointerValueInt(), // Any* guid
  GetHashKey("name"), // Hash p2
  Citizen.pointerValueInt(), // Any* p3
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var guidArg = new OutputArgument();
var p3Arg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x6862E4D93F64CF01, // _0x6862E4D93F64CF01
  0, // int inventoryId
  guidArg, // Any* guid
  (uint)API.GetHashKey("name"), // Hash p2
  p3Arg // Any* p3
);
int guid = guidArg.GetResult<int>();
int p3 = p3Arg.GetResult<int>();
All INVENTORY natives

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