Installation
Thank you for purchasing the trucking job, here you can learn the basic instructions to install the resource and get it running. As long as each step is followed correctly, there should ne issues!
Last updated
Thank you for purchasing the trucking job, here you can learn the basic instructions to install the resource and get it running. As long as each step is followed correctly, there should ne issues!
Last updated
It's recommend that you read each step carefully without skipping any lines, since all documentation is important and should not be ignored under any circumstances.
Once the purchase is made on our official website, you will receive your asset directly in your keymaster, in your own panel you can download the asset and install it following the following documentation.
If you have more problems regarding Fivem Escrow, accounts or asset startup errors you can go here and see if any of them match your case.
This asset has some dependencies that are mandatory. If you do not have these dependencies, your asset will probably not start and/or have some error messages in its command console.
QBCore or ESX
ox_lib
oxmysql (Recommended), or mysql-async, or ghmattimysql
Warehouse MLO
ox_target, qb-target, or inside-interaction
LB-Phone, or QS-Smartphone-Pro
pma-voice (can configure your own)
You need to make sure assets start in the correct order, if something goes wrong you will probably get errors about exports not found, do not skip this step!
Make sure the order of assets are correct in your server.cfg file.
-- First, frameworks required
ensure es_extended or qb-core
-- All other resources including
ensure gs-trucking
SET @job = 'trucker';
SET @job_name = 'Trucker';
INSERT INTO `jobs` (name, label, whitelisted) VALUES
(@job, @job_name, 0)
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
(@job, 0, 'driver', 'Driver', 0, '{}', '{}')
;
Place the following in your shared.lua or jobs.lua depending on what version of QBCore you're running located in "qb-core/shared"
trucker = {
label = 'Trucker',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = {
name = 'Driver',
payment = 0
}
}
},
The following are the basic requirement's to get started with your framework. Open the 'shared/config.lua' and follow the steps below...
- Framework: qbcore, esx
Config.Framework = "qbcore"
-- Targeting System: ox_target, qb-target, inside-interaction (if you changed the targeting system resource names, leave false to use default help message)
Config.Target = 'ox_target'
-- Targeting system resource name (if you changed the resource names of ox_target, bt-target, or qb-target, inside-interaction leave false to use default)
Config.TargetName = false
For more advanced configurations, please visit the Advanced Configurations section.
You can also join the discord for updates, player shared configs, and support.