Female ped health fix - Xxpromw3mtxX/cosmo_hud GitHub Wiki
- To make sure that health get fixed, open the file
[esx]/esx_basicneeds/client/main.lua
- Go at the end
- 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)
- You're set!