The Lab
ITEMDATABASE native

_0x8870895BA5ED9385

returns int3 paramsbuild 1232

This ITEMDATABASE native has no community name yet, so it is known by its hash 0x8870895BA5ED9385. It takes 3 parameters (key as Hash, tagType as Hash, outData as Any*) and returns an int.

Signature

C
int _0x8870895BA5ED9385(Hash key, Hash tagType, Any* outData); // 0x8870895BA5ED9385 b1232

Parameters

#NameType
1keyHash
2tagTypeHash
3outDataAny* (out pointer)

Facts

Facts about _0x8870895BA5ED9385
Name
_0x8870895BA5ED9385
Hash
0x8870895BA5ED9385
Namespace
Returns
int
Game build
1232

Examples

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

Lua
local result, outData = Citizen.InvokeNative(0x8870895BA5ED9385, -- _0x8870895BA5ED9385
  GetHashKey("name"), -- Hash key
  GetHashKey("name"), -- Hash tagType
  Citizen.PointerValueInt(), -- Any* outData
  Citizen.ResultAsInteger()
)
print(result, outData)
JavaScript
const [result, outData] = Citizen.invokeNative("0x8870895BA5ED9385", // _0x8870895BA5ED9385
  GetHashKey("name"), // Hash key
  GetHashKey("name"), // Hash tagType
  Citizen.pointerValueInt(), // Any* outData
  Citizen.resultAsInteger()
);
console.log(result, outData)
C#
var outDataArg = new OutputArgument();
int result = Function.Call<int>((Hash)0x8870895BA5ED9385, // _0x8870895BA5ED9385
  (uint)API.GetHashKey("name"), // Hash key
  (uint)API.GetHashKey("name"), // Hash tagType
  outDataArg // Any* outData
);
int outData = outDataArg.GetResult<int>();
All ITEMDATABASE natives

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