# LAW::_ENABLE_DISPATCH_LAW

- **Hash:** `0xC805EB785824F712`
- **Namespace:** LAW
- **Runtime name (Lua/JS):** `EnableDispatchLaw`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/LAW/_ENABLE_DISPATCH_LAW

## Signature

```c
void _ENABLE_DISPATCH_LAW(BOOL toggle);
```

## Parameters

- `toggle` (`BOOL`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

Reported to affect law witness creation/reporting rather than dispatch itself. When disabled, NPCs may not witness or report crimes.

*Source: VORPCORE RDR3natives*

despite their names this doesn't disable the dispatch system. if you shoot a lawman when is disabled, the dispatch is still enabled because the law will  come after you.
this seems to disable/enable the create witnesses, if disabled it you can shoot npcs and they wont witness anything or report
EnableDispatchLaw_2 called toghether

## Usage

### Lua

```lua
EnableDispatchLaw(toggle)

-- always available, by hash
Citizen.InvokeNative(0xC805EB785824F712, toggle)
```

### JavaScript

```js
EnableDispatchLaw(toggle);

// by hash
Citizen.invokeNative('0xC805EB785824F712', toggle);
```

### C#

```csharp
Function.Call((Hash)0xC805EB785824F712, toggle);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
