> 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-advanced-taxi-job/cas-advanced-taxi-job-for-redm.md).

# CAS Advanced Taxi Job for RedM

RedM taxi job for VORP and RSG Core. Drive the 1907 Tremont Taxicab, carry NPC and player fares on a server side meter, work a dispatch board with a town map and climb four driver ranks.

**CAS Advanced Taxi Job puts the Tremont Cab & Motor Co. on your server. Drivers rent a cab at the Saint Denis office, put the flag up and take calls off the wire. NPC passengers wait at the hotel, the docks and the station; real players wire for a cab at the telegraph counter or wave one down in the street. Every ride runs on a meter kept by the server, ends with a printed fare ticket and counts towards the driver's rank.**

{% hint style="success" %}
Works on **VORP Core** and **RSG Core**. The framework is detected on its own and the database tables create themselves on the first start. English and Turkish are included.
{% endhint %}

{% hint style="warning" %}
**Requires** [**CAS RedM Cars**](https://codeaftersex.com/script/redm-cars)**.** The 1907 Tremont Taxicab the drivers work in comes from the CAS RedM Cars pack. The cars are sold separately and are never part of the taxi package.
{% endhint %}

## Get it

|                |                                                                                                                                                                    |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Store page** | [CAS Advanced Taxi Job](https://codeaftersex.com/script/advanced-taxi-job), in an **Escrow** and an **Open Source** build                                          |
| **Live demo**  | [Try the interface in your browser](https://codeaftersex.com/script/advanced-taxi-job#pd-demo)                                                                     |
| **Required**   | [CAS RedM Cars](https://codeaftersex.com/script/redm-cars) for the Tremont Taxicab ([docs](https://code-after-sex.gitbook.io/script-documentation/cas-redm-cars/)) |
| **Support**    | [discord.gg/codeaftersex](https://discord.gg/codeaftersex)                                                                                                         |

## What it is

The job is built around the 1907 Tremont Taxicab from CAS RedM Cars. A driver starts a shift at the cab office: rent a company cab for a small deposit, or, from the second rank, bring a Tremont of their own and keep more of every fare. With the flag up, calls arrive as telegrams at the top of the screen. Take one, follow the route to the pickup, stop beside the passenger and the meter starts.

Passengers are people, not markers. Ladies from the Grand Hotel tip well and hate the cobbles, dock workers want to be quick, the priest asks to leave town. Bumps, hard braking and a slow route cost comfort and patience, which decide the tip and the stars on the ticket. Players are passengers too: they wire for a cab, see the driver's name and cab number while it comes, ride on the meter and settle the fare on a paper slip with a tip and a rating.

## Highlights

* **Company cabs and own cabs.** Rent a cab for a deposit that comes back by the cab's condition and fuel, or drive your own Tremont bought at the CAS RedM Cars dealership and taken out of your garage.
* **NPC passengers with character.** Six kinds of passenger, each with their own models, painted portrait, voice lines, tips and temper.
* **Player passengers.** Wire for a cab at a telegraph counter or with `/taxi`, or hail a cab that has its flag up.
* **A meter you can trust.** Flag fall, distance by the quarter mile, waiting time, a night tariff and a company cut, all counted on the server with a teleport guard.
* **Telegram calls and a dispatch board.** Calls arrive on the wire while you drive. Stopped, open the board (F6, or B at the office) to see every call on a real map of the town.
* **Printed fare tickets.** Every paid fare prints a ticket for the driver and for a player passenger, with the fare, tip, company cut and the passenger's stars.
* **Four driver ranks.** Fares and an average rating unlock the night tariff, VIP passengers, long hauls out of town and the right to drive your own cab.
* **Weekly best drivers.** A driver of the week poster on the board, a full leaderboard, and a reset every Monday at 00:00 UTC.
* **Discord logs.** Shift summaries, unpaid fares, teleports and admin commands, sent to a webhook of your choice.
* **Made for RDR2.** Paper telegrams, a painted dispatch board, game drawn markers that stay on their spot, and a minimal driving HUD.
* **Fully translatable.** Every text comes from one language file.

## At a glance

|                           |                                                                                                                                                                            |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Resource name**         | `cas-taxi`                                                                                                                                                                 |
| **Version**               | 1.0.6                                                                                                                                                                      |
| **Frameworks**            | VORP Core, RSG Core (auto-detected)                                                                                                                                        |
| **Required dependencies** | oxmysql, [CAS RedM Cars](https://codeaftersex.com/script/redm-cars) (the Tremont Taxicab), plus your framework's core (RSG Core also needs ox\_lib, which it already uses) |
| **Optional**              | `cas-dealership` and `cas-garage` from CAS RedM Cars (own cabs), weathersync (night tariff clock)                                                                          |
| **Database**              | 3 tables, created automatically                                                                                                                                            |
| **Items**                 | None                                                                                                                                                                       |
| **Player commands**       | `/taxi`                                                                                                                                                                    |
| **Staff commands**        | `/taxipoint`, `/taxiclerk`, and with debug on `/taxitp`, `/taxicall`, `/taxirank`, `/taxiinfo`, `/taxireset`, `/taxidemo`                                                  |
| **Office**                | Tremont Cab & Motor Co., Saint Denis Station                                                                                                                               |
| **Board maps**            | Saint Denis, Valentine, Blackwater, Rhodes, Strawberry, Annesburg, Armadillo, Tumbleweed, Van Horn                                                                         |
| **Languages**             | English and Turkish included, add your own                                                                                                                                 |
| **Builds**                | Escrow and Open Source                                                                                                                                                     |

## Where to start

| Page                                                                                  | What it covers                                             |
| ------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| [Installation](/script-documentation/cas-advanced-taxi-job/installation.md)           | Requirements, `server.cfg`, the cab model, first check     |
| [Driving a cab](/script-documentation/cas-advanced-taxi-job/driving.md)               | Shifts, calls, the meter, ending a fare, returning the cab |
| [Riding as a passenger](/script-documentation/cas-advanced-taxi-job/passengers.md)    | Wiring for a cab, hailing, the fare slip                   |
| [The dispatch board](/script-documentation/cas-advanced-taxi-job/dispatch-board.md)   | The board, the town map, best drivers of the week          |
| [Ranks and pay](/script-documentation/cas-advanced-taxi-job/ranks-and-pay.md)         | How fares, tips, the cut and ranks are worked out          |
| [Configuration](/script-documentation/cas-advanced-taxi-job/configuration.md)         | Every key in `config.lua`                                  |
| [Offices and towns](/script-documentation/cas-advanced-taxi-job/offices-and-towns.md) | Adding an office in another town, board maps               |
| [Server settings](/script-documentation/cas-advanced-taxi-job/server-config.md)       | Discord logs, staff commands, permissions                  |
| [Localization](/script-documentation/cas-advanced-taxi-job/localization.md)           | Changing texts and adding a language                       |
| [How it works](/script-documentation/cas-advanced-taxi-job/how-it-works.md)           | Server model, database, security                           |
| [Editing the interface](/script-documentation/cas-advanced-taxi-job/interface.md)     | Building the NUI from source                               |
| [Troubleshooting](/script-documentation/cas-advanced-taxi-job/troubleshooting.md)     | Notifications and common cases                             |

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