Changing keybinds

Post gaming related scripts
iNRage
Posts: 9
Joined: 11 Dec 2017, 22:57

Changing keybinds

24 Mar 2018, 00:52

i want to change the keybind A (makes a and d spam) to Mouse5

How do i do this?

Code: (Not My Own Credit Goes To: Rohwedder)
Spoiler
This is what i changed it to but it doesnt work.

$Xbutton2:: ;Hotkey XButton2
While, GetKeyState("a","P")
{
Send, {a Down}
Sleep, 1000
Send, {a Up}{d Down}
Sleep, 1000
Send, {d Up}
}
Return
}
Return
SkyLife
Posts: 19
Joined: 18 May 2017, 20:53

Re: Changing keybinds

05 Apr 2018, 02:21

While, GetKeyState("a","P")

While, GetKeyState("Xbutton2","P")

Return to “Gaming Scripts (v1)”

Who is online

Users browsing this forum: No registered users and 30 guests