问题描述
我正在尝试通过 G Hub(罗技应用程序)鼠标脚本在 pubg Mobile Emulator 游戏中存档 No Recoil...当我按下开火按钮时,它应该继续开火并保持我的目标。我写了一些代码来在射击时瞄准,它在除了 pubg Mobile Emulator 之外的任何地方都可以使用。在 pubg Mobile Emulator 中,它在单次射击中有效,但在自动射击中无效。有人能帮我解决这个问题吗?
function OnEvent(event,arg)
OutputLogMessage("event = %s,arg = %d\n",event,arg)
if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
elseif event == "PROFILE_DEACTIVATED" then
ReleaseMouseButton(2) -- to prevent it from being stuck on
end
if (event == "MOUSE_BUTTON_pressed" and arg == 4) then
recoil = not recoil
spot = not spot
end
if (event == "MOUSE_BUTTON_pressed" and arg == 1 and recoil) then
if recoil then
repeat
--Sleep(10)
Sleep(10)
MoveMouseRelative(0,5)
until not IsMouseButtonpressed(1)
end
end
end
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)