NPC Medic
Installation
A straightforward install — no SQL required. Just drop the resource, add it to your cfg, and configure.
Steps
1
Copy the resource
Place the
eclipsys_npc_medic folder into your server's resources directory.2
Add to server.cfg
Must load after your framework. If using
wasabi_ambulance, ensure it starts before this resource.3
Configure
Edit
config.lua to set price, revive time, EMS threshold, doctor model, and more. See the Configuration page for all options.4
Restart your server
A full server restart is recommended on first install.
server.cfg
server.cfg
# framework (one of):
ensure es_extended
# ensure qb-core
# recommended revive resource (must be named exactly this):
ensure wasabi_ambulance
ensure eclipsys_npc_medic
wasabi_ambulance must be named exactly wasabi_ambulance and must start before eclipsys_npc_medic, otherwise the export will fail and the script will fall back to the legacy revive method.Revive fallback chain
The script tries each revive method in order and uses the first one available:
| Priority | Resource | Framework |
|---|---|---|
| 1st | wasabi_ambulance | ESX + QBCore |
| 2nd | esx_ambulancejob | ESX only |
| 2nd | hospital | QBCore only |
Troubleshooting
/help command does nothing — The command only works while the player is in a dead or bleeding-out state.
No framework detected warning in console — Verify
es_extended or qb-core is started before eclipsys_npc_medic in your cfg.wasabi_ambulance export failing — Check the resource name is exactly
wasabi_ambulance (no prefix, no suffix) and it starts before this resource. The script will fall back automatically but log a warning.