okokMechanicJob

YouTube Video

Installation Guide

Requirements:

ox_lib v3.16.2+ (https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip).

Execute the following SQL code in your database:

ALTER TABLE `owned_vehicles` ADD `vehiclemileage` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `owned_vehicles` ADD `vehiclestatus` LONGTEXT DEFAULT '{"oil":0,"brakes":0,"filters":0,"battery":0, "timingbelt":0, "enginefluid":0, "tires":0, "lights":0}';
ALTER TABLE `owned_vehicles` ADD `vehiclenitrouslevel` LONGTEXT DEFAULT '{"nitrouslevel":0,"nitroustype":"none"}';
ALTER TABLE `owned_vehicles` ADD `vehiclestance` LONGTEXT DEFAULT NULL;
ALTER TABLE `owned_vehicles` ADD `vehicleengine` LONGTEXT DEFAULT '{"engine":"stock","defaultspeed":0}';
ALTER TABLE `owned_vehicles` ADD `vehicletuning` LONGTEXT DEFAULT '{"defaultboost":0, "boost":0, "defaultacceleration":0, "acceleration":0, "defaultgear":0,"gear":0, "defaultdrivetrain":0, "drivetrain":"0","defaultbrake":0, "brake":0, "smoke":false, "pops":false, "driftmode":false}';

INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('oil', 'Oil', 0, 0, 1), ('brakes', 'Brakes', 0, 0, 1), ('filters', 'Filters', 0, 0, 1), ('battery', 'Battery', 0, 0, 1), ('engine', 'Engine', 250, 0, 1), ('timingbelt', 'Timing Belt', 0, 0, 1), ('enginefluid', 'Engine Fluid', 0, 0, 1), ('tire', 'Tire', 0, 0, 1), ('cleaningkit', 'Cleaning Kit', 250, 0, 1), ('dynoprintout', 'Dyno Printout', 250, 0, 1), ('lights', 'Lights', 250, 0, 1), ('nitrousrecharge', 'Nitrous Recharge', 250, 0, 1);

Update setVehicleProperties function

ESX

Navigate to es_extended/client/functions.lua and add the following code inside the setVehicleProperties function:

QBCore

Navigate to qb-core/client/functions.lua and add the following code inside the setVehicleProperties function:

QBCORE ONLY

Add Item:

OX Inventory Items

Flatbed

Last updated