> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_police/faq.md).

# FAQ

Here you'll find a quick and easy guide to features, troubleshooting tips, and answers to common questions.

Common questions about `rcore_police`.

***

<details>

<summary>Where do I customize the configuration of my police map?</summary>

* You can customize police map settings and points in the following location.
* Inside this folder (`rcore_police/data/maps`), you'll find files for each supported map (e.g., `mrpd.lua`, `sandy_pd.lua`, etc.).
* Open the file that matches your map and edit the points and settings as needed for your server.

{% hint style="info" %}
If your map isn't specifically supported (no matching `.lua` file is found), the script will automatically use `default-mrpd.lua` as a fallback configuration.
{% endhint %}

For unique or custom maps, use `/preset_creator` in-game to define a new map (requires admin rights).

</details>

<details>

<summary>Why can't a player be put in a vehicle without cuffs?</summary>

* This is working as intended!
* A player **must be cuffed before they can be placed into a vehicle** by police or staff.

Requiring cuffs makes sure the player is properly handled while in the vehicle - so they can't escape, exploit, or glitch out. It helps prevent unwanted situations where an uncuffed player could exit the car or interfere with the roleplay scenario.

If you want to move a player to a vehicle, make sure to cuff them first using the appropriate command or menu option.

{% hint style="info" %}
You can disable this requirement - see the "Can I disable the need to cuff someone before placing them in a vehicle?" entry further down this page.
{% endhint %}

</details>

<details>

<summary>Can I add more than one department/job to rcore_police?</summary>

Yes, you can absolutely have more than one law enforcement job (e.g., `police`, `sheriff`, `ranger`, etc.) in **rcore\_police**.

By default, the configuration might look like this:

```lua
Jobs = { 'police', 'sheriff' },

-- To add a third job (e.g., ranger), simply modify it:

Jobs = { 'police', 'sheriff', 'ranger' },
```

Path: `rcore_police/data/maps/default-mrpd.lua`

{% hint style="info" %}
If you're adding a job that isn't `police` or `sheriff`, you must also register it under `JobGroups` in `rcore_police/config.lua`. This ensures the new job has access to all job-related menus and features, such as the radial menu options, target interactions, and job UI features.
{% endhint %}

</details>

<details>

<summary>How can I change or remove options from the radial menu?</summary>

The radial menu options are located in: `modules\bridge\client\interact\cl-interact-radial.lua`.

</details>

<details>

<summary>Where do I set zones to use the target system?</summary>

To enable interactions with zones using a target system (such as `ox_target` or `qb-target`), follow these steps:

1. Open the file: `rcore_police/config.lua`
2. Find the setting called `UseTargetForZones` and set it to `true`:

```lua
UseTargetForZones = true
```

3. Restart `rcore_police`.

</details>

<details>

<summary>Can I disable the need to cuff someone before placing them in a vehicle?</summary>

Yes - you can! This is useful for handling downed or dead players.

**File:** `config.lua`

```lua
CuffsRequiredForTransport = false
-- When false: You can place players in vehicles even if they're not cuffed.
-- When true: Only cuffed players can be placed into vehicles.
```

</details>

<details>

<summary>Where can I disable sprint for cuffed players?</summary>

**File:** `config.lua`

```lua
DisableSprintForCuffedPlayers = true
-- When true: Cuffed players cannot sprint.
-- When false: Sprinting is still allowed while cuffed.
```

</details>

<details>

<summary>Where can I disable walking for cuffed players?</summary>

**File:** `config.lua`

```lua
DisableWalkForCuffedPlayers = true
-- When true: Cuffed players cannot walk at all (they will be frozen or fully restricted).
-- When false: Cuffed players can still walk normally.
```

</details>

<details>

<summary>Where can I disable inventory access for cuffed players?</summary>

**File:** `config.lua`

```lua
DisableInventoryWhileCuffed = true
-- When true: Cuffed players cannot open their inventory.
-- When false: Cuffed players can still access their inventory.
```

</details>
