RedM Natives

_0x112DDF56300BC6E5

Returns the PersChar index of the persCharHash passed

Hash0x112DDF56300BC6E5
Runtime nameN_0x112ddf56300bc6e5
NamespacePERSCHAR
SideClient
NameHash only
Docs
Since build1207

Signature

PersChar _0x112DDF56300BC6E5(Hash persCharHash);

Parameters

NameTypeDescription
persCharHashHash—

Returns PersChar

Description

Returns the PersChar index of the persCharHash passed

Usage

Lua
local retval = N_0x112ddf56300bc6e5(persCharHash)

-- always works, by hash
local retval = Citizen.InvokeNative(0x112DDF56300BC6E5, persCharHash, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = N_0x112ddf56300bc6e5(persCharHash);

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