🛠️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.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',
}
Last updated