Vehicles

data/vehicles.lua

Define all vehicles that EMS may want to spawn (or use) during their duties.

Definitions must be added in order to interact with a vehicle as an EMS (e.g: withdrawing mobility devices, storing players within a vehicle for transport, etc).

local vehicles = {
    ["ambulance"] = {
        model = `ambulance`,
        label = "Ambulance",
        entry_offset = vector3(-4.5, 0, 0),
        stores = {
            wheelchair = {
                name = "Wheelchair",
                icon = "fa-solid fa-wheelchair",
                count = 2,
                offsets = {
                    {
                        pos = vector3(0,0,0),
                        rot = vector3(0,0,0)
                    },
                    {
                        pos = vector3(0,0,0),
                        rot = vector3(0,0,0)
                    },
                }
            },
            stretcher = {
                name = "Stretcher",
                icon = "fa-solid fa-truck-medical",
                count = 2,
                offsets = {
                    {
                        pos = vector3(0,0,0),
                        rot = vector3(0,0,0)
                    },
                    {
                        pos = vector3(0,0,0),
                        rot = vector3(0,0,0)
                    },
                }
            },
        },
        contains = {
            wheelchair = {
                name = "Wheelchair",
                icon = "fa-solid fa-wheelchair",
            },
            stretcher = {
                name = "Stretcher",
                icon = "fa-solid fa-truck-medical",
            },
        }
    }
}

Last updated