Page 1 of 1
AutoHotKey - Help needed ASAP!
Posted: July 16th, 2017, 5:46 pm
by C-Slo
Well, I use AutoHotkey for binds, but it just spams. I don't know what's the problem. 1st 4-5 binds work correctly, while others just spam the shit (AND IT'S NOT EVEN THE THINGS I PUT).
My script
[spoiler]
Code: Select all
f1:: SendInput t/me grabs the suspect by his neck and forces him into the cruiser.{Enter}t/do Get in or /get{Enter}
f2:: SendInput t/me opens the door for the suspect and lets him out.{Enter}t/do Come out.{Enter}t/letgo
f3:: SendInput t/me wears a pair of gloves, and attempts to pat down the suspect from head to toe.{Enter}t/frisk
f4:: SendInput t/me presses the elevator button.{Enter}t/do 2 guards would come out - take you to your cell.{Enter}t/jail
p:: SendInput t/p SAPD - Pull over to the right side of the road and turn your engine off! Remain seated!{Enter}
o:: SendInput t/p SAPD - Stop now or we will use force against you!{Enter}
Numpad0:: SendInput t/bk{Enter}t/r Performing a 10-57v, need backup, over.{Enter}
/:: SendInput t/em{Enter}t/d Need immediate assitance!{Enter}
.:: SendInput t/bc{Enter}t/d Situation cleared, moving out, over.{Enter}t/r 10-99.{Enter}
1:: SendInput t/engine{Enter}t/car fix{Enter}t/engine{Enter}
h:: SendInput t/enter{Enter}t/door{Enter}
[/spoiler]
Re: AutoHotKey - Help needed ASAP!
Posted: July 16th, 2017, 6:26 pm
by ahsugar
The alphabet keys you are using for your binds are getting triggered every time another bind uses that specific letter. Just continue using the F1-12 keys or alternatively add ctrl or shift alongside the alphabet commands for it to work smoothly.
i.e your p:: bind will be triggered every time 'p' is used in another bind.
Re: AutoHotKey - Help needed ASAP!
Posted: July 16th, 2017, 7:10 pm
by Catalinutzz
Use numpad numbers ( block num it should be on in order to use them) (you will be still able to write with those numbers above qwerty)
Code: Select all
Numpad1::
SendInput t/me grabs the suspect by his neck and forces him into the cruiser.{enter}t/do Get in or /get{enter}
return
Numpad2::
SendInput t/me opens the door for the suspect and lets him out.{enter}t/do Come out.{enter}t/letgo
return
Numpad3::
SendInput t/me wears a pair of gloves, and attempts to pat down the suspect from head to toe.{enter}t/frisk
return
Numpad4::
SendInput t/me presses the elevator button.{enter}t/do 2 guards would come out - take you to your cell.{enter}t/jail
return
Numpad5::
SendInput t/p SAPD - Pull over to the right side of the road and turn your engine off! Remain seated!{enter}
return
Numpad6::
SendInput t/p SAPD - Stop now or we will use force against you!{enter}
return
Numpad7::
SendInput t/bk{enter}t/r Performing a 10-57v, need backup, over.{enter}
return
Numpad8::
SendInput t/em{enter}t/d Need immediate assitance!{enter}
return
Numpad9::
SendInput t/bc{enter}t/d Situation cleared, moving out, over.{enter}t/r 10-99.{enter}
return
Numpad0::
SendInput t/engine{enter}t/car fix{enter}t/engine{enter}
return
NumpadDot::
SendInput t/enter{enter}t/door{enter}
return
Re: AutoHotKey - Help needed ASAP!
Posted: July 16th, 2017, 7:17 pm
by C-Slo
Thanks, looking for more opinions.
Can i use numbers above QWERTY and numpad differently?
Re: AutoHotKey - Help needed ASAP!
Posted: July 16th, 2017, 7:43 pm
by Fuzzy
use this keybinder its really good and it works with out any problems
viewtopic.php?f=175&t=120844&hilit=tattaglia+keybinder
Re: AutoHotKey - Help needed ASAP!
Posted: July 16th, 2017, 11:19 pm
by Catalinutzz
Glow wrote:Thanks, looking for more opinions.
Can i use numbers above QWERTY and numpad differently?
Yep. Above qwerty to type numbers and numpad for binds.
Re: AutoHotKey - Help needed ASAP!
Posted: July 17th, 2017, 1:46 am
by Spec
Use SAMP keybinder. Easier and no coding necessary.
Re: AutoHotKey - Help needed ASAP!
Posted: July 17th, 2017, 11:39 am
by C-Slo
They don't work for some reason.
Re: AutoHotKey - Help needed ASAP!
Posted: July 17th, 2017, 12:03 pm
by -Hopsin-
Glow wrote:They don't work for some reason.
Use all the numpad buttons, and if you want to use any other key add ^ before the key to make it a CTRL+Key combination or ! to make it a ALT+Key
Re: AutoHotKey - Help needed ASAP!
Posted: July 17th, 2017, 7:28 pm
by Catalinutzz
Glow wrote:They don't work for some reason.
Which one its not working..
Re: AutoHotKey - Help needed ASAP!
Posted: July 17th, 2017, 7:42 pm
by C-Slo
All. It gives an error. 0xc00007b
Re: AutoHotKey - Help needed ASAP!
Posted: July 19th, 2017, 7:16 am
by vin
Still having the problem?
Re: AutoHotKey - Help needed ASAP!
Posted: July 19th, 2017, 7:48 am
by C-Slo
With the program, yes.
Will post SSes of it soon
Re: AutoHotKey - Help needed ASAP!
Posted: July 21st, 2017, 12:01 am
by vin
Screenshots, please.
Re: AutoHotKey - Help needed ASAP!
Posted: July 21st, 2017, 2:48 am
by ReaperVC
sounds like you're running multiple scripts at same time hence the spam
Re: AutoHotKey - Help needed ASAP!
Posted: July 21st, 2017, 9:21 am
by C-Slo
Nah... I run only one but I somehow solved it.
It doesn't run when I have more than 7 scripts.
Lock.
Re: AutoHotKey - Help needed ASAP!
Posted: July 21st, 2017, 10:42 am
by AJ STYLES
Use ultimate samp key binder
Re: AutoHotKey - Help needed ASAP!
Posted: July 21st, 2017, 5:21 pm
by vin
Answered.
Re: AutoHotKey - Help needed ASAP!
Posted: July 21st, 2017, 5:21 pm
by Italy Mafia RP
The question has been answered!
If you still want to discuss this matter, please contact a moderator and ask for the thread to be re-opened!