--[[ DON'T EDIT THIS // NE PAS MODIFIER ]]--
local Keys = {
["ESC"] = 322, ["F1"] = 288, ["F2"] = 289, ["F3"] = 170, ["F5"] = 166, ["F6"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["F10"] = 57,
["~"] = 243, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165, ["6"] = 159, ["7"] = 161, ["8"] = 162, ["9"] = 163, ["-"] = 84, ["="] = 83, ["BACKSPACE"] = 177,
["TAB"] = 37, ["Q"] = 44, ["W"] = 32, ["E"] = 38, ["R"] = 45, ["T"] = 245, ["Y"] = 246, ["U"] = 303, ["P"] = 199, ["["] = 39, ["]"] = 40, ["ENTER"] = 18,
["CAPS"] = 137, ["A"] = 34, ["S"] = 8, ["D"] = 9, ["F"] = 23, ["G"] = 47, ["H"] = 74, ["K"] = 311, ["L"] = 182,
["LEFTSHIFT"] = 21, ["Z"] = 20, ["X"] = 73, ["C"] = 26, ["V"] = 0, ["B"] = 29, ["N"] = 249, ["M"] = 244, [","] = 82, ["."] = 81,
["LEFTCTRL"] = 36, ["LEFTALT"] = 19, ["SPACE"] = 22, ["RIGHTCTRL"] = 70,
["HOME"] = 213, ["PAGEUP"] = 10, ["PAGEDOWN"] = 11, ["DELETE"] = 178,
["LEFT"] = 174, ["RIGHT"] = 175, ["TOP"] = 27, ["DOWN"] = 173,
["NENTER"] = 201, ["N4"] = 108, ["N5"] = 60, ["N6"] = 107, ["N+"] = 96, ["N-"] = 97, ["N7"] = 117, ["N8"] = 61, ["N9"] = 118
}
--[[ DON'T EDIT THIS // NE PAS MODIFIER ]]--
Config = {}
Config.lang = 'en' --[[ YOU CAN CHOOSE YOUR LANGUAGE BETWEEN fr AND en // VOUS POUVEZ CHOISIR VOTRE LANGUE ENTRE fr ET en ]]--
Config.notificationTexture = "CHAR_SOCIAL_CLUB"
Config.notificationIconType = 1
Config.commandEnabled = true --[[ ENABLE THE COMMAND FOR USE THE AUTOPILOT // ACTIVER LA COMMANDE POUR UTILISER L'AUTOPILOT ]]--
Config.commandName = "autopilot" --[[ CUSTOM YOUR COMMAND FOR USE THE AUTOPILOT // PERSONALISE LA COMMANDE POUR UTILISER L'AUTOPILOT ]]--
Config.startKeyEnabled = true --[[ USE A KEY FOR USE THE AUTOPILOT // UTILISE UNE TOUCHE POUR UTILISER L'AUTOPILOT ]]--
Config.drivingMode = "normal" --[[ SELECT THE MODE BETWEEN 'normal / ignoreLights / voidTraffic' // SELECTIONNE PARMIT LES MODES 'normal / ignoreLights / voidTraffic' ]]--
Config.defaultSpeed = 100 --[[ DEFAULT SPEED WHEN AUTOPILOT IS ENABLED // VITESSE PAR DEFAUT QUAND L'AUTOPILOT EST ACTIVE ]]--
Config.stopRange = 1.0
Config.speedUnit = 3.6 --[[ SET 3.6 FOR KM/H OR SET 2.237 FOR MPH ]]--
Config.keys = {
["start"] = Keys["PAGEUP"], -- Key for start autopilot
["stop"] = Keys["X"], -- Key for stop autopilot
["upSpeed"] = Keys["TOP"], -- Key to increase the speed
["downSpeed"] = Keys["DOWN"], -- Key to decrease the speed
}
Config.translate = {
["en"] = {
['sender'] = "Autopilot",
['subject'] = "~b~Settings",
['speedUnit'] = "KM/H",
['speed'] = "Speed: ",
['distance'] = "Distance: ",
['arrived'] = "You have ~y~arrived at your destination~w~.",
['actived'] = "The autopilot ~g~is now actived!",
['disabled'] = "The autopilot ~r~is now disabled!",
['notDestination'] = "You can't ~r~use the autopilot if you haven't entered a destination!",
['passager'] = "You can't ~r~use the autopilot as a passenger!",
['notCategories'] = "This type of vehicle ~r~do not have autopilot!",
},
["fr"] = {
['sender'] = "Pilote automatique",
['subject'] = "~b~Paramètres",
['speedUnit'] = "KM/H",
['speed'] = "Vitesse: ",
['distance'] = "Distance: ",
['arrived'] = "Vous êtes ~y~arrivé à destination~w~.",
['actived'] = "Le pilote automatique ~g~est désormais activé !",
['disabled'] = "Le pilote automatique ~r~est désormais désactivé !",
['notDestination'] = "Vous ne pouvez ~r~pas utiliser le pilote automatique si vous n'avez pas renseigné une destination !",
['passager'] = "Vous ne pouvez ~r~pas utiliser le pilote automatique en tant que passager !",
['notCategories'] = "Ce type de véhicule ~r~ne dispose pas de pilote automatique !",
}
}
--[[ DON'T EDIT THIS // NE PAS MODIFIER ]]--
Config.modes = {
["normal"] = 786603,
["ignoreLights"] = 2883621,
["voidTraffic"] = 786468,
}
--[[ DON'T EDIT THIS // NE PAS MODIFIER ]]--