Native referenceRedM

_SET_LAW_DISABLED

0x8DE82BC774F3B862 LAW
FUNCTION SIGNATURE
void _SET_LAW_DISABLED(BOOL toggle);
Property Value
Native Name _SET_LAW_DISABLED
Hash 0x8DE82BC774F3B862
Return Type void
Build 1207
Parameters toggle (BOOL)

Description: 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 (Direct):

SetLawDisabled(toggle)

Lua (Hash):

Citizen.InvokeNative(0x8DE82BC774F3B862, toggle)
Back to LAW