#IfWinActive, GTA:SA:MP
#UseHook
#Include API.ahk
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: A.N.Other <myemail@nowhere.com>
;
; Script Function:
; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive, GTA:SA:MP ; Folgende Hotkeys Funktionieren nur wenn GTA SA:MP geöffnet ist
#UseHook
#SingleInstance, Force
t::
Suspend On
SendInput t
Hotkey, Enter, On
Hotkey, Escape, On
Hotkey, t, Off
return
NumpadEnter::
Enter::
Suspend Permit
Suspend Off
SendInput {Enter}
Hotkey, t, On
Hotkey, Enter, Off
Hotkey, Escape, Off
return
Escape::
Suspend Permit
Suspend Off
SendInput {Escape}
Hotkey, t, On
Hotkey, Enter, Off
Hotkey, Escape, Off
return
Numpad1::
GetZoneName(MyZone)
GetCityName(MyCity)
SendInput t/g Unterstützung benötigt{!} | Standort: %MyZone% in %MyCity%{enter}
return
Numpad0::
AddChatMessage(0xFFFFFF,"{CD0000}[Keybinder]{FF8C00}: Alle Binds: " kills)
AddChatMessage(0xFFFFFF,"{CD0000}[Keybinder]{FF8C00}: Numpad 1:Benötige Unterstützung " kills)
AddChatMessage(0xFFFFFF,"{CD0000}[Keybinder]{FF8C00}: Numpad 2:Verstärkung Unterwegs " kills)
AddChatMessage(0xFFFFFF,"{CD0000}[Keybinder]{FF8C00}: Numpad 3:Aktueller Standort: " kills)
AddChatMessage(0xFFFFFF,"{CD0000}[Keybinder]{FF8C00}: Numpad +:Paar Stats (Health, Armor, Geld & Wanteds) " kills)
AddChatMessage(0xFFFFFF,"{CD0000}[Keybinder]{FF8C00}: F12: Keybinder An- & Ausschalten " kills)
return
SendInput t/g Unterstützung benötigt{!} | Standort: %MyZone% in %MyCity%{enter}
return
Numpad2::
GetZoneName(MyZone)
GetCityName(MyCity)
SendInput t/g Unterstützung unterwegs{!} | Standort: %MyZone% in %MyCity%{enter}
return
NumpadAdd::
GetZoneName(MyZone)
GetCityName(MyCity)
health := GetPlayerHealth()
armor := GetPlayerArmor()
wanteds := GetPlayerWanteds()
money := GetPlayerMoney()
SendInput t/f Health:{space}%health% HP|Armor:{space}%armor%|Wanteds:{space}%wanteds%|Bargeld:%money%${enter}
return
Numpad3::
GetZoneName(MyZone)
GetCityName(MyCity)
SendInput t/g Aktueller Standort:{space}%MyZone% in %MyCity%{enter}
return
F12::
suspend
if ( A_IsSuspended )
{
SendChat("Keybinder Deaktiviert")
}
if ( !A_IsSuspended )
{
SendChat("Keybinder Aktiviert")
}
return
b::
SendInput t/buygun{enter}
return
Settimer, Killzähler, on
KillZähler:
ifwinnotactive, GTA:SA:MP
return
GetChatLine(1, Chatline1)
GetChatLine(0, Chatline2)
if(InStr(Chatline1, "Du hast") OR InStr(Chatline2, "Du hast %name% getötet")){
IniRead, kills, settings.ini, Kills, kills, 0
kills ++
IniWrite, %kills%, settings.ini, Kills, kills
AddChatMessage(0xFFFFFF,"{CD0000}[Keybinder]{FF8C00}: Dies war dein Kill Nummer %kills%")
}
return
Numpad4::
SendInput t/lock{enter}
AddChatMessage(0xFFFFFF,"{CD0000}Fahrzeug{FF8C40} auf-/zugeschlossen " kills)
return
Versuch den code