For testing purposes I've use this code from HaxingRulez
https://www.mpgh.net/forum/showthread.php?t=1123697
I've get this memory address from a game and I've dun know how to put it into the source code
Code:
#include <windows.h>
bool TeamESP = false;
void Start()
{
while(1)
{
if(GetAsyncKeyState(VK_INSERT)&1)
{
if(TeamESP = !TeamESP)
{
TeamESP = true;
}
else
{
TeamESP = false;
}
}
if(TeamESP == true)
{
*(BYTE*)(*(DWORD*)(0x00471678)+0x14)= 01;
*(BYTE*)(*(DWORD*)(0x0099A25C)+0x61)= 01;
}
else if(TeamESP == false)
{
*(BYTE*)(*(DWORD*)(0x00471678)+0x14)= 00;
*(BYTE*)(*(DWORD*)(0x0099A25C)+0x61)= 00;
}
}
BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if (dwReason == DLL_PROCESS_ATTACH ) {
CreateThread (0,0, ( LPTHREAD_START_ROUTINE ) Start, 0,0,0);
}
return 1;
}
Can anyone help me ? Im a Beginner in hack