_0xD7494DED50C6EF52
Only used in R* SP Scripts
Hash
0xD7494DED50C6EF52Runtime name
N_0xd7494ded50c6ef52NamespaceLAW
SideClient
NameHash only
Docs
Since build1207
Signature
void _0xD7494DED50C6EF52(Player player, Hash crimeType, int p2);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
crimeType | Hash | — |
p2 | int | — |
Returns void
Description
Only used in R* SP Scripts
Params: p2 either 1 or 2
Usage
N_0xd7494ded50c6ef52(player, crimeType, p2)
-- always works, by hash
Citizen.InvokeNative(0xD7494DED50C6EF52, player, crimeType, p2)JavaScript and C#
N_0xd7494ded50c6ef52(player, crimeType, p2);
// by hash
Citizen.invokeNative('0xD7494DED50C6EF52', player, crimeType, p2);Function.Call((Hash)0xD7494DED50C6EF52, player, crimeType, p2);- 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_0xd7494ded50c6ef52(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.