Example Location Config
if not config.mapLocations.gabzPizza then return end
local jobName = "pizza"
config.blips[#config.blips+1] = {
coord = vector3(802.32, -753.18, 26.78),
name = "Pizza This",
sprite = 267, --https://docs.fivem.net/docs/game-references/blips/
}
config.deliveryJob[jobName] = {
active = true,
vehicleModel = `pony`, --Vehicle Hash
coord = vector4(815.76, -736.13, 27.6, 115.42),
pedHash = `a_m_y_bevhills_01`,
vehicleSpawnCoord = vector4(801.42, -736.24, 27.66, 93.35),
items = {
--pizza
"chickenpizza", "mushroompizza",
--food
"tomato_soup",
--Coffe
"coffee_1x"
},
}
config.shop[jobName] = {
coord = vector3(805.71, -761.7, 27.1),
items = {
"egg", "milk", "flour",
--coffe
"water", "rawcoffee",
--pizza
"spice", "cheese", "tomatopaste", "chicken", "tuna",
--food
"noodles", "mint", "sausage_brat", "tomatoes", "food_mushroom"
}
}
config.alchol[jobName] = {
coord = vector3(814.07, -749.38, 27.03),
items = {
"raki", "ale", "blonde", "larger", "pilsner", "ryes",
"stout", "bordeaux", "burgundy",
"cabernet", "champ", "chardonnay",
"pinot_nior", "white", "zifandel",
},
}
config.boss[jobName] = {
active = true,
coord = vector3(797.07, -751.57, 31.25)
}
config.cutting[jobName] = {
coord = vector3(810.46, -765.24, 26.65),
items = {
["tomatoes2"] = {
["tomatoes"] = 1
},
["cheese2"] = {
["cheese"] = 1
},
}
}
config.cola[jobName] = {
coord = vector3(811.46, -765.19, 26.71),
items = globalItems.colaItems
}
config.coffee[jobName] = {
coord = vector3(808.77, -765.41, 26.87),
items = globalItems.basicCoffeItems
}
config.dough[jobName] = {
coord = vector3(806.11, -757.37, 26.78),
items = {
["dough"] = {
["egg"] = 2,
["milk"] = 1,
["flour"] = 1,
},
},
}
config.formDough[jobName] = {
coord = vector3(807.67, -756.98, 26.5),
items = {
["dough2"] = {
["dough"] = 1,
}
},
}
config.rawPizza[jobName] = {
coord = vector3(811.39, -754.52, 26.77),
items = {
["raw_margaritapizza"] = {
["spice"] = 1,
["tomatopaste"] = 1,
["cheese2"] = 1,
["dough2"] = 1,
["tomatoes2"] = 1,
},
["raw_mushroompizza"] = {
["spice"] = 1,
["tomatopaste"] = 1,
["food_mushroom"] = 1,
["dough2"] = 1,
["tomatoes2"] = 1,
},
["raw_chickenpizza"] = {
["spice"] = 1,
["tomatopaste"] = 1,
["food_mushroom"] = 1,
["dough2"] = 1,
["tomatoes2"] = 1,
["chicken"] = 1,
},
["raw_tunapizza"] = {
["spice"] = 1,
["tomatopaste"] = 1,
["food_mushroom"] = 1,
["dough2"] = 1,
["tomatoes2"] = 1,
["tuna"] = 1,
},
["raw_sausagepizza"] = {
["spice"] = 1,
["tomatopaste"] = 1,
["sausage_brat"] = 1,
["dough2"] = 1,
["tomatoes2"] = 1,
},
}
}
config.oven[jobName] = {
coord = vector3(814.21, -752.92, 26.78),
items = {
["margaritapizza"] = {
["raw_margaritapizza"] = 1,
},
["mushroompizza"] = {
["raw_mushroompizza"] = 1,
},
["chickenpizza"] = {
["raw_chickenpizza"] = 1,
},
["tunapizza"] = {
["raw_tunapizza"] = 1,
},
["sausagepizza"] = {
["raw_sausagepizza"] = 1,
},
}
}
config.food[jobName] = {
coord = vector3(808.19, -760.21, 26.77),
items = {
["tomato_soup"] = {
["water"] = 2,
["cheese2"] = 1,
["tomatoes2"] = 1,
["spice"] = 1,
},
},
}
config.storage[jobName] = vector3(803.49, -756.87, 26.79)
config.cashRegister[jobName] = {
vector3(810.84, -750.66, 27.09),
vector3(810.88, -752.05, 27.09),
}
addHandWash({
vector3(800.9, -761.17, 26.66),
vector3(800.78, -762.07, 26.55),
vector3(800.88, -767.85, 26.72),
vector3(800.89, -767.04, 26.73),
vector3(808.89, -765.22, 31.27),
vector3(809.88, -765.24, 31.27),
vector3(801.61, -758.68, 31.27),
vector3(809.25, -760.1, 26.78)
})
addChair({
vector4(796.21, -767.41, 31.76, 355.61),
vector4(796.91, -763.89, 31.73, 178.69),
vector4(796.13, -763.88, 31.73, 178.37),
vector4(795.42, -763.88, 31.7, 177.66),
vector4(804.88, -761.54, 31.74, 20.34),
vector4(805.51, -760.52, 31.64, 83.72),
vector4(803.94, -760.68, 31.47, 286.32),
vector4(804.04, -759.69, 31.41, 269.0),
vector4(804.06, -758.89, 31.41, 274.04),
vector4(805.51, -758.8, 31.68, 85.38),
vector4(805.47, -759.56, 31.66, 85.22),
vector4(797.25, -752.74, 31.79, 344.27),
vector4(798.61, -752.73, 31.8, 29.71),
vector4(797.86, -750.49, 31.78, 177.26),
vector4(802.47, -749.42, 31.8, 162.85),
vector4(803.13, -756.29, 31.74, 86.71),
vector4(802.14, -757.4, 31.74, 3.09),
vector4(800.81, -757.23, 31.74, 353.56),
vector4(802.12, -757.27, 31.74, 2.9),
vector4(808.39, -754.17, 27.24, 88.71),
vector4(806.96, -754.16, 27.24, 273.91),
vector4(806.29, -754.3, 27.24, 88.08),
vector4(804.93, -754.2, 27.24, 278.01),
vector4(804.21, -754.12, 27.24, 89.5),
vector4(802.84, -754.15, 27.24, 279.97),
vector4(802.21, -754.16, 27.24, 91.62),
vector4(800.71, -754.25, 27.24, 272.88),
vector4(799.46, -754.14, 27.21, 184.22),
vector4(799.39, -755.98, 27.45, 8.48),
vector4(798.94, -756.82, 27.24, 181.55),
vector4(798.9, -758.33, 27.24, 4.46),
vector4(798.87, -758.97, 27.24, 179.74),
vector4(798.9, -760.53, 27.21, 2.26),
vector4(795.25, -763.89, 27.2, 290.78),
vector4(795.25, -765.93, 27.2, 264.63),
vector4(796.56, -767.28, 27.2, 1.55),
vector4(795.22, -752.47, 27.21, 4.75),
vector4(795.17, -750.64, 27.17, 192.15),
vector4(797.08, -748.79, 27.21, 272.55),
vector4(798.97, -748.87, 27.19, 98.45),
vector4(798.11, -751.54, 27.21, 275.06),
vector4(799.97, -751.47, 27.23, 87.19),
vector4(802.21, -751.58, 27.18, 274.36),
vector4(804.01, -751.54, 27.21, 93.73),
vector4(806.1, -751.6, 27.21, 274.67),
vector4(807.93, -751.51, 27.19, 89.79)
})
addToilet({
normal = {
vector4(804.61, -761.62, 26.2, 275.42),
vector4(804.53, -763.41, 26.2, 269.0),
vector4(804.56, -765.6, 26.2, 291.59),
vector4(804.48, -767.47, 26.2, 267.26)
},
})
Last updated