Skip to content

lama-development/TruckJob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TruckJob - Work as a truck driver

TruckJob

📑 Description

This FiveM resource enables the player to work as a truck driver and deliver cargo to locations around the map.

If you are using ND_Framework by Andy7666, you can reward the player for completing the job with money. If you want it to be standalone, then simply set UseND to false in the config.lua. You can also simply convert the script to make it work with any framework you want.

This job consists of 3 parts:

  1. Start your shift at the truck depot, go pick up the trailer at a location.
  2. Pick up the trailer and drive to the destination.
  3. Detach the trailer and choose to get another job or return to the depot.

The player will be paid based on how many trailers have been delivered.

💡 Features

  • Customise the amount of money you get when completing a task (if using ND)
  • Set a custom truck model for the job
  • Set the possible locations for the trailers to spawn
  • Set the possible destinations where you have to drive the trailer to
  • Add custom trailers

... and much more!
Check the config.lua for more information.

👀 Preview

YouTube

📊 Resmon

Context CPU
Idle 0.00 ms
Peak 0.02 ms

📥 Installation

  • Rename the folder from TruckJob-main to TruckJob
  • Drag the folder to your server resource folder
  • Add start TruckJob or ensure TruckJob to your server.cfg

Changelog

v1.3

  • Added the possibility to force quit the job with a penalty

v1.2

  • Added server-side validations
  • Resmon on idle is now 0.00 ms

v1.1

  • Revamped and optimized code
  • Added possibility to accept a new job when a delivery has been made

v1.0

  • Initial Release