Git Product home page Git Product logo

hiype-cardelivery's Introduction

FiveM car delivery script (Rewrite)

Note: I made a rewrite on April 29, 2022, but since then my Lua coding skills have been increased a lot and looking at this code...it really needs another rewrite because some parts of the code are still quite badly written and some parts are not logical almost at all. If anyone wishes to make a rewrite please do so! But i believe my working days on this script are over. I will be moving on to new scripts, see you there :)

FiveM resource for servers with QbCore Framework.

Start a mission for a car delivery, steal the car, drive it to the destination, profit.

📽️⬇️ Check the video below! 📽️⬇️

Preview video

Features

  • Payout based on vehicle condition (Engine, Body, Rank)
  • Very configurable
  • Cooldown between each taken job
  • Possible cop car chase when the car is stolen
  • Rank system with better cars spawning the more xp you get
  • Chat commands for checking current level
  • Admin rank editing options
  • Level up and level down notifications
  • Vehicles deleted more seemlessly
  • Uses qb-target and polyzone

Requirements

Setup

  1. Download or clone this repository inside your resources folder
  2. Remove the "-main" part from folder name
  3. Add a line to your server.cfg file -> ensure hiype-cardelivery
  4. Add a line inside [qb] -> qb-core -> server -> player.lua
   PlayerData.metadata['cardeliveryxp'] = PlayerData.metadata['cardeliveryxp'] or 0

      An example image can be found at the bottom of this section.

  1. If your server is running, remember to either restart your server or do /refresh and also /start hiype-cardelivery

Enter this line

Instructions

To start the job, go to the location seen on the map below.

Map

Once there, go next to the NPC and use third eye (left alt) to start the job. You will receive a message about the vehicle you need to steal.

Job start location

Follow the objective, use any lockpick to open the car and hotwire if necessary.
Drive to the destination. Beware, if the car is destroyed, job will fail!
Once you arrive at the destination, stop the car inside the objective blip on mini map. Job will finish and you will get paid depending on distance driven and condition of the car.

Config and translation info

Head to the wiki page for detailed explanation on each variable

Support

If you wish to support me in any way, you can do so through this link -> BuyMeACoffee

hiype-cardelivery's People

Contributors

hiype avatar choppa25 avatar

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.