whats wrong with my code.
sense some of these mods are retard and won't help me out cough*swiftdude*cough, i would like for you guys to help me with my code.
Code:
#include<windows.h>
#include<iostream>
using namespace std;
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
DWORD WINAPI Hacks(LPVOID)
{
while(GetModuleHandleA("CShell.dll") != NULL)
{
while(1)
{
bool Ammodamage = false;
while(1)
{
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
if(Ammodamage)
{
for(int i=0 ; i<445 ; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0xA0B280 ))+(4*i))) + 0x7F8) = FLT_MAX ;
}
}
}
}
}
return true;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "Coded by GS-HITMAN", "One Hit Killz" , 0);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
}
return true;
}