RedM Natives

_0xD4022C7286B0DFA2

Hash0xD4022C7286B0DFA2
Runtime nameN_0xd4022c7286b0dfa2
NamespaceNETWORK
SideClient
NameHash only
Docs
Since build1207

Signature

Any _0xD4022C7286B0DFA2(const char* p0, int p1, int p2);

Parameters

NameTypeDescription
p0const char*—
p1int—
p2int—

Returns Any

Usage

Lua
local retval = N_0xd4022c7286b0dfa2(p0, p1, p2)

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

// by hash
const retval = Citizen.invokeNative('0xD4022C7286B0DFA2', p0, p1, p2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xD4022C7286B0DFA2, p0, p1, p2);
  • This native has no known name, so the runtime exposes it only as N_0xd4022c7286b0dfa2 (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.