Browse docs

Exports

Client and server exports provided by the Sky Mechanic Job resource.

Server Exports

GetVehicleTuning(plate)

  • Purpose: Returns the saved vehicle tuning properties for the supplied plate.
  • Arguments:
    • plate (string) - vehicle plate text. Required.
  • Returns: table | nil - the decoded tuning properties, or nil if no record exists.
local tuning = exports["sky_mechanicjob"]:GetVehicleTuning("ABC123")

if tuning then
    print(json.encode(tuning))
end

Client Exports

getRadialActions()

  • Purpose: Returns the currently available mechanic radial actions for the active install flow.
  • Returns: table[] - radial action definitions used by sky_jobs_base.

Typical action IDs include:

  • access_lift
  • open_hood
  • take_engine_hoist
  • attach_engine_hoist
  • engine_swap
  • install_order_part
  • sand_vehicle
  • paint_vehicle
  • car_jack
  • detach_wheel
  • attach_wheel
  • remove_car_jack
local actions = exports["sky_mechanicjob"]:getRadialActions()

triggerRadialMenuAction(actionId)

  • Purpose: Executes a supported mechanic radial action programmatically.
  • Arguments:
    • actionId (string) - one of the radial action IDs exposed by getRadialActions().
  • Returns:
    • boolean - true on success, false on failure.
    • table? - optional error payload with key and fallback.
local ok, err = exports["sky_mechanicjob"]:triggerRadialMenuAction("access_lift")

if not ok and err then
    print(err.fallback)
end

The mechanic script also depends heavily on sky_jobs_base and inherits its shared systems for creator placement, garages, storage, dispatch, and salary controls.

See the Sky Jobs Base Server Exports page for shared integrations like dispatch creation, external garage registration, and salary pause/resume.

Support

Need help? Our support team is always ready to assist

Join Discord