Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- F2::
- X0:=500 ;центр восьмиугольника по Х
- Y0:=500 ;центр восьмиугольника по Y
- R:= 100 ;радиус
- S:=0 ;скорость передвижения мыши (0 - максимальная)
- Loop
- {
- if not GetKeyState("F2", "P") ;Выполнять цикл пока нажата клавиша
- break
- mousemove,X0,Y0-R,S
- mousemove,X0+R*0.75,Y0-R*0.75,S
- mousemove,X0+R,Y0,S
- mousemove,X0+R*0.75,Y0+R*0.75,S
- mousemove,X0,Y0+R,S
- mousemove,X0-R*0.75,Y0+R*0.75,S
- mousemove,X0-R,Y0,S
- mousemove,X0-R*0.75,Y0-R*0.75,S
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement