/*/
/*/
/ : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "targetver.h"
#define WeaponMgr 0xAB2940
#define Norecoil 0x53C || 0x6A4 || 0x1958 || 0x1B34 || 0x1FC0 || 0x2128 || 0x2290
void Hack ()
{
DWORD Cshell = *(DWORD*)GetModuleHandleA("Cshell.dll");
DWORD pWeaponMgr = *(DWORD*)(Cshell + WeaponMgr);
bool NoRecoil =1,
WallHack ;
if ( pWeaponMgr)
{
for(int i=0; i<999; i++)
{
*(float*)(WeaponMgr + 0x26C4) = 99.0f;
*(float*)(WeaponMgr + Norecoil) = 0.0f;
}
}
}
BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved )
{
switch (ul_reason_for_call)
{
DisableThreadLibraryCalls(hModule);
case DLL_PROCESS_ATTACH:
Beep(1000,500);
Hack();
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

try to encrypt cshell in another void and made a createthread i have fix it and work
i try all hooks from mpgh and fix it for myself 
BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved )
{
switch (ul_reason_for_call)
{
DisableThreadLibraryCalls(hModule);
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
if (GetModuleHandleA("ClientFx.Fxd") { Beep(1000,500);
Hack(); }
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}