[Release] [ESX] [Clothing Shops]

Hey, how would I go about editing the menu to a point of where you can select premade outfits for the upper, the pants and shoes so that there is no clipping anymore?
My thought would be that I’d have like 3 individual categories for clothes so you get to choose from Tops, Pants & Shoes to mix & Match individually.
I think this would be a great feature but I don’t really know how to start this, can someone help me out?

Anyone have this kind of UI for the clothing store? Would really appreciate if someone could share something like that instead of a boring esx menu :rofl::heart_eyes:

I have a problem, when for example I wear police clothes at the police station, if I go through a marker in the clothing store, I take off my police clothes and go back to my normal clothes, why is that? I need help

Hey I have a question, how can I add the PED s_m_y_cop_01 to the shop?

Same with me

Is there any way to block some clothes from buying?

Anyone can help me with this problem?
https://youtu.be/GojtopnWjXg

Hi, you just don’t have money on you

Hi all. Im having this issue when i try to buy a outfit on esx_clothshop. Alfer buy it, it should ask me to safe it and to rename the outfit but instead i got this error someone can help me pls. Tks

SCRIPT ERROR: @esx_datastore/server/main.lua:56: attempt to get length of a nil value (field ‘?’)
handler (@esx_datastore/server/main.lua:78)
ref (@esx_np_skinshop/server/main.lua:41)
TriggerServerCallback (@es_extended/server/functions.lua:33)
handler (@es_extended/server/common.lua:88)

2 Likes

Anyone know how to add a bags options?

I have the same question :confused:

Ok I fixed it. So if you want to add Bags to your shop you need to go to: esx_clotheshop/client/main.lua
scroll down till you see:
end, function(data, menu)
menu.close()

	currentAction     = 'shop_menu'
	currentActionMsg  = _U('press_menu')
	currentActionData = {}
end, {
	'tshirt_1', 'tshirt_2',
	'torso_1', 'torso_2',
	'decals_1', 'decals_2',
	'arms',
	'pants_1', 'pants_2',
	'shoes_1', 'shoes_2',
	'chain_1', 'chain_2',
	'helmet_1', 'helmet_2',
	'glasses_1', 'glasses_2'
})

end

Just add ‘bags_1’, ‘bags_2’, under chain_1 so it looks like this:

end, function(data, menu)
	menu.close()

	currentAction     = 'shop_menu'
	currentActionMsg  = _U('press_menu')
	currentActionData = {}
end, {
	'tshirt_1', 'tshirt_2',
	'torso_1', 'torso_2',
	'decals_1', 'decals_2',
	'arms',
	'pants_1', 'pants_2',
	'shoes_1', 'shoes_2',
	'chain_1', 'chain_2',
	'bags_1', 'bags_2',
	'helmet_1', 'helmet_2',
	'glasses_1', 'glasses_2'
})

end

3 Likes

local clothesblips = {
{visible = 4, x = 72.3,y = -1399.1,z = 28.4},
{visible = 4, x = -703.8,y = -152.3,z = 36.4},
{visible = 4, x = -167.9,y = -299.0,z = 38.7},
{visible = 4, x = 428.7,y = -800.1,z = 28.5},
{visible = 4, x = -829.4,y = -1073.7,z = 10.3},
{visible = 4, x = -1447.8,y = -242.5,z = 48.8},
{visible = 4, x = 11.6,y = 6514.2,z = 30.9},
{visible = 4, x = 123.6,y = -219.4,z = 53.6},
{visible = 4, x = 1696.3,y = 4829.3,z = 41.1},
{visible = 4, x = 618.1,y = 2759.6,z = 41.1},
{visible = 4, x = 1190.6,y = 2713.4,z = 37.2},
{visible = 4, x = -1193.4,y = -772.3,z = 16.3},
{visible = 4, x = -3172.5,y = 1048.1,z = 19.9},
{visible = 4, x = -1108.4,y = 2708.9,z = 18.1},
{visible = 0, x = 452.58,y = -992.78,z = 29.68}

}
Citizen.CreateThread(function()
for _, info in pairs(clothesblips) do
info.blip = AddBlipForCoord(info.x,info.y,info.z)
SetBlipSprite(info.blip, 73)
SetBlipColour(info.blip, 47)
SetBlipDisplay(info.blip, info.visible) – Set to 0 if you don’t want blip to ever appear, set to 4 if you do. Refer to https://runtime.fivem.net/doc/natives/?_0x9029B2F3DA924928 for more in-depth explanation.
SetBlipAsShortRange(info.blip, true)

    BeginTextCommandSetBlipName('STRING')
    AddTextComponentSubstringPlayerName(_U('Clothes Store'))
    EndTextCommandSetBlipName(blip)
end

end)

Anyone know how to make so you can change ur into ur saved outfits in the store instead of having to buy a home?

esx_eden_clotheshop

1 Like

and how to add vest?

1 Like

hi , anyone know how to fix this error?

You’re using esx_eden_clotheshop and you’re responding on esx_clotheshop… :thinking:

1 Like

wrong screen srry

1 Like

I can’t find the bag menu