Need help? Join our Discord for support and updates

Trucker

v1.0.0JobESXQBQBOX
On this page

Trucker

Overview

The Trucker script provides players with a dedicated trucking job in the GTA V roleplay environment. Players can take on various trucking tasks, earning experience and rewards as they progress. The script features commands for customizing trailers and pallets, as well as managing and canceling jobs. With a user-friendly interface, it enhances the roleplaying experience for those looking to engage in trucking activities.

Compatibility

Framework: ESX, QBCore, QBox, Standalone

Target: ox_target, qb-target, or qtarget (optional) — falls back to 3D text / TextUI if none are installed

Dependencies

Required Dependencies

  • ox_lib

Optional Dependencies

  • mysql-async
  • ox_target or qb-target or qtarget
  • es_extended or qb-core

Installation

1. Upload the resource

Place the resource folder inside your server's resources directory (rename it to drc_truckerjob if needed).

2. Install dependencies

Make sure all of the following are installed and started before this script:

  • ox_lib

3. Import database

This script uses a database. Import the included drc_truckerjob/install/experience.sql — or run the following SQL directly:

CREATE TABLE IF NOT EXISTS `drc_truckerjob` (
  `identifier` varchar(255) NOT NULL,
  `experience` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

CREATE TABLE IF NOT EXISTS `drc_truckerjob` (
  `identifier` varchar(255) NOT NULL,
  `experience` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

INSERT INTO `addon_account` (name, label, shared) VALUES
	('society_trucker', 'trucker', 1)
;

INSERT INTO `addon_inventory` (name, label, shared) VALUES
	('society_trucker', 'trucker', 1)
;

INSERT INTO `datastore` (name, label, shared) VALUES
	('society_trucker', 'trucker', 1)
;

INSERT INTO `jobs` (name, label) VALUES
	('trucker', 'trucker')
;

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
	('trucker',0,'worker','Worker',120,'{}','{}')
;

4. Add to server.cfg

ensure ox_lib
ensure drc_truckerjob

5. Configure the script

Open the config file and adjust the settings for your server. See the Config section below.

6. Restart and test

Restart your server (or start the resource) and test it in-game, e.g. with /customTrailer.

Config

drc_truckerjob/shared/sh_config.lua

--[[
##     ##    ###    #### ##    ##     ######   #######  ##    ## ######## ####  ######   
###   ###   ## ##    ##  ###   ##    ##    ## ##     ## ###   ## ##        ##  ##    ##  
#### ####  ##   ##   ##  ####  ##    ##       ##     ## ####  ## ##        ##  ##        
## ### ## ##     ##  ##  ## ## ##    ##       ##     ## ## ## ## ######    ##  ##   #### 
##     ## #########  ##  ##  ####    ##       ##     ## ##  #### ##        ##  ##    ##  
##     ## ##     ##  ##  ##   ###    ##    ## ##     ## ##   ### ##        ##  ##    ##  
##     ## ##     ## #### ##    ##     ######   #######  ##    ## ##       ####  ######   
--]]


Config = {}
Config.Locale = 'en'
Config.Debug = false -- If debug true then commands /customTrailer and /customPallets will work
Config.Framework = 'auto-detect'  --  'qbcore' or 'esx' /  auto-detect
Config.NewESX = true
Config.InteractionType = "textui" -- target or textui or 3dtext | which type of interaction you want
Config.FrameworkTarget = 'auto-detect' --qtarget or qb-target or ox_target / auto-detect
Config.Job = 'trucker' -- Only works if require Job True
Config.FuelType = 'ox_fuel' -- legacy_fuel / ox_fuel / ps_fuel / cdn_fuel / rcore
Config.NotificationType = 'ox_lib'
Config.Menu = 'ox_lib' -- qbcore / ox_lib / esx
Config.Progress = 'ox_lib' -- qbcore / ox_lib /
Config.TextUI = "ox_lib" -- TextUIs | types: esx, ox_lib, luke
Config.Clothing = "auto-detect" -- Skin / Clothing | types: auto-detect, esx_skin, qb-clothing, fivem-appearance, ox_appearance, illenium-appearance
Config.RequireClothing = false -- change this to false if you don't want to require clothing
Config.RequireJob = false -- set this to false if you want the job to be visible to everyone
Config.KeySystem = 'none' -- qs, wasabi, fivecode, qbcore
Config.ClientSideKeys = false -- if keysystem for qbcore or other doesent work use this
Config.RewardCooldown = 120 -- for a 5-minute cooldown, for example
Config.MeasurementSystem = 'Imperial' -- Metric or Imperial
Config.Logs = { enabled = true, type = "webhook" } --Change webhook in  use webhook or ox_lib (datadog) Can be changed in server > sv_utils.lua

Config.Voice = {
    Enabled = true,
    Type = 'pma-voice' -- or pma-voice
}

Config.RequiredLicense =  {
    Enabled = false,
    Type = "driver_license"
}


Config.Sleep = {
    Enabled = true, -- Enable or disable sleep feature
    Sound = true, -- Play yawning sound when falling asleep
    Duration = 2500, -- Duration of black screen in milliseconds (e.g., 2500ms = 2.5 seconds)
    Chance = 2, -- 2% chance to fall asleep
    CheckInterval = 10000, -- Time in milliseconds between each check (e.g., 10000ms = 10 seconds)
    Time = { -- Event can happen between these in-game hours
        from = 20,  -- From 8:00 PM
        to = 6     -- To 6:00 AM
    },
    CoffeeEffect = {
        Enabled = true, -- If true, coffee reduces the chance to fall asleep and get flat tires
        ReducedChanceSleep = 1, -- Reduced chance percentage when coffee is active for sleep
        ReducedChanceTyre = 1, -- Reduced chance percentage when coffee is active for tire puncture
        Duration = 5, -- Duration of coffee effect in minutes
    }
}

Config.TirePuncture = {
    Enabled = true, -- Enable or disable the tire puncture feature
    Chance = 1, -- Percentage chance (1-100) for tires to puncture each check (e.g., 2% chance)
    CheckInterval = 10000, -- Time in milliseconds between each check (e.g., 10000ms = 10 seconds)
}

Config.Blip = {
    Pos = {-272.4881, -2496.8445, 7.2961},
    Sprite = 477,
    Display = 4,
    Scale = 1.0, 
    Colour = 3,
    ShortRange = true,
    Name = "Trucker Job"
}


Config.BlipCustomization = {
    customer = {
        Sprite = 801,
        Colour = 5,
        Scale = 1.0,
    },
    trailer = {
        Name = 'Trailer',
        Sprite = 479,
        Colour = 18,
        Scale = 1.0,
    },
    garage = {
        Name = 'Garage',
        Sprite = 524,
        Colour = 81,
        Scale = 1.0,
    }
}


Config.Station = {
    TabletLocations = vec4(-272.5314, -2496.0271, 6.2961, 184.9787), -- Where players can start mission
    ChangeClothesLocation = vec3(-263.9320, -2485.8618, 7.2961), -- Location for changing clothes
    ReturnTrucksLocation = vec3(-152.3895, -2561.2717, 6.0098),  --Location for truck return
}

--[[
########  ######## ##    ##  ######   #######  ##    ##    ##     ## ####  ######   ######  ####  #######  ##    ##  ######  
##     ## ##       ###   ## ##    ## ##     ## ###   ##    ###   ###  ##  ##    ## ##    ##  ##  ##     ## ###   ## ##    ## 
##     ## ##       ####  ## ##       ##     ## ####  ##    #### ####  ##  ##       ##        ##  ##     ## ####  ## ##       
########  ######   ## ## ##  ######  ##     ## ## ## ##    ## ### ##  ##   ######   ######   ##  ##     ## ## ## ##  ######  
##     ## ##       ##  ####       ## ##     ## ##  ####    ##     ##  ##        ##       ##  ##  ##     ## ##  ####       ## 
##     ## ##       ##   ### ##    ## ##     ## ##   ###    ##     ##  ##  ##    ## ##    ##  ##  ##     ## ##   ### ##    ## 
########  ######## ##    ##  ######   #######  ##    ##    ##     ## ####  ######   ######  ####  #######  ##    ##  ######  
--]]

Config.MuleMission = {
    Vehicle = 'benson', -- Vehicle model for mule delivery missions (e.g. 'benson', 'mule', 'pounder')
    PalletOffsets = { -- Offsets for attaching pallets to the vehicle (adjust per vehicle model)
        ReferencePalletOffset = { x = 0.0, y = -7.0, z = 0.0 }, -- Where the ghost/reference pallet appears behind the vehicle
        TrunkDoor = 5, -- Vehicle door index to open for loading (5 = rear door for benson)
        VehiclePalletPositions = { -- Offsets for each pallet slot inside the vehicle (pallet 1, 2, 3, 4...)
            { x = 0.0, y = -0.3, z = 0.1 },
            { x = 0.0, y = -1.7, z = 0.1 },
            { x = 0.0, y = -3.1, z = 0.1 },
            { x = 0.0, y = -4.5, z = 0.1 },
        },
    },
    SpawningLocation = {
        spawnpoints = {
            vec4(-219.4198, -2484.4480, 6.0014, 86.7699),
            vec4(-249.1173, -2460.0610, 5.9996, 144.7785),
            vec4(-242.0246, -2469.4729, 6.0013, 139.1567),

        },
    },
    Missions = {
        ['DeliverCement'] = {
            LvlNeed = 0,
            DeliveryLocations = {
                GetCargolocation = {
                    LocationName = "Cement Factory",
                    PedModel = 's_m_y_dockwork_01',
                    CustomerLocation = vec4(217.1133, -3116.5117, 4.7903, 40.8606),
                    ForkliftLocation = vec4(203.3961, -3106.5227, 4.7903, 268.9168),
                    PalletSpawns = {
                        {
                            coords = vec4(219.0329, -3103.9236, 4.7786, 358.2836),
                            model = 'prop_cementbags01',
                            offset = { x = 0.0, y = -0.3, z = 0.1 }
                        },
                        {
                            coords = vec4(215.5095, -3103.9692, 4.7903, 182.6351),
                            model = 'prop_cementbags01',
                            offset = { x = 0.0, y = -1.7, z = 0.1 }
                        },
                        {
                            coords = vec4(212.7058, -3104.0393, 4.7903, 181.5352),
                            model = 'prop_cementbags01',
                            offset = { x = 0.0, y = -3.1, z = 0.1 }
                        },
                        {
                            coords = vec4(209.6866, -3103.9626, 4.7903, 178.2347),
                            model = 'prop_cementbags01',
                            offset = { x = 0.0, y = -4.5, z = 0.1 }
                        }
                    }
                },
                DeliverLocation = {
                    LocationName = "Construction working",
                    PedModel = 's_m_y_construct_01',
                    CustomerLocation = vec4(106.9104, -440.1762, 40.1308, 247.9411),
                    ForkliftLocation = vec4(112.8087, -431.9093, 40.1142, 222.7956),
                    PalletsDeliverLocation = {
                        vec4(118.1829, -445.8178, 40.1250, 168.7805),
                        vec4(115.4287, -445.0380, 40.1294, 163.6709),
                        vec4(112.9353, -444.1770, 40.1294, 160.2781),
                        vec4(110.4385, -443.4191, 40.1308, 160.1600),
                    }
                },
            },
            Informations = {
                Header = 'Cement Delivery',
                Details = 'Deliver cement.',
                Status = 'Safe',
                Salary = 500,
                Experience = 1,
            },
        },
        ['Deliver Furniture'] = {
            LvlNeed = 0,
            DeliveryLocations = {
                GetCargolocation = {
                    LocationName = "Big Mall",
                    PedModel = 's_m_y_dockwork_01',
                    CustomerLocation = vec4(2710.0015, 3455.1187, 55.3173, 138.0439),
                    ForkliftLocation = vec4(2703.8306, 3446.7458, 54.8012, 0.6400),
                    PalletSpawns = {
                        {
                            coords = vec3(2700.9800, 3456.7732, 55.7113),
                            model = 'chairPallet',
                            offset = { x = 0.0, y = -0.3, z = 0.1 }
                        },
                        {
                            coords = vec3(2703.6179, 3455.7048, 55.7112),
                            model = 'chairPallet',
                            offset = { x = 0.0, y = -1.7, z = 0.1 }
                        },
                        {
                            coords = vec3(2706.3987, 3454.6921, 55.7055),
                            model = 'chairPallet',
                            offset = { x = 0.0, y = -3.1, z = 0.1 }
                        },
                        {
                            coords = vec3(2696.2988, 3453.3904, 55.7941),
                            model = 'chairPallet',
                            offset = { x = 0.0, y = -4.5, z = 0.1 }
                        }
                    }
                },
                DeliverLocation = {
                    LocationName = "Furniture Buyer",
                    PedModel = 's_m_y_construct_01',
                    CustomerLocation = vec4(160.9626, 172.7533, 104.9199, 65.1696),
                    ForkliftLocation = vec4(157.8939, 181.3434, 104.4406, 163.2509),
                    PalletsDeliverLocation = {
                        vec3(155.9255, 170.8251, 104.0987),
                        vec3(154.9089, 167.6294, 104.0033),
                        vec3(154.0028, 164.9425, 103.9242),
                        vec3(153.1092, 162.2596, 103.8607),
                    }
                },
            },
            Informations = {
                Header = 'Furniture Delivery',
                Details = 'Deliver furniture from the mall.',
                Status = 'Safe',
                Salary = 900,
                Experience = 1,
            },
        },
        ['Deliver Coolers'] = {
            LvlNeed = 0,
            DeliveryLocations = {
                GetCargolocation = {
                    LocationName = "Coolers Shop",
                    PedModel = 'S_M_Y_WareTech_01',
                    CustomerLocation = vec4(-238.6900, -1397.9626, 30.2812, 280.0739),
                    ForkliftLocation = vec4(-228.5444, -1396.2152, 31.2584, 106.8251),
                    PalletSpawns = {
                        {
                            coords = vec3(-236.7806, -1392.7648, 31.2709),
                            model = 'coolerPallet',
                            offset = { x = 0.0, y = -0.3, z = 0.1 }
                        },
                        {
                            coords = vec3(-236.3246, -1395.7886, 31.2937),
                            model = 'coolerPallet',
                            offset = { x = 0.0, y = -1.7, z = 0.1 }
                        },
                        {
                            coords = vec3(-235.8449, -1398.6178, 31.3096),
                            model = 'coolerPallet',
                            offset = { x = 0.0, y = -3.1, z = 0.1 }
                        },
                        {
                            coords = vec3(-235.3253, -1401.1281, 31.3071),
                            model = 'coolerPallet',
                            offset = { x = 0.0, y = -4.5, z = 0.1 }
                        }
                    }
                },
                DeliverLocation = {
                    LocationName = "Coolers Buyer",
                    PedModel = 'IG_TalMM',
                    CustomerLocation = vec4(1375.1287, 1148.4352, 112.9058, 72.6289),
                    ForkliftLocation = vec4(1366.8649, 1136.1394, 113.7591, 15.2296),
                    PalletsDeliverLocation = {
                        vec3(1365.5844, 1158.6031, 112.7590),
                        vec3(1368.4979, 1156.3562, 112.7590),
                        vec3(1370.9238, 1153.2651, 112.7590),
                        vec3(1372.2723, 1149.4110, 112.7590),
                    }
                },
            },
            Informations = {
                Header = 'Cooler Delivery',
                Details = 'Deliver Coolers.',
                Status = 'Fragile',
                Salary = 900,
                Experience = 1,
            },
        },
        ['Deliver Boxes'] = {
            LvlNeed = 0,
            DeliveryLocations = {
                GetCargolocation = {
                    LocationName = "Ventilation Shop",
                    PedModel = 'S_M_Y_WareTech_01',
                    CustomerLocation = vec4(146.1174, -1058.9918, 29.1861, 57.5814),
                    ForkliftLocation = vec4(131.4622, -1056.7273, 29.1924, 251.1337),
                    PalletSpawns = {
                        {
                            coords = vec3(146.2279, -1062.4550, 29.1923),
                            model = 'boxPallet',
                            offset = { x = 0.0, y = -0.3, z = 0.1 }
                        },
                        {
                            coords = vec3(143.4780, -1061.6827, 29.1923),
                            model = 'boxPallet',
                            offset = { x = 0.0, y = -1.7, z = 0.1 }
                        },
                        {
                            coords = vec3(140.7842, -1061.1256, 29.1923),
                            model = 'boxPallet',
                            offset = { x = 0.0, y = -3.1, z = 0.1 }
                        },
                        {
                            coords = vec3(137.6409, -1060.2402, 29.1924),
                            model = 'boxPallet',
                            offset = { x = 0.0, y = -4.5, z = 0.1 }
                        }
                    }
                },
                DeliverLocation = {
                    LocationName = "Boxes Buyer",
                    PedModel = 'CS_Molly',
                    CustomerLocation = vec4(-785.0042, 369.2751, 86.8739, 239.8383),
                    ForkliftLocation = vec4(-767.5013, 368.1804, 87.8708, 184.0897),
                    PalletsDeliverLocation = {
                        vec3(-780.7099, 373.5577, 86.8760),
                        vec3(-778.4616, 373.5939, 86.8759),
                        vec3(-775.8936, 373.7306, 86.8759),
                        vec3(-772.4606, 373.8937, 86.8759),
                    }
                },
            },
            Informations = {
                Header = 'Boxes Delivery',
                Details = 'Deliver boxes.',
                Status = 'Safe',
                Salary = 900,
                Experience = 1,
            },
        },
        ['Deliver Radioactive Material'] = {
            LvlNeed = 5,
            DeliveryLocations = {
                GetCargolocation = {
                    LocationName = "Material supplier",
                    PedModel = 'CSB_Labrat',
                    CustomerLocation = vec4(2675.4709, 1423.6388, 23.5008, 7.3378),
                    ForkliftLocation = vec4(2672.6150, 1417.7533, 24.5133, 3.4405),
                    PalletSpawns = {
                        {
                            coords = vec3(2670.3337, 1426.5355, 24.5008),
                            model = 'radioactivePallet',
                            offset = { x = 0.0, y = -0.3, z = 0.1 }
                        },
                        {
                            coords = vec3(2671.0684, 1429.5796, 24.5008),
                            model = 'radioactivePallet',
                            offset = { x = 0.0, y = -1.7, z = 0.1 }
                        },
                        {
                            coords = vec3(2671.2063, 1431.9572, 24.5008),
                            model = 'radioactivePallet',
                            offset = { x = 0.0, y = -3.1, z = 0.1 }
                        },
                        {
                            coords = vec3(2670.6895, 1434.0175, 24.5008),
                            model = 'radioactivePallet',
                            offset = { x = 0.0, y = -4.5, z = 0.1 }
                        }
                    }
                },
                DeliverLocation = {
                    LocationName = "Material Receiver",
                    PedModel = 'S_M_M_HazmatWorker_01',
                    CustomerLocation = vec4(3489.0620, 3664.1492, 32.8884, 6.5959),
                    ForkliftLocation = vec4(3492.9041, 3679.9902, 33.9296, 169.2055),
                    PalletsDeliverLocation = {
                        vec3(3485.3982, 3666.5090, 32.8884),
                        vec3(3483.0161, 3667.0120, 32.8884),
                        vec3(3480.0439, 3667.7034, 32.8884),
                        vec3(3477.1775, 3668.3552, 32.8868),
                    }
                },
            },
            Informations = {
                Header = 'Radioactive Delivery',
                Details = 'Deliver to labs.',
                Status = 'Dangerous',
                Salary = 980,
                Experience = 5,
            },
        },
        ['Deliver Medical Supplies'] = {
            LvlNeed = 0,
            DeliveryLocations = {
                GetCargolocation = {
                    LocationName = "Medical supplies",
                    PedModel = 'S_M_M_Doctor_01',
                    CustomerLocation = vec4(322.1375, -555.5923, 27.7438, 350.8233),
                    ForkliftLocation = vec4(329.4639, -557.3679, 28.7438, 67.6841),
                    PalletSpawns = {
                        {
                            coords = vec3(316.7890, -555.2701, 28.7438),
                            model = 'ex_prop_crate_closed_ms',
                            offset = { x = 0.0, y = -0.3, z = 0.1 }
                        },
                        {
                            coords = vec3(316.7716, -552.6840, 28.7438),
                            model = 'ex_prop_crate_closed_ms',
                            offset = { x = 0.0, y = -1.7, z = 0.1 }
                        },
                        {
                            coords = vec3(316.6400, -549.8007, 28.7438),
                            model = 'ex_prop_crate_closed_ms',
                            offset = { x = 0.0, y = -3.1, z = 0.1 }
                        },
                        {
                            coords = vec3(316.7738, -547.1617, 28.7438),
                            model = 'ex_prop_crate_closed_ms',
                            offset = { x = 0.0, y = -4.5, z = 0.1 }
                        }
                    }
                },
                DeliverLocation = {
                    LocationName = "Material Receiver",
                    PedModel = 'S_M_Y_ArmyMech_01',
                    CustomerLocation = vec4(-2241.9238, 3325.1294, 31.9994, 324.3016),
                    ForkliftLocation = vec4(-2245.1499, 3330.9294, 33.0199, 247.2632),
                    PalletsDeliverLocation = {
                        vec3(-2239.4199, 3342.7700, 33.0731),
                        vec3(-2238.6506, 3345.0251, 33.0728),
                        vec3(-2236.7527, 3347.6445, 33.1039),
                        vec3(-2234.8506, 3349.6804, 33.1518),
                    }
                },
            },
            Informations = {
                Header = 'Medical Delivery',
                Details = 'Deliver medical supplies.',
                Status = 'Fragile',
                Salary = 250,
                Experience = 5,
            },
        },
    }
}

--[[
######## ########  ##     ##  ######  ##    ##    ##     ## ####  ######   ######  ####  #######  ##    ##  ######  
   ##    ##     ## ##     ## ##    ## ##   ##     ###   ###  ##  ##    ## ##    ##  ##  ##     ## ###   ## ##    ## 
   ##    ##     ## ##     ## ##       ##  ##      #### ####  ##  ##       ##        ##  ##     ## ####  ## ##       
   ##    ########  ##     ## ##       #####       ## ### ##  ##   ######   ######   ##  ##     ## ## ## ##  ######  
   ##    ##   ##   ##     ## ##       ##  ##      ##     ##  ##        ##       ##  ##  ##     ## ##  ####       ## 
   ##    ##    ##  ##     ## ##    ## ##   ##     ##     ##  ##  ##    ## ##    ##  ##  ##     ## ##   ### ##    ## 
   ##    ##     ##  #######   ######  ##    ##    ##     ## ####  ######   ######  ####  #######  ##    ##  ######  
--]]

Config.TruckDelivery = {
    SpawningLocation = {
        spawnpoints = {
            {
                truckSpawn = vec4(-255.0337, -2495.3469, 6.0006, 232.5934),
                trailerSpawn = vec4(-256.6253, -2499.5454, 6.0006, 229.5874)
            },
            {
                truckSpawn = vec4(-258.6374, -2503.1741, 6.0006, 231.4752),
                trailerSpawn = vec4(-262.0180, -2505.6038, 5.0006, 228.3431)
            },
            {
                truckSpawn = vec4(-220.4539, -2480.9189, 6.0455, 87.0282),
                trailerSpawn = vec4(-220.6683, -2484.8081, 5.0014, 88.0279)
            },
            {
                truckSpawn = vec4(-246.3983, -2568.3979, 6.0014, 359.9635),
                trailerSpawn = vec4(-249.6128, -2568.1440, 5.0006, 0.2022)
            },
        },
    },
        Missions = {
            ['Deliver Wood'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'trflat',
                DeliveringTrailerType = 'trailerlogs',
                LvlNeed = 0,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Wood Seller",
                        PedModel = 's_m_m_cntrybar_01',
                        CustomerLocation = vec4(-841.4392, 5400.9810, 33.6152, 347.1808),
                        MarkerLocation = vec4(-821.2385, 5412.5942, 33.1823, 267.3176),
                    },
                    DeliverLocation = {
                        LocationName = "Wood Buyer",
                        PedModel = 's_m_y_armymech_01',
                        CustomerLocation = vec4(466.9208, 2609.7151, 42.2731, 43.3402),
                        MarkerLocation = vec4(462.6100, 2603.9688, 42.9731, 188.8227),
                    },
                },
                Informations = {
                    Header = 'Wood Delivery',
                    Details = 'Deliver wood.',
                    Status = 'Safe',
                    Salary = 325,
                    Experience = 1,
                },
            },
            ['Deliver oil Barrels'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'tanker2',
                DeliveringTrailerType = 'tanker2',
                LvlNeed = 0,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Barrel oil Supplier",
                        PedModel = 'A_M_Y_StWhi_02',
                        CustomerLocation = vec4(-224.6125, -2666.0366, 5.0005, 6.6258),
                        MarkerLocation = vec4(-229.7077, -2654.1040, 6.0681, 358.7813),
                    },
                    DeliverLocation = {
                        LocationName = "Barrel oil Deliver Receiver",
                        PedModel = 'cs_floyd',
                        CustomerLocation = vec4(1224.8080, -2911.2915, 5.9254, 88.0522),
                        MarkerLocation = vec4(1216.7384, -2925.7056, 5.9336, 1.0554),
                    },
                },
                Informations = {
                    Header = 'Oil Barrels Delivery',
                    Details = 'Deliver oil barrels.',
                    Status = 'Safe',
                    Salary = 325,
                    Experience = 5,
                },
            },
            ['Deliver Millitairy'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'armytrailer',
                DeliveringTrailerType = 'armytrailer2',
                LvlNeed = 10,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Millitary Machine Supplier",
                        PedModel = 'u_m_y_gunvend_01',
                        CustomerLocation = vec4(34.2336, -1035.2334, 29.4886, 68.7164),
                        MarkerLocation = vec4(33.7124, -1040.8721, 29.4494, 68.4225),
                    },
                    DeliverLocation = {
                        LocationName = "Millitairy Deliver Receiver",
                        PedModel = 'csb_ramp_marine',
                        CustomerLocation = vec4(-2226.6226, 3480.3704, 30.1690, 238.0924),
                        MarkerLocation = vec4(-2221.4536, 3481.7642, 30.2284, 177.5414),
                    },
                },
                Informations = {
                    Header = 'Military Delivery',
                    Details = 'Deliver machinery to military base.',
                    Status = 'Dangerous',
                    Salary = 450,
                    Experience = 5,
                },
            },
            ['Deliver Bale'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'trflat',
                DeliveringTrailerType = 'haybaletrailer',
                LvlNeed = 0,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Bale Supplier",
                        PedModel = 'u_m_y_gunvend_01',
                        CustomerLocation = vec4(2308.0840, 4883.4712, 40.8083, 47.8032),
                        MarkerLocation = vec4(2288.8477, 4886.1226, 41.2287, 314.4387),
                    },
                    DeliverLocation = {
                        LocationName = "Bale Deliver Receiver",
                        PedModel = 'csb_ramp_marine',
                        CustomerLocation = vec4(-1111.4376, 4937.2593, 217.3889, 151.8828),
                        MarkerLocation = vec4(-1122.3735, 4938.3140, 218.0582, 197.1719),
                    },
                },
                Informations = {
                    Header = 'Bale Delivery',
                    Details = 'Deliver bales.',
                    Status = 'safe',
                    Salary = 450,
                    Experience = 5,
                },
            },
            ['Deliver Boxes'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'trflat',
                DeliveringTrailerType = 'trBoxes',
                LvlNeed = 0,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Box Supplier",
                        PedModel = 'A_M_Y_StWhi_02',
                        CustomerLocation = vec4(886.7848, -2344.7896, 29.3307, 199.2343),
                        MarkerLocation = vec4(885.5336, -2350.2454, 30.3310, 84.7027),
                    },
                    DeliverLocation = {
                        LocationName = "Box Deliver Receiver",
                        PedModel = 'S_M_M_Postal_02',
                        CustomerLocation = vec4(73.7989, 115.7009, 78.1434, 107.9836),
                        MarkerLocation = vec4(66.9300, 113.2075, 79.0967, 71.4675),
                    },
                },
                Informations = {
                    Header = 'Package Delivery',
                    Details = 'Deliver boxes to customer.',
                    Status = 'Safe',
                    Salary = 325,
                    Experience = 1,
                },
            },
            ['Deliver Vehicles'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'tr2',
                DeliveringTrailerType = 'tr4',
                LvlNeed = 2,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Vehicle Exporter",
                        PedModel = 's_m_m_dockwork_01',
                        CustomerLocation = vec4(1207.0316, -3194.8323, 5.0280, 72.4001),
                        MarkerLocation = vec4(1201.2651, -3189.9563, 6.0280, 182.2834),
                    },
                    DeliverLocation = {
                        LocationName = "Vehicle Buyer",
                        PedModel = 'S_M_M_Postal_02',
                        CustomerLocation = vec4(143.1002, -128.5140, 53.8269, 284.0609),
                        MarkerLocation = vec4(149.2304, -126.7358, 54.8262, 67.9085),
                    },
                },
                Informations = {
                    Header = 'Vehicle Delivery',
                    Details = 'Deliver vehicles to dealership.',
                    Status = 'Fragile',
                    Salary = 325,
                    Experience = 1,
                },
            },
            ['Deliver Yacht'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'trflat',
                DeliveringTrailerType = 'tr3',
                LvlNeed = 5,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Yacht Seller",
                        PedModel = 'a_m_y_beach_03',
                        CustomerLocation = vec4(-736.0800, 5807.9766, 16.5168, 297.3871),
                        MarkerLocation = vec4(-726.4138, 5812.2207, 17.3837, 164.6694),
                    },
                    DeliverLocation = {
                        LocationName = "Yach Buyer",
                        PedModel = 'S_M_M_Postal_02',
                        CustomerLocation = vec4(-1696.5314, -936.1812, 6.6773, 334.3939),
                        MarkerLocation = vec4(-1697.5319, -922.7047, 7.6868, 51.7476),
                    },
                },
                Informations = {
                    Header = 'Yacht Delivery',
                    Details = 'Deliver yacht to beach.',
                    Status = 'Fragile',
                    Salary = 425,
                    Experience = 4,
                },
            },
            ['Deliver International'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'trailers3',
                DeliveringTrailerType = 'trailers3',
                LvlNeed = 5,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Goods Supplier",
                        PedModel = 's_m_m_dockwork_01',
                        CustomerLocation = vec4(209.3752, -3320.2427, 4.7917, 173.9305),
                        MarkerLocation = vec4(210.1648, -3327.1460, 5.7936, 271.1453),
                    },
                    DeliverLocation = {
                        LocationName = "Goods Reciever",
                        PedModel = 'S_M_M_Postal_02',
                        CustomerLocation = vec4(131.0504, 6632.4395, 30.6921, 210.8859),
                        MarkerLocation = vec4(137.7279, 6627.4380, 31.6687, 137.6121),
                    },
                },
                Informations = {
                    Header = 'International Delivery',
                    Details = 'Deliver goods to Paleto Bay.',
                    Status = 'Safe',
                    Salary = 325,
                    Experience = 4,
                },
            },
            ['Deliver Medical Supply'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'trflat',
                DeliveringTrailerType = 'trBoxes',
                LvlNeed = 0,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Medical Supplier",
                        PedModel = 's_f_y_scrubs_01',
                        CustomerLocation = vec4(-421.1847, -358.6815, 31.9449, 90.5135),
                        MarkerLocation = vec4(-427.8885, -354.6732, 33.1321, 172.7055),
                    },
                    DeliverLocation = {
                        LocationName = "Medical Deliver",
                        PedModel = 's_m_m_doctor_01',
                        CustomerLocation = vec4(323.3027, -557.5977, 27.7441, 355.3064),
                        MarkerLocation = vec4(319.0028, -545.2281, 28.8114, 89.9038),
                    },
                },
                Informations = {
                    Header = 'Medical Delivery',
                    Details = 'Deliver medical supply to hospital.',
                    Status = 'Fragile',
                    Salary = 325,
                    Experience = 1,
                },
            },
            ['Deliver Electric materials'] = {
                TruckModel = `phantom`,
                StartingTrailerType = 'trflat',
                DeliveringTrailerType = 'electrailer',
                LvlNeed = 5,
                DeliveryLocations = {
                    GetTrailer = {
                        LocationName = "Electric Pickup",
                        PedModel = 'a_m_m_hillbilly_01',
                        CustomerLocation = vec4(2360.5798, 3126.4692, 48.2087, 29.4609),
                        MarkerLocation = vec4(2356.5215, 3133.4102, 48.2734, 259.6808),
                    },
                    DeliverLocation = {
                        LocationName = "Electric Delivery",
                        PedModel = 'cs_floyd',
                        CustomerLocation = vec4(1521.5516, -2114.0549, 76.8022, 256.5153),
                        MarkerLocation = vec4(1531.2205, -2107.8159, 76.9582, 356.5168),
                    },
                },
                Informations = {
                    Header = 'Electric Delivery',
                    Details = 'Deliver electric materials.',
                    Status = 'Safe',
                    Salary = 425,
                    Experience = 4,
                },
            },
        }
}

