JG Mechanic Script
A full mechanic job built around a tablet, a working car lift and enough config to price every tuning category on its own. Runs 0.0 to 0.1ms resmon in normal use, with heavier client effects (stance, NOS, LightingControl+) the only spikes. State bags in OneSync Infinity handle sync, so no while-loop soup.
Highlights
- Tuning: every stock and DLC option including the 7 Chop Shop plates, self-service or mechanic-installed, previewed with auto camera angles or a free cam. Any category can be disabled in config.
- Respray: GTA colours with search, primary/secondary sync and pearlescence toggle, plus RGB and chameleon on paint, wheels and interior where the vehicle supports it.
- Advanced Vehicle Stance: suspension height, camber and tracking adjusted per wheel, server-synced and preserved through garage store and retrieve.
- Performance Tuning: pre-configured V12, V8, V6 and I4 engine swaps with streamed sounds, plus tyres, drivetrain and brakes. Add your own options in config and pick how each one affects handling or sound.
- Manual Transmissions: swap any non-electric vehicle to manual via the tablet, item or society funds. Shift late and you damage the engine.
- Servicing: mileage-based wear (via the included free jg-vehiclemileage) that forces customers back to the shop for part replacements.
- Repairs: self-repair at a tuning bay, place a repair order, use a kit, or duct tape it for a quick fix. Prices scale to vehicle value if you want.
- Dyno: tablet dyno takes ~30 seconds, sweeps through the RPM range and shows horsepower, torque and a final graph you can share with the customer.
- Invoices: auto-generated as the mechanic works, editable line by line, saveable, resendable, and synced across every employee of the business.
- Mechanic Tablet: command or item, handles servicing, dyno, performance tuning, invoices, order fulfilment and business management. Connect it to a vehicle to work on that car, or use it standalone.
- Car Lifts: an interactable, custom lift prop you can place anywhere on the map, job-locked to a mechanic business.
- LightingControl+: inventory item that toggles RGB xenons and underglow with effects like rainbow and flash for meets and night drives.
- Items: tablet, tuning installs, stance, NOS, brakes, engine swaps, repairs, cleaning, servicing and lighting can each be gated behind inventory items.
- Pricing: separate prices per tuning category with multipliers, optionally proportional to vehicle value pulled from JG Dealerships, QBShared or vehicles.meta.
- Webhooks: up to 7 Discord URLs for logging and notifications on important shop events.
Sync and performance
Animations and effects use OneSync Infinity state bags so nearby players see the same thing you do. The upside is stance, NOS and lighting look right to everyone. The other upside is resmon: 0.0 to 0.1ms sitting idle, only rising when heavy client effects are actually running.