Closed DNDdjay closed 1 year ago
the same
try: CreateThread(function() maxHealth = GetEntityMaxHealth(PlayerPedId()) SetEntityHealth(PlayerPedId(), maxHealth) end
untested, but im sure that should work
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) it works probably
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) it works probably
thx its working now
no problem
Describe the bug females dont have fully health i know how to fix it on esx but not on qb
in esx i have too use this
Citizen.CreateThread(function() while true do Citizen.Wait(1) if GetEntityMaxHealth(GetPlayerPed(-1)) ~= 200 then SetEntityMaxHealth(GetPlayerPed(-1), 200) SetEntityHealth(GetPlayerPed(-1), 200) end
but its is not working in qb