> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-police-patrol-car-pack/cas-police-patrol-car-pack.md).

# CAS Police Patrol Car Pack

RedM police cars for VORP and RSG Core: four early patrol cars with a working mechanical siren, a rotating red beacon, a warning bell and a prisoner transport van. An add-on pack for CAS RedM Cars.

**The CAS Police Patrol Car Pack puts four early motor cars in the hands of your lawmen: the City Police Patrol, the Sheriff County Patrol, the Highway Patrol Pickup and the Police Transport Van. Every car has a working mechanical siren and a rotating red beacon, the City Police car rings a brass warning bell, and the van carries prisoners in a cell behind its rear doors.**

{% hint style="success" %}
Works on **VORP Core** and **RSG Core** through CAS RedM Cars. No database, no items and no config file of its own: start it after CAS RedM Cars and the four cars join the car pack by themselves.
{% endhint %}

{% hint style="warning" %}
**Requires** [**CAS RedM Cars**](https://codeaftersex.com/script/redm-cars) **0.47.0 or newer** (`cas-car1910` 0.47.0 and `cas-carpack` 1.9.0). Driving, doors, lamps, fuel, engine sounds, the siren, the beacon, the bell and the prisoner cell all run on CAS RedM Cars; this pack brings the four police car models.
{% endhint %}

## Get it

|                |                                                                                                                                                            |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Store page** | [Police Patrol Car Pack](https://codeaftersex.com/script/police-patrol-car-pack), **Escrow** build only                                                    |
| **Required**   | [CAS RedM Cars](https://codeaftersex.com/script/redm-cars) 0.47.0 or newer ([docs](https://code-after-sex.gitbook.io/script-documentation/cas-redm-cars/)) |
| **Support**    | [discord.gg/codeaftersex](https://discord.gg/codeaftersex)                                                                                                 |

## What it is

The pack is an add-on for CAS RedM Cars. It ships the four police cars: their models, textures, police props and handling. CAS RedM Cars (`cas-car1910`) drives them as full CAS motor cars and runs their police equipment, and `cas-carpack` lists them in the staff `/carpack` command next to the other cars.

A lawman in the driver seat presses **K** for the siren, **L** for the red beacon and, in the City Police car, **B** for the bell. The server checks the driver's job first, so only the sheriff, the police and the other law jobs you allow can use them. Every player nearby hears the siren and sees the beacon. The Police Transport Van takes prisoners in through its rear doors and keeps them inside while the doors are shut, while the van moves and while they are cuffed.

## Highlights

* **Four police cars.** Two four seat patrol sedans, a two seat pickup with an open wooden bed and a closed transport van with a prisoner cell.
* **Mechanical siren.** A motor siren that winds up, howls up and down while it runs and winds down when switched off, its rotor spinning on the car. Heard about 220 m away.
* **Rotating red beacon.** A red beam swept round by the roof reflector, lighting the street around the car at night.
* **Warning bell.** The City Police car rings a brass bell, its clapper swinging on the car.
* **Lawmen only.** The server checks the driver's job: the VORP character job or the RSG job. Staff can always use them.
* **Rebindable keys.** K, L and B by default; every player can rebind them in the game's key settings.
* **Prisoner van.** Prisoners get in through the rear doors. Nobody leaves while the doors are shut or the van is moving, and a cuffed or hogtied prisoner stays inside even with the doors open.
* **Full CAS motor cars.** Opening doors and hood, a folding windshield, windows that wind down, lamps, an electric horn, four gears, a 55 litre tank and a top speed of 42 mph.
* **Fuel ready.** CAS Fuel knows where each car's filler is.
* **Drop in.** No database and no items. Staff hand the cars out with `/carpack`.

## At a glance

|                   |                                                                                        |
| ----------------- | -------------------------------------------------------------------------------------- |
| **Resource name** | `cas-carpack-police`                                                                   |
| **Version**       | 1.0.0                                                                                  |
| **Cars**          | City Police Patrol, Sheriff County Patrol, Highway Patrol Pickup, Police Transport Van |
| **Frameworks**    | VORP Core and RSG Core, through CAS RedM Cars                                          |
| **Requires**      | CAS RedM Cars 0.47.0 or newer (`cas-car1910` 0.47.0, `cas-carpack` 1.9.0)              |
| **Database**      | None                                                                                   |
| **Items**         | None                                                                                   |
| **Staff command** | `/carpack police`, `/carpack sheriff`, `/carpack highway`, `/carpack transport`        |
| **Default keys**  | K siren, L beacon, B bell (driver seat, rebindable)                                    |
| **Allowed jobs**  | sheriff, police, marshal, deputy and lawman by default, plus staff                     |
| **Settings**      | The `police` block of `cas-car1910/shared/config.lua`                                  |
| **Build**         | Escrow only                                                                            |

## Where to start

| Page                                                                                                | What it covers                                                       |
| --------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [Installation](/script-documentation/cas-police-patrol-car-pack/installation.md)                    | Requirements, the `server.cfg` order, the first check in the console |
| [The cars](/script-documentation/cas-police-patrol-car-pack/the-cars.md)                            | The four cars, their seats, doors, moving parts and what they share  |
| [Siren, beacon and bell](/script-documentation/cas-police-patrol-car-pack/siren-beacon-and-bell.md) | The keys, who may use them, changing the jobs, rebinding             |
| [Prisoner van](/script-documentation/cas-police-patrol-car-pack/prisoner-van.md)                    | The van's cell: getting in, getting out, cuffed prisoners            |
| [Configuration](/script-documentation/cas-police-patrol-car-pack/configuration.md)                  | Every police setting of CAS RedM Cars with its default               |
| [Troubleshooting](/script-documentation/cas-police-patrol-car-pack/troubleshooting.md)              | Console warnings, cars missing from `/carpack`, a refused siren      |

Questions or a bug? Ask on our [Discord](https://discord.gg/codeaftersex).
