SET_DISABLE_DISTURBANCE_CRIMES
Disables or enables disturbance crimes, such as minor public nuisance offences, for player.
Signature
void SET_DISABLE_DISTURBANCE_CRIMES(Player player, BOOL p1); // 0xDE5FAA741A781F73 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | p1 | BOOL |
Facts
| 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.
Citizen.InvokeNative(0xDE5FAA741A781F73, -- SET_DISABLE_DISTURBANCE_CRIMES
PlayerId(), -- Player player
false -- BOOL p1
)Citizen.invokeNative("0xDE5FAA741A781F73", // SET_DISABLE_DISTURBANCE_CRIMES
PlayerId(), // Player player
false // BOOL p1
);Function.Call((Hash)0xDE5FAA741A781F73, // SET_DISABLE_DISTURBANCE_CRIMES
API.PlayerId(), // Player player
false // BOOL p1
);Related LAW natives
- SET_POSTPONE_DISTURBANCE_CRIMES_DURING_COMBAT
- SET_BOUNTY
- SET_LAW_SENSE_RANGE_MODIFIER
- SET_PLAYER_ARRESTED_IN_REGION
- SET_PLAYER_TURNED_IN_BOUNTY_IN_REGION
- SET_WANTED_SCORE
- _DISABLE_GUARD_ZONE
- _SET_ALLOW_DISABLED_LAW_RESPONSES
- _SET_BOUNTY_HUNTER_GLOBAL_COOLDOWN
- _SET_BOUNTY_HUNTER_PURSUIT_CLEARED
- _SET_CANT_LOSE_LAW_THIS_RESPONSE
- _SET_CUSTOM_LAW_DISPATCH_RESPONSE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.