PDA

View Full Version : Binds. [Once again ;D]



_Dave_
25th April 2014, 01:35 PM
Hey, I've one more idea for a bind and I wrote one already, I just need you to help me fix it up please.
The bind should change my uniform when I stand next to the LSPD's lockers.
Here's my script;

Numpad3::
SetKeyDelay, 100
SendInput t/lspd{Enter}
Sleep, 150
Send {Down}{Enter}{Down}{Down}{Enter}
Sleep, 150
SendInput tnext{enter} Sleep, 20
SendInput tnext{enter} Sleep, 20
SendInput tnext{enter} Sleep, 20
SendInput tnext{enter} Sleep, 20
SendInput tnext{enter} Sleep, 20
SendInput tnext{enter} Sleep, 20
SendInput tnext{enter} Sleep, 20
SendInput tnext{enter} Sleep, 20
SendInput tnext{enter} Sleep, 20
SendInput tdone{enter} Sleep, 100

I hope you can help me, Thanks alot.
Dave Scott. :)

Watts.
25th April 2014, 01:59 PM
From next time, post your question in >this< (www.gta-sarp.com/forums/forumdisplay.php?384-Community-Assistance) section.
PS. Moved to that section.

_Dave_
25th April 2014, 02:04 PM
From next time, post your question in >this< (www.gta-sarp.com/forums/forumdisplay.php?384-Community-Assistance) section.
PS. Moved to that section.

Sure, I'll remember next time-,
Can you help me now please?

Henderson
25th April 2014, 02:28 PM
This works for me.

Numpad3::
SendInput t/lspd{Enter}
Sleep 150
Send {Down}{Enter}{Down}{Down}{Enter}
Sleep 150
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tdone {enter}
Sleep 100
return

Flux
25th April 2014, 02:40 PM
This works for me.

Numpad3::
SendInput t/lspd{Enter}
Sleep 150
Send {Down}{Enter}{Down}{Down}{Enter}
Sleep 150
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tdone {enter}
Sleep 100
returnAlthough it doesn't really matter, you can use the Loop command in AutoHotKey rather than repeating that same "SendInput tnext {enter}" 9 times.

Use something like this instead of your current code:

Numpad3::
SendInput t/lspd{Enter}
Sleep 150
Send {Down}{Enter}{Down}{Down}{Enter}
Sleep 150
Loop, 9
{
SendInput tnext {enter}
Sleep 20
}
SendInput tdone {enter}
Sleep 100
return

(I'm not LSPD so I've only had the chance to test this in a Notepad document. Should work in-game though.)

_Dave_
25th April 2014, 04:27 PM
Well, I don't know how that even may happen but;
Most of the times its just taking me off/on duty [/lspd -> Enter] and types all the rest spam of 'next' 'next 'next' 'done' as an IC chat.
And some few times it works, whats going on here?

_Dave_
25th April 2014, 04:32 PM
Well, I don't know how that even may happen but;
Most of the times its just taking me off/on duty [/lspd -> Enter] and types all the rest spam of 'next' 'next 'next' 'done' as an IC chat.
And some few times it works, whats going on here?

Like that;

[23:24:35] * Officer Dave Scott takes a Badge and Gun from their locker.
[23:24:35] Dave Scott says: [Deep Afro-American Accent] next
[23:24:35] Dave Scott says: [Deep Afro-American Accent] next
[23:24:35] Dave Scott says: [Deep Afro-American Accent] next
[23:24:35] Dave Scott says: [Deep Afro-American Accent] next
[23:24:35] Dave Scott says: [Deep Afro-American Accent] next
[23:24:35] Dave Scott says: [Deep Afro-American Accent] next
[23:24:35] Dave Scott says: [Deep Afro-American Accent] next
[23:24:35] Dave Scott says: [Deep Afro-American Accent] next
[23:24:35] Dave Scott says: [Deep Afro-American Accent] next
[23:24:35] Dave Scott says: [Deep Afro-American Accent] done

Please check whats wrong.

Agent Gideon
25th April 2014, 11:32 PM
Dude, I've already told you that your PC has some problems. My bind didn't work for you, while it was working for everyone, including myself. I'm not in game right now, and I'm not going to test this bind. Just tell me what do you need and I will write new one. By the way, next time you can just VM me regarding to the binds.

DeLiveR
26th April 2014, 08:21 AM
Numpad3::
SendInput t/lspd{Enter}
Sleep 150
Send {Down}{Down}{Enter}
Sleep 150
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tdone {enter}
Sleep 100
return

Try this one

_Dave_
26th April 2014, 08:40 AM
Numpad3::
SendInput t/lspd{Enter}
Sleep 150
Send {Down}{Down}{Enter}
Sleep 150
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tnext {enter}
Sleep 20
SendInput tdone {enter}
Sleep 100
return

Try this one

Still the same situation,
Never mind- close that thread.

Watts.
26th April 2014, 08:47 AM
Archived as requested.