EnablePrimaryMouseButtonEvents (true)
offset={40,5,5,5,5,6,6,6,6,6,10,11,12,12,13,13,12,11,11,11,8,8,8,8,9,9,9,9,10,10,10}
function OnEvent(event, arg, family)
if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
click = 0
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 4) then
recoil = not recoil
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then
click = 1
i=1;
Click()
end
if (event == "M_RELEASED" and arg == 3) then
Click()
end
if (event == "MOUSE_BUTTON_RELEASED" and arg == 1 and recoil) then
Stopclick()
end
end
function Click()
PressAndReleaseMouseButton(1)
Sleep (30)
MoveMouseRelative(0,offset[i])
i=i+1
if (i>#offset) then i=#offset end
if (click==1) then SetMKeyState(3) end
end
function Stopclick()
click = 0
end
直接搞起來。不解釋
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/131043.html
標籤:基礎類
下一篇:新人求問
