💰Cornerselling


Dependencies:
Renewed Lib: https://github.com/Renewed-Scripts/Renewed-Lib/releases/tag/v2.0.7
Supports:
QBox, QBCore, Esx (using ox inventory)
Qb-target, ox target
Zone Example
['Grove Street'] = {
zone = {
points = {
vec3(-155.5, -1783.0, 30.0),
vec3(94.0, -2030.5, 30.0),
vec3(381.0, -2162.0, 30.0),
vec3(467.0, -2063.0, 30.0),
vec3(52.5, -1679.5, 30.0),
},
thickness = 53.5,
},
sellables = {
weed_amnesia = {
policeAlertChance = 0.1, -- chance to alert police per item sold
customerInverval = { min = 2000, max = 4000 }, -- time in ms between customers
price = 150, -- price per item
amount = { min = 1, max = 3 }, -- amount of items per customer
minSellAmount = 5, -- minimum amount allowed to start the selling
},
},
sellers = {
max = 5, -- maximum number of sellers allowed in this zone before it becomes too crowded and price drops
priceCut = 0.1, -- percentage of the selling price the server takes
},
counterOffer = {
successChance = 0.1,
percentageIncrease = 0.2, -- percentage increase in the counter offer
},
},Zone Creation
Zone creation is done through ox lib by using the zone creator https://coxdocs.dev/ox_lib/Modules/Zones/Shared#zone-creation-script
Last updated