I made some useful macros for heists/general gameplay.
I wrote the script for autohotkey as I do not have built-in macro capability with my keyboard. It should work for anyone.
It features five fast acting and easily changeable hotkeys:
- Open snack menu - ","
- Automatically eat 2 snacks in second slot - "CapsLock"
- Equip super heavy armor - "F1"
- Toggle passive mode - "F4"
- Request personal vehicle - "F3"
Those are the default bindings. See below if you want to change them.
I played with the delay settings and the values I arrived at are very fast as well as stable on my computer. The macros work on foot or in a vehicle. The only issue I've found with it that after loading into a free-roam or heist mission the first macro occasionally seems to fail. You can prevent this error from occurring at a bad time by running a macro or just opening the interaction menu once, after which it runs perfectly. All of the macros require your interaction menu to be closed and your phone to be put away to work. They also won't work inside an apartment because of the extra menu option. They are setup for having your interaction menu bound to the "M" key. You won't get banned for using this. All it does is send keystrokes, no DLL injection or memory hacks.
I personally wouldn't mess with the delays because they work pretty well where I've set them.
If you want to change a hotkey, you can open the downloaded script with any text editor by right clicking it or by clicking on the "H" icon in your taskbar and selecting edit script. Then you change the value inside quotations as shown in the section below:
HealthKey := "Any Key Here" ; Set keybinding for macro here.
ArmorKey := "NumPad3" ; Set keybinding for macro here.
PassiveKey := "NumPad0" ; Set keybinding for macro here.
RetCarKey := "F3" ; Set keybinding for macro here.
Note: If your script was running while you edited it. You need to click on the taskbar icon and select reload script for changes to take effect
A list of keynames for the non single character keys is available here.
Installation and Usage Instructions:
-
Install autohotkey. [Get AutoHotKey here] (http://www.autohotkey.com/).
-
Click on the file you downloaded in step 2. You should see a green H in your task bar that indicates the script is running. You can launch this before or while playing GTA it makes no difference.
EDIT: Added new features:
-
The hotkeys no longer trigger unless the GTAV window has focus. Thanks u/RealityExit
-
Added an autosnack macro that eats 2 snacks from the second slot of the snack menu.
-
Changed default hotkeys.
Snack responsibly.
Posted May 4, 2015, 9:43 PM UTC · edited
Could you PasteBin the script instead
I edited it in below the other links. It's neat that pastebin can do syntax highlighting.
Serious question; is there any chance of this getting you banned in GTA:Online ?
there should be NONE, since bans usualy come from touching the actual files, this just makes shortcuts to keyboard
I only ask because nearly all first person shooters consider macros cheating. E.G. Recoil macros, quick weapon switch macros, etc.
Bans come from injecting DLLs into the game. In reply to OP, AHK does not inject DLLs nor modify game files.
If you went and told someone in charge that you were using macro's, and they cared enough, then maybe. These, however, do nothing to modify the game code, and should simply look like you're hitting keys on your keyboard very quickly.
Sure but loads of anti-cheat look for third party software in use while the game is active. Is auto-hotkey immune because it plenty of real world uses?
No, it's only sending keystrokes.