Grand Theft Auto V Legacy

Grand Theft Auto V Legacy

View Stats:
goatz Aug 13, 2017 @ 8:45pm
Macro Keys
Can someone give me the binds so i can put then in the autohotkeys becasue i cant find one that will work
< >
Showing 1-2 of 2 comments
Spill Aug 13, 2017 @ 9:50pm 
For autohot keys:

;
; GTA V Useful Macros CEO/MC/Heist v1.00
; AutoHotkey Version: v1.1.22.00
; Language: English

; Author: twentyafterfour
;
;
; Script Function: Provides hotkeys for opening snack menu, equipping armor, entering passive mode, and retrieving vehicle. Keeps you from dying like a ♥♥♥♥♥ during heists.
; Allows you to be a cockbag in deathmatches.
;
; General Notes: Works on foot and in vehicles. Does not work in safehouses where "Invite to apartment" option is present. I cleared the "." key from change radio station
; in cars just to be safe. It seems that the interaction menu occasionally fails to stay open the very first time you use the hotkeys after loading into a
; free-roam or heist. You can open the interaction menu or run a macro once to prevent this from happening again.
;
; To change a hotkey for a macro or adjust delay settings simply replace the assigned value in the "Assign Hotkey and Delay" section with your new value.
; A list of keynames for the non-alphanumeric can be found in the autohotkey help under the heading "Basic Usage and Syntax" with the name "Key List".
; They can also be found at https://www.autohotkey.com/docs/KeyList.htm
;
;
; Tested May 5th 2015 with no major issues.

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive ahk_class grcWindow ; Disables hotkeys when alt-tabbed or GTA is closed.



; ---------Assign Hotkey and Delay Values---------

AutoHealthKey := "CapsLock" ; Set keybinding for macro here. Automatic snacking. Eats 2 snacks from second snack slot.
HeistAutoHealthKey := "LShift & CapsLock" ; Set keybinding for macro here. Automatic snacking. Eats 2 snacks from second snack slot.
HealthKey := "," ; Set keybinding for macro here. Open Snack menu.
ArmorKey := "F1" ; Set keybinding for macro here.
HeistArmorKey := "LShift & F1" ; + is Shift, so Shift&F1
PassiveKey := "F4" ; Set keybinding for macro here.
RetCarKey := "F3" ; Set keybinding for macro here.
OutfitKey := "LShift & H" ; Set keybinding for macro here.
;OpFireKey := "c" ; Set keybinding for macro here.

IntMenuDelay := 120 ; Sets value(ms) for additional delay after opening interaction menu.
KeySendDelay := 41 ; Sets value(ms) for delay between send key commands.
KeyPressDuration := 5 ; Sets value(ms) for duration each key press is held down.




; ----Hotkey Code Section----


Hotkey, %AutoHealthKey%, AutoHealth ; Assigns above value to hotkey. Do not change this line.
Hotkey, %HeistAutoHealthKey%, HeistAutoHealth ; Assigns above value to hotkey. Do not change this line.
Hotkey, %HealthKey%, Health ; Assigns above value to hotkey. Do not change this line.
Hotkey, %ArmorKey%, Armor ; Assigns above value to hotkey. Do not change this line.
Hotkey, %HeistArmorKey%, HeistArmor ; Assigns above value to hotkey. Do not change this line.
Hotkey, %PassiveKey%, Passive ; Assigns above value to hotkey. Do not change this line.
Hotkey, %RetCarKey%, RetCar ; Assigns above value to hotkey. Do not change this line.
Hotkey, %OutfitKey%, Outfit ; Assigns above value to hotkey. Do not change this line.
;Hotkey, %OpFireKey%, OpFire ; Assigns above value to hotkey. Do not change this line.
Return


setkeydelay, KeySendDelay, KeyPressDuration ; Sets delay(ms) between keystrokes issued. Arguments are delay between keystrokes and press duration, respectively.
; They might be able to go lower but these values are pretty fast and work reliably.


; ----Macro Code Section----

; ----AutoHealth----
; Eats snacks automatically

;OpFire:
;While GetKeyState("c"){
; Send {Numpad5}
;}

