The Lab
ITEMDATABASE native

_0x17721003A66C72BF

returns BOOL3 paramsbuild 1207

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

Signature

C
BOOL _0x17721003A66C72BF(Hash shopType, Hash key, Any* outData); // 0x17721003A66C72BF b1207

Parameters

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

Facts

Facts about _0x17721003A66C72BF
Name
_0x17721003A66C72BF
Hash
0x17721003A66C72BF
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, outData = Citizen.InvokeNative(0x17721003A66C72BF, -- _0x17721003A66C72BF
  GetHashKey("name"), -- Hash shopType
  GetHashKey("name"), -- Hash key
  Citizen.PointerValueInt(), -- Any* outData
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, outData] = Citizen.invokeNative("0x17721003A66C72BF", // _0x17721003A66C72BF
  GetHashKey("name"), // Hash shopType
  GetHashKey("name"), // Hash key
  Citizen.pointerValueInt(), // Any* outData
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var outDataArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x17721003A66C72BF, // _0x17721003A66C72BF
  (uint)API.GetHashKey("name"), // Hash shopType
  (uint)API.GetHashKey("name"), // Hash key
  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.