RedM Natives

_0xD297F68928A58130

Hash0xD297F68928A58130
Runtime nameN_0xd297f68928a58130
NamespaceCOLLECTABLE
SideClient
NameHash only
Docs
Since build1232

Signature

Any _0xD297F68928A58130(Hash collectableCategory, int p1);

Parameters

NameTypeDescription
collectableCategoryHash—
p1int—

Returns Any

Usage

Lua
local retval = N_0xd297f68928a58130(collectableCategory, p1)

-- always works, by hash
local retval = Citizen.InvokeNative(0xD297F68928A58130, collectableCategory, p1, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = N_0xd297f68928a58130(collectableCategory, p1);

// by hash
const retval = Citizen.invokeNative('0xD297F68928A58130', collectableCategory, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xD297F68928A58130, collectableCategory, p1);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • This native has no known name, so the runtime exposes it only as N_0xd297f68928a58130 (if present in the client snapshot). InvokeNative with the hash always works.

Sources

alloc8or RDR3 NativeDB

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