RedM Natives

_0xAD17A18215DD23D6

Might return time since some (?) event.

Hash0xAD17A18215DD23D6
Runtime nameN_0xad17a18215dd23d6
NamespaceEVENT
SideClient
NameHash only
Docs
Since build1207

Signature

int _0xAD17A18215DD23D6(Entity entity, int p1, int p2);

Parameters

NameTypeDescription
entityEntity—
p1int—
p2int—

Returns int

Description

Might return time since some (?) event.

Usage

Lua
local retval = N_0xad17a18215dd23d6(entity, p1, p2)

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

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