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
  • Systems and Frameworks
  • Values
  • Type of robbery and Police configuration
  • QB-INVENTORY INSTALLATION
  • Add More Coords

Was this helpful?

  1. FREE RESOURCES
  2. Cemetery Robbery

Configuration

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

PreviousInstallation

Last updated 9 months ago

Was this helpful?

Language and Locales

At the moment there are only the following language: en

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'

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.Notify = 'QB' -- OX OR QB
Config.Target = 'QB'-- OX OR QB

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.Camp = 70 -- Percentage to have a body on the camp
Config.Values = 70 -- Percentage for body values
Config.PoliceNotify = 60 -- Percentage to notify the police

Camp -> Percentage to have a body on the tomb

Values -> Percentage for body to have values with him

PoliceNotify -> Percentage for probability to notify the police


Type of robbery and Police configuration

In our script, you have the flexibility to choose between using an item or a target to rob a tomb. Additionally, you can configure the required number of police officers needed for the heist. To do this, simply adjust the settings in the configuration file as demonstrated below:

Config.typeOfRobbery = 'target'-- target or item 
Config.PoliceJob = 'police' -- Police Job
Config.minPolice = 4 -- Min police to rob a tomb

QB-INVENTORY INSTALLATION

  1. Add the items to your inventory by modifying qb-core/shared/items.lua. (The required items are listed in the README file.)

  2. Open qb-smallresources/server/consumables.lua and insert the following code at the beginning.

local QBCore = exports['qb-core']:GetCoreObject()
-------- Yoda Cemetery Robbery

QBCore.Functions.CreateUseableItem("shovel", function(source)
    local Player = QBCore.Functions.GetPlayer(source)
    if Player then
        TriggerClientEvent('yoda-cemeteryrob:checkPolice', source)
    end
end)

Add More Coords

To add more tombs to steal, follow these steps:

  1. Create a file named config2.lua in the yoda-cemetery-robbery folde.

  2. Open the existing config.lua and locate the section that containes Config.robloc = {...}. Copy all the code within this section.

  3. Paste the copied code into config2.lua

  4. Navigate to the tomb's you want to add in the game, and use the /addcoord command at each location. This will add the coordinates for the new tombs.

  5. Once you've added all the desired tombs, use /closecoord command to finalize the process.

  6. Copy the updated code from config2.lua and replace the corresponding section in config.lua with this new code.

ðŸŠĶ
⚙ïļ
discord