forked from nojdh/cosmo_hud
-
Notifications
You must be signed in to change notification settings - Fork 5
Female ped health fix
Francesco Metta edited this page Aug 5, 2021
·
1 revision
- 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!