infoConfiguration

Below we have explained some of the key features found in our Config file within the Vehicle Road Tax Script.


Framework

circle-info

Select your framework (by default the script will auto detect)

Config.Framework = 'qbcore' -- 'qbcore', 'qbox'

Inventory

circle-info

If you have an inventory system that is not one of the listed types then this means the script doesn't support

it as of this moment in time.

Config.InventorySystem = 'qs' --'qb' = [qb-inventory], 'ox' = [ox_inventory], 'qs' = [qs-inventory]

Target System

circle-info

The script supports both qb-target and ox_target to allow the 3rd eye functions within this script.

Config.Target = 'auto' -- 'qb-target', 'ox_target', or 'auto' for auto-detection

Location

circle-info

Location setting is critical to allowing your players to get access to the Road Tax interface, the default location is inside Big Bank in Vinewood. If you have an interior you wish to place the ped in you can always set it here.

Config.RoadTaxLocation = {
    coords = vector4(238.88, 221.55, 106.29, 272.3), --vector4(243.63, 226.25, 106.29, 157.3)
    blipSprite = 606,
    blipColor = 3,
    blipScale = 0.8,
    blipLabel = "Vehicle RoadTax"
}

Road Tax Prices

circle-info

You can set the vehicles Road Tax price by category in the config file. This allows you reduce the amount or increase to suit your economy.


Road Tax Duration

circle-info

Your players will have the option to tax their vehicles for 2 periods, these periods by default are every 6 weeks or every 12 weeks. You can adjust this to suit your economy and ensure you utilise the script as often as possible.


Using qs-inventory

circle-info

If you are using qs-inventory you will need to add the following code to qs-inventory -> shared -> items.lua.

circle-exclamation
circle-info

To Display Metadata and depending on your version of qs-inventory you will need to add the following snippet below the existing id_card in this file qs-inventory -> config -> metadata.js.


Using ox_intentory

circle-info

If you are using ox_inventory you will need to add the following code to ox_inventory -> data -> items.lua.


Using qb-core

circle-info

If you are using qb-inventory you will need to add the following code to qb-core -> shared -> items.lua.


Config File before edits

Last updated