how do i fix that the Identity screen pops up then the skincreator and i cant type anything in identity
hey, can you please tell me how to change the names of clohing and everything else? I want to see ID’s of the clothing not the names like in GTA do you know how to change it ?
So we’ve been using this character creator for a while now but I wanted add more hairstyles to our shops. Unfortunately it didnt work. Does anyone have a solution to this?
Search in “script.js”
option.text (item.name)
change to
let item_name = ‘’ + item.drawable + ‘-’ + item.texture + ‘’
option.text (item_name)
No problem adding clothes or hair
I recommend the tutorial.
Hello I wanted to test and when I want to change my clothes or other in your menu nothing happens. The ui moves but nothing changes on my character and I can’t escape the menu is blocked I have to log out… no error in the console
==================================================
The client / main.lua file
swap lines (1282)
-- result.bags = GetComponentsData(5) -- there seems to be no named components in this category
on
result.bags = GetComponentsDataBags(5)
Add Functions in a Line 1148
function GetComponentsDataBags(id)
local result = {}
local drawableCount = GetNumberOfPedDrawableVariations(previewPed, id) - 1
for drawable = 0, drawableCount do
local textureCount = GetNumberOfPedTextureVariations(previewPed, id, drawable) - 1
for texture = 0, textureCount do
local hash = GetHashNameForComponent(previewPed, id, drawable, texture)
if hash ~= 0 then
local component, drawable, texture, gxt = GetComponentDataFromHash(hash)
local label = GetLabelText(gxt)
table.insert(result, {
name = label,
component = component,
drawable = drawable,
texture = texture
})
end
end
end
return result
end
file ui/script.js
uncomment lines (323 to 400)
let bagslist = tab.find('select#bag.clotheslist');
bagslist.empty();
bagslist.append($('<option data-component="5" data-drawable="0" data-texture="0">None</option>'))
clothesData.bags.forEach(function (item) {
let option = $('<option data-component="' + item.component + '" data-drawable="' + item.drawable + '" data-texture="' + item.texture + '"></option>');
option.text(item.name)
bagslist.append(option);
});
swap linie
// refreshComponentList(element, '#bag', 5, data.bags_1, data.bags_2); NOTE: there seems to be no named components in this category, commenting it out
on
refreshComponentList(element, '#bag', 5, data.bags_1, data.bags_2); //NOTE: there seems to be no named components in this category, commenting it out
====================================================
edit ui / pages / apparel.html
uncomment lines (49 to 60)
<div class="group" id="itembags">
<h2 class="header">Bag</h2>
<div class="list">
<div class="controls">
<button class="arrow left"></button>
<select class="clotheslist component" id="bag" data-drwkey="bags_1" data-texkey="bags_2">
<option data-component="0" data-drawable="0" data-texture="0"></option>
</select>
<button class="arrow right"></button>
</div>
</div>
</div>
===========================================================
Good luck
please don’t hit me I scrolled up to find it but couldn’t find it… ![]()
what did you have to do again if the normal skin changer comes after the cui? just disable the normal esx skinchanger or esx_skin?
delete both
Script was working totally normal but however today is not letting me change the clothes. Clothes is missing!
After fresh install same thing.
I’ve got the same problem, did you find the issue or the way to fix it?
Same problem here. Was working ok the last time I tested it but now will not show any clothing. I fired up a 2 month old version of my server and clothing won’t work on that now either. A bit odd considering I haven’t touched that script in months.
I have the same problem. I can’t choose the clothes.
This. Anyone have a solution?
Guys, it’s because the natives used are no longer working. FiveM changed something and either blocked the natives for some reason… Or it’s bugged.
Can this be confirmed by FiveM ?
Without that native, this script will not work anymore ![]()
Still no fix for the clothing problem?
I’m gonna begin comparing things from this script, to how another, similar but different, script does it, and see if I can figure out how they differ and if the way the other script does it, can be implemented into this script… might take some time though, and I might not have any success, but I will make the attempt…
or see if the natives can be replaced with something that is supposed to do the same… the natives seems to still be there according to the native list(Native Reference - Cfx.re Docs) but they might have been updated, as the ones I found so far, only need one argument, and in the script they both have two.



