Hey, this is my first time using AutoHotKey and i dont know whats wrong with my binds, please help im i suck.
Numpad8::
SendInput t/accept bodyguard {enter}
Return
Numpad6::
Sendinput t/getmats {enter}
Return
Numpad5::
Sendinput t/quitjob {enter}
Sleep 200
Sendinput t/join {enter}
Return
Numpad9::
Sendinput t/lock {enter}
Return
Help me with my binds plz
Re: Help me with my binds plz
Welcome to the forum,
you posted the code you tried, that's good. But there is nothing obviously wrong with your hotkeys. They work well for me in a text editor, each sending text and an {enter} key. Unfortunately, you didn't say what seems to be wrong with them... don't they send anything - or something unexpected? I assume they are for a game/chat, so this might call for some tweaking (some games even block AHK altogether - but games are really not part of my expertise).
First thing that comes to mind about Numpad keys, though, is that the numlock key needs to be in the right state to make them work. Look at this list of numpad keys: https://autohotkey.com/docs/KeyList.htm#Numpad_keys It means that depending on the numlock key state, the same key is either called Numpad8 OR NumpadUp
So, you could tryand see if it helps.
you posted the code you tried, that's good. But there is nothing obviously wrong with your hotkeys. They work well for me in a text editor, each sending text and an {enter} key. Unfortunately, you didn't say what seems to be wrong with them... don't they send anything - or something unexpected? I assume they are for a game/chat, so this might call for some tweaking (some games even block AHK altogether - but games are really not part of my expertise).
First thing that comes to mind about Numpad keys, though, is that the numlock key needs to be in the right state to make them work. Look at this list of numpad keys: https://autohotkey.com/docs/KeyList.htm#Numpad_keys It means that depending on the numlock key state, the same key is either called Numpad8 OR NumpadUp
So, you could try
Code: Select all
NumpadUp::
SendInput t/accept bodyguard {enter}
Return
Re: Help me with my binds plz
I can tell this is for GTA SAMP, so heres your problem.
With Numpad NUMBERS make sure Numlock is turned ON. For the binds youre using, check if you have too many spaces between "t/getmats" and "{enter}" as the spaces are also bound to the Numpad key.
With Numpad NUMBERS make sure Numlock is turned ON. For the binds youre using, check if you have too many spaces between "t/getmats" and "{enter}" as the spaces are also bound to the Numpad key.
Who is online
Users browsing this forum: chubbychub, JoeWinograd and 43 guests