Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

Универсальный макрос для PUBG для мыши Logitech

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
4 Ноя 2019
Сообщения
6
Реакции
1
function OnEvent(event, arg)[/B][/LEFT][/B][/LEFT][/B][/LEFT]


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(35)
Sleep(8)
MoveMouseRelative(0, 2)

until not IsMouseButtonPressed(1)
end
end
end​
 
Назад
Сверху Снизу