_0x112DDF56300BC6E5
Returns the PersChar index of the persCharHash passed
Hash
0x112DDF56300BC6E5Runtime name
N_0x112ddf56300bc6e5NamespacePERSCHAR
SideClient
NameHash only
Docs
Since build1207
Signature
PersChar _0x112DDF56300BC6E5(Hash persCharHash);Parameters
| Name | Type | Description |
|---|---|---|
persCharHash | Hash | — |
Returns PersChar
Description
Returns the PersChar index of the persCharHash passed
Usage
local retval = N_0x112ddf56300bc6e5(persCharHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0x112DDF56300BC6E5, persCharHash, Citizen.ResultAsInteger())JavaScript and C#
const retval = N_0x112ddf56300bc6e5(persCharHash);
// by hash
const retval = Citizen.invokeNative('0x112DDF56300BC6E5', persCharHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x112DDF56300BC6E5, persCharHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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).InvokeNativewith the hash always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.