hello guys i need help in my hack i make hack without D3D menu because i dont have one but i still working on it so i make dll hack Main.cpp and i write this code of i start with fly i make it and i get succesful and i try to fly in crossfire not work
sorry for my english !

#define FlyGravity 0xAAC
#define FlyGravityAI 0x9CC


void FlyHack(void)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD PlayerClient = *(DWORD*)(CShell + 0x1B18DD8 + 0x78 );

if(PlayerClient !=NULL)
{
// Fly

if (GetAsyncKeyState(VK_SPACE) && 1)
{

if (*(DWORD*)( PlayerClient + FlyGravityAI + 0xC ) == 0)
{

*(float*)(PlayerClient + FlyGravity) = -3.125f;
}
else
{
*(float*)(PlayerClient + FlyGravityAI) = -3.125f;
}

}
else
{
if (*(DWORD*)( PlayerClient + FlyGravityAI + 0xC ) == 0)
{
*(float*)(PlayerClient + FlyGravity) = 1.0f;
}
else
{
*(float*)(PlayerClient + FlyGravityAI) = 1.0f;
}
}
}
}