> For the complete documentation index, see [llms.txt](https://tk-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk-scripts.gitbook.io/docs/tk_ambulancejob.md). Agents can also search and read this documentation through its [MCP server](https://tk-scripts.gitbook.io/docs/~gitbook/mcp).

# tk\_ambulancejob

Ambulance Job is an EMS job for FiveM servers running ESX, QBCore or Qbox, with skeletal injuries, revival and hospitals.

Injuries have a body part, type and severity, and EMS treat each with the right item. It works with ox\_inventory, qb-inventory or qs-inventory, and you can add as many hospitals as you need. A body bag ends revival, so the only way back is a hospital respawn.

[Advanced Ambulance Job product page](https://tkscripts.com/scripts/ambulance-job?utm_source=gitbook\&utm_medium=docs\&utm_content=ambulance-job) | [Subscription plans](https://tkscripts.com/subscriptions?utm_source=gitbook\&utm_medium=docs\&utm_content=ambulance-job) | [Watch the showcase on YouTube](https://www.youtube.com/watch?v=VOmTuF4gbXM) | [Install Ambulance Job](https://tk-scripts.gitbook.io/docs/tk_ambulancejob/installation.md)

{% embed url="<https://www.youtube.com/watch?v=VOmTuF4gbXM>" %}
Advanced Ambulance Job showcase (5 min 45 s).
{% endembed %}

## Features

### Skeletal system

* Full-body injury view, opened by command or menu
* Shows health, injuries and bullets for every body part
* Two designs: menu and camera

### Injury types

* Injury types: shot, stab, bruise, fracture, sprain, burn, crush, bite, explosion, electrical and other
* Each injury applies its own debuffs

### Bullet effects by body part

* Every bullet effect is configurable and can be turned off
* Head: the camera shakes
* Torso and legs: the player can ragdoll
* Arms: aim shakes when shooting, and too many bullets in the arms stops shooting
* Legs: movement slows, and too many bullets stops sprinting and jumping

### Injury debuffs

* 11 debuffs, from slower movement and aim shake to bleeding and ragdoll
* Each debuff has its own configurable chance and health threshold
* Debuffs update as injuries heal

### Heart rate and ECG

* Injuries and the death state affect a player's heart rate
* EMS check a patient's heart rate in the skeletal menu
* Manual: press a button to analyse and show it in the skeletal view
* Automatic: with an ECG item in the inventory, the target's BPM is read constantly

### Treatment items

* 13 default items, from bandages and tourniquets to braces and a surgical kit
* Items remove injuries by type and severity
* Items work on yourself and on other players
* With tk\_evidence, EMS get bullet fragments when removing bullets, for police to analyse later

### Death and revival

* Downed players enter last stand and can crawl
* Bleed-out timer set in the config
* Shot or hurt again, the player enters full death
* Revived by EMS, or respawn at the hospital after a configurable timer
* Revive by menu or item, with required jobs and a success chance per option
* Three revive options by default: CPR, defibrillator and adrenaline syringe
* A body bag stops revival; the only option left is a hospital respawn

### Job menu and equipment

* F6 menu or target: view injuries, drag, move in or out of vehicles, bill patients
* Stretcher: spawn, attach, detach and move players onto it
* Wheelchair placed and picked up with an item, plus a walking stick
* Medical bag that EMS place for others to see, with a built-in stash
* Live EMS blips with on-foot, vehicle and air styles

### Hospital facilities

* Beds where players lie down, with configurable treatment after a set time
* Medic NPC revives players when no EMS are online
* Hospital shop selling medical items
* Personal, public and locker storage
* Wardrobe with outfits from config, and outfits bosses save in game
* Boss menu, duty toggle and elevators
* Garage with configurable vehicle categories and an owned-vehicle system
* Mechanic for quick repair, wash, liveries and colours
* Configure as many hospitals as you want

### Works with

* [Realistic Evidence System](https://tk-scripts.gitbook.io/docs/tk_evidence.md) for bullet fragments (sold separately, [Evidence product page](https://tkscripts.com/scripts/evidence?utm_source=gitbook\&utm_medium=docs\&utm_content=ambulance-job))
* Inventories: ox\_inventory, qb-inventory, qs-inventory or custom
* Targets: ox\_target, qb-target or custom 3D text prompts

### Config and languages

* Change injuries, debuffs, items, timers, menus, EMS actions and hospitals in config.lua
* English and Finnish included; add more languages in the locales folder

## Requirements

| Item      | Supported                                                                     |
| --------- | ----------------------------------------------------------------------------- |
| Framework | ESX, QBCore, Qbox. Another framework works after editing the framework files. |
| Database  | oxmysql or mysql-async                                                        |
| Inventory | ox\_inventory, qb-inventory, qs-inventory                                     |
| Target    | ox\_target or qb-target (optional)                                            |
| Models    | A stretcher and a wheelchair model, linked in `README.txt`                    |
| Languages | English, Finnish                                                              |

Hospital locations default to Gabz Pillbox Hospital and can be moved to any MLO in `config.lua`. Distress signals can go to [tk\_dispatch](https://tk-scripts.gitbook.io/docs/tk_dispatch.md) or cd\_dispatch, and bullet fragments need [tk\_evidence](https://tk-scripts.gitbook.io/docs/tk_evidence.md), sold separately ([Dispatch](https://tkscripts.com/scripts/dispatch?utm_source=gitbook\&utm_medium=docs\&utm_content=ambulance-job) and [Evidence](https://tkscripts.com/scripts/evidence?utm_source=gitbook\&utm_medium=docs\&utm_content=ambulance-job) product pages). Every dependency and its start order: [Ambulance Job installation](https://tk-scripts.gitbook.io/docs/tk_ambulancejob/installation.md#requirements).

[Advanced Ambulance Job product page](https://tkscripts.com/scripts/ambulance-job?utm_source=gitbook\&utm_medium=docs\&utm_content=ambulance-job)

## Start here

* [Install Ambulance Job](https://tk-scripts.gitbook.io/docs/tk_ambulancejob/installation.md)
* [Update without losing your config](https://tk-scripts.gitbook.io/docs/tk_ambulancejob/installation.md#update-without-losing-your-config)
* [Set up hospitals, injuries and items](https://tk-scripts.gitbook.io/docs/tk_ambulancejob/config.md)
* [Revive players from other resources](https://tk-scripts.gitbook.io/docs/tk_ambulancejob/exports/server.md#revive)
* [Fix common problems](https://tk-scripts.gitbook.io/docs/tk_ambulancejob/common-questions-and-problems.md)

Support: open a ticket in the [TK Scripts Discord](https://discord.gg/YndnF9tkqu).
