#IfWinActive, GTA:SA:MP
#UseHook
#SingleInstance, force
#NoEnv
#Include API.ahk
;GUI----------------------------------------------------------------
if(FileExist("Hotkey.ini"))
{
IniRead, hotkey9, daten.ini, hotkey, hotkey9
Hotkey, %hotkey9%, hotkey9
IniRead, hotkey5, daten.ini, hotkey, hotkey5
Hotkey, %hotkey5%, hotkey5
}
Gui, Add, GroupBox, x12 y9 w730 h220 , Binds
Gui, Add, Text, x122 y29 w170 h20 , Pistole ziehen/holstern
Gui, Add, Hotkey, x22 y29 w90 h20 ,
IniRead, hotkey1, daten.ini, hotkey, hotkey1
Gui, Add, Hotkey, x22 y59 w90 h20 vhotkey1 , %hotkey1%
Gui, Add, Text, x122 y59 w170 h20 , MP ziehen/holstern
Gui, Add, Hotkey, x22 y89 w90 h20 , %hotkey2%
Gui, Add, Text, x122 y89 w170 h20 , Karabiner ziehen/holstern
Gui, Add, Hotkey, x22 y119 w90 h20 , %hotkey3%
Gui, Add, Text, x122 y119 w170 h20 , Taser ziehen/holstern
Gui, Add, Hotkey, x22 y149 w90 h20 , %hotkey4%
Gui, Add, Text, x122 y149 w170 h20 , Funken
Gui, Add, Hotkey, x22 y179 w90 h20 vGui_Hotkey5, %hotkey5%
Gui, Add, Text, x122 y179 w170 h20 , Car Lock
Gui, Add, Hotkey, x412 y29 w90 h20 , %hotkey6%
Gui, Add, Text, x512 y29 w150 h20 , Räumen Sie die Straße!
Gui, Add, Hotkey, x412 y59 w90 h20 , %hotkey7%
Gui, Add, Text, x512 y59 w150 h20 , DOC-J`, rechts ran!
Gui, Add, Hotkey, x412 y89 w90 h20 , %hotkey8%
Gui, Add, Text, x512 y89 w150 h20 , Sirene
Gui, Add, Hotkey, x412 y119 w90 h20 vGui_Hotkey9, %hotkey9%
Gui, Add, Text, x512 y119 w150 h20 , Keybinder ein-/ausschalten
Gui, Add, GroupBox, x12 y239 w730 h230 , Einstellungen
Gui, Add, Edit, x22 y259 w160 h30 , Edit
Gui, Add, Text, x192 y259 w120 h30 , Name
Gui, Add, Edit, x22 y299 w160 h30 ,name
Gui, Add, Text, x192 y299 w120 h30 , Handfeuerwaffe
Gui, Add, Edit, x22 y339 w160 h30 , Edit
Gui, Add, Text, x192 y339 w120 h30 , Maschinenpistole
Gui, Add, Edit, x22 y379 w160 h30 , Edit
Gui, Add, Text, x192 y379 w120 h30 , Karabiner
Gui, Add, Edit, x22 y419 w160 h30 , Edit
Gui, Add, Text, x192 y419 w120 h30 , Shotgun
Gui, Add, Edit, x412 y259 w140 h30 , Edit
Gui, Add, Text, x562 y259 w120 h30 , Geschlecht (seine/ihre)
Gui, Add, Button, x412 y299 w310 h40 , Normaler Look
Gui, Add, Button, x412 y349 w310 h40 , UCN Look
Gui, Add, Button, x412 y399 gspeichern w310 h60 , SPEICHERN
Gui, Show, x461 y234 h485 w760, DOC-J Keybinder
Speichern:
Gui, Submit, Nohide
IniWrite, %Gui_Hotkey9%, daten.ini, Hotkeys, key9
IniWrite, %Gui_Hotkey5%, daten.ini, Hotkeys, key5
return
GuiClose:
ExitApp
;--------------------------------------------------------------------
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 {Enter}
Hotkey, t, On
Hotkey, Enter, Off
Hotkey, Escape, Off
return
;--------------------------------------------------------------------
key9:
Suspend
SendInput t/b Keybinder ein/aus {enter}
return
key5:
SendInput t/lock {enter}
return
Alles anzeigen