Hitterman
22-10-08, 07:09 PM
This tutorial contains one of the most famous code for MTA SA. This will include Invincibility in MTA SA.
The code is:
//globals and basic header files
DWORD* dwCarPointerBase = (DWORD*)0xB6F3B8; //car base
//present
BYTE* bFlags = (BYTE*)((*dwCarPointerBase) + 66);
int EP = 1;
int DP = 1111;
int final=0;
if(*dwCarPointerBase)
{
final = EP + DP;
*bFlags = final;
}
This will make your car Damage proof.
Just took the code from my Game hacking book and posting here.
You need c++ for this and a little knowledge about C++.
The code is:
//globals and basic header files
DWORD* dwCarPointerBase = (DWORD*)0xB6F3B8; //car base
//present
BYTE* bFlags = (BYTE*)((*dwCarPointerBase) + 66);
int EP = 1;
int DP = 1111;
int final=0;
if(*dwCarPointerBase)
{
final = EP + DP;
*bFlags = final;
}
This will make your car Damage proof.
Just took the code from my Game hacking book and posting here.
You need c++ for this and a little knowledge about C++.