# anox-autoems

### ✨ Overview

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

> **anox-autoems** is an automated emergency medical system that dispatches AI EMS personnel to revive dead players. When EMS is unavailable, players can call for automated medical assistance with realistic pathfinding and revival animations.

### ✨ Features

* [ ] 🚑 **Smart EMS Dispatch System**

- Automatic pathfinding to player locations
- Dynamic spawn point detection with safe positioning
- Anti stuck system with intelligent teleportation
- Realistic EMS NPC behavior and animations

* [ ] 🏥 **Revival Management**

- Professional CPR revival animations
- Camera control during revival process
- Automatic health restoration after successful revival
- Support for multiple framework death systems

* [ ] 💰 **Cost & Access Control**

- Configurable pricing for EMS services
- Support for both cash and bank payments
- Job based restrictions (police/gang blacklist)
- Location based blacklisted areas

* [ ] 🔧 **Anti Exploit Protection**

- Maximum active EMS calls per server
- Player cooldown systems to prevent spam
- Only available when real EMS players are offline
- Automatic cleanup on player disconnect

* [ ] 🔧 **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-autoems)
* [ ] Download the resource from our GitHub repository
* [ ] Extract the files to your server's `resources` folder
* [ ] Rename the folder to `anox-autoems`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-autoems
```

### ✨ Preview

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


---

# 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-autoems.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.
