Hey, ich habe folgendes Problem:
Sobald ich mit meinem Keybinder einen Befehl wie /stats mache wird sofort das /stats Fenster geschlossen.
Brainfuck
/*-------------------------------------------------------------------------------------
© 2018 Capital - Another-Life, Inc.
/*-------------------------------------------------------------------------------------
Include & Timer
*/-------------------------------------------------------------------------------------
#Include SAMP.ahk
password = capitalistcool
/*-------------------------------------------------------------------------------------
Is Administrator & Password
*/-------------------------------------------------------------------------------------
if(!A_IsAdmin)
{
MsgBox, 0, Info, Du musst den Keybinder als Administrator ausführen!`nDas Programm wird sich jetzt schließen.
ExitApp
}
InputBox,pass,Login, Bitte gebe den Passwort ein
If( pass <> password ) {
MsgBox Passwort falsch - Zugriff verweigert!
ExitApp
}
MsgBox Passwort korrekt - Zugriff erfolgreich!
;-------------------------------------------------------------------------------------
#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
;-------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------
;Laufscript
;-------------------------------------------------------------------------------------
~Space::
if(IsInChat() == 1 || IsDialogOpen() == 1 || IsPlayerInAnyVehicle() == 1 || IsPlayerFreezed() == 1) {
return
}
Sleep 1
while GetKeyState("Space", "P")
{
Send {space down}
Sleep 1
Send {space up}
Sleep 1
}
return
/*-------------------------------------------------------------------------------------
Commands & More
*/-------------------------------------------------------------------------------------
:?:/hp::
Suspend permit
AddChatMessage("{EE4073}[Capital]: {192A3D}Du hast noch " GetPlayerHealth() " Leben und " GetPlayerArmor() " Rüstung")
return
:?:/skin::
Suspend permit
AddChatMessage("{EE4073}[Capital]: {192A3D}Du hast die Skin-ID " GetPlayerSkinId() ".")
return
;-------------------------------------------------------------------------------------
/*
HostName: Another Life - Enjoy It!
Address: samp.gta-life.de:7777
Players: 7 / 200
Ping: 22
Mode: German Reallife Roleplay
Language: Deutsch / German
/*
Alles anzeigen