Code
Gui, Add, Text, x10 y10 w80 h20 , Passwort
Gui, Add, Edit, x+5 y10 w130 h20 password vPasswort,
Gui, Add, Button, x11 y+10 w210 h30 gLogin, Login
Gui, Show, x161 w237, Login
Return
Login:
GuiControlGet, Passwort,, Passwort
Passwort = %passwort%
If(Passwort == "Test") ; Das Passwort wird in den "" definiert, aktuell: Test
{
msgbox, 0,Info, Passwort akzeptiert! Du kannst nun den Keybinder benutzen! ; Was soll gemacht werden, wenn Passwort erfolgreich
return
}
else
{
msgbox, 0,Fehler, Passwort nicht akzeptiert! Versuche es erneut! ; Was soll gemacht werden, wenn nicht
return
}
IfNotExist, %A_MyDocuments%\CripzBinder\
{
FileCreateDir, %A_MyDocuments%\Cripzbinder\
}
Gui,Show,x586 y164 w532 h528 ,Cripzbinder %version%
MsgBox, 64, Cripzbinder %version%, Wilkommen beim Cripzbinder!
Gui,Add,Picture,x-4 y1,Leader / Ausbilder Befehle| |Carrespawn === ALT + R|Schneller Carrespawn === ALT + Z|_______ |
Gui,Add,Listbox,x17 y137 w220 h350,Leader / Ausbilder Befehle| |Carrespawn === ALT + R|Schneller Carrespawn === ALT + Z|___________________________| |Normale Befehle| |Zoll öffnen === 3|Tor öffnen === 5|Members anzeigen === 7|/enter /exit /ram === ALT + 3|Deagle,Rifle,Shotgun kaufen === ALT + E| |
Gui,Add,Text,x102 y504 w350 h13,///// Für Keybind Wünsche einfach an [LoS]LUCKY. wenden \\\\\
Gui,Add,Picture,x-2 y10 w530 h100,C:\Desktop\Cripzbinder\cripzbinder.png
Gui,Add,Listbox,x309 y283 w210 h200,+++++++NEUIGKEITEN++++++++| |Verison 0.1|---------------------------||Befehle hinzugefügt|Gui hinzugefügt| |Checkbox für Waffenauswahl hinzugefügt|(Erst beim nächsten Update aktiv)
Gui,Add,ComboBox,x309 y137 w130,%deagle%,%rifle%,%shotgun%|%deagle%,%mp5%,%rifle%|%deagle%,%mp5%,%shotgun%
return
GuiClose:
ExitApp
;__________________________________________________________________________________________________________________________________________________________________________________________________________
SendMode Input
SetWorkingDir %A_ScriptDir%
#IfWinActive, GTA:SA:MP
#Warn
#UseHook
#NoEnv
#SingleInstance force
#Include SAMP_API.ahk
#HotString EndChars `n
If Not A_isAdmin
{
Run *RunAs "%A_ScriptFullPath%"
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 {Escape}
Hotkey, t, On
Hotkey, Enter, Off
Hotkey, Escape, Off
return
;--- ! = ALT
;--- # = Win
;--- + = Shift
;--- ^ = Strg
;__________________________________________________________________________________________________________________________________________________________________________________________________________
;KEYBINDS
;__________________________________________________________________________________________________________________________________________________________________________________________________________
~F3::
Suspend Toggle
AddChatMessage("{797979} Keybinder {2d9a39}an{797979}/{b41e1e}aus")
return
~!R::
SendChat("/f ++Achtung Carrespawn++")
sleep 50
SendChat("/f ++Carrespawn in 5 Sekunden++")
sleep 1000
SendChat("/f ++Carrespawn in 4 Sekunden++")
sleep 1000
SendChat("/f ++Carrespawn in 3 Sekunden++")
sleep 1000
SendChat("/f ++Carrespawn in 2 Sekunden++")
sleep 1000
SendChat("/f ++Carrespawn in 1 Sekunden++")
sleep 250
SendChat("/respawncars")
return
~!Z::
SendChat("/f ++ ACHTUNG SCHNELLER Carrespawn ++")
sleep 10
SendChat("/f ++ ACHTUNG SCHNELLER Carrespawn ++")
sleep 100
SendChat("/respawncars")
return
~!E::
SendChat("/buygun deagle 75")
sleep 30
SendChat("/buygun sniper 50")
sleep 30
SendChat("/buygun shotgun 50")
return
~3::
SendChat("/enter")
sleep 3
SendChat("/exit")
sleep 3
SendChat("/ram")
return
~z::
SendChat("/zoll")
return
~7::
SendChat("/members")
return
~5::
SendChat("/tor")
return
~!P::
SendChat("/heal")
sleep 50
SendChat("/armor")
return
~!C::
SendChat("/s Countdown startet!(5 Sekunden)")
sleep 10
SendChat("/s ++ 5 Sekunden ++")
sleep 1000
SendChat("/s ++ 4 Sekunden ++")
sleep 1000
SendChat("/s ++ 3 Sekunden ++")
sleep 1000
SendChat("/s ++ 2 Sekunden ++")
sleep 1000
SendChat("/s ++ 1 Sekunden ++")
sleep 250
SendChat("/s GO GO GO !!")
return
~!G::
SendChat("/drivein")
return
;__________________________________________________________________________________________________________________________________________________________________________________________________________
;Overlay
;__________________________________________________
~F11::
Suspend Permit
AddChatMessage("{797979}Overlay {b41e1e}deaktiviert")
DestroyAllVisual() ;Schalltet alle Overlays ab
SetTimer, armoroverlay, off
SetTimer, hpoverlay, off
return
~F12::
Suspend Permit
AddChatMessage("{797979}Overlay {2d9a39}aktiviert")
hp := Textcreate("Arial", 9, false, false, 763, 90, 0xFFFFFFFF, "", true, true)
armor := Textcreate("Arial", 9, false, false, 763, 60, 0xFFFFFFFF, "", true, true)
SetTimer, hpoverlay, 20
SetTimer, armoroverlay, 20
return
hpoverlay:
#IfWinActive, GTA:SA:MP
{
TextSetString(hp, GetPlayerHealth())
}
return
armoroverlay:
#IfWinActive, GTA:SA:MP
{
TextSetString(armor, GetPlayerArmor())
}
return
Alles anzeigen