_0xD08685BA892DBFAB
This INVENTORY native has no community name yet, so it is known by its hash 0xD08685BA892DBFAB. It takes 4 parameters (inventoryId as int, guid as Any*, p2 as int*, p3 as int*) and returns a BOOL.
Signature
BOOL _0xD08685BA892DBFAB(int inventoryId, Any* guid, int* p2, int* p3); // 0xD08685BA892DBFAB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | inventoryId | int |
| 2 | guid | Any* (out pointer) |
| 3 | p2 | int* (out pointer) |
| 4 | p3 | int* (out pointer) |
Facts
| Name | _0xD08685BA892DBFAB |
|---|---|
| Hash | 0xD08685BA892DBFAB |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, guid, p2, p3 = Citizen.InvokeNative(0xD08685BA892DBFAB, -- _0xD08685BA892DBFAB
0, -- int inventoryId
Citizen.PointerValueInt(), -- Any* guid
Citizen.PointerValueInt(), -- int* p2
Citizen.PointerValueInt(), -- int* p3
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, guid, p2, p3] = Citizen.invokeNative("0xD08685BA892DBFAB", // _0xD08685BA892DBFAB
0, // int inventoryId
Citizen.pointerValueInt(), // Any* guid
Citizen.pointerValueInt(), // int* p2
Citizen.pointerValueInt(), // int* p3
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var guidArg = new OutputArgument();
var p2Arg = new OutputArgument();
var p3Arg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xD08685BA892DBFAB, // _0xD08685BA892DBFAB
0, // int inventoryId
guidArg, // Any* guid
p2Arg, // int* p2
p3Arg // int* p3
);
int guid = guidArg.GetResult<int>();
int p2 = p2Arg.GetResult<int>();
int p3 = p3Arg.GetResult<int>();Related INVENTORY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.