> 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/exports-events.md).

# Exports / Events

## Client Event

```lua
-- This is called on the client and will dispatch a taxi to the players current location
TriggerClientEvent('wp-ai-taxi:client:DispatchAITaxi')
```

```lua
-- Returns a boolean of whether the player currently has an AI taxi dispatched to them.
exports["wp-ai-taxi"]:isTaxiDispatched()
```
