c++ GTA game hack
so im trying to get unlimited ammo for GTA V and this is what i have so far, its a .dll and when i inject it nothing happens can someone help me with this please
thanks :P
Code:
#include "ProcMem.h"
#include <iostream>
#include <windows.h>
using namespace std;
class PAmmo
{
public:
__int32 ammo = 0x7FF68B932D2C; //0x0000
WORD unknown; //0x0004
char _0x0006[2];
WORD unknown1; //0x0008
char _0x000A[54];
};//Size=0x0040
int main(){
ProcMem mem;
mem.GetProcess("GTA5.exe");
PAmmo NewAmmo;
mem.Write(NewAmmo.ammo, (INT32)40);
}
