I Have watched all fleeps how to hack any game videos where he makes a memory hack.
I Have everything else setup here is my memory base.
i tried it with dynamic adresses and it worked 
i tried but
i cant get get static pointers.
Can someone help me get the pointers?
r_drawothermodels
player team
player coords
I Have everything else setup here is my memory base.
C++:
#include <windows.h>
#include <iostream>
using namespace std;
int main()
{
HWND hWnd = FindWindow(0, "Counter-Strike Source");
if(hWnd == 0)
{
cout << "[ERROR] Error cannot find 'Counter-Strike Source' ";
}
else
{
DWORD proccess_ID;
GetWindowThreadProcessId(hWnd, &proccess_ID);
HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proccess_ID);
if(!hProcess)
{
cout << "[ERROR] Failed to open process";
}
else
{
int newdata = 2;
DWORD newdatasize = sizeof(newdata);
if(WriteProcessMemory(hProcess, (LPVOID)0x61FE60C0, &newdata, newdatasize, NULL))
{
cout << "[HACK] Succesfully wrote the process memory. ";
}
else
{
cout << "[ERROR] Cannot write process memory.";
}
CloseHandle(hProcess);
}
}
return 0;
}
i tried but
i cant get get static pointers.
Can someone help me get the pointers?
r_drawothermodels
player team
player coords