Oxide Roadside Assistance

Roadside assistance gig job system for FiveM servers.

Overview

oxide-roadsideassistancejob is a roadside assistance gig job where players clock in at a tow yard, receive dispatched service calls, drive a tow truck to stranded motorists, and complete one of four roadside service workflows: fuel help, wheel changes, battery replacements, or towing.

The default package ships with:

  • 4 job types
  • 40 preconfigured events
  • 1 tow yard
  • 5 progression levels
  • 2-player crews
  • 14 tutorial prompts

Players earn persistent progression, daily streak bonuses, crew co-op bonuses, and random tips while a complaint system handles shift abuse such as vehicle destruction or dying on shift.

Technical

DependencyRequiredPurpose
o-linkYesFramework and system abstraction layer used by the resource
ox_libYesTranslations and timers
oxmysqlYesDatabase access for progression data
  • character
  • notify
  • phone
  • money
  • vehiclekey
  • fuel
  • target
  • progressbar
  • menu
  • input
  • placement (the settings menu's Place in world)
  • hud (Oxide HUD panels)
  • callback
  • clothing (optional uniforms)
  • logger
  • framework
  • framework lifecycle events

Database

The resource uses the unified job_progression table and stores roadside entries with job = 'roadside'. Settings live in the shared oxide_settings table, and pay owed to a player who disconnected or logged out mid-shift waits in the shared job_pending_payouts table until their next login. The resource creates all three on its own the first time it starts.

Frontend

The packaged UI is Vue 3 + Vite + Tailwind CSS and powers:

  • the shift menu
  • incoming call notifications
  • the in-job HUD
  • shift summary screens
  • tutorial overlays
  • waypoint overlays
  • Config.menuStyle = 'nui': full Vue menu with camera and crew portraits
  • Config.menuStyle = 'menu': lightweight olink.menu flow

Summary Modes

  • Config.shiftSummary = 'nui': popup summary on clock-out, with either menu style. A shift that ends any other way sends the summary as with 'text'
  • Config.shiftSummary = 'text': summary sent to the player's phone when Config.usePhone = true — as a text on phones that take texts, as mail on the others — otherwise a short net-pay notification

Features

  • Dispatch loop: Calls arrive on a random timer, use grouped event rotation to reduce repetition, and auto clock out the shift after too many missed or declined calls.
  • Four service workflows: Fueling, wheel changes, battery replacement, and towing each use distinct interactions, props, and repair steps.
  • Distance-based timers: Time limits are calculated from dispatch acceptance distance rather than fixed per-event mission durations.
  • Persistent progression: Five levels increase pay multiplier and tip chance, backed by the shared progression table.
  • Crew support: Two players can share one tow truck, work the same scene, and receive a co-op bonus. Each is paid on their own level.
  • Tow truck systems: Spawned work vehicle includes integrated props, cone storage, key handling through o-link, and destruction/damage penalties.
  • Scene safety tools: Placeable cones and traffic slow zones improve roadside scenes and add cone-based pay bonuses.
  • In-menu world editing: Tow yards and breakdown scenes are edited in the /roadside settings menu like any other setting, with ghost-preview placement buttons, and apply live — no config file editing, no restarts.
  • Tutorials: First-time prompts guide players through calls, job steps, cones, crews, late jobs, and level-ups.
  • Phone messages: Shift messages and the pay summary arrive on the player's phone as texts, or as mail on phones that don't take texts. Incoming calls ring the phone of the solo worker or crew leader, while the call is still answered on the on-screen call card. On Oxide Phone, the Gigs app shows the tow yards, the player's current call, and their level, with no setup. Texts and the call ring need o-link 1.11.0 or newer.

Documentation for setup and operation lives in Installation, Configuration, Features, Admin, API Reference, and Troubleshooting.

Documentation