Giter Club home page Giter Club logo

esx_garbagecrew_v2's Introduction

This is a the next step in my GarbageCrew job. Most servers you can rob a bank with 1 - 4 people, rob a store with 1-4 people, but any legal work must be done solo. This shows it can be done - with the pay split between everyone that is doing the job. I have spent a fair bit of time testing the networking on my personal test server, on a live dev server with 2-3 people helping me, and as of the last 12hrs live on 2 seperate servers.

To help with some of the questions:

Only the “JobBoss” needs to pull out vehicle. Each member will receive even split of pay right after the last bag is placed into the truck. The original creator is listed on the copy that I received are:

– ORIGINAL SCRIPT BY Marcio FOR CFX-ESX

Changes to my version of script:

Security Fix: I have completly rewritten how the script handles pay. No more clientside being able to send request for amount of money. When last bag is done the sever looks in the list of jobs for who has put bags in the truck and pays them the correct amount.

added: anyone can work the same job.

added: Pay is sent after every last bag or jobboss disconnects.

added: Changed the draw location of the back of the trunk to use offset. (If you use a replacement truck you might have to change the offset)

added: Config.UseWorkClothing - allows servers to decide if they want to make players change into work outfit or not.

added: Truck Plate Configuration - Plates will start with GCREW001 at server start and will go up to 999 before restarting at 001.

added: Easier to add additional routes for pickups in the Config.Collections (just need to copy the last line increase the number 1 and change the pos for pickup)

Changes to my version of script:

added: Anyone can help take bags out of a bin and place inside the truck. added: Pay is sent after every pickup (in case driver disconnects) added: Pay is split among everyone that puts bags into the truck. added: Changed the draw location of the back of the trunk to use platelight.(even if vehicle is blown up still finds the platelight) Changes to the original script:

added: bag collection to each destination. (driver will have to get out to collect bags from trash bin.) added: pay per bag - the more you do the more you earn. added: animations from heist “Series A Funding” for walking while holding bag, and putting bag in truck. added: check for last job to keep from getting sent to the same job over and over. – Requires–

ESX_Jobs

– Install –

Import garbagejob_v2.sql if you do not already have the garbagejob on your server for work clothes settings. add esx_garbagecrew to your resource folder. start esx_garbagecrew in your server.cfg

esx_garbagecrew_v2's People

Contributors

spike-odets avatar rex2630 avatar tjspann avatar aleexnl avatar

Watchers

James Cloos 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.