ÍndiceÍndice  CalendarioCalendario  FAQFAQ  BuscarBuscar  MiembrosMiembros  Grupos de UsuariosGrupos de Usuarios  RegistrarseRegistrarse  ConectarseConectarse  

Comparte | 


Ir abajo 
Ex-Admin Leo
• Lider Manager (NvL5)
• Lider Manager (NvL5)

Mensajes : 254
Edad : 17
Localización : Chile

MensajeTema: [WIP] TECLAS DE ACCESO RÁPIDO (BETA EN INGLES)   Lun 29 Feb - 22:11


As the title suggests, this is a hotkey/macro program that I've created. But unlike most macro programs, this one is ultra dank.
Exactly how dank? Read on to find out.

• Context sensitive
- Such as pressing 2 will show the weapons menu, but when in a vehicle, it will boost.
• Using the latest SAMP UDF by paul-phoenix.
• Easy to use hotkeys. Why press CTRL + SHIFT + M when you can just press M?
• Open source. You can edit it, add new things, change it to suit your needs.
• Adds a whole new level of customization to SA-MP, pushing it that much closer to MTA.
• Using SendInput as send method to ensure maximum reliability. • Ability to send commands on the fly without disrupting gameplay. You can still drive while toggling your GOs.
And much more to come...

These are the current options that I have added just for showcasing. I will make a tutorial later on to show you how to edit current hotkeys or how to make new ones.

Program: ?4ao5rmmb4rh1z42
VirusTotal scan:
Source Code: ?873o87xv19aoipp

Put both the DankHotkeys.exe and SAMP.ahk files in any folder. Run DankHotkeys.exe.

- Autohotkey:
- Notepad++ (optional but recommended):
- Source (linked above)
Put the source file where your SAMP.ahk file is and open it in Notepad or Notepad++

You'll see a lot of segments, each related to their keys and commands. First we'll walk you through with editing one of the pre-set hotkeys and then we'll talk about adding new ones.
Find which key you want to edit just by looking at the code. For this example, we're gonna be editing the key 4 which toggles GOs. We're gonna change the key to P and the command to /htele.

Just change the activation key (first one), then what to send when in chat (second one) and what to send when you're not in chat (third one) like so

Save it for now. We'll get to compiling later.

Now let's talk about adding new commands. It's the same procedure. Just copy an old segment, paste it, and change the keys/commands.

After you've saved the script, you'll need to compile it. Navigate to the Autohotkey installation folder and then to the Compiler folder and open the file called "Ahk2Exe". Then, open the source, set a destination and make sure you're using a 32 bit base file as shown in the image below.

Then hit compile. You're done! You can now use the exe from the destination folder.

You can request me to change certain keys or to add new hotkeys. Please follow the format down below if you want to make a request:


[↓]If you want to request for more than one key make multiple of these[↓]
 - Key type: [Pick from either options A.) Not mapped to anything in-game (such as K) or B.) Mapped in-game (such as H)]
 - Which key to send:
 - What command(s) to send:
[↑]If you want to request for more than one key make multiple of these[↑]
 - Your average ping in-game:

Post your request here in the topic. PMs may get ignored. Razz
I will PM the compiled script and source code to you in an archive.

It took me countless hours of testing to get the script to work as it is right now but there are still some problems that I have to fix. I'd be glad if anyone helps me with squishing these bugs:

- Not a bug per se but when a key in use for something else (e.g. 2/boost) the rate at which you can mass send it is lower than that of normal keys.
- There is a slight chance of boost not working, especially when driving sideways.
- Ping plays a huge role in the weapon set selection hotkeys and they have 500ms wait times which may be a bit too much for people with low pings, but you can edit it to your liking if you wish.

- Developers of Autohotkey
- paul-phoenix for SAMP UDF
- Nextron on Autohotkey Forum
- Nasif Topic Owner: G EXL
Thanks for viewing. Hope you enjoy it!
• Coming soon » SPANISH TOPIC VERSION 1.0

RAZON DE INGLES: Lo iré actualizando , muy pronto lo traduciré y lo modificare a la versión 1: EN INGLES ES ''BETA''
Volver arriba Ir abajo
Ver perfil de usuario
Ex-Admin Leo
• Lider Manager (NvL5)
• Lider Manager (NvL5)

Mensajes : 254
Edad : 17
Localización : Chile

MensajeTema: Re: [WIP] TECLAS DE ACCESO RÁPIDO (BETA EN INGLES)   Mar 19 Abr - 22:21

Cierro Tema , V2 Proximamente
Volver arriba Ir abajo
Ver perfil de usuario
Volver arriba 
Página 1 de 1.

Permisos de este foro:No puedes responder a temas en este foro.
NUEVO FORO :: Guias Cerradas-
Cambiar a: