G[S]cripts
  • G[S]cripts Documentation
  • FiveM/RedM Asset Escrow
  • Trucking Job
    • Installation
    • Commands & Exports
    • Advanced Configuration
      • shared/config.lua
      • client/edit.lua
      • server/edit.lua
  • Advanced Trailers
    • Installation
    • Commands & Exports
    • Advanced Configuration
      • shared/config.lua
      • client/edit.lua
  • Motorhomes
    • Installation
    • Commands & Exports
    • Advanced Configuration
      • shared/config.lua
      • client/edit.lua
      • client/framework/*lua
      • server/framework/*.lua
  • Moonshining
    • Installation
    • Advanced Configuration
      • config.lua
      • editable/client.lua
  • Bank Robbery
    • Installation
    • Advanced Configuration
      • config.lua
      • editable/client.lua
      • editable/server.lua
  • GANG WARS
    • Installation
    • Advanced Configuration
      • config.lua
      • editable/client.lua
      • editable/server.lua
    • Exports
Powered by GitBook
On this page
  • Download The Asset
  • Dependencies (Required)
  • Dependencies (Optional)
  • Asset Order
  • Database
  • QBCore (shared.lua or jobs.lua)
  • Configuration
  1. Trucking Job

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!

PreviousFiveM/RedM Asset EscrowNextCommands & Exports

Last updated 1 year ago

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.


Download The Asset

To find and download the asset, you must have made the purchase using your own Cfx/keymaster account. Otherwise, you can use keymasters transfer system to transfer the asset to a different Cfx/keymaster account.


Dependencies (Required)

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.

Dependencies
Direct links

QBCore or ESX

ox_lib

oxmysql (Recommended), or mysql-async, or ghmattimysql

Warehouse MLO

Dependencies (Optional)

Optional Dependencies
Direct links

ox_target, qb-target, or inside-interaction

LB-Phone, or QS-Smartphone-Pro

pma-voice (can configure your own)


Asset Order

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

Database

If using QBCore no changes to the database are required

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, '{}', '{}')
;

QBCore (shared.lua or jobs.lua)

This step is ONLY required for QBCore framework servers

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
        } 
    } 
},

Configuration

The following are the basic requirement's to get started with your framework. Open the 'shared/config.lua' and follow the steps below...

Set your framework resource ("qbcore" or "esx")

- Framework: qbcore, esx
Config.Framework = "qbcore"

Set your third eye resource (ox_target, qb-target, or inside-interaction)

Note: You can set this to false to use ox_lib's nui text or the classic Help Text message. Third eye isnt required!

-- 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

Once the purchase is made on our official website, you will receive your asset directly in your , in your own panel you can download the asset and install it following the following documentation.

If you have more problems regarding , accounts or asset startup errors you can go here and see if any of them match your case.

For more advanced configurations, please visit the section.

You can also join the for updates, player shared configs, and support.

keymaster
Fivem Escrow
FiveM/RedM Asset Escrow
Advanced Configurations
discord
Advanced Configuration
https://github.com/qbcore-framework/qb-core
https://github.com/esx-framework/esx_core
https://github.com/overextended/ox_lib
https://github.com/overextended/oxmysql
https://forum.cfx.re/uploads/short-url/mK6gjCeYrZSil61VTl2ZjddzfUD.zip
https://github.com/overextended/ox_target
https://github.com/qbcore-framework/qb-target
https://inside-scripts.tebex.io/category/standalone
https://lbphone.com/
https://buy.quasar-store.com/package/5652439
https://github.com/AvarianKnight/pma-voice