The Lab
LAW native

SET_DISABLE_DISTURBANCE_CRIMES

returns void2 paramsbuild 1207

Disables or enables disturbance crimes, such as minor public nuisance offences, for player.

Signature

C
void SET_DISABLE_DISTURBANCE_CRIMES(Player player, BOOL p1); // 0xDE5FAA741A781F73 b1207

Parameters

#NameType
1playerPlayer
2p1BOOL

Facts

Facts about SET_DISABLE_DISTURBANCE_CRIMES
Name
SET_DISABLE_DISTURBANCE_CRIMES
Hash
0xDE5FAA741A781F73
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(0xDE5FAA741A781F73, -- SET_DISABLE_DISTURBANCE_CRIMES
  PlayerId(), -- Player player
  false -- BOOL p1
)
JavaScript
Citizen.invokeNative("0xDE5FAA741A781F73", // SET_DISABLE_DISTURBANCE_CRIMES
  PlayerId(), // Player player
  false // BOOL p1
);
C#
Function.Call((Hash)0xDE5FAA741A781F73, // SET_DISABLE_DISTURBANCE_CRIMES
  API.PlayerId(), // Player player
  false // BOOL p1
);
All LAW natives

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