Add a corner
Here you will have a guide how to create a new corner in our script Corner Selling.
Example - Circle
{
['type'] = "circle", -- Make sure that on circle
["corner_gang_ter"] = 'ballas', -- Here you can choose if the zone is defined as gang zone, will be helpful in the future, leave it none if there is no define
['corner_name'] = 'Drugs Corner', -- Leave it like that
['corner_distance'] = 2.0, -- The distance required from the player to the NPC to be able to open the order
['corner_position'] = vector3(0.0, 0.0, 0.0), -- The middle coords of your zone
['radius'] = 15.0, -- Radius for Zone
['corner_items'] = {
{
item = 'cokebaggy', -- Item name (Make sure that in your inventory the image will named the same to be displayed if preview is enabled)
label = 'Coke Baggy', -- The display label of the item
perPrice = { -- The minimum and the maximum price of each one
min = 480,
max = 680,
},
qty = { -- The minimum and the maximum amount that NPC can request in an order
min = 2,
max = 6,
},
},
},
},Example - Poly
Well, congrats you finished the guide on how you can create a new corner in our Corner Selling script.
If you still need help you can contact as on our discord server.
Last updated