Results 1 to 2 of 2
  1. #1
    Feroztier's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    3
    My Mood
    Devilish

    How to fix this Recoil Reducer AHK script?

    Code:
    #NoEnv
    #InstallKeybdHook
    #InstallMouseHook
    
    ~LButton::  ; while holding Left mouse button, usually fire
    loop ; preform this and loop it while the fire button is held
    {
    GetKeyState,updn, LButton, P ; check to see if its down
    if updn = U ; if its not down
    break ; break the loop 
    MouseClick, left,,, 2, 0, D ; if the loop isnt broken this
    MouseClick, left,,, 1, 0, U ; virtually send 2 downclicks then 1 up very fast
    DllCall("mouse_event", uint, 1, int, 0, int, 1, uint, 0, int, 1) ; on the down click move the mouse position this much
    }
    F6::Suspend
    I found this code around MPGH and so far its the best working one without going too crazy, however, one problem I have is that everytime I left click which is shoot, it just suspends the script, I have no knowledge on scripts therefore I'm asking for your guys help.

  2. #2
    khalxd's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Location
    CS:GO
    Posts
    33
    Reputation
    10
    Thanks
    2
    My Mood
    Amazed
    I found this
    Code:
    Z:: Hotkey, $LButton, Toggle
    LButton::
    Loop
    {
    SetMouseDelay 80
    Click
    If (GetKeyState("LButton","P")=0)
    Break
    }

Similar Threads

  1. how to fix this error?
    By djkorn in forum CrossFire Help
    Replies: 4
    Last Post: 02-26-2011, 10:09 PM
  2. can someone help me or show me how to fix this
    By jackal9006 in forum Combat Arms Coding Help & Discussion
    Replies: 10
    Last Post: 02-21-2011, 09:12 AM
  3. [Help] How To Fix This Error...
    By Edvardas96 in forum Call of Duty 5 - World at War Hacks
    Replies: 4
    Last Post: 12-29-2010, 09:49 PM
  4. How to Fix This...!!!
    By [PrO1Gamers] in forum Help & Requests
    Replies: 10
    Last Post: 11-11-2010, 10:19 AM
  5. Help Please! You Must Know How To Fix This!
    By xweetok59 in forum C++/C Programming
    Replies: 4
    Last Post: 07-05-2009, 07:51 AM