RedM Natives

_0x31B2E7F2E3C58B89

_GET_SHOP_ITEM_NUM_*?

Hash0x31B2E7F2E3C58B89
Runtime nameN_0x31b2e7f2e3c58b89
NamespacePED
SideClient
NameHash only
Docs
Since build1207

Signature

Any _0x31B2E7F2E3C58B89(Any p0, Any p1, Any p2, Any p3);

Parameters

NameTypeDescription
p0Any—
p1Any—
p2Any—
p3Any—

Returns Any

Description

VORPCORE RDR3natives

_GET_SHOP_ITEM_NUM_*? returns a number of ? p1 seems to be always joaat("base")

Usage

Lua
local retval = N_0x31b2e7f2e3c58b89(p0, p1, p2, p3)

-- always works, by hash
local retval = Citizen.InvokeNative(0x31B2E7F2E3C58B89, p0, p1, p2, p3, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = N_0x31b2e7f2e3c58b89(p0, p1, p2, p3);

// by hash
const retval = Citizen.invokeNative('0x31B2E7F2E3C58B89', p0, p1, p2, p3, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x31B2E7F2E3C58B89, p0, p1, p2, p3);
  • This native has no known name, so the runtime exposes it only as N_0x31b2e7f2e3c58b89 (if present in the client snapshot). InvokeNative with the hash always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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