Installation

This script must be started after your main priority scripts.

Start md_tint_meter after your framework and any other priority resources.

ensure framework
ensure other_scripts
ensure md_tint_meter -- start this under your priority scripts (framework etc)

Do not copy this exact layout - it is an example only.

QBCore setup

Only required if you selected QBCore in the config. Add the lines and files below to the relevant places before attempting to use this script.

Add the item to qb-core/shared/items.lua:

tint_meter = { name = 'tint_meter', label = 'Tint Meter (LEO)', weight = 0, type = 'item', image = 'tint_meter.png', unique = true, useable = true, shouldClose = true, description = 'Detects the window tint level of a vehicle' },

Then place tint_meter.png in qb-inventory/html/images. Without it the item will have no image in the inventory.

Last updated

On this page