Code Monkey home page Code Monkey logo

truckjob's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.