💰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
['VineWood'] = {
zone = {
points = {
vec3(-122.0, 87.0, 101.0),
vec3(-104.0, 242.0, 101.0),
vec3(-84.0, 305.0, 101.0),
vec3(-40.0, 389.0, 101.0),
vec3(96.0, 350.0, 101.0),
vec3(187.0, 420.0, 101.0),
vec3(437.0, 354.0, 101.0),
vec3(441.0, 298.0, 101.0),
vec3(565.0, 264.0, 101.0),
vec3(776.0, 190.0, 101.0),
vec3(672.0, -1.0, 101.0),
vec3(520.0, -151.0, 101.0),
},
thickness = 150,
},
sellables = {
weed_amnesia = {
policeAlertChance = 0.1,
customerInverval = { min = 5000, max = 15000 },
price = 150,
amount = { min = 1, max = 3 },
minSellAmount = 5,
},
},
sellers = {
max = 5,
priceCut = 0.1,
},
counterOffer = {
successChance = 0.2,
percentageIncrease = 0.2,
},
pedModels = {
`a_f_m_prolhost_01`,
`a_f_y_tourist_01`,
`a_f_y_tennis_01`,
`a_m_y_business_02`,
`a_m_y_soucent_01`,
`a_f_y_vinewood_02`,
`a_f_y_vinewood_01`,
}
},
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