# ‌👮 rcore\_police

* 🏙️ [**Buy Here**](https://store.rcore.cz/package/6638221)

## Common Issues & Solutions

{% hint style="danger" %}
This script **REQUIRES** artifact version **4752** or **newer**!
{% endhint %}

## Installation

* [Guide](https://documentation.rcore.cz/paid-resources/rcore_police/install_page)

## Features

<details>

<summary><strong>Realistic Player Cuffing</strong></summary>

* Animations dynamically adjust based on the officer's position (front or back of the target player).
* Suspects can attempt to escape from cuffs via an engaging mini-game.

</details>

<details>

<summary><strong>Realistic Put in Vehicle</strong></summary>

* Players are realistically placed into the closest available seat (excluding the driver's seat), eliminating awkward teleportation.

</details>

<details>

<summary><strong>Realistic Take from Vehicle</strong></summary>

* Players are removed from vehicles through the same door they entered, adding immersion and eliminating teleportation.

</details>

<details>

<summary><strong>Realistic Player Escort</strong></summary>

* Players are realistically escorted, ensuring smooth animations and immersive roleplay.

</details>

<details>

<summary><strong>Dynamic Tackle Mechanism</strong></summary>

* Officers can bring suspects to the ground with a tackle system.
* Includes a thrilling mini-game for suspects to attempt an escape, complete with punch animations.
* Suspects can be handcuffed, picked up, and escorted seamlessly.

</details>

<details>

<summary><strong>Vehicle Search Information</strong></summary>

* Allows officers to copy important vehicle information such as plate, owner, and state ID using the Context Menu.

</details>

<details>

<summary><strong>Impound Vehicle</strong></summary>

* Officers can impound vehicles using intuitive commands and controls.

</details>

<details>

<summary><strong>Search Player</strong></summary>

* Officers can search players for items or contraband using the integrated system.

</details>

<details>

<summary><strong>Police Armoury</strong></summary>

* Access weapons and equipment through the customizable police armoury system.

</details>

<details>

<summary><strong>Megaphone</strong></summary>

* Shout commands or announcements using the in-game megaphone feature.

</details>

<details>

<summary><strong>Zip Ties</strong></summary>

* Lightweight and easy-to-use tool for restraining suspects.

</details>

<details>

<summary><strong>Paper Bags</strong></summary>

* A tool for detaining or concealing identity during roleplay scenarios.

</details>

<details>

<summary><strong>Custom Sounds</strong></summary>

* Adds immersive custom sounds for actions like cuffing and uncuffing.

</details>

<details>

<summary><strong>Police Outfits</strong></summary>

* Predefined police uniforms for officers, designed to work even on servers without addon clothing.

</details>

<details>

<summary><strong>Fines</strong></summary>

* Officers can quickly select fines from a predefined list to streamline ticketing.

</details>

<details>

<summary><strong>Unlock Citizen Vehicles</strong></summary>

* Allows officers to unlock civilian vehicles when needed for emergencies.

</details>

<details>

<summary><strong>Emergency button</strong></summary>

* Allows officers to quickly call help via Emergency button

</details>

<details>

<summary><strong>Evidence stash</strong></summary>

* Allows officers to store evidence for specific case

</details>

<details>

<summary><strong>Personal lockers</strong></summary>

* Allows officers to store their items in personal lockers

</details>

<details>

<summary><strong>Police Radar</strong></summary>

* Included police radar with all features.

</details>

<details>

<summary><strong>Unique Prop System</strong></summary>

* Props are synced for all players and can be picked up by anyone in the world.
* Each prop has real functionality, adding more immersion.
* Props can be placed anywhere using a built-in editor.

</details>

<details>

<summary><strong>Radial Menu</strong></summary>

* Access police tools and actions effortlessly with a modern and intuitive radial menu.

</details>

<details>

<summary><strong>Help Keys</strong></summary>

* Provides on-screen prompts to guide officers, ensuring a smoother onboarding experience.

</details>

<details>

<summary><strong>Forms</strong></summary>

* Easily fill out reports or perform administrative tasks with a user-friendly interface.

</details>

<details>

<summary><strong>Context Menu</strong></summary>

* Navigate menus quickly using arrow keys for seamless interaction.

</details>

<details>

<summary><strong>Citizen Reporting System</strong></summary>

* Civilians can report accidents or crimes at police stations, enhancing roleplay opportunities.

</details>

<details>

<summary><strong>Custom Minigame</strong></summary>

* Includes engaging and interactive mini-games to enhance immersion during key actions.

</details>

<details>

<summary><strong>Smart Interaction System</strong></summary>

* Automatically targets nearby citizens when interacting as an officer.
* If multiple citizens are nearby, easily choose the desired target.
* **Note**: Works best when using the RCore Police Context Menu.

</details>

<details>

<summary><strong>Advanced Speed Cameras</strong></summary>

* Speed cameras feature customizable props, flashes, sound effects, and smooth performance.
* Integrated with billing resources for automatic fines.

</details>

<details>

<summary><strong>Spike Strip Deployment</strong></summary>

* Deploy spike strips to stop fleeing vehicles.
* Fully synced across all players and interactable for added teamwork.

</details>

<details>

<summary><strong>Simple Garage System</strong></summary>

* Manage police vehicles with features like easy spawning and vehicle storage.
* Define vehicle costs for spawns, and refunds are processed when vehicles are returned.
* **Vehicle Spawning with Customization**: Spawn police vehicles with configurable extras to suit any situation.

</details>

## Dependencies

* oxmysql/mysql-async
* the script works without any framework, but it's recommended to use ESX/QBCore
  * if you will run it standalone or with another framework some features might be limited

## Supported Resources

* List of all resources we currently support out of the box.
* You can define non-supported map via command `/preset_creator` typing in-game as admin!
* More resources can easily be integrated.

<details>

<summary>Maps</summary>

* More maps are planned with following updates
* **BROFX VSPD:** (`brofx_vspd`)
* **GABZ Prison:** (`cfx-gabz-mrpd`)
* **ROCKFORD\_HILLS\_NTEAM:** (`cfx-nteam-police`)
* **IBONOJA\_EDITABLE:** (`ibonoja_mrpd_full_editable`)
* **FRANCO\_MRPD:** (`cfx-fm-mrpd`)
* **Default Mission Row PD:** (`STANDALONE`)

</details>

<details>

<summary>Frameworks</summary>

* **ESX:** `es_extended` ([GitHub](https://github.com/esx-framework/esx_core))
* **QBCore:** `qb-core` ([GitHub](https://github.com/qbcore-framework/qb-core))
* **QBOX:** `qbx_core` ([GitHub](https://github.com/Qbox-project/qbx_core))
* **NDCore:** `ND_Core` ([GitHub](https://github.com/ND-Framework/ND_Core))
* **Standalone:** `Standalone`

**Note**

> Some features might be limited for standalone (useable items..)

</details>

<details>

<summary>Clothing</summary>

* **RCORE:** `rcore_clothing` ([Buy](https://store.rcore.cz/package/6430968))
* **ESX:** `skinchanger` ([GitHub](https://github.com/esx-framework/esx_core/tree/main/\[core]/skinchanger))
* **QB:** `qb-clothing` ([GitHub](https://github.com/qbcore-framework/qb-clothing))
* **Illenium:** `illenium-appearance` ([GitHub](https://github.com/iLLeniumStudios/illenium-appearance))
* **CODEM:** `codem-appearance (Experimental)`
* **CRM:** `crm-appearance (Experimental)`
* **TGIANN:** `tgiann-clothing (Experimental)`
* **WASABI:** `fivem-appearance - wasabi fork (Experimental)`

</details>

<details>

<summary>Inventories</summary>

* **ESX:** `es_extended` ([GitHub](https://github.com/esx-framework/esx_core))
* **QB:** `qb-inventory` ([GitHub](https://github.com/qbcore-framework/qb-inventory))
* **PS:** `ps-inventory` ([GitHub](https://github.com/Project-Sloth/ps-inventory))
* **QS:** `qs-inventory`
* **OX:** `ox_inventory,`
* **LJ:** `lj-inventory`
* **MODFREAKS:** `mf-inventory`
* **CHEEZA:** `inventory`
* **TGIANN:** `tgiann-inventory`
* **ORIGEN:** `origen-inventory`

</details>

<details>

<summary>Prison</summary>

* **RCORE:** `rcore_prison` ([Buy](https://store.rcore.cz/package/5341769))
* **QB:** `qb-prison`

</details>

<details>

<summary>Invoices</summary>

* **OKOK:** `okokBilling`
* **QB:** `qb-phone`
* **ESX:** `esx_billing`
* **QS:** `qs-billing`
* **FD:** `fd-banking`

</details>

<details>

<summary>Dispatch</summary>

* **RCORE:** `rcore_dispatch` ([Buy](https://store.rcore.cz/package/5789351))
* **PS:** `ps-dispatch`
* **CD:** `cd_dispatch`
* **CORE:** `core_dispatch`
* **CODEM:** `codem_dispatch`
* **TK:** `tk_dispatch`
* **DUSA:** `dusa_dispatch`
* **QS:** `qs-dispatch`
* **LB\_TABLET:** `lb-tablet`
* **LOVE\_SCRIPTS:** `emergencydispatch`

</details>

<details>

<summary>Garages</summary>

* **QB:** `qb-garage`
* **ESX:** `esx_garage`
* **QBOX** `qbx_garages`
* **JG** `jg-advancedgarages`
* **CD\_GARAGE** `cd_garage`

</details>

<details>

<summary>Fuel</summary>

* **RCORE:** `rcore_fuel` ([Buy](https://store.rcore.cz/package/6222210))
* **LEGACY:** `LegacyFuel`
* **CDN** `cdn-fuel`
* **TI** `ti_fuel`
* **MY** `myFuel`
* **OKOK** `okokGasStation`
* **LJ** `lj-fuel`
* **ND** `nd_fuel`
* **HYON\_GAS** `HYON_GAS`
* **RENEWED** `Renewed-Fuel`

</details>

<details>

<summary>Licences</summary>

* **ESX:** `esx_license`
* **QBCORE:** `qb-core`
* **QBOX:** `qbx_core`
* **CODESTUDIO:** `cs_license`

</details>

<details>

<summary>Menus</summary>

* **RCORE:** `rcore_police` - Custom context menu
* **ESX:** `esx_context`
* **OX:** `ox_lib` - Context menu
* **QB:** `qb-menu`

</details>

<details>

<summary>Notify</summary>

* **BRUTAL:** `brutal_notify`
* **PNOTIFY:** `pNotify`
* **OX:** `ox_lib`
* **QBCORE:** `qb-core`
* **ESX:** `es_extended`
* **MYTHIC:** `mythic_notify`
* **OKOK:** `okokNotify`

</details>

<details>

<summary>MDT</summary>

* **PS:** `ps_mdt`
* **REDUTZU:** `redutzu-mdt`

</details>

<details>

<summary>Society</summary>

* **ESX:** `esx_society`
* **QB\_BANKING:** `qb-banking`
* **QB\_MANAGEMENT:** `qb-management`
* **SNIPE:** `snipe_banking`
* **RENEWED:** `renewed_banking`
* **FD:** `fd_banking`
* **OKOK:** `okok_banking`
* **QS** `qs-banking`
* **CODESTUDIO** `cs_bossmenu`
* **SNIPE** `snipe-bankin`
* **FD** `qs-banking`

</details>

<details>

<summary>TextUI</summary>

* **RCORE:** `rcore_police`
* **OX:** `ox_lib`
* **QBCORE:** `qb-core`
* **ESX:** `esx_textui`

</details>

<details>

<summary>Duty</summary>

* **ESX:** `esx_service` - We handle this on our side internally + hook esx\_service
* **QB:** `qb-core`

</details>

<details>

<summary>Keys</summary>

* **RCORE:** `rcore_garage`
* **FIVECODE:** `fivecode_carkeys`
* **CD:** `cd_garage`
* **QS:** `qs-vehiclekeys`
* **XD:** `xd_locksystem`
* **OKOK:** `okokGarage`
* **JAKSAM:** `vehicle_keys`
* **MR\_NEWB:** `MrNewbVehicleKeys`
* **WASABI:** `wasabi_carlock`
* **RENEWED:** `Renewed-VehicleKeys`

</details>

<details>

<summary>Armoury</summary>

* **RCORE** `rcore_police` - It will use our in-house made menu
* **OX:** `ox_inventory`
* **CHEEZA:** `inventory`

</details>

<details>

<summary>Progress bars</summary>

* **RCORE** `rcore_police` - It will use our native progress bar
* **OX** `ox_lib`
* **ESX:** `es_extended`
* **QBCORE:** `qb-core`

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_police.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
