# LAW::_0xD7494DED50C6EF52

- **Hash:** `0xD7494DED50C6EF52`
- **Namespace:** LAW
- **Runtime name (Lua/JS):** `N_0xd7494ded50c6ef52`
- **Side:** client (game native)
- **Name status:** unknown (hash only)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/LAW/0xD7494DED50C6EF52

## Signature

```c
void _0xD7494DED50C6EF52(Player player, Hash crimeType, int p2);
```

## Parameters

- `player` (`Player`)
- `crimeType` (`Hash`)
- `p2` (`int`)

## Returns

`void`

## Description

Only used in R* SP Scripts
Params: p2 either 1 or 2

## Usage

### Lua

```lua
N_0xd7494ded50c6ef52(player, crimeType, p2)

-- always available, by hash
Citizen.InvokeNative(0xD7494DED50C6EF52, player, crimeType, p2)
```

### JavaScript

```js
N_0xd7494ded50c6ef52(player, crimeType, p2);

// by hash
Citizen.invokeNative('0xD7494DED50C6EF52', player, crimeType, p2);
```

### C#

```csharp
Function.Call((Hash)0xD7494DED50C6EF52, player, crimeType, p2);
```

- 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_0xd7494ded50c6ef52` (if present in the client snapshot). `InvokeNative` with the hash always works.

*Sources: alloc8or RDR3 NativeDB.*
