#include<windows.h>
#include<iostream>
using namespace std;
#define Gernades ((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))
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
void main() {
Sleep(1000);
bool grenadedemage = true;
bool nofall = true;
bool longs = true;
bool Reload = true;
if(grenadedemage) {
for(int i=0 ; i<445 ; i++)
{
if(Gernades)
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0x102BD1D8))+(4*i))) + 0x814) = 0 ; // nonadedemage
}
if(nofall) {
*(float*)( (*(DWORD*)(CShellBase+0x102BD1D8))+0x814 ) = 0; // no fall
}
if(longs) {
*(float*)( (*(DWORD*)(CShellBase+0102xBD258))+0x7EC ) = 111110; //long shot range
}
if(Reload) {
*(float*)( (*(DWORD*)(CShellBase+0x102BD4A4))+0xA44 ) = 1; // fast reload
}
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "CrossFire Hack by Sebulka and NiFreZ", "CrossFire NA HACK", 0);
}
return true;
}


