RedM Natives

_INVENTORY_CREATE_CATALOG_ITEM_INSPECTION_STATS_ENTRY

Returns databindingEntryId of 'CatalogItemInspection' container to be used with 0x75CFAC49301E134E (p0)

Hash0x9D21B185ABC2DBC5
Runtime nameInventoryCreateCatalogItemInspectionStatsEntry
NamespaceINVENTORY
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_INVENTORY_ADD_CATALOG_ITEM_INSPECTION_STATS_ENTRY

Signature

Hash _INVENTORY_CREATE_CATALOG_ITEM_INSPECTION_STATS_ENTRY(int data, const char* name, int p2, int p3);

Parameters

NameTypeDescription
dataint—
nameconst char*—
p2int—
p3int—

Returns Hash

Description

alloc8or RDR3 NativeDB

data: return value of DATABINDING::_DATABINDING_ADD_DATA_CONTAINER(..., 'CatalogItemInspection');
name: stats, compareStats
p2: 0
p3: -1

Returns databindingEntryId of 'CatalogItemInspection' container to be used with 0x75CFAC49301E134E (p0)

VORPCORE RDR3natives

Returns stats entry id of CatalogItemInspection container

Usage

Lua
local retval = InventoryCreateCatalogItemInspectionStatsEntry(data, name, p2, p3)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9D21B185ABC2DBC5, data, name, p2, p3, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = InventoryCreateCatalogItemInspectionStatsEntry(data, name, p2, p3);

// by hash
const retval = Citizen.invokeNative('0x9D21B185ABC2DBC5', data, name, p2, p3, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x9D21B185ABC2DBC5, data, name, p2, p3);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.