SanyaBruansk пишет: if (findimage(1, #Image_0[0][0], 255, #PosX_0[0], #PosY_0[0], 0, 0, xe, ye, w1)!=0) pause(100);
{
beep (2000, 2000);
mouse(LEFT, PosX_0[0], PosY_0[0], 0, w1);
pause(2000);
}
CODE:if (findimage(1, #Image_0[0][0], 255, #PosX_0[0], #PosY_0[0], 0, 0, xe, ye, w1)==1)
{
beep (2000, 2000);
mouse(LEFT, PosX_0[0], PosY_0[0], 0, w1);
pause(2000);
}
CODE:while (findimage(1, #Image_0[0][0], 255, #PosX_0[0], #PosY_0[0], 0, 0, xe, ye, w1)==0) sleep(100);
beep (2000, 2000);
mouse(LEFT, PosX_0[0], PosY_0[0], 0, w1);
pause(2000); |