Yoda Things Documentation
  • 💚Yoda Things Documentation
  • INFORMATION
    • 📃Discord Roles
    • 📀Assets Updates
    • ✅Ensure/Start Order
  • PAID RESOURCES
    • 🗑ïļAdvanced Garbage Job
      • 🧰Installation
      • ⚙ïļConfiguration
    • 🚚PostOP Deliveries
      • 🧰Installation
      • ⚙ïļConfiguration
    • 📋Reputation System
      • 🧰Installation
      • ⚙ïļConfiguration
        • ✅Add New Job's
        • 📎Exports
  • FREE RESOURCES
    • 🌐Notify System
    • ðŸ’ĻOxy/Drug Runs
      • 🧰Installation
    • 🗑ïļGarbage Job
      • 🧰Installation
    • ðŸŠĶCemetery Robbery
      • 🧰Installation
      • ⚙ïļConfiguration
Powered by GitBook
On this page
  • Language and Locales
  • WhiteList Job
  • Systems and Frameworks
  • Vehicle Keys System
  • Values
  • Change Truck Model

Was this helpful?

  1. PAID RESOURCES
  2. Advanced Garbage Job

Configuration

In config.lua you have everything you need to change to make the script to your liking

PreviousInstallationNextPostOP Deliveries

Last updated 3 months ago

Was this helpful?

Language and Locales

At the moment there are only the following languages: pt-pt, pt-br, es, en, fr and de

If you have translated it into any other language not available by us, feel free to share it on our

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

At the moment we work with ESX, QB-CORE and QBX frameworks. All those frameworks with ox_lib.

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

To ensure compatibility with different key systems, you can define in config.lua whether you want to use an event or an export to give the player the keys.

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

🗑ïļ
⚙ïļ
discord