--[[
##     ##  #######  ########  #######  ########  ########  ######  ########  ######  
###   ### ##     ##    ##    ##     ## ##     ## ##       ##    ##    ##    ##    ## 
#### #### ##     ##    ##    ##     ## ##     ## ##       ##          ##    ##       
## ### ## ##     ##    ##    ##     ## ########  ######    ######     ##     ######  
##     ## ##     ##    ##    ##     ## ##   ##   ##             ##    ##          ## 
##     ## ##     ##    ##    ##     ## ##    ##  ##       ##    ##    ##    ##    ## 
##     ##  #######     ##     #######  ##     ## ########  ######     ##     ######  
--]]

Config.Motorest = {
    ['Sandy Motorest'] = {
        boxZone = {position = vec3(2680.7595, 3276.3625, 55.2405), size = vec3(50, 30, 10), rotation = 60},
        Blip = {
            Sprite = 176,
            Display = 4,
            Scale = 0.8, 
            Colour = 31,
            ShortRange = true,
        },
        Shop = {
            ped = {
                model = "U_M_O_TapHillBilly",  -- Ped model for Sandy Motorest
                position = vec4(2682.0317, 3278.6335, 54.2406, 247.7174)  -- NPC spawn position with heading
            },
            items = {
                { label = "Water Bottle", item = "water", price = 10, description = "A refreshing bottle of water." },
                { label = "Burger", item = "burger", price = 15, description = "A delicious burger to satisfy your hunger." },
                { label = "Sprunk", item = "sprunk", price = 15, description = "Refreshing drink." },
                { label = "Repair kit", item = "repairkit", price = 150, description = "Repair kit for your engine." }
            }
        },
        AirFill = {
            {
                name = "AirPump1",
                location = vec3(2691.3840, 3267.7632, 55.4234),
                pedPos = vec4(2691.0063, 3268.1353, 55.2406, 245.0),
                hoseLocation = vec3(2691.3889, 3267.8923, 55.0235),
                length = 2.0,
                SpawnProp = {
                    Enabled = false,
                    position = vec4(2689.9116, 3266.5083, 55.2405, 146.6320),
                    prop = 'prop_gas_airunit01',
                }
            },
            {
                name = "AirPump2",
                location = vec3(2693.8035, 3271.7371, 55.4234),
                pedPos = vec4(2693.0898, 3272.0349, 55.2405, 245.0),
                hoseLocation = vec3(2693.8035, 3271.7371, 55.4234),
                length = 2.0,
                SpawnProp = {
                    Enabled = false,
                    position = vec4(2689.9116, 3266.5083, 55.2405, 146.6320),
                    prop = 'prop_gas_airunit01',
                }
            },
            -- Add more AirFill stations as needed
        },
        amrWrestling = {
            table1 = {
                position = vec3(2689.0359, 3289.1736, 55.2407),
                prop = 'prop_arm_wrestle_01'
            },
            table2 = {
                position = vec3(2687.1885, 3290.6765, 55.2407),
                prop = 'prop_arm_wrestle_01'
            }
        }
    },
    ['GrapeSeed Motorest'] = {
        boxZone = {position = vec3(2523.7832, 4198.9980, 39.9519), size = vec3(50, 50, 10), rotation = 60},
        Blip = {
            Sprite = 176,
            Display = 4,
            Scale = 0.8, 
            Colour = 31,
            ShortRange = true,
        },
        Shop = {
            ped = {
                model = "U_M_O_TapHillBilly",  -- Ped model for Sandy Motorest
                position = vec4(2516.4153, 4203.0542, 38.9922, 235.2154)  -- NPC spawn position with heading
            },
            items = {
                { label = "Water Bottle", item = "water", price = 10, description = "A refreshing bottle of water." },
                { label = "Burger", item = "burger", price = 15, description = "A delicious burger to satisfy your hunger." },
                { label = "Sprunk", item = "sprunk", price = 15, description = "Refreshing drink." },
                { label = "Repair kit", item = "repairkit", price = 150, description = "Repair kit for your engine." }
            }
        },
        AirFill = {
            {
                name = "AirPump1",
                location = vec3(2536.5115, 4203.0957, 40.3629),
                pedPos = vec4(2535.8608, 4203.4067, 40.3448, 236.0),
                hoseLocation = vec3(2536.5115, 4203.0957, 40.3629),
                length = 2.0,
                SpawnProp = {
                    Enabled = true,
                    position = vec4(2536.5115, 4203.0957, 39.3629, 241.7144),
                    prop = 'prop_gas_airunit01',
                }
            },
            {
                name = "AirPump2",
                location = vec3(2533.7935, 4198.7808, 40.1930),
                pedPos = vec4(2533.1133, 4199.2178, 40.1665, 242.0),
                hoseLocation = vec3(2533.7935, 4198.7808, 40.1930),
                length = 2.0,
                SpawnProp = {
                    Enabled = true,
                    position = vec4(2533.7935, 4198.7808, 39.1930, 241.7144),
                    prop = 'prop_gas_airunit01',
                }
            },
            -- Add more AirFill stations as needed
        },
        amrWrestling = {
            table1 = {
                position = vec3(2519.6460, 4220.7651, 39.9257),
                prop = 'prop_arm_wrestle_01'
            },
            table2 = {
                position = vec3(2516.5803, 4217.1812, 39.9287),
                prop = 'prop_arm_wrestle_01'
            }
        }
    },
    ['UpN Motorest'] = {
        boxZone = {position = vec3(1583.9431, 6448.6406, 25.1541), size = vec3(50, 50, 10), rotation = 60},
        Blip = {
            Sprite = 176,
            Display = 4,
            Scale = 0.8, 
            Colour = 31,
            ShortRange = true,
        },
        Shop = {
            ped = {
                model = "U_M_O_TapHillBilly",  -- Ped model for Sandy Motorest
                position = vec4(1584.4515, 6451.2378, 24.3171, 157.5029)  -- NPC spawn position with heading
            },
            items = {
                { label = "Water Bottle", item = "water", price = 10, description = "A refreshing bottle of water." },
                { label = "Burger", item = "burger", price = 15, description = "A delicious burger to satisfy your hunger." },
                { label = "Sprunk", item = "sprunk", price = 15, description = "Refreshing drink." },
                { label = "Repair kit", item = "repairkit", price = 150, description = "Repair kit for your engine." }
            }
        },
        AirFill = {
            {
                name = "AirPump1",
                location = vec3(1578.7365, 6443.9746, 24.7951),
                pedPos = vec4(1578.9553, 6444.6260, 24.8239, 160.0),
                hoseLocation = vec3(1578.7365, 6443.9746, 24.7951),
                length = 2.0,
                SpawnProp = {
                    Enabled = true,
                    position = vec4(1578.7365, 6443.9746, 23.7951, 155.0),
                    prop = 'prop_gas_airunit01',
                }
            },
            {
                name = "AirPump2",
                location = vec3(1585.7424, 6440.7485, 25.0558),
                pedPos = vec4(1586.0079, 6441.3281, 25.0768, 160.0),
                hoseLocation = vec3(1585.7424, 6440.7485, 25.0558),
                length = 2.0,
                SpawnProp = {
                    Enabled = true,
                    position = vec4(1585.7424, 6440.7485, 24.0558, 155.0),
                    prop = 'prop_gas_airunit01',
                }
            },
            -- Add more AirFill stations as needed
        },
        amrWrestling = {
            table1 = {
                position = vec3(1573.3000, 6458.4043, 23.8915),
                prop = 'prop_arm_wrestle_01'
            },
            table2 = {
                position = vec3(1575.1373, 6463.4624, 23.9054),
                prop = 'prop_arm_wrestle_01'
            }
        }
    },
    ['Paleto Motorest'] = {
        boxZone = {position = vec3(136.8527, 6626.1079, 31.7196), size = vec3(50, 50, 10), rotation = 60},
        Blip = {
            Sprite = 176,
            Display = 4,
            Scale = 0.8, 
            Colour = 31,
            ShortRange = true,
        },
        Shop = {
            ped = {
                model = "U_M_O_TapHillBilly",  -- Ped model for Sandy Motorest
                position = vec4(127.8775, 6631.0601, 30.8709, 222.6237)  -- NPC spawn position with heading
            },
            items = {
                { label = "Water Bottle", item = "water", price = 10, description = "A refreshing bottle of water." },
                { label = "Burger", item = "burger", price = 15, description = "A delicious burger to satisfy your hunger." },
                { label = "Sprunk", item = "sprunk", price = 15, description = "Refreshing drink." },
                { label = "Repair kit", item = "repairkit", price = 150, description = "Repair kit for your engine." }
            }
        },
        AirFill = {
            {
                name = "AirPump1",
                location = vec3(136.4256, 6625.1025, 31.7391),
                pedPos = vec4(136.9675, 6624.5308, 31.7513, 45.0),
                hoseLocation = vec3(136.4256, 6625.1025, 31.7391),
                length = 2.0,
                SpawnProp = {
                    Enabled = true,
                    position = vec4(136.4256, 6625.1025, 31.7391, 50.0),
                    prop = 'prop_gas_airunit01',
                }
            },
            {
                name = "AirPump2",
                location = vec3(130.0651, 6618.9648, 31.7835),
                pedPos = vec4(130.5723, 6618.3867, 31.7971, 44.0),
                hoseLocation = vec3(130.0651, 6618.9648, 31.7835),
                length = 2.0,
                SpawnProp = {
                    Enabled = true,
                    position = vec4(130.0651, 6618.9648, 31.7835, 41.0),
                    prop = 'prop_gas_airunit01',
                }
            },
            -- Add more AirFill stations as needed
        },
        amrWrestling = {
            table1 = {
                position = vec3(143.8601, 6642.8472, 30.5503),
                prop = 'prop_arm_wrestle_01'
            },
            table2 = {
                position = vec3(137.8878, 6648.5068, 30.5235),
                prop = 'prop_arm_wrestle_01'
            }
        }
    },
    ['Chumash Motorest'] = {
        boxZone = {position = vec3(-2207.8660, 4258.8882, 47.5265), size = vec3(100, 50, 10), rotation = 60},
        Blip = {
            Sprite = 176,
            Display = 4,
            Scale = 0.8, 
            Colour = 31,
            ShortRange = true,
        },
        Shop = {
            ped = {
                model = "U_M_O_TapHillBilly",  -- Ped model for Sandy Motorest
                position = vec4(-2201.4346, 4274.8438, 47.4548, 158.3148)  -- NPC spawn position with heading
            },
            items = {
                { label = "Water Bottle", item = "water", price = 10, description = "A refreshing bottle of water." },
                { label = "Burger", item = "burger", price = 15, description = "A delicious burger to satisfy your hunger." },
                { label = "Sprunk", item = "sprunk", price = 15, description = "Refreshing drink." },
                { label = "Repair kit", item = "repairkit", price = 150, description = "Repair kit for your engine." }
            }
        },
        AirFill = {
            {
                name = "AirPump1",
                location = vec3(-2207.8660, 4258.8882, 47.5265),
                pedPos = vec4(-2207.3762, 4258.5420, 47.5482, 53.0),
                hoseLocation = vec3(-2207.8660, 4258.8882, 47.5265),
                length = 2.0,
                SpawnProp = {
                    Enabled = true,
                    position = vec4(-2207.8660, 4258.8882, 47.5265, 58.0),
                    prop = 'prop_gas_airunit01',
                }
            },
            {
                name = "AirPump2",
                location = vec3(-2226.8650, 4235.7925, 46.7265),
                pedPos = vec4(-2226.3936, 4235.6226, 46.7589, 75.0),
                hoseLocation = vec3(-2227.2688, 4236.0166, 46.7009),
                length = 2.0,
                SpawnProp = {
                    Enabled = true,
                    position = vec4(-2226.8650, 4235.7925, 46.7265, 72.2289),
                    prop = 'prop_gas_airunit01',
                }
            },
            -- Add more AirFill stations as needed
        },
        amrWrestling = {
            table1 = {
                position = vec3(-2187.8992, 4263.9561, 48.8119),
                prop = 'prop_arm_wrestle_01'
            },
        }
    },
}
--[[
######  ##     ##  ######  ########  #######  ##     ##    ######## ########     ###    #### ##       ######## ########   ######  
##    ## ##     ## ##    ##    ##    ##     ## ###   ###       ##    ##     ##   ## ##    ##  ##       ##       ##     ## ##    ## 
##       ##     ## ##          ##    ##     ## #### ####       ##    ##     ##  ##   ##   ##  ##       ##       ##     ## ##       
##       ##     ##  ######     ##    ##     ## ## ### ##       ##    ########  ##     ##  ##  ##       ######   ########   ######  
##       ##     ##       ##    ##    ##     ## ##     ##       ##    ##   ##   #########  ##  ##       ##       ##   ##         ## 
##    ## ##     ## ##    ##    ##    ##     ## ##     ##       ##    ##    ##  ##     ##  ##  ##       ##       ##    ##  ##    ## 
 ######   #######   ######     ##     #######  ##     ##       ##    ##     ## ##     ## #### ######## ######## ##     ##  ######  
 --]]

