VNS Delivery For Jobs
A delivery side-job you can attach to any existing job on your server. Each configured job (restaurant, coffee shop, burger joint...) gets a start marker at its workplace; employees take an order from the back of a delivery vehicle, drive it to a random drop point in the city and hand it over for money - with a chance of a tip on top. After a set number of deliveries the run ends, and a cooldown gates the next one.
One resource runs on QBCore, QBox and ESX. Framework, job, money, progress bar and notification support comes from vns-core. The jobs themselves are your framework's normal jobs - the script adds delivery work on top, it does not create jobs.
Feature overview
- Works with any job - add an entry per job name and place its start marker wherever that business is. Only players currently holding one of the configured jobs can deliver.
- Random drop points - every delivery sends the player to a random point from a shared, city-wide pool (86 locations by default), with a GPS route and blip.
- Vehicle pickup - the order is taken from the back of a delivery vehicle. Only the configured models count (Faggios and the Blista by default).
- Pay plus tips - each delivery pays a random amount into cash or bank, and a configurable percentage chance adds a random tip.
- Runs and cooldown - a run is capped at a number of deliveries (3 by default); starting a new run has a per-player cooldown (5 minutes by default).
- Server-side payment - the server assigns the drop point, checks the player's job, run and position at hand-over, and rolls the pay and tip itself.
- Progress bars and animations - taking and handing over the order both run a progress bar with an animation, with hooks for a box-carry emote.
How a run plays out
- An employee walks to their job's delivery marker and presses E - the run starts and the first drop appears on the GPS.
- They drive an allowed vehicle to the drop, step out, and press E behind the vehicle to take the order.
- They walk to the drop marker and press E to hand it over - the pay (and maybe a tip) lands immediately and the next drop is routed.
- After the last delivery of the run the script tells them there are no more orders. Pressing E at the start marker mid-run cancels the run.
Open vs Encrypted
The script ships in an Open and an Encrypted variant. In the Encrypted variant config.lua, client/client_open.lua and server/server_open.lua stay editable - jobs, pay, vehicles, drop points, every text and the emote/payment hooks live there.