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

# 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>" %}
