
π²Selling
Config.Selling = {-- define items that can be sold at the selling ped
Ped = { -- define ped settings
model = 'a_m_m_business_01', -- ped model
coords = vector4(-315.76, 6194.35, 31.56, 42.68), -- ped spawn coords must be vector4 (this is also used as the blip coordinates if enabled below)
icon = 'fa-solid fa-money-bill', -- target icon
label = 'Sell Diving Treasures', -- target label
distance = 3.0, -- target distance
zone = { -- define zone settings
debug = true, -- debug zone
radius = 5.0, -- zone radius
},
},
blip = { -- define blip settings
enabled = true, -- enable blip for this location
id = 605, -- blip id
colour = 5, -- blip colour
scale = 0.7, -- blip scale
title = 'Sell Diving Treasures', -- blip title
},
Selling = {-- define item categories and items that can be sold at the selling ped
['Common Treasures'] = { -- the key is the category name
['seaglass'] = { -- the key is the item name that can be sold
value = { -- define the items min and max values PER UNIT (this is multiplied by the amount the player has on them)
min = 25, -- minimum value
max = 50, -- maximum value
},
},
--add more sellable items below
},
['Rare Treasures'] = { -- the key is the category name
['sharktoothnecklace'] = { -- the key is the item name that can be sold
value = { -- define the items min and max values PER UNIT (this is multiplied by the amount the player has on them)
min = 25, -- minimum value
max = 50
},
},
--add more sellable items below
},
['Special Treasures'] = { -- the key is the category name
['spyglass'] = { -- the key is the item name that can be sold
value = { -- define the items min and max values PER UNIT (this is multiplied by the amount the player has on them)
min = 25, -- minimum value
max = 50
},
},
--add more sellable items below
},
--add more sale categories below
},
}Last updated