Hallo Breadfish-Community,
ich versuche gerade einen Keybinder mit der SA:MP UDF zu machen,
aber alle Funktionen funktionieren nicht :/...
Code
#Include SAMP.ahk
#Include SAMPTEST.ahk
#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::
SendChat("Hallo")
return
Alles anzeigen