PDA

View Full Version : scopes



sailerboy
11-25-2007, 12:54 AM
I am trying to get this to zoom on a right click, and zoom out on a right click. So far, it zooms in ,but not out. I think the problem is the hotkey.
yes, its in a timer
i chose to use 1 timer with boolen statments to determine my on and off shit. My on button looks like

void CMyTrainerDlg::OnScopeOn()
{
button10 = true;
SetTimer(dpijsdpjspjai, 1, NULL);

}
dpijsdpjspjai is the name of my timer

if (button10==true){
if ((GetKeyState(VK_RBUTTON) &1)==1){
dfsupidfspjdfs(0xADD126, result);
if (result==0){
adfjspjkpjdfkpj(0xADD126, 1);
}
if (result==1){
adfjspjkpjdfkpj(0xADD126, 0);
}

}
}

dfsupidfspjdfs is readlong
adfjspjkpjdfkpj is writelong