( Need Help ! ) esx-qalle-jail / skinchanger / eden_clotheshop

Hello !
Seems like i’m having an issue with skinchanger and i can’t find the solution anywhere… When i purchase clothes through esx_eden_clotheshop i get this error :

I can’t figure out what’s the problem … If someone could help me out … This seems to affect the fact that esx-qalle-jail aint loading the proper clothes for the male ped… nor the mechanicjob…

It refers to this part of skinchanger:

RegisterNetEvent(‘skinchanger:loadSkin’)
AddEventHandler(‘skinchanger:loadSkin’, function(skin, cb)
if skin[‘sex’] ~= LastSex then
LoadSkin = skin

	if skin['sex'] == 0 then
		TriggerEvent('skinchanger:loadDefaultModel', true, cb)
	else
		TriggerEvent('skinchanger:loadDefaultModel', false, cb)
	end
else
	ApplySkin(skin)

	if cb ~= nil then
		cb()
	end
end

LastSex = skin['sex']

end)

This section of eden_clotheshop:

AddEventHandler(‘esx_eden_clotheshop:hasExitedMarker’, function(zone)

ESX.UI.Menu.CloseAll()
CurrentAction = nil

if not HasPayed then
	if not HasLoadCloth then 

		TriggerEvent('esx_skin:getLastSkin', function(skin)
			TriggerEvent('skinchanger:loadSkin', skin)
		end)
	end
end

end)

Help would be very much appreciated ! thank you :pray:

1 Like

Also, this is starting to cause problems to my players characters… They now load sometimes as basic mp_m ped and loose all customised date for their face etc… :frowning: i dont know what to do anymore

I deleted my character, created it again… log off and back in and it was reseted again

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.