Advertisement
n3r0t

AHK CSGO Macro NoRecoil

Nov 6th, 2014
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv
  2. SendMode Input
  3. SetWorkingDir %A_ScriptDir%
  4.  
  5. ; iloveesl
  6. NRA := 1
  7.  
  8. ; SS
  9. ^!p::Suspend
  10.  
  11. ; NR
  12. ~LButton::
  13. while GetKeyState("LButton") & NRA
  14. {
  15. DllCall("mouse_event", uint, 1, int, 0, int, 3, uint, 0, int, 0)
  16. Sleep, 15
  17. DllCall("mouse_event", uint, 1, int, 0, int, 4, uint, 0, int, 0)
  18. Sleep, 5
  19. }
  20. return
  21.  
  22. ; Nades
  23. ~MButton::
  24. if GetKeyState("LButton")
  25. {
  26. NRA := 0
  27. Sleep, 3000
  28. MouseClick, Left,,,,, U
  29. NRA := 1
  30. }
  31. return
  32.  
  33. Insert::Suspend
  34.  
  35. -------------
  36.  
  37. Credit : Lokeeh
  38. How to use script:
  39. -Copy the above paste into notepade
  40. -Save file as *.AHK
  41. -Run the script with AHK after saved
  42. SUCCESS !
  43. To suspend the script press "Insert Button"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement