How to make it that when player joins to server first time to start the customization menu and then save it?
hey guy how did u make after identity to have this as character creation?
bruh he said character creation xdd
what do you mean by what, like redesign or zap esx_identity or legacy or what?
any replacements for skinchanger:loadClothes trigger?
You need to find out his name and delete him from the resources
So trying to figure this out the best i can and this is the only road block i have run into.
Cant find anything to tell me how to replace a function like this for like jailing or job outfit changes.
If anyone know how i would do this for fivem-appearance please let me know.
function GetNaked()
TriggerEvent(āskinchanger:getSkinā, function()
if GetEntityModel(PlayerPedId()) ==mp_m_freemode_01
then
TriggerEvent(āskinchanger:loadSkinā, {
sex = 0,
tshirt_1 = 15,
tshirt_2 = 0,
arms = 11,
torso_1 = 26,
torso_2 = 0,
pants_1 = 100,
pants_2 = 2,
shoes_1 = 8,
shoes_2 = 0
āglasses_1 = 0
})
else
TriggerEvent(āskinchanger:loadSkinā, {
sex = 1,
tshirt_1 = 14,
tshirt_2 = 0,
arms = 14,
torso_1 = 251,
torso_2 = 2,
pants_1 = 37,
pants_2 = 4,
shoes_1 = 95,
shoes_2 = 9
āglasses_1 = 5
})
end
end)
end
Use the export to change the clothes thatās all you need to do!!
Export didnt work but fixed the issue already
You can use the exports which they work I tested them or you can use gta v natives to apply clothes
Also getting this issue.
How do i change job clothes ? For example my taxi job cloak :
function OpenCloakroom()
ESX.UI.Menu.CloseAll()
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'taxi_cloakroom', {
title = _U('cloakroom_menu'),
align = 'top-left',
elements = {
{label = _U('wear_citizen'), value = 'wear_citizen'},
{label = _U('wear_work'), value = 'wear_work'}
}}, function(data, menu)
if data.current.value == 'wear_citizen' then
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin)
TriggerEvent('skinchanger:loadSkin', skin)
end)
elseif data.current.value == 'wear_work' then
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
if skin.sex == 0 then
TriggerEvent('skinchanger:loadClothes', skin, jobSkin.skin_male)
else
TriggerEvent('skinchanger:loadClothes', skin, jobSkin.skin_female)
end
end)
end
end, function(data, menu)
menu.close()
CurrentAction = 'cloakroom'
CurrentActionMsg = _U('cloakroom_prompt')
CurrentActionData = {}
end)
And these are the exports :
ESX.TriggerServerCallback(āfivem-appearance:getPlayerSkinā, function(appearance)
exports[āfivem-appearanceā]:setPlayerAppearance(appearance)
end)
What do i have to replace exactly ? I would appreciate some help on this.
Thank you !
Sure sent in DM
Did you manage to solve this problem?
Nopeā¦
Any way at all to make it so you can edit hair overlays? Like hair 2 and hair 1? When I change hair it adds a base game overlay on it so if you could add Hair 2 that would be amazing.
its not going to run like that due to you calling on TriggerEvent(āskinchanger:loadSkinā, function(), your not suppose to run skinchanger due to it being built in to the resource already