> filo_studios
Paid Resources🚑 filo_ambulance

Installation

Dependencies, items, job, start order and your first hospital.

Dependencies

ResourceRequiredUsed for
ox_libYesMenus, notifications, commands
oxmysqlYesHospitals and respawn wipes
filo_joblibYesCarry, escort, put in and take out of vehicles (included in the download)
qbx_core, qb-core or es_extendedYesFramework
ox_target or qb-targetYesInteractions
ox_inventoryStrongly recommendedMedical bag storage, pharmacies and item wear
filo_uiOptionalHides the HUD while you're down
sd-phone / sd-tabletOptionalDistress calls as phone notifications and on the EMS MDT
sleepless_promptsOptionalAccept and decline prompts for carry and escort
illenium-appearance, fivem-appearanceOptionalWork 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.lua just above the last } of ox_inventory/data/items.lua.
  • With qb-inventory, paste !INSTALLATION/2_items/qb-core/items.lua into QBShared.Items in qb-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:

FrameworkAdd
Qbox4_job/qbx_core/jobs.lua to qbx_core/shared/jobs.lua
QBCore4_job/qb-core/jobs.lua to qb-core/shared/jobs.lua
ESXImport 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_ambulance
Admin 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

  1. Join as an admin and run /hospitalcreator.
  2. Edit the default hospital or create a new one.
  3. Go through the tabs: blip, zone, NPCs, beds, stashes, pharmacies and garages.
  4. 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

ProblemFix
"Could not find dependency filo_joblib"Install filo_joblib and ensure it before filo_ambulance
Items have no pictureCopy the images (step 4), or restart your game to clear the cache
"Check Injuries" or "Revive" missingCheck Config.job.names, and start your target script before filo_ambulance. Revive only shows on downed players
/hospitalcreator says no permissionYou don't have group.admin (step 7)
Medical bags have no storage, pharmacies don't openThese 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).

On this page