Female ped health fix - Xxpromw3mtxX/cosmo_hud GitHub Wiki

  1. To make sure that health get fixed, open the file [esx]/esx_basicneeds/client/main.lua
  2. Go at the end
  3. Add this portion of code:
--Female ped health fix
Citizen.CreateThread(function()
    while true do
        Citizen.Wait(1)
        if GetEntityMaxHealth(GetPlayerPed(-1)) ~= 200 then
            SetEntityMaxHealth(GetPlayerPed(-1), 200)
            SetEntityHealth(GetPlayerPed(-1), 200)
        end
    end
end)
  1. You're set!