Ok, my C++ doesn't work anymore. I'm out. Buy can any1 make the DLL with my code? The credits are from rob, because the recoil code and my because the DLL-Code to inject.
I think, that works. But, I can just make the DLL. The others must do the other people here.
Eventually, when we make a menu, I can make this. Hotkeys, then I'm out.
Code:
int WINAPI DllMain(HINSTANCE hInst,DWORD reason,LPVOID reserved)
{
switch(reason)
{
case DLL_PROCESS_ATTACH:
void recoil()
{
DWORD dwPlayerPtr = *(DWORD*)playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr + recoiloffset1) = 0;
*(float*)(dwPlayerPtr + recoiloffset2) = 0;
*(float*)(dwPlayerPtr + recoiloffset3) = 0;
}
}
break;
}
return true;
}
Eventually, when we make a menu, I can make this. Hotkeys, then I'm out.



