Register

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

Page 8 of 8 FirstFirst ... 678
Results 141 to 147 of 147
  1. #141
    Deactivated
    Join Date
    Jun 2015
    Location
    United Kingdom
    Posts
    2,647
    In-Game Name(s)
    Avery_Booker Joe_Cook
    Post Thanks / Like
    I'd like to add something to this tutorial: Here's a basic script which allows you to only type in the ID and it does the rest.

    Code:
    ^m::
    SendInput t/sellgun  m4{left 3}
    sleep, 3000
    SendInput t/l Enjoy your weapon. Don't tell the cops or you're a dead man.{enter}
    return
    The script above is one I just created. It could be used by gun dealers to sell M4's. You don't need to type the whole command, all you do is type the ID. More explained below.

    Code:
    ^m::
    The code above states the key(s) that need to be pressed to activate that block. In this instance its CTRL + M
    ^ = CTRL
    # = Windows Key
    ! = ALT

    Code:
    SendInput t/sellgun  M4{left 3}
    The reason we don't use enter in the above code is because we want to time type the ID. Once you've typed the ID you press enter. the "{left 3}" makes the left arrow key move three places left putting you where you'd normally type the players name or ID.

    Code:
    sleep, 3000
    Stannis has explained this.

    Code:
    return
    You NEED return if the code you're creating is longer than one command. If you don't have it it will play the rest of the commands in the file.

    Here's my AHK File feel free to keep and edit it to your needs.

    Code:
    ;Lock / Unlock - CTRL + 1
    ^1::
    	soundplay, C:\Users\George\Documents\Resources\uiclick.wav
    	SendInput t/lock{enter}
    return
    
    
    ;Enter CTRL + 2
    ^2:: 
    	soundplay, C:\Users\George\Documents\Resources\uiclick.wav
    	SendInput t/me extends her right arm, pulls the door towards her and enters.{enter}
    	sleep, 50
    	SendInput t/enter{enter} 
    return
    
    
    ;Exit - CTRL + 3
    ^3::
    	soundplay, C:\Users\George\Documents\Resources\uiclick.wav
    	SendInput t/me extends her right arm pushing the door forwards and walking out.{enter}
    	sleep, 50
    	SendInput t/exit{enter}
    return
    
    
    ; Tazer - CTRL + 4
    ^4::
    	soundplay, C:\Users\George\Documents\Resources\uiclick.wav
    	SendInput t/sdtazer{enter}
    return
    
    
    ;Hands up - CTRL + 5
    ^5::
    	soundplay, C:\Users\George\Documents\Resources\uiclick.wav
    	SendInput t/s This is the San Andreas National Guard. Please place your hands up failure to do so...{enter}
    	SendInput t/s -... Can result in you being arrested or shot at{enter}
    	sleep, 1000
    	SendInput t/b /handsup{enter}
    return
    
    
    ;Megaphone - CTRL + 6
    ^6::
    	soundplay, C:\Users\George\Documents\Resources\uiclick.wav
    	SendInput t/m This is the San Andreas National Guard.{enter} 
    	sleep, 1500
    	SendInput t/m Please pull over to the side of the road with your hands up...{enter}
    	SendInput t/m -... and switch your engine off immedietly and no sudden movements.{enter}
    	sleep, 1000
    	SendInput t/b /engine, step out then /handsup{enter}
    return
    
    
    ;Frisk - CTRL + 7
    ^7::
    	soundplay, C:\Users\George\Documents\Resources\uiclick.wav
    	SendInput t/me takes a pair of white latex gloves from her right pocket and slips them tightly on her hands.{enter}
    	sleep, 1500
    	SendInput t/me attempts to pat the suspect down from head to toe, not missing anywhere.{enter}
    	sleep, 1500
    	SendInput t/do Would I be able to frisk you{?}{enter}
    return
    
    
    ;Miranda Rights - CTRL + 8
    ^8::
    	soundplay, C:\Users\George\Documents\Resources\uiclick.wav
    	SendInput tYou have the right to remain silent.{enter}
    	sleep, 2000
    	SendInput tAnything you say can and will be used against you in the court of law.{enter}
    	sleep, 2000
    	SendInput tYou have the right to an attorney.{enter}
    	sleep, 2000
    	SendInput tIf you cannot afford one, one will be appointed to you.{enter}
    	sleep, 2000
    	SendInput tDo you understand those rights as they have been read to you?{enter}
    return

  2. #142
    Governor
    Retired Administrator
    SARP's Billionaire
    500 Posts500 Posts500 Posts500 Posts500 Posts Stannis's Avatar
    Join Date
    Sep 2011
    Age
    30
    Posts
    4,894
    In-Game Name(s)
    Stannis_Baratheon
    Post Thanks / Like
    I'm going to update this thread. Autohotkey version 1.1 is a pain in the ass.

    SARP Advertisement - https://www.youtube.com/watch?v=GojRuzNjiu8
    San Andreas Sports - http://gta-sarp.com/forums/showthrea...Andreas-Sports

    Former SARP Governor 2017
    (January - March 2017)
    House Baratheon
    R6 Founder (2014)

    The Cummings Syndicate

    R6 Founder (2012)
    John Limlao
    2008 - 2009
    Walter Cummings
    2011 - 2013



  3. #143
    8 Year Veteran
    Join Date
    Jan 2012
    Posts
    4,966
    Post Thanks / Like
    Or you can use chaos A.D SAMP keybinder.

  4. #144
    Governor
    Retired Administrator
    SARP's Billionaire
    500 Posts500 Posts500 Posts500 Posts500 Posts Stannis's Avatar
    Join Date
    Sep 2011
    Age
    30
    Posts
    4,894
    In-Game Name(s)
    Stannis_Baratheon
    Post Thanks / Like
    Quote Originally Posted by Lord Zion View Post
    Or you can use chaos A.D SAMP keybinder.
    That one is limited that's why i don't use that.

    SARP Advertisement - https://www.youtube.com/watch?v=GojRuzNjiu8
    San Andreas Sports - http://gta-sarp.com/forums/showthrea...Andreas-Sports

    Former SARP Governor 2017
    (January - March 2017)
    House Baratheon
    R6 Founder (2014)

    The Cummings Syndicate

    R6 Founder (2012)
    John Limlao
    2008 - 2009
    Walter Cummings
    2011 - 2013



  5. #145
    Boss Hawg J's Avatar
    Join Date
    Sep 2015
    Posts
    12,966
    In-Game Name(s)
    J
    Post Thanks / Like


    This guide has been checked for accuracy, unfortunately some of the content is outdated, it'll be moved to the outdated section and the Author can then contact moderation once it has been updated to get it verified once again. For any players/guests viewing this guide/tutorial, please be aware that the information may now be inaccurate/outdated as well as the images.
    an everyone wanna try eat with the team but you weren't there doing up missions

  6. #146
    Governor
    Retired Administrator
    SARP's Billionaire
    500 Posts500 Posts500 Posts500 Posts500 Posts Stannis's Avatar
    Join Date
    Sep 2011
    Age
    30
    Posts
    4,894
    In-Game Name(s)
    Stannis_Baratheon
    Post Thanks / Like
    I will update this as soon as i can.

    SARP Advertisement - https://www.youtube.com/watch?v=GojRuzNjiu8
    San Andreas Sports - http://gta-sarp.com/forums/showthrea...Andreas-Sports

    Former SARP Governor 2017
    (January - March 2017)
    House Baratheon
    R6 Founder (2014)

    The Cummings Syndicate

    R6 Founder (2012)
    John Limlao
    2008 - 2009
    Walter Cummings
    2011 - 2013



 

 

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