ethanwdp Posted August 21, 2015 Share Posted August 21, 2015 Is it possible? I know it's possible to add checks for when the player is almost dead, but those do not work 100% of the time. Link to comment Share on other sites More sharing options...
Svarog Posted August 21, 2015 Share Posted August 21, 2015 Do the checks with the OnTick event, I'd honestly be surprised if that failed. Link to comment Share on other sites More sharing options...
ethanwdp Posted August 22, 2015 Author Share Posted August 22, 2015 Already have done that. It failed in absolutely gigantic hordes, and sudden damage (ex: falling)CheatCoreCM.DoTickCheats = function() -- also does some other things if getPlayer():getBodyDamage():getHealth() <= 5 and CheatCoreCM.DoPreventDeath == true then -- failed so often that I couldn't have the health check lower than 5 getPlayer():getBodyDamage():RestoreToFullHealth(); endendEvents.OnTick.Add(CheatCoreCM.DoTickCheats); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now