Need help with custom ped

Hey guys, I changed custom peds for ambulance job, it works good, but when I want to change to civil wear, it still keeps custom ped. Any ideas?

		if data.current.value == 'citizen_wear' then
			ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
				TriggerEvent('skinchanger:loadSkin', skin)
				TriggerEvent('skinchanger:loadDefaultModel')
			end)
		elseif data.current.value == 'ambulance_wear' then
            ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)

	if skin.sex == 0 then

      local model = GetHashKey("s_m_m_paramedic_01")

      RequestModel(model)
      while not HasModelLoaded(model) do
        RequestModel(model)
        Citizen.Wait(0)
      end

      SetPlayerModel(PlayerId(), model)
      SetModelAsNoLongerNeeded(model)
  else
      local model = GetHashKey("s_m_m_paramedic_01")

      RequestModel(model)
      while not HasModelLoaded(model) do
        RequestModel(model)
        Citizen.Wait(0)
      end

      SetPlayerModel(PlayerId(), model)
      SetModelAsNoLongerNeeded(model)
      end

    end)
  end

bro I just tried I never got to put a custom ped in ambulance job I got it thanks to you, but is it true that it doesn’t remove the ped? you got it?

anyone know about this? :frowning:

anyone have something for an ambulance job? for a custom ped?