The Lab
ITEMDATABASE native

_ITEMDATABASE_GET_MODIFIED_PRICE

returns Hash2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Returns modified price entry index of item key.

Signature

C
Hash _ITEMDATABASE_GET_MODIFIED_PRICE(Hash key, int index); // 0xCB92EC9C004732B4 b1207

Parameters

#NameType
1keyHash
2indexint

Facts

Facts about _ITEMDATABASE_GET_MODIFIED_PRICE
Name
_ITEMDATABASE_GET_MODIFIED_PRICE
Hash
0xCB92EC9C004732B4
Namespace
Returns
Hash
Game build
1207

Examples

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

Lua
local hash = Citizen.InvokeNative(0xCB92EC9C004732B4, -- _ITEMDATABASE_GET_MODIFIED_PRICE
  GetHashKey("name"), -- Hash key
  0, -- int index
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0xCB92EC9C004732B4", // _ITEMDATABASE_GET_MODIFIED_PRICE
  GetHashKey("name"), // Hash key
  0, // int index
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0xCB92EC9C004732B4, // _ITEMDATABASE_GET_MODIFIED_PRICE
  (uint)API.GetHashKey("name"), // Hash key
  0 // int index
);
All ITEMDATABASE natives

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