Configuration
The current configuration file looks like this:
```lua
Config = {}
-- Insert your Discord Webhook here
Config.Webhook = 'REPLACE_WEBHOOK'
-- Here you can add objects which you want to be searchable. Can be found here: https://gta-objects.xyz/objects
Config.TrashBins = {
'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_beach_01d',
'prop_bin_delpiero',
'prop_bin_delpiero_b',
'prop_cs_bin_01',
'prop_cs_bin_01_skinned',
'prop_cs_bin_02',
'prop_cs_bin_03',
'zprop_bin_01a_old',
'prop_dumpster_01a',
'prop_dumpster_02a',
'prop_dumpster_02b',
'prop_dumpster_3a',
'prop_dumpster_4a',
'prop_dumpster_4b',
'p_dumpster_t',
}
-- Define if a bin can be searched multiple times
-- True = Only once | false = infinite times
Config.CacheSearchedBins = true
-- Animation for searching bins
Config.SearchBinAnim = 'PROP_HUMAN_BUM_SHOPPING_CART'
-- Define how many levels of luck you can have
Config.MaxLuckLevels = 15 -- Only change this if you want to increase the chance of NOT finding an item
-- Define the items you can find
Config.FindableItems = {
One = {
'plastik',
},
Two = {
'plastik',
'plastik',
},
Three = {
'wool',
},
Four = {
'wool',
'wool',
},
Five = {
'clothe',
},
Six = {
'clothe',
'clothe',
},
Seven = {
'water',
},
Eight = {
'wool',
'water',
},
Nine = {
'wool',
'water',
'plastik',
},
Ten = {
'wool',
'wool',
'wool',
},
}
-- Additional textsettings
Config.TextScale = 0.45
Config.TextFont = 4 -- Can be found here: https://wiki.rage.mp/index.php?title=Fonts_and_Colors
Config.TextColorR = 255 -- Value from 0-255
Config.TextColorG = 255 -- Value from 0-255
Config.TextColorB = 255 -- Value from 0-255
Config.TextColorAlpha = 215 -- Value from 0-255
--Translations for InGame Text
Config.Translations = {
['already_searched'] = 'Sie haben hier schon gesucht!',
['interaction_button'] = 'Drücken Sie [~g~E~s~] um den ~b~Müll~s~ zu durchsuchen',
['nothing_found'] = '~r~Sie haben leider nichts gefunden.',
['first_part'] = 'Du hast',
['second_part'] = 'gefunden.'
}
-- Which Button should be pressed to search the bins
-- Button-Codes can be found here: https://docs.fivem.net/docs/game-references/controls/
Config.PressableButton = 38
```ua
Last updated