please check - no weapon change delay hack
i have leech proofed the code
please check it. it is for no weap change delay.
Code:
#include<windows.h>
DWORD WINAPI hacks(LPVOID)
{
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD LeechMgr = *(DWORD*)(CShell + 0xA68F80); // Weapon pointer
for(int i=0; i<12; i++)
{
if((*(DWORD*)((*(DWORD*)(WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(WeaponMgr)) +(4*i))) + 0x26A0) = 45.0f;
}
Sleep(100);
}
}
extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved) {
DisableThreadLibraryCalls(hDll);
MessageBox(NULL, "Hack, made by _corn_ for MPGH. Enjoy!", "Injected Successfully!", MB_OK);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hacks, NULL, NULL, NULL);
return true;
}
if u are not a leecher, you will know where this goes: 560