Config

Config = {}

--- [ MAIN CONFIG ] ---

Config.Framework = "ESX"    -- Select by your framework ["ESX","QBCORE","OTHER"]
Config.DrawText3D = true    -- If you don't want to display 3D Texts.
Config.Notifications = "OX" -- You can choose between ["OX","ESX","QBCORE","OTHER"]
Config.TextUI = "OX" -- You can choose between ["OX","ESX","QBCORE","OTHER"]
Config.ProgressBar = "OX" -- You can choose between ["OX","ESX","QBCORE","OTHER"]
Config.InteractKey = 38 -- [E] -- Most of Interaction Keys
Config.Interact2Key = 191 -- [ENTER] -- Second Interaction Keys

Config.Van = "burrito3" -- You can put here what vehicle you want to use.

Config.CentralLocation = {x = 78.96, y = 111.8, z = 81.17}
Config.ReturnVanLocation = {x = 63.07,y = 113.45, z = 79.09}

Config.GivePackageDelay = 5000 -- Define how much time in milseconds it will take to delivey the package.

-- You can add as many as you want. If the first spot is occupied by a van, it will spawn in the second one.
Config.VanSpawnSpots = {
    { x = 60.45, y = 126.68, z = 79.02, heading = 159.52 },
    { x = 63.55, y = 125.52, z = 78.98, heading = 158.54 },
    { x = 66.88, y = 124.31, z = 78.95, heading = 160.79 },
    { x = 70.11, y = 123.05, z = 78.96, heading = 159.21 },
    { x = 73.29, y = 121.79, z = 78.98, heading = 158.31 },
}

-- You can configure the locations or add more to the list
Config.PostalLocations = {
    {
        Location = { x = 35.62, y = 49.27, z = 72.15, heading = 160.7 },  -- The location to stop with the van.
        box = math.random(1, 3),                                          -- Define how many boxes can be delivery at this location.
        Door = { x = 9.83, y = 54.77, z = 71.86, heading = 157.59 },      -- the door location
    },
    {
        Location = { x = -158.99, y = 103.7, z = 70.34, heading = 160.7 },
        box = math.random(1, 3),
        Door = { x = -160.57, y = 114.71, z = 70.4, heading = 330.0 },
    },
    {
        Location = { x = -356.89, y = 2.52, z = 47.01, heading = 160.7 },
        box = math.random(1, 3),
        Door = { x = -354.79, y = 9.95, z = 47.85, heading = 342.99 },
    },
    {
        Location = { x = -836.85, y = 90.94, z = 52.28, heading = 160.7 },
        box = math.random(1, 3),
        Door = { x = -838.34, y = 97.08, z = 52.55, heading = 11.42 },
    },
    {
        Location = { x = -1103.11, y = 281.94, z = 63.92, heading = 160.7 },
        box = math.random(1, 3),
        Door = { x = -1104.12, y = 288.66, z = 64.19, heading = 10.59 },
    },
    {
        Location = { x = -1245.98, y = 394.45, z = 75.55, heading = 160.7 },
        box = math.random(1, 3),
        Door = { x = -1256.72, y = 385.23, z = 75.28, heading = 119.99 },
    },
    {
        Location = { x = -1525.19, y = 200.53, z = 57.87, heading = 160.7 },
        box = math.random(1, 3),
        Door = { x = -1550.38, y = 210.58, z = 58.85, heading = 113.6 },
    },
    {
        Location = { x = -1645.48, y = 142.38, z = 61.93, heading = 61.53 },
        box = math.random(1, 3),
        Door = { x = -1649.11, y = 149.92, z = 62.17, heading = 35.96 },
    },
    {
        Location = { x = -1575.88, y = 46.57, z = 59.22, heading = 61.53 },
        box = math.random(1, 3),
        Door = { x = -1566.3, y = 40.86, z = 58.92, heading = 166.65 },
    },
    {
        Location = { x = -1471.68, y = 52.71, z = 53.11, heading = 61.53 },
        box = math.random(1, 3),
        Door = { x = -1464.44, y = 50.03, z = 53.05, heading = 195.5 },
    },
    {
        Location = { x = -763.38, y = -344.98, z = 35.94, heading = 61.53 },
        box = math.random(1, 3),
        Door = { x = -768.52, y = -355.01, z = 37.34, heading = 158.22 },
    },
    {
        Location = { x = -692.52, y = -372.42, z = 34.12, heading = 61.53 },
        box = math.random(1, 3),
        Door = { x = -696.68, y = -379.47, z = 34.24, heading = 165.18 },
    },
    {
        Location = { x = -512.37, y = -668.68, z = 33.04, heading = 61.53 },
        box = math.random(1, 3),
        Door = { x = -519.84, y = -677.31, z = 33.67, heading = 188.98 },
    },
    {
        Location = { x = -180.79, y = -838.12, z = 30.19, heading = 61.53 },
        box = math.random(1, 3),
        Door = { x = -194.47, y = -834.62, z = 30.74, heading = 111.13 },
    },
    {
        Location = { x = 10.8, y = -972.81, z = 29.4, heading = 247.19 },
        box = math.random(1, 3),
        Door = { x = 5.94, y = -985.11, z = 29.36, heading = 161.15 },
    },
    {
        Location = { x = 59.24, y = -969.08, z = 29.23, heading = 247.19 },
        box = math.random(1, 3),
        Door = { x = 68.53, y = -959.48, z = 29.8, heading = 351.55 },
    },
    {
        Location = { x = 78.06, y = -1036.21, z = 29.32, heading = 247.19 },
        box = math.random(1, 3),
        Door = { x = 73.73, y = -1027.44, z = 29.48, heading = 65.95 },
    },
    {
        Location = { x = 139.73, y = -1123.94, z = 29.15, heading = 86.48 },
        box = math.random(1, 3),
        Door = { x = 147.6, y = -1113.7, z = 29.31, heading = 269.42 },
    },
    {
        Location = { x = 224.46, y = -1095.92, z = 29.15, heading = 86.48 },
        box = math.random(1, 3),
        Door = { x = 231.6, y = -1095.18, z = 29.29, heading = 266.7 },
    },
    {
        Location = { x = 243.5, y = -1063.13, z = 29.15, heading = 86.48 },
        box = math.random(1, 3),
        Door = { x = 243.19, y = -1073.68, z = 29.29, heading = 266.7 },
    },
    {
        Location = { x = 390.17, y = -1032.42, z = 29.29, heading = 86.48 },
        box = math.random(1, 3),
        Door = { x = 383.91, y = -1025.28, z = 29.49, heading = 50.03 },
    },
    {
        Location = { x = 400.13, y = -906.22, z = 29.3, heading = 86.48 },
        box = math.random(1, 3),
        Door = { x = 387.01, y = -901.02, z = 29.45, heading = 50.03 },
    },
    {
        Location = { x = 410.91, y = -762.12, z = 29.11, heading = 357.63 },
        box = math.random(1, 3),
        Door = { x = 417.7, y = -767.84, z = 29.41, heading = 50.03 },
    },
}

