ESX [ESX] Trucker job

SaifNeon

SaifNeon

Administrative
Credits
45,854
[ESX] Trucker job

c_truckerjob - Advanced Trucker Job for FiveM (ESX)​

Transform your FiveM roleplay server with a realistic and rewarding trucking experience! This script allows players to take on delivery missions across San Andreas, using actual trucks and trailers, earning cash, and exploring the open world in a structured job system.


:wrench:
Features​

  • :briefcase:
    Flexible Access
    Allow any player to work as a trucker or restrict it to a specific job (Config.RequireJob toggle).
  • :truck:
    Truck + Trailer System
    Spawns both a semi-truck and a trailer, with automatic attachment and return logic.
  • :round_pushpin:
    Custom Depot with Interaction UI
    Includes 3D text prompts, visual markers, and a user-friendly menu to choose delivery locations.
  • :moneybag:
    Dynamic Reward System
    Each delivery location offers a different payout, fully configurable in client.lua.
  • :pager:
    Salary or Bank/Cash Support
    Choose the payment method via Config.Account (salary, bank, money).
  • :card_file_box:
    Blip & Marker System
    Easily customizable map blips and markers guide players from pickup to delivery and back.
  • :broom:
    Modular & Configurable
    Easily modify delivery points, vehicles, depot location, and more.
  • :hammer_and_wrench:
    Auto Job Injection
    Automatically creates the “trucker” job in your database if it doesn’t exist.
  • :soap:
    Clean Resource Stop Handling
    Ensures all spawned vehicles and blips are deleted on resource stop.

:tv:
Showcase​


:memo:
Delivery Locations​

  • Paleto Market — Reward: $5000
  • Sandy Gas Station — Reward: $4000
  • Los Santos Docks — Reward: $3500
:white_check_mark:
You can add unlimited custom delivery points easily in Config.Deliveries.


:technologist:
Requirements​


:inbox_tray:
Installation​

  1. Clone or download this repository.
  2. Place c_truckerjob in your resources folder.
  3. Add ensure c_truckerjob to your server.cfg.
  4. Make sure oxmysql, es_extended, and lib are installed and configured.
  5. Start your server and enjoy!

:globe_with_meridians:
Connect with Us​

:small_blue_diamond:
Discord Support & Community:
Please, Log in or Register to view URLs content!



:open_file_folder:
Files Included​

  • client.lua — Handles UI, markers, vehicle spawning, job logic
  • server.lua — Handles job validation, payment, and job setup
Both scripts are cleanly written and documented for easy editing.


Please, Log in or Register to view URLs content!

Please, Log in or Register to view URLs content!


|| Screen Shot ||

Please, Log in or Register to view URLs content!


Please, Log in or Register to view URLs content!
 
  • Like
Reactions: pika80
Back
Top