Hello , i am in need of help trying to find out how to add items such as armor and medkits inside of grocery stores on esx server i just know learned how to install my own item as far as eating but is usable items for health the same ?
hi, depending on what script you are using (i will provide you with an example with the default esx_shops resource) you need to add the item to the config.lua file so it should look like this:
RobsLiquor = {
Items = {
{
name = “bread”,
label = “bread”,
price = 100
},
{
name = “water”,
label = “water”,
price = 100
}
},
Pos = {
vector3(1135.8, -982.2, 45.4),
vector3(-1222.9, -906.9, 11.3),
vector3(-1487.5, -379.1, 39.1),
vector3(-2968.2, 390.9, 14.0),
vector3(1166.0, 2708.9, 37.1),
vector3(1392.5, 3604.6, 33.9),
vector3(127.8, -1284.7, 28.2), --StripClub
vector3(-1393.4, -606.6, 29.3), --Tequila la
vector3(-559.9, 287.0, 81.1) --Bahamamas
},
Size = 1.0,
Type = 59,
Color = 25,
ShowBlip = true,
ShowMarker = true
you just need to expand the “items” table inside with the items you want to have inside a specific shop. if you still need any help let me know ![]()