# LAW Natives - Part 2 of 3
Red Dead Redemption 3 Native Functions Reference
**Namespace:** LAW
**Natives in this file:** 50
**Total natives in namespace:** 124
**Generated from:** RDR3natives JSON data
---
## _0x82F11E1296996574
**Description:** Only used in rcm_gunslinger1_1 R* Script: p0 = 0
| Property | Value |
|----------|-------|
| Native Name | `_0x82F11E1296996574` |
| Hash | `0x82F11E1296996574` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (int) |
### Parameters
- **`p0`** (`int`)
### Usage
**Lua (Direct):**
```lua
_0x82F11E1296996574(p0)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x82F11E1296996574, p0)
```
---
## _0x856CE8FDE2416602
| Property | Value |
|----------|-------|
| Native Name | `_0x856CE8FDE2416602` |
| Hash | `0x856CE8FDE2416602` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `ped` (Ped) |
### Parameters
- **`ped`** (`Ped`)
### Usage
**Lua (Direct):**
```lua
local result = _0x856CE8FDE2416602(ped)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x856CE8FDE2416602, ped)
```
---
## _0x89E005B1662F6E48
| Property | Value |
|----------|-------|
| Native Name | `_0x89E005B1662F6E48` |
| Hash | `0x89E005B1662F6E48` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `player` (Player), `p1` (int), `p2` (int) |
### Parameters
- **`player`** (`Player`)
- **`p1`** (`int`)
- **`p2`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = _0x89E005B1662F6E48(player, p1, p2)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x89E005B1662F6E48, player, p1, p2)
```
---
## _0x95878B13E272EF1F
| Property | Value |
|----------|-------|
| Native Name | `_0x95878B13E272EF1F` |
| Hash | `0x95878B13E272EF1F` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `entity` (Entity), `ped` (Ped), `p2` (BOOL), `x` (float), `y` (float), `z` (float), `crimeType` (Hash) |
### Parameters
- **`entity`** (`Entity`)
- **`ped`** (`Ped`)
- **`p2`** (`BOOL`)
- **`x`** (`float`)
- **`y`** (`float`)
- **`z`** (`float`)
- **`crimeType`** (`Hash`)
### Usage
**Lua (Direct):**
```lua
local result = _0x95878B13E272EF1F(entity, ped, p2, x, y, z, crimeType)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x95878B13E272EF1F, entity, ped, p2, x, y, z, crimeType)
```
---
## _0x9772395CC73E8D1F
**Description:** Only used in loanshark_miner1 R* Script: name = ANNESBURG_MINES
| Property | Value |
|----------|-------|
| Native Name | `_0x9772395CC73E8D1F` |
| Hash | `0x9772395CC73E8D1F` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `ped` (Ped), `name` (const char*) |
### Parameters
- **`ped`** (`Ped`)
- **`name`** (`const char*`)
### Usage
**Lua (Direct):**
```lua
_0x9772395CC73E8D1F(ped, name)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x9772395CC73E8D1F, ped, name)
```
---
## _0x987BE590FB9D41E5
| Property | Value |
|----------|-------|
| Native Name | `_0x987BE590FB9D41E5` |
| Hash | `0x987BE590FB9D41E5` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (BOOL) |
### Parameters
- **`p0`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
_0x987BE590FB9D41E5(p0)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x987BE590FB9D41E5, p0)
```
---
## _0x9945A3E2528A02E8
| Property | Value |
|----------|-------|
| Native Name | `_0x9945A3E2528A02E8` |
| Hash | `0x9945A3E2528A02E8` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `player` (Player) |
### Parameters
- **`player`** (`Player`)
### Usage
**Lua (Direct):**
```lua
local result = _0x9945A3E2528A02E8(player)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x9945A3E2528A02E8, player)
```
---
## _0x9B4C564BFA7CFF37
| Property | Value |
|----------|-------|
| Native Name | `_0x9B4C564BFA7CFF37` |
| Hash | `0x9B4C564BFA7CFF37` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (float) |
### Parameters
- **`p0`** (`float`)
### Usage
**Lua (Direct):**
```lua
_0x9B4C564BFA7CFF37(p0)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x9B4C564BFA7CFF37, p0)
```
---
## _0x9C5BD8C562565CE6
| Property | Value |
|----------|-------|
| Native Name | `_0x9C5BD8C562565CE6` |
| Hash | `0x9C5BD8C562565CE6` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `crimeType` (Hash*) |
### Parameters
- **`crimeType`** (`Hash*`)
### Usage
**Lua (Direct):**
```lua
_0x9C5BD8C562565CE6(crimeType)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x9C5BD8C562565CE6, crimeType)
```
---
## _0x9C8A2BF37E966464
**Description:** Only used in act_bankrobbery01 R* Script
| Property | Value |
|----------|-------|
| Native Name | `_0x9C8A2BF37E966464` |
| Hash | `0x9C8A2BF37E966464` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `player` (Player), `itemSet` (ItemSet) |
### Parameters
- **`player`** (`Player`)
- **`itemSet`** (`ItemSet`)
### Usage
**Lua (Direct):**
```lua
_0x9C8A2BF37E966464(player, itemSet)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x9C8A2BF37E966464, player, itemSet)
```
---
## _0x9D5C9A5A3321B128
| Property | Value |
|----------|-------|
| Native Name | `_0x9D5C9A5A3321B128` |
| Hash | `0x9D5C9A5A3321B128` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `player` (Player) |
### Parameters
- **`player`** (`Player`)
### Usage
**Lua (Direct):**
```lua
local result = _0x9D5C9A5A3321B128(player)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x9D5C9A5A3321B128, player)
```
---
## _0x9EF07CFBB19A9733
**Description:** Only used in shoprobberies R* Scripts
| Property | Value |
|----------|-------|
| Native Name | `_0x9EF07CFBB19A9733` |
| Hash | `0x9EF07CFBB19A9733` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | None |
### Usage
**Lua (Direct):**
```lua
local result = _0x9EF07CFBB19A9733()
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x9EF07CFBB19A9733, )
```
---
## _0xB527099D1E1EED49
| Property | Value |
|----------|-------|
| Native Name | `_0xB527099D1E1EED49` |
| Hash | `0xB527099D1E1EED49` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `player` (Player), `p1` (int), `crimeType` (Hash*) |
### Parameters
- **`player`** (`Player`)
- **`p1`** (`int`)
- **`crimeType`** (`Hash*`)
### Usage
**Lua (Direct):**
```lua
local result = _0xB527099D1E1EED49(player, p1, crimeType)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xB527099D1E1EED49, player, p1, crimeType)
```
---
## _0xBD944A3D36E992DE
**Description:** Called together with REPORT_POLICE_SPOTTED_PLAYER
| Property | Value |
|----------|-------|
| Native Name | `_0xBD944A3D36E992DE` |
| Hash | `0xBD944A3D36E992DE` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | None |
### Usage
**Lua (Direct):**
```lua
_0xBD944A3D36E992DE()
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xBD944A3D36E992DE, )
```
---
## _0xC0DF161950FB101E
**Description:** Only used in rcm_serial_killer1 R* Script
| Property | Value |
|----------|-------|
| Native Name | `_0xC0DF161950FB101E` |
| Hash | `0xC0DF161950FB101E` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `ped` (Ped) |
### Parameters
- **`ped`** (`Ped`)
### Usage
**Lua (Direct):**
```lua
local result = _0xC0DF161950FB101E(ped)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xC0DF161950FB101E, ped)
```
---
## _0xC310239ACCCF5579
| Property | Value |
|----------|-------|
| Native Name | `_0xC310239ACCCF5579` |
| Hash | `0xC310239ACCCF5579` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | None |
### Usage
**Lua (Direct):**
```lua
_0xC310239ACCCF5579()
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xC310239ACCCF5579, )
```
---
## _0xC5EB2755FA25F1E9
| Property | Value |
|----------|-------|
| Native Name | `_0xC5EB2755FA25F1E9` |
| Hash | `0xC5EB2755FA25F1E9` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (BOOL) |
### Parameters
- **`p0`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
_0xC5EB2755FA25F1E9(p0)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xC5EB2755FA25F1E9, p0)
```
---
## _0xC687A23E166DCF68
| Property | Value |
|----------|-------|
| Native Name | `_0xC687A23E166DCF68` |
| Hash | `0xC687A23E166DCF68` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any*) |
### Parameters
- **`p0`** (`Any*`)
### Usage
**Lua (Direct):**
```lua
local result = _0xC687A23E166DCF68(p0)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xC687A23E166DCF68, p0)
```
---
## _0xC7DC5A0A7DF608CB
**Description:** _GET_DISPATCH_*
| Property | Value |
|----------|-------|
| Native Name | `_0xC7DC5A0A7DF608CB` |
| Hash | `0xC7DC5A0A7DF608CB` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `flag` (int) |
### Parameters
- **`flag`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = _0xC7DC5A0A7DF608CB(flag)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xC7DC5A0A7DF608CB, flag)
```
---
## _0xCBFB4951F2E3934C
| Property | Value |
|----------|-------|
| Native Name | `_0xCBFB4951F2E3934C` |
| Hash | `0xCBFB4951F2E3934C` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `player` (Player), `data` (Any*) |
### Parameters
- **`player`** (`Player`)
- **`data`** (`Any*`)
### Usage
**Lua (Direct):**
```lua
_0xCBFB4951F2E3934C(player, data)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xCBFB4951F2E3934C, player, data)
```
---
## _0xD6C0A8C7C0B2F82C
| Property | Value |
|----------|-------|
| Native Name | `_0xD6C0A8C7C0B2F82C` |
| Hash | `0xD6C0A8C7C0B2F82C` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `player` (Player), `p1` (BOOL) |
### Parameters
- **`player`** (`Player`)
- **`p1`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
_0xD6C0A8C7C0B2F82C(player, p1)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xD6C0A8C7C0B2F82C, player, p1)
```
---
## _0xD7494DED50C6EF52
**Description:** Only used in R* SP Scripts
Params: p2 either 1 or 2
| Property | Value |
|----------|-------|
| Native Name | `_0xD7494DED50C6EF52` |
| Hash | `0xD7494DED50C6EF52` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `player` (Player), `crimeType` (Hash), `p2` (int) |
### Parameters
- **`player`** (`Player`)
- **`crimeType`** (`Hash`)
- **`p2`** (`int`)
### Usage
**Lua (Direct):**
```lua
_0xD7494DED50C6EF52(player, crimeType, p2)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xD7494DED50C6EF52, player, crimeType, p2)
```
---
## _0xDA1A9ADC4E3D4B16
**Description:** Only used in R* SP Scripts
Params: p1 = true, p2 = false
| Property | Value |
|----------|-------|
| Native Name | `_0xDA1A9ADC4E3D4B16` |
| Hash | `0xDA1A9ADC4E3D4B16` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `itemSet` (ItemSet), `p1` (BOOL), `p2` (BOOL) |
### Parameters
- **`itemSet`** (`ItemSet`)
- **`p1`** (`BOOL`)
- **`p2`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
_0xDA1A9ADC4E3D4B16(itemSet, p1, p2)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xDA1A9ADC4E3D4B16, itemSet, p1, p2)
```
---
## _0xDAEFDFDB2AEECE37
**Description:** crimeType: see _REPORT_CRIME
| Property | Value |
|----------|-------|
| Native Name | `_0xDAEFDFDB2AEECE37` |
| Hash | `0xDAEFDFDB2AEECE37` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `crimeType` (Hash), `p1` (Any) |
### Parameters
- **`crimeType`** (`Hash`)
- **`p1`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xDAEFDFDB2AEECE37(crimeType, p1)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xDAEFDFDB2AEECE37, crimeType, p1)
```
---
## _0xDCF12B89624AAC96
| Property | Value |
|----------|-------|
| Native Name | `_0xDCF12B89624AAC96` |
| Hash | `0xDCF12B89624AAC96` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (BOOL) |
### Parameters
- **`p0`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
_0xDCF12B89624AAC96(p0)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xDCF12B89624AAC96, p0)
```
---
## _SET_CANT_LOSE_LAW_THIS_RESPONSE
| Property | Value |
|----------|-------|
| Native Name | `_SET_CANT_LOSE_LAW_THIS_RESPONSE` |
| Hash | `0xDDCE8E960D1DE240` |
| Return Type | `void` |
| API Set | `client` |
| Build | `1207` |
| Parameters | `enable` (BOOL) |
### Parameters
- **`enable`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
SetCantLoseLawThisResponse(enable)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xDDCE8E960D1DE240, enable)
```
---
## _0xDEA083C16BB91345
| Property | Value |
|----------|-------|
| Native Name | `_0xDEA083C16BB91345` |
| Hash | `0xDEA083C16BB91345` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | None |
### Usage
**Lua (Direct):**
```lua
_0xDEA083C16BB91345()
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xDEA083C16BB91345, )
```
---
## _0xE083BEDA81709891
| Property | Value |
|----------|-------|
| Native Name | `_0xE083BEDA81709891` |
| Hash | `0xE083BEDA81709891` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `player` (Player) |
### Parameters
- **`player`** (`Player`)
### Usage
**Lua (Direct):**
```lua
local result = _0xE083BEDA81709891(player)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xE083BEDA81709891, player)
```
---
## _0xE4D6E45F491A66CB
| Property | Value |
|----------|-------|
| Native Name | `_0xE4D6E45F491A66CB` |
| Hash | `0xE4D6E45F491A66CB` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `player` (Player), `p1` (int) |
### Parameters
- **`player`** (`Player`)
- **`p1`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = _0xE4D6E45F491A66CB(player, p1)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xE4D6E45F491A66CB, player, p1)
```
---
## _0xE94B5E938619712E
**Description:** Seems to disable lawmen guarding behaviors (like during a region lockdown). Must be called every frame.
Only used in R* SP Scripts, mostly used in train_fast_travel_core
| Property | Value |
|----------|-------|
| Native Name | `_0xE94B5E938619712E` |
| Hash | `0xE94B5E938619712E` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | None |
### Usage
**Lua (Direct):**
```lua
_0xE94B5E938619712E()
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xE94B5E938619712E, )
```
---
## _0xE9AC8466ABE484BB
**Description:** Only used in R* SP Scripts
Params: p1 = 0
| Property | Value |
|----------|-------|
| Native Name | `_0xE9AC8466ABE484BB` |
| Hash | `0xE9AC8466ABE484BB` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (BOOL), `p1` (Any) |
### Parameters
- **`p0`** (`BOOL`)
- **`p1`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xE9AC8466ABE484BB(p0, p1)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xE9AC8466ABE484BB, p0, p1)
```
---
## _0xE9EB79CBF9C0F58A
**Description:** Returns p1 value for 0xE4D6E45F491A66CB
| Property | Value |
|----------|-------|
| Native Name | `_0xE9EB79CBF9C0F58A` |
| Hash | `0xE9EB79CBF9C0F58A` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `player` (Player) |
### Parameters
- **`player`** (`Player`)
### Usage
**Lua (Direct):**
```lua
local result = _0xE9EB79CBF9C0F58A(player)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xE9EB79CBF9C0F58A, player)
```
---
## _0xEDFC6C1FD1C964F5
**Description:** _SET_C* - _SET_D*
| Property | Value |
|----------|-------|
| Native Name | `_0xEDFC6C1FD1C964F5` |
| Hash | `0xEDFC6C1FD1C964F5` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `player` (Player), `crimeType` (Hash), `bounty` (int), `p3` (float), `p4` (float), `p5` (BOOL), `p6` (float), `p7` (float), `p8` (Any) |
### Parameters
- **`player`** (`Player`)
- **`crimeType`** (`Hash`)
- **`bounty`** (`int`)
- **`p3`** (`float`)
- **`p4`** (`float`)
- **`p5`** (`BOOL`)
- **`p6`** (`float`)
- **`p7`** (`float`)
- **`p8`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xEDFC6C1FD1C964F5(player, crimeType, bounty, p3, p4, p5, p6, p7, p8)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xEDFC6C1FD1C964F5, player, crimeType, bounty, p3, p4, p5, p6, p7, p8)
```
---
## _0xF46108C50A22B029
| Property | Value |
|----------|-------|
| Native Name | `_0xF46108C50A22B029` |
| Hash | `0xF46108C50A22B029` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | None |
### Usage
**Lua (Direct):**
```lua
local result = _0xF46108C50A22B029()
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xF46108C50A22B029, )
```
---
## _0xF611DE44AEB36A1D
| Property | Value |
|----------|-------|
| Native Name | `_0xF611DE44AEB36A1D` |
| Hash | `0xF611DE44AEB36A1D` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `crimeType` (Hash), `p1` (BOOL) |
### Parameters
- **`crimeType`** (`Hash`)
- **`p1`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
_0xF611DE44AEB36A1D(crimeType, p1)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xF611DE44AEB36A1D, crimeType, p1)
```
---
## _0xFFEBE5AA96BC2E4E
| Property | Value |
|----------|-------|
| Native Name | `_0xFFEBE5AA96BC2E4E` |
| Hash | `0xFFEBE5AA96BC2E4E` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `ped` (Ped), `crimeType` (Hash), `p2` (BOOL) |
### Parameters
- **`ped`** (`Ped`)
- **`crimeType`** (`Hash`)
- **`p2`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
local result = _0xFFEBE5AA96BC2E4E(ped, crimeType, p2)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xFFEBE5AA96BC2E4E, ped, crimeType, p2)
```
---
## _ADD_WITNESS_RESPONSE
| Property | Value |
|----------|-------|
| Native Name | `_ADD_WITNESS_RESPONSE` |
| Hash | `0x10827B5A0AAC56A7` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `player` (Player), `crimeType` (Hash), `pedGroup` (Ped) |
### Parameters
- **`player`** (`Player`)
- **`crimeType`** (`Hash`)
- **`pedGroup`** (`Ped`)
### Usage
**Lua (Direct):**
```lua
AddWitnessResponse(player, crimeType, pedGroup)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x10827B5A0AAC56A7, player, crimeType, pedGroup)
```
---
## _ARE_ANY_LAW_PEDS_INVESTIGATING
**Description:** Only used in rcm_homerob00 R* Script
| Property | Value |
|----------|-------|
| Native Name | `_ARE_ANY_LAW_PEDS_INVESTIGATING` |
| Hash | `0xECE3C34B270428D5` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | None |
### Usage
**Lua (Direct):**
```lua
local result = AreAnyLawPedsInvestigating()
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xECE3C34B270428D5, )
```
---
## _ARE_INVESTIGATORS_ACTIVE
| Property | Value |
|----------|-------|
| Native Name | `_ARE_INVESTIGATORS_ACTIVE` |
| Hash | `0xF0FBFB9AB15F7734` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `player` (Player), `areInvestigatorsActive` (BOOL), `p2` (Any) |
### Parameters
- **`player`** (`Player`)
- **`areInvestigatorsActive`** (`BOOL`)
- **`p2`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = AreInvestigatorsActive(player, areInvestigatorsActive, p2)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xF0FBFB9AB15F7734, player, areInvestigatorsActive, p2)
```
---
## _ARE_LAW_PEDS_ENABLED_FOR_TRAIN
**Description:** Only used in trainrobbery_ambient R* Script
| Property | Value |
|----------|-------|
| Native Name | `_ARE_LAW_PEDS_ENABLED_FOR_TRAIN` |
| Hash | `0xA22C46F16359471C` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | None |
### Usage
**Lua (Direct):**
```lua
local result = AreLawPedsEnabledForTrain()
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xA22C46F16359471C, )
```
---
## _ARE_WITNESSES_PENDING
| Property | Value |
|----------|-------|
| Native Name | `_ARE_WITNESSES_PENDING` |
| Hash | `0x0BB6DE7D23C60626` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `player` (Player) |
### Parameters
- **`player`** (`Player`)
### Usage
**Lua (Direct):**
```lua
local result = AreWitnessesPending(player)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x0BB6DE7D23C60626, player)
```
---
## _CREATE_GUARD_ZONE
| Property | Value |
|----------|-------|
| Native Name | `_CREATE_GUARD_ZONE` |
| Hash | `0x8F9DE75680275C9F` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `name` (const char*) |
### Parameters
- **`name`** (`const char*`)
### Usage
**Lua (Direct):**
```lua
CreateGuardZone(name)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x8F9DE75680275C9F, name)
```
---
## _CREATE_GUARD_ZONE_FOR_ENTITY
**Description:** Returns true when investigation creation was successful
| Property | Value |
|----------|-------|
| Native Name | `_CREATE_GUARD_ZONE_FOR_ENTITY` |
| Hash | `0x0D4B77E862475ED3` |
| Return Type | `BOOL` |
| Build | `1311` |
| Parameters | `guardZoneName` (const char*), `entity` (Entity), `x` (float), `y` (float), `z` (float) |
### Parameters
- **`guardZoneName`** (`const char*`)
- **`entity`** (`Entity`)
- **`x`** (`float`)
- **`y`** (`float`)
- **`z`** (`float`)
### Usage
**Lua (Direct):**
```lua
local result = CreateGuardZoneForEntity(guardZoneName, entity, x, y, z)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x0D4B77E862475ED3, guardZoneName, entity, x, y, z)
```
---
## _CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
**Description:** dispatchResponseHash: see common/data/dispatchresponses/..
| Property | Value |
|----------|-------|
| Native Name | `_CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS` |
| Hash | `0x75CBF20BA47E4F89` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `x` (float), `y` (float), `z` (float), `dispatchResponseHash` (Hash) |
### Parameters
- **`x`** (`float`)
- **`y`** (`float`)
- **`z`** (`float`)
- **`dispatchResponseHash`** (`Hash`)
### Usage
**Lua (Direct):**
```lua
local result = CreateLawDispatchResponseForCoords(x, y, z, dispatchResponseHash)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x75CBF20BA47E4F89, x, y, z, dispatchResponseHash)
```
---
## _DISABLE_GUARD_ZONE
| Property | Value |
|----------|-------|
| Native Name | `_DISABLE_GUARD_ZONE` |
| Hash | `0x26D558692B25DD95` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `name` (const char*) |
### Parameters
- **`name`** (`const char*`)
### Usage
**Lua (Direct):**
```lua
DisableGuardZone(name)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x26D558692B25DD95, name)
```
---
## _ENABLE_DISPATCH_LAW
| Property | Value |
|----------|-------|
| Native Name | `_ENABLE_DISPATCH_LAW` |
| Hash | `0xC805EB785824F712` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `toggle` (BOOL) |
### Parameters
- **`toggle`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
EnableDispatchLaw(toggle)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xC805EB785824F712, toggle)
```
---
## _ENABLE_DISPATCH_LAW_2
| Property | Value |
|----------|-------|
| Native Name | `_ENABLE_DISPATCH_LAW_2` |
| Hash | `0x710448D44A64C213` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `toggle` (BOOL) |
### Parameters
- **`toggle`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
EnableDispatchLaw2(toggle)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x710448D44A64C213, toggle)
```
---
## _FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY
| Property | Value |
|----------|-------|
| Native Name | `_FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY` |
| Hash | `0x956510F8C36B5C64` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | None |
### Usage
**Lua (Direct):**
```lua
ForceLawOnLocalPlayerImmediately()
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x956510F8C36B5C64, )
```
---
## _GET_BOUNTY_HUNTER_GLOBAL_COOLDOWN
**Description:** p0 is always BOUNTYHUNTERSGLOBALCOOLDOWN in R* scripts
| Property | Value |
|----------|-------|
| Native Name | `_GET_BOUNTY_HUNTER_GLOBAL_COOLDOWN` |
| Hash | `0x76CF93D4B416B288` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `p0` (Hash) |
### Parameters
- **`p0`** (`Hash`)
### Usage
**Lua (Direct):**
```lua
local result = GetBountyHunterGlobalCooldown(p0)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x76CF93D4B416B288, p0)
```
---
## _GET_CRIME_BOUNTY_AMOUNT_BY_TYPE
**Description:** Returns bounty (increment) value
| Property | Value |
|----------|-------|
| Native Name | `_GET_CRIME_BOUNTY_AMOUNT_BY_TYPE` |
| Hash | `0x35E5E21F9159849C` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `crimeType` (Hash) |
### Parameters
- **`crimeType`** (`Hash`)
### Usage
**Lua (Direct):**
```lua
local result = GetCrimeBountyAmountByType(crimeType)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x35E5E21F9159849C, crimeType)
```
---
*End of LAW natives part 2*