RedM Natives

_SET_LAW_DISABLED

Temporarily disables law dispatch response even if crimes are witnessed or reported.

Hash0x8DE82BC774F3B862
Runtime nameSetLawDisabled
NamespaceLAW
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_LAW_DISABLED(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

Returns void

Description

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.

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
SetLawDisabled(toggle)

-- always works, by hash
Citizen.InvokeNative(0x8DE82BC774F3B862, toggle)
JavaScript and C#
JavaScript
SetLawDisabled(toggle);

// by hash
Citizen.invokeNative('0x8DE82BC774F3B862', toggle);
C#
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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.