🎉 Character is released. Read more →
Paid Scripts
Tuning

Tuning

Installation

  1. Place the script in the resources folder. Make sure to ensure oxmysql and ox_lib before this script.
  2. Ensure the script in the server.cfg
  3. configure it to your liking!

Configuring

How are the price calculated?

By default in the Config.price, its calculated based on the vehicle price in esx vehicles and qb/qbx dealer. If the vehicle is not listed in the dealer or not found, then it will default to the Config.DefaultPrice.ImportVehicle

Creating modification points or shops

There are two types of tuning shop:

  1. Job based shop
  2. Player based shop

If you want to create a tuning shop where there must be a certain job to install the parts and uses company money. Then you can create a modification shop within Config.Mechanic with the property Config.Mechanic.Options.job = 'yourjobname'. Here is an example

		Options = {
			name = 'LS Custom', -- The name of the shop
			Blip = {
				sprite = 446,
				scale = 0.8,
				colour = 61,
			},
			job = 'mechanic', -- The job that can access the shop tuning, if you want to disable set it to false so everyone can access it
			billing = true, -- If false then it will bill the tuner directly and have to pay immediately
			account = 'money',
			EmployeeFee = 20 -- The employee cut for the tuning price
		}

If you want all players to be able to access the menu then make the job = false and billing = false

		Options = {
			name = 'Modification Shop', -- The name of the shop
			Blip = {
				sprite = 446,
				scale = 0.8,
				colour = 61,
			},
			job = false, -- The job that can access the shop tuning, if you want to disable set it to false so everyone can access it
			billing = false, -- If false then it will bill the tuner directly and have to pay immediately
			account = 'money',
			EmployeeFee = 0 -- The employee cut for the tuning price
		}
Last updated on