_0xDAEFDFDB2AEECE37
Hash
0xDAEFDFDB2AEECE37Runtime name
N_0xdaefdfdb2aeece37NamespaceLAW
SideClient
NameHash only
Docs
Since build1207
Signature
int _0xDAEFDFDB2AEECE37(Hash crimeType, Any p1);Parameters
| Name | Type | Description |
|---|---|---|
crimeType | Hash | — |
p1 | Any | — |
Returns int
Description
crimeType: see _REPORT_CRIME
Usage
local retval = N_0xdaefdfdb2aeece37(crimeType, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0xDAEFDFDB2AEECE37, crimeType, p1, Citizen.ResultAsInteger())JavaScript and C#
const retval = N_0xdaefdfdb2aeece37(crimeType, p1);
// by hash
const retval = Citizen.invokeNative('0xDAEFDFDB2AEECE37', crimeType, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xDAEFDFDB2AEECE37, crimeType, p1);- 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_0xdaefdfdb2aeece37(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.