> For the complete documentation index, see [llms.txt](https://waypoint-scripts.gitbook.io/waypoint-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://waypoint-scripts.gitbook.io/waypoint-scripts/scripts/waypoint-ai-taxi.md).

# Waypoint AI Taxi

Waypoint AI Taxi is a script that lets you call an AI taxi and have them drive you to your destination. AI Taxi gives your players another avenue of transportation.

{% embed url="<https://youtu.be/rrg16MUGxj8>" %}

[Purchase Here](https://backsh00ter.tebex.io/package/5723098)

[CFX Forum Post](https://forum.cfx.re/t/paid-qbcore-waypoint-ai-taxi/5112751)

#### **How it works:**

* Players call an AI Taxi using the provided command and/or client events
* When the taxi arrives, the player sets the destination on the map
* Players have the option to tell the taxi to driver faster (configurable)
* Multiple players can share the same taxi
* Player is charged based on time in the taxi and is charged once they exit the taxi (configurable)
* The player can also choose to cancel the taxi if they no longer need it

**Notes:**

* In order for players to share a taxi and be able to enter the vehicle, they need to be within 50 units of the player who called the taxi.
* When the ride is over, the taxi will drive away and will despawn after 20 seconds.
* Multiple layers of redundancy have been implemented to assist the AI in attempting to get unstuck, should it find itself in such a situation.
* Support for both QB and ESX, all framework functions are open source in the framework.lua file.
  * You can easily modify the script to support other frameworks by modifying the framework.lua file

**Performance:**

* The script has an idle CPU time of 0.00ms
* While in use, the CPU time is 0.05ms on the client who called the Taxi
* On other nearby clients, the CPU time is 0.01ms, otherwise 0.00ms.

### **Dependencies**

* Framework: QBCore, QBox or ESX
* Notify: QB, ESX, OX
* Optional:
  * qb-smallresources/seatbelt.lua - or equivalent seatbelt script&#x20;
    * seatbelt check can be disabled
  * Fuel script: LegacyFuel, ox\_fuel, ps-fuel or equivalent fuel script - for fueling up the taxi
  * oxmysql - only needed if you want to use telemetry


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://waypoint-scripts.gitbook.io/waypoint-scripts/scripts/waypoint-ai-taxi.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.
