ahk吧 关注:856贴子:2,655
  • 0回复贴,共1

大家帮帮忙!!!!!

只看楼主收藏回复

每次用个这 AHK 玩绝地求生 按左键 一不小心就自动开枪 要怎么解决啊 求大神帮忙!!!
#NoEnv
SendMode Input
_auto := true
~LButton::autofire()
~Numlock::_auto := ! _auto
~left::Suspend
autofire()
{
global _auto
if _auto
{
Loop
{
if GetKeyState("LButton", "P")
{
SendInput {LButton DownTemp}
Sleep 1
mouseXY(0, 2)
Sleep 1
SendInput {LButton Up}
Sleep 20
}
else
break
} ;; loop
} ;; if
} ;; autofire()
mouseXY(x,y)
{
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}


IP属地:广东1楼2018-05-30 05:37回复