/*
name here, of editor
*/
#include<windows.h>
#definesome things...
#define WeaponMgr changed addie****
#define NoReload addie still same..****
#define WeaponDamage ******
float ********= 999.0f;
float ****** = 0.0f;
char Msg[] = { };
char Title[] = { };
DWORD WINAPI Hacks(LPVOID)
{
bool onehit = true,
reload = true,
fragdmg = true;
or false;(with hotkeys)
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
if(onehit)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if ''start here'''' end code'' [anti-leech]
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + WeaponDamage) = ********;
}
}
}
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 )
{
//optional
MessageBoxA(0, Msg,Title, 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
}
return 1;
}