--- [ MARKERS] ---

-- Central Marker
Config.CentralMarker = {
    type = 20,
    scaleX = 0.5,
    scaleY = 0.4,
    scaleZ = 0.3,
    Color = {
        R = 148,
        G = 255,
        B = 30,
        A = 155,
    }
}

--- [ BLIPS ] ---

-- Central Blip
Config.CentralBlip = {
    name = "GoPostal - Central",
    scale = 0.8,
    color = 74,
    sprite = 280,
}

-- Delivery Location Blip
Config.DeliveryBlip = {
    name = "GoPostal - Delivery",
    scale = 0.8,
    color = 49,
    sprite = 350,
}

-- Delivery Door Blip
Config.DoorBlip = {
    name = "GoPostal - Delivery Door",
    scale = 0.8,
    color = 49,
    sprite = 478,
}

-- Return Van Blip
Config.ReturnVanBlip = {
    name = "GoPostal - Return Van",
    scale = 0.8,
    color = 49,
    sprite = 50,
}


--- [ TRANSLATE ] ---

Config.translate = {
    -- TEXTS
    ["StartingWorking"] = "You are now working at GoPostal.",
    ["FinishWorking"] = "Your work has been completed, thank you.",
    ["BackToCentral"] = "Go back to central to finish your shift.",
    ["EnterOnVan"] = "Enter on the van to continue your work.",
    ["CoolDown_1"] = "You need to wait ",
    ["CoolDown_2"] = " seconds.",
    ["VanIsAlreadySpawned"] = "Your van is already waiting you.",
    ["CompletedWork"] = "Your work has been completed, thank you.",
    ["PackageQty_1"] = "This client have ",
    ["PackageQty_2"] = " packages.",
    ["NextLocation"] = "Next location has been set on your GPS",
    ["VanNotFound"] = "Work van not found, return to the central.",
    ["NeedToDelivery"] = "You need to delivery that package before take other one.",
    ["NeedPackage"] = "You need a package to delivery.",
    ["NoMorePackage"] = "This customer has no more packages under their name.",
    ["PayCheck_1"] = "You received ",
    ["PayCheck_2"] = "€ from this order",
    -- 3DTEXT
    ["StartJobText"] = "~g~[~w~E~g~]~w~ Start Job",
    ["EndJobText"] = "~r~[~w~E~r~]~w~ End Job",
    ["GivePackageText"] = "~r~[~w~E~r~]~w~ Give Package ",
    ["TakePackageText"] = "~r~[~w~E~r~]~w~ Take Package ",
    ["OpenDoorsText"] = "~r~[~w~E~r~]~w~ Open Doors",
    -- UITEXT 
    ["GoToDoor"] = "Go to the customer's door.",
    ["NextDecision"] = "[E] - to continue or [ENTER] - go back to central.",
}

Last updated