Paid Resources🚑 filo_ambulance
Installation
Dependencies, items, job, start order and your first hospital.
Dependencies
| Resource | Required | Used for |
|---|---|---|
| ox_lib | Yes | Menus, notifications, commands |
| oxmysql | Yes | Hospitals and respawn wipes |
| filo_joblib | Yes | Carry, escort, put in and take out of vehicles (included in the download) |
qbx_core, qb-core or es_extended | Yes | Framework |
ox_target or qb-target | Yes | Interactions |
| ox_inventory | Strongly recommended | Medical bag storage, pharmacies and item wear |
| filo_ui | Optional | Hides the HUD while you're down |
| sd-phone / sd-tablet | Optional | Distress calls as phone notifications and on the EMS MDT |
| sleepless_prompts | Optional | Accept and decline prompts for carry and escort |
| illenium-appearance, fivem-appearance | Optional | Work outfits (or your framework's clothing) |
Everything you need is in the !INSTALLATION folder, numbered in the order you use it.
Setup
Put
filo_ambulance and filo_joblib in your resources folder. Don't rename them.Database: nothing to do. The
filo_hospitals and filo_respawn_wipes tables are created on the first start. Only if the console shows CREATE command denied, import !INSTALLATION/1_database/filo_ambulance.sql.Items:
- With ox_inventory, paste
!INSTALLATION/2_items/ox_inventory/items.luajust above the last}ofox_inventory/data/items.lua. - With qb-inventory, paste
!INSTALLATION/2_items/qb-core/items.luaintoQBShared.Itemsinqb-core/shared/items.lua.
Also add the filo_joblib items. See filo_joblib installation.
Copy the pictures from
!INSTALLATION/3_images to ox_inventory/web/images or qb-inventory/html/images. There's no gauze.png yet, so add your own.EMS job: most servers already have an ambulance job. If yours doesn't:
| Framework | Add |
|---|---|
| Qbox | 4_job/qbx_core/jobs.lua to qbx_core/shared/jobs.lua |
| QBCore | 4_job/qb-core/jobs.lua to qb-core/shared/jobs.lua |
| ESX | Import 4_job/esx/jobs.sql |
If your EMS job has a different name, add it to Config.job.names.
server.cfg: start filo_ambulance after everything it needs:
ensure oxmysql
ensure ox_lib
ensure qbx_core # or qb-core / es_extended
ensure ox_inventory
ensure ox_target # or qb-target
ensure filo_joblib
ensure filo_ambulanceAdmin commands and the hospital creator need
group.admin. If you don't have it: add_principal identifier.license:YOUR_LICENSE group.admin.Optional: with filo_ui, paste the line from
!INSTALLATION/6_optional/filo_ui.lua into filo_ui/config.lua so the HUD hides while you're down.Set your server name, logo and colours in
Config.branding, then start the server.Your first hospital
- Join as an admin and run
/hospitalcreator. - Edit the default hospital or create a new one.
- Go through the tabs: blip, zone, NPCs, beds, stashes, pharmacies and garages.
- Changes save on their own and update live for every player.
The stock Pillbox hospital is added when Config.defaultHospitals.pillbox is on. Work outfits per
grade are set in data/hospitals.lua before the first start, or in the database afterwards.
Troubleshooting
| Problem | Fix |
|---|---|
| "Could not find dependency filo_joblib" | Install filo_joblib and ensure it before filo_ambulance |
| Items have no picture | Copy the images (step 4), or restart your game to clear the cache |
| "Check Injuries" or "Revive" missing | Check Config.job.names, and start your target script before filo_ambulance. Revive only shows on downed players |
/hospitalcreator says no permission | You don't have group.admin (step 7) |
| Medical bags have no storage, pharmacies don't open | These need ox_inventory |
| Someone lost items after respawning | /respawnwipes [id], then /restorewipe [wipe id] [id] |
Player text is in locales/ (English, German, French, Greek, Italian, Brazilian Portuguese and Swedish).