βοΈConfiguration
In config.lua you have everything you need to change to make the script to your liking
Language and Locales
If you have translated it into any other language not available by us, feel free to share it on our discord
To change the language simply change the config.lua from en to the language you want. All translations are available in the locales folder.
Config.Locale = 'en'
WhiteList Job
You can set your advanced garbage job as a whitelisted job!
Only Available in QB-Core! If you need it for esx or qbx, open a ticket!
Config.WhiteList = true -- True if you whant to set job whitelisted false if not
Config.Jobname = 'garbage' -- Name of the witelist job
Systems and Frameworks
To change the framework or system just change it with the options given
Config.FRAMEWORK = 'QB' -- ESX OR QB
Config.INVENTORY = 'OX' -- OX OR QB
Config.NotifyType = 'QB' -- OX OR QB
Config.Target = 'QB'-- OX OR QB
Vehicle Keys System
Config.UseExport = false -- If 'true', uses export. If 'false', uses event.
Config.VehicleKeysEvent = "vehiclekeys:client:SetOwner" -- Event used to give vehicle keys
Config.VehicleKeysExport = "qbx-vehiclekeys" -- Name of the resource that contains the export
Config.VehicleKeysFunction = "GiveKeys" -- Function name inside the export
Values
In our script we give you the oportunity to set the script for your liking, so we implemented values that you can change to personalizate your script
Config.GarbageValue = { value = 15,} -- Value per bin deposited
Config.TruckValue = { value = 300,} -- Price to hire the truck
Config.mingarbage = {value = 5,} -- min value of garbage pickup
Config.maxgarbage = {value = 15,} -- max value of garbage pickup
GarbageValue -> Value per bin deposited to calculate the final payment
TruckValue -> Price to hire the truck before the job start
mingarbage -> Min value of garbage pickup on a job
maxgarbage -> Max value of garbage pickup on a job
Change Truck Model
Config.truckModel = 'trash' -- Change it if you want to change the truck model
In the rest of config.lua, only mess with it if you know what you're doing
Last updated
Was this helpful?