# anox-autotaxi

### ✨ Overview

<figure><img src="/files/Hh5x6Q1bOYBzT2hFF7iB" alt=""><figcaption></figcaption></figure>

> **anox-autotaxi** is an automated taxi system that spawns taxis for players. Players can call taxis, set destinations, and enjoy realistic transportation with dynamic pricing and smart navigation.

### ✨ Features

* [ ] 🚖 **Smart Taxi System**

- Automatic Path Finding to player locations
- Dynamic spawn point detection on valid roads
- Anti stuck system with intelligent teleportation
- Realistic traffic behavior and traffic light compliance

* [ ] 🗺️ **Destination Management**

- Set destinations using map waypoints
- Visual confirmation dialogs with fare estimates
- Real time route tracking with blips
- Automatic fare calculation based on distance traveled

* [ ] 💰 **Dynamic Pricing System**

- Base fare + per kilometer rate calculation
- Support for both cash and bank payments
- Real time trip cost updates during rides
- Partial fare handling for early exits

* [ ] 🔧 **Anti Exploit Protection**

- Maximum taxi limits per server
- Cooldown systems for commands
- Stuck detection and automatic resolution
- Teleportation back on insufficient funds

* [ ] 🔧 **Framework Support**

- Works with **ESX**, **QBCore**, and **QBox**
- Supports localization and translations
- Debugging included to help with setup or issues

### ✨ Requirements

* [ ] One of the following frameworks:

- `ESX`
- `QBCore`
- `Qbox`

* [ ] **Must have dependencies:**

- [`ox_lib`](https://github.com/overextended/ox_lib)

### ✨ Installation Guide

* [ ] **Step 1: Download the** [**Resource**](https://github.com/ANoXShadow/anox-autotaxi)
* [ ] Download the resource from our GitHub repository
* [ ] Extract the files to your server's `resources` folder
* [ ] Rename the folder to `anox-autotaxi`if it's not already named correctly
* [ ] **Step 2: Configure Your server.cfg**
* [ ] Add the following line to your `server.cfg` file:

```
ensure oxmysql
ensure ox_lib
ensure anox-autotaxi
```

### ✨ Preview

{% embed url="<https://www.youtube.com/watch?t=6s&v=WN-2BnpA1Wk>" %}


---

# 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://anoxstudios.gitbook.io/anoxstudios/free-scripts/auto-services/anox-autotaxi.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.
