Installation

From Keymaster to a running resource

Five minutes from Keymaster to a running resource. Read the dependencies first — nine out of ten support tickets are a missing ox_lib.

Install it

  1. Download the resource

    Download va_emsmdt.zip from your Cfx Keymaster and unzip it into resources/[va].

    The folder must be named va_emsmdt — rename it if it unzips under a different name (e.g. with a version number). The script will not start under any other name.

  2. Add it to server.cfg

    Order matters — ox_lib and oxmysql must start before the MDT.

    server.cfg
    ensure ox_lib
    ensure oxmysql
    ensure va_emsmdt
  3. Restart the server

    Restart the server and join as an ambulance job to open the MDT.

Dependencies

Install these before the MDT. Versions below are the minimums we test against.

ResourceVersionRequired
ox_lib3.20.0Yes
oxmysql2.9.0Yes
ox_target1.16.0Yes
es_extended1.9.0Yes

Configuration

config.lua is plain text and escrow-free. Edit it before the first start.

config.lua
Config = {}

Config.Locale       = 'da'
Config.AllowedJobs  = { 'ambulance' }
Config.BleedOut     = 300 -- seconds
Config.RespawnCost  = 500

Config.Modules = {
  records = true,
  triage  = true,
  billing = true,
}

Troubleshooting

MDT does not open

Your job name is not in Config.AllowedJobs. EMS jobs are matched exactly.

Billing does not deduct

The society account is missing. Confirm esx_society is running and the ambulance society exists.

Still stuck

Open a ticket in the Discord with your config and console output. Median reply is four hours.