There is currently a faction war going on! View Stats
tisler
Consigliere
User avatar
Posts: 7868
Game name: Tommy_Caesar

Re: [Guide] Key Binder - How to

May 17th, 2015, 7:41 pm

What's wrong with using a keybinder meant specifically for samp?
20:50 - tisler: come ig lets farm heroin
20:51 - Andyy: no i got beated
20:51 - Andyy: irl

the 2 guys i like, donald and tisler, since they;re are worst enemies (ic) t0 in factions, yet they still friends and joking with eachother, peace

Suggestion: Driveable Skull

It's same as chocolate, there's a chocolate that you really like but if they change the taste of it will you buy it? I guess not. There are so many chocolate (servers) out ther

Bee
Soldier
Posts: 3513
Game name: John_Reacher

Re: [Guide] Key Binder - How to

June 1st, 2015, 2:29 am

Vic wrote:If you've got the latest AutoHotKey 1.1 installed the "SendInput" has been replaced by "Send, ..."

For example:
Numpad0::
Send, t/engine
Return
Actually, no.
There's a difference between SendInput and Send, check below :)
Suppose if you have multiple commands under one key and you need some time for each command to be typed, you can use Sleep command.

Syntax:
Sleep, (Milliseconds)
  • Example:
    • If you're going to frisk someone, first you'll type:
      /me attempts to frisk the person
      And after two seconds you want the following to be typed:
      /do would you resist by any chance?
    For that, use the Sleep command in the following manner:
    • Numpad5::
      SendInput t/me Attempts to frisk the person{Enter}
      Sleep, 2000
      SendInput t/do Would you by any chance resist me?
      return,
So, here, first /me Attempts to frisk the person will be typed and two seconds later /do Would you by any chance resist me? will be typed.
In the above example, Sleep 2000 means there will be 2 second delay.
If you want the delay to be 5 seconds, type Sleep 5000

Well, you get the idea now.
You can use Send instead of SendInput in new version 1.1
The difference will be:
If you use Send, the text will be typed manually with some delay.
If you use SendInput, the text will be typed instantly.

Updated OP.
Enjoy.

Donovan
Enforcer
User avatar
Posts: 1030
Game name: Borislav_Milanovic

Re: [Guide] Key Binder - How to

July 14th, 2015, 2:42 pm

This is too complicated for me :shock: i'm a bit lost.
F A B R I Z I O . A B R U Z Z I
ex Paterno Caporegime


C-Slo
Donator
Posts: 5115
Game name: Tom_Licata, Lucious_Craig

Re: [Guide] Key Binder - How to

July 16th, 2017, 2:07 pm

We can use '.' button too?
And can we use the numpad numbers when numlock is on?
"If you cannot accept the true I don't find it as mine problem at all."

Report of the decade.

Return to “Outdated Guides”