NPC Medic
Installation
No SQL. Drop the resource in, start it after ox_target and set your station and hospital coordinates.
Steps
1
Copy the resource
Place the
dh_npc_medic folder in your resources directory.2
Add to server.cfg
After your framework, ox_target and your ambulance resource.
3
Set your stations
Edit
Config.StandingMedic.locations with the coordinates of each medic station.4
Set your hospitals
Edit
Config.RescueMedic.hospitals. The nearest one is used for the ride.5
Tune the rest
Prices, cooldowns, crutch time, ped and vehicle are all in
config.lua. See Configuration.6
Restart
Full server restart on first install.
server.cfg
server.cfg
# framework (one of):
ensure es_extended
# ensure qb-core
ensure ox_lib
ensure ox_target
ensure wasabi_ambulance # or wasabi_ambulance_v2 / esx_ambulancejob
ensure wasabi_crutch # optional
ensure dh_npc_medic
Revive fallback chain
| Priority | Resource | Framework |
|---|---|---|
| 1st | wasabi_ambulance_v2 / wasabi_ambulance | ESX + QBCore |
| 2nd | esx_ambulancejob | ESX |
| 2nd | hospital | QBCore |
| Last | Built-in resurrect | Both |
Troubleshooting
/help does nothing — It only works while you're dead or bleeding out, and only when fewer EMS than
MinimumEMSToDisableAI are online.No menu at a station — Start
ox_target before this resource, and check the station coordinates aren't inside a wall or object.Medic never teleports in somewhere unreachable — Your spot may be closer to a road or shore than expected. Tune
inaccessibleRoadDistance, inaccessibleHeightDiff and waterCheckRadius.No full heal on wasabi_ambulance v1 — v1 only has a client export, so it runs on the player's client. The resource must be named exactly
wasabi_ambulance and be started.Drop-off stops short of the hospital — Tune
hospitalArriveDistance, hospitalNearMissRadius and hospitalStoppedTimeoutMs. The player is always placed at the exact hospital coordinates on arrival.Society money not arriving — ESX needs
esx_addonaccount and the account to exist. QBCore needs qb-management or qb-banking.