# LAW::_SET_LAW_DISABLED

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

## Signature

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

## Parameters

- `toggle` (`BOOL`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

Temporarily disables law dispatch response even if crimes are witnessed or reported. Re-enabling after a report can resume dispatch and law search.

*Source: VORPCORE RDR3natives*

This native is what temporary disables the dispatch, even if witnesses report it the lawman will not come also disables temporarily the GetCrimeDispatchTypeForPlayer native from returning any crime dispatch
if you enable it at any time , when before a report was done by witness, the dispatch will resume ,lawman will be looking for you.

## Usage

### Lua

```lua
SetLawDisabled(toggle)

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

### JavaScript

```js
SetLawDisabled(toggle);

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

### C#

```csharp
Function.Call((Hash)0x8DE82BC774F3B862, 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.*
