> For the complete documentation index, see [llms.txt](https://docs.0resmon.org/0resmon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0resmon.org/0resmon/0resmon-1/0r-resources/0r-ambulancejob.md).

# 0R - Ambulance Job

{% hint style="info" %}
This script is intended for ESX, QBCore, and Qbox based servers.
{% endhint %}

```lua
author '0resmon & alikoc.dev'
```

## Overview

`0r-ambulancejob` is a FiveM ambulance job and medical system resource. It includes framework bridge support, regional injury tracking, laststand/death handling, hospital facility management, doctor treatment flows, ambulance vehicle/stretcher features, patient and vehicle hotbars, public exports, public events, and listener hooks for custom integrations.

The resource is configured through the files in `config/*.lua`. Medical flows, facility runtime actions, compatibility hooks, inventory access, and framework behavior are split into modules so server-specific integrations can stay focused.

## Start Here

{% content-ref url="/pages/CrUDTIavtyZlEq5pCzG5" %}
[Setup and Database](/0resmon/0resmon-1/0r-resources/0r-ambulancejob/setup-and-database.md)
{% endcontent-ref %}

{% content-ref url="/pages/gOXL9ISUHPTq1FJWN0mn" %}
[Items](/0resmon/0resmon-1/0r-resources/0r-ambulancejob/items.md)
{% endcontent-ref %}

{% content-ref url="/pages/2JhVzxcXoHat3rGgkCds" %}
[Configuration](/0resmon/0resmon-1/0r-resources/0r-ambulancejob/configuration.md)
{% endcontent-ref %}

{% content-ref url="/pages/CIPoKy5Cfj5fMRMe49g8" %}
[Hotbar](/0resmon/0resmon-1/0r-resources/0r-ambulancejob/hotbar.md)
{% endcontent-ref %}

{% content-ref url="/pages/WHNf2bPJsvxfc3dKWsa8" %}
[Facility Billing](/0resmon/0resmon-1/0r-resources/0r-ambulancejob/billing.md)
{% endcontent-ref %}

{% content-ref url="/pages/fsCv7m3PKY66KsLammD8" %}
[Exports](/0resmon/0resmon-1/0r-resources/0r-ambulancejob/exports.md)
{% endcontent-ref %}

{% content-ref url="/pages/HenUKNwpAnardHIl9tbU" %}
[Events](/0resmon/0resmon-1/0r-resources/0r-ambulancejob/events.md)
{% endcontent-ref %}

{% content-ref url="/pages/Rsg6w2kGwhvrdtiFQrRw" %}
[Medical Listeners](/0resmon/0resmon-1/0r-resources/0r-ambulancejob/medical-listeners.md)
{% endcontent-ref %}

## What Is Included?

* ESX, QBCore, and Qbox bridge support
* Regional injury system for head, torso, arms, and legs
* Laststand, deathscreen, EMS call, hospital respawn, and revive flows
* Facility panel with staff, permission, account, billing, log, garage, market, pharmacy, med bag, bed, blood test, MR/X-Ray, and treatment runtime features
* Patient and ambulance vehicle hotbar contexts with assistive equipment flows
* Ambulance vehicle interior, stretcher, rear door, and body bag support
* Public exports and events for other resources
* `MedicalListeners` hooks for in-resource customization

## Important Notes

* Import the SQL in `database.sql.md` before first start.
* Main settings are inside `config/init.lua`.
* Medical balancing is inside `config/medical.lua`.
* Facility behavior is inside `config/facility.lua`.
* The usable med bag is configured inside `Config.facility.runtime.medBag`.
* Facility billing supports internal invoices, manual payment marking, and optional external bridges.
* Ambulance vehicle and stretcher settings are inside `config/ambulance_vehicle.lua`.
* Hotbar contexts, actions, and assistive device props are inside `config/hotbar.lua`.
* Treatment item icons load from `Config.inventoryImagesFolder`.
* Optional ambulance vehicle features rely on `emsprops`, `iak_wheelchair`, and `qua_ambulance_int`.
