Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 23:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Tutorial 2.2] Belegte Tasten

Discussion on [Tutorial 2.2] Belegte Tasten within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 20
Join Date: Nov 2011
Posts: 32
Received Thanks: 2
[Tutorial 2.2] Belegte Tasten

Morgen,
ihr habt sicherlich gemerkt, dass die Tasten 'belegt' sind und ausserhalb GTA:SA:MP nicht verwendbar sind.
Das möchten wir nun ändern.
Code:
HotKeySet("1","_1")
HotKeySet("2","_2")
Löschen wir aus dem Script.
Code:
#include <Misc.au3>
Kommt zu den anderen Includes
Code:
$dll = DllOpen("user32.dll")
Kommt einfach ausserhalb einer Funktion
Wir suchen nun
Code:
	EndSwitch
WEnd
und schreiben unter EndSwitch:
Code:
	If winactive("GTA:SA:MP");kennt ihr schon
    Sleep(300); sagt unserem script das es 300ms warten soll, bis es weitergeht
    If _IsPressed("31", $dll) Then ;Zahl 2 = 32 | Die Übersicht der Zahlen findet ihr in der Hilfe unter _IsPressed
        _1();ruft unsere funktion auf
    EndIf
WEnd
Code:
DllClose($dll)
Ans ende
S|S|L is offline  
Reply


Similar Threads Similar Threads
Tasten bot
06/22/2016 - AutoIt - 21 Replies
Hey Leute, ich hoffe ich bin im richtigen Unterforum geladet. Und zwar suche ich ein Tasten bot, an dem ich einstellen kann welche Tasten er drücken soll, wenns geht mit Zeitabständen. Gibt es sowas? Soll nicht für WoW oder der gleichen sein.
WoW F Tasten
04/03/2011 - World of Warcraft - 2 Replies
Hallo, ich möchte gerne wissen wie ich bei wow statt F1 und F2 noch F3 und F4 hinzufügen kann. mfg Dr.cLx
[TUTORIAL] Starter friendly tutorial to searching for Nuke casting time [TUTORIAL]
02/09/2011 - 9Dragons - 12 Replies
If you already have Cheat Engine and know how to use it, skip to part 4 of the tutorial. 1. Introduction This forum has helped me quite a bit, so I decided to give something back :) Now I've noticed there are quite a few who ask for nuke casting time hacks / address', and I've also noticed, that there are quite a few who are REALLY annoyed with these questions, so I decided to write this so both sides can benefit from it. 2. Getting started First off, you need to have Cheat Engine...
3 Tasten Bot (die 2te)
06/08/2010 - Last Chaos - 9 Replies
Huhu, suche einen Bot der nur Tab, also mob anvisieren und attacken F1(1) + F2(2) macht. Quasi nur die 3 funktionen. Hat einer schon so einen und könnte er diesen bitte posten? MfG Tester
Bot für die F-Tasten
08/06/2009 - General Coding - 3 Replies
Hallo Elitepvpers Suche einen Bot der im Spiel automatisch die f9 Taste drückt. Nett wäre es wenn ich die Zeit selber einstellen könnte (in sec), wenn das nicht geht pls auf 1nen Tastendruck pro Sekunde einstellen. Danke schonmal im Voraus ;)



All times are GMT +1. The time now is 23:56.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.