_SET_LAW_DISABLED
Temporarily disables law dispatch response even if crimes are witnessed or reported.
0x8DE82BC774F3B862SetLawDisabledSignature
void _SET_LAW_DISABLED(BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
toggle | BOOL | — |
Returns void
Description
Temporarily disables law dispatch response even if crimes are witnessed or reported. Re-enabling after a report can resume dispatch and law search.
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
SetLawDisabled(toggle)
-- always works, by hash
Citizen.InvokeNative(0x8DE82BC774F3B862, toggle)JavaScript and C#
SetLawDisabled(toggle);
// by hash
Citizen.invokeNative('0x8DE82BC774F3B862', toggle);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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.