Advertisement
mickey90427

GTA 5 Online 폐활량작 매크로 (Autohotkey)

Oct 4th, 2023
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | Source Code | 0 0
  1. /*
  2. GTA 5 Online 폐활량작 매크로 (Autohotkey)
  3. */
  4. #NoTrayIcon
  5. #SingleInStance Force
  6. SendMode Input
  7. Gui +AlwaysOnTop
  8. Gui Add,Button,vButton gButton w300 h50,On
  9. Gui Show,,GTA 5 Online 폐활량작
  10. Return
  11. Button:
  12. WinActivate Grand Theft Auto V
  13. Sleep(10)
  14. If((Toggle:=!Toggle)=1)
  15. {
  16. GuiControl,,Button,Off
  17. SetTimer Script
  18. }
  19. Else
  20. {
  21. GuiControl,,Button,On
  22. global Exit=1
  23. SetTimer Script,Off
  24. Send {Space Up}
  25. Send {S Down}{Shift Down}
  26. global Exit=
  27. Sleep(2000)
  28. Send {S Up}{LShift Up}
  29. }
  30. Return
  31. GuiEscape:
  32. GuiClose:
  33. ExitApp
  34.  
  35. Script:
  36. Sleep(2000)
  37. Send {Space Down}
  38. Sleep(10000)
  39. Send {Space Up}
  40. Send {S Down}{Shift Down}
  41. Sleep(2000)
  42. Send {s Up}{LShift Up}
  43. Return
  44.  
  45. Sleep(milliseconds:=0)
  46. {
  47. StartTickCount := A_TickCount
  48. Loop
  49. {
  50. If ((A_TickCount - StartTickCount) >= milliseconds)
  51. Break
  52. if (Exit = 1)
  53. Break
  54. }
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement