π οΈconfig_blackmarket.lua
-- βββββββ βββ ββββββ ββββββββββ βββ ββββ ββββ ββββββ βββββββ βββ ββββββββββββββββββββ
-- βββββββββββ βββββββββββββββββββ ββββ βββββ ββββββββββββββββββββββββ βββββββββββββββββββββ
-- βββββββββββ βββββββββββ βββββββ ββββββββββββββββββββββββββββββββββ ββββββ βββ
-- βββββββββββ βββββββββββ βββββββ ββββββββββββββββββββββββββββββββββ ββββββ βββ
-- βββββββββββββββββββ ββββββββββββββ βββ βββ βββ ββββββ ββββββ ββββββ βββββββββββ βββ
-- βββββββ βββββββββββ βββ ββββββββββ βββ βββ ββββββ ββββββ ββββββ βββββββββββ βββ
-- The Black Market system only works with ox_inventory
-- If you are using a different inventory system, even one compatible with Community Bridge, it will not work
-- By default, the Black Market is located inside of Gang Hideotus via a laptop prop (all of this is configurable via config_hideouts.lua)
Config.BlackMarket = {
enabled = true, -- STOP: The Black Market ONLY works with ox_inventory
useDaily = true, -- You can have the items in the Black Market change based on the day of the week
cooldown = 0, -- In hours, the gang will not be able to access the Black Market again for this amount of time
nonGangMembers = false, -- Do you want to allow non-gang members to access the Black Market?
Sunday = {
-- If useDaily is true, this will be the inventory for Sunday
name = 'Sunday Black Market',
inventory = {
{ name = 'water', price = 500 },
{ name = 'sandwich', price = 10, currency = 'black_money' },
},
},
Monday = {
name = 'Monday Black Market',
inventory = {
{ name = 'water', price = 500 },
{ name = 'sandwich', price = 10, currency = 'black_money' },
},
},
Tuesday = {
name = 'Tuesday Black Market',
inventory = {
{ name = 'water', price = 500 },
{ name = 'sandwich', price = 10, currency = 'black_money' },
},
},
Wednesday = {
name = 'Wednesday Black Market',
inventory = {
{ name = 'water', price = 500 },
{ name = 'sandwich', price = 10, currency = 'black_money' },
},
},
Thursday = {
name = 'Thursday Black Market',
inventory = {
{ name = 'water', price = 500 },
{ name = 'sandwich', price = 10, currency = 'black_money' },
},
},
Friday = {
name = 'Friday Black Market',
inventory = {
{ name = 'water', price = 500 },
{ name = 'sandwich', price = 10, currency = 'black_money' },
},
},
Saturday = {
name = 'Saturday Black Market',
inventory = {
{ name = 'water', price = 500 },
{ name = 'sandwich', price = 10, currency = 'black_money' },
},
},
Normal = {
-- If useDaily is false, this will be the inventory for the Black Market
name = 'Black Market',
inventory = {
{ name = 'water', price = 500 },
{ name = 'sandwich', price = 10, currency = 'black_money' },
},
}
}
Last updated