Register

If you already have an account with us, please use the login panel below to access your account.

Results 1 to 11 of 11
  1. #1
    Snitch _Dave_'s Avatar
    Join Date
    Jan 2014
    Posts
    62
    In-Game Name(s)
    Dave_Scott
    Post Thanks / Like

    Binds. [Once again ;D]

    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. :)

  2. #2
    Retired Head Administrator
    sexy and you know it~
    Watts.'s Avatar
    Join Date
    Sep 2012
    Location
    Canada.
    Posts
    9,007
    In-Game Name(s)
    Jonny_Watts
    Post Thanks / Like
    From next time, post your question in >this< section.
    PS. Moved to that section.



    Spoiler!

  3. #3
    Snitch _Dave_'s Avatar
    Join Date
    Jan 2014
    Posts
    62
    In-Game Name(s)
    Dave_Scott
    Post Thanks / Like
    Quote Originally Posted by Watts. View Post
    From next time, post your question in >this< section.
    PS. Moved to that section.
    Sure, I'll remember next time-,
    Can you help me now please?

  4. #4
    Retired Head Administrator
    Dunce

    ‡‡
    ‡‡‡
    ‡‡‡‡
    ‡‡‡‡‡
    Henderson's Avatar
    Join Date
    Sep 2012
    Location
    England
    Posts
    5,351
    In-Game Name(s)
    James Marshall.
    Post Thanks / Like
    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




    Former Hitman Agency Director.
    Former Los Santos Police Department Commissioner.
    Former Federal Bureau of Investigation Director.

  5. #5
    4 Year Veteran 500 Posts500 Posts500 Posts500 Posts Flux's Avatar
    Join Date
    Aug 2013
    Location
    United Kingdom
    Posts
    2,255
    In-Game Name(s)
    Calvin_Adam
    Post Thanks / Like
    Quote Originally Posted by Henderson View Post
    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
    Although 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.)


  6. #6
    Snitch _Dave_'s Avatar
    Join Date
    Jan 2014
    Posts
    62
    In-Game Name(s)
    Dave_Scott
    Post Thanks / Like
    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?

  7. #7
    Snitch _Dave_'s Avatar
    Join Date
    Jan 2014
    Posts
    62
    In-Game Name(s)
    Dave_Scott
    Post Thanks / Like
    Quote Originally Posted by _Dave_ View Post
    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.
    Last edited by _Dave_; 25th April 2014 at 04:34 PM. Reason: .

  8. #8
    8 Year Veteran 500 Posts Agent Gideon's Avatar
    Join Date
    Jul 2013
    Location
    Georgia
    Posts
    945
    In-Game Name(s)
    Jason Gideon
    Post Thanks / Like
    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.

    Jason Gideon, Level 21

    Programming languages which I know: C# (OOP, ASP.Net, ASP.Net MVC and etc), C++, Java(Swing, JavaFX, Android), HTML & Css (Even though they are not programming language), Javascript (Including its libraries like: jQuery, Ajax, Underscore.js, Angular.js and etc.), Pawn.

    Mapper


    Finding new ways to hurt each other is what we're good at. - Jason Gideon

    The only ones who should kill are those who are prepared to be killed. - Lelouch vi Britannia

    Senior Helper [Former]

    Member of the GFX Team, Requests Moderator [Former]

    Sergeant in Los Santos Police Department, TnR Division, Recruitment Sub-Division ((R3)) - R6 System - [Former]

    Secretary of Defense and Management of Public Services in Goverment ((R3)) - R6 System - [Former]

    Senior Officer in Los Santos Police Department, TnR Division, Training Sub-Division ((R2)) - R6 System - [Former]

    Senior Officer in Los Santos Police Department, Special Weapons and Tactics division ((R2)) - R6 System - [Former]

    Reporter in San Andreas News Agency ((R2)) - R6 System - [Former]

  9. #9
    3 Year Veteran
    ♛Drift King♛
    ☣Steel Owner☣
    ☢Not a Jew
    500 Posts500 Posts DeLiveR's Avatar
    Join Date
    Aug 2013
    Location
    Universe
    Age
    31
    Posts
    1,204
    In-Game Name(s)
    Jim_Steel
    Post Thanks / Like
    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


  10. #10
    Snitch _Dave_'s Avatar
    Join Date
    Jan 2014
    Posts
    62
    In-Game Name(s)
    Dave_Scott
    Post Thanks / Like
    Quote Originally Posted by Jim_Steel View Post
    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.

  11. #11
    Retired Head Administrator
    sexy and you know it~
    Watts.'s Avatar
    Join Date
    Sep 2012
    Location
    Canada.
    Posts
    9,007
    In-Game Name(s)
    Jonny_Watts
    Post Thanks / Like
    Archived as requested.



    Spoiler!

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Click to connect to Discord (San Andreas Roleplay)Click to go to the official San Andreas Multiplayer websiteDownload Teamspeak