📦Installation

1. Add Transport Garage to Your Garages Config

Add the following entry to your garages config. This garage is where transport companies will collect impounded vehicles for transport.

{
    Label = "Vehicle Transport Garage",
    Garage = "vehicletransport",
    Type = "standard",
    VehicleType = "vehicle",
    AllowTransport = true,
    Bays = {
        {
            Spawn = vector4(907.32281, -1054.226, 32.41579, 91.499694),
            Zone = {
                vector = vector3(907.322815, -1054.226074, 32.415791),
                length = 4.4,
                width = 5.8,
                options = {
                    heading = 0,
                    minZ = 30.415790557861,
                    maxZ = 34.415790557861
                }
            },
        },
    }
},

1.1 Add Required Garages Export

At the bottom of your garages config, add (or confirm you already have) the following export:

exports('getGarageConfig', function()
	return Config.Garages
end)

This allows the Vehicle Transport script to access your garage definitions.


2. Database Setup

Depending on your installation state:

  • First-time installation: Run the included:

    vehicletransport.sql
  • Updating the script: Run:

    updatesql.sql

This will create or update the required database tables for tracking transported vehicles.


🎉 Installation Complete

Your Vehicle Transport garage is now registered, and the script can access your garage configuration and database tables. You may now configure additional options inside the script’s config.lua as needed.

Last updated