Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- Config.Locale = 'en'
- Config.debug = false
- Config.ESX = {
- enabled = true,
- }
- Config.QBCore = {
- enabled = false,
- }
- Config.useKey = 'G'
- Config.cancelKey = 'X'
- Config.sqlDriver = "mysql" -- options: "mysql" (for esx) or "oxmysql" (for QBCore)
- Config.trackerItem = {
- itemEnabled = true, -- Only works if QBCore or ESX Enabled
- trackerGrades = {
- ["pd_tracker"] = {
- name = "Basic Vehicle Tracking Device",
- interval = 4000, -- How often the blip updates for the player
- tunnelAccuracy = 350.0, -- if set to 0, ignores tunnels alltogether
- },
- ["pd_adpt_tracker"] = {
- name = "Adept Vehicle Tracking Device",
- interval = 3000,
- tunnelAccuracy = 250.0,
- },
- ["pd_adv_tracker"] = {
- name = "Advanced Vehicle Tracking Device",
- interval = 2000,
- tunnelAccuracy = 150.0,
- },
- ["pd_mili_tracker"] = {
- name = "Military Vehicle Tracking Device",
- interval = 1500,
- tunnelAccuracy = 0.0,
- },
- },
- commandEnabled = true, -- Allows the use of the command
- command = "vtracker",
- requireScrewdriver = true, -- Requires the player to be in possesion of the screwdriver item to be able to install a Vehicle Tracking Device
- allowNaming = true, -- Allows the player to name their trackers
- timeIdlingBeforeNotif = 120.0, -- Time the vehicle has to idle for before the player gets a notification when its moving again (in seconds)
- timeoutTimer = 30 -- How long the tracker stays in the same location after its been removed(in seconds)
- }
- Config.allowingPlacingInInterior = "Dashboard" -- Name for the interior spot
- Config.trackerLocations = {
- car = {
- ["hub_lf"] = "Front Left Wheel Hub",
- ["hub_rf"] = "Front Right Wheel Hub",
- ["hub_rr"] = "Rear Right Wheel Hub",
- ["hub_lr"] = "Rear Left Wheel Hub",
- ["back"] = "Back Bumper",
- ["front"] = "Front Bumper"
- },
- bike = {
- ["exhaust"] = "Rear",
- ["forks_u"] = "Front"
- },
- helicopter = {
- ["wheel_lr"] = "Here",
- ["wheel_rr"] = "Here",
- ["wheel_lf"] = "Here",
- ["wheel_rf"] = "Here"
- },
- plane = {
- ["aileron_l"] = "Left Wing",
- ["aileron_r"] = "Right Wing",
- ["wheel_rf"] = "Here",
- ["wheel_lf"] = "Here",
- ["wheel_lr"] = "Here",
- ["wheel_rr"] = "Here"
- }
- }
- Config.screwdriverItem = "pd_screwdriver" -- Database name for the screwdriver
- Config.removeTracker = { -- Allows the use of the command
- commandEnabled = true,
- command = "removevtracker",
- requireScrewdriver = true, -- Requires the player to be in possesion of the screwdriver item to be able to renmove a Vehicle Tracking Device
- screwdriverUseFunctionality = true,
- }
- Config.scanner = {
- enabled = true,
- itemEnabled = true,
- itemName = 'pd_scanner',
- commandEnabled = true, -- Allows the use of the command
- command = "scanvtracker"
- }
- Config.jammer = {
- enabled = true,
- itemEnabled = true,
- itemName = 'pd_jammer',
- jammedBlipSize = 150.0,
- requiresJobToInstall = true,
- jobName = 'mechanic',
- commandEnabled = true,
- command = "installvjammer"
- }
- Config.blip = {
- sprite = 225, --https://docs.fivem.net/docs/game-references/blips/
- color = 27, --https://docs.fivem.net/docs/game-references/hud-colors/
- size = 0.85,
- classSprites = {
- {sprite = 64, class = 15}, -- helicopter
- {sprite = 307, class = 16}, -- plane
- {sprite = 348, class = 8}, -- bikes
- {sprite = 427, class = 14}, -- boats
- {sprite = 530, class = 7}, -- super
- {sprite = 596, class = 5} -- classic super
- }
- }
- -- MINIGAME
- Config.keyBindsIn = {"S", "D", "W", "A"}
- Config.keyBindsOut = {"W", "D", "S", "A"}
- Config.minigameLength = 20 -- amount of keypresses
- Config.removalMessedUpDuration = 5
- Config.searchDuration = 5 --whole numbers (in seconds)
- Config.useSubtitles = true
- Config.blipColors = {
- {id=0, rgb={r = 255, g = 255, b = 255}},
- {id=1, rgb={r = 254, g = 50, b = 50}},
- {id=1, rgb={r = 150, g = 50, b = 50}},
- {id=1, rgb={r = 100, g = 50, b = 50}},
- {id=2, rgb={r = 113, g = 203, b = 113}},
- {id=3, rgb={r = 93, g = 182, b = 229}},
- {id=5, rgb={r = 238, g = 198, b = 78}},
- {id=7, rgb={r = 156, g = 110, b = 175}},
- {id=8, rgb={r = 254, g = 122, b = 195}},
- {id=9, rgb={r = 245, g = 157, b = 121}},
- {id=11, rgb={r = 141, g = 206, b = 167}},
- {id=12, rgb={r = 112, g = 168, b = 174}},
- {id=17, rgb={r = 234, g = 142, b = 80}},
- {id=20, rgb={r = 143, g = 141, b = 121}},
- {id=22, rgb={r = 175, g = 168, b = 168}},
- {id=24, rgb={r = 187, g = 214, b = 91}},
- {id=25, rgb={r = 12, g = 123, b = 86}},
- {id=29, rgb={r = 69, g = 97, b = 171}},
- {id=32, rgb={r = 200, g = 224, b = 254}},
- {id=33, rgb={r = 240, g = 240, b = 150}},
- {id=38, rgb={r = 44, g = 109, b = 184}},
- {id=38, rgb={r = 0, g = 20, b = 100}},
- {id=38, rgb={r = 0, g = 0, b = 184}},
- {id=40, rgb={r = 15, g = 15, b = 15}},
- {id=40, rgb={r = 30, g = 30, b = 30}},
- {id=40, rgb={r = 76, g = 76, b = 76}},
- {id=40, rgb={r = 100, g = 100, b = 100}},
- {id=46, rgb={r = 236, g = 240, b = 41}},
- {id=47, rgb={r = 255, g = 154, b = 24}},
- {id=76, rgb={r = 120, g = 35, b = 35}},
- }
- Config.vehicleTrackingSupplies = {
- enabled = true,
- useBlip = true,
- locations = {
- {
- x = -228.6,
- y = 6332.1,
- z = 32.4,
- },
- {
- x = 845.9,
- y = -902.6,
- z = 25.3
- }
- },
- items = {
- {
- item = "pd_screwdriver",
- label = 'Screwdriver (required to install or remove trackers)',
- price = 10,
- },
- {
- item = "pd_tracker",
- label = 'Vehicle Tracking Device',
- price = 100,
- },
- {
- item = "pd_adpt_tracker",
- label = 'Adept Vehicle Tracking Device',
- price = 200,
- },
- {
- item = "pd_adv_tracker",
- label = 'Advanced Vehicle Tracking Device',
- price = 500,
- },
- {
- item = "pd_mili_tracker",
- label = 'Military Vehicle Tracking Device',
- price = 1000,
- },
- {
- item = "pd_scanner",
- label = 'Vehicle Tracking Device Scanner',
- price = 500,
- },
- {
- item = "pd_jammer",
- label = 'Vehicle Tracking Device Jammer',
- price = 30000,
- },
- },
- payWithBank = true,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement