Hallo.
Ich habe mir gerade einen KeyBinder mit "AutoHotkey" gemacht, mein Code lautet:
PHP
Gui, 2:Add, GroupBox, x2 y10 w130 h180 , Admin - Commands
Gui, 2:Add, Text, x622 y40 w0 h0 , Text
Gui, 2:Add, Text, x12 y30 w110 h20 , F1 = /onduty
Gui, 2:Add, Text, x12 y50 w110 h20 , F2 = /offduty
Gui, 2:Add, Text, x12 y70 w110 h20 , F3 = /kick
Gui, 2:Add, Text, x12 y90 w110 h20 , F4 = /ban
Gui, 2:Add, Text, x12 y110 w110 h20 , F5 = /mute
Gui, 2:Add, Text, x12 y140 w110 h20 , F9 = /car
Gui, 2:Add, Text, x12 y160 w110 h20 , F10 = /bike
Gui, 2:Add, Text, x722 y60 w110 h10 , Text
Gui, 2:Add, GroupBox, x142 y10 w130 h90 , Mini - Games
Gui, 2:Add, Text, x152 y30 w110 h20 , F6 = /race
Gui, 2:Add, Text, x152 y50 w110 h20 , F7 = /derby
Gui, 2:Add, Text, x152 y70 w110 h20 , F8 = /battleground
Gui, 2:Add, GroupBox, x142 y100 w130 h90 , Special - Commands
Gui, 2:Add, Text, x152 y120 w110 h20 , c = countdown
Gui, 2:Add, Text, x152 y140 w110 h20 , u = time
Gui, 2:Add, Text, x152 y160 w110 h20 , F12 = Off
; Generated using SmartGUI Creator 4.0
Gui, 2:Show, x323 y416 h199 w280, US Keybinder - [US]James
Return
GUIClose::
ExitApp
#IfWinActive, GTA:SA:MP
#UseHook
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
F1::
SendInput t/onduty{enter}
return
F2::
SendInput t/offduty{enter}
return
F3::
SendInput t/kick
return
F4::
SendInput t/ban
return
F5::
SendInput t/mute
return
F9::
SendInput t/car{enter}
return
F10::
SendInput t/bike{enter}
return
F6::
SendInput t/race{enter}
return
F7::
SendInput t/derby{enter}
return
F8::
SendInput t/battleground{enter}
return
c::
SendInput t 3{enter}
sleep 1000
SendInput t 2{enter}
sleep 1000
SendInput t 1{enter}
sleep 1000
SendInput tGO{!}{enter}
return
u::
FormatTime,Uhrzeit, HH:mm:ss
SendInput t/me look at the clock. (%Uhrzeit%) {Enter}
return
F12::
Suspend
SendInput t/me turn the Keybinder on/off{enter}
return
Alles anzeigen
Wenn ich den Keybinder nun speicher und öffne, erhalte ich folgende Meldung:
Note: The hotkey GuiClose:: will not be active because it does not exit in the current keyboard layout.
Wie bekomme ich die Meldung weg?
Der Code ist doch richtig am Anfang?