qbcore-framework / qb-truckerjob

Trucker Job For QB-Core
GNU General Public License v3.0
32 stars 134 forks source link

Add Max Drops #34

Closed mrdiamonddirt closed 2 years ago

mrdiamonddirt commented 2 years ago

Describe Pull request Added Max delivery Locations (Drops) Configurable in the config, Once the maximum number of drops is reached new function return to station is triggered and a blip route is set, Once returned to the station the blip route is destroyed.

fixes #30

Questions (please complete the following information):

tom-osborne commented 2 years ago

So when you complete all stops it sets JobsDone = 0 ? What happens when you get paid at the end? That needs to know how many jobs you've done.

mrdiamonddirt commented 2 years ago

So when you complete all stops it sets JobsDone = 0 ? What happens when you get paid at the end? That needs to know how many jobs you've done.

Ofcourse my bad sorry removed the addition reset