Config.Locations = {
[1] = {
coords = vector3(2557.458, 382.282, 108.622),
heading = 271.5,
label = "Job Market",
requiredJob = 'police', -- Police Only
items = {
-- Food & Beverage
{name = "water", price = 10, label = "Water", category = "food", image = "water.png"},
{name = "sandwich", price = 15, label = "Sandwich", category = "food", image = "sandwich.png"},
-- Tools
{name = "lockpick", price = 100, label = "Lockpick", category = "tools", image = "lockpick.png"},
{name = "repairkit", price = 200, label = "Repair kit", category = "tools", image = "repairkit.png"},
},
blip = {
enabled = true,
sprite = 59,
color = 3,
scale = 0.7,
label = "Job Market"
}
},
[2] = {
coords = vector3(-48.519, -1757.514, 29.421),
heading = 45.0,
label = "General Market",
requiredJob = false, -- Anyone can enter (no profession required)
items = {
-- Food & Beverage
{name = "water", price = 10, label = "Water", category = "food", image = "water.png"},
{name = "sandwich", price = 15, label = "Sandwich", category = "food", image = "sandwich.png"},
{name = "coffee", price = 8, label = "Coffee", category = "food", image = "coffee.png"},
{name = "burger", price = 25, label = "Burger", category = "food", image = "burger.png"},
-- Tools
{name = "lockpick", price = 100, label = "Lockpick", category = "tools", image = "lockpick.png"},
{name = "repairkit", price = 200, label = "Repair kit", category = "tools", image = "repairkit.png"},
-- Medical
{name = "bandage", price = 75, label = "Bandage", category = "medical", image = "bandage.png"},
{name = "painkillers", price = 120, label = "Painkiller", category = "medical", image = "painkillers.png"}
},
blip = {
enabled = true,
sprite = 59,
color = 1,
scale = 0.7,
label = "General Market"
}
},
[3] = {
coords = vector3(1961.464, 3740.672, 32.343),
heading = 300.0,
label = "Multi-Occupational Market",
requiredJob = {"police", "ambulance", "mechanic"}, -- You can enter more than one occupation.
items = {
-- Food & Beverage
{name = "water", price = 10, label = "Water", category = "food", image = "water.png"},
{name = "sandwich", price = 15, label = "Sandwich", category = "food", image = "sandwich.png"},
-- Weapons
{name = "weapon_pistol", price = 1500, label = "Pistol", category = "weapons", image = "weapon_pistol.png"},
{name = "ammo_pistol", price = 50, label = "Pistol Ammo", category = "weapons", image = "ammo-9.png"},
-- Tools
{name = "lockpick", price = 100, label = "Lockpick", category = "tools", image = "lockpick.png"},
{name = "repairkit", price = 200, label = "Repair Kit", category = "tools", image = "repairkit.png"},
-- Medical
{name = "bandage", price = 75, label = "Bandage", category = "medical", image = "bandage.png"},
{name = "painkillers", price = 120, label = "Painkiller", category = "medical", image = "painkillers.png"}
},
blip = {
enabled = true,
sprite = 59,
color = 4,
scale = 0.7,
label = "Multi-Occupational Market"
}
}
-- You can proceed in the same way for other markets.
}