FlaTheR1 Posted April 6, 2009 Share Posted April 6, 2009 First of all, i really hope i posted this in the right section Second, my question is, what is the number of health you have when you've got full health? Like, you can see your lifebar but i dont know what number you have, do you start with 100 in health or more? Pretty hard to explain but i hope you'll get the idea... //FlaTheR Link to comment Share on other sites More sharing options...
Hergonan Posted April 6, 2009 Share Posted April 6, 2009 afaik 1000 Link to comment Share on other sites More sharing options...
FlaTheR1 Posted April 6, 2009 Author Share Posted April 6, 2009 (edited) Alright, ill try that, thanks Edit: No, it isnt 100 or 1000 Edited April 6, 2009 by FlaTheR1 Link to comment Share on other sites More sharing options...
Illousion Posted April 6, 2009 Share Posted April 6, 2009 Yes, i would like to know aswell. Dreaming of California, where the sun never sets. Link to comment Share on other sites More sharing options...
Neon25 Posted April 6, 2009 Share Posted April 6, 2009 Alright, ill try that, thanks Edit: No, it isnt 100 or 1000 I'm pretty sure it's 200... Link to comment Share on other sites More sharing options...
FlaTheR1 Posted April 6, 2009 Author Share Posted April 6, 2009 It wasnt 200, sorry Link to comment Share on other sites More sharing options...
thaCURSEDpie Posted April 6, 2009 Share Posted April 6, 2009 It is 200. Link to comment Share on other sites More sharing options...
Illousion Posted April 6, 2009 Share Posted April 6, 2009 It is 200. Cheatengine says different Dreaming of California, where the sun never sets. Link to comment Share on other sites More sharing options...
Neon25 Posted April 6, 2009 Share Posted April 6, 2009 It is 200. Cheatengine says different I actually tried it with the cheatengine and it IS 200. Link to comment Share on other sites More sharing options...
Illousion Posted April 6, 2009 Share Posted April 6, 2009 It is 200. Cheatengine says different I actually tried it with the cheatengine and it IS 200. Well, then i am a retard. Gonna try it again. Dreaming of California, where the sun never sets. Link to comment Share on other sites More sharing options...
-TRASE- Posted April 7, 2009 Share Posted April 7, 2009 300 is normal, 200 your dead Link to comment Share on other sites More sharing options...
FlaTheR1 Posted April 7, 2009 Author Share Posted April 7, 2009 None of these is right! 200, 300 and 1000 is wrong, darn rockstar Link to comment Share on other sites More sharing options...
CoMPMStR Posted April 7, 2009 Share Posted April 7, 2009 None of these is right! 200, 300 and 1000 is wrong, darn rockstar First, Cheat Engine sucks compared to MHS.. but that's just my opinion. Second, 1000 is the max health for vehicles.. not peds. If you want to figure it out real quick and easy, just use one of the scripting tools available. All you need to do is call the native GET_CHAR_HEALTH and display it somehow. The answer is 100 for peds... Link to comment Share on other sites More sharing options...
sjaak327 Posted April 7, 2009 Share Posted April 7, 2009 (edited) for Niko the normal maximum health is 200, 100 is equal to zero, as in when you set char health to 99 it means instant death. It is however possible to get additional health beyond the 200, allthough you need to use another native. This applies both to alice and the C++ scripthook, where a full health bar = 200, not sure about the above picture, that's probably the .net scripthook, that somehow does it differently. Edited April 7, 2009 by sjaak327 Link to comment Share on other sites More sharing options...
CoMPMStR Posted April 7, 2009 Share Posted April 7, 2009 for Niko the normal maximum health is 200, 100 is equal to zero, as in when you set char health to 99 it means instant death. It is however possible to get additional health beyond the 200, allthough you need to use another native. This applies both to alice and the C++ scripthook, where a full health bar = 200, not sure about the above picture, that's probably the .net scripthook, that somehow does it differently. Yup you are correct, 200 is the full bar. I thought it was 200 but I decided to use the .NET scripthook to confirm it before posting, turns out the scripthook IS displaying it differently. I did some other tests and found that the full bar is indeed 200, but it's a float type and not integer (or 4bytes). I found a static address that displays the health, 0x00FAE680 or GTAIV.exe+BAE680. Tested on v1.0.2.0, you can't use this address for writing health. 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