⚙️Configuration

Detailed explanation of the config file to adapt the resource to your player needs.

The config.lua

Config = {}
Config.Framework        = 'qb'          -- ('esx')
Config.Inventory        = 'ox'          -- ('qs', 'ox')
Config.FrameworkPseudo  = 'qb-core'
Config.UseGTAMap        = true          -- set to false if you want to disable the waypoint on the gta 5 map
Config.distance         = 300.0         -- minumum distance between the tablet and the gps to detect the vehicle
Config.closestDistance  = 3.0           -- max distance to interact with the vehicle
Config.OpenDoors        = true          -- Open vehicle doors while adding/removing gps from the vehicle
Config.FocusButton      = 'LMENU'       -- Default is ALT, you can change it in the GTA settings later or here.
Config.Identifier       = 0             -- 0 : Steam License, 1 : Rockstar License, 2 : Discord ID, 3 : Xbox Live ID, 4 : Live ID, 5 : Fivem License Key, 6 : IP Adrtess
Config.EmptyOnly        = false         -- Can Add GPS only when no one is in the vehicle
Config.Items = {                        -- if you change the item names make sure to change them in the shared aswell and in the inventories...
    gps         = 'road_gps',
    detector    = 'road_gps_detector',
    tablet      = 'road_gps_tablet',
    guide       = 'road_gps_guide',
    ankle       = 'road_gps_ankle',
    key         = 'road_gps_ankle_key',

}

Last updated