Config.CustomTrailer = {
    trBoxes = {
        baseTrailer = 'trflat',
        HaveToSecureCargo = true,
        trailerSecure = {
            securePoints = {
                vector3(2.0, 2.5, 0.5),
                vector3(-2.0, 2.5, 0.5),
                vector3(2.0, -2.5, 0.5),
                vector3(-2.0, -2.5, 0.5)
            }
        },
        cargoTrailer = {
            cargoItems = {
                {
                    propName = 'prop_boxpile_06b',
                    offset = vector3(0.0, 2.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_boxpile_06b',
                    offset = vector3(0.0, 4.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_boxpile_06b',
                    offset = vector3(0.0, -2.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_boxpile_06b',
                    offset = vector3(0.0, -4.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_boxpile_06b',
                    offset = vector3(0.0, 0.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    trElectro = {
        baseTrailer = 'trflat',
        HaveToSecureCargo = false,
        trailerSecure = {
            securePoints = {
                vector3(2.0, 2.5, 0.5),
                vector3(-2.0, 2.5, 0.5),
                vector3(2.0, -2.5, 0.5),
                vector3(-2.0, -2.5, 0.5)
            }
        },
        cargoTrailer = {
            cargoItems = {
                {
                    propName = 'prop_byard_machine01',
                    offset = vector3(-0.3, 2.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_byard_machine01',
                    offset = vector3(-0.3, 4.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_byard_machine01',
                    offset = vector3(-0.3, -2.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_byard_machine01',
                    offset = vector3(-0.3, -4.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_byard_machine01',
                    offset = vector3(-0.3, 0.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    trMixer = {
        baseTrailer = 'trflat',
        HaveToSecureCargo = false,
        trailerSecure = {
            securePoints = {
                vector3(2.0, 2.5, 0.5),
                vector3(-2.0, 2.5, 0.5),
                vector3(2.0, -2.5, 0.5),
                vector3(-2.0, -2.5, 0.5)
            }
        },
        cargoTrailer = {
            cargoItems = {
                {
                    propName = 'prop_staticmixer_01',
                    offset = vector3(0.0, 0.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    trPipes = {
        baseTrailer = 'trflat',
        HaveToSecureCargo = false,
        trailerSecure = {
            securePoints = {
                vector3(2.0, 2.5, 0.5),
                vector3(-2.0, 2.5, 0.5),
                vector3(2.0, -2.5, 0.5),
                vector3(-2.0, -2.5, 0.5)
            }
        },
        cargoTrailer = {
            cargoItems = {
                {
                    propName = 'prop_pipes_ld_01',
                    offset = vector3(0.0, 0.0, 0.8),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    trHelicopter = {
        baseTrailer = 'trflat',
        HaveToSecureCargo = false,
        trailerSecure = {
            securePoints = {
                vector3(2.0, 2.5, 0.5),
                vector3(-2.0, 2.5, 0.5),
                vector3(2.0, -2.5, 0.5),
                vector3(-2.0, -2.5, 0.5)
            }
        },
        cargoTrailer = {
            cargoItems = {
                {
                    propName = 'p_crahsed_heli_s',
                    offset = vector3(0.0, 0.0, 0.2),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    trTrainCargo = {
        baseTrailer = 'freighttrailer',
        HaveToSecureCargo = false,
        trailerSecure = {
            securePoints = {
                vector3(2.0, 2.5, 0.5),
                vector3(-2.0, 2.5, 0.5),
                vector3(2.0, -2.5, 0.5),
                vector3(-2.0, -2.5, 0.5)
            }
        },
        cargoTrailer = {
            cargoItems = {
                {
                    propName = 'prop_rub_railwreck_2',
                    offset = vector3(0.0, -2.0, -1.2),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    trCaravan = {
        baseTrailer = 'freighttrailer',
        HaveToSecureCargo = false,
        trailerSecure = {
            securePoints = {
                vector3(2.0, 2.5, 0.5),
                vector3(-2.0, 2.5, 0.5),
                vector3(2.0, -2.5, 0.5),
                vector3(-2.0, -2.5, 0.5)
            }
        },
        cargoTrailer = {
            cargoItems = {
                {
                    propName = 'proptrailer',
                    offset = vector3(0.0, 0.0, -1.0),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    trAmmo = {
        baseTrailer = 'trflat',
        HaveToSecureCargo = false,
        trailerSecure = {
            securePoints = {
                vector3(2.0, 2.5, 0.5),
                vector3(-2.0, 2.5, 0.5),
                vector3(2.0, -2.5, 0.5),
                vector3(-2.0, -2.5, 0.5)
            }
        },
        cargoTrailer = {
            cargoItems = {
                {
                    propName = 'xm_prop_base_rail_cart_01d',
                    offset = vector3(0.0, 0.0, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'xm_prop_base_rail_cart_01d',
                    offset = vector3(0.0, 3.2, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'xm_prop_base_rail_cart_01d',
                    offset = vector3(0.0, -3.2, 0.4),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    haybaletrailer = {
        baseTrailer = 'trflat',
        HaveToSecureCargo = true,
        trailerSecure = {
            securePoints = {
                vector3(-1.603, 2.760, -0.416),
                vector3(-1.644, -2.773, -0.311),
                vector3(2.358, -3.416, -0.299),
                vector3(2.131, 2.719, -0.416)
            }
        },
        cargoTrailer = {
            cargoItems = {
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(0.580, 4.220, 1.280),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(-0.600, 4.240, 1.260),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(-0.580, 2.440, 1.260),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(0.620, 2.420, 1.240),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(-0.580, 0.580, 1.280),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(0.620, 0.640, 1.300),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(-0.560, -1.280, 1.240),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(0.660, -1.240, 1.240),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(-0.600, -3.020, 1.280),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(0.620, -3.000, 1.320),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(0.620, -4.840, 1.280),
                    rot = vector3(0.00, 0.00, 0.00)
                },
                {
                    propName = 'prop_haybale_03',
                    offset = vector3(-0.640, -4.860, 1.260),
                    rot = vector3(0.00, 0.00, 0.00)
                }
            }
        }
    },
    
electrailer = {
    baseTrailer = 'trflat',
    HaveToSecureCargo = true,
    trailerSecure = {
        securePoints = {
            vector3(1.645, 2.452, -0.411),
            vector3(1.760, -3.532, -0.295),
            vector3(-2.081, -3.463, -0.297),
            vector3(-1.570, 2.472, -0.412)
        }
    },
    cargoTrailer = {
        cargoItems = {
            {
                propName = 'prop_phonebox_04',
                offset = vector3(-0.540, 5.220, 0.400),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_phonebox_04',
                offset = vector3(0.380, 5.220, 0.400),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_phonebox_04',
                offset = vector3(0.000, 4.080, 0.400),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_phonebox_04',
                offset = vector3(-0.560, 4.260, 0.400),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_phonebox_04',
                offset = vector3(0.360, 4.260, 0.400),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_partsbox_01',
                offset = vector3(-0.100, 3.100, 0.400),
                rot = vector3(0.00, 0.00, 90.00)
            },
            {
                propName = 'prop_partsbox_01',
                offset = vector3(0.000, 0.000, 1.120),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_partsbox_01',
                offset = vector3(-0.080, 3.100, 1.360),
                rot = vector3(0.00, 0.00, 90.00)
            },
            {
                propName = 'prop_partsbox_01',
                offset = vector3(-0.120, 1.800, 0.400),
                rot = vector3(0.00, 0.00, 90.00)
            },
            {
                propName = 'prop_partsbox_01',
                offset = vector3(-0.100, 1.800, 1.380),
                rot = vector3(0.00, 0.00, 90.00)
            },
            {
                propName = 'prop_elecbox_12',
                offset = vector3(-0.100, 0.620, 0.520),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_elecbox_12',
                offset = vector3(-0.120, -0.440, 0.480),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_elecbox_01b',
                offset = vector3(-0.600, -1.380, 0.380),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_elecbox_01b',
                offset = vector3(0.340, -1.380, 0.380),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_elecbox_01b',
                offset = vector3(-0.620, -2.060, 0.380),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_elecbox_01b',
                offset = vector3(0.340, -2.040, 0.400),
                rot = vector3(0.00, 0.00, 0.00)
            },
            {
                propName = 'prop_elecbox_10',
                offset = vector3(-0.580, -4.300, 0.400),
                rot = vector3(0.00, 0.00, 90.00)
            },
            {
                propName = 'prop_elecbox_10',
                offset = vector3(0.680, -4.300, 0.400),
                rot = vector3(0.00, 0.00, 90.00)
            }
        }
    }
}
}
--[[
 ######  ##     ##  ######  ########  #######  ##     ##    ########     ###    ##       ##       ######## ########  ######  
##    ## ##     ## ##    ##    ##    ##     ## ###   ###    ##     ##   ## ##   ##       ##       ##          ##    ##    ## 
##       ##     ## ##          ##    ##     ## #### ####    ##     ##  ##   ##  ##       ##       ##          ##    ##       
##       ##     ##  ######     ##    ##     ## ## ### ##    ########  ##     ## ##       ##       ######      ##     ######  
##       ##     ##       ##    ##    ##     ## ##     ##    ##        ######### ##       ##       ##          ##          ## 
##    ## ##     ## ##    ##    ##    ##     ## ##     ##    ##        ##     ## ##       ##       ##          ##    ##    ## 
 ######   #######   ######     ##     #######  ##     ##    ##        ##     ## ######## ######## ########    ##     ######  
--]]


Config.CustomPallet = {
    foodPallet = {
        basePallet = 'p_pallet_02a_s',
        cargoPallet = {
            cargoItems = {
                {
                    propName = 'drc_custom_prop_wood_food',
                    offset = vector3(-0.7, -0.6, 0.2),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'drc_custom_prop_wood_food',
                    offset = vector3(-0.7, 0.4, 0.3),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'drc_custom_prop_wood_food',
                    offset = vector3(-0.7, -0.1, 0.3),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'drc_custom_prop_wood_food',
                    offset = vector3(-0.1, -0.3, 0.3),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    chairPallet = {
        basePallet = 'p_pallet_02a_s',
        cargoPallet = {
            cargoItems = {
                {
                    propName = 'prop_yaught_sofa_01',
                    offset = vector3(0.1, 0.3, 0.7),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'vw_prop_vw_offchair_01',
                    offset = vector3(-0.5, -0.4, 0.8),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'vw_prop_vw_offchair_01',
                    offset = vector3(0.5, -0.4, 0.8),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },

    coolerPallet = {
        basePallet = 'p_pallet_02a_s',
        cargoPallet = {
            cargoItems = {
                {
                    propName = 'prop_bar_cooler_03',
                    offset = vector3(-0.0, 0.4, 0.2),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_bar_cooler_03',
                    offset = vector3(0.0, -0.4, 0.2),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    
    boxPallet = {
        basePallet = 'p_pallet_02a_s',
        cargoPallet = {
            cargoItems = {
                {
                    propName = 'hei_prop_heist_wooden_box',
                    offset = vector3(-0.5, 0.3, 0.5),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'hei_prop_heist_wooden_box',
                    offset = vector3(0.1, 0.3, 0.5),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'hei_prop_heist_wooden_box',
                    offset = vector3(0.1, -0.3, 0.5),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'hei_prop_heist_wooden_box',
                    offset = vector3(-0.5, -0.3, 0.5),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_cs_rub_box_01',
                    offset = vector3(-0.2, 0.1, 1.1),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_paint_wpaper01',
                    offset = vector3(0.7, -0.4, 0.2),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_paint_wpaper01',
                    offset = vector3(0.7, 0.4, 0.2),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    radioactivePallet = {
        basePallet = 'p_pallet_02a_s',
        cargoPallet = {
            cargoItems = {
                {
                    propName = 'prop_rad_waste_barrel_01',
                    offset = vector3(0.4, 0.4, 0.7),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_rad_waste_barrel_01',
                    offset = vector3(0.4, -0.3, 0.7),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_rad_waste_barrel_01',
                    offset = vector3(-0.1, 0.1, 0.7),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_rad_waste_barrel_01',
                    offset = vector3(-0.5, 0.5, 0.7),
                    rot = vector3(0.0, 0.0, 0.0)
                },
                {
                    propName = 'prop_rad_waste_barrel_01',
                    offset = vector3(-0.5, -0.4, 0.7),
                    rot = vector3(0.0, 0.0, 0.0)
                }
            }
        }
    },
    
}

--[[
 #######  ##     ## ######## ######## #### ########  ######  
##     ## ##     ##    ##    ##        ##     ##    ##    ## 
##     ## ##     ##    ##    ##        ##     ##    ##       
##     ## ##     ##    ##    ######    ##     ##     ######  
##     ## ##     ##    ##    ##        ##     ##          ## 
##     ## ##     ##    ##    ##        ##     ##    ##    ## 
 #######   #######     ##    ##       ####    ##     ######  
-]]
Config.Outfits = {
    [`mp_m_freemode_01`] = { -- Skin model
        {
            label = "Trucker outfit",
            description = "",
            outfitData = {
                sex = 0,
                tshirt_1 = 21,
                tshirt_2 = 0,
                arms     = 4,
                torso_1  = 4,
                torso_2  = 0,
                pants_1  = 24,
                pants_2  = 0,
                shoes_1 = 10,
                shoes_2 = 0,
                chain_1 = 19,
                chain_2 = 0,
                glasses_1 = 3,
                glasses_2 = 0,
                ears_1 = 2,
                ears_2 = 0,
            }
        }
    },
    [`mp_f_freemode_01`] = { -- Skin model
        {
            label = "Trucker outfit",
            description = "",
            outfitData = {
                sex = 1,
                tshirt_1 = 14,
                tshirt_2 = 0,
                arms     = 15,
                torso_1  = 22,
                torso_2  = 1,
                pants_1  = 20,
                pants_2  = 1,
                shoes_1 = 20,
                shoes_2 = 4,
                chain_1 = 0,
                chain_2 = 0,
                glasses_1 = 0,
                glasses_2 = 0,
                ears_1 = 0,
                ears_2 = 0,
            }
        }
    },
}
Last updated 7/12/2026Browse all docs →