RedM Natives

_0xA3B8D31C13CB4239

Hash0xA3B8D31C13CB4239
Runtime nameN_0xa3b8d31c13cb4239
NamespaceNETSHOPPING
SideClient
NameHash only
Docs
Since build1311

Signature

BOOL _0xA3B8D31C13CB4239(int p0, Hash p1, Any* p2, int p3, Any* p4, int p5);

Parameters

NameTypeDescription
p0int—
p1Hash—
p2Any*—
p3int—
p4Any*—
p5int—

Returns BOOL

Usage

Lua
local retval, p2, p4 = N_0xa3b8d31c13cb4239(p0, p1, p3, p5)

-- always works, by hash
local retval, p2, p4 = Citizen.InvokeNative(0xA3B8D31C13CB4239, p0, p1, Citizen.PointerValueInt(), p3, Citizen.PointerValueInt(), p5, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, p2, p4] = N_0xa3b8d31c13cb4239(p0, p1, p3, p5);

// by hash
const [retval, p2, p4] = Citizen.invokeNative('0xA3B8D31C13CB4239', p0, p1, Citizen.pointerValueInt(), p3, Citizen.pointerValueInt(), p5, Citizen.returnResultAnyway());
C#
var p2 = new OutputArgument();
var p4 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xA3B8D31C13CB4239, p0, p1, p2, p3, p4, p5);
// p2.GetResult<int>()
// p4.GetResult<int>()
  • 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`.
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.
  • This native has no known name, so the runtime exposes it only as N_0xa3b8d31c13cb4239 (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.