Jump to content

Infinite Armor Address


toolbox36

Recommended Posts

Is there a memory addressed similar to the Infinite Health address (0x96916D) but for armor. If there is can anyone explain to me how to find it or what it is?

Link to comment
Share on other sites

There aint an "infinite armour" address, but you could check the player ped is wearing armour and make him immune when he is...

Link to comment
Share on other sites

The player's armor can be set to 0x7f800000, which is the infinite floating point value encoded in hex. Sorry, I don't know the memory address for player armor, but it shouldn't be hard to find. The savegame editor by Paul Breeuwsma has included an infinite armor setting for quite a while. It seems to work as expected, but will cause overflow errors in San Andreas Control Center.

Link to comment
Share on other sites

@OrionSR

 

Might be useful, thanks smile.gif

 

@Ontopic

 

To make Orion's snippet usable, use:

 

 

0A96: 0@ = actor $PLAYER_ACTOR struct000A: 0@ += 0x5480A8C: write_memory 0@ size 4 value 0x7F800000 virtual_protect 0

 

 

If SA supports that float properly, it should work.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.