Guest User

No Recoil au3

a guest
Jun 25th, 2015
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.70 KB | None | 0 0
  1. #include <Misc.au3>
  2.  
  3. NoRecoil(1, 375)
  4.  
  5. Func NoRecoil($Recoil, $Interval)
  6.    Local $hDLL, $Pos, $PosY, $PosX
  7.  
  8.       $hDLL = DllOpen("user32.dll")
  9.      
  10.          If @Compiled Then
  11.                While 1
  12.                  
  13.                   $Pos = MouseGetPos()
  14.                   $PosY = $Pos[0]
  15.                   $PosX = $Pos[1]
  16.                  
  17.                      
  18.                      Sleep(100)
  19.                      If WinActive("MY GAYME ._.") Then
  20.                        
  21.                            If _IsPressed("01", $hDLL) Then;==> Active Auto Recoil
  22.                                  MouseMove($PosY, $PosX + $Recoil)
  23.                                  Sleep($Interval); UR PROBLEM ?
  24.                                  
  25.                               ElseIf _IsPressed("02", $hDLL) Then;==> no no no thanks, i dont need recoil at now, i'm man
  26.                                     Exit
  27.                                  EndIf
  28.                            EndIf
  29.                WEnd
  30.          EndIf
  31. EndFunc ;=>NoRecoil()
Advertisement
Add Comment
Please, Sign In to add comment