RedM Natives

_0xC687A23E166DCF68

Hash0xC687A23E166DCF68
Runtime nameN_0xc687a23e166dcf68
NamespaceLAW
SideClient
NameHash only
Docs
Since build1207

Signature

Any _0xC687A23E166DCF68(Any* p0);

Parameters

NameTypeDescription
p0Any*—

Returns Any

Usage

Lua
local retval, p0 = N_0xc687a23e166dcf68(p0)

-- always works, by hash
local retval, p0 = Citizen.InvokeNative(0xC687A23E166DCF68, Citizen.PointerValueIntInitialized(p0), Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const [retval, p0] = N_0xc687a23e166dcf68(p0);

// by hash
const [retval, p0] = Citizen.invokeNative('0xC687A23E166DCF68', Citizen.pointerValueIntInitialized(p0), Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
var p0 = new OutputArgument();
int retval = Function.Call<int>((Hash)0xC687A23E166DCF68, p0);
// p0.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • 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_0xc687a23e166dcf68 (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.