RedM Natives

_0x755901C7598B97BC

Returns p2 (index?) for 0xB9020EC89C07DF04

Hash0x755901C7598B97BC
Runtime nameN_0x755901c7598b97bc
NamespaceCOLLECTABLE
SideClient
NameHash only
Docs
Since build1207

Signature

int _0x755901C7598B97BC(Hash collectableCategory, int p1);

Parameters

NameTypeDescription
collectableCategoryHash—
p1int—

Returns int

Description

Returns p2 (index?) for 0xB9020EC89C07DF04

Usage

Lua
local retval = N_0x755901c7598b97bc(collectableCategory, p1)

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

// by hash
const retval = Citizen.invokeNative('0x755901C7598B97BC', collectableCategory, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x755901C7598B97BC, 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_0x755901c7598b97bc (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.