Config Preview
Version 1.1 Updates
Config = Config or {}
--- SETTING UP HOTBAR LOCATIONS 1-6
--- If your inventory is modified in size the 41 value will need to be updated to the last slot number
Config.HotBarNum = {
active = true, --- TRUE/FALSE If only works from hot keys
slots = {
1, 2, 3, 4, 5, 41 --- Numbers for hot keys #'s 1-6
}
}
--- EDIT ACTIONS FOR EACH ITEM TYPE
Config.Actions = {
--- FOR WALLET ITEMS
wallet = {
emote = "id", --- Emote on open
open = 1, --- Time in seconds to open
close = 0.5 --- Time in seconds to close
},
--- FOR CLUTCH ITEMS
clutch = {
emote = "id", --- Emote on open
open = 1, --- Time in seconds to open
close = 0.5 --- Time in seconds to close
},
--- FOR KEY RING ITEMS
keyring = {
emote = "id", --- Emote on open
open = 1, --- Time in seconds to open
close = 0.5 --- Time in seconds to close
}
}
--- Items allowed to be in the item types. The name has to match the name in the qb-core/shared/items.lua
Config.WalletAllowList = {
active = true,
list = {
'id_card',
'driver_license',
'lawyerpass',
'weaponlicense',
'visa',
'mastercard',
'security_card_01',
'security_card_02',
}
}
Config.ClutchAllowList = {
active = true,
list = {
'id_card',
}
}
Config.KeyringAllowList = {
active = true,
list = {
'security_card_02',
}
}
--- Sets up the items can easily add more just remember to put an image and the info into the sections referenced in the README.md
--- ALL ITEMS MUST HAVE EITHER wallet, fmclutch, or keyring in the name for the item to allow for each to have seperate opening info
Config.Wallets = {
['wallet1'] = {
slots = 12, -- Number of slots in stash when open
size = 10000, -- Weight amount allowed in the stash
},
['fmclutch1'] = {
slots = 12,
size = 10000,
},
['wallet2'] = {
slots = 12,
size = 10000,
},
['keyring'] = {
slots = 12,
size = 10000,
}
}
--╔══════════╗ ╔═══════╗
--║██████████║ ╔╝███████║
--╚═══╗██╔═══╝ ║██╔═════╝
-- ║██║ ║██║
-- ║██║ ║██╚═════╗
-- ║██║ ╚╗███████║
-- ╚══╝ ╚═══════╝
-- Created: 08/16/2022
-- That-Creator
Version 1.0 Original Release OUTDATED
Config = Config or {}
--- SETTING UP HOTBAR LOCATIONS 1-6
--- If your inventory is modified in size the 41 value will need to be updated to the last slot number
Config.HotBarNum = {
1, 2, 3, 4, 5, 41
}
--- Time it takes to open and close wallet
Config.Duration = {
open = 1,
close = .5
}
--- Items allowed to be in the wallet. The name has to match the name in the qb-core/shared/items.lua
Config.AllowList = {
active = true,
list = {
---- natural to city
'id_card',
'driver_license',
'lawyerpass',
'weaponlicense',
'visa',
'mastercard',
'security_card_01',
'security_card_02',
---- added items
'fuelcard',
}
}
--- Sets up the wallets can easily add more just remember to put an image and the info into the sections referenced in the README.md
Config.Wallets = {
['wallet1'] = {
slots = 12, -- Number of slots in stash when open
size = 10000, -- Weight amount allowed in the stash
},
['fmclutch1'] = {
slots = 12,
size = 10000,
},
['wallet2'] = {
slots = 12,
size = 10000,
},
}
Last updated