{"hash":"0x8DE82BC774F3B862","ns":"LAW","name":"_SET_LAW_DISABLED","slug":"_SET_LAW_DISABLED","official":false,"named":true,"luaName":"SetLawDisabled","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"toggle","type":"BOOL"}],"summary":"Temporarily disables law dispatch response even if crimes are witnessed or reported.","descriptions":[{"source":"alloc8or","format":"text","body":"Temporarily disables law dispatch response even if crimes are witnessed or reported. Re-enabling after a report can resume dispatch and law search."},{"source":"vorp","format":"text","body":"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\nif you enable it at any time , when before a report was done by witness, the dispatch will resume ,lawman will be looking for you."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/LAW/_SET_LAW_DISABLED","markdownUrl":"https://natives.borderlinerp.com/natives/LAW/_SET_LAW_DISABLED.md","snippets":{"lua":"SetLawDisabled(toggle)","luaInvoke":"Citizen.InvokeNative(0x8DE82BC774F3B862, toggle)","js":"SetLawDisabled(toggle);","jsInvoke":"Citizen.invokeNative('0x8DE82BC774F3B862', toggle);","csharp":"Function.Call((Hash)0x8DE82BC774F3B862, toggle);","notes":["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."]}}