#include <Windows.h>
#define WeaponMgr 0xAB2940
#define NoReload 0x26C4
#define NoRecoil1 0x53C
#define NoRecoil2 0x6A4
#define NoRecoil3 0x1958
#define NoRecoil4 0x1964
#define NoRecoil5 0x1FC0
#define NoRecoil6 0x2128
#define NoRecoil7 0x2290
void lol()
{
unsigned long CShell = (unsigned long)GetModuleHandleA("CShell.dll");
unsigned long pWeaponMgr = *(unsigned long*)(CShell+WeaponMgr);
if(NoReload)
{
if (pWeaponMgr)
{
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100;
}
}
}
if(pWeaponMgr)
{
for(int y=0; y<9; y++)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil1) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil2) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil3) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil4) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil5) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil6) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil7) = 0.0f;
}
}
}
int gsc()
{
lol();
return true;
}
void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved)
{
if (dwReason == 1)
{
gsc();
}
if (dwReason == 0)
{
}
}
![=]](/forum/images/emotions/=].gif)

void lol(){
//whatever
}
int gsc(){
//whatever
return true;
}
void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved){
//whatever
}
int lolgsc(void){
//whatever
return 0;
}
void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved){
//whatever
return 1;
}
if(NoReload)
{
//code
}
#define NoReload /*addie here*/
bool reload == true;
if(reload) //if the bool reload is true (we turned it true) then the code works. So it need to work now.
{
//code here
}