The Lab
LAW native

_SET_LAW_DISABLED

returns void1 parambuild 1207

Disables the law system entirely when toggle is true.

Signature

C
void _SET_LAW_DISABLED(BOOL toggle); // 0x8DE82BC774F3B862 b1207

Parameters

#NameType
1toggleBOOL

Facts

Facts about _SET_LAW_DISABLED
Name
_SET_LAW_DISABLED
Hash
0x8DE82BC774F3B862
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x8DE82BC774F3B862, -- _SET_LAW_DISABLED
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x8DE82BC774F3B862", // _SET_LAW_DISABLED
  false // BOOL toggle
);
C#
Function.Call((Hash)0x8DE82BC774F3B862, // _SET_LAW_DISABLED
  false // BOOL toggle
);
All LAW natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.