Code:
[NoMenu]

void QuickPD()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
    if(GetAsyncKeyState('F'))
   {
        *(float*)(ADR_QUICKPD) = 99999.0F;
   }
   else
  {
        *(float*)(ADR_QUICKPD) = 5.3769406e-3;
   }
}
}



[Menu]

if (dwPlayerPtr != 0)
{
        if(CH_QuickPD == 1)  
	{
		if(GetAsyncKeyState('F'))		
		{
			*(float*)(ADR_QUICKPD) = 99999.0F;
		}
		else
		{
			*(float*)(ADR_QUICKPD) = 5.3769406e-3;	
		}
	}
}

I got NoMenu and Menu hack with several hacks. they all work fine except QuickPD on Menu. other Menu hacks working good. why this QuickPD hack on Menu does not work? any ideas?