Appearance
Economy and delivery setup
The clean schema is a starting structure, not an established economy. Create service points, businesses and vehicles before treating job income or spending as balanced.
Prepare the essentials
Place spawns, the DMV, banks/ATMs and shops needed by your intended progression. Create properties with realistic buy types and exterior coordinates. Set prices, fees and paychecks deliberately; imported numeric defaults are not a substitute for your community’s economy policy.
gamemodes/config/header.pwn contains shared fee defaults such as rental and DMV fees. Related systems also contain their own prices and cooldowns. Search the relevant module before advertising a price to players.
Simple trucker prerequisites
The delivery job lives in gamemodes/jobs/trucker/header.pwn. Set TRUCKER_DEPOT_X/Y/Z to your chosen depot; Blueberry is the intended starter area, but coordinates are deliberately unset.
Create at least one eligible business with:
- property type business;
- exterior interior
0and virtual world0; - a supported buy type;
- a location at least
TRUCKER_MIN_DISTANCEfrom the depot (300 map units by default).
| Business buy type | Cargo |
|---|---|
| General store / grocery | Fresh groceries |
| Liquor / appropriate bar business | Beer, wine and spirits |
| Restaurant | Fresh produce and meat |
| Cluckin’ Bell | Poultry and eggs |
| Pizza Stack | Tomatoes, flour and cheese |
| Burger Shot | Beef, buns and lettuce |
| Donut / dough-based food types | Flour/sugar/coffee or dough/sugar |
A building’s visible name does not determine eligibility. A club or 24/7-style store must use a supported buy type, or you must extend Trucker_GetProduct deliberately.
Vehicles and capacity
Create a persistent/registered delivery vehicle supported by Trucker_GetVehicleCapacity. Crates use real slots in VehicleVar, not a pretend player-only counter. Tractor units carry no crates themselves; supported trailers provide the cargo capacity.
Cargo/order state is runtime data. Respawning/resetting/selling the vehicle clears it. Do not promise that unfinished deliveries survive a server restart.
Pay and balance
Default pay is $40 per delivered crate plus a distance-based component using TRUCKER_PAY_PER_YARD at 0.03. The distance is the code’s straight-line depot-to-business calculation, not a route-distance meter. Edit the source constants and recompile to change it.
Test a complete trip with a normal player and a partly loaded vehicle. Confirm the destination is reachable, loading/unloading points are safe, crates cannot be paid twice and the resulting income fits the rest of your economy. The player job guide explains the actual controls.