Help with Hack
Hello Guys!
I used the main of this Tutorial: (http://www.mpgh.net/forum/242-crossf...mory-hack.html)
This is what my Code looks like now. (With new Addies).
But whta is the mistake here?
It says the "While" is a syntax error.
Please Help me
Thank you
I used the main of this Tutorial: (http://www.mpgh.net/forum/242-crossf...mory-hack.html)
This is what my Code looks like now. (With new Addies).
Code:
#include <windows.h>
#include "stdafx.h"
int WallMgr = 0xAAC3BC;
int WaeponMgr = 0xAAC3D0;
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWallMgr = *(PDWORD)(CShell+WallMgr);
DWORD pBasicPlayerInfo = *(DWORD*)(CShell + BasicPlayerInfo);
DWORD pWeaponMgr = *(PDWORD)(CShell+WeaponMgr);
if (unlimitedAmmo)
{
If(pWeaponMgr)
{
for(int i=0; i<560; i++)
{
if ((*DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xAAC3D0)) +(4*i))) + UnlimitedAmmo) = 90;
}
}
}
It says the "While" is a syntax error.
Please Help me
Thank you