RedM Natives

_ENABLE_DISPATCH_LAW

Reported to affect law witness creation/reporting rather than dispatch itself.

Hash0xC805EB785824F712
Runtime nameEnableDispatchLaw
NamespaceLAW
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _ENABLE_DISPATCH_LAW(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

Returns void

Description

alloc8or RDR3 NativeDB

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

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

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

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

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