The Lab
LAW native

_SET_CANT_LOSE_LAW_THIS_RESPONSE

returns void1 parambuild 1207

When enabled, prevents the player from escaping the current law response.

Signature

C
void _SET_CANT_LOSE_LAW_THIS_RESPONSE(BOOL enabled); // 0xDDCE8E960D1DE240 b1207

Parameters

#NameType
1enabledBOOL

Facts

Facts about _SET_CANT_LOSE_LAW_THIS_RESPONSE
Name
_SET_CANT_LOSE_LAW_THIS_RESPONSE
Hash
0xDDCE8E960D1DE240
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(0xDDCE8E960D1DE240, -- _SET_CANT_LOSE_LAW_THIS_RESPONSE
  false -- BOOL enabled
)
JavaScript
Citizen.invokeNative("0xDDCE8E960D1DE240", // _SET_CANT_LOSE_LAW_THIS_RESPONSE
  false // BOOL enabled
);
C#
Function.Call((Hash)0xDDCE8E960D1DE240, // _SET_CANT_LOSE_LAW_THIS_RESPONSE
  false // BOOL enabled
);
All LAW natives

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