INSTALLATION
Read very well and follow all the steps below. If you find any error or have any doubt open a ticket.
1. DOWNLOAD
2. DEPENDENCIES AND INSTALLATION
ensure Buty-Trucker3. CONFIG
The following will explain all the settings, one of the most important things that I recommend you spend a few minutes to understand in order to offer your users the best possible experience.
Config = {}
Config.framework = "esx" -- esx or qbcore
Config.ESX = 'es_extended'
Config.QB = 'qb-core'
Config.Mysql = "oxmysql" -- oxmysql, mysql-async or ghmattisql
Config.job = {
needjob = false,
jobname = 'trucker'
}
Config.BattlePass = {
Active = false,
xp = 1000
}
Config.Target = {UseTarget = false, TargetExport = 'qb-target', Coords = vector3(-780.44, -2636.88,13.8), Text = 'START JOB', Icon = 'fa fa-truck'}
Config.UseFuel = false--Set to true if you use a different system. You will have to add the export in config_functions.
Config.UseKeys = false--Set to true if you use a different system. You will have to add the export in config_functions.
Config.UseDeleteVehicle = false--Set to true if you use a different system. You will have to add the export in config_functions.
Config.NPCHOME = {{x = -780.44, y = -2636.88, z = 13.8, h = 146.76}}
Config.NPCS = {
['home'] = {
model = 'cs_floyd', --npc model (https://docs.fivem.net/docs/game-references/ped-models/)
anim = 'WORLD_HUMAN_CLIPBOARD' --npc animation (https://wiki.rage.mp/index.php?title=Scenarios)
}
}
Config.Truck = {
[1] = "phantom",
[2] = "hauler2",
[3] = "packer",
[4] = "phantom3",
}
Config.Transport = {
['legal'] = {
createtruck = vector3(-744.36, -2544.12, 14.04),
gocoords = vector3(-773.36, -2637.16, 13.4),
gocoordsnpc = vector3(-773.88, -2612.32, 13.92),
createTrailers = vector3(-794.52, -2673.24, 13.8),
trailer = 'trailers2',
key1 = 38,
key2 = 47
},
['ilegal'] = {
createtruck = vector3(-744.36, -2544.12, 14.04),
gocoords = vector3(-773.36, -2637.16, 13.4),
gocoordsnpc = vector3(-773.88, -2612.32, 13.92),
Probabilityenemies = 10,
Probabilitycallpolice = 10,
enemiesvehicle = 'sanchez',
enemiesweapon = 'WEAPON_PISTOL',
trailer = 'trailers2',
typemoney = 'crypto' -- only use QB
}
}
Config.RoboCargamento = {
['Peds'] = {
[1]={x = 1678.12, y = -2033.08, z = 99.8,h = 130.4, ped},
[2]={x = 1679.36, y = -2021.88, z = 101.04, h = 130.4, ped},
[3]={x = 1684.36, y = -2015.92, z = 101.84, h = 130.4, ped},
}
}
Config.locationstrailerlegal = {
[1] = {x = 1146.68, y = -3281.16, z = 5.92},
[2] = {x = 1146.68, y = -3281.16, z = 5.92},
[3] = {x = 844.6, y = -2350.92, z = 30.32, h = 284.88},
[4] = {x = 1723.28, y = -1576.48, z = 112.56, h = 295.48},
[5] = {x = 2588.24, y = 414.24, z = 108.44, h = 178.32},
[6] = {x = 2536.08, y = 2584.4, z = 37.96, h = 358.52},
[7] = {x = 2671.32, y = 3529.92, z = 52.28, h = 65.6},
[8] = {x = -270.12, y = 6035.44, z = 31.68, h = 49.8},
[9] = {x = -1171.44, y = -2200.92, z = 13.2, h = 295.28}
}
Config.locationstrailerilegal = {
[1] = {x = 1146.68, y = -3281.16, z = 5.92},
[2] = {x = 1146.68, y = -3281.16, z = 5.92},
[3] = {x = 844.6, y = -2350.92, z = 30.32, h = 284.88},
[4] = {x = 1723.28, y = -1576.48, z = 112.56, h = 295.48},
[5] = {x = 2588.24, y = 414.24, z = 108.44, h = 178.32},
[6] = {x = 2536.08, y = 2584.4, z = 37.96, h = 358.52},
[7] = {x = 2671.32, y = 3529.92, z = 52.28, h = 65.6},
[8] = {x = -270.12, y = 6035.44, z = 31.68, h = 49.8},
[9] = {x = -1171.44, y = -2200.92, z = 13.2, h = 295.28}
}
Config.locationstransportlegal = {
[1] = {x = -826.4, y = -2690.2, z = 13.88},
[2] = {x = 1146.68, y = -3281.16, z = 5.92},
[3] = {x = 844.6, y = -2350.92, z = 30.32, h = 284.88},
[4] = {x = -806.4, y = -2679.64, z = 13.8},
[5] = {x = -826.4, y = -2690.2, z = 13.88},
[6] = {x = -806.4, y = -2679.64, z = 13.8},
[7] = {x = -826.4, y = -2690.2, z = 13.88},
[8] = {x = -806.4, y = -2679.64, z = 13.8},
[9] = {x = -826.4, y = -2690.2, z = 13.88}
}
Config.locationstransportilegal = {
[1] = {x = -826.4, y = -2690.2, z = 13.88},
[2] = {x = 1146.68, y = -3281.16, z = 5.92},
[3] = {x = 844.6, y = -2350.92, z = 30.32, h = 284.88},
[4] = {x = -806.4, y = -2679.64, z = 13.8},
[5] = {x = -826.4, y = -2690.2, z = 13.88},
[6] = {x = -806.4, y = -2679.64, z = 13.8},
[7] = {x = -826.4, y = -2690.2, z = 13.88},
[8] = {x = -806.4, y = -2679.64, z = 13.8},
[9] = {x = -826.4, y = -2690.2, z = 13.88}
}
Config.LegalPackagePoints = {
totalpackage = 6, -- if you add more packages, add the number of packages there are in total to pick up
{x = 61.84, y = -2674.16, z = 5.0},
{x = 60.08, y = -2674.16, z = 5.0},
{x = 58.24, y = -2674.16, z = 5.0},
{x = 58.32, y = -2675.76, z = 5.0},
{x = 58.36, y = -2677.32, z = 5.0},
{x = 58.4, y = -2679.08, z = 5.0}
}
Config.IlegalWeaponsPoints = {
totalweapon = 6, -- if you add more weapons, add the total number of weapons to collect
{x = 1508.0, y = -2095.52, z = 75.84},
{x = 1509.28, y = -2095.32, z = 75.84},
{x = 1509.6, y = -2100.96, z = 75.68},
{x = 1510.96, y = -2101.4, z = 75.68},
{x = 1504.68, y = -2107.88, z = 75.36},
{x = 1497.16, y = -2102.12, z = 75.52}
}
Config.Level = {
['legal'] = {
[1] = {
money = 100, -- money that it will give you if you are at level 1
exp = 10, -- exp that it will give you if you are at level 1
exprequired = 1000 -- exp required to level up (legal and ilegal)
},
[2] = {
money = 200,
exp = 20,
exprequired = 2000
},
[3] = {
money = 300,
exp = 30,
exprequired = 3000
},
[4] = {
money = 400,
exp = 40,
exprequired = 4000
},
[5] = {
money = 500,
exp = 50,
exprequired = 5000
},
[6] = {
money = 600,
exp = 60,
exprequired = 6000
},
[7] = {
money = 700,
exp = 70,
exprequired = 7000
},
[8] = {
money = 800,
exp = 80,
exprequired = 8000
},
[9] = {
money = 900,
exp = 90,
exprequired = 9000
},
[10] = {
money = 1000,
exp = 100,
exprequired = 100000 -- do not touch
}
},
['ilegal'] = {
paywithitem = false, -- will pay you with an item if it is set to "true".
item = 'black_money', -- item name.
[1] = {
money = 100,
exp = 10,
},
[2] = {
money = 2000,
exp = 20,
},
[3] = {
money = 3000,
exp = 30,
},
[4] = {
money = 4000,
exp = 40,
},
[5] = {
money = 5100,
exp = 50,
},
[6] = {
money = 6100,
exp = 60,
},
[7] = {
money = 7100,
exp = 70,
},
[8] = {
money = 8100,
exp = 80,
},
[9] = {
money = 9100,
exp = 90,
},
[10] = {
money = 1100,
exp = 100,
},
}
}
Config.Translations = {
['language'] = "EN", --You can choose which language the notifications will be in. (EN, ES, FR)
['EN'] = {
[1] = "Press ~b~E~w~ to open",
[2] = "Go to the gps coordinates, and pick up the cargo.",
[3] = "~r~[E]~s~ - pick up package",
[4] = "This was the last box, load it and go to the new location to download.",
[5] = "~g~[E]~s~ - Open Doors",
[6] = "~g~[E]~s~ - Close Doors | ~g~[G]~s~ - Put package",
[7] = "Packages: ~g~",
[8] = "/6 ~s~",
[9] = "You already have a job to do.",
[10] = "You have been caught and the police have been called.",
[11] = "They are making illegal loadings, we have marked on your gps the area where it was last seen.",
[12] = "~r~[E]~s~ - collect weapons",
[13] = "These were the last weapons, load them and go to the new location to unload it.",
[14] = "Weapons: ~g~",
[15] = "/6 ~s~",
[16] = "A worker is on his way with the truck, wait for him to arrive.",
[17] = "Now you have to go and pick up the goods, we have marked it on the gps.",
[18] = "The gun owners have found out and are after you, kill them.",
[19] = "You need to have a truck driver's job for this."
},
['ES'] = {
[1] = "Pulsa ~b~E~w~ para abrir",
[2] = "Ve a las coordenadas gps, y recoge la carga",
[3] = "~r~[E]~s~ - recoger el paquete",
[4] = "Esta era la última caja, cárgala y ve a la nueva ubicación para descargarla",
[5] = "~g~[E]~s~ - Abrir puertas",
[6] = "~g~[E]~s~ - Cerrar Puertas | ~g~[G]~s~ - Poner paquete",
[7] = "Paquetes: ~g~",
[8] = "/6 ~s~",
[9] = "Ya tienes un trabajo que hacer",
[10] = "Te han pillado y han llamado a la policía",
[11] = "Están haciendo cargas ilegales, hemos marcado en su gps la zona donde fue visto por última vez",
[12] = "~r~[E]~s~ - recoger las armas",
[13] = "Estas fueron las últimas armas, cárgalas y ve a la nueva ubicación para descargarlas",
[14] = "Armas: ~g~",
[15] = "/6 ~s~",
[16] = "Un trabajador está en camino con el camión, espere a que llegue.",
[17] = "Ahora tienes que ir a recoger la mercancía, la hemos marcado en el gps.",
[18] = "Los propietarios de armas se han enterado y van a por ti, mátalos.",
[19] = "Para esto hay que tener un trabajo de camionero."
},
['FR'] = {
[1] = "Appuyez sur ~b~E~w~ pour ouvrir",
[2] = "Allez aux coordonnées gps, et prenez la cargaison",
[3] = "~r~[E]~s~ - ramasse le paquet.",
[4] = "C'était la dernière boîte, chargez-la et allez au nouvel emplacement pour la décharger",
[5] = "~g~[E]~s~ - Ouvrir les portes.",
[6] = "~g~[E]~s~ - Close Doors | ~g~[G]~s~ - Put Package",
[7] = "Paquets : ~g~",
[8] = "/6 ~s~",
[9] = "Vous avez déjà un travail à faire",
[10] = "Vous avez été pris et la police a été appelée.",
[11] = "Ils font des accusations illégales, nous avons marqué sur votre GPS la zone où vous avez été vu pour la dernière fois",
[12] = "~r~[E]~s~ - ramasse les armes.",
[13] = "Ce sont les dernières armes, chargez-les et allez au nouvel emplacement pour les décharger",
[14] = "Armes : ~g~",
[15] = "/6 ~s~",
[16] = "Un ouvrier est en route avec le camion, attendez qu'il arrive",
[17] = "Maintenant vous devez aller chercher les marchandises, nous l'avons marqué sur le gps",
[18] = "Les propriétaires d'armes à feu en ont entendu parler et sont après vous, tuez-les.",
[19] = "Il faut avoir un métier de chauffeur routier pour cela."
},
}Last updated