;return

Outfit:
Send {m}
sleep, IntMenuDelay
Send {Down}{Down}{Enter}{Down}{Down}{Down}{Enter}
return

AutoHealth: ; AutoHealth Macro

Send {m} ; Opens Interaction Menu
sleep, IntMenuDelay ; Necessary delay to allow interaction menu to open properly while keeping keystroke delay short.
; Try to keep this value + the keystroke delay at least 80 ms for proper function.

Send {Down}{Down}{Enter}{Down}{Down}{Enter} ; Keystrokes to open snack menu
Send {Down}{Enter}{Enter}{m} ; Keystrokes to eat 2 of second snack

return ; Separates Hotkey Entries

HeistAutoHealth: ; AutoHealth Macro

Send {m} ; Opens Interaction Menu
sleep, IntMenuDelay ; Necessary delay to allow interaction menu to open properly while keeping keystroke delay short.
; Try to keep this value + the keystroke delay at least 80 ms for proper function.

Send {Down}{Enter}{Down}{Down}{Enter} ; Keystrokes to open snack menu
Send {Down}{Enter}{Enter}{m} ; Keystrokes to eat 2 of second snack

return ; Separates Hotkey Entries



; ----Health----
; Opens up snack menu for manual selection of snacks



Health: ; Health Macro

Send {m} ; Opens Interaction Menu
sleep, IntMenuDelay ; Necessary delay to allow interaction menu to open properly while keeping keystroke delay short.
; Try to keep this value + the keystroke delay at least 80 ms for proper function.

Send {Down}{Down}{Enter}{Down}{Down}{Enter} ; Keystrokes to open snack menu

return ; Separates Hotkey Entries


; ----Armor----
; Equips super heavy armor and exits menu automatically



Armor: ; Armor Macro
Send {m} ; Opens Interaction Menu
sleep, IntMenuDelay ; Necessary delay to allow interaction menu to open properly while keeping keystroke delay short.
; Try to keep this value + the keystroke delay at least 80 ms for proper function.

Send {Down}{Down}{Enter}{Down}{Enter} ; Opens Armor Menu
Send {Down}{Down}{Down}{Down}{Enter}{m} ; Equips super heavy armor and exits automatically. This line can be changed to pick different armor types.

return ; Separates Hotkey Entries

HeistArmor: ; HeistArmor Macro
Send {m} ; Opens Interaction Menu
sleep, IntMenuDelay ; Necessary delay to allow interaction menu to open properly while keeping keystroke delay short.
; Try to keep this value + the keystroke delay at least 80 ms for proper function.

Send {Down}{Enter}{Down}{Enter} ; Opens Armor Menu
Send {Down}{Down}{Down}{Down}{Enter}{m} ; Equips super heavy armor and exits automatically. This line can be changed to pick different armor types.

return ; Separates Hotkey Entries




; ----Passive Mode----
; Enters and exits passive mode



Passive: ; Passive Macro
Send {m} ; Opens Interaction Menu
sleep, IntMenuDelay ; Necessary delay to allow interaction menu to open properly while keeping keystroke delay short.
; Try to keep this value + the keystroke delay at least 80 ms for proper function.



Send {Up}{Enter}{m} ; Toggles passive mode and exits automatically
return ; Separates Hotkey Entries





; ----Retrieve Personal Vehicle----
; Requests delivery of personal vehicle



RetCar: ; Vehicle Request Macro
Send {m} ; Opens Interaction Menu
sleep, IntMenuDelay ; Necessary delay to allow interaction menu to open properly while keeping keystroke delay short.
; Try to keep this value + the keystroke delay at least 80 ms for proper function.

Send {Up}{Up}{Up}{Up}{Up}{Up}{Up}{Up}{Up}{Up}{Up}{Up}{Enter}{Enter}{m} ; Requests vehicle and exits automatically
return ; Separates Hotkey Entries

Modded one if found online. Would change cpaslock as its annyoing when it keeps going on.
Also has some test i did.Just ignore.
goatz Aug 14, 2017 @ 8:44am 
Thanks a lot man
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Aug 13, 2017 @ 8:45pm
Posts: 2