RedM Natives

_0x7BCA0A3972708436

Hash0x7BCA0A3972708436
Runtime nameN_0x7bca0a3972708436
NamespaceNETWORK
SideClient
NameHash only
Docs
Since build1207

Signature

int _0x7BCA0A3972708436(Any* outData, int p1);

Parameters

NameTypeDescription
outDataAny*—
p1int—

Returns int

Usage

Lua
local retval, outData = N_0x7bca0a3972708436(p1)

-- always works, by hash
local retval, outData = Citizen.InvokeNative(0x7BCA0A3972708436, Citizen.PointerValueInt(), p1, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const [retval, outData] = N_0x7bca0a3972708436(p1);

// by hash
const [retval, outData] = Citizen.invokeNative('0x7BCA0A3972708436', Citizen.pointerValueInt(), p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
var outData = new OutputArgument();
int retval = Function.Call<int>((Hash)0x7BCA0A3972708436, outData, p1);
// outData.GetResult<int>()
  • 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_0x7bca0a3972708436 (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.