Вы находитесь на странице: 1из 5

Code:

1. function OnEvent(event, arg)

2. OutputLogMessage("event = %s, arg = %d\n", event, arg)

3. if (event == "PROFILE_ACTIVATED") then

4. EnablePrimaryMouseButtonEvents(true)

5. elseif event == "PROFILE_DEACTIVATED" then

6. ReleaseMouseButton(2) -- to prevent it from being stuck


on

7. end

8. if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then

9. recoil = not recoil

10. spot = not spot

11. end

12. if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil)


then

13. if recoil then

14. repeat

15. --Sleep(19)

16. Sleep(19)

17. MoveMouseRelative(0, 6)

18. Sleep(19)

19. MoveMouseRelative(-7, 7)

20. Sleep(19)

21. MoveMouseRelative(-6, 7)

22. Sleep(19)

23. MoveMouseRelative(5, 7)

24. Sleep(19)

25. MoveMouseRelative(8, 7)
26. until not IsMouseButtonPressed(1)

27. end

28. end

29. end

AK with Muzzle, Laser Sight and Holosight

Code:

1. function OnEvent(event, arg)

2. OutputLogMessage("event = %s, arg = %d\n", event, arg)

3. if (event == "PROFILE_ACTIVATED") then

4. EnablePrimaryMouseButtonEvents(true)

5. elseif event == "PROFILE_DEACTIVATED" then

6. ReleaseMouseButton(2) -- to prevent it from being stuck


on

7. end

8. if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then

9. recoil = not recoil

10. spot = not spot

11. end

12. if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil)


then

13. if recoil then

14. repeat

15. --Sleep(19)

16. Sleep(19)

17. MoveMouseRelative(0, 2)

18. Sleep(19)

19. MoveMouseRelative(-1, 3)

20. Sleep(19)

21. MoveMouseRelative(2, 4)
22. Sleep(19)

23. MoveMouseRelative(0, 4)

24. until not IsMouseButtonPressed(1)

25. end

26. end

27. end

You need to turn off the acceleration of the pointer. Increase/lower the dpi, the optimal value
is 1200 - 1600. Make sure that the profile activates the script. For echo in the debug window,
you will see the output text.
DPI - 1200 - 1600 edge/possible
Pointer acceleration - turn off
In game mouse sensitivy = 2.5/3 edge

Semi Automatic Rifle No Attachments

Code:

1. function OnEvent(event, arg)

2. OutputLogMessage("event = %s, arg = %d\n", event, arg)

3. if (event == "PROFILE_ACTIVATED") then

4. EnablePrimaryMouseButtonEvents(true)

5. elseif event == "PROFILE_DEACTIVATED" then

6. ReleaseMouseButton(2) -- to prevent it from being stuck


on

7. end

8. if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then

9. recoil = not recoil

10. spot = not spot

11. end

12. if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil)


then

13. if recoil then

14. repeat
15. --Sleep(19)

16. Sleep(19)

17. MoveMouseRelative(-1, 4)

18. Sleep(19)

19. MoveMouseRelative(-2, 6)

20. Sleep(19)

21. MoveMouseRelative(-3, 6)

22. Sleep(19)

23. MoveMouseRelative(-3, 9)

24. until not IsMouseButtonPressed(1)

25. end

26. end

27. end

Semi Automatic Rifle Muzzle, Laser Sight, Holosight

Code:

1. function OnEvent(event, arg)

2. OutputLogMessage("event = %s, arg = %d\n", event, arg)

3. if (event == "PROFILE_ACTIVATED") then

4. EnablePrimaryMouseButtonEvents(true)

5. elseif event == "PROFILE_DEACTIVATED" then

6. ReleaseMouseButton(2) -- to prevent it from being stuck


on

7. end

8. if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then

9. recoil = not recoil

10. spot = not spot

11. end

12. if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil)


then
13. if recoil then

14. repeat

15. --Sleep(19)

16. Sleep(19)

17. MoveMouseRelative(-1, 2)

18. Sleep(19)

19. MoveMouseRelative(-2, 2)

20. Sleep(19)

21. MoveMouseRelative(2, 3)

22. Sleep(19)

23. MoveMouseRelative(-3, 4)

24. until not IsMouseButtonPressed(1)

25. end

26. end

27. end

Вам также может понравиться