Coder Social home page Coder Social logo

theenack / dream-postal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kylemcshea/dream-postal

0.0 0.0 0.0 67 KB

📦GoPostal Job for FiveM: Made for QB & ESX. Integrated with ox_target & qb-target for a premium gameplay experience. Elevate your server now! 🚀

Home Page: https://www.youtube.com/watch?v=fSwJO3C85E0

Lua 100.00%

dream-postal's Introduction

GoPostal Job for FiveM by DreamScripts 📦

Welcome to the most immersive GoPostal Job experience for your FiveM server. Crafted meticulously in Lua, this script is optimized for both QB and ESX frameworks, ensuring seamless integration irrespective of your server setup.

Features:

  • Framework Compatibility: Whether you're running on QB or ESX, this script has got you covered.
  • Targeting Systems: Enhanced gameplay with full support for ox_target & qb-target.
  • Notification Systems: Get notified whether you use QB, ESX, okok, or mythic.

To Whitelist the job & add to qb-cityhall:

  1. In config.lua make Config.IS_WHITELISTED_TO_JOB true.
  2. In config.lua change Config.WHITELISTED_JOB_TITLE to job string of desired. We have it as postal by default.
  3. Add the following snippet to qb-cityhall/config.lua
['postal'] = { ['label'] = 'GoPostal', ['isManaged'] = false }
  1. Add the following snippet to qb-core/shared/jobs.lua
    ['postal'] = {
        label = 'GoPostal',
        defaultDuty = false,
        offDutyPay = false,
        grades = {
            [0] = {
                name = 'Delivery Driver',
                payment = 0,
                isboss = false,
            },
            [1] = {
                name = 'Manager',
                isboss = true,
                payment = 0
            },
            [2] = {
                name = 'Boss',
                isboss = true,
                payment = 0
            },
        }
    },

Developer Tools:

Stuck with a package due to the job? Or maybe you're on a mission to record or find the exact coordinates of postal boxes? We've got handy developer tools for that!

Removing a Box:

If a player is stuck carrying a box due to the job, simply type: /removebox

Finding a Postal Box:

To get coordinates of a nearby postal box:

  1. Type /pbox.
  2. Press F8.
  3. Click "Open Log".
  4. Scroll to the bottom of the log and you'll find the coords!

Recording Postal Boxes:

Automatically detect and record postal boxes within your vicinity.

  1. Begin the recording process with /pbox_record.
  2. Drive around - the script will auto-detect postal boxes within a range of 100 units.
  3. Finish recording with /pbox_record once more.
  4. Press F8.
  5. Click "Open Log".
  6. Scroll to the bottom for the recorded coordinates.

Detecting Clothing Codes:

Detect Clothing Outfit codes for GoPostal Outfit.

  1. Put on desired GoPostal Outfit in clothing store.
  2. Save desired outfit onto your player.
  3. Execute /gpfit to see the outfit codes in F8.
  4. Click "Open Log".
  5. Scroll to the bottom for the outfit codes and plug them into config.lua.

Want to collaborate, or get access to support and more? Reach out:

DreamScripts Logo

dream-postal's People

Contributors

kylemcshea avatar misha0717 avatar nerxaog avatar moskalyka 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.