🐌
TZMC Documentation
  • 🧍Standalone
    • 📣Server Announcements
      • 🛠️Config
      • 🔠Rockstar Text Formatting
      • 💾Changelog
    • 🛂Player Report System (Discord)
      • 🛠️Config
    • ⚡Advanced Blackout/Power Cut (ESX/Standard)
      • 🛠️Config
      • 🗺️Region Examples
    • ⏱️Time Trial
      • 🛠️Config
    • 🚛Black Market Van
      • 🛠️Config
      • 💾Changelog
    • 🃏Freemode Collectibles
      • 🛠️Config
    • Crypto Heist
      • 🛠️Config
      • 🖥️Server Layout (ID's)
    • 🗺️Cinematic City Tour Guide
      • 🛠️Config
      • 💾Changelog
  • 🎮QB-Core
    • 🐕Animal Patting
      • 🛠️Config
    • 📦Amazon Delivery
      • 💽Installation
      • 🛠️Config
      • 💾Changelog
    • 📯Horny's Burger Job
      • 🛠️Config
    • 🍕Pizzeria Job
      • 🛠️Config
    • 🍔Burger Shot Job
      • 🛠️Config
    • 🚚Advanced Tow Trucking Job
      • 🛠️Config
    • 🧑‍🌾Gardner Job
      • 🛠️Config
    • 🚦Stolen Signs
      • 🛠️Config
    • 🌿Weed Delivery Run
      • 🛠️Config
    • 👔Ponsonbys Heist
      • 🛠️Config
      • 💾Changelog
    • 🔐Password Lockers
      • 🛠️Config
      • 💾Changelog
    • 🚗Chopping
      • 🛠️Config
      • 💾Changelog
    • 🚙Car/Boat/Plane Rental
      • 🛠️Config
      • 💾Changelog
    • 🆔ID Fraud
      • 🛠️Config
    • 🖥️IT Job
      • 🛠️Config
    • 🍸Cyberbar Job
      • 🛠️Config
    • ⚡City Blackout/Power Cut
      • 🛠️Config
    • ⚡Advanced Blackout/Power Cut
      • 🛠️Config
      • 🗺️Region Examples
    • 🛒Vending Machine & Watercooler
      • 🛠️Config
      • 💾Changelog
    • 🔌Electrical Job
      • 🛠️Config
    • 🐈UwU Cat Cafe Job
      • 🛠️Config
    • ☕Bean Machine Job
      • 🛠️Config
    • 🦞Pearl's Seafood Restaurant Job
      • 🛠️Config
    • 🍔Up-N-Atom Burger Job
      • 🛠️Config
    • 🚁Blimp Advert Job
      • 🛠️Config
    • 🚮Begging & Garbage Searching
      • 🛠️Config
      • 💾Changelog
    • 🎁Loot Box Drops
      • 🛠️Config
    • ⛽Fuel Theft
      • 🛠️Config
      • 💾Changelog
    • 🍕Pizza Boy Delivery
      • 🛠️Config
    • 📦Parcel Theft
      • 🛠️Config
      • 💾Changelog
    • 🚛Forklift Delivery Job
      • 🛠️Config
      • 💾Changelog
    • 🏗️Container Stashes
      • 🛠️Config
    • 📮Postal Password Locker
      • 🛠️Config
    • 🪙Coin Pinching
      • 🛠️Config
  • 🎲ESX
    • ⚡Advanced Blackout/Power Cut (ESX/Standard)
      • 🛠️Config
      • 🗺️Region Examples
Powered by GitBook
On this page
  1. QB-Core
  2. Begging & Garbage Searching

Config

TZMCBeggarConfig = {}

--[[

    ADD BEGGING BOARD TO YOUR QB INVENTORY

    1.  Navigate to .../[qb]/qb-core/shared/items.lua
    2.  Scroll to the bottom of the item list and paste the following text:

        begging_board                      = { name = 'begging_board', label = 'Begging Cardboard', weight = 0, type = 'item', image = 'cardboard.png', unique = true, useable = true, shouldClose = false, description = 'A simple sign asking for help' },

    3.  Once added, navigate to .../[qb]/qb-inventory/html/images/ and add your image in. You can use the example below:

        https://drive.google.com/file/d/1CMirGkg0o_xD48U83TZtWgfvZFw-ugwF/view?usp=sharing

    4.  You are now done.

    NOTIFICATIONS 

    Feel free to edit the notifications file to accommodate your servers requirements.

]]

TZMCBeggarConfig.RequiredItem = "begging_board"
TZMCBeggarConfig.UsingOXInventory = false

TZMCBeggarConfig.ProgressBar = {
    enabled = true,
    binSearchTime = 5 -- How many seconds to search a bin
}

TZMCBeggarConfig.CardboardModels = {
    'prop_rub_cardpile_01',
    'prop_rub_cardpile_02',
    'prop_rub_cardpile_03',
    'prop_rub_cardpile_04',
    'prop_rub_cardpile_05',
    'prop_rub_cardpile_06',
    'prop_rub_cardpile_07'
}

TZMCBeggarConfig.Reward = {
    probability = 50,
    money = {
        type = 'cash',
        minimum = 10,
        maximum = 50
    }
}

TZMCBeggarConfig.GarbageSearching = {
    models = {
        'hei_heist_kit_bin_01',
        'prop_bin_01a',
        'prop_bin_02a',
        'prop_bin_03a',
        'prop_bin_04a',
        'prop_bin_05a',
        'prop_bin_06a',
        'prop_bin_07a',
        'prop_bin_07b',
        'prop_bin_07c',
        'prop_bin_07d',
        'prop_bin_08a',
        'prop_bin_08open',
        'prop_bin_09a',
        'prop_bin_10a',
        'prop_bin_10b',
        'prop_bin_11a',
        'prop_bin_11b',
        'prop_bin_12a',
        'prop_bin_13a',
        'prop_bin_14a',
        'prop_bin_14b',
        'prop_bin_beach_01a',
        'prop_bin_delpiero',
        'prop_bin_delpiero_b',
        'prop_cs_bin_01',
        'prop_cs_bin_01_skinned',
        'prop_cs_bin_02',
        'prop_cs_bin_03',
        'prop_gas_smallbin01',
        'prop_recyclebin_03_a',
        'zprop_bin_01a_old'
    },
    reward = {
        tosti = 10,
        twerks_candy = 10,
        snikkel_candy = 10,
        sandwich = 10,
        water_bottle = 10,
        coffee = 7,
        kurkakola = 7,
        beer = 7,
        whiskey = 7,
        vodka = 7,
        joint = 3,
        oxy = 1
    },
    cooldownTime = 600,
}

TZMCBeggarConfig.Target = {
    collectCardboard = {
        icon = "fa-solid fa-recycle",
        text = "Collect"
    },
    searchBin = {
        icon = "fa-solid fa-dumpster",
        text = "Search"
    }
}

TZMCBeggarConfig.Notifications = {
    pressToStopBegging = 'Press ~INPUT_CONTEXT~ to stop begging',
    totalEarned = 'You earned $%s',
    binAlreadyChecked = 'Looks like someone has rummaged through this bin recently.',
    emptyBin = 'You found nothing of value.',
    searchingBin = 'Searching Bin',
}
PreviousBegging & Garbage SearchingNextChangelog

Last updated 4 months ago

🎮
🚮
🛠️