I found this base in Dead(H)ell's thread. it was suppose to be detected or something. I took it, changed a few things and it works 100% just tested it myself.
All you need to do is put the right offsets/addies in.
Thanks! have fun!
I'm not sure who's base this originally was but i herd it was Swifts. SO:
Credits: @
Swiftdude and i guess me a little i dunno.
Code:
#include<Windows.h>
#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==126)||(i==135)||(i==209)||(i==210)||(i==240)||(i==263)||(i==272)||(i==338)||(i==382)||(i==383)||(i==384))
#define Knifes ((i==5)||(i==35)||(i==74)||(i==132)||(i==239)||(i==372)||(i==381))
#define Mutant ((i==120)||(i==176)||(i==177)||(i==178)||(i==182)||(i==195)||(i==196)||(i==197)||(i==198)||(i==199)||(i==223)||(i==224)||(i==225)||(i==226)||(i==227)||(i==228)||(i==270)||(i==271)||(i==302)||(i==303)||(i==304)||(i==305)||(i==306)||(i==307))
#define WeaponMgr 0x000000 // AmmoDamage//WeaponMgr
//*********DEFINE YOUR HACKS HERE***********//
#define NoDelay 0x0000 // ChangeWeaponAnimRatio
#define AmmoDmg 0x0000 // AmmoDamage
float Change = 100;
DWORD WINAPI Hacks(LPVOID)
{
bool Nochange = true;
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
if(Nochange)
{
if (pWeaponMgr)
{
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + NoDelay) = Change;
}
}
}
Sleep(100);
}
}
bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}
DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Hacks,0,0,0);
}
return 1;
}