
#include <windows.h>
#include <stdio.h>
#define ADR_PlayerPointer 0xA955F4
#define ADR_ServerPointer 0xA9C67C
DWORD *ingame= (DWORD*) ADR_PlayerPointer;
DWORD *outgame= (DWORD*)ADR_ServerPointer;
struct CBase
{
CPlayer* Local;
char* BLAH[0xA955F4] <== can someone tell me where i can put this?
CPlayer** Player;
};
void OPK()
{
if ( CPlayer->Local )
{
if(GetKeyState(VK_HOME))
{
for (int MaxPlayer = 0; MaxPlayer < 32; MaxPlayer++)
{
CPlayer->p_Global[MaxPlayer]->PosX = 0;
CPlayer->p_Global[MaxPlayer]->PosY = 0;
CPlayer->p_Global[MaxPlayer]->PosZ = 0;
}
}
}
}
void HackThread()
{
for(;; )
{
if(*ingame)
{
OPK();
}
if(*outgame)
{
}
Sleep(120); //prevent for overloading the cpu
}
}
//--------------------------End HackThread--------------------------//
//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"HELP ME HATERS","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}
, @DaneCoder ,Jesus Caballos tell to me that the CPlayer i will put PlayerPointer 

struct CPlayer
{
char Edz0[66288];
float nofalldamage;
char Ydiko1[20];
float posx;
char Edz2[4];
float posz;
char Edz3[4];
float posy;
};//Size=0x10310(201420)
struct CBase
{
CPlayer* local;
char Edz1[496336];
CPlayer** player;
};
CBase* pBase = (CBase*)ADR_Playerpointer;
bool nPlayerOPK;
bool svpopk;
DWORD *ingame= (DWORD*)ADR_Playerpointer;
DWORD *outgame= (DWORD*)ADR_Serverpointer;
