Цитата:
int ferat[10][5];
int PosX_0[1], PosY_0[1];
int color, xe, ye;
getdisplay(color, xe, ye);
loadimage (#ferat[0][0], "C:\terret\mit.bmp");
e: if (findimage(1, #ferat[0][0], 0, #PosX_0[0], #PosY_0[0], 0, 0, xe, ye, -1)==0)
{
sleep(50);
}
else
{
mousedbl(LEFT, PosX_0[0]+imagewidth(#honey[0][0])/2, PosY_0[0]+imageheight(#honey[0][0])/2, 1, wind);
mouse(LEFT, PosX_0[0]+imagewidth(#honey[0][0])/2, PosY_0[0]+imageheight(#honey[0][0])/2);
}
goto e;
w=window ("It yer", "as23Qe", -1)
int PosX_0[1], PosY_0[1];
int color, xe, ye;
getdisplay(color, xe, ye);
loadimage (#ferat[0][0], "C:\terret\mit.bmp");
e: if (findimage(1, #ferat[0][0], 0, #PosX_0[0], #PosY_0[0], 0, 0, xe, ye, -1)==0)
{
sleep(50);
}
else
{
mousedbl(LEFT, PosX_0[0]+imagewidth(#honey[0][0])/2, PosY_0[0]+imageheight(#honey[0][0])/2, 1, wind);
mouse(LEFT, PosX_0[0]+imagewidth(#honey[0][0])/2, PosY_0[0]+imageheight(#honey[0][0])/2);
}
goto e;
w=window ("It yer", "as23Qe", -1)