Config

lib.locale()

function Notify(description, type)
  if IsDuplicityVersion() then
    print('Notify is not allowed from server-side!')
    return
  end
  lib.notify({
    title = locale('titleNotifications'),
    description = description,
    type = type
  })
end

Config = {}

Config.Debug = false
Config.Framework = "esx" -- esx, old_esx, qb-core

Config.InteractKey = 51  -- E

Config.Marker = {
  viewDistance = 10,
  interactDistance = 1.5,
  type = 39,
  color = {
    r = 255,
    g = 255,
    b = 255,
    a = 255
  },
  width = 0.5,
  height = 0.5
}

Config.DriverNPC = "a_m_o_genstreet_01" -- https://docs.fivem.net/docs/game-references/ped-models/
Config.Vehicle = "bus"                  -- https://wiki.rage.mp/index.php?title=Vehicles
Config.VehiclePlate = "ic3d"
Config.VehicleColor = 99                -- https://pastebin.com/pwHci0xK
Config.DriveSpeed = 50.0                -- Drive speed

Config.DriveStyle = 1210603819          -- grab your own here: https://forge.plebmasters.de/vehicleflags?category=DrivingStyleFlags

-- Blips
Config.BlipSprite = 513
Config.BlipScale = 0.6 -- https://docs.fivem.net/docs/game-references/blips/
Config.BlipColour = 0

-- Locations
Config.Locations = {
  Dealership = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(-55.1825, -1051.4009, 27.9690),
    Departure = vector3(-53.4018, -1044.2441, 28.0294),
    DepHeading = 339.3403,
    Arrival = vector3(-60.4105, -1061.9276, 27.4543)
  },
  Terminal = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(432.768, -657.847, 28.773),
    Departure = vector3(429.975, -640.151, 28.497),
    DepHeading = 179.831,
    Arrival = vector3(458.296, -640.686, 28.459)
  },
  LegionSquare = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(192.1151, -842.3635, 30.9870),
    Departure = vector3(206.6157, -847.0222, 30.4595),
    DepHeading = 249.8307,
    Arrival = vector3(218.3604, -851.3456, 30.1634)
  },
  JobCenter = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(-233.5612, -975.8550, 29.2885),
    Departure = vector3(-236.3038, -986.1124, 29.1369),
    DepHeading = 162.5049,
    Arrival = vector3(-226.1115, -958.6186, 29.1367)
  },
  FreewayTerminal = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(252.341, -1199.939, 29.291),
    Departure = vector3(261.415, -1186.831, 29.485),
    DepHeading = 92.497,
    Arrival = vector3(265.709, -1217.492, 29.412)
  },
  Pier = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(-1606.135, -943.36, 13.307),
    Departure = vector3(-1612.139, -973.232, 13.013),
    DepHeading = 319.012,
    Arrival = vector3(-1629.558, -974.232, 13.013)
  },
  Paleto = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(-217.67, 6176.23, 31.20),
    Departure = vector3(-197.899, 6192.67, 31.06),
    DepHeading = 133.02,
    Arrival = vector3(-192.45, 6224.068, 31.06)
  },
  Grapeseed = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(1695.6007, 4767.7075, 41.9971),
    Departure = vector3(1685.3717, 4765.8882, 41.8658),
    DepHeading = 0.4901,
    Arrival = vector3(1685.3717, 4765.8882, 41.8658)
  },
  SandyShores = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(1697.20, 3595.75, 35.60),
    Departure = vector3(1736.46, 3588.81, 34.75),
    DepHeading = 302.39,
    Arrival = vector3(1714.46, 3598.20, 34.75)
  },
  Harmony = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(319.7946, 2620.4282, 44.4740),
    Departure = vector3(317.4271, 2639.1162, 44.5110),
    DepHeadinging = 289.3805,
    Arrival = vector3(317.4271, 2639.1162, 44.5110)
  },
  Mine = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(2558.9431, 2689.2979, 40.9582),
    Departure = vector3(2555.0039, 2690.9365, 41.2833),
    DepHeading = 23.1720,
    Arrival = vector3(2555.0039, 2690.9365, 41.2833)
  },

  Prison = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(1853.0912, 2588.9346, 45.6720),
    Departure = vector3(1857.3776, 2588.5095, 45.6720),
    DepHeading = 357.8689,
    Arrival = vector3(1857.3776, 2588.5095, 45.6720)
  },

  CityHall = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(-524.656, -264.015, 35.457),
    Departure = vector3(-523.237, -266.523, 35.298),
    DepHeading = 114.326,
    Arrival = vector3(-492.301, -254.162, 35.638)
  },
  Airport = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(-1033.6648, -2726.9990, 13.7566),
    Departure = vector3(-1022.4478, -2729.2473, 13.6893),
    DepHeading = 241.8412,
    Arrival = vector3(-1040.6376, -2718.9277, 13.6814)
  },
  Chumash = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(-3239.4907, 960.7200, 12.7089),
    Departure = vector3(-3234.6919, 966.9870, 13.0236),
    DepHeading = 188.0231,
    Arrival = vector3(-3234.6919, 966.9870, 13.0236)
  },

  MechanicGarage = {
    Price = 19, -- How much you have to pay


    NuiStop = vector3(875.4724, -2091.1733, 30.5233),
    Departure = vector3(880.3826, -2086.9065, 30.4439),
    DepHeading = 265.4455,
    Arrival = vector3(880.3826, -2086.9065, 30.4439)
  }
}

Last updated

Was this helpful?