Skip to content
KS-Mecanic-Job

KS-Mecanic-Job

Installation

  1. Unzip the delivered archive into your resources/ folder, under the name ks-mecanic-job.
  2. Import the provided install.sql file into your database.
  3. Add ensure ks-mecanic-job to your server.cfg, after oxmysql and qb-core.
  4. Restart your server.

Configuration

Config.Workshops = {
  { label = "Atelier de Los Santos Customs", coords = vec4(-347.2, -133.8, 39.0, 70.0) },
}
Config.RepairXP = { bodywork = 15, engine = 20, tires = 8 }

Each repair type awards a different amount of XP, adjustable independently to match the difficulty you want for each step.

Requesting a tow

Any player can call a tow truck from their phone or a dedicated zone:

exports['ks-mecanic-job']:RequestTow(source)
-- notifie tous les mécaniciens en service avec la position du véhicule en panne

The request stays active until an on-duty mechanic accepts it, or expires after the delay set in Config.TowRequestTimeout.

Common issues

The diagnosis minigame doesn’t start. Check that the player is on duty in QBCore, and that the targeted vehicle isn’t already being diagnosed by another mechanic.

Ordered parts never arrive. Check Config.PartsDeliveryDelay (in minutes) and that the ks_mecanic_orders table receives new rows on order — a 0 delay delivers the part instantly.

Something not covered here? Join our Discord.