
Originally Posted by
Play&Win
eh, ok I will write a short tutorial, but not nao.
Easier crosshair + Boxes:
Code:
*(byte*)0x0646F098 = 1;
*(float*)0x0646F188 = 1.2;
*(float*)0x0646F138 = 12;
*(float*)0x0646EA58 = 100;
*(float*)0x0646EE68 = 1.2;
*(float*)0x0646EEB8 = 12;
*(float*)0x0646EA08 = 100;
*(BYTE*)0x0646EE18 = 1;
How you make it the easy way:
Open visual studio c++, create new project, win32, empty dll appliaction.
Type this code:
Code:
#include <iostream>
#include <Windows.h>
HANDLE mw2 = GetCurrentProcess();
DWORD WINAPI Hacks(LPVOID)
{
for(;;Sleep(200))
{
if(GetAsyncKeyState(VK_F1))//press f1 to activate the hacks
{
//activates xhair and boxes
*(byte*)0x0646F098 = 1;
*(float*)0x0646F188 = 1.2;
*(float*)0x0646F138 = 12;
*(float*)0x0646EA58 = 100;
*(float*)0x0646EE68 = 1.2;
*(float*)0x0646EEB8 = 12;
*(float*)0x0646EA08 = 100;
*(BYTE*)0x0646EE18 = 1;
}
}
return 1;
}
BOOL WINAPI DllMain (HINSTANCE hModule, DWORD dwAttached, LPVOID lpvReserved)
{
if (dwAttached == DLL_PROCESS_ATTACH)//if dll is injected do this
{
CreateThread( 0, 0, Hacks, 0 , 0, 0 );
}
return 1;
}
Compile and inject to iw4mp.dat