Installation
- Drag and drop the folder to your
resourcesdirectory. - Add the script to your
server.cfg:
ensure yourscriptname
- Set your framework in
config.lua:
Lua
-- 'qb' for qb-core and qbox & 'esx' for esx framework
Config.Framework = 'qb'- Import the SQL file included for reputation tracking.
SQL
CREATE TABLE IF NOT EXISTS cargo_repo (
citizenid VARCHAR(50) PRIMARY KEY,
repo INT DEFAULT 0
);Dependencies
- ox_lib
- oxmysql
- finals paycheck - if need
- finals drawtext - if need
- QBCore, Qbox or Esx (As per your framework)
Notes
- Make sure your spawn zones for truck/trailer are clear to prevent failed spawns.
- Reputation starts at 0 and increases with each successful job.
- You can customize job data inside
config.lua.