Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; <COMPILER: v1.0.48.5>
- #IfWinActive, GTA:SA:MP
- #UseHook
- #Persistent
- #SingleInstance force
- UrlDownloadToVar(URL, UserAgent = "", Proxy = "", ProxyBypass = "") {
- pFix:=a_isunicode ? "W" : "A"
- hModule := DllCall("LoadLibrary", "Str", "wininet.dll")
- AccessType := Proxy != "" ? 3 : 1
- io := DllCall("wininet\InternetOpen" . pFix
- , "Str", UserAgent
- , "UInt", AccessType
- , "Str", Proxy
- , "Str", ProxyBypass
- , "UInt", 0)
- iou := DllCall("wininet\InternetOpenUrl" . pFix
- , "UInt", io
- , "Str", url
- , "Str", ""
- , "UInt", 0
- , "UInt", 0x80000000
- , "UInt", 0)
- If (ErrorLevel != 0 or iou = 0) {
- DllCall("FreeLibrary", "UInt", hModule)
- return 0
- }
- VarSetCapacity(buffer, 10240, 0)
- VarSetCapacity(BytesRead, 4, 0)
- Loop
- {
- irf := DllCall("wininet\InternetReadFile", "UInt", iou, "UInt", &buffer, "UInt", 10240, "UInt", &BytesRead)
- VarSetCapacity(buffer, -1)
- BytesRead_ = 0
- Loop, 4
- BytesRead_ += *(&BytesRead + A_Index-1) << 8*(A_Index-1)
- If (irf = 1 and BytesRead_ = 0)
- break
- Else
- {
- Result .= SubStr(buffer, 1, BytesRead_ * (a_isunicode ? 2 : 1))
- }
- }
- DllCall("wininet\InternetCloseHandle", "UInt", iou)
- DllCall("wininet\InternetCloseHandle", "UInt", io)
- DllCall("FreeLibrary", "UInt", hModule)
- return % result
- }
- Version=1.2
- API=0.8.4
- TicketOverlay = 0
- pOn = 0
- caID = Niemand
- SpeedCheckStatus = 0
- SpeedOnOff = 0
- VehSpeedMax = 0
- LowHPsoundan = 0
- altergk = -1
- fischers = 1
- watermode = 0
- bkon = 0
- hmOn = 0
- Partner1 = -1
- Partner2 = -1
- Fahrer = -1
- arrest1 = -1
- arrest2 = -1
- arrest3 = -1
- arrest4 = -1
- arrest5 = -1
- Sounds = %A_ScriptDir%\Sounds
- IfNotExist, %A_ScriptDir%\Sounds
- {
- FileCreateDir, %A_ScriptDir%\Sounds
- }
- IfNotExist,%A_ScriptDir%\Sounds\Call.mp3
- {
- URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/Call.mp3, Call.mp3
- FileMove, Call.mp3, %Sounds%\Call.mp3
- }
- IfNotExist, %A_ScriptDir%\Sounds\SMS.mp3
- {
- URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/SMS.mp3, SMS.mp3
- FileMove, SMS.mp3, %Sounds%\SMS.mp3
- }
- IfNotExist, %A_ScriptDir%\Sounds\LowHP.mp3
- {
- URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/LowHP.mp3, LowHP.mp3
- FileMove, LowHP.mp3, %Sounds%\LowHP.mp3
- }
- IfNotExist, %A_ScriptDir%\Sounds\BK.mp3
- {
- URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/BK.mp3, BK.mp3
- FileMove, BK.mp3, %Sounds%\BK.mp3
- }
- IfExist, Update.bat
- {
- FileDelete, Update.bat
- }
- CheckURL=http://mrpacific.pf-control.de/StaatsgewaltKeybinder/Version.txt
- CheckURL2=http://mrpacific.pf-control.de/StaatsgewaltKeybinder/API.txt
- NeueVersion:=UrlDownloadToVar(CheckURL)
- NeueAPI:=UrlDownloadToVar(CheckURL2)
- if(Version < NeueVersion)
- {
- MsgBox, 64, Update, Es ist ein Update verfügbar.`nDer Download wird nun gestartet.`nBitte den Updatevorgang nicht abbrechen.
- FileMove, StaatsgewaltKeybinder.exe, old_StaatsgewaltKeybinder.exe, 1
- URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/StaatsgewaltKeybinder.exe, StaatsgewaltKeybinder.exe
- if(API < NeueAPI)
- {
- FileMove, API.dll, old_API.dll, 1
- UrlDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/API.dll, API.dll
- }
- BatchFile=
- (
- start StaatsgewaltKeybinder.exe
- )
- FileDelete, Update.bat
- FileAppend, %Batchfile%, Update.bat
- Run, Update.bat, hide
- ExitApp
- }
- IfNotExist, API.dll
- {
- MsgBox, 64, Fehler, Die API wurde nicht gefunden. Sie wird nun heruntergeladen.
- URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/API.dll, API.dll
- MsgBox, 64, Erfolgreich, Die Datei wurde erfolgreich heruntergeladen. Der Keybinder`nmuss nun neugestartet werden!
- ExitApp
- }
- IfNotExist, API084.dll
- {
- MsgBox, 64, Fehler, Die API wurde nicht gefunden. Sie wird nun heruntergeladen.
- URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/API084.dll, API084.dll
- MsgBox, 64, Erfolgreich, Die Datei wurde erfolgreich heruntergeladen. Der Keybinder`nmuss nun neugestartet werden!
- ExitApp
- }
- if(WinExist("GTA:SA:MP"))
- {
- GetPlayerData()
- GetPlayerName(myName)
- RegRead, sampname, HKCU, Software\SAMP, PlayerName
- lspd = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/whitelist_neu/checkUser.php?username=%sampname%&fraktion=0
- fbi = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/whitelist_neu/checkUser.php?username=%sampname%&fraktion=1
- lvpd = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/whitelist_neu/checkUser.php?username=%sampname%&fraktion=2
- checkadmin = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/checkAdmin.php?Name=%sampname%
- Sleep, 200
- checkLSPD := UrlDownloadToVar(lspd)
- Sleep, 750
- checkFBI := UrlDownloadToVar(fbi)
- Sleep, 750
- checkLVPD := UrlDownloadToVar(lvpd)
- Sleep, 200
- if(checkLSPD == "1")
- {
- login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%&fraktion=LSPD
- Sleep, 200
- admin := UrlDownloadToVar(checkadmin)
- Sleep, 750
- Yo := UrlDownloadToVar(login)
- }
- else if(checkFBI == "1")
- {
- login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%&fraktion=FBI
- Sleep, 200
- admin := UrlDownloadToVar(checkadmin)
- Sleep, 750
- Yo := UrlDownloadToVar(login)
- }
- else if(checkLVPD == "1")
- {
- login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%&fraktion=LVPD
- Sleep, 200
- admin := UrlDownloadToVar(checkadmin)
- Sleep, 750
- Yo := UrlDownloadToVar(login)
- }
- else
- {
- url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/whitelist/checkwhitelist.php?Name=%sampname%
- Sleep, 300
- success := UrlDownloadToVar(url)
- if(success == "1")
- {
- login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%&fraktion=Fraktionslos
- Sleep, 200
- admin := UrlDownloadToVar(checkadmin)
- Sleep, 750
- Yo := UrlDownloadToVar(login)
- }
- else
- {
- MsgBox, 16, Fehler, Du bist nicht auf der Whitelist des Keybinder verzeichnet`, aus diesem Grund beendet sich nun der Keybinder.`nBitte wende dich an MrPacific.
- login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%(fehlgeschlagen)&fraktion=/
- Yo := UrlDownloadToVar(login)
- ExitApp
- }
- }
- }
- else
- {
- MsgBox, 48, Fehler, Bitte starte zuerst SAMP.
- ExitApp
- }
- IniRead, Fraktion, settings.ini, Daten, Fraktion
- IniRead, Abteilung, settings.ini, Daten, Abteilung
- IniRead, Laptop, settings.ini, Daten, Laptop
- IniRead, Lock, settings.ini, Daten, Lock
- IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
- IniRead, CheckCall, settings.ini, Sounds, CheckCall
- IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
- IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
- IniRead, CheckBK, settings.ini, Sounds, CheckBK
- IniRead, Callsound, settings.ini, Sounds, Callsound
- IniRead, SMSsound, settings.ini, Sounds, SMSsound
- IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
- IniRead, BKsound, settings.ini, Sounds, BKsound
- SynchronizeLaptop(Laptop)
- Gui, Add, Text, x0 y320 w350 h20 , Created by Hunter, weiterentwickelt von MrPacific
- Gui, Add, Tab2, x0 y0 w350 h320 , Allgemein|Vergaben|Laptop-Modus|Admin-Befehle|Settings
- Gui, Tab, Allgemein
- Gui, Add, Edit, x6 y30 w330 h280 vAllgemein ReadOnly, Keybinds `n__________________________________________________`n`n1 - Motor, Licht, Lock (wenn das Lock-System aktiviert ist) `nShift+1 - /licht `n2 - Dürfen wir Sie auf Drogen/Waffenbesitz überprüfen `n3 - Zeigen Sie mir Ihre Scheine `n4 - Vielen Dank für Ihre Kooperation `n5 - Steigen Sie bitte aus Ihrem Fahrzeug `n6 - Sie sind festgenommen (in den Dienstwagen) `n7 - Sie sind festgenommen (zu den Zellen) `n8 - /ram `n9 /grab `n0 - /carinfo `nä - Wiederholt die letzte Eingabe `nY - /lock `nB - /uclight `nJ - /policelight `nm - /members `nP - Anzeigen der Position im /d `nSTRG+P - Anzeigen der aktuellen Position im /r `nK - Kontrolliert einen Spieler `nU - /uncuff `n´ - Übernimmt den Auftrag `nALT + ` - Auftrag ausgeführt `nALT + C - Zoll schließen bitte `nALT + Y - Isst einen Fisch `nAlt + X - erstehilfe `n- - /clear `n^ - Notruf-Annahme `n, - Startet die Stoppuhr `n`nEND - Startet einen Countdown `nWindows - /wanted `nWindows&1 - /wanted ls `nWindows&2 - /wanted sf `nWindows&3 - /wanted lv `nF1 - /tog -> Phone `nF3 - /erstehilfe `nF4 - /ausruesten, /heal `nALT+F4 - /ausruesten `nSTRG+F4 - /heal `n`n NumPad `n__________________________________________________`n`nNumPad0 - Folgen Sie dem Wagen `nNumPad1 - Straßenverkehrskontrolle `nNumPad2 - Halten Sie sofort an `nNumPad3 - Letzte Warnung `nNumPad4 - Steigen Sie aus Ihrem Fahrzeug `nNumPad5 - Räumen Sie die Straße `nNumPad6 - Legen Sie Ihre Waffen nieder `nNumPad7 - /cuff, /frisk `nNumPad8 - /arrest `nNumPad9 - Verlassen Sie dieses Gelände `n`nNum/ - Zoll schließen `nALT+Num/ - Zoll öffnen `nNum* - /gov Die Zollstationen sind geschlossen `nALT+Num* - /gov Zollstation geöffnet `nNum+ - Benötige Verstärkung `nALT+Num+ - Verstärkung nicht mehr benötigt `n__________________________________________________`n`n/op - Offline Prison `n/oa - Offline Knast `n/dp - Death Prison `n/da - Death Knast `n`nBefehle `n__________________________________________________`n`n/partner1 - Trägt einen einen Streifenpartner ein `n/partner2 - Trägt einen zweiten Streifenpartner ein `n/partners - Zeigt alle eingetragenen Streifenpartner an `n/updatesteuersatz - Aktualisiert den Steuersatz `n/settax - Manuelle Eingabe des Steuersatzes `n/water- Aktiviert den Wassermodus `n/gk - Zeigt den gesuchten Gk `n/addts - Fügt eine Todesstrafe hinzu `n/deletets - Entfernt eine Todesstrafe `nALT+T - Zeigt die akuellen Todesstrafen `n/hm - Zeigt die Hitmanliste `n/toghm - (De-)aktiviert das Hitman-Overlay `n/mystats - Zeigt die aktuelle Statstik an `n# - Auto-Arrest `nALT+# - Zeigt alle in der Arrestliste `nF2 - Resettet die Arrestliste `n`n/afind - Automatisches Suchen `n/af - Automatisches Suchen `n/as - Automatisches Zeigen `n/pos - Automatisches Zeigen für Fahrer / Partner `n< - Jeweils zum Beenden `n/fahrer - Eintragen des Fahrers (Wird vor Partner1, Partner2 genutzt) `n/vf - Verfolge Verbrecher `n`n/jas - Ja Sir `n/tag - Guten Tag `n/bye - Auf Wiedershen `n`n/beweise - Haben Sie Beweise `n/passieren - Sie dürfen passieren `n/warten - Bitte warten Sie einen Augenblick `n/rechte - Vorlesen der Rechte `n/ruhe - Sie haben das Recht zu schweigen `n`n/on - /pdmarker, /hitsound, /tog -> Phone `n/uc - /undercover `n/auc - /undercover mit zufälligem Skin `n/sb - /showbadge `n`n/abholung - Benötige Abholung `n/kabholung - Abholung nicht mehr benötigt `n/razzia - Razzia `n/rz - Razzia (S.W.A.T.) `n/ver - Habe verstanden `n/stvo - Möchten Sie Punkte oder ein Ticket `n/stvo[1-5] - Punkte oder Ticket? `n/stvof - Ticket oder Flugscheinentzug? `n`n/rver - Habe verstanden im /r `n/wo - Wo befindet ihr euch? `n/go - Zugriff `n/rgo - Zugriff im /r `n/rstreife - Suche Streifenpartner im /r `n/dstreife - Suche Streifenpartner im /d `n/afk - /r Melde mich für die nächsten Minuten ab `n `n/kontrolle - Kontrolliert einen Spieler `n/tst - Take Strafpunkt `n/tw - Take Waffen `n/tws - Take Waffenschein `n/tfs - Take Flugschein `n/td - Take Drogen `n/tm - Take Materialien `n/tall - Take alles `n/rb - Straßensperre setzen `n/db - Straßensperre entfernen `n/dba - Alle Straßensperren entfernen `n`n/an - Nimmt einen Anruf entgegen `n/ab - Anrufbeantworter `n/danke - Danke für Ihren Anruf (+/h) `n/re - Antwort auf die letzte SMS `n/read - Antwort auf die letzte AD `n/kcall - Call by Name `n/ksms - SMS by Name `n`n/fischen - Automatisches Fischen `n/kochen - Kocht alle Fische `n/cf - Kocht alle Fische `n/hp - Zeigt die HP aller FIsche an `n`nSTRG + T - Tempomat aktivieren `n/tempo - Tempomat aktivieren (Geschwindigkeit einstellbar)`n`n/fg - Legt Festgeld an `n/sani - Nimmt ein Paket an `n/tanken - Betankt das Fahrzeug `n/savestats - Speichert die aktuellen Stats `n/relog - Führt einen Relog durch `n/info - Zeigt aktuelle Informationen an `n/fan - Gibt einem Spieler ein Autogramm `n/chat - Cleat den Chat `n/alotto - /lotto mit zufälliger Zahl `n/user - Zeigt die Statistik eines Users `n/auto - Zeigt allgemeine Informationen zu einem Fahrzeug `n/rmpos - Benennt die Position des Redmarkers
- Gui, Tab, Vergaben
- Gui, Add, Edit, x6 y30 w330 h280 vVergaben ReadOnly, Wantedvergaben `n__________________________________________________`n`nALT+Num1 - Angriff/Beschuss auf Beamte/Zivilisten `nALT+Num2 - Flucht/Fluchtversuch `nALT+Num3 - Verweigerung `nALT+Num4 - Behinderung der Justiz `nALT+Num5 - Besitz von Materialien `nALT+Num6 - Besitz von Drogen `nALT+Num7 - Beihilfe zur Flucht `nALT+Num8 - Illegaler Handel mit Materialien/Drogen `nALT+Num9 - Einbruch `nALT+N - Notruf-Missbrauch `n/na - Notruf Missbrauch `nALT+Z - Zollflucht `n/zf - Zollflucht `nALT+J - Absichtliches Anfahren `nALT+K - Fahrzeugdiebstahl `nALT+L - Staatsfahrzeugdiebstahl `nALT+Ö - Diebstahl von bewaffneten Fahrzeugen `nALT+O - Beamtenbeleidigung `nALT+I - Waffengebrauch i.d.Ö. `n`nPunktevergaben `n__________________________________________________`n`nSTRG+Num0 - Rote Ampel missachtet `nSTRG+Num1 - Straßenverkehrsgefährdung `nSTRG+Num2 - Fahren auf falscher Seite `nSTRG+Num3 - Fahren mit überhöhter Geschwindigkeit `nSTRG+Num4 - Missachtung der Vorfahrt `nSTRG+Num5 - Fahren abseits der Straße `nSTRG+Num6 - Fahren ohne Licht `nSTRG+Num7 - Parken im Parkverbot `nSTRG+Num8 - Straßenverkehrsbehinderung `nSTRG+Num9 - Fahren unter Alkoholeinfluss
- Gui, Tab, Laptop-Modus
- Gui, Add, Edit, x6 y30 w330 h280 vLaptopModus ReadOnly, Allgemein `n__________________________________________________`n`n+ - Benötige Verstärkung `nALT&+ - Benötige keine Verstärkung `n`nALT&STRG&0 - Folgen Sie dem Wagen `nALT&STRG&1 - Straßenverkehrskontrolle `nALT&STRG&2 - Halten Sie sofort an `nALT&STRG&3 - Letzte Warnung `nALT&STRG&4 - Steigen Sie aus Ihrem Fahrzeug `nALT&STRG&5 - Räumen Sie die Straße `nALT&STRG&6 - Legen Sie Ihre Waffen nieder `nALT&STRG&7 - /cuff, /frisk `nALT&STRG&8 - /arrest `nALT&STRG&9 - Verlassen Sie dieses Gelände `n`nWantedvergabe `n__________________________________________________`n`nALT&1 - Angriff/Beschuss auf Beamte/Zivilisten `nALT&2 - Flucht/Fluchtversuch `nALT&3 - Verweigerung `nALT&4 - Behinderung der Justiz `nALT&5 - Besitz von Materialien `nALT&6 - Besitz von Drogen `nALT&7 - Beihilfe zur Flucht `nALT&8 - Illegaler Handel mit Materialien/Drogen `nALT&9 - Einbruch `n`nPunktevergabe `n__________________________________________________`n`nSTRG&0 - Rote Ampel missachtet `nSTRG&1 - Straßenverkehrsgefährdung `nSTRG&2 - Fahren auf falscher Seite `nSTRG&3 - Fahren mit überhöhter Geschwindigkeit `nSTRG&4 - Missachtung der Vorfahrt `nSTRG&5 - Fahren abseits der Straße `nSTRG&6 - Fahren ohne Licht `nSTRG&7 - Parken im Parkverbot `nSTRG&8 - Straßenverkehrsbehinderung `nSTRG&9 - Fahren unter Alkoholeinfluss
- Gui, Tab, Admin-Befehle
- Gui, Add, Edit, x6 y30 w330 h280 vAdminBefehle ReadOnly, Ticket-System `n__________________________________________________`n`n/tt - Ticket annehmen `n/dt - Ticket schließen `n/gt - Ticket weiterleiten `n/grund - Warum soll ich Sie weiterleiten? `n/fragen - Weitere Freagen? `n`n/tickets - Zeigt die aktuelle Ticketstatistik (ENB geeignet) `n/togtickets - (De-)aktiviert das TicketOverlay (nicht für ENB) `n`nNützliches `n__________________________________________________`n`n/meldungen - Info über /sup und /a `n/hacker - Zeigt alle Level 1er / potentielle Hacker `n`nSanktionen `n__________________________________________________`n`n/adabuse - AD-Abuse `n/aabuse - /a - Abuse `n/sdm - Prison wegen SDM `n/bansdm - /ban wegen SDM `n/jobstörung - /prison Jobstörung `n/jobdm - /prison Job Deathmatch `n/intflucht - /prison Interrior-Flucht `n/escflucht - /prison ESC-Flucht `n/offflucht - /prison Offline-Flucht
- Gui, Tab, Settings
- Gui, Add, Text, x6 y40 w120 h20 , Fraktion
- Gui, Add, DropDownList, x166 y40 w150 h80 vFraktion, LSPD|LVPD|FBI
- GuiControl, Choose, Fraktion, %Fraktion%
- Gui, Add, Text, x6 y70 w120 h20 , Abteilung
- Gui, Add, Edit, x166 y70 w150 h20 vAbteilung, %Abteilung%
- Gui, Add, Button, x15 y260 w140 h40 gUpdate, News und Updates
- Gui, Add, Button, x175 y260 w150 h40 gDruck, Druckversion
- Gui, Add, Checkbox, x5 y100 w220 h20 vLock Checked%Lock%, Lock-System aktivieren?
- Gui, Add, Checkbox, x5 y130 w220 h20 vChatlogsaver Checked%Chatlogsaver%, Chatlogsaver aktivieren?
- Gui, Add, Checkbox, x5 y160 w340 h30 vLaptop Checked%Laptop%, Laptopmodus aktivieren? (NumPadBinds werden auf ALT-Tasten verlegt)
- Gui, Add, Button, x15 y200 w140 h40 gSpeichern, Speichern
- Gui, Add, Button, x175 y200 w150 h40 gSounds, Sounds
- Gui, Show, w347 h342, Staatsgewaltkeybinder (Version %Version%)
- IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
- if (Chatlogsaver == 1)
- {
- SetTimer, chatlog, 500
- }
- else
- {
- SetTimer, chatlog, off
- }
- SetTimer, _GTACheck, 100
- return
- GuiClose:
- ExitApp
- Sounds:
- IniRead, Callsound, settings.ini, Sounds, Callsound
- if(Callsound == "" || Callsound == "ERROR")
- {
- Callsound := "" . Sounds . "/Call.mp3"
- IniWrite, %Callsound%, settings.ini, Sounds, Callsound
- }
- IniRead, SMSsound, settings.ini, Sounds, SMSsound
- if(SMSsound = "" || SMSsound = "ERROR")
- {
- SMSsound := "" . Sounds . "/SMS.mp3"
- IniWrite, %SMSsound%, settings.ini, Sounds, SMSsound
- }
- IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
- if(LowHPsound = "" || LowHPsound = "ERROR")
- {
- LowHPsound := "" . Sounds . "/LowHP.mp3"
- IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
- }
- IniRead, BKsound, settings.ini, Sounds, BKsound
- if(BKsound = "" || BKsound == "ERROR")
- {
- BKsound := "" . Sounds . "/BK.mp3"
- IniWrite, %BKsound%, settings.ini, Sounds, BKsound
- }
- Gui, 4: Destroy
- Gui, 4: Font, s10, bold
- Gui, 4:Add, GroupBox, x36 y10 w670 h110 cwhite, Informationen
- Gui, 4:Add, Text, x46 y30 w650 h80 cwhite, Spielt je nach Aktion einen Sound ab`, welchen du selber auswählen kannst.`nAlternativ kann der Standardsound vom Keybinder genutzt werden. `n`nDas Auswahlmenü für den Pfad kann geöffnet werden`, indem du auf den Dateinamen klickst. `nErwünscht sind kleine bzw. kurze Sounds`, empfehlenswert sind .mp3-Dateien.
- Gui, 4:Add, Checkbox, x52 y163 w13 h13 gCheckCall Checked%CheckCall% vCheckCall,
- Gui, 4:Add, Checkbox, x52 y193 w13 h13 gCheckSMS Checked%CheckSMS% vCheckSMS,
- Gui, 4:Add, Checkbox, x52 y223 w13 h13 gCheckLowHP Checked%CheckLowHP% vCheckLowHP,
- Gui, 4:Add, Checkbox, x52 y253 w13 h13 gCheckBK Checked%CheckBK% vCheckBK,
- Gui, 4:Add, GroupBox, x36 y130 w670 h160 cwhite, Sounds
- Gui, 4:Add, Text, x76 y160 w60 h20 cwhite +center, Anruf:
- Gui, 4:Add, Text, x76 y190 w60 h20 cwhite +center, SMS:
- Gui, 4:Add, Text, x76 y220 w60 h20 cwhite +center, Low-HP:
- Gui, 4:Add, Text, x76 y250 w60 h20 cwhite +center, BK:
- Gui, 4:Add, Text, x156 y160 w540 h20 cwhite +0x200 +E0x20210 +center gCallAuswahl vCallAuswahl, %Callsound%
- Gui, 4:Add, Text, x156 y190 w540 h20 cwhite +0x200 +E0x20210 +center gSMSAuswahl vSMSAuswahl, %SMSsound%
- Gui, 4:Add, Text, x156 y220 w540 h20 cwhite +0x200 +E0x20210 +center gLowHPAuswahl vLowHPAuswahl, %LowHPsound%
- Gui, 4:Add, Text, x156 y250 w540 h20 cwhite +0x200 +E0x20210 +center gBKAuswahl vBKAuswahl, %BKsound%
- IniRead, CheckCall, settings.ini, Sounds, CheckCall
- IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
- IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
- IniRead, CheckBK, settings.ini, Sounds, CheckBK
- IniRead, Callsound, settings.ini, Sounds, Callsound
- IniRead, SMSsound, settings.ini, Sounds, SMSsound
- IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
- IniRead, BKsound, settings.ini, Sounds, BKsound
- GuiControl, 4: , CheckCall, %CheckCall%
- GuiControl, 4: , CheckSMS, %CheckSMS%
- GuiControl, 4: , CheckLowHP, %CheckLowHP%
- GuiControl, 4: , CheckBK, %CheckBK%
- GuiControl, 4: , CallAuswahl, %CallSound%
- GuiControl, 4: , SMSAuswahl, %SMSSound%
- GuiControl, 4: , LowHPAuswahl, %LowHPSound%
- GuiControl, 4: , BKAuswahl, %BKSound%
- Gui, 4: Add, Button, x276 y300 w180 h50 gZurück, Zurück
- Gui, 4:Color, 292929
- Gui, 4:Show, w749 h372, Sounds
- return
- Zurück:
- 4GuiClose:
- Gui, 4: Destroy
- return
- CallAuswahl:
- if(CheckCall = 1)
- {
- FileSelectFile, Callsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(Callsoundx != "")
- {
- Callsound := Callsoundx
- IniWrite, %Callsound%, settings.ini, Sounds, Callsound
- GuiControl, 4: , CallAuswahl, %CallSound%
- SoundPlay, %CallSound%
- }
- }
- return
- SMSAuswahl:
- if(CheckSMS = 1)
- {
- FileSelectFile, SMSsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(SMSsoundx != "")
- {
- SMSsound := SMSsoundx
- IniWrite, %SMSsound%, settings.ini, Sounds, SMSsound
- GuiControl, 4: , SMSAuswahl, %SMSSound%
- SoundPlay, %SMSSound%
- }
- }
- return
- LowHPAuswahl:
- if(CheckLowHP = 1)
- {
- FileSelectFile, LowHPsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(LowHPsoundx != "")
- {
- LowHPsound := LowHPsoundx
- IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
- GuiControl, 4: , LowHPAuswahl, %LowHPSound%
- SoundPlay, %LowHPSound%
- }
- }
- return
- BKAuswahl:
- if(CheckBK = 1)
- {
- FileSelectFile, BKsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(BKsoundx != "")
- {
- BKsound := BKsoundx
- IniWrite, %BKsound%, settings.ini, Sounds, BKsound
- GuiControl, 4: , BKAuswahl, %BKSound%
- SoundPlay, %BKSound%
- }
- }
- return
- CheckCall:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckCall%, settings.ini, Sounds, CheckCall
- return
- CheckSMS:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckSMS%, settings.ini, Sounds, CheckSMS
- GuiControl, 4: Choose, CheckSMS, %CheckSMS%
- return
- CheckLowHP:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckLowHP%, settings.ini, Sounds, CheckLowHP
- GuiControl, 4: Choose, CheckLowHP, %CheckLowHP%
- return
- CheckBK:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckBK%, settings.ini, Sounds, CheckBK
- GuiControl, 4: Choose, CheckBK, %CheckBK%
- return
- Speichern:
- GuiControlGet, Fraktion
- GuiControlGet, Abteilung
- GuiControlGet, Laptop
- GuiControlGet, Lock
- GuiControlGet, Chatlogsaver
- if(Chatlogsaver == 1)
- {
- SetTimer, Chatlog, Off
- SetTimer, Chatlog, 500
- }
- IniWrite, %Fraktion%, settings.ini, Daten, Fraktion
- IniWrite, %Abteilung%, settings.ini, Daten, Abteilung
- IniWrite, %Laptop%, settings.ini, Daten, Laptop
- IniWrite, %Lock%, settings.ini, Daten, Lock
- IniWrite, %Chatlogsaver%, settings.ini, Daten, Chatlogsaver
- IniRead, Fraktion, settings.ini, Daten, Fraktion
- IniRead, Abteilung, settings.ini, Daten, Abteilung
- IniRead, Laptop, settings.ini, Daten, Laptop
- IniRead, Lock, settings.ini, Daten, Lock
- IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
- IniRead, CheckCall, settings.ini, Sounds, CheckCall
- IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
- IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
- IniRead, CheckBK, settings.ini, Sounds, CheckBK
- IniRead, Callsound, settings.ini, Sounds, Callsound
- IniRead, SMSsound, settings.ini, Sounds, SMSsound
- IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
- IniRead, BKsound, settings.ini, Sounds, BKsound
- SynchronizeLaptop(Laptop)
- MsgBox, 64, , Gespeichert.
- return
- Druck:
- IfExist, Druckversion.txt
- {
- FileDelete, Druckversion.txt
- }
- GuiControlGet, Allgemein
- GuiControlGet, Vergaben
- GuiControlGet, LaptopModus
- GuiControlGet, AdminBefehle
- FileAppend, %Allgemein%`n`n%Vergaben%`n`nLaptopModus `n%LaptopModus%`n`nAdmin-Befehle `n%AdminBefehle%, Druckversion.txt
- MsgBox, 64, Druckversion, Die Druckversion befindet sich nun im Ordner des Keybinders.
- return
- Update:
- URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/Patchlist.txt, %A_AppData%/Patchlist.txt
- FileRead, Patchlist, %A_AppData%/Patchlist.txt
- Gui, 2:Add, Edit, x0 y0 w300 h300, %Patchlist%
- Gui, 2:Show, x152 y112 w300 h300, News und Updates
- return
- chatlog:
- WinWait, GTA:SA:MP
- WinWaitClose, GTA:SA:MP
- FileCreateDir, %A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups
- FormatTime, zeit,%A_Now%,dd.MM HH_mm
- FileCopy,%A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog.txt,%A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups\Chatlog_%zeit%.txt,0
- return
- _GtaCheck:
- Process , exist, gta_sa.exe
- GtaPid := ErrorLevel
- if (GtaPid != 0)
- {
- SetTimer, _GtaCheck, Off
- GtaCheckTrue := "1"
- SetTimer, Systeme, off
- SetTimer, Systeme, 100
- #NoEnv
- PLAYER_STATE_LEAVING_VEHICLE := 0
- PLAYER_STATE_NORMAL := 1
- PLAYER_STATE_DRIVING := 50
- PLAYER_STATE_DYING := 54
- PLAYER_STATE_DEAD := 55
- hModule := DllCall("LoadLibrary", Str, A_ScriptDir . "\API084.dll")
- if(hModule == -1 || hModule == 0)
- {
- MsgBox, 48, API - Fehler, Die API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
- ExitApp
- }
- hModule2 := DllCall("LoadLibrary", Str, A_ScriptDir . "\API.dll")
- if(hModule2 == -1 || hModule2 == 0)
- {
- MsgBox, 48, API - Fehler, Die API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
- ExitApp
- }
- AddChatMessage_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_AddChatMessage")
- BlockChatInput_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BlockChatInput")
- BoxCreate_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxCreate")
- BoxDestroy_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxDestroy")
- BoxHide_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxHide")
- BoxSetBorder_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetBorder")
- BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetBorderColor")
- BoxSetColor_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetColor")
- BoxSetHeight_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetHeight")
- BoxSetPos_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetPos")
- BoxSetWidth_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetWidth")
- BoxShow_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxShow")
- DestroyAllVisual_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_DestroyAllVisual")
- GetAmmoForCurrentWeapon_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetAmmoForCurrentWeapon")
- GetChatLine_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLine")
- GetCityName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityName")
- GetClipForCurrentWeapon_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetClipForCurrentWeapon")
- GetCurrentWeaponId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeaponId")
- GetCurrentWeatherId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeatherId")
- GetOnlinePlayers_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetOnlinePlayers")
- GetPlayerArmor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerArmor")
- GetPlayerData_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerData")
- GetPlayerHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerHealth")
- GetPlayerId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerId")
- GetPlayerIdByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerIdByName")
- GetPlayersInVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayersInVehicle")
- GetPlayerMoney_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerMoney")
- GetPlayerName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerName")
- GetPlayerNameById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerNameById")
- GetPlayerPing_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPing")
- GetPlayerPingById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPingById")
- GetPlayerPingByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPingByName")
- GetPlayerPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPos")
- GetPlayerScore_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScore")
- GetPlayerScoreById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScoreById")
- GetPlayerScoreByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScoreByName")
- GetPlayerSkin_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerSkin")
- GetPlayerState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerState")
- GetPlayerWanteds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWanteds")
- GetRadioSlot_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetRadioSlot")
- GetScreenSizeX_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeX")
- GetScreenSizeY_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeY")
- GetServerIp_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerIp")
- GetVehicleEngineState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleEngineState")
- GetVehicleFirstColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFirstColor")
- GetVehicleHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHealth")
- GetVehicleHornState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHornState")
- GetVehicleId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleId")
- GetVehicleLightState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleLightState")
- GetVehicleLockState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleLockState")
- GetVehicleModel_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModel")
- GetVehicleName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleName")
- GetVehicleSeatState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSeatState")
- GetVehicleSecondColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSecondColor")
- GetVehicleSirenState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSirenState")
- GetVehicleSpeed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSpeed")
- GetZoneName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneName")
- HideAllVisual_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_HideAllVisual")
- ImageCreate_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageCreate")
- ImageDestroy_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageDestroy")
- ImageHide_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageHide")
- ImageSetAlign_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageSetAlign")
- ImageSetPos_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageSetPos")
- ImageSetRotation_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageSetRotation")
- ImageShow_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageShow")
- IsChatOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsChatOpen")
- IsDialogOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsDialogOpen")
- IsMenuOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsMenuOpen")
- IsPlayerDriver_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerDriver")
- IsPlayerFrozen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerFrozen")
- IsPlayerInAnyInterior_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyInterior")
- IsPlayerInAnyVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyVehicle")
- IsPlayerInRangeOfPoint_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint")
- IsPlayerInRangeOfPoint2D_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint2D")
- IsUpdateAvailable_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsUpdateAvailable")
- LineCreate_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineCreate")
- LineDestroy_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineDestroy")
- LineHide_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineHide")
- LineSetColor_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineSetColor")
- LineSetHeight_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineSetHeight")
- LineSetPos_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineSetPos")
- LineSetWidth_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineSetWidth")
- LineShow_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineShow")
- RegisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_RegisterTextBind")
- SendChat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SendChat")
- ShowAllVisual_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ShowAllVisual")
- ShowDialog_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowDialog")
- ShowGameText_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowGameText")
- TextBindTimer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextBindTimer")
- TextCreate_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextCreate")
- TextDestroy_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextDestroy")
- TextHide_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextHide")
- TextSetAlign_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextSetAlign")
- TextSetColor_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextSetColor")
- TextSetPos_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextSetPos")
- TextSetString_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextSetString")
- TextShow_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextShow")
- UnblockChatInput_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnblockChatInput")
- UnloadOverlay_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_UnloadOverlay")
- UnregisterAllTextBinds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterAllTextBinds")
- UnregisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterTextBind")
- AddChatMessage(Color, Text)
- {
- global AddChatMessage_func
- Result := DllCall(AddChatMessage_func, Int, Color, Str, Text)
- return Result
- }
- BlockChatInput()
- {
- global BlockChatInput_func
- Result := DllCall(BlockChatInput_func)
- return Result
- }
- BoxCreate()
- {
- global BoxCreate_func
- Result := DllCall(BoxCreate_func)
- return Result
- }
- BoxDestroy(BoxIndex)
- {
- global BoxDestroy_func
- Result := DllCall(BoxDestroy_func, Int, BoxIndex)
- return Result
- }
- BoxHide(BoxIndex)
- {
- global BoxHide_func
- Result := DllCall(BoxHide_func, Int, BoxIndex)
- return Result
- }
- BoxSetBorder(BoxIndex, Width)
- {
- global BoxSetBorder_func
- Result := DllCall(BoxSetBorder_func, Int, BoxIndex, Int, Width)
- return Result
- }
- BoxSetBorderColor(BoxIndex, Color)
- {
- global BoxSetBorderColor_func
- Result := DllCall(BoxSetBorderColor_func, Int, BoxIndex, UInt, Color)
- return Result
- }
- BoxSetColor(BoxIndex, Color)
- {
- global BoxSetColor_func
- Result := DllCall(BoxSetColor_func, Int, BoxIndex, UInt, Color)
- return Result
- }
- BoxSetHeight(BoxIndex, Height)
- {
- global BoxSetHeight_func
- Result := DllCall(BoxSetHeight_func, Int, BoxIndex, Int, Height)
- return Result
- }
- BoxSetPos(BoxIndex, X, Y)
- {
- global BoxSetPos_func
- Result := DllCall(BoxSetPos_func, Int, BoxIndex, Int, X, Int, Y)
- return Result
- }
- BoxSetWidth(BoxIndex, Width)
- {
- global BoxSetWidth_func
- Result := DllCall(BoxSetWidth_func, Int, BoxIndex, Int, Width)
- return Result
- }
- BoxShow(BoxIndex)
- {
- global BoxShow_func
- Result := DllCall(BoxShow_func, Int, BoxIndex)
- return Result
- }
- DestroyAllVisual()
- {
- global DestroyAllVisual_func
- Result := DllCall(DestroyAllVisual_func)
- return Result
- }
- GetAmmoForCurrentWeapon()
- {
- global GetAmmoForCurrentWeapon_func
- Result := DllCall(GetAmmoForCurrentWeapon_func)
- return Result
- }
- GetChatLine(Line, ByRef Output)
- {
- global GetChatLine_func
- VarSetCapacity(Output, 252)
- Result := DllCall(GetChatLine_func, Int, Line, StrP, Output)
- return Result
- }
- GetCityName(ByRef City)
- {
- global GetCityName_func
- VarSetCapacity(City, 32, 0)
- Result := DllCall(GetCityName_func, StrP, City)
- return Result
- }
- GetClipForCurrentWeapon()
- {
- global GetClipForCurrentWeapon_func
- Result := DllCall(GetClipForCurrentWeapon_func)
- return Result
- }
- GetCurrentWeaponId()
- {
- global GetCurrentWeaponId_func
- Result := DllCall(GetCurrentWeaponId_func)
- return Result
- }
- GetCurrentWeatherId()
- {
- global GetCurrentWeatherId_func
- Result := DllCall(GetCurrentWeatherId_func)
- return Result
- }
- GetOnlinePlayers()
- {
- global GetOnlinePlayers_func
- Result := DllCall(GetOnlinePlayers_func)
- return Result
- }
- GetPlayerArmor()
- {
- global GetPlayerArmor_func
- Result := DllCall(GetPlayerArmor_func)
- return Result
- }
- GetPlayerData()
- {
- global GetPlayerData_func
- Result := DllCall(GetPlayerData_func)
- return Result
- }
- GetPlayerHealth()
- {
- global GetPlayerHealth_func
- Result := DllCall(GetPlayerHealth_func)
- return Result
- }
- GetPlayerId()
- {
- global GetPlayerId_func
- Result := DllCall(GetPlayerId_func)
- return Result
- }
- GetPlayerIdByName(Name)
- {
- global GetPlayerIdByName_func
- Result := DllCall(GetPlayerIdByName_func, Str, Name)
- return Result
- }
- GetPlayersInVehicle(ByRef Seat1, ByRef Seat2, ByRef Seat3, ByRef Seat4)
- {
- global GetPlayersInVehicle_func
- Result := DllCall(GetPlayersInVehicle_func, IntP, Seat1, IntP, Seat2, IntP, Seat3, IntP, Seat4)
- return Result
- }
- GetPlayerMoney()
- {
- global GetPlayerMoney_func
- Result := DllCall(GetPlayerMoney_func)
- return Result
- }
- GetPlayerName(ByRef Name)
- {
- global GetPlayerName_func
- VarSetCapacity(Name, 24)
- Result := DllCall(GetPlayerName_func, StrP, Name)
- return Result
- }
- GetPlayerNameById(Id, ByRef Name)
- {
- global GetPlayerNameById_func
- VarSetCapacity(Name, 24)
- Result := DllCall(GetPlayerNameById_func, Int, Id, StrP, Name)
- return Result
- }
- GetPlayerPing()
- {
- global GetPlayerPing_func
- Result := DllCall(GetPlayerPing_func)
- return Result
- }
- GetPlayerPingById(Id)
- {
- global GetPlayerPingById_func
- Result := DllCall(GetPlayerPingById_func, Int, Id)
- return Result
- }
- GetPlayerPingByName(Name)
- {
- global GetPlayerPingByName_func
- Result := DllCall(GetPlayerPingByName_func, Str, Name)
- return Result
- }
- GetPlayerPos(ByRef X, ByRef Y, ByRef Z, ByRef R)
- {
- global GetPlayerPos_func
- Result := DllCall(GetPlayerPos_func, FloatP, X, FloatP, Y, FloatP, Z, FloatP, R)
- return Result
- }
- GetPlayerScore()
- {
- global GetPlayerScore_func
- Result := DllCall(GetPlayerScore_func)
- return Result
- }
- GetPlayerScoreById(Id)
- {
- global GetPlayerScoreById_func
- Result := DllCall(GetPlayerScoreById_func, Int, Id)
- return Result
- }
- GetPlayerScoreByName(Name)
- {
- global GetPlayerScoreByName_func
- Result := DllCall(GetPlayerScoreByName_func, Str, Name)
- return Result
- }
- GetPlayerSkin()
- {
- global GetPlayerSkin_func
- Result := DllCall(GetPlayerSkin_func)
- return Result
- }
- GetPlayerState()
- {
- global GetPlayerState_func
- Result := DllCall(GetPlayerState_func)
- return Result
- }
- GetPlayerWanteds()
- {
- global GetPlayerWanteds_func
- Result := DllCall(GetPlayerWanteds_func)
- return Result
- }
- GetRadioSlot()
- {
- global GetRadioSlot_func
- Result := DllCall(GetRadioSlot_func)
- return Result
- }
- GetScreenSizeX()
- {
- global GetScreenSizeX_func
- Result := DllCall(GetScreenSizeX_func)
- return Result
- }
- GetScreenSizeY()
- {
- global GetScreenSizeY_func
- Result := DllCall(GetScreenSizeY_func)
- return Result
- }
- GetServerIp(ByRef Address)
- {
- global GetServerIp_func
- VarSetCapacity(Address, 21, 0)
- Result := DllCall(GetServerIp_func, StrP, Address)
- return Result
- }
- GetVehicleEngineState()
- {
- global GetVehicleEngineState_func
- Result := DllCall(GetVehicleEngineState_func)
- return Result
- }
- GetVehicleFirstColor()
- {
- global GetVehicleFirstColor_func
- Result := DllCall(GetVehicleFirstColor_func)
- return Result
- }
- GetVehicleHealth()
- {
- global GetVehicleHealth_func
- Result := DllCall(GetVehicleHealth_func)
- return Result
- }
- GetVehicleHornState()
- {
- global GetVehicleHornState_func
- Result := DllCall(GetVehicleHornState_func)
- return Result
- }
- GetVehicleId()
- {
- global GetVehicleId_func
- Result := DllCall(GetVehicleId_func)
- return Result
- }
- GetVehicleLightState()
- {
- global GetVehicleLightState_func
- Result := DllCall(GetVehicleLightState_func)
- return Result
- }
- GetVehicleLockState()
- {
- global GetVehicleLockState_func
- Result := DllCall(GetVehicleLockState_func)
- return Result
- }
- GetVehicleModel()
- {
- global GetVehicleModel_func
- Result := DllCall(GetVehicleModel_func)
- return Result
- }
- GetVehicleName(ModelId, ByRef VehicleName)
- {
- global GetVehicleName_func
- VarSetCapacity(VehicleName, 24, 0)
- Result := DllCall(GetVehicleName_func, Int, ModelId, StrP, VehicleName)
- return Result
- }
- GetVehicleSeatState(Seat)
- {
- global GetVehicleSeatState_func
- Result := DllCall(GetVehicleSeatState_func, Int, Seat)
- return Result
- }
- GetVehicleSecondColor()
- {
- global GetVehicleSecondColor_func
- Result := DllCall(GetVehicleSecondColor_func)
- return Result
- }
- GetVehicleSirenState()
- {
- global GetVehicleSirenState_func
- Result := DllCall(GetVehicleSirenState_func)
- return Result
- }
- GetVehicleSpeed()
- {
- global GetVehicleSpeed_func
- fMult := 1.45
- Result := DllCall(GetVehicleSpeed_func, Float, fMult)
- return Result
- }
- GetZoneName(ByRef Zone)
- {
- global GetZoneName_func
- VarSetCapacity(Zone, 32, 0)
- Result := DllCall(GetZoneName_func, StrP, Zone)
- return Result
- }
- HideAllVisual()
- {
- global ShowAllVisual_func
- Result := DllCall(ShowAllVisual_func)
- return Result
- }
- ImageCreate(ImagePath)
- {
- global ImageCreate_func
- path = %A_ScriptDir%
- Result := DllCall(ImageCreate_func, Str, path . ImagePath)
- return Result
- }
- ImageDestroy(ImageIndex)
- {
- global ImageDestroy_func
- Result := DllCall(ImageDestroy_func, Int, ImageIndex)
- return Result
- }
- ImageHide(ImageIndex)
- {
- global ImageHide_func
- Result := DllCall(ImageHide_func, Int, ImageIndex)
- return Result
- }
- ImageSetAlign(ImageIndex, Align)
- {
- global ImageSetAlign_func
- Result := DllCall(ImageSetAlign_func, Int, ImageIndex, Int, Align)
- return Result
- }
- ImageSetPos(ImageIndex, PosX, PosY)
- {
- global ImageSetPos_func
- Result := DllCall(ImageSetPos_func, Int, ImageIndex, Int, PosX, Int, PosY)
- return Result
- }
- ImageSetRotation(ImageIndex, Rotation)
- {
- global ImageSetRotation_func
- Result := DllCall(ImageSetRotation_func, Int, ImageIndex, Int, Rotation)
- return Result
- }
- ImageShow(ImageIndex)
- {
- global ImageShow_func
- Result := DllCall(ImageShow_func, Int, ImageIndex)
- return Result
- }
- IsChatOpen()
- {
- global IsChatOpen_func
- Result := DllCall(IsChatOpen_func)
- return Result
- }
- IsDialogOpen()
- {
- global IsDialogOpen_func
- Result := DllCall(IsDialogOpen_func)
- return Result
- }
- IsMenuOpen()
- {
- global IsMenuOpen_func
- Result := DllCall(IsMenuOpen_func)
- return Result
- }
- IsPlayerDriver()
- {
- global IsPlayerDriver_func
- Result := DllCall(IsPlayerDriver_func)
- return Result
- }
- IsPlayerFrozen()
- {
- global IsPlayerFrozen_func
- Result := DllCall(IsPlayerFrozen_func)
- return Result
- }
- IsPlayerInAnyInterior()
- {
- global IsPlayerInAnyInterior_func
- Result := DllCall(IsPlayerInAnyInterior_func)
- return Result
- }
- IsPlayerInAnyVehicle()
- {
- global IsPlayerInAnyVehicle_func
- Result := DllCall(IsPlayerInAnyVehicle_func)
- return Result
- }
- IsPlayerInRangeOfPoint(X, Y, Z, Radius)
- {
- global IsPlayerInRangeOfPoint_func
- Result := DllCall(IsPlayerInRangeOfPoint_func, Float, X, Float, Y, Float, Z, Float, Radius)
- return Result
- }
- IsPlayerInRangeOfPoint2D(X, Y, Radius)
- {
- global IsPlayerInRangeOfPoint2D_func
- Result := DllCall(IsPlayerInRangeOfPoint2D_func, Float, X, Float, Y, Float, Radius)
- return Result
- }
- IsUpdateAvailable()
- {
- global IsUpdateAvailable_func
- Result := DllCall(IsUpdateAvailable_func)
- return Result
- }
- LineCreate()
- {
- global LineCreate_func
- Result := DllCall(LineCreate_func)
- return Result
- }
- LineDestroy(LineIndex)
- {
- global LineDestroy_func
- Result := DllCall(LineDestroy_func, Int, LineIndex)
- return Result
- }
- LineHide(LineIndex)
- {
- global LineHide_func
- Result := DllCall(LineHide_func, Int, LineIndex)
- return Result
- }
- LineSetColor(LineIndex, Color)
- {
- global LineSetColor_func
- Result := DllCall(LineSetColor_func, Int, LineIndex, Int64, Color)
- return Result
- }
- LineSetHeight(LineIndex, Height)
- {
- global LineSetHeight_func
- Result := DllCall(LineSetHeight_func, Int, LineIndex, Int, Height)
- return Result
- }
- LineSetPos(LineIndex, PosX, PosY)
- {
- global LineSetPos_func
- Result := DllCall(LineSetPos_func, Int, LineIndex, Int, PosX, Int, PosY)
- return Result
- }
- LineSetWidth(LineIndex, Width)
- {
- global LineSetWidth_func
- Result := DllCall(LineSetWidth_func, Int, LineIndex, Int, Width)
- return Result
- }
- LineShow(LineIndex)
- {
- global LineShow_func
- Result := DllCall(LineShow_func, Int, LineIndex)
- return Result
- }
- RegisterTextBind(Bind, X, Y, Z, Radius, Loop = 1, Timeout = 7000, GroupId = 0, Delay = 0)
- {
- global RegisterTextBind_func
- Result := DllCall(RegisterTextBind_func, Str, Bind, Float, X, Float, Y, Float, Z, Float, Radius, Int, Loop, Int, Timeout, Int, GroupId, Int, Delay)
- return Result
- }
- SendChat(Text)
- {
- global SendChat_func
- Result := DllCall(SendChat_func, Str, Text)
- return Result
- }
- ShowAllVisual()
- {
- global ShowAllVisual_func
- Result := DllCall(ShowAllVisual_func)
- return Result
- }
- ShowDialog(Style, Title, Text, Button)
- {
- global ShowDialog_func
- Result := DllCall(ShowDialog_func, Int, Style, Str, Title, Str, Text, Str, Button)
- return Result
- }
- ShowGameText(Text, Time, Style)
- {
- global ShowGameText_func
- Result := DllCall(ShowGameText_func, Str, Text, Int, Time, Int, Style)
- return Result
- }
- TextBindTimer(TextBindTime)
- {
- global TextBindTimer_func
- Result := DllCall(TextBindTimer_func, Int, TextBindTime)
- return Result
- }
- TextCreate(Font, FontSize, Bold, Italic)
- {
- global TextCreate_func
- Result := DllCall(TextCreate_func, Str, Font, Int, FontSize, Int, Bold, Int, Italic)
- return Result
- }
- TextDestroy(TextIndex)
- {
- global TextDestroy_func
- Result := DllCall(TextDestroy_func, Int, TextIndex)
- return Result
- }
- TextHide(TextIndex)
- {
- global TextHide_func
- Result := DllCall(TextHide_func, Int, TextIndex)
- return Result
- }
- TextSetAlign(TextIndex, Align)
- {
- global TextSetAlign_func
- Result := DllCall(TextSetAlign_func, Int, TextIndex, Int, Align)
- return Result
- }
- TextSetColor(TextIndex, Color)
- {
- global TextSetColor_func
- Result := DllCall(TextSetColor_func, Int, TextIndex, Int64, Color)
- return Result
- }
- TextSetPos(TextIndex, PosX, PosY)
- {
- global TextSetPos_func
- Result := DllCall(TextSetPos_func, Int, TextIndex, Int, PosX, Int, PosY)
- return Result
- }
- TextSetString(TextIndex, Text)
- {
- global TextSetString_func
- Result := DllCall(TextSetString_func, Int, TextIndex, Str, Text)
- return Result
- }
- TextShow(TextIndex)
- {
- global TextShow_func
- Result := DllCall(TextShow_func, Int, TextIndex)
- return Result
- }
- UnblockChatInput()
- {
- global UnblockChatInput_func
- Result := DllCall(UnblockChatInput_func)
- return Result
- }
- UnloadOverlay()
- {
- global UnloadOverlay_func
- Result := DllCall(UnloadOverlay_func)
- return Result
- }
- UnregisterAllTextBinds()
- {
- global UnregisterAllTextBinds_func
- Result := DllCall(UnregisterAllTextBinds_func)
- return Result
- }
- UnregisterTextBind(TextBindId)
- {
- global UnregisterTextBind_func
- Result := DllCall(UnregisterTextBind_func, Int, TextBindId)
- return Result
- }
- DestroyAllVisual()
- }
- return
- WaitFor(time=15){
- Sleep, % GetPlayerPing() + time
- }
- ChatLine(firstline, instr, lines=5){
- loop, %lines%
- {
- GetChatLine(firstline + (A_Index - 1), chat)
- if(InStr(chat, instr))
- return chat
- }
- return
- }
- IsPlayerInRangeOfPoint_fast(x, y, z, r)
- {
- static pos_x, pos_y, pos_z, lastcalled
- if(lastcalled < A_TickCount - 150){
- GetPlayerPos(pos_x, pos_y, pos_z, pos_r)
- lastcalled := A_TickCount
- }
- d := sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
- if(d < r)
- return 1
- return 0
- }
- IsPlayerInRangeOfPoint2D_fast(x, y, r){
- static pos_x, pos_y, lastcalled
- if(lastcalled < A_TickCount - 150){
- GetPlayerPos(pos_x, pos_y, pos_z, pos_r)
- lastcalled := A_TickCount
- }
- d := sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
- if(d < r)
- return 1
- return 0
- }
- GetDistanceFromPoint(x, y, z){
- GetPlayerPos(pos_x, pos_y, pos_z, pos_r)
- return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
- }
- GetDistancebetween(x, y, z, pos_x, pos_y, pos_z)
- {
- return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
- }
- GetDistanceFromPoint2D(x, y){
- GetPlayerPos(pos_x, pos_y, pos_z, pos_r)
- return sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
- }
- +t::
- ~T::
- Suspend On
- Hotkey, Enter, On
- Hotkey, Escape, On
- Hotkey, t, Off
- if(SpeedCheckStatus == 1)
- {
- Send {backspace}
- Send {backspace}
- }
- return
- ~NumpadEnter::
- ~Enter::
- Suspend Permit
- Suspend Off
- 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
- SynchronizeLaptop(Integer)
- {
- if(!integer)
- {
- HotKey, !^0, off
- HotKey, !^1, off
- HotKey, !^2, off
- HotKey, !^3, off
- HotKey, !^4, off
- HotKey, !^5, off
- HotKey, !^6, off
- HotKey, !^7, off
- HotKey, !^8, off
- HotKey, !^9, off
- HotKey, !1, off
- HotKey, !2, off
- HotKey, !3, off
- HotKey, !4, off
- HotKey, !5, off
- HotKey, !6, off
- HotKey, !7, off
- HotKey, !8, off
- HotKey, !9, off
- HotKey, ^0, off
- HotKey, ^1, off
- HotKey, ^2, off
- HotKey, ^3, off
- HotKey, ^4, off
- HotKey, ^5, off
- HotKey, ^6, off
- HotKey, ^7, off
- HotKey, ^8, off
- HotKey, ^9, off
- HotKey, +, off
- HotKey, !+, off
- }
- else
- {
- HotKey, !^0, on
- HotKey, !^1, on
- HotKey, !^2, on
- HotKey, !^3, on
- HotKey, !^4, on
- HotKey, !^5, on
- HotKey, !^6, on
- HotKey, !^7, on
- HotKey, !^8, on
- HotKey, !^9, on
- HotKey, !1, on
- HotKey, !2, on
- HotKey, !3, on
- HotKey, !4, on
- HotKey, !5, on
- HotKey, !6, on
- HotKey, !7, on
- HotKey, !8, on
- HotKey, !9, on
- HotKey, ^0, on
- HotKey, ^1, on
- HotKey, ^2, on
- HotKey, ^3, on
- HotKey, ^4, on
- HotKey, ^5, on
- HotKey, ^6, on
- HotKey, ^7, on
- HotKey, ^8, on
- HotKey, ^9, on
- HotKey, +, on
- HotKey, !+, on
- }
- return
- }
- PlayerInput(text)
- {
- s := A_IsSuspended
- Suspend On
- KeyWait Enter
- SendInput t^a{backspace}%text%
- Input, var, v, {enter}
- SendInput ^a{backspace}{enter}
- if(!s)
- Suspend Off
- return var
- }
- Systeme:
- IfWinNotActive, GTA:SA:MP
- return
- GetChatLine(0, Line0)
- GetChatLine(1, Line1)
- GetPlayerData()
- GetPlayerName(Name)
- HP := GetPlayerHealth()
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- last_line := A_LoopReadLine
- }
- IfInString, last_line, %Name%'s Handy klingelt
- {
- if(CheckCall = 1)
- {
- Soundplay, %CallSound%
- Sleep 1000
- FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- IfInString, last_line, Sender:
- {
- if not InStr(last_line, "Sender: " Name)
- {
- if(CheckSMS = 1)
- {
- Soundplay, %SMSsound%
- Sleep 1000
- FileAppend, Zeile fur Keybinder ,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- }
- If (InStr(Line0, "benötigt verstärkung in") || InStr(Line1, "benötigt verstärkung in"))
- {
- If(CheckBK = 1)
- {
- SoundPlay, %BKsound%
- }
- }
- If (InStr(Line0, "WARNUNG: Hör auf zu Spamen, sonst wirst du gekickt!") || InStr(Line1, "WARNUNG: Hör auf zu Spamen, sonst wirst du gekickt!"))
- {
- BlockChatInput()
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}AntiSpamKick System {00FF00}aktiv{00FF00}.")
- Sleep, 1500
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}AntiSpamKick System {FF0000}inaktiv{FF0000}.")
- UnblockChatInput()
- }
- If (InStr(Line0, "Der Gesprächspartner hat aufgelegt"))
- {
- Soundplay, avixa.avi
- }
- if(CheckLowHP = 1)
- {
- if(LowHPsoundan = 0)
- {
- if(HP < 47.0 && HP != -1)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FF0000}WARNUNG: {FFFFFF}Du hast nur noch {FFA000}" GetPlayerHealth() " HP{FFFFFF}. Heil dich schnell!")
- SoundPlay, %LowHPsound%
- LowHPsoundan := 1
- }
- }
- }
- if(LowHPsoundan = 1)
- {
- if(HP > 47)
- {
- LowHPsoundan := 0
- SoundPlay, avixa.avi
- }
- }
- if(HP == 0)
- {
- bkon = 0
- }
- If (InStr(Line0, "|=================||============||=================|") || InStr(Line1, "|=================||============||=================|"))
- {
- if(InStr(Line0, "|Gehaltscheck|"))
- {
- return
- }
- Loop
- {
- GetChatLine(A_Index - 1, chat)
- if(InStr(chat, "KFZ Steuer:"))
- {
- RegExMatch(chat, "KFZ Steuer: -(.*)\$", kfz)
- }
- if(InStr(chat, "Lohn: "))
- {
- RegExMatch(chat, "Lohn: (.*)\$ Miete: -(.*)\$ Lohnsteuer: -(.*)\$", rest)
- }
- if(InStr(chat, "Stromrechnung: "))
- {
- RegExMatch(chat, "Stromrechnung: -(.*)\$", strom)
- }
- if(Instr(chat, "|================| Gehalts-Check |================|"))
- {
- break
- }
- }
- Gehalt=%rest1%
- Gehalt-=%rest2%
- Gehalt-=%rest3%
- Gehalt-=%kfz1%
- Gehalt-=%strom1%
- AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Gehaltscheck| {FFFFFF}" . Gehalt . "$")
- }
- if(SpeedCheckStatus == "1")
- {
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- GetPlayerData()
- VehSpeed := GetVehicleSpeed()
- if(IsPlayerDriver() == 1)
- {
- if (VehSpeed <= VehSpeedMax)
- {
- SendInput, {W Down}
- }
- else if (VehSpeed > VehSpeedMax)
- {
- SendInput, {W Up}
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges. Der Tempomat wurde deaktiviert.")
- SpeedCheckStatus := "0"
- SpeedOnOff := "0"
- Sleep, 250
- SendInput {W up}
- }
- }
- if(InStr(Line0,"Der Spieler befindet sich in Gebäudekomplex"))
- {
- RegExMatch(Line0,"Der Spieler befindet sich in Gebäudekomplex (.*)", params)
- if(params1 != altergk)
- {
- getgk = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/gk/getalldata.php?gkID=%params1%
- success := UrlDownloadToVar(getgk)
- StringTrimLeft success, success, 1
- altergk := params1
- if(success == 2)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}{FF0000}Nicht gefunden")
- }
- else if(success == 3)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Zahl vorausgesetzt")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FF0000}Gebäudekomplex " params1 ":")
- Loop, Parse, success, ~
- {
- AddChatMessage(0xFFFFFF,A_LoopField)
- }
- }
- }
- }
- if(InStr(Line1,"Der Spieler befindet sich in Gebäudekomplex"))
- {
- RegExMatch(Line1,"Der Spieler befindet sich in Gebäudekomplex (.*)", params)
- if(params1 != altergk)
- {
- getgk = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/gk/getalldata.php?gkID=%params1%
- success := UrlDownloadToVar(getgk)
- StringTrimLeft success, success, 1
- altergk := params1
- if(success == 2)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}{FF0000}Nicht gefunden")
- }
- else if(success == 3)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Zahl vorausgesetzt")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FF0000}Gebäudekomplex " params1 ":")
- Loop, Parse, success, ~
- {
- AddChatMessage(0xFFFFFF,A_LoopField)
- }
- }
- }
- }
- return
- Partner:
- countdown--
- if(countdown == 0)
- {
- SetTimer, Partner, off
- }
- else
- {
- GetChatLine(0, ChatLine0)
- GetChatLine(1, ChatLine1)
- GetPlayerName(name)
- if(InStr(ChatLine0, "wurde verhaftet, Eingesperrt. Haftzeit: "))
- {
- IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
- if(InStr(ChatLine1, "" . name . " hat den Auftrag ausgeführt."))
- {
- SetTimer, Partner, off
- RegExMatch(ChatLine0, "wurde verhaftet, Eingesperrt. Haftzeit: (.*) Minuten, Geldstrafe: 0\$.", zeit)
- if(zeit1 > 56)
- {
- Wanted = 56
- }
- else
- {
- Wanted = %zeit1%
- }
- Wanted /= 4
- Wanted *= 750
- Geld = %Wanted%
- Geld *= %Steuersatz%
- Geld := Floor(Geld)
- if(Partner1 > -1 && Partner2 > -1)
- {
- Geld /= 3
- Geld := Floor(Geld)
- SendChat("/pay " . Partner1 . " " . Geld . "")
- SendChat("/pay " . Partner2 . " " . Geld . "")
- }
- else if(Partner1 > -1 && Partner2 == -1)
- {
- Geld /= 2
- Geld := Floor(Geld)
- SendChat("/pay " . Partner1 . " " . Geld . "")
- }
- else if(Partner1 == -1 && Partner2 > -1)
- {
- Geld /= 2
- Geld := Floor(Geld)
- SendChat("/pay " . Partner2 . " " . Geld . "")
- }
- }
- Sleep 200
- }
- }
- return
- CheckHealth:
- HP := GetPlayerHealth()
- if(HP > 30)
- {
- LowHPsoundan := 0
- SetTimer, CheckHealth, off
- SoundPlay, avixa.avi
- }
- return
- :?:/afind::
- Suspend Permit
- Suspend On
- SendInput, /find{space}
- Input, AID, V I M,{enter}
- Send {enter}
- SetTimer, Find, 6000
- Suspend Off
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Das automatische Suchen können Sie mit der Taste '<' deaktivieren.")
- return
- :?:/af::
- Suspend Permit
- Suspend On
- SendInput, /find{space}
- Input, AID, V I M,{enter}
- Send {enter}
- SetTimer, Find, 6000
- Suspend Off
- return
- Find:
- SendChat("/find " . AID)
- return
- :?:/ashowpos::
- Suspend Permit
- Suspend On
- SendInput, /showpos{space}
- Input, AID, V I M,{enter}
- Send {enter}
- SetTimer, Show, 6000
- Suspend Off
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Das automatische Zeigen können Sie mit der Taste '<' deaktivieren.")
- return
- :?:/as::
- Suspend Permit
- Suspend On
- SendInput, /showpos{space}
- Input, AID, V I M,{enter}
- Send {enter}
- SetTimer, Show, 6000
- Suspend Off
- return
- Show:
- SendChat("/showpos " . AID)
- return
- :?:/pos::
- Suspend Permit
- if(Fahrer > -1)
- {
- Fahrer := Fahrer
- }
- else if(Partner1 > -1)
- {
- Fahrer := Partner1
- }
- else if(Partner2 > -1)
- {
- Fahrer := Partner2
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Es ist kein Partner / Fahrer eingetragen.")
- return
- }
- Suspend On
- SendInput, /showpos %Fahrer%{space}
- Input, SID, V I M,{enter}
- Send {enter}
- SetTimer, PShow, 6000
- Suspend Off
- return
- PShow:
- SendChat("/showpos " . Fahrer . " " SID "")
- return
- :?:/fahrer::
- Suspend Permit
- if(Fahrer == -1)
- {
- SendInput, Gebe die ID deines Fahrers ein:{Space}
- Input, caID, V I M,{Enter}
- SendInput {end}+{home}{Del}{Esc}
- Fahrer=%caID%
- GetPlayerData()
- GetPlayerNameById(caID, fahrername)
- if(fahrername == -1)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Dieser Spieler ist nicht Online.")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}" . fahrername . " wurde als Fahrer eingetragen.")
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Fahrer wurde entfernt.")
- Fahrer=-1
- }
- return
- <::
- SetTimer, Find, Off
- SetTimer, Show, Off
- SetTimer, PShow, Off
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Automatische Suchsysteme deaktiviert.")
- return
- flucht:
- GetPlayerData()
- fluchtName := ""
- if(Is Number %fluchtID%)
- {
- GetPlayerNameByID(fluchtID, fluchtName)
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du darfst nun wieder einen Flucht-Wanted bei " . fluchtName . " vergeben, sofern du ihn noch verfolgst.")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du darfst nun wieder einen Flucht-Wanted bei " . fluchtID . " vergeben, sofern du ihn noch verfolgst.")
- }
- fluchtID := -1
- SetTimer, flucht, off
- return
- ~LControl & ~t::
- Suspend Permit
- If (IsPlayerinAnyVehicle() == 0)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug!")
- return
- }
- If (IsPlayerDriver() == 0)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist nicht der Fahrer!")
- return
- }
- SpeedOnOff := !SpeedOnOff
- if(SpeedOnOff == 1)
- {
- VehSpeedMax := GetVehicleSpeed()
- SpeedCheckStatus := "1"
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
- }
- else
- {
- SpeedCheckStatus := "0"
- Sleep, 250
- SendInput {W up}
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
- SendInput {W Up}
- VehSpeedMax := 0
- }
- return
- :?:/tempo::
- Suspend Permit
- If (IsPlayerinAnyVehicle() == 0)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug!")
- return
- }
- If (IsPlayerDriver() == 0)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist nicht der Fahrer!")
- return
- }
- tempo := PlayerInput("Bitte gebe deine gewünschte Geschwindigkeit an: ")
- VehSpeedMax := tempo
- SpeedCheckStatus := "1"
- SpeedOnOff := "1"
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
- return
- ~W::
- ~S::
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- if (SpeedCheckStatus == 1)
- {
- SpeedCheckStatus := "0"
- SpeedOnOff := "0"
- Sleep, 250
- SendInput {W up}
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
- SendInput {W Up}
- VehSpeedMax := 0
- }
- return
- :?:/kcall::
- Suspend Permit
- pinput := PlayerInput("Name: ")
- Sleep, 250
- SendChat("/number " . pinput . "")
- Loop,
- {
- GetChatLine(0, line)
- if(InStr(line, "Name: "))
- {
- RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
- SendChat("/call " . Output2)
- return
- }
- else If(InStr(line, "Diesen Spieler gibt es nicht!"))
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Anruf fehlgeschlagen!")
- return
- }
- else
- {
- continue
- }
- }
- return
- :?:/ksms::
- Suspend Permit
- pinput := PlayerInput("Name: ")
- SendChat("/number " . pinput . "")
- Loop,
- {
- GetChatLine(0, line)
- if(InStr(line, "Name: "))
- {
- RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
- SendInput, t/sms %Output2%{space}
- return
- }
- else If(InStr(line, "Diesen Spieler gibt es nicht!"))
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Versendung nicht möglich!")
- return
- }
- else
- {
- continue
- }
- }
- return
- :?:/p::
- Suspend Permit
- SendChat("/p")
- SoundPlay, avixa.avi
- return
- :?:/pickup::
- Suspend Permit
- SendChat("/p")
- SoundPlay, avixa.avi
- return
- :?:/hp::
- Suspend Permit
- SendChat("/cooked")
- Sleep 250
- GetChatLine(5, fish1)
- GetChatLine(4, fish2)
- GetChatLine(3, fish3)
- GetChatLine(2, fish4)
- GetChatLine(1, fish5)
- RegExMatch(fish1, "\*\* \(1\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch1_)
- RegExMatch(fish2, "\*\* \(2\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch2_)
- RegExMatch(fish3, "\*\* \(3\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch3_)
- RegExMatch(fish4, "\*\* \(4\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch4_)
- RegExMatch(fish5, "\*\* \(5\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch5_)
- HP1 = %fisch1_2%
- HP1*=0.3
- HP1 := Floor(HP1)
- HP2 = %fisch2_2%
- HP2*=0.3
- HP2 := Floor(HP2)
- HP3 = %fisch3_2%
- HP3*=0.3
- HP3 := Floor(HP3)
- HP4 = %fisch4_2%
- HP4*=0.3
- HP4 := Floor(HP4)
- HP5 = %fisch5_2%
- HP5*=0.3
- HP5 := Floor(HP5)
- Gesamt=0
- Gesamt+=%HP1%
- Gesamt+=%HP2%
- Gesamt+=%HP3%
- Gesamt+=%HP4%
- Gesamt+=%HP5%
- AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch1_1 . " (" . fisch1_2 . " LBS) - {FFA000} " . HP1 . " HP")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch2_1 . " (" . fisch2_2 . " LBS) - {FFA000} " . HP2 . " HP")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch3_1 . " (" . fisch3_2 . " LBS) - {FFA000} " . HP3 . " HP")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch4_1 . " (" . fisch4_2 . " LBS) - {FFA000} " . HP4 . " HP")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch5_1 . " (" . fisch5_2 . " LBS) - {FFA000} " . HP5 . " HP")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}-----------------------------------------------")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}Gesamt: {FFA000}" . Gesamt . " HP")
- return
- :?:/fg::
- Suspend Permit
- SendChat("/festgeld 1250000")
- return
- :?:/sani::
- Suspend Permit
- SendChat("/accept Paket")
- return
- :?:/tanken::
- Suspend Permit
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
- return
- }
- if(GetVehicleEngineState() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- return
- :?:/sb::
- Suspend Permit
- id := PlayerInput("/showbadge ")
- SendChat("/showbadge " id)
- return
- ~1::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- SendChat("/motor")
- Sleep, 2600
- if(GetVehicleLightState() == 0 && GetVehicleEngineState() == 1)
- {
- SendChat("/licht")
- }
- IniRead, Lock, settings.ini, Daten, Lock
- if(Lock = 1)
- {
- if(IsPlayerDriver() == 1)
- {
- if(GetVehicleEngineState() == 1)
- {
- if(GetVehicleLockState() == 0)
- {
- SendChat("/lock")
- }
- }
- }
- }
- }
- return
- ~+1::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- SendChat("/licht")
- }
- return
- ~F::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Lock, settings.ini, Daten, Lock
- if(Lock = 1)
- {
- if(IsPlayerInAnyVehicle() == "0")
- {
- Loop,
- if(IsPlayerDriver() == 1)
- {
- Sleep, 250
- if(GetVehicleLockState() == 0)
- {
- SendChat("/lock")
- return
- }
- }
- }
- else
- {
- if(IsPlayerDriver() == 1)
- {
- if (GetVehicleEngineState() == 1)
- {
- SendChat("/motor")
- Sleep 700
- Send F
- return
- }
- return
- }
- }
- }
- return
- ~Y::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- SendChat("/lock")
- }
- return
- !Y::
- SendChat("/eat " . fischers . "")
- fischers++
- if(fischers == "6")
- {
- fischers=1
- }
- return
- !X::
- GetPlayerName(Name)
- if(Name != "MrPacific")
- {
- SendChat("/erstehilfe")
- }
- return
- :?:/info::
- Suspend Permit
- GetPlayerData()
- GetCityName(city)
- GetZoneName(zone)
- GetPlayerName(Name)
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Spieler-Information von " Name ":")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}HP: {FFBB00}" GetPlayerHealth() "{FFFFFF}, Standort: {FFBB00}" zone ", " city "{FFFFFF}, ID: {FFBB00}" GetPlayerID() "{FFFFFF}, Ping: {FFBB00}" GetPlayerPing() "{FFFFFF}.")
- if (IsPlayerInAnyVehicle() == 1)
- {
- Model := GetVehicleModel()
- GetVehicleName(Model, Fahrzeug)
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fahrzeug-Information für das Fahrzeug {FFBB00}" Fahrzeug "{FFFFFF}:")
- if(GetVehicleSecondColor() != -1)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Farbe: {FFBB00}"GetVehicleFirstColor() "{FFFFFF}/{FFBB00}" GetVehicleSecondColor() "{FFFFFF}, CarDL: {FFBB00}" GetVehicleHealth() "{FFFFFF}.")
- }
- else
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Farbe: {FFBB00}"GetVehicleFirstColor() "{FFFFFF}, CarDL: {FFBB00}" GetVehicleHealth() "{FFFFFF}.")
- }
- return
- :?:/an::
- Suspend Permit
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if InStr(A_LoopReadLine, "Dein Handy klingelt. Tippe /pickup. Anrufer-ID: ")
- {
- RegExMatch(A_LoopReadLine, "Dein Handy klingelt\. Tippe /pickup\. Anrufer\-ID\: (.*)", var)
- }
- }
- SendChat("/p")
- SoundPlay, avixa.avi
- if(var1 == "" || var1 == " " || var1 == " " || var1 == "-1")
- {
- var1 := "Sir "
- }
- GetPlayerName(Name)
- StringTrimRight Anrufer, var1, 1
- SendChat("Guten Tag " . Anrufer . ", Sie sprechen mit " . Name ".")
- SendChat("Wie kann ich Ihnen behilflich sein?")
- return
- :?:/ab::
- Suspend Permit
- SoundPlay, xavi.avi
- GetPlayerName(Name)
- SendChat("/p")
- SendChat("Guten Tag, Sie sind verbunden mit dem Anrufbeantworter von " . Name . ".")
- Sleep 1000
- SendChat("Leider habe ich keine Zeit, bitte versuchen Sie es später erneut.")
- Sleep, 1000
- SendChat("Auf Wiederhören.")
- SendChat("/h")
- return
- :?:/jas::
- Suspend Permit
- SendChat("Ja Sir, was kann ich für Sie tun?")
- return
- :?:/danke::
- Suspend Permit
- SendChat("Vielen Dank für Ihren Anruf. Schönen Tag noch.")
- SendChat("/h")
- return
- :?:/tag::
- Suspend Permit
- FormatTime, Uhrzeit,, HH
- if (Uhrzeit >= 12 && Uhrzeit < 20)
- {
- SendChat("Guten Tag, wie kann ich Ihnen behilflich sein?")
- }
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("Guten Abend, wie kann ich Ihnen behilflich sein?")
- }
- if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("Guten Morgen, wie kann ich Ihnen behilflich sein?")
- }
- return
- :?:/bye::
- Suspend Permit
- FormatTime, Uhrzeit,, HH
- if (Uhrzeit >= 12 && Uhrzeit < 20)
- {
- SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
- }
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("Ich wünsche Ihnen noch einen schönen Abend. Auf Wiedersehen.")
- }
- if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
- }
- return
- :?:/on::
- Suspend Permit
- GetPlayerName(Name)
- Titel = ""
- IniRead, Fraktion, settings.ini, Daten, Fraktion
- if(Fraktion == "LSPD" || Fraktion == "LVPD")
- {
- Titel := "Officer"
- SendChat("/d HQ: " Titel " " Name " meldet sich zum Dienst.")
- }
- else if(Fraktion == "FBI")
- {
- Titel := "Agent"
- SendChat("/d HQ: " Titel " " Name " meldet sich zum Dienst.")
- }
- else
- {
- Titel := ""
- SendChat("/d HQ: " Name " meldet sich zum Dienst.")
- }
- SendChat("/hitsound")
- SendChat("/pdmarker")
- Sleep, 850
- SendChat("/tog")
- Sleep, 200
- SendInput {down 5}{enter}
- return
- ~m::
- if (IsMenuOpen() == 0 && IsDialogOpen() == 0 && IsChatOpen() == 0)
- {
- SendChat("/members")
- }
- return
- :?:/savestats::
- Suspend Permit
- FormatTime, StatsZeit, dd.MM.yyyy
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Statistiken werden gespeichert, Datum " StatsZeit)
- SendChat("/time")
- Sleep, 250
- SendChat("/stats")
- Sleep, 250
- Send {F8}
- Sleep, 250
- Send {ESC}
- return
- :?:/relog::
- Suspend Permit
- SendInput /q{enter}
- Sleep 3000
- Suspend Off
- RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\samp, gta_sa_exe
- SplitPath, GTA_SA_EXE,, PFAD
- run %PFAD%\samp.exe 37.187.135.201:7777, %PFAD%
- return
- :?:/fan::
- Suspend Permit
- Fan := PlayerInput("Fan-ID: ")
- GetPlayerData()
- GetPlayerNameById(Fan, name)
- SendChat("/me gibt " name " ein Autogramm.")
- SendChat("/showbadge " Fan "")
- return
- :?:/kochen::
- Suspend Permit
- SendChat("/cook fish 1")
- SendChat("/cook fish 2")
- Sleep 1250
- SendChat("/cook fish 3")
- SendChat("/cook fish 4")
- Sleep 1250
- SendChat("/cook fish 5")
- return
- :?:/cf::
- Suspend Permit
- SendChat("/cook fish 1")
- Sleep,1000
- SendChat("/cook fish 2")
- Sleep,1000
- SendChat("/cook fish 3")
- Sleep,1000
- SendChat("/cook fish 4")
- Sleep,1000
- SendChat("/cook fish 5")
- Sleep,1000
- return
- :?:/re::
- Suspend Permit
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if InStr(A_LoopReadLine, ", Sender: " . Name)
- continue
- {
- if InStr(A_LoopReadLine, ", Sender: ")
- {
- RegExMatch(A_LoopReadLine, ", Sender: .* \((.*)\)" ,SMS)
- }
- }
- }
- SendInput /sms %SMS1%{space}
- return
- :?:/read::
- Suspend Permit
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if InStr(A_LoopReadLine, "Werbung: ")
- {
- RegExMatch(A_LoopReadLine, "Werbung\: (.*)\, (.*) \((.*)\)" ,AD)
- }
- }
- SendInput /sms %AD3%{space}
- return
- ~,::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("Stoppuhr gestartet!")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Um die Stoppuhr zu beenden, drücke '.'")
- zeit=0
- Loop,
- {
- zeit++
- KeyWait, ., D T1
- If !ErrorLevel
- {
- If ( Prüfungszeit < 1000)
- {
- minuten=%zeit%
- minuten/=60
- minuten1=%minuten%
- minuten1*=60
- sekunden=%zeit%
- sekunden-=%minuten1%
- SendChat("Stoppuhr gestoppt. Minute: " . minuten . " Sekunden: " . Sekunden)
- SendChat("Gesamt: " . zeit . " Sekunden")
- break
- }
- }
- }
- return
- :?:/fischen::
- Suspend Permit
- If (IsPlayerinAnyInterior() == 1)
- {
- SendChat("/sell fish 1")
- sleep 500
- SendChat("/sell fish 2")
- sleep 500
- SendChat("/sell fish 3")
- sleep 500
- SendChat("/sell fish 4")
- sleep 500
- SendChat("/sell fish 5")
- sleep 500
- return
- }
- else
- {
- Loop
- {
- SendChat("/fish")
- sleep, 800
- GetChatLine(0, chat)
- if(InStr(chat, "Du bist an keinem Angelplatz (Big Wheel Rods) oder an einem Fischerboot!") || InStr(chat, "Du kannst nur 5 Fische bei dir tragen.") || InStr(chat, "Du kannst momentan nicht Angeln. Bitte warte einige Minuten."))
- {
- Loop 25
- {
- fischges += fisch%A_Index%
- }
- if(fischges > 0)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du würdest für deine Fische {FFBB00}" fischges "{FFFFFF}$ bekommen.")
- fischLBS := fischLBSGesamt / 3
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du würdest mit deinen Fischen {FFBB00}" fischLBS "{FFFFFF} HP generieren.")
- Loop 25
- {
- fisch%A_Index% := 0
- }
- fischges := 0
- fischLBS := 0
- fischLBSGesamt := 0
- }
- break
- }
- if(InStr(chat, "Du hast ein/e ") AND RegExMatch(chat, "Du hast ein/e (.*) mit (.*) LBS gefangen.", chat))
- {
- if(chat1 == "Bernfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 1
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Blauer Fächerfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 2
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Zackenbarsch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 3
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Schwertfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 3
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Roter Schnapper")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 3
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Katzenfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 4
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Forelle")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 5
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Segelfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 7
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Hai")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 7
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Delphin")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 7
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Makrele")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 8
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Hecht")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 9
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Aal")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 9
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Schildkröte")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 10
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Thunfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 12
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Wolfbarsch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 12
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- continue
- }
- }
- }
- return
- :?:/chat::
- Suspend Permit
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- return
- :?:/alotto::
- Suspend Permit
- Random, rand, 1, 200
- SendChat("/lotto " rand)
- return
- ~P::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- GetCityName(city)
- GetZoneName(zone)
- if(GetVehicleID() == -1)
- {
- If (city == "")
- {
- SendChat("/d HQ: Ich befinde mich derzeit in " zone ".")
- }
- else
- {
- SendChat("/d HQ: Ich befinde mich derzeit in " zone ", " city "")
- }
- }
- else
- {
- If (city == "")
- {
- SendChat("/d HQ: Wagen " GetVehicleID() " befindet sich derzeit in " zone ".")
- }
- else
- {
- SendChat("/d HQ: Wagen " GetVehicleID() " befindet sich in " zone ", " city "")
- }
- }
- return
- ^P::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- GetCityName(city)
- GetZoneName(zone)
- if(GetVehicleID() == -1)
- {
- If (city == "")
- {
- SendChat("/r HQ: Ich befinde mich derzeit in " zone ".")
- }
- else
- {
- SendChat("/r HQ: Ich befinde mich derzeit in " zone ", " city "")
- }
- }
- else
- {
- If (city == "")
- {
- SendChat("/r HQ: Wagen " GetVehicleID() " befindet sich derzeit in " zone ".")
- }
- else
- {
- SendChat("/r HQ: Wagen " GetVehicleID() " befindet sich in " zone ", " city "")
- }
- }
- return
- :?:/abholung::
- Suspend Permit
- GetZoneName(MyZone)
- GetCityName(City)
- SendChat("/d HQ: Erbitte Abholung in "MyZone ", " city)
- return
- :?:/kabholung::
- Suspend Permit
- SendChat("/d HQ: Eine Abholung wird nicht mehr benötigt.")
- return
- :?:/beweise::
- Suspend Permit
- SendChat("Haben Sie Beweise dafür, z.B. einen Screenshot?")
- return
- :?:/uc::
- Suspend Permit
- SendInput, /undercover{space}
- return
- :?:/auc::
- Suspend Permit
- Random, skin,1,34
- SendChat("/undercover " skin)
- return
- :?:/vf::
- Suspend Permit
- GetPlayerData()
- GetPlayerName(myName)
- id := PlayerInput("Verbrecher-ID: ")
- GetPlayerNameByID(id, Verbrechername)
- SendChat("/r " myName " verfolgt nun " Verbrechername)
- if(id != "")
- {
- SetTimer, Find,Off
- findid := id
- SendChat("/find " findid)
- SetTimer, Find,6000
- }
- return
- :?:/updatesteuersatz::
- Suspend Permit
- SendCHat("/tax")
- Sleep 250
- GetChatLine(0, noob1)
- RegExMatch(noob1, "{00FF33}Steuerklasse 4: (.*) Prozent", haha)
- Steuersatz=100
- Steuersatz-=%haha1%
- Steuerlappen=0.%Steuersatz%
- IniWrite, %Steuerlappen%, settings.ini, Steuern, Steuersatz
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Steuersatz hat sich auf " . haha1 . " Prozent gesetzt.")
- return
- :?:/settax::
- Suspend Permit
- tax := PlayerInput("Bitte gebe den aktuellen Steuersatz an: ")
- Steuersatz=100
- Steuersatz-=%tax%
- Steuerlappen=0.%Steuersatz%
- IniWrite, %Steuerlappen%, settings.ini, Steuern, Steuersatz
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Steuersatz wurde auf " . tax . " Prozent gesetzt.")
- return
- :?:/partner1::
- Suspend Permit
- if(Partner1 == -1)
- {
- SendInput, Gebe deine Partner ID ein:{Space}
- Input, caID, V I M,{Enter}
- SendInput {end}+{home}{Del}{Esc}
- Partner1=%caID%
- GetPlayerData()
- GetPlayerNameById(caID, partnername)
- if(partnername == -1)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Dieser Spieler ist nicht Online.")
- Partner1 := -1
- }
- else
- {
- SendChat("/d HQ: " . partnername . " wurde als Streifenpartner eingetragen.")
- }
- }
- else
- {
- SendChat("/d HQ: Der Streifenpartner wurde entfernt.")
- Partner1 := -1
- }
- return
- :?:/partner2::
- Suspend Permit
- if(Partner2 == -1)
- {
- SendInput, Gebe deine Partner ID ein:{Space}
- Input, caID, V I M,{Enter}
- SendInput {end}+{home}{Del}{Esc}
- Partner2=%caID%
- GetPlayerData()
- GetPlayerNameById(caID, partnername)
- if(partnername == -1)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Dieser Spieler ist nicht Online.")
- Partner2 := -1
- }
- else
- {
- SendChat("/d HQ: " . partnername . " wurde als Streifenpartner eingetragen.")
- }
- }
- else
- {
- SendChat("/d HQ: Der Streifenpartner wurde entfernt.")
- Partner2 := -1
- }
- return
- :?:/partners::
- Suspend Permit
- GetPlayerData()
- GetPlayerNameByID(Partner1, partnername1)
- GetPlayerNameByID(Partner2, partnername2)
- If(Partner1 > -1)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}1. Streifenpartner: " partnername1 " [ID: " Partner1 "]")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}1. Streifenpartner: / ")
- }
- if(Partner2 > -1)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}2. Streifenpartner: " partnername2 " [ID: " Partner2 "]")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}2. Streifenpartner: / ")
- }
- return
- :?:/wt::
- Suspend Permit
- ID := PlayerInput("Spieler-ID: ")
- if(ID != "" && ID != " ")
- {
- Grund := PlayerInput("Wantedgrund: ")
- if(Grund != "" && Grund != " ")
- {
- SendChat("/d HQ: Bitte ID " ID " Wanteds eintragen, Grund: " Grund ".")
- }
- }
- return
- :?:/kontrolle::
- Suspend Permit
- SendInput, /frisk{Space}
- Input, caID, V I M,{Enter}
- Send {Enter}
- SendChat("/waffen " . caID . "")
- Sleep 2000
- SendChat("/alktest " . caID . "")
- return
- ~k::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- id := PlayerInput("Kontrolle: ")
- SendChat("/frisk " id)
- SendChat("/waffen " id)
- sleep, 1500
- SendChat("/alktest " id)
- return
- :?:/warten::
- Suspend Permit
- SendChat("/l Bitte warten Sie einen Moment, ich überprüfe die Gültigkeit Ihrer Dokumente.")
- return
- :?:/rechte::
- Suspend Permit
- SendChat("Sie haben das Recht zu schweigen. Alles was Sie sagen, kann und wird gegen Sie verwendet werden.")
- Sleep, 1500
- SendChat("Sie haben das Recht einen Verteidiger hinzuziehen.")
- Sleep, 2000
- SendChat("Haben Sie die Rechte verstanden, die ich Ihnen soeben vorgelesen habe?")
- return
- :?:/passieren::
- Suspend Permit
- SendChat("Sie dürfen passieren.")
- SendChat("Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
- return
- ~2::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/l Guten Tag Sir, dürfen wir Sie auf Drogen und Waffenbesitz überprüfen?")
- SendChat("/l Sollten Sie sich weigern, bekommen Sie ein Wanted und werden verhaftet!")
- Sleep, 850
- SendChat("/l Bitte antworten Sie mit 'Ja' oder 'Nein'.")
- return
- ~3::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- id := GetPlayerID()
- SendChat("/l Bitte zeigen Sie mir Ihre Scheine. (/scheine " . id . ")")
- return
- ~4::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("Vielen Dank für Ihre Kooperation.")
- return
- ~5::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/l Steigen Sie bitte aus Ihrem Fahrzeug.")
- return
- ~6::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/l Sie sind vorläufig festgenommen, steigen Sie bitte in das Dienstfahrzeug.")
- return
- ~7::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/l Sie sind vorläufig festgenommen, bitte laufen Sie zu den Zellen des Police Departments.")
- return
- ~8::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/ram")
- return
- ~9::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- id := PlayerInput("Grab: ")
- SendChat("/grab " id)
- return
- ~B::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- SendChat("/uclight")
- }
- return
- ~J::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- SendChat("/policelight")
- }
- return
- ~ä::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendInput t{up}{enter}
- return
- !Numpad1::
- id := PlayerInput("ATK: ")
- SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten")
- SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten")
- return
- !Numpad2::
- FormatTime, Minute, MI, mm
- id:=PlayerInput("Flucht (Minute: " . Minute . "): ")
- SendChat("/su " id " Flucht / Fluchtversuch Min: " . Minute)
- SendChat("/su " id " Flucht / Fluchtversuch Min: " . Minute)
- fluchtID := id
- SetTimer, flucht, 300000
- if(id != "")
- {
- SetTimer, Find , Off
- AID := id
- SendChat("/find " AID)
- SetTimer, Find , 6000
- }
- return
- !Numpad3::
- id := PlayerInput("Verweigerung: ")
- SendChat("/su " id " Verweigerung von Anweisungen")
- return
- !Numpad4::
- id := PlayerInput("BdJ: ")
- SendChat("/su " id " Behinderung der Justiz")
- return
- !Numpad5::
- id := PlayerInput("Materialien: ")
- SendChat("/su " id " Besitz von Materialien")
- SendChat("/su " id " Besitz von Materialien")
- return
- !Numpad6::
- id := PlayerInput("Drogen: ")
- SendChat("/su " id " Verstoß gegen das BtMG")
- SendChat("/su " id " Verstoß gegen das BtMG")
- return
- !Numpad7::
- FormatTime, Minute, MI, mm
- id := PlayerInput("Beihilfe: (Minute: " . Minute . "): ")
- SendChat("/su " id " Beihilfe zur Flucht Min: " . Minute)
- SendChat("/su " id " Beihilfe zur Flucht Min: " . Minute)
- return
- !Numpad8::
- id := PlayerInput("Drogen-/Waffenhandel: ")
- SendChat("/su " id " Illegaler Handel von Drogen / Waffen")
- SendChat("/su " id " Illegaler Handel von Drogen / Waffen")
- return
- !Numpad9::
- id := PlayerInput("Einbruch: ")
- SendChat("/su " id " Unautorisierter Betritt eines Geländes")
- SendChat("/su " id " Unautorisierter Betritt eines Geländes")
- return
- ^Numpad0::
- id := PlayerInput("Rote Ampel missachtet: ")
- SendChat("/punkte " id " 2 Missachtung roter Ampeln")
- return
- ^Numpad1::
- id := PlayerInput("SVG: ")
- SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
- return
- ^Numpad2::
- id := PlayerInput("Falsche Seite: ")
- SendChat("/punkte " id " 2 Fahren auf der falscher Straßenseite")
- return
- ^Numpad3::
- id := PlayerInput("Zu schnell: ")
- SendChat("/punkte " id " 2 Ãœberschreitung der Höchstgeschwindigkeit")
- return
- ^Numpad4::
- id := PlayerInput("Vorfahrt: ")
- SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
- return
- ^Numpad5::
- id := PlayerInput("Abseits: ")
- SendChat("/punkte " id " 2 Fahren abseits der Straße")
- return
- ^Numpad6::
- id := PlayerInput("Ohne Licht: ")
- SendChat("/punkte " id " 1 Fahren ohne Licht")
- return
- ^Numpad7::
- GetZoneName(MyZone)
- id := PlayerInput("Parkverbot: ")
- SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
- return
- ^Numpad8::
- id := PlayerInput("SVB: ")
- SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
- return
- ^Numpad9::
- id := PlayerInput("Alkoholeinfluss: ")
- SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
- return
- ~Numpad0::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, bitte folgen Sie dem Boot<<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen<<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen<<")
- }
- }
- return
- ~Numpad1::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an<<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran<<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran<<")
- }
- }
- return
- ~Numpad2::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot!<<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an!<<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an!<<")
- }
- }
- return
- ~Numpad3::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen!<<")
- return
- ~Numpad4::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug!")
- return
- ~Numpad5::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße!")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße!")
- }
- return
- ~Numpad6::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden!")
- return
- ~Numpad9::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m Verlassen Sie SOFORT dieses Gelände!")
- return
- ~ß::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m Verlassen Sie SOFORT dieses Gebäude!")
- return
- ~Numpad7::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendInput, t/cuff{Space}
- Input, SID, V I M,{Enter}
- Send {Enter}
- SendInput t/frisk %SID%{Enter}
- GetPlayerData()
- GetPlayerNameByID(SID, name)
- if(name != -1)
- {
- if(arrest1 == -1)
- {
- arrest1 := SID
- return
- }
- else if(arrest2 == -1)
- {
- arrest2 := SID
- return
- }
- else if(arrest3 == -1)
- {
- arrest3 := SID
- return
- }
- else if(arrest4 == -1)
- {
- arrest4 := SID
- return
- }
- else if(arrest5 == -1)
- {
- arrest5 := SID
- return
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F2 zum Resetten)")
- return
- }
- }
- return
- ~F2::
- if(IsDialogOpen() == 1 || IsChatOpen() == 1)
- {
- return
- }
- arrest1 := -1
- arrest2 := -1
- arrest3 := -1
- arrest4 := -1
- arrest5 := -1
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Arrestslots zurückgesetzt")
- return
- :?:/uncuff::
- Suspend Permit
- id := PlayerInput("/uncuff ")
- SendChat("/uncuff " id)
- if(arrest1 == id)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == id)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == id)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == id)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == id)
- {
- arrest5 = -1
- return
- }
- return
- ~U::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- id := PlayerInput("/uncuff ")
- SendChat("/uncuff " id)
- if(arrest1 == id)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == id)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == id)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == id)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == id)
- {
- arrest5 = -1
- return
- }
- return
- ^!Numpad7::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- id := PlayerInput("/uncuff ")
- SendChat("/uncuff " id)
- if(arrest1 == id)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == id)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == id)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == id)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == id)
- {
- arrest5 = -1
- return
- }
- return
- ~Numpad8::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- Random, rand, 1, 3
- SendInput, t/arrest %rand%{left 2}
- Input, SID, V I M,{Enter}
- Send {Enter}
- if(Partner1 > -1 || Partner2 > -1)
- {
- Countdown := 200
- SetTimer, Partner, 100
- }
- if(arrest1 == SID)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == SID)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == SID)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == SID)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == SID)
- {
- arrest5 = -1
- return
- }
- return
- ~#::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- Random, rand, 1, 3
- if (arrest1 != -1)
- {
- SendChat("/arrest " arrest1 " " rand "")
- if(Partner1 > -1 || Partner2 > -1)
- {
- Countdown := 200
- SetTimer, Partner, 100
- }
- arrest1 := -1
- Sleep, 1500
- }
- if (arrest2 != -1)
- {
- SendChat("/arrest " arrest2 " " rand "")
- if(Partner1 > -1 || Partner2 > -1)
- {
- Countdown := 200
- SetTimer, Partner, 100
- }
- arrest2 := -1
- Sleep, 1500
- }
- if (arrest3 != -1)
- {
- SendChat("/arrest " arrest3 " " rand "")
- if(Partner1 > -1 || Partner2 > -1)
- {
- Countdown := 200
- SetTimer, Partner, 100
- }
- arrest3 := -1
- Sleep, 1500
- }
- Sleep, 1000
- if (arrest4 != -1)
- {
- SendChat("/arrest " arrest4 " " rand "")
- if(Partner1 > -1 || Partner2 > -1)
- {
- Countdown := 200
- SetTimer, Partner, 100
- }
- arrest4 := -1
- Sleep, 1500
- }
- if (arrest5 != -1)
- {
- SendChat("/arrest " arrest5 " " rand "")
- if(Partner1 > -1 || Partner2 > -1)
- {
- Countdown := 200
- SetTimer, Partner, 100
- }
- arrest1 := -1
- }
- return
- !#::
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Verbrecher in der Arrestliste:")
- if(arrest1 != -1)
- {
- GetPlayerData()
- GetPlayerNameByID(arrest1, name)
- AddChatMessage(0xFFFFFF, name)
- }
- if(arrest2 != -1)
- {
- GetPlayerData()
- GetPlayerNameByID(arrest2, name)
- AddChatMessage(0xFFFFFF, name)
- }
- if(arrest3 != -1)
- {
- GetPlayerData()
- GetPlayerNameByID(arrest3, name)
- AddChatMessage(0xFFFFFF, name)
- }
- if(arrest4 != -1)
- {
- GetPlayerData()
- GetPlayerNameByID(arrest4, name)
- AddChatMessage(0xFFFFFF, name)
- }
- if(arrest5 != -1)
- {
- GetPlayerData()
- GetPlayerNameByID(arrest5, name)
- AddChatMessage(0xFFFFFF, name)
- }
- return
- :?:/rstreife::
- Suspend Permit
- SendChat("/r Suche Streifenpartner.")
- return
- :?:/dstreife::
- Suspend Permit
- SendChat("/d Suche Streifenpartner.")
- return
- ~´::
- if(IsDialogOpen() == 1 || IsChatOpen() == 1)
- {
- return
- }
- GetPlayerName(name)
- GetVehicleID(cId)
- if(cId == -1)
- {
- SendChat("/d HQ: " name " übernimmt den Auftrag.")
- }
- else
- {
- SendChat("/d HQ: Wagen " cId " übernimmt den Auftrag.")
- }
- return
- !´::
- GetPlayerName(name)
- GetVehicleID(cId)
- if(cId == -1)
- {
- SendChat("/d HQ: " name " hat den Auftrag ausgeführt.")
- }
- else
- {
- SendChat("/d HQ: Wagen " cId " hat den Auftrag ausgeführt.")
- }
- return
- :?:/razzia::
- Suspend Permit
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", dies ist eine Razzia! <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", dies ist eine Razzia! <<")
- }
- SendChat("/m >> Nehmen sie SOFORT die Hände hoch oder wir schießen! <<")
- return
- :?:/rz::
- Suspend Permit
- GetPlayerData()
- if(GetPlayerSkin() == 285)
- {
- SendChat("/m >> S.W.A.T., Dies ist eine Razzia! <<")
- SendChat("/m >> Nehmen Sie SOFORT die Hände hoch oder Sie werden erschossen! <<")
- Sleep, 2000
- SendChat("/m >>5<<")
- Sleep, 1000
- SendChat("/m >>4<<")
- Sleep, 1000
- SendChat("/m >>3<<")
- Sleep, 1000
- SendChat("/m >>2<<")
- Sleep, 1000
- SendChat("/m >>1<<")
- Sleep, 1000
- SendChat("/m >>Letzte Warnung!<<")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist nicht im SWAT-Modus.")
- }
- return
- :?:/ruhe::
- Suspend Permit
- SendChat("Sie haben das Recht zu schweigen!")
- SendChat("Später können sie eventuell einen Anwalt gestellt bekommen!")
- return
- :?:/wo::
- Suspend Permit
- SendChat("/d Wo befindet ihr euch und was ist das Problem?")
- return
- :?:/ver::
- Suspend Permit
- SendChat("/d HQ: Habe verstanden.")
- return
- :?:/rver::
- Suspend Permit
- SendChat("/r HQ: Habe verstanden.")
- return
- :?:/go::
- Suspend Permit
- SendChat("/d Einsatzleiter erlaubt Zugriff, GOGOGO!")
- return
- :?:/rgo::
- Suspend Permit
- SendChat("/r Einsatzleiter erlaubt Zugriff, GOGOGO!")
- return
- :?:/afk::
- Suspend Permit
- Zeit := PlayerInput("Zeit: ")
- SendChat("/r Ich melde mich für die nächsten " Zeit " Minuten ab.")
- return
- :?:/tw::
- Suspend Permit
- SendInput, /take Waffen{space}
- return
- :?:/tws::
- Suspend Permit
- SendInput, /take Waffenschein{space}
- return
- :?:/twl::
- Suspend Permit
- SendInput, /take Waffenschein{space}
- return
- :?:/tfl::
- Suspend Permit
- SendInput, /take Flugschein{space}
- return
- :?:/tfs::
- Suspend Permit
- SendInput, /take Flugschein{space}
- return
- :?:/td::
- Suspend Permit
- SendInput, /take Drogen{space}
- return
- :?:/tm::
- Suspend Permit
- SendInput, /take Materialien{space}
- return
- :?:/tall::
- Suspend Permit
- SendInput, /take Waffen{Space}
- Input, SID, V I M,{Enter}
- Send {Enter}
- SendInput t/take Materialien %SID%{Enter}
- Send {Enter}
- SendInput, t/take Drogen %SID%{enter}
- Suspend Off
- return
- :?:/tst::
- Suspend Permit
- id := PlayerInput("Take Strafpunkte: ")
- anzahl := PlayerInput("Anzahl: ")
- SendChat("/licunban " id " points " anzahl)
- return
- ~-::
- if(IsDialogOpen() == 1 || IsChatOpen() == 1){
- return
- }
- id := PlayerInput("/clear ")
- SendChat("/clear " id)
- return
- :?:/op::
- Suspend Permit
- SendInput, /offlinearrest 1{left 2}
- return
- :?:/oa::
- Suspend Permit
- SendInput, /offlinearrest 0{left 2}
- return
- :?:/dp::
- Suspend Permit
- SendInput, /deatharrest 1{left 2}
- return
- :?:/da::
- Suspend Permit
- SendInput, /deatharrest 0{left 2}
- return
- :?:/na::
- Suspend Permit
- SendInput, /su Notruf Missbrauch{left 18}
- Input, caID, V I M,{Enter}
- Send {Enter}
- SendChat("/su " . caID . " Behinderung der Justiz")
- return
- !n::
- id := PlayerInput("Notrufmissbrauch: ")
- SendChat("/su " id " Missbrauch des Notrufs")
- SendChat("/su " id " Behinderung der Justiz")
- return
- !z::
- GetPlayerName(Name)
- if(Name != "MrPacific")
- {
- id := PlayerInput("Zollflucht: ")
- SendChat("/su " id " Zollflucht")
- SendChat("/su " id " Zollflucht")
- }
- return
- :?:/zf::
- Suspend Permit
- SendInput, /su Zollflucht{left 11}
- Input, caID, V I M,{Enter}
- Send {Enter}
- SendChat("/su " . caID . " Zollflucht")
- Sleep 1200
- return
- :?:/zflucht::
- Suspend Permit
- SendInput, /su Zollflucht{left 11}
- Input, caID, V I M,{Enter}
- Send {Enter}
- SendChat("/su " . caID . " Zollflucht")
- Sleep 1200
- return
- :?:/danke::
- Suspend Permit
- SendChat("Vielen Dank für ihren Anruf. Schönen Tag noch.")
- SendChat("/h")
- return
- ^::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- If InStr(A_LoopReadLine, "benötigt einen Streifenwagen in ")
- {
- RegExMAtch(A_LoopReadLine, "/notruf (.*)" , notruf)
- }
- }
- SendInput, t%notruf%{enter}
- return
- :?:/stvo::
- Suspend Permit
- anzahl := 0
- rsn := ""
- anzahl := PlayerInput("Anzahl der möglichen Punkte: ")
- rsn := PlayerInput("Grund: ")
- if(anzahl != 0 && rsn != "")
- {
- ticket := anzahl * 2000
- SendChat("Guten Tag, Sie haben gegen die StVo verstoßen.")
- SendChat("Ihre Vergehen: " rsn)
- SendChat("Möchten Sie ein Ticket in Höhe von " ticket "$ oder " anzahl " Strafpunkte?")
- }
- return
- :?:/fahrt::
- Suspend Permit
- SendChat("/l Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
- return
- LWin::
- SendChat("/wanted")
- return
- LWin & 1::
- SendChat("/wanted ls")
- return
- LWin & 2::
- SendChat("/wanted sf")
- return
- LWin & 3::
- SendChat("/wanted lv")
- return
- End::
- SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
- Sleep 1500
- SendChat(">>5<<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>4<<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>3<<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>2<<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>1<<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- return
- }
- SendChat("Letzte Warnung!")
- Sleep, 2000
- AddChatMessage(0xFFFFFF,"Freigegeben")
- return
- !End::
- SendChat("Sie haben nun folgende Möglichkeiten:")
- Sleep 1000
- SendChat("1. Sie versuchen zu flüchten, erhalten Wanteds und wir wenden Gewalt an.")
- Sleep 1000
- SendChat("2. Sie stellen sich und können einen Anwalt beauftragen.")
- Sleep 1000
- SendChat("3. Sie verweigern, erhalten Wanteds und wir wenden Gewalt an.")
- Sleep 1000
- SendChat("Sie haben die Wahl!")
- return
- !c::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendInput, t/d Zoll schließen bitte{left 16}
- return
- NumpadDiv::
- SendInput, t/zollcontrol zu{left}{left}{left}
- return
- !NumpadDiv::
- SendInput, t/zollcontrol auf{left}{left}{left}{left}
- return
- NumpadMult::
- SendInput, t/gov Die Zollstationen sind zurzeit geschlossen.{left 26}
- return
- !NumpadMult::
- SendInput, t/gov Die Zollstationen sind nicht mehr geschlossen.{left 29}
- return
- NumpadSub::
- SendChat("/auf")
- return
- !NumpadSub::
- SendChat("/zoll")
- return
- NumpadAdd::
- If (IsChatOpen() == 1 || IsDialogOpen() == 1 || IsMenuOpen() == 1){
- SendInput, {%A_ThisHotkey%}
- return
- }
- IIDD := GetPlayerId()
- SendChat("/d HQ: Ich fordere DRINGEND Verstärkung an! (ID: " IIDD ")")
- SendChat("/d HQ: Aktueller Zustand: " GetPlayerHealth() " / " GetPlayerArmor())
- Sleep, 500
- if(bkon == 0)
- {
- SendChat("/bk")
- bkon := 1
- }
- else if(bkon == 1)
- {
- GetCityName(city)
- GetZoneName(zone)
- If (city == "")
- {
- SendChat("/d HQ: Aktueller Standort: " zone ".")
- }
- else
- {
- SendChat("/d HQ: Aktueller Standort " zone ", " city "")
- }
- }
- return
- !NumpadAdd::
- SendChat("/d HQ: Verstärkung wird NICHT mehr benötigt!")
- if(bkon == 1)
- {
- SendChat("/bk")
- bkon := 0
- }
- return
- Pause::
- suspend
- if ( A_IsSuspended )
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du hast den Keybinder {FF0000}pausiert{FF0000}.")
- }
- if ( !A_IsSuspended )
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du hast den Keybinder {00FF00}aktiviert{00FF00}.")
- }
- return
- !^::
- SendChat("/members")
- SendChat("/pdmarker")
- return
- F1::
- SendChat("/tog")
- Sleep, 200
- SendInput {down 5}{enter}
- return
- F3::
- SendChat("/erstehilfe")
- return
- F4::
- SendChat("/ausruesten")
- Sleep 1200
- SendInput, {enter}{enter}
- Sleep, 250
- SendChat("/heal")
- return
- !F4::
- SendChat("/ausruesten")
- Sleep 1200
- SendInput, {enter}{enter}
- return
- ^F4::
- SendChat("/heal")
- return
- ~0::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- id := PlayerInput("Vehicle-ID: ")
- SendChat("/carinfo " id)
- return
- !J::
- id := PlayerInput("Absichtliches Anfahren: ")
- SendChat("/su " id " Absichtliches Anfahren von Personen")
- SendChat("/su " id " Absichtliches Anfahren von Personen")
- return
- !K::
- id := PlayerInput("Fahrzeugdiebstahl: ")
- SendChat("/su " id " Fahrzeugdiebstahl")
- SendChat("/su " id " Fahrzeugdiebstahl")
- return
- !L::
- id := PlayerInput("Staatsfahrzeugdiebstahl: ")
- SendChat("/su " id " Diebstahl von Staatsfahrzeugen")
- SendChat("/su " id " Diebstahl von Staatsfahrzeugen")
- Sleep, 1500
- SendChat("/su " id " Diebstahl von Staatsfahrzeugen")
- SendChat("/su " id " Diebstahl von Staatsfahrzeugen")
- return
- !ö::
- id := PlayerInput("Diebstahl bewaffneter Fahrzeuge: ")
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
- Sleep, 1500
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
- Sleep, 1500
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
- return
- !O::
- id := PlayerInput("Beamtenbeleidigung: ")
- SendChat("/su " id " Beamtenbeleidigung")
- return
- !i::
- id := PlayerInput("Waffengebrauch: ")
- SendChat("/su " id " Waffengebrauch in der Öffentlichkeit")
- SendChat("/su " id " Waffengebrauch in der Öffentlichkeit")
- return
- !p::
- id := PlayerInput("Waffenbesitz: ")
- SendChat("/su " id " Unerlaubter Waffenbesitz")
- SendChat("/su " id " Unerlaubter Waffenbesitz")
- return
- :?:/stvo1::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 2.000$, oder Ihnen wird 1 Strafpunkt eingetragen.")
- return
- :?:/stvo2::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 4.000$, oder Ihnen werden 2 Strafpunkte eingetragen.")
- return
- :?:/stvo3::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 6.000$, oder Ihnen werden 3 Strafpunkte eingetragen.")
- return
- :?:/stvo4::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 8.000$, oder Ihnen werden 4 Strafpunkte eingetragen.")
- return
- :?:/stvo5::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihnen werden 5 Strafpunkte eingetragen.")
- return
- :?:/stvof::
- Suspend Permit
- SendChat("Guten Tag, Sie haben mit Ihrem Flugobjekt gegen die StVO verstoßen. Sie haben folgende Möglichkeiten:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihr Flugschein wird beschlagnahmt.")
- return
- :?:/rb::
- Suspend Permit
- SendChat("/roadblock create")
- return
- :?:/db::
- Suspend Permit
- SendChat("/roadblock delete")
- return
- :?:/dba::
- Suspend Permit
- SendChat("/roadblock deleteall")
- return
- :?:/user::
- Suspend Permit
- UserData := ""
- UserName := PlayerInput("User-Name: ")
- If(UserName!="")
- {
- UserUrl = http://cp.rpg-city.de/api.php?type=level|job|fraction|rank|online|playtime|org|number|money|bank|deposit|kills|deaths|premium|skin&player=%UserName%
- UserData := URLDownloadToVar(UserUrl)
- if(UserData == "Der Spieler existiert nicht.")
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Spieler existiert nicht.")
- return
- }
- If(UserData!="Des Spielers Profil ist privat.")
- {
- RegExMatch(UserData, "level:(.+)\|j", UserLevel)
- RegExMatch(UserData, ".+\|job:(.+)\|f", UserJob)
- RegExMatch(UserData, ".+\|fraction:(.+)\|r", UserFraction)
- RegExMatch(UserData, ".+\|rank:(.)\|o", UserRank)
- RegExMatch(UserData, ".+\|online:(.)\|play", UserOnline)
- RegExMatch(UserData, ".+\|playtime:(.+)\|o", UserPlaytime)
- RegExMatch(UserData, ".+\|org:(.+)\|n", UserOrg)
- RegExMatch(UserData, ".+\|number:(.+)\|m", UserNumber)
- RegExMatch(UserData, ".+\|money:(.+)\|b", UserMoney)
- RegExMatch(UserData, ".+\|bank:(.+)\|dep", UserBank)
- RegExMatch(UserData, ".+\|deposit:(.+)\|k", UserDeposit)
- RegExMatch(UserData, ".+\|kills:(.+)\|d", UserKills)
- RegExMatch(UserData, ".+\|deaths:(.+)\|p", UserDeaths)
- RegExMatch(UserData, ".+\|premium:(.)", UserPremium)
- Gesamt +=UserBank1
- Gesamt += UserMoney1
- Gesamt += UserDeposit1
- Gesamt /=1000
- if(Gesamt>1000)
- {
- Gesamt2 := Gesamt
- Gesamt2 /= 1000
- }
- KD := Userkills1 / UserDeaths1
- KD := Round(KD, 3)
- UserBank1 /= 1000
- UserMoney1 /= 1000
- UserDeposit1 /= 1000
- if(UserPremium1 == 1)
- {
- ShowDialog(0, "Infos über " . UserName . ""," Level: " . UserLevel1 . " `n Spielzeit: " . UserPlaytime1 . " `n Nummer: " . UserNumber1 . " `n `n Fraktion: " . UserFraction1 . " Rank: " . UserRank1 . " `n Job: " . UserJob1 . " `n Organisation: " . UserOrg1 . " `n `n Bargeld: " . UserMoney1 . "k$ `n Konto: " . UserBank1 . "k$ `n Festgeld: " . UserDeposit1 . "k$ `n Gesamt: " . Gesamt . "k$ `n `n Kills: " . UserKills1 . " `n Tode: " . UserDeaths1 . " `n K/D: " . KD . " `n `n {FF6600} Premium ", "Verlassen")
- }
- else
- {
- ShowDialog(0, "Infos über " . UserName . ""," Level: " . UserLevel1 . " `n Spielzeit: " . UserPlaytime1 . " `n Nummer: " . UserNumber1 . " `n `n Fraktion: " . UserFraction1 . " Rank: " . UserRank1 . " `n Job: " . UserJob1 . " `n Organisation: " . UserOrg1 . " `n `n Bargeld: " . UserMoney1 . "k$ `n Konto: " . UserBank1 . "k$ `n Festgeld: " . UserDeposit1 . "k$ `n Gesamt: " . Gesamt . "k$ `n `n Kills: " . UserKills1 . " `n Tode: " . UserDeaths1 . " `n K/D: " . KD . " `n ", "Verlassen")
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Spieler hat sein Profil auf privat gestellt.")
- }
- }
- return
- :?:/water::
- Suspend Permit
- if(watermode == 0)
- {
- watermode := 1
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Wassermodus {33CC00}eingeschaltet")
- SendInput, {ESC}
- }
- else if(watermode == 1)
- {
- watermode := 0
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Wassermodus {FF0000}ausgeschaltet")
- SendInput, {ESC}
- }
- return
- !^0::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, bitte folgen Sie dem Boot<<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen<<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen<<")
- }
- }
- return
- !^1::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an<<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran<<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran<<")
- }
- }
- return
- !^2::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot!<<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an!<<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an!<<")
- }
- }
- return
- !^3::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen!<<")
- return
- !^4::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug!")
- return
- !^5::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße!")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße!")
- }
- return
- !^6::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden!")
- return
- !^9::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m Verlassen Sie SOFORT dieses Gelände!")
- return
- !1::
- id := PlayerInput("ATK: ")
- SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten")
- SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten")
- return
- !2::
- FormatTime, Minute, MI, mm
- id:=PlayerInput("Flucht (Minute: " . Minute . "): ")
- SendChat("/su " id " Flucht / Fluchtversuch Min: " . Minute)
- SendChat("/su " id " Flucht / Fluchtversuch Min: " . Minute)
- fluchtID := id
- SetTimer, flucht, 300000
- if(id != "")
- {
- SetTimer, Find , Off
- AID := id
- SendChat("/find " AID)
- SetTimer, Find , 6000
- }
- return
- !3::
- id := PlayerInput("Verweigerung: ")
- SendChat("/su " id " Verweigerung von Anweisungen")
- return
- !4::
- id := PlayerInput("BdJ: ")
- SendChat("/su " id " Behinderung der Justiz")
- return
- !5::
- id := PlayerInput("Materialien: ")
- SendChat("/su " id " Besitz von Materialien")
- SendChat("/su " id " Besitz von Materialien")
- return
- !6::
- id := PlayerInput("Drogen: ")
- SendChat("/su " id " Verstoß gegen das BtMG")
- SendChat("/su " id " Verstoß gegen das BtMG")
- return
- !7::
- FormatTime, Minute, MI, mm
- id := PlayerInput("Beihilfe: (Minute: " . Minute . "): ")
- SendChat("/su " id " Beihilfe zur Flucht Min: " . Minute)
- SendChat("/su " id " Beihilfe zur Flucht Min: " . Minute)
- return
- !8::
- id := PlayerInput("Drogen-/Waffenhandel: ")
- SendChat("/su " id " Illegaler Handel von Drogen / Waffen")
- SendChat("/su " id " Illegaler Handel von Drogen / Waffen")
- return
- !9::
- id := PlayerInput("Einbruch: ")
- SendChat("/su " id " Unautorisierter Betritt eines Geländes")
- SendChat("/su " id " Unautorisierter Betritt eines Geländes")
- return
- ^0::
- id := PlayerInput("Rote Ampel missachtet: ")
- SendChat("/punkte " id " 2 Missachtung roter Ampeln")
- return
- ^1::
- id := PlayerInput("SVG: ")
- SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
- return
- ^2::
- id := PlayerInput("Falsche Seite: ")
- SendChat("/punkte " id " 2 Fahren auf der falscher Straßenseite")
- return
- ^3::
- id := PlayerInput("Zu schnell: ")
- SendChat("/punkte " id " 2 Ãœberschreitung der Höchstgeschwindigkeit")
- return
- ^4::
- id := PlayerInput("Vorfahrt: ")
- SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
- return
- ^5::
- id := PlayerInput("Abseits: ")
- SendChat("/punkte " id " 2 Fahren abseits der Straße")
- return
- ^6::
- id := PlayerInput("Ohne Licht: ")
- SendChat("/punkte " id " 1 Fahren ohne Licht")
- return
- ^7::
- GetZoneName(MyZone)
- id := PlayerInput("Parkverbot: ")
- SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
- return
- ^8::
- id := PlayerInput("SVB: ")
- SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
- return
- ^9::
- id := PlayerInput("Alkoholeinfluss: ")
- SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
- return
- !^7::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendInput, t/cuff{Space}
- Input, SID, V I M,{Enter}
- Send {Enter}
- SendInput t/frisk %SID%{Enter}
- GetPlayerData()
- GetPlayerNameByID(SID, name)
- if(name != -1)
- {
- if(arrest1 == -1)
- {
- arrest1 := SID
- return
- }
- else if(arrest2 == -1)
- {
- arrest2 := SID
- return
- }
- else if(arrest3 == -1)
- {
- arrest3 := SID
- return
- }
- else if(arrest4 == -1)
- {
- arrest4 := SID
- return
- }
- else if(arrest5 == -1)
- {
- arrest5 := SID
- return
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F2 zum Resetten)")
- return
- }
- }
- return
- !^8::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- Random, rand, 1, 3
- SendInput, t/arrest %rand%{left 2}
- Input, SID, V I M,{Enter}
- Send {Enter}
- if(Partner1 > -1 || Partner2 > -1)
- {
- Countdown := 200
- SetTimer, Partner, 100
- }
- if(arrest1 == SID)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == SID)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == SID)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == SID)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == SID)
- {
- arrest5 = -1
- return
- }
- return
- +::
- If (IsChatOpen() == 1 || IsDialogOpen() == 1 || IsMenuOpen() == 1)
- {
- SendInput, {%A_ThisHotkey%}
- return
- }
- IIDD := GetPlayerId()
- SendChat("/d Ich fordere DRINGEND Verstärkung an! (ID: " IIDD ")")
- SendChat("/d Aktueller Zustand: " GetPlayerHealth() " / " GetPlayerArmor())
- Sleep, 500
- if(bkon == 0)
- {
- SendChat("/bk")
- bkon := 1
- }
- else if(bkon == 1)
- {
- GetCityName(city)
- GetZoneName(zone)
- If (city == "")
- {
- SendChat("/d Aktueller Standort: " zone ".")
- }
- else
- {
- SendChat("/d Aktueller Standort " zone ", " city "")
- }
- }
- return
- !+::
- SendChat("/d Verstärkung wird NICHT mehr benötigt!")
- if(bkon == 1)
- {
- SendChat("/bk")
- bkon := 0
- }
- return
- :?:/gk::
- Suspend Permit
- success := ""
- splitted := ""
- id := PlayerInput("GK ID: ")
- if(id != "")
- {
- getgk = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/gk/getalldata.php?gkID=%id%
- success := UrlDownloadToVar(getgk)
- StringTrimLeft success, success, 1
- if(success == 2)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Nicht gefunden")
- }
- else if(success == 3)
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Zahl vorausgesetzt")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FF0000}Gebäudekomplex " id ":")
- Loop, Parse, success, ~
- {
- AddChatMessage(0xFFFFFF, A_LoopField )
- }
- }
- }
- return
- :?:/hm::
- Suspend Permit
- GetPlayerData()
- hitmen := ""
- hmcounter := 0
- url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/getalldata.php
- hm := UrlDownloadToVar(url)
- Loop, Parse, hm, '
- {
- id := GetPlayerIdByName(A_LoopField)
- if(id != -1)
- {
- hitmen .= "`n{66CC00}" A_LoopField
- hmcounter ++
- }
- else
- {
- hitmen .= "`n{FF0000}" A_LoopField
- }
- }
- hitmen .= "`n`n{FFFFFF}::.Legende.::`n{66CC00}Grün: Online`n{FF0000}Rot: Offline"
- title := "Hitmen online (" hmcounter ")"
- ShowDialog(0,title,hitmen,"OK")
- return
- :?:/toghm::
- Suspend Permit
- if(hmOn == 0)
- {
- SetTimer, UpdateHitmenList, 20000
- hmTD := TextCreate("Arial", 12, false, false)
- TextSetColor(hmTD, 0xFF00E1FF)
- TextSetPos(hmTD, 690, 290)
- url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/getalldata.php
- hm := UrlDownloadToVar(url)
- hitmen := "Hitmen online:`n"
- hmcounter := 0
- Loop, Parse, hm, '
- {
- id := GetPlayerIdByName(A_LoopField)
- if(id != -1)
- {
- hitmen .= "`n" A_LoopField "`t [ID: " id "]"
- }
- }
- TextSetString(hmTD, hitmen)
- TextShow(hmTD)
- hmOn := 1
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Hitmenanzeige {00FF00}eingeschaltet{FFFFFF}.")
- }
- else if(hmOn == 1)
- {
- TextHide(hmTD)
- hmOn := 0
- SetTimer, UpdateHitmenList, off
- TextHide(hmTD)
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Hitmenanzeige {FF0000}ausgeschaltet{FFFFFF}.")
- }
- return
- UpdateHitmenList:
- GetPlayerData()
- hitmen := "Hitmen online:`n"
- hmcounter := 0
- Loop, Parse, hm, '
- {
- id := GetPlayerIdByName(A_LoopField)
- if(id != -1)
- {
- hitmen .= "`n" A_LoopField "`t [ID: " id "]"
- }
- }
- TextSetString(hmTD, hitmen)
- return
- :?:/addhm::
- Suspend Permit
- GetPlayerData()
- GetPlayerName(name)
- if(name == "MrPacific")
- {
- name := PlayerInput("Name: ")
- if(name != "" || name != " ")
- {
- url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/write.php?name=%name%
- success := UrlDownloadToVar(url)
- }
- }
- return
- :?:/addts::
- Suspend Permit
- id := PlayerInput("Name des Spielers: ")
- GetPlayerName(cop)
- criminal := id
- addts = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/addtodesstrafe.php?Name=%criminal%&Cop=%cop%
- if(id != "")
- {
- todesstrafe := 0
- todesstrafe := UrlDownloadToVar(addts)
- SendChat("/d ** " criminal " wurde von " name " auf die Todesstrafenliste hinzugefügt.")
- SendChat("/d ** Er hat ab nun 60 Minuten Todesstrafe.")
- }
- return
- :?:/deletets::
- Suspend Permit
- pName := PlayerInput("Name des Spielers: ")
- if(Name != "")
- {
- deletets = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/deletetodesstrafe.php?Name=%pName%
- success := UrlDownloadToVar(deletets)
- Sleep, 500
- GetPlayerName(Name)
- SendChat("/d ** " pName " wurde von " Name " von der Todesstrafenliste entfernt.")
- SendChat("/d ** Die Todesstrafe wurde ausgeführt.")
- }
- return
- !t::
- GetPlayerData()
- ts := ""
- ts2 := ""
- url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/gettodesstrafen.php
- ts := UrlDownloadToVar(url)
- if(ts = " " || ts = "{FFFFFF} " || ts == " ")
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Aktuell hat keine Person eine Todesstrafe.")
- }
- else
- {
- AddChatMessage(0xFF0000, ".::Aktuelle Todesstrafen::.")
- Loop, Parse, ts, '
- {
- AddChatMessage(0xFFFFFF, A_LoopField)
- id := GetPlayerIdByName(A_LoopField)
- if(id != -1)
- {
- ts2 .= "`n" A_LoopField
- }
- }
- }
- return
- :?:/mystats::
- Suspend Permit
- AddChatMessage(0xFFFFFF, "Das Statistik-System ist derzeit deaktiviert.")
- return
- IsNumeric(number)
- {
- url = http://ni31914_1.vweb14.nitrado.net/Keybinder/files/fbibinder/isnumeric.php?number=%number%
- success := UrlDownloadToVar(url)
- return success
- }
- :?:/auto::
- Suspend Permit
- Fahrzeug := PlayerInput("Model-ID oder Fahrzeugname: ")
- Sleep, 100
- car_id := ""
- car_name := ""
- car_preis := ""
- car_autohaus := ""
- car_kaution := ""
- car_tank := ""
- car_verbrauch := ""
- car_geschwindigkeit := ""
- car_level := ""
- car_tuningwerkstatt := ""
- if(Fahrzeug == 571 || Fahrzeug = "Kart")
- {
- car_id := 571
- car_name := "Kart"
- car_preis := "/"
- car_autohaus := "/"
- car_kaution := "12.000$"
- car_tank := "12 Liter"
- car_verbrauch := "4.5"
- car_geschwindigkeit := "72 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Zweiradtuning"
- }
- else if(Fahrzeug == 487 || Fahrzeug = "Maverick")
- {
- car_id := 487
- car_name := "Maverick"
- car_preis := "750.000$"
- car_autohaus := "Airport LS"
- car_kaution := "/"
- car_tank := "120 Liter"
- car_verbrauch := "35.0"
- car_geschwindigkeit := "135 km/h"
- car_level := "12"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 593 || Fahrzeug = "Dodo")
- {
- car_id := 593
- car_name := "Dodo"
- car_preis := "150.000$"
- car_autohaus := "Airport LS"
- car_kaution := "/"
- car_tank := "80 Liter"
- car_verbrauch := "24.8"
- car_geschwindigkeit := "120 km/h"
- car_level := "6"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 519 || Fahrzeug = "Shamal")
- {
- car_id := 519
- car_name := "Shamal"
- car_preis := "3.000.000$"
- car_autohaus := "Airport LS"
- car_kaution := "/"
- car_tank := "3000 Liter"
- car_verbrauch := "450.0"
- car_geschwindigkeit := "210 km/h"
- car_level := "12"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 461 || Fahrzeug = "PCJ-600" || Fahrzeug = "PCJ600" || Fahrzeug = "PCJ")
- {
- car_id := 461
- car_name := "PCJ-600"
- car_preis := "12.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "11.6"
- car_geschwindigkeit := "125 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 462 || Fahrzeug = "Faggio")
- {
- car_id := 462
- car_name := "Faggio"
- car_preis := "3.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "15 Liter"
- car_verbrauch := "7.5"
- car_geschwindigkeit := "86 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 463 || Fahrzeug = "Freeway")
- {
- car_id := 463
- car_name := "Freeway"
- car_preis := "22.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "111 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 468 || Fahrzeug = "Sanchez")
- {
- car_id := 468
- car_name := "Sanchez"
- car_preis := "16.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "10.8"
- car_geschwindigkeit := "111 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 586 || Fahrzeug = "Wayfarer")
- {
- car_id := 586
- car_name := "Wayfarer"
- car_preis := "10.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "9.8"
- car_geschwindigkeit := "111 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 581 || Fahrzeug = "BF-400" || Fahrzeug = "BF" || Fahrzeug = "BF 400" || Fahrzeug = "BF400")
- {
- car_id := 581
- car_name := "BF-400"
- car_preis := "14.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "10.0"
- car_geschwindigkeit := "117 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 522 || Fahrzeug = "NRG-500" || Fahrzeug = "NRG" || Fahrzeug = "NRG 500" || Fahrzeug = "NRG500")
- {
- car_id := 522
- car_name := "NRG-500"
- car_preis := "50.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "21.1"
- car_geschwindigkeit := "136 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 481 || Fahrzeug = "BMX")
- {
- car_id := 481
- car_name := "BMX"
- car_preis := "1.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "3 Liter"
- car_verbrauch := "0.0"
- car_geschwindigkeit := "74 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 521 || Fahrzeug = "FCR-900" || Fahrzeug = "FCR" || Fahrzeug = "FCR900" || Fahrzeug = "FCR 900")
- {
- car_id := 521
- car_name := "FCR-900"
- car_preis := "14.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "14.1"
- car_geschwindigkeit := "125 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 506 || Fahrzeug = "Super GT" || Fahrzeug = "SuperGT")
- {
- car_id := 506
- car_name := "Super GT"
- car_preis := "250.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.8"
- car_geschwindigkeit := "139 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 560 || Fahrzeug = "Sultan")
- {
- car_id := 560
- car_name := "Sultan"
- car_preis := "85.000$"
- car_autohaus := "Grottis"
- car_kaution := "5.0000$"
- car_tank := "50 Liter"
- car_verbrauch := "16.7"
- car_geschwindigkeit := "131 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 559 || Fahrzeug = "Jester")
- {
- car_id := 559
- car_name := "Jester"
- car_preis := "200.000$"
- car_autohaus := "Grottis"
- car_kaution := "6.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.1"
- car_geschwindigkeit := "138 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 541 || Fahrzeug = "Bullet")
- {
- car_id := 541
- car_name := "Bullet"
- car_preis := "225.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "18.2"
- car_geschwindigkeit := "157 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 451 || Fahrzeug = "Turismo")
- {
- car_id := 451
- car_name := "Turismo"
- car_preis := "325.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "21.1"
- car_geschwindigkeit := "150 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 415 || Fahrzeug = "Cheetah")
- {
- car_id := 415
- car_name := "Cheetah"
- car_preis := "250.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.6"
- car_geschwindigkeit := "149 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 411 || Fahrzeug = "Infernus")
- {
- car_id := 411
- car_name := "Infernus"
- car_preis := "350.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "24.2"
- car_geschwindigkeit := "172 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 402 || Fahrzeug = "Buffalo")
- {
- car_id := 402
- car_name := "Buffalo"
- car_preis := "225.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.3"
- car_geschwindigkeit := "144 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 429 || Fahrzeug = "Banshee")
- {
- car_id := 429
- car_name := "Banshee"
- car_preis := "200.000$"
- car_autohaus := "Grottis"
- car_kaution := "6.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "19.2"
- car_geschwindigkeit := "156 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 602 || Fahrzeug = "Alpha")
- {
- car_id := 602
- car_name := "Alpha"
- car_preis := "250.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.2"
- car_geschwindigkeit := "131 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 576 || Fahrzeug = "Tornado")
- {
- car_id := 576
- car_name := "Tornado"
- car_preis := "12.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 575 || Fahrzeug = "Broadway")
- {
- car_id := 575
- car_name := "Broadway"
- car_preis := "8.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 567 || Fahrzeug = "Savanna")
- {
- car_id := 567
- car_name := "Savanna"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "134 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 536 || Fahrzeug = "Blade")
- {
- car_id := 536
- car_name := "Blade"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.1"
- car_geschwindigkeit := "134 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 535 || Fahrzeug = "Slamvan")
- {
- car_id := 535
- car_name := "Slamvan"
- car_preis := "18.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 534 || Fahrzeug = "Remington")
- {
- car_id := 534
- car_name := "Remington"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "131 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 518 || Fahrzeug = "Buccaneer")
- {
- car_id := 518
- car_name := "Buccaneer"
- car_preis := "14.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 419 || Fahrzeug = "Esperanto")
- {
- car_id := 419
- car_name := "Esperanto"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "115 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 412 || Fahrzeug = "Voodoo")
- {
- car_id := 412
- car_name := "Voodoo"
- car_preis := "10.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "14.1"
- car_geschwindigkeit := "131 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 545 || Fahrzeug = "Hustler")
- {
- car_id := 545
- car_name := "Hustler"
- car_preis := "12.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "114 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 496 || Fahrzeug = "Blista Compact" || Fahrzeug = "Blista")
- {
- car_id := 496
- car_name := "Blista Compact"
- car_preis := "4.000$"
- car_autohaus := "Intercars"
- car_kaution := "3.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "10.8"
- car_geschwindigkeit := "126 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 480 || Fahrzeug = "Comet")
- {
- car_id := 400
- car_name := "Comet"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "18.2"
- car_geschwindigkeit := "143 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 562 || Fahrzeug = "Elegy")
- {
- car_id := 562
- car_name := "Elegy"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "18.2"
- car_geschwindigkeit := "143 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 579 || Fahrzeug = "Huntley")
- {
- car_id := 579
- car_name := "Huntley"
- car_preis := "24.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "50 Liter"
- car_verbrauch := "16.2"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 500 || Fahrzeug = "Mesa")
- {
- car_id := 500
- car_name := "Mesa"
- car_preis := "28.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.5"
- car_geschwindigkeit := "109 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 418 || Fahrzeug = "Moonbeam")
- {
- car_id := 418
- car_name := "Moonbeam"
- car_preis := "20.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "50 Liter"
- car_verbrauch := "15.6"
- car_geschwindigkeit := "89 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 549 || Fahrzeug = "Tampa")
- {
- car_id := 549
- car_name := "Tampa"
- car_preis := "4.600$"
- car_autohaus := "Intercars"
- car_kaution := "3.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "119 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 422 || Fahrzeug = "Bobcat")
- {
- car_id := 422
- car_name := "Bobcat"
- car_preis := "18.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "45 Liter"
- car_verbrauch := "14.8"
- car_geschwindigkeit := "108 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 482 || Fahrzeug = "Burrito")
- {
- car_id := 482
- car_name := "Burrito"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.2"
- car_geschwindigkeit := "121 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 516 || Fahrzeug = "Nebula")
- {
- car_id := 516
- car_name := "Nebula"
- car_preis := "12.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 603 || Fahrzeug = "Phoenix")
- {
- car_id := 603
- car_name := "Phoenix"
- car_preis := "28.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "14.1"
- car_geschwindigkeit := "133 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 401 || Fahrzeug = "Bravura")
- {
- car_id := 401
- car_name := "Bravura"
- car_preis := "7.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "114 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 467 || Fahrzeug = "Oceanic")
- {
- car_id := 467
- car_name := "Oceanic"
- car_preis := "16.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "109 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 426 || Fahrzeug = "Premier")
- {
- car_id := 426
- car_name := "Premier"
- car_preis := "20.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.3"
- car_geschwindigkeit := "134 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 405 || Fahrzeug = "Sentinel")
- {
- car_id := 405
- car_name := "Sentinel"
- car_preis := "14.900$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 445 || Fahrzeug = "Admiral")
- {
- car_id := 445
- car_name := "Admiral"
- car_preis := "12.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 507 || Fahrzeug = "Elegant")
- {
- car_id := 507
- car_name := "Elegant"
- car_preis := "20.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "128 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 475 || Fahrzeug = "Sabre")
- {
- car_id := 475
- car_name := "Sabre"
- car_preis := "22.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "134 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 421 || Fahrzeug = "Washington")
- {
- car_id := 421
- car_name := "Washington"
- car_preis := "21.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.3"
- car_geschwindigkeit := "119 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 527 || Fahrzeug = "Cadrona")
- {
- car_id := 527
- car_name := "Cadrona"
- car_preis := "11.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "115 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 550 || Fahrzeug = "Sunrise")
- {
- car_id := 550
- car_name := "Sunrise"
- car_preis := "14.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "112 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 580 || Fahrzeug = "Stafford")
- {
- car_id := 580
- car_name := "Stafford"
- car_preis := "18.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.6"
- car_geschwindigkeit := "118 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 492 || Fahrzeug = "Greenwood")
- {
- car_id := 492
- car_name := "Greenwood"
- car_preis := "7.500$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.6"
- car_geschwindigkeit := "109 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 474 || Fahrzeug = "Hermes")
- {
- car_id := 474
- car_name := "Hermes"
- car_preis := "15.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.3"
- car_geschwindigkeit := "115 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 542 || Fahrzeug = "Clover")
- {
- car_id := 542
- car_name := "Clover"
- car_preis := "5.000$"
- car_autohaus := "Ottos"
- car_kaution := "3.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "10.1"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 531 || Fahrzeug = "Tractor" || Fahrzeug = "Traktor")
- {
- car_id := 531
- car_name := "Tractor"
- car_preis := "25.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "25 Liter"
- car_verbrauch := "7.5"
- car_geschwindigkeit := "54 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 578 || Fahrzeug = "DFT-30" || Fahrzeug = "DFT" || Fahrzeug = "DFT 30" || Fahrzeug = "DFT30")
- {
- car_id := 578
- car_name := "DFT-30"
- car_preis := "70.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "12.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.2"
- car_geschwindigkeit := "101 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 404 || Fahrzeug = "Perennial")
- {
- car_id := 404
- car_name := "Perennial"
- car_preis := "8.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "103 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 478 || Fahrzeug = "Walton")
- {
- car_id := 478
- car_name := "Walton"
- car_preis := "8.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "14.1"
- car_geschwindigkeit := "91 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 529 || Fahrzeug = "Willard")
- {
- car_id := 529
- car_name := "Willard"
- car_preis := "8.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.6"
- car_geschwindigkeit := "115 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 554 || Fahrzeug = "Yosemite")
- {
- car_id := 554
- car_name := "Yosemite"
- car_preis := "18.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "111 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 446 || Fahrzeug = "Squallo" || Fahrzeug = "Squalo")
- {
- car_id := 446
- car_name := "Squalo"
- car_preis := "500.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "70 Liter"
- car_verbrauch := "19.2"
- car_geschwindigkeit := "180 km/h"
- car_level := "6"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 454 || Fahrzeug = "Tropic")
- {
- car_id := 454
- car_name := "Tropic"
- car_preis := "750.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "70 Liter"
- car_verbrauch := "22.3"
- car_geschwindigkeit := "99 km/h"
- car_level := "12"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 493 || Fahrzeug = "Jetmax")
- {
- car_id := 493
- car_name := "Jetmax"
- car_preis := "500.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "60 Liter"
- car_verbrauch := "19.1"
- car_geschwindigkeit := "130 km/h"
- car_level := "6"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 452 || Fahrzeug = "Speeder")
- {
- car_id := 452
- car_name := "Speeder"
- car_preis := "500.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "70 Liter"
- car_verbrauch := "19.5"
- car_geschwindigkeit := "130 km/h"
- car_level := "6"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 473 || Fahrzeug = "Dinghy")
- {
- car_id := 473
- car_name := "Dinghy"
- car_preis := "25.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "9.8"
- car_geschwindigkeit := "83 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 458 || Fahrzeug = "Solair")
- {
- car_id := 458
- car_name := "Solair"
- car_preis := "16.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 561 || Fahrzeug = "Stratum")
- {
- car_id := 561
- car_name := "Stratum"
- car_preis := "16.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "119 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 424 || Fahrzeug = "BF Injection" || Fahrzeug = "bfinjection" || Fahrzeug = "injection")
- {
- car_id := 424
- car_name := "BF Injection"
- car_preis := "500.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "12.000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "105 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 400 || Fahrzeug = "Landstalker")
- {
- car_id := 400
- car_name := "Landstalker"
- car_preis := "18.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "16.7"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 589 || Fahrzeug = "Club")
- {
- car_id := 589
- car_name := "Club"
- car_preis := "22.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "126 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 565 || Fahrzeug = "Flash")
- {
- car_id := 565
- car_name := "Flash"
- car_preis := "22.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "10.8"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 558 || Fahrzeug = "Uranus")
- {
- car_id := 558
- car_name := "Uranus"
- car_preis := "90.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "5.000$"
- car_tank := "40 Liter"
- car_verbrauch := "18.2"
- car_geschwindigkeit := "121 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 471 || Fahrzeug = "Quad")
- {
- car_id := 471
- car_name := "Quad"
- car_preis := "80.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "5.000$"
- car_tank := "20 Liter"
- car_verbrauch := "9.8"
- car_geschwindigkeit := "85 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 409 || Fahrzeug = "Stretch" || Fahrzeug = "Limo" || Fahrzeug = "Limousine")
- {
- car_id := 409
- car_name := "Stretch"
- car_preis := "1.000.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "12.000$"
- car_tank := "50 Liter"
- car_verbrauch := "17.8"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 587 || Fahrzeug = "Euros")
- {
- car_id := 587
- car_name := "Euros"
- car_preis := "90.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "5.000$"
- car_tank := "40 Liter"
- car_verbrauch := "15.3"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 489 || Fahrzeug = "Rancher")
- {
- car_id := 489
- car_name := "Rancher"
- car_preis := "20.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "16.7"
- car_geschwindigkeit := "108 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 434 || Fahrzeug = "Hotknife")
- {
- car_id := 434
- car_name := "Hotknife"
- car_preis := "500.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "12.000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "129 km/h"
- car_level := "1"
- car_tuningwerkstatt := "/"
- }
- else if(Fahrzeug == 439 || Fahrzeug = "Stallion")
- {
- car_id := 439
- car_name := "Stallion"
- car_preis := "26.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.5"
- car_geschwindigkeit := "130 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 555 || Fahrzeug = "Windsor")
- {
- car_id := 555
- car_name := "Windsor"
- car_preis := "24.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "15.1"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 533 || Fahrzeug = "Feltzer")
- {
- car_id := 533
- car_name := "Feltzer"
- car_preis := "26.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "129 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 477 || Fahrzeug = "ZR-350" || Fahrzeug = "ZR" || Fahrzeug = "ZR 350" || Fahrzeug = "ZR350")
- {
- car_id := 477
- car_name := "ZR-350"
- car_preis := "120.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "6.000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.2"
- car_geschwindigkeit := "144 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Das Fahrzeug wurde nicht gefunden.")
- return
- }
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Informationen für das Fahrzeug {FFBB00}" car_name " {FFFFFF}[Model-ID: {FFBB00}" car_id "{FFFFFF}]:")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Authoaus: {FFBB00}" car_autohaus "{FFFFFF}, Preis: {FFBB00}" car_preis "{FFFFFF}, Kaution: {FFBB00}" car_kaution "{FFFFFF}.")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Geschwindigkeit: {FFBB00}" car_geschwindigkeit "{FFFFFF}, Verbrauch: {FFBB00}" car_verbrauch "{FFFFFF}, Tank: {FFBB00}" car_tank "{FFFFFF}.")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Tuningwerkstatt: {FFBB00}" car_tuningwerkstatt "{FFFFFF}, Mindestlevel: {FFBB00}" car_level "{FFFFFF}.")
- return
- :?:/tt::
- Suspend Permit
- FormatTime, Uhrzeit,, HH
- GetPlayerData()
- GetPlayerName(Name)
- if(admin = 1)
- {
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/tt " . TicketID . "")
- if (Uhrzeit >= 12 && Uhrzeit < 20)
- {
- SendChat("/aw " . TicketID . " Guten Tag,")
- }
- else if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("/aw " . TicketID . " Guten Abend,")
- }
- else if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("/aw " . TicketID . " Guten Morgen ,")
- }
- SendChat("/aw " . TicketID . " Mein Name ist " . Name . " und ich bin für Ihre Fragen oder Probleme offen.")
- Sleep 670
- GetChatLine(0, string)
- GetChatLine(1, string1)
- GetChatLine(2, string2)
- if(Instr(string, "Fragen oder Probleme offen") || InStr(string1, "Fragen oder Probleme offen") || InStr(string2, "Fragen oder Probleme offen"))
- {
- FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
- FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
- IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
- IniRead, Heute, Tickets.ini, TicketT, %TagSt%
- IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
- Monat1=%Monat%
- Heute1=%Heute%
- Gesamt1=%Gesamt%
- Sleep, 200
- Monat1++
- Heute1++
- Gesamt1++
- IniWrite, %Monat1%, Tickets.ini, TicketM, %MonatSt%
- IniWrite, %Heute1%, Tickets.ini, TicketT, %TagSt%
- IniWrite, %Gesamt1%, Tickets.ini, Ticket, Gesamt
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/gt::
- Suspend Permit
- if(admin = 1)
- {
- FormatTime, Uhrzeit,, HH
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/aw " . TicketID . " Ich werde Sie nun an das gewünschte Teammitglied weiterleiten.")
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("/aw " . TicketID . " Schönen Abend noch.")
- }
- else
- {
- SendChat("/aw " . TicketID . " Schönen Tag noch.")
- }
- SendChat("/gt " . TicketID . "")
- SendInput, t/a Ticket %TicketID% für dich{space}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/grund::
- Suspend Permit
- if(admin = 1)
- {
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/aw " . TicketID . " Warum soll ich Sie an das gewünschte Teammitglied weiterleiten?")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/dt::
- Suspend Permit
- if(admin = 1)
- {
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/aw " . TicketID . " Ich wünsche Ihnen noch einen schönen Aufenthalt auf RPG-City")
- SendChat("/aw " . TicketID . " Bei weiteren Fragen melden Sie sich gerne wieder im Ticketsystem")
- SendChat("/dt " . TicketID . "")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- SendChat("/dt")
- }
- return
- :?:/fragen::
- Suspend Permit
- if(admin = 1)
- {
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/aw " . TicketID . " Haben Sie weitere Fragen, Probleme oder Anliegen?")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/meldungen::
- Suspend Permit
- if(admin = 1)
- {
- SendChat("/announce Bei Fragen zum Server stehen wir Ihnen jederzeit per /sup [Frage] zur Verfügung.")
- SendChat("/announce Hacker, Buguser und weitere Regelbrecher können per /a gemeldet werden.")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/adabuse::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /mute 120 Ausnutzung des Werbesystems{left 32}
- Input, caID, V I M, {Enter}
- Send {Enter}
- SendChat("/kick " . caID . " Ausnutzung des Werbesystems")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/aabuse::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /supban 120 Ausnutzung des Adminchats{left 30}
- Input, caID, V I M, {Enter}
- Send {Enter}
- SendChat("/kick " . caID . " Ausnutzung des Adminchats")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/sdm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Sinnloses Deathmatch{left 25}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/bansdm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /ban Sinnloses Deathmatch mit Level 1{left 33}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/jobstörung::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Jobstörung{left 15}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/jobdm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Job Deathmatch{left 19}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/intflucht::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Interrior-Flucht{left 21}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/escflucht::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 ESC-Flucht{left 25}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/offflucht::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Offline-Flucht{left 19}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/hacker::
- Suspend Permit
- if(admin = 1)
- {
- GetPlayerData()
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Eine Liste von Level 1er, um den Hacker zu finden")
- Sleep, 500
- AddChatMessage(0xFFFFFF, "------------------------------------------------------------------------")
- id = 0
- Loop,
- {
- score := GetPlayerScoreByID(id)
- if(score == "1")
- {
- GetPlayerNameByID(id, playername)
- Ping := GetPlayerPingByID(id)
- AddChatMessage(0xFFFFFF, "ID: " id ", Name: " playername ", Ping: " Ping ", Level: 1")
- Sleep, 500
- }
- if(id == "375")
- {
- AddChatMessage(0xFFFFFF, "------------------------------------------------------------------------")
- break
- }
- id++
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/tickets::
- Suspend Permit
- if(admin = 1)
- {
- FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
- FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
- IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
- IniRead, Heute, Tickets.ini, TicketT, %TagSt%
- IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
- if(Monat == "ERROR")
- {
- Monat=0
- }
- if(Heute == "ERROR")
- {
- Heute=0
- }
- if(Gesamt == "ERROR")
- {
- Gesamt=0
- }
- ShowDialog(1, "Ticket Statistik" , "Angenommene Tickets: " Gesamt "`nan diesem Tag: " Heute "`nin diesem Monat: " Monat, "Schließen")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- TicketUpdate:
- FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
- FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
- IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
- IniRead, Heute, Tickets.ini, TicketT, %TagSt%
- IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
- if(Monat == "ERROR")
- {
- Monat=0
- }
- if(Heute == "ERROR")
- {
- Heute=0
- }
- if(Gesamt == "ERROR")
- {
- Gesamt=0
- }
- TextSetString(tickettext, "Angenommene Tickets: " . Gesamt . "`nan diesem Tag: " . Heute . "`nin diesem Monat: " . Monat . "")
- return
- :?:/togtickets::
- Suspend Permit
- if(admin = 1)
- {
- if (TicketOverlay == "0")
- {
- Boxid := BoxCreate()
- BoxSetPos(Boxid, 30, 405)
- BoxSetWidth(Boxid, 90)
- BoxSetHeight(Boxid, 40)
- BoxSetColor(Boxid, 0xDD111314)
- BoxSetBorder(Boxid, 3)
- BoxSetBorderColor(Boxid, 0xFF000000)
- BoxShow(Boxid)
- titeltext := TextCreate("Arial", 10, false, false)
- TextSetPos(titeltext, 31, 407)
- TextSetString(titeltext, "Ticket Statistik")
- TextSetColor(titeltext, 0xFF00E1FF)
- TextShow(titeltext)
- tickettext := TextCreate("Arial", 8, false, false)
- TextSetPos(tickettext, 31, 420)
- TextSetString(tickettext, "Lade Statistik...")
- TextShow(tickettext)
- TicketOverlay = 1
- SetTimer, TicketUpdate, 4000
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Ticket-Overlay {00FF00}eingeschaltet{FFFFFF}.")
- }
- else if (TicketOverlay == "1")
- {
- TextDestroy(tickettext)
- TextDestroy(titeltext)
- BoxDestroy(Boxid)
- TicketOverlay = 0
- SetTimer, TicketUpdate, off
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Ticket-Overlay {FF0000}ausgeschaltet{FFFFFF}.")
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- GetCityByCoords(posX, posY, posZ)
- {
- if (posX >= 685.0) and (posY >= 476.093) and (posZ >= -500.0) and (posX <= 3000.0) and (posY <= 3000.0) and (posZ <= 500.0)
- {
- CityName := "Las Venturas"
- }
- else if (posX >= -3000.0) and (posY >= -742.306) and (posZ >= -500.0) and (posX <= -1270.53) and (posY <= 1530.24) and (posZ <= 500.0)
- {
- CityName := "San Fierro"
- }
- else if (posX >= -1270.53) and (posY >= -402.481) and (posZ >= -500.0) and (posX <= -1038.45) and (posY <= 832.495) and (posZ <= 500.0)
- {
- CityName := "San Fierro"
- }
- else if (posX >= -1038.45) and (posY >= -145.539) and (posZ >= -500.0) and (posX <= -897.546) and (posY <= 376.632) and (posZ <= 500.0)
- {
- CityName := "San Fierro"
- }
- else if (posX >= 480.0) and (posY >= -3000.0) and (posZ >= -500.0) and (posX <= 3000.0) and (posY <= -850.0) and (posZ <= 500.0)
- {
- CityName := "Los Santos"
- }
- else if (posX >= 80.0) and (posY >= -2101.61) and (posZ >= -500.0) and (posX <= 1075.0) and (posY <= -1239.61) and (posZ <= 500.0)
- {
- CityName := "Los Santos"
- }
- else if (posX >= -1213.91) and (posY >= 596.349) and (posZ >= -242.99) and (posX <= -480.539) and (posY <= 1659.68) and (posZ <= 900.0)
- {
- CityName := "Tierra Robada"
- }
- else if (posX >= -1213.91) and (posY >= -768.027) and (posZ >= -242.99) and (posX <= 2997.06) and (posY <= 596.349) and (posZ <= 900.0)
- {
- CityName := "Red County"
- }
- else if (posX >= -1213.91) and (posY >= -2892.97) and (posZ >= -242.99) and (posX <= 44.6147) and (posY <= -768.027) and (posZ <= 900.0)
- {
- CityName := "Flint County"
- }
- else if (posX >= -2997.47) and (posY >= -2892.97) and (posZ >= -242.99) and (posX <= -1213.91) and (posY <= -1115.58) and (posZ <= 900.0)
- {
- CityName := "Whetstone"
- }
- else
- {
- CityName := "Unbekannt"
- }
- return CityName
- }
- GetZoneByCoords(posX, posY, posZ)
- {
- if (posX >= -2667.810) and (posY >= -302.135) and (posZ >= -28.831) and (posX <= -2646.400) and (posY <= -262.320) and (posZ <= 71.169)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= -1315.420) and (posY >= -405.388) and (posZ >= 15.406) and (posX <= -1264.400) and (posY <= -209.543) and (posZ <= 25.406)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= -2550.040) and (posY >= -355.493) and (posZ >= 0.000) and (posX <= -2470.040) and (posY <= -318.493) and (posZ <= 39.700)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= -1490.330) and (posY >= -209.543) and (posZ >= 15.406) and (posX <= -1264.400) and (posY <= -148.388) and (posZ <= 25.406)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= -2395.140) and (posY >= -222.589) and (posZ >= -5.3) and (posX <= -2354.090) and (posY <= -204.792) and (posZ <= 200.000)
- {
- ZoneName := "Garcia"
- }
- else if (posX >= -1632.830) and (posY >= -2263.440) and (posZ >= -3.0) and (posX <= -1601.330) and (posY <= -2231.790) and (posZ <= 200.000)
- {
- ZoneName := "Shady Cabin"
- }
- else if (posX >= 2381.680) and (posY >= -1494.030) and (posZ >= -89.084) and (posX <= 2421.030) and (posY <= -1454.350) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 1236.630) and (posY >= 1163.410) and (posZ >= -89.084) and (posX <= 1277.050) and (posY <= 1203.280) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= 1277.050) and (posY >= 1044.690) and (posZ >= -89.084) and (posX <= 1315.350) and (posY <= 1087.630) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Intersection"
- }
- else if (posX >= -2470.040) and (posY >= -355.493) and (posZ >= 0.000) and (posX <= -2270.040) and (posY <= -318.493) and (posZ <= 46.100)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= 1252.330) and (posY >= -926.999) and (posZ >= -89.084) and (posX <= 1357.000) and (posY <= -910.170) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 1692.620) and (posY >= -1971.800) and (posZ >= -20.492) and (posX <= 1812.620) and (posY <= -1932.800) and (posZ <= 79.508)
- {
- ZoneName := "Unity Station"
- }
- else if (posX >= 1315.350) and (posY >= 1044.690) and (posZ >= -89.084) and (posX <= 1375.600) and (posY <= 1087.630) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= 2581.730) and (posY >= -1454.350) and (posZ >= -89.084) and (posX <= 2632.830) and (posY <= -1393.420) and (posZ <= 110.916)
- {
- ZoneName := "Los Flores"
- }
- else if (posX >= 2437.390) and (posY >= 1858.100) and (posZ >= -39.084) and (posX <= 2495.090) and (posY <= 1970.850) and (posZ <= 60.916)
- {
- ZoneName := "Starfish Casino"
- }
- else if (posX >= -1132.820) and (posY >= -787.391) and (posZ >= 0.000) and (posX <= -956.476) and (posY <= -768.027) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Chemicals"
- }
- else if (posX >= 1370.850) and (posY >= -1170.870) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -1130.850) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= -1620.300) and (posY >= 1176.520) and (posZ >= -4.5) and (posX <= -1580.010) and (posY <= 1274.260) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade East"
- }
- else if (posX >= 787.461) and (posY >= -1410.930) and (posZ >= -34.126) and (posX <= 866.009) and (posY <= -1310.210) and (posZ <= 65.874)
- {
- ZoneName := "Market Station"
- }
- else if (posX >= 2811.250) and (posY >= 1229.590) and (posZ >= -39.594) and (posX <= 2861.250) and (posY <= 1407.590) and (posZ <= 60.406)
- {
- ZoneName := "Linden Station"
- }
- else if (posX >= 1582.440) and (posY >= 347.457) and (posZ >= 0.000) and (posX <= 1664.620) and (posY <= 401.750) and (posZ <= 200.000)
- {
- ZoneName := "Montgomery Intersection"
- }
- else if (posX >= 2759.250) and (posY >= 296.501) and (posZ >= 0.000) and (posX <= 2774.250) and (posY <= 594.757) and (posZ <= 200.000)
- {
- ZoneName := "Frederick Bridge"
- }
- else if (posX >= 1377.480) and (posY >= 2600.430) and (posZ >= -21.926) and (posX <= 1492.450) and (posY <= 2687.360) and (posZ <= 78.074)
- {
- ZoneName := "Yellow Bell Station"
- }
- else if (posX >= 1507.510) and (posY >= -1385.210) and (posZ >= 110.916) and (posX <= 1582.550) and (posY <= -1325.310) and (posZ <= 335.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 2185.330) and (posY >= -1210.740) and (posZ >= -89.084) and (posX <= 2281.450) and (posY <= -1154.590) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 1318.130) and (posY >= -910.170) and (posZ >= -89.084) and (posX <= 1357.000) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -2361.510) and (posY >= -417.199) and (posZ >= 0.000) and (posX <= -2270.040) and (posY <= -355.493) and (posZ <= 200.000)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= 1996.910) and (posY >= -1449.670) and (posZ >= -89.084) and (posX <= 2056.860) and (posY <= -1350.720) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 1236.630) and (posY >= 2142.860) and (posZ >= -89.084) and (posX <= 1297.470) and (posY <= 2243.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway West"
- }
- else if (posX >= 2124.660) and (posY >= -1494.030) and (posZ >= -89.084) and (posX <= 2266.210) and (posY <= -1449.670) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 1848.400) and (posY >= 2478.490) and (posZ >= -89.084) and (posX <= 1938.800) and (posY <= 2553.490) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 422.680) and (posY >= -1570.200) and (posZ >= -89.084) and (posX <= 466.223) and (posY <= -1406.050) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= -2007.830) and (posY >= 56.306) and (posZ >= 0.000) and (posX <= -1922.000) and (posY <= 224.782) and (posZ <= 100.000)
- {
- ZoneName := "Cranberry Station"
- }
- else if (posX >= 1391.050) and (posY >= -1026.330) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -926.999) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 1704.590) and (posY >= 2243.230) and (posZ >= -89.084) and (posX <= 1777.390) and (posY <= 2342.830) and (posZ <= 110.916)
- {
- ZoneName := "Redsands West"
- }
- else if (posX >= 1758.900) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Little Mexico"
- }
- else if (posX >= 1375.600) and (posY >= 823.228) and (posZ >= -89.084) and (posX <= 1457.390) and (posY <= 919.447) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Intersection"
- }
- else if (posX >= 1974.630) and (posY >= -2394.330) and (posZ >= -39.084) and (posX <= 2089.000) and (posY <= -2256.590) and (posZ <= 60.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= -399.633) and (posY >= -1075.520) and (posZ >= -1.489) and (posX <= -319.033) and (posY <= -977.516) and (posZ <= 198.511)
- {
- ZoneName := "Beacon Hill"
- }
- else if (posX >= 334.503) and (posY >= -1501.950) and (posZ >= -89.084) and (posX <= 422.680) and (posY <= -1406.050) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 225.165) and (posY >= -1369.620) and (posZ >= -89.084) and (posX <= 334.503) and (posY <= -1292.070) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 1724.760) and (posY >= -1250.900) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1150.870) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 2027.400) and (posY >= 1703.230) and (posZ >= -89.084) and (posX <= 2137.400) and (posY <= 1783.230) and (posZ <= 110.916)
- {
- ZoneName := "The Strip"
- }
- else if (posX >= 1378.330) and (posY >= -1130.850) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -1026.330) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 1197.390) and (posY >= 1044.690) and (posZ >= -89.084) and (posX <= 1277.050) and (posY <= 1163.390) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Intersection"
- }
- else if (posX >= 1073.220) and (posY >= -1842.270) and (posZ >= -89.084) and (posX <= 1323.900) and (posY <= -1804.210) and (posZ <= 110.916)
- {
- ZoneName := "Conference Center"
- }
- else if (posX >= 1451.400) and (posY >= 347.457) and (posZ >= -6.1) and (posX <= 1582.440) and (posY <= 420.802) and (posZ <= 200.000)
- {
- ZoneName := "Montgomery"
- }
- else if (posX >= -2270.040) and (posY >= -430.276) and (posZ >= -1.2) and (posX <= -2178.690) and (posY <= -324.114) and (posZ <= 200.000)
- {
- ZoneName := "Foster Valley"
- }
- else if (posX >= 1325.600) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 1375.600) and (posY <= 795.010) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Chapel"
- }
- else if (posX >= 2051.630) and (posY >= -2597.260) and (posZ >= -39.084) and (posX <= 2152.450) and (posY <= -2394.330) and (posZ <= 60.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= 1096.470) and (posY >= -910.170) and (posZ >= -89.084) and (posX <= 1169.130) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 1457.460) and (posY >= 2723.230) and (posZ >= -89.084) and (posX <= 1534.560) and (posY <= 2863.230) and (posZ <= 110.916)
- {
- ZoneName := "Yellow Bell Gol Course"
- }
- else if (posX >= 2027.400) and (posY >= 1783.230) and (posZ >= -89.084) and (posX <= 2162.390) and (posY <= 1863.230) and (posZ <= 110.916)
- {
- ZoneName := "The Strip"
- }
- else if (posX >= 2056.860) and (posY >= -1210.740) and (posZ >= -89.084) and (posX <= 2185.330) and (posY <= -1126.320) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 952.604) and (posY >= -937.184) and (posZ >= -89.084) and (posX <= 1096.470) and (posY <= -860.619) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -1372.140) and (posY >= 2498.520) and (posZ >= 0.000) and (posX <= -1277.590) and (posY <= 2615.350) and (posZ <= 200.000)
- {
- ZoneName := "Aldea Malvada"
- }
- else if (posX >= 2126.860) and (posY >= -1126.320) and (posZ >= -89.084) and (posX <= 2185.330) and (posY <= -934.489) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 1994.330) and (posY >= -1100.820) and (posZ >= -89.084) and (posX <= 2056.860) and (posY <= -920.815) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 647.557) and (posY >= -954.662) and (posZ >= -89.084) and (posX <= 768.694) and (posY <= -860.619) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 1277.050) and (posY >= 1087.630) and (posZ >= -89.084) and (posX <= 1375.600) and (posY <= 1203.280) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= 1377.390) and (posY >= 2433.230) and (posZ >= -89.084) and (posX <= 1534.560) and (posY <= 2507.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 2201.820) and (posY >= -2095.000) and (posZ >= -89.084) and (posX <= 2324.000) and (posY <= -1989.900) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= 1704.590) and (posY >= 2342.830) and (posZ >= -89.084) and (posX <= 1848.400) and (posY <= 2433.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1252.330) and (posY >= -1130.850) and (posZ >= -89.084) and (posX <= 1378.330) and (posY <= -1026.330) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 1701.900) and (posY >= -1842.270) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1722.260) and (posZ <= 110.916)
- {
- ZoneName := "Little Mexico"
- }
- else if (posX >= -2411.220) and (posY >= 373.539) and (posZ >= 0.000) and (posX <= -2253.540) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "Queens"
- }
- else if (posX >= 1515.810) and (posY >= 1586.400) and (posZ >= -12.500) and (posX <= 1729.950) and (posY <= 1714.560) and (posZ <= 87.500)
- {
- ZoneName := "Las Venturas Airport"
- }
- else if (posX >= 225.165) and (posY >= -1292.070) and (posZ >= -89.084) and (posX <= 466.223) and (posY <= -1235.070) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 1252.330) and (posY >= -1026.330) and (posZ >= -89.084) and (posX <= 1391.050) and (posY <= -926.999) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 2266.260) and (posY >= -1494.030) and (posZ >= -89.084) and (posX <= 2381.680) and (posY <= -1372.040) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 2623.180) and (posY >= 943.235) and (posZ >= -89.084) and (posX <= 2749.900) and (posY <= 1055.960) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway East"
- }
- else if (posX >= 2541.700) and (posY >= -1941.400) and (posZ >= -89.084) and (posX <= 2703.580) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= 2056.860) and (posY >= -1126.320) and (posZ >= -89.084) and (posX <= 2126.860) and (posY <= -920.815) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 2625.160) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2442.550) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway East"
- }
- else if (posX >= 225.165) and (posY >= -1501.950) and (posZ >= -89.084) and (posX <= 334.503) and (posY <= -1369.620) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= -365.167) and (posY >= 2123.010) and (posZ >= -3.0) and (posX <= -208.570) and (posY <= 2217.680) and (posZ <= 200.000)
- {
- ZoneName := "Las Brujas"
- }
- else if (posX >= 2536.430) and (posY >= 2442.550) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2542.550) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway East"
- }
- else if (posX >= 334.503) and (posY >= -1406.050) and (posZ >= -89.084) and (posX <= 466.223) and (posY <= -1292.070) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 647.557) and (posY >= -1227.280) and (posZ >= -89.084) and (posX <= 787.461) and (posY <= -1118.280) and (posZ <= 110.916)
- {
- ZoneName := "Vinewood"
- }
- else if (posX >= 422.680) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 558.099) and (posY <= -1570.200) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 2498.210) and (posY >= 2542.550) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2626.550) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1724.760) and (posY >= -1430.870) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1250.900) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 225.165) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 312.803) and (posY <= -1501.950) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 2056.860) and (posY >= -1449.670) and (posZ >= -89.084) and (posX <= 2266.210) and (posY <= -1372.040) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 603.035) and (posY >= 264.312) and (posZ >= 0.000) and (posX <= 761.994) and (posY <= 366.572) and (posZ <= 200.000)
- {
- ZoneName := "Hampton Barns"
- }
- else if (posX >= 1096.470) and (posY >= -1130.840) and (posZ >= -89.084) and (posX <= 1252.330) and (posY <= -1026.330) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= -1087.930) and (posY >= 855.370) and (posZ >= -89.084) and (posX <= -961.950) and (posY <= 986.281) and (posZ <= 110.916)
- {
- ZoneName := "Kincaid Bridge"
- }
- else if (posX >= 1046.150) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1161.520) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= 1323.900) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1440.900) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 1357.000) and (posY >= -926.999) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 466.223) and (posY >= -1570.200) and (posZ >= -89.084) and (posX <= 558.099) and (posY <= -1385.070) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 911.802) and (posY >= -860.619) and (posZ >= -89.084) and (posX <= 1096.470) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 768.694) and (posY >= -954.662) and (posZ >= -89.084) and (posX <= 952.604) and (posY <= -860.619) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 2377.390) and (posY >= 788.894) and (posZ >= -89.084) and (posX <= 2537.390) and (posY <= 897.901) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway South"
- }
- else if (posX >= 1812.620) and (posY >= -1852.870) and (posZ >= -89.084) and (posX <= 1971.660) and (posY <= -1742.310) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= 2089.000) and (posY >= -2394.330) and (posZ >= -89.084) and (posX <= 2201.820) and (posY <= -2235.840) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 1370.850) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -1384.950) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 2121.400) and (posY >= 2508.230) and (posZ >= -89.084) and (posX <= 2237.400) and (posY <= 2663.170) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1096.470) and (posY >= -1026.330) and (posZ >= -89.084) and (posX <= 1252.330) and (posY <= -910.170) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 1812.620) and (posY >= -1449.670) and (posZ >= -89.084) and (posX <= 1996.910) and (posY <= -1350.720) and (posZ <= 110.916)
- {
- ZoneName := "Glen Park"
- }
- else if (posX >= -1242.980) and (posY >= -50.096) and (posZ >= 0.000) and (posX <= -1213.910) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= -222.179) and (posY >= 293.324) and (posZ >= 0.000) and (posX <= -122.126) and (posY <= 476.465) and (posZ <= 200.000)
- {
- ZoneName := "Martin Bridge"
- }
- else if (posX >= 2106.700) and (posY >= 1863.230) and (posZ >= -89.084) and (posX <= 2162.390) and (posY <= 2202.760) and (posZ <= 110.916)
- {
- ZoneName := "The Strip"
- }
- else if (posX >= 2541.700) and (posY >= -2059.230) and (posZ >= -89.084) and (posX <= 2703.580) and (posY <= -1941.400) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= 807.922) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 926.922) and (posY <= -1416.250) and (posZ <= 110.916)
- {
- ZoneName := "Marina"
- }
- else if (posX >= 1457.370) and (posY >= 1143.210) and (posZ >= -89.084) and (posX <= 1777.400) and (posY <= 1203.280) and (posZ <= 110.916)
- {
- ZoneName := "Las Venturas Airport"
- }
- else if (posX >= 1812.620) and (posY >= -1742.310) and (posZ >= -89.084) and (posX <= 1951.660) and (posY <= -1602.310) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= -1580.010) and (posY >= 1025.980) and (posZ >= -6.1) and (posX <= -1499.890) and (posY <= 1274.260) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade East"
- }
- else if (posX >= 1370.850) and (posY >= -1384.950) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -1170.870) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 1664.620) and (posY >= 401.750) and (posZ >= 0.000) and (posX <= 1785.140) and (posY <= 567.203) and (posZ <= 200.000)
- {
- ZoneName := "The Mako Span"
- }
- else if (posX >= 312.803) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 422.680) and (posY <= -1501.950) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 1440.900) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1583.500) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Pershing Square"
- }
- else if (posX >= 687.802) and (posY >= -860.619) and (posZ >= -89.084) and (posX <= 911.802) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -2741.070) and (posY >= 1490.470) and (posZ >= -6.1) and (posX <= -2616.400) and (posY <= 1659.680) and (posZ <= 200.000)
- {
- ZoneName := "Gant Bridge"
- }
- else if (posX >= 2185.330) and (posY >= -1154.590) and (posZ >= -89.084) and (posX <= 2281.450) and (posY <= -934.489) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 1169.130) and (posY >= -910.170) and (posZ >= -89.084) and (posX <= 1318.130) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 1938.800) and (posY >= 2508.230) and (posZ >= -89.084) and (posX <= 2121.400) and (posY <= 2624.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1667.960) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1430.870) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 72.648) and (posY >= -1544.170) and (posZ >= -89.084) and (posX <= 225.165) and (posY <= -1404.970) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 2536.430) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2625.160) and (posY <= 2442.550) and (posZ <= 110.916)
- {
- ZoneName := "Roca Escalante"
- }
- else if (posX >= 72.648) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 225.165) and (posY <= -1544.170) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 952.663) and (posY >= -1310.210) and (posZ >= -89.084) and (posX <= 1072.660) and (posY <= -1130.850) and (posZ <= 110.916)
- {
- ZoneName := "Market"
- }
- else if (posX >= 2632.740) and (posY >= -1135.040) and (posZ >= -89.084) and (posX <= 2747.740) and (posY <= -945.035) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 861.085) and (posY >= -674.885) and (posZ >= -89.084) and (posX <= 1156.550) and (posY <= -600.896) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -2253.540) and (posY >= 373.539) and (posZ >= -9.1) and (posX <= -1993.280) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "King's"
- }
- else if (posX >= 1848.400) and (posY >= 2342.830) and (posZ >= -89.084) and (posX <= 2011.940) and (posY <= 2478.490) and (posZ <= 110.916)
- {
- ZoneName := "Redsands East"
- }
- else if (posX >= -1580.010) and (posY >= 744.267) and (posZ >= -6.1) and (posX <= -1499.890) and (posY <= 1025.980) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 1046.150) and (posY >= -1804.210) and (posZ >= -89.084) and (posX <= 1323.900) and (posY <= -1722.260) and (posZ <= 110.916)
- {
- ZoneName := "Conference Center"
- }
- else if (posX >= 647.557) and (posY >= -1118.280) and (posZ >= -89.084) and (posX <= 787.461) and (posY <= -954.662) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= -2994.490) and (posY >= 277.411) and (posZ >= -9.1) and (posX <= -2867.850) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "Ocean Flats"
- }
- else if (posX >= 964.391) and (posY >= 930.890) and (posZ >= -89.084) and (posX <= 1166.530) and (posY <= 1044.690) and (posZ <= 110.916)
- {
- ZoneName := "Greenglass College"
- }
- else if (posX >= 1812.620) and (posY >= -1100.820) and (posZ >= -89.084) and (posX <= 1994.330) and (posY <= -973.380) and (posZ <= 110.916)
- {
- ZoneName := "Glen Park"
- }
- else if (posX >= 1375.600) and (posY >= 919.447) and (posZ >= -89.084) and (posX <= 1457.370) and (posY <= 1203.280) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= -405.770) and (posY >= 1712.860) and (posZ >= -3.0) and (posX <= -276.719) and (posY <= 1892.750) and (posZ <= 200.000)
- {
- ZoneName := "Regular Tom"
- }
- else if (posX >= 1161.520) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1323.900) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= 2281.450) and (posY >= -1372.040) and (posZ >= -89.084) and (posX <= 2381.680) and (posY <= -1135.040) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 2137.400) and (posY >= 1703.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 1783.230) and (posZ <= 110.916)
- {
- ZoneName := "Caligula's Palace"
- }
- else if (posX >= 1951.660) and (posY >= -1742.310) and (posZ >= -89.084) and (posX <= 2124.660) and (posY <= -1602.310) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= 2624.400) and (posY >= 1383.230) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 1783.230) and (posZ <= 110.916)
- {
- ZoneName := "Pilgrim"
- }
- else if (posX >= 2124.660) and (posY >= -1742.310) and (posZ >= -89.084) and (posX <= 2222.560) and (posY <= -1494.030) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= -2533.040) and (posY >= 458.411) and (posZ >= 0.000) and (posX <= -2329.310) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Queens"
- }
- else if (posX >= -1871.720) and (posY >= 1176.420) and (posZ >= -4.5) and (posX <= -1620.300) and (posY <= 1274.260) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 1583.500) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1758.900) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 2381.680) and (posY >= -1454.350) and (posZ >= -89.084) and (posX <= 2462.130) and (posY <= -1135.040) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 647.712) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 807.922) and (posY <= -1416.250) and (posZ <= 110.916)
- {
- ZoneName := "Marina"
- }
- else if (posX >= 72.648) and (posY >= -1404.970) and (posZ >= -89.084) and (posX <= 225.165) and (posY <= -1235.070) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 647.712) and (posY >= -1416.250) and (posZ >= -89.084) and (posX <= 787.461) and (posY <= -1227.280) and (posZ <= 110.916)
- {
- ZoneName := "Vinewood"
- }
- else if (posX >= 2222.560) and (posY >= -1628.530) and (posZ >= -89.084) and (posX <= 2421.030) and (posY <= -1494.030) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 558.099) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 647.522) and (posY <= -1384.930) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= -1709.710) and (posY >= -833.034) and (posZ >= -1.5) and (posX <= -1446.010) and (posY <= -730.118) and (posZ <= 200.000)
- {
- ZoneName := "Easter Tunnel"
- }
- else if (posX >= 466.223) and (posY >= -1385.070) and (posZ >= -89.084) and (posX <= 647.522) and (posY <= -1235.070) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 1817.390) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2011.940) and (posY <= 2342.830) and (posZ <= 110.916)
- {
- ZoneName := "Redsands East"
- }
- else if (posX >= 2162.390) and (posY >= 1783.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 1883.230) and (posZ <= 110.916)
- {
- ZoneName := "The Clown's Pocket"
- }
- else if (posX >= 1971.660) and (posY >= -1852.870) and (posZ >= -89.084) and (posX <= 2222.560) and (posY <= -1742.310) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= 1546.650) and (posY >= 208.164) and (posZ >= 0.000) and (posX <= 1745.830) and (posY <= 347.457) and (posZ <= 200.000)
- {
- ZoneName := "Montgomery Intersection"
- }
- else if (posX >= 2089.000) and (posY >= -2235.840) and (posZ >= -89.084) and (posX <= 2201.820) and (posY <= -1989.900) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= 952.663) and (posY >= -1130.840) and (posZ >= -89.084) and (posX <= 1096.470) and (posY <= -937.184) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 1848.400) and (posY >= 2553.490) and (posZ >= -89.084) and (posX <= 1938.800) and (posY <= 2863.230) and (posZ <= 110.916)
- {
- ZoneName := "Prickle Pine"
- }
- else if (posX >= 1400.970) and (posY >= -2669.260) and (posZ >= -39.084) and (posX <= 2189.820) and (posY <= -2597.260) and (posZ <= 60.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= -1213.910) and (posY >= 950.022) and (posZ >= -89.084) and (posX <= -1087.930) and (posY <= 1178.930) and (posZ <= 110.916)
- {
- ZoneName := "Garver Bridge"
- }
- else if (posX >= -1339.890) and (posY >= 828.129) and (posZ >= -89.084) and (posX <= -1213.910) and (posY <= 1057.040) and (posZ <= 110.916)
- {
- ZoneName := "Garver Bridge"
- }
- else if (posX >= -1339.890) and (posY >= 599.218) and (posZ >= -89.084) and (posX <= -1213.910) and (posY <= 828.129) and (posZ <= 110.916)
- {
- ZoneName := "Kincaid Bridge"
- }
- else if (posX >= -1213.910) and (posY >= 721.111) and (posZ >= -89.084) and (posX <= -1087.930) and (posY <= 950.022) and (posZ <= 110.916)
- {
- ZoneName := "Kincaid Bridge"
- }
- else if (posX >= 930.221) and (posY >= -2006.780) and (posZ >= -89.084) and (posX <= 1073.220) and (posY <= -1804.210) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= 1073.220) and (posY >= -2006.780) and (posZ >= -89.084) and (posX <= 1249.620) and (posY <= -1842.270) and (posZ <= 110.916)
- {
- ZoneName := "Verdant Bluffs"
- }
- else if (posX >= 787.461) and (posY >= -1130.840) and (posZ >= -89.084) and (posX <= 952.604) and (posY <= -954.662) and (posZ <= 110.916)
- {
- ZoneName := "Vinewood"
- }
- else if (posX >= 787.461) and (posY >= -1310.210) and (posZ >= -89.084) and (posX <= 952.663) and (posY <= -1130.840) and (posZ <= 110.916)
- {
- ZoneName := "Vinewood"
- }
- else if (posX >= 1463.900) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 1667.960) and (posY <= -1430.870) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 787.461) and (posY >= -1416.250) and (posZ >= -89.084) and (posX <= 1072.660) and (posY <= -1310.210) and (posZ <= 110.916)
- {
- ZoneName := "Market"
- }
- else if (posX >= 2377.390) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 2537.390) and (posY <= 788.894) and (posZ <= 110.916)
- {
- ZoneName := "Rockshore West"
- }
- else if (posX >= 2237.400) and (posY >= 2542.550) and (posZ >= -89.084) and (posX <= 2498.210) and (posY <= 2663.170) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 2632.830) and (posY >= -1668.130) and (posZ >= -89.084) and (posX <= 2747.740) and (posY <= -1393.420) and (posZ <= 110.916)
- {
- ZoneName := "East Beach"
- }
- else if (posX >= 434.341) and (posY >= 366.572) and (posZ >= 0.000) and (posX <= 603.035) and (posY <= 555.680) and (posZ <= 200.000)
- {
- ZoneName := "Fallow Bridge"
- }
- else if (posX >= 2089.000) and (posY >= -1989.900) and (posZ >= -89.084) and (posX <= 2324.000) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= -2274.170) and (posY >= 578.396) and (posZ >= -7.6) and (posX <= -2078.670) and (posY <= 744.170) and (posZ <= 200.000)
- {
- ZoneName := "Chinatown"
- }
- else if (posX >= -208.570) and (posY >= 2337.180) and (posZ >= 0.000) and (posX <= 8.430) and (posY <= 2487.180) and (posZ <= 200.000)
- {
- ZoneName := "El Castillo del Diablo"
- }
- else if (posX >= 2324.000) and (posY >= -2145.100) and (posZ >= -89.084) and (posX <= 2703.580) and (posY <= -2059.230) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= -1132.820) and (posY >= -768.027) and (posZ >= 0.000) and (posX <= -956.476) and (posY <= -578.118) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Chemicals"
- }
- else if (posX >= 1817.390) and (posY >= 1703.230) and (posZ >= -89.084) and (posX <= 2027.400) and (posY <= 1863.230) and (posZ <= 110.916)
- {
- ZoneName := "The Visage"
- }
- else if (posX >= -2994.490) and (posY >= -430.276) and (posZ >= -1.2) and (posX <= -2831.890) and (posY <= -222.589) and (posZ <= 200.000)
- {
- ZoneName := "Ocean Flats"
- }
- else if (posX >= 321.356) and (posY >= -860.619) and (posZ >= -89.084) and (posX <= 687.802) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 176.581) and (posY >= 1305.450) and (posZ >= -3.0) and (posX <= 338.658) and (posY <= 1520.720) and (posZ <= 200.000)
- {
- ZoneName := "Green Palms"
- }
- else if (posX >= 321.356) and (posY >= -768.027) and (posZ >= -89.084) and (posX <= 700.794) and (posY <= -674.885) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 2162.390) and (posY >= 1883.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 2012.180) and (posZ <= 110.916)
- {
- ZoneName := "Starfish Casino"
- }
- else if (posX >= 2747.740) and (posY >= -1668.130) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -1498.620) and (posZ <= 110.916)
- {
- ZoneName := "East Beach"
- }
- else if (posX >= 2056.860) and (posY >= -1372.040) and (posZ >= -89.084) and (posX <= 2281.450) and (posY <= -1210.740) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 1463.900) and (posY >= -1290.870) and (posZ >= -89.084) and (posX <= 1724.760) and (posY <= -1150.870) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 1463.900) and (posY >= -1430.870) and (posZ >= -89.084) and (posX <= 1724.760) and (posY <= -1290.870) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= -1499.890) and (posY >= 696.442) and (posZ >= -179.615) and (posX <= -1339.890) and (posY <= 925.353) and (posZ <= 20.385)
- {
- ZoneName := "Garver Bridge"
- }
- else if (posX >= 1457.390) and (posY >= 823.228) and (posZ >= -89.084) and (posX <= 2377.390) and (posY <= 863.229) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway South"
- }
- else if (posX >= 2421.030) and (posY >= -1628.530) and (posZ >= -89.084) and (posX <= 2632.830) and (posY <= -1454.350) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 964.391) and (posY >= 1044.690) and (posZ >= -89.084) and (posX <= 1197.390) and (posY <= 1203.220) and (posZ <= 110.916)
- {
- ZoneName := "Greenglass College"
- }
- else if (posX >= 2747.740) and (posY >= -1120.040) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -945.035) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 737.573) and (posY >= -768.027) and (posZ >= -89.084) and (posX <= 1142.290) and (posY <= -674.885) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 2201.820) and (posY >= -2730.880) and (posZ >= -89.084) and (posX <= 2324.000) and (posY <= -2418.330) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 2462.130) and (posY >= -1454.350) and (posZ >= -89.084) and (posX <= 2581.730) and (posY <= -1135.040) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 2222.560) and (posY >= -1722.330) and (posZ >= -89.084) and (posX <= 2632.830) and (posY <= -1628.530) and (posZ <= 110.916)
- {
- ZoneName := "Ganton"
- }
- else if (posX >= -2831.890) and (posY >= -430.276) and (posZ >= -6.1) and (posX <= -2646.400) and (posY <= -222.589) and (posZ <= 200.000)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= 1970.620) and (posY >= -2179.250) and (posZ >= -89.084) and (posX <= 2089.000) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= -1982.320) and (posY >= 1274.260) and (posZ >= -4.5) and (posX <= -1524.240) and (posY <= 1358.900) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade North"
- }
- else if (posX >= 1817.390) and (posY >= 1283.230) and (posZ >= -89.084) and (posX <= 2027.390) and (posY <= 1469.230) and (posZ <= 110.916)
- {
- ZoneName := "The High Roller"
- }
- else if (posX >= 2201.820) and (posY >= -2418.330) and (posZ >= -89.084) and (posX <= 2324.000) and (posY <= -2095.000) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 1823.080) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 1997.220) and (posY <= 823.228) and (posZ <= 110.916)
- {
- ZoneName := "Last Dime Motel"
- }
- else if (posX >= -2353.170) and (posY >= 2275.790) and (posZ >= 0.000) and (posX <= -2153.170) and (posY <= 2475.790) and (posZ <= 200.000)
- {
- ZoneName := "Bayside Marina"
- }
- else if (posX >= -2329.310) and (posY >= 458.411) and (posZ >= -7.6) and (posX <= -1993.280) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "King's"
- }
- else if (posX >= 1692.620) and (posY >= -2179.250) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1842.270) and (posZ <= 110.916)
- {
- ZoneName := "El Corona"
- }
- else if (posX >= 1375.600) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 1558.090) and (posY <= 823.228) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Chapel"
- }
- else if (posX >= 1817.390) and (posY >= 1083.230) and (posZ >= -89.084) and (posX <= 2027.390) and (posY <= 1283.230) and (posZ <= 110.916)
- {
- ZoneName := "The Pink Swan"
- }
- else if (posX >= 1197.390) and (posY >= 1163.390) and (posZ >= -89.084) and (posX <= 1236.630) and (posY <= 2243.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway West"
- }
- else if (posX >= 2581.730) and (posY >= -1393.420) and (posZ >= -89.084) and (posX <= 2747.740) and (posY <= -1135.040) and (posZ <= 110.916)
- {
- ZoneName := "Los Flores"
- }
- else if (posX >= 1817.390) and (posY >= 1863.230) and (posZ >= -89.084) and (posX <= 2106.700) and (posY <= 2011.830) and (posZ <= 110.916)
- {
- ZoneName := "The Visage"
- }
- else if (posX >= 1938.800) and (posY >= 2624.230) and (posZ >= -89.084) and (posX <= 2121.400) and (posY <= 2861.550) and (posZ <= 110.916)
- {
- ZoneName := "Prickle Pine"
- }
- else if (posX >= 851.449) and (posY >= -1804.210) and (posZ >= -89.084) and (posX <= 1046.150) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= -1119.010) and (posY >= 1178.930) and (posZ >= -89.084) and (posX <= -862.025) and (posY <= 1351.450) and (posZ <= 110.916)
- {
- ZoneName := "Robada Intersection"
- }
- else if (posX >= 2749.900) and (posY >= 943.235) and (posZ >= -89.084) and (posX <= 2923.390) and (posY <= 1198.990) and (posZ <= 110.916)
- {
- ZoneName := "Linden Side"
- }
- else if (posX >= 2703.580) and (posY >= -2302.330) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -2126.900) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 2324.000) and (posY >= -2059.230) and (posZ >= -89.084) and (posX <= 2541.700) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= -2411.220) and (posY >= 265.243) and (posZ >= -9.1) and (posX <= -1993.280) and (posY <= 373.539) and (posZ <= 200.000)
- {
- ZoneName := "King's"
- }
- else if (posX >= 1323.900) and (posY >= -1842.270) and (posZ >= -89.084) and (posX <= 1701.900) and (posY <= -1722.260) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 1269.130) and (posY >= -768.027) and (posZ >= -89.084) and (posX <= 1414.070) and (posY <= -452.425) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 647.712) and (posY >= -1804.210) and (posZ >= -89.084) and (posX <= 851.449) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Marina"
- }
- else if (posX >= -2741.070) and (posY >= 1268.410) and (posZ >= -4.5) and (posX <= -2533.040) and (posY <= 1490.470) and (posZ <= 200.000)
- {
- ZoneName := "Battery Point"
- }
- else if (posX >= 1817.390) and (posY >= 863.232) and (posZ >= -89.084) and (posX <= 2027.390) and (posY <= 1083.230) and (posZ <= 110.916)
- {
- ZoneName := "The Four Dragons Casino"
- }
- else if (posX >= 964.391) and (posY >= 1203.220) and (posZ >= -89.084) and (posX <= 1197.390) and (posY <= 1403.220) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield"
- }
- else if (posX >= 1534.560) and (posY >= 2433.230) and (posZ >= -89.084) and (posX <= 1848.400) and (posY <= 2583.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1117.400) and (posY >= 2723.230) and (posZ >= -89.084) and (posX <= 1457.460) and (posY <= 2863.230) and (posZ <= 110.916)
- {
- ZoneName := "Yellow Bell Gol Course"
- }
- else if (posX >= 1812.620) and (posY >= -1602.310) and (posZ >= -89.084) and (posX <= 2124.660) and (posY <= -1449.670) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= 1297.470) and (posY >= 2142.860) and (posZ >= -89.084) and (posX <= 1777.390) and (posY <= 2243.230) and (posZ <= 110.916)
- {
- ZoneName := "Redsands West"
- }
- else if (posX >= -2270.040) and (posY >= -324.114) and (posZ >= -1.2) and (posX <= -1794.920) and (posY <= -222.589) and (posZ <= 200.000)
- {
- ZoneName := "Doherty"
- }
- else if (posX >= 967.383) and (posY >= -450.390) and (posZ >= -3.0) and (posX <= 1176.780) and (posY <= -217.900) and (posZ <= 200.000)
- {
- ZoneName := "Hilltop Farm"
- }
- else if (posX >= -926.130) and (posY >= 1398.730) and (posZ >= -3.0) and (posX <= -719.234) and (posY <= 1634.690) and (posZ <= 200.000)
- {
- ZoneName := "Las Barrancas"
- }
- else if (posX >= 1817.390) and (posY >= 1469.230) and (posZ >= -89.084) and (posX <= 2027.400) and (posY <= 1703.230) and (posZ <= 110.916)
- {
- ZoneName := "Pirates in Men's Pants"
- }
- else if (posX >= -2867.850) and (posY >= 277.411) and (posZ >= -9.1) and (posX <= -2593.440) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "City Hall"
- }
- else if (posX >= -2646.400) and (posY >= -355.493) and (posZ >= 0.000) and (posX <= -2270.040) and (posY <= -222.589) and (posZ <= 200.000)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= 2027.400) and (posY >= 863.229) and (posZ >= -89.084) and (posX <= 2087.390) and (posY <= 1703.230) and (posZ <= 110.916)
- {
- ZoneName := "The Strip"
- }
- else if (posX >= -2593.440) and (posY >= -222.589) and (posZ >= -1.0) and (posX <= -2411.220) and (posY <= 54.722) and (posZ <= 200.000)
- {
- ZoneName := "Hashbury"
- }
- else if (posX >= 1852.000) and (posY >= -2394.330) and (posZ >= -89.084) and (posX <= 2089.000) and (posY <= -2179.250) and (posZ <= 110.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= 1098.310) and (posY >= 1726.220) and (posZ >= -89.084) and (posX <= 1197.390) and (posY <= 2243.230) and (posZ <= 110.916)
- {
- ZoneName := "Whitewood Estates"
- }
- else if (posX >= -789.737) and (posY >= 1659.680) and (posZ >= -89.084) and (posX <= -599.505) and (posY <= 1929.410) and (posZ <= 110.916)
- {
- ZoneName := "Sherman Reservoir"
- }
- else if (posX >= 1812.620) and (posY >= -2179.250) and (posZ >= -89.084) and (posX <= 1970.620) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "El Corona"
- }
- else if (posX >= -1700.010) and (posY >= 744.267) and (posZ >= -6.1) and (posX <= -1580.010) and (posY <= 1176.520) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= -2178.690) and (posY >= -1250.970) and (posZ >= 0.000) and (posX <= -1794.920) and (posY <= -1115.580) and (posZ <= 200.000)
- {
- ZoneName := "Foster Valley"
- }
- else if (posX >= -354.332) and (posY >= 2580.360) and (posZ >= 2.0) and (posX <= -133.625) and (posY <= 2816.820) and (posZ <= 200.000)
- {
- ZoneName := "Las Payasadas"
- }
- else if (posX >= -936.668) and (posY >= 2611.440) and (posZ >= 2.0) and (posX <= -715.961) and (posY <= 2847.900) and (posZ <= 200.000)
- {
- ZoneName := "Valle Ocultado"
- }
- else if (posX >= 1166.530) and (posY >= 795.010) and (posZ >= -89.084) and (posX <= 1375.600) and (posY <= 1044.690) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Intersection"
- }
- else if (posX >= 2222.560) and (posY >= -1852.870) and (posZ >= -89.084) and (posX <= 2632.830) and (posY <= -1722.330) and (posZ <= 110.916)
- {
- ZoneName := "Ganton"
- }
- else if (posX >= -1213.910) and (posY >= -730.118) and (posZ >= 0.000) and (posX <= -1132.820) and (posY <= -50.096) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= 1817.390) and (posY >= 2011.830) and (posZ >= -89.084) and (posX <= 2106.700) and (posY <= 2202.760) and (posZ <= 110.916)
- {
- ZoneName := "Redsands East"
- }
- else if (posX >= -1499.890) and (posY >= 578.396) and (posZ >= -79.615) and (posX <= -1339.890) and (posY <= 1274.260) and (posZ <= 20.385)
- {
- ZoneName := "Esplanade East"
- }
- else if (posX >= 2087.390) and (posY >= 1543.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 1703.230) and (posZ <= 110.916)
- {
- ZoneName := "Caligula's Palace"
- }
- else if (posX >= 2087.390) and (posY >= 1383.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 1543.230) and (posZ <= 110.916)
- {
- ZoneName := "Royal Casino"
- }
- else if (posX >= 72.648) and (posY >= -1235.070) and (posZ >= -89.084) and (posX <= 321.356) and (posY <= -1008.150) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 2437.390) and (posY >= 1783.230) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2012.180) and (posZ <= 110.916)
- {
- ZoneName := "Starfish Casino"
- }
- else if (posX >= 1281.130) and (posY >= -452.425) and (posZ >= -89.084) and (posX <= 1641.130) and (posY <= -290.913) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -1982.320) and (posY >= 744.170) and (posZ >= -6.1) and (posX <= -1871.720) and (posY <= 1274.260) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 2576.920) and (posY >= 62.158) and (posZ >= 0.000) and (posX <= 2759.250) and (posY <= 385.503) and (posZ <= 200.000)
- {
- ZoneName := "Hankypanky Point"
- }
- else if (posX >= 2498.210) and (posY >= 2626.550) and (posZ >= -89.084) and (posX <= 2749.900) and (posY <= 2861.550) and (posZ <= 110.916)
- {
- ZoneName := "K.A.C.C. Military Fuels"
- }
- else if (posX >= 1777.390) and (posY >= 863.232) and (posZ >= -89.084) and (posX <= 1817.390) and (posY <= 2342.830) and (posZ <= 110.916)
- {
- ZoneName := "Harry Gold Parkway"
- }
- else if (posX >= -2290.190) and (posY >= 2548.290) and (posZ >= -89.084) and (posX <= -1950.190) and (posY <= 2723.290) and (posZ <= 110.916)
- {
- ZoneName := "Bayside Tunnel"
- }
- else if (posX >= 2324.000) and (posY >= -2302.330) and (posZ >= -89.084) and (posX <= 2703.580) and (posY <= -2145.100) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 321.356) and (posY >= -1044.070) and (posZ >= -89.084) and (posX <= 647.557) and (posY <= -860.619) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 1558.090) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 1823.080) and (posY <= 823.235) and (posZ <= 110.916)
- {
- ZoneName := "Randolph Industrial Estate"
- }
- else if (posX >= 2632.830) and (posY >= -1852.870) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -1668.130) and (posZ <= 110.916)
- {
- ZoneName := "East Beach"
- }
- else if (posX >= -314.426) and (posY >= -753.874) and (posZ >= -89.084) and (posX <= -106.339) and (posY <= -463.073) and (posZ <= 110.916)
- {
- ZoneName := "Flint Water"
- }
- else if (posX >= 19.607) and (posY >= -404.136) and (posZ >= 3.8) and (posX <= 349.607) and (posY <= -220.137) and (posZ <= 200.000)
- {
- ZoneName := "Blueberry"
- }
- else if (posX >= 2749.900) and (posY >= 1198.990) and (posZ >= -89.084) and (posX <= 2923.390) and (posY <= 1548.990) and (posZ <= 110.916)
- {
- ZoneName := "Linden Station"
- }
- else if (posX >= 1812.620) and (posY >= -1350.720) and (posZ >= -89.084) and (posX <= 2056.860) and (posY <= -1100.820) and (posZ <= 110.916)
- {
- ZoneName := "Glen Park"
- }
- else if (posX >= -1993.280) and (posY >= 265.243) and (posZ >= -9.1) and (posX <= -1794.920) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 1377.390) and (posY >= 2243.230) and (posZ >= -89.084) and (posX <= 1704.590) and (posY <= 2433.230) and (posZ <= 110.916)
- {
- ZoneName := "Redsands West"
- }
- else if (posX >= 321.356) and (posY >= -1235.070) and (posZ >= -89.084) and (posX <= 647.522) and (posY <= -1044.070) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= -2741.450) and (posY >= 1659.680) and (posZ >= -6.1) and (posX <= -2616.400) and (posY <= 2175.150) and (posZ <= 200.000)
- {
- ZoneName := "Gant Bridge"
- }
- else if (posX >= -90.218) and (posY >= 1286.850) and (posZ >= -3.0) and (posX <= 153.859) and (posY <= 1554.120) and (posZ <= 200.000)
- {
- ZoneName := "Lil' Probe Inn"
- }
- else if (posX >= -187.700) and (posY >= -1596.760) and (posZ >= -89.084) and (posX <= 17.063) and (posY <= -1276.600) and (posZ <= 110.916)
- {
- ZoneName := "Flint Intersection"
- }
- else if (posX >= 2281.450) and (posY >= -1135.040) and (posZ >= -89.084) and (posX <= 2632.740) and (posY <= -945.035) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 2749.900) and (posY >= 1548.990) and (posZ >= -89.084) and (posX <= 2923.390) and (posY <= 1937.250) and (posZ <= 110.916)
- {
- ZoneName := "Sobell Rail Yards"
- }
- else if (posX >= 2011.940) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2237.400) and (posY <= 2508.230) and (posZ <= 110.916)
- {
- ZoneName := "The Emerald Isle"
- }
- else if (posX >= -208.570) and (posY >= 2123.010) and (posZ >= -7.6) and (posX <= 114.033) and (posY <= 2337.180) and (posZ <= 200.000)
- {
- ZoneName := "El Castillo del Diablo"
- }
- else if (posX >= -2741.070) and (posY >= 458.411) and (posZ >= -7.6) and (posX <= -2533.040) and (posY <= 793.411) and (posZ <= 200.000)
- {
- ZoneName := "Santa Flora"
- }
- else if (posX >= 2703.580) and (posY >= -2126.900) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Playa del Seville"
- }
- else if (posX >= 926.922) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 1370.850) and (posY <= -1416.250) and (posZ <= 110.916)
- {
- ZoneName := "Market"
- }
- else if (posX >= -2593.440) and (posY >= 54.722) and (posZ >= 0.000) and (posX <= -2411.220) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "Queens"
- }
- else if (posX >= 1098.390) and (posY >= 2243.230) and (posZ >= -89.084) and (posX <= 1377.390) and (posY <= 2507.230) and (posZ <= 110.916)
- {
- ZoneName := "Pilson Intersection"
- }
- else if (posX >= 2121.400) and (posY >= 2663.170) and (posZ >= -89.084) and (posX <= 2498.210) and (posY <= 2861.550) and (posZ <= 110.916)
- {
- ZoneName := "Spinybed"
- }
- else if (posX >= 2437.390) and (posY >= 1383.230) and (posZ >= -89.084) and (posX <= 2624.400) and (posY <= 1783.230) and (posZ <= 110.916)
- {
- ZoneName := "Pilgrim"
- }
- else if (posX >= 964.391) and (posY >= 1403.220) and (posZ >= -89.084) and (posX <= 1197.390) and (posY <= 1726.220) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield"
- }
- else if (posX >= -410.020) and (posY >= 1403.340) and (posZ >= -3.0) and (posX <= -137.969) and (posY <= 1681.230) and (posZ <= 200.000)
- {
- ZoneName := "'The Big Ear'"
- }
- else if (posX >= 580.794) and (posY >= -674.885) and (posZ >= -9.5) and (posX <= 861.085) and (posY <= -404.790) and (posZ <= 200.000)
- {
- ZoneName := "Dillimore"
- }
- else if (posX >= -1645.230) and (posY >= 2498.520) and (posZ >= 0.000) and (posX <= -1372.140) and (posY <= 2777.850) and (posZ <= 200.000)
- {
- ZoneName := "El Quebrados"
- }
- else if (posX >= -2533.040) and (posY >= 1358.900) and (posZ >= -4.5) and (posX <= -1996.660) and (posY <= 1501.210) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade North"
- }
- else if (posX >= -1499.890) and (posY >= -50.096) and (posZ >= -1.0) and (posX <= -1242.980) and (posY <= 249.904) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= 1916.990) and (posY >= -233.323) and (posZ >= -100.000) and (posX <= 2131.720) and (posY <= 13.800) and (posZ <= 200.000)
- {
- ZoneName := "Fisher's Lagoon"
- }
- else if (posX >= 1414.070) and (posY >= -768.027) and (posZ >= -89.084) and (posX <= 1667.610) and (posY <= -452.425) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 2747.740) and (posY >= -1498.620) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -1120.040) and (posZ <= 110.916)
- {
- ZoneName := "East Beach"
- }
- else if (posX >= 2450.390) and (posY >= 385.503) and (posZ >= -100.000) and (posX <= 2759.250) and (posY <= 562.349) and (posZ <= 200.000)
- {
- ZoneName := "San Andreas Sound"
- }
- else if (posX >= -2030.120) and (posY >= -2174.890) and (posZ >= -6.1) and (posX <= -1820.640) and (posY <= -1771.660) and (posZ <= 200.000)
- {
- ZoneName := "Shady Creeks"
- }
- else if (posX >= 1072.660) and (posY >= -1416.250) and (posZ >= -89.084) and (posX <= 1370.850) and (posY <= -1130.850) and (posZ <= 110.916)
- {
- ZoneName := "Market"
- }
- else if (posX >= 1997.220) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 2377.390) and (posY <= 823.228) and (posZ <= 110.916)
- {
- ZoneName := "Rockshore West"
- }
- else if (posX >= 1534.560) and (posY >= 2583.230) and (posZ >= -89.084) and (posX <= 1848.400) and (posY <= 2863.230) and (posZ <= 110.916)
- {
- ZoneName := "Prickle Pine"
- }
- else if (posX >= -1794.920) and (posY >= -50.096) and (posZ >= -1.04) and (posX <= -1499.890) and (posY <= 249.904) and (posZ <= 200.000)
- {
- ZoneName := "Easter Basin"
- }
- else if (posX >= -1166.970) and (posY >= -1856.030) and (posZ >= 0.000) and (posX <= -815.624) and (posY <= -1602.070) and (posZ <= 200.000)
- {
- ZoneName := "Leafy Hollow"
- }
- else if (posX >= 1457.390) and (posY >= 863.229) and (posZ >= -89.084) and (posX <= 1777.400) and (posY <= 1143.210) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= 1117.400) and (posY >= 2507.230) and (posZ >= -89.084) and (posX <= 1534.560) and (posY <= 2723.230) and (posZ <= 110.916)
- {
- ZoneName := "Prickle Pine"
- }
- else if (posX >= 104.534) and (posY >= -220.137) and (posZ >= 2.3) and (posX <= 349.607) and (posY <= 152.236) and (posZ <= 200.000)
- {
- ZoneName := "Blueberry"
- }
- else if (posX >= -464.515) and (posY >= 2217.680) and (posZ >= 0.000) and (posX <= -208.570) and (posY <= 2580.360) and (posZ <= 200.000)
- {
- ZoneName := "El Castillo del Diablo"
- }
- else if (posX >= -2078.670) and (posY >= 578.396) and (posZ >= -7.6) and (posX <= -1499.890) and (posY <= 744.267) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 2537.390) and (posY >= 676.549) and (posZ >= -89.084) and (posX <= 2902.350) and (posY <= 943.235) and (posZ <= 110.916)
- {
- ZoneName := "Rockshore East"
- }
- else if (posX >= -2616.400) and (posY >= 1501.210) and (posZ >= -3.0) and (posX <= -1996.660) and (posY <= 1659.680) and (posZ <= 200.000)
- {
- ZoneName := "San Fierro Bay"
- }
- else if (posX >= -2741.070) and (posY >= 793.411) and (posZ >= -6.1) and (posX <= -2533.040) and (posY <= 1268.410) and (posZ <= 200.000)
- {
- ZoneName := "Paradiso"
- }
- else if (posX >= 2087.390) and (posY >= 1203.230) and (posZ >= -89.084) and (posX <= 2640.400) and (posY <= 1383.230) and (posZ <= 110.916)
- {
- ZoneName := "The Camel's Toe"
- }
- else if (posX >= 2162.390) and (posY >= 2012.180) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2202.760) and (posZ <= 110.916)
- {
- ZoneName := "Old Venturas Strip"
- }
- else if (posX >= -2533.040) and (posY >= 578.396) and (posZ >= -7.6) and (posX <= -2274.170) and (posY <= 968.369) and (posZ <= 200.000)
- {
- ZoneName := "Juniper Hill"
- }
- else if (posX >= -2533.040) and (posY >= 968.369) and (posZ >= -6.1) and (posX <= -2274.170) and (posY <= 1358.900) and (posZ <= 200.000)
- {
- ZoneName := "Juniper Hollow"
- }
- else if (posX >= 2237.400) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2536.430) and (posY <= 2542.550) and (posZ <= 110.916)
- {
- ZoneName := "Roca Escalante"
- }
- else if (posX >= 2685.160) and (posY >= 1055.960) and (posZ >= -89.084) and (posX <= 2749.900) and (posY <= 2626.550) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway East"
- }
- else if (posX >= 647.712) and (posY >= -2173.290) and (posZ >= -89.084) and (posX <= 930.221) and (posY <= -1804.210) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= -2178.690) and (posY >= -599.884) and (posZ >= -1.2) and (posX <= -1794.920) and (posY <= -324.114) and (posZ <= 200.000)
- {
- ZoneName := "Foster Valley"
- }
- else if (posX >= -901.129) and (posY >= 2221.860) and (posZ >= 0.000) and (posX <= -592.090) and (posY <= 2571.970) and (posZ <= 200.000)
- {
- ZoneName := "Arco del Oeste"
- }
- else if (posX >= -792.254) and (posY >= -698.555) and (posZ >= -5.3) and (posX <= -452.404) and (posY <= -380.043) and (posZ <= 200.000)
- {
- ZoneName := "Fallen Tree"
- }
- else if (posX >= -1209.670) and (posY >= -1317.100) and (posZ >= 114.981) and (posX <= -908.161) and (posY <= -787.391) and (posZ <= 251.981)
- {
- ZoneName := "The Farm"
- }
- else if (posX >= -968.772) and (posY >= 1929.410) and (posZ >= -3.0) and (posX <= -481.126) and (posY <= 2155.260) and (posZ <= 200.000)
- {
- ZoneName := "The Sherman Dam"
- }
- else if (posX >= -1996.660) and (posY >= 1358.900) and (posZ >= -4.5) and (posX <= -1524.240) and (posY <= 1592.510) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade North"
- }
- else if (posX >= -1871.720) and (posY >= 744.170) and (posZ >= -6.1) and (posX <= -1701.300) and (posY <= 1176.420) and (posZ <= 300.000)
- {
- ZoneName := "Financial"
- }
- else if (posX >= -2411.220) and (posY >= -222.589) and (posZ >= -1.14) and (posX <= -2173.040) and (posY <= 265.243) and (posZ <= 200.000)
- {
- ZoneName := "Garcia"
- }
- else if (posX >= 1119.510) and (posY >= 119.526) and (posZ >= -3.0) and (posX <= 1451.400) and (posY <= 493.323) and (posZ <= 200.000)
- {
- ZoneName := "Montgomery"
- }
- else if (posX >= 2749.900) and (posY >= 1937.250) and (posZ >= -89.084) and (posX <= 2921.620) and (posY <= 2669.790) and (posZ <= 110.916)
- {
- ZoneName := "Creek"
- }
- else if (posX >= 1249.620) and (posY >= -2394.330) and (posZ >= -89.084) and (posX <= 1852.000) and (posY <= -2179.250) and (posZ <= 110.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= 72.648) and (posY >= -2173.290) and (posZ >= -89.084) and (posX <= 342.648) and (posY <= -1684.650) and (posZ <= 110.916)
- {
- ZoneName := "Santa Maria Beach"
- }
- else if (posX >= 1463.900) and (posY >= -1150.870) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland Intersection"
- }
- else if (posX >= -2324.940) and (posY >= -2584.290) and (posZ >= -6.1) and (posX <= -1964.220) and (posY <= -2212.110) and (posZ <= 200.000)
- {
- ZoneName := "Angel Pine"
- }
- else if (posX >= 37.032) and (posY >= 2337.180) and (posZ >= -3.0) and (posX <= 435.988) and (posY <= 2677.900) and (posZ <= 200.000)
- {
- ZoneName := "Verdant Meadows"
- }
- else if (posX >= 338.658) and (posY >= 1228.510) and (posZ >= 0.000) and (posX <= 664.308) and (posY <= 1655.050) and (posZ <= 200.000)
- {
- ZoneName := "Octane Springs"
- }
- else if (posX >= 2087.390) and (posY >= 943.235) and (posZ >= -89.084) and (posX <= 2623.180) and (posY <= 1203.230) and (posZ <= 110.916)
- {
- ZoneName := "Come-A-Lot"
- }
- else if (posX >= 1236.630) and (posY >= 1883.110) and (posZ >= -89.084) and (posX <= 1777.390) and (posY <= 2142.860) and (posZ <= 110.916)
- {
- ZoneName := "Redsands West"
- }
- else if (posX >= 342.648) and (posY >= -2173.290) and (posZ >= -89.084) and (posX <= 647.712) and (posY <= -1684.650) and (posZ <= 110.916)
- {
- ZoneName := "Santa Maria Beach"
- }
- else if (posX >= 1249.620) and (posY >= -2179.250) and (posZ >= -89.084) and (posX <= 1692.620) and (posY <= -1842.270) and (posZ <= 110.916)
- {
- ZoneName := "Verdant Bluffs"
- }
- else if (posX >= 1236.630) and (posY >= 1203.280) and (posZ >= -89.084) and (posX <= 1457.370) and (posY <= 1883.110) and (posZ <= 110.916)
- {
- ZoneName := "Las Venturas Airport"
- }
- else if (posX >= -594.191) and (posY >= -1648.550) and (posZ >= 0.000) and (posX <= -187.700) and (posY <= -1276.600) and (posZ <= 200.000)
- {
- ZoneName := "Flint Range"
- }
- else if (posX >= 930.221) and (posY >= -2488.420) and (posZ >= -89.084) and (posX <= 1249.620) and (posY <= -2006.780) and (posZ <= 110.916)
- {
- ZoneName := "Verdant Bluffs"
- }
- else if (posX >= 2160.220) and (posY >= -149.004) and (posZ >= 0.000) and (posX <= 2576.920) and (posY <= 228.322) and (posZ <= 200.000)
- {
- ZoneName := "Palomino Creek"
- }
- else if (posX >= 2373.770) and (posY >= -2697.090) and (posZ >= -89.084) and (posX <= 2809.220) and (posY <= -2330.460) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= -1213.910) and (posY >= -50.096) and (posZ >= -4.5) and (posX <= -947.980) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= 883.308) and (posY >= 1726.220) and (posZ >= -89.084) and (posX <= 1098.310) and (posY <= 2507.230) and (posZ <= 110.916)
- {
- ZoneName := "Whitewood Estates"
- }
- else if (posX >= -2274.170) and (posY >= 744.170) and (posZ >= -6.1) and (posX <= -1982.320) and (posY <= 1358.900) and (posZ <= 200.000)
- {
- ZoneName := "Calton Heights"
- }
- else if (posX >= -1794.920) and (posY >= 249.904) and (posZ >= -9.1) and (posX <= -1242.980) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Easter Basin"
- }
- else if (posX >= -321.744) and (posY >= -2224.430) and (posZ >= -89.084) and (posX <= 44.615) and (posY <= -1724.430) and (posZ <= 110.916)
- {
- ZoneName := "Los Santos Inlet"
- }
- else if (posX >= -2173.040) and (posY >= -222.589) and (posZ >= -1.0) and (posX <= -1794.920) and (posY <= 265.243) and (posZ <= 200.000)
- {
- ZoneName := "Doherty"
- }
- else if (posX >= -2178.690) and (posY >= -2189.910) and (posZ >= -47.917) and (posX <= -2030.120) and (posY <= -1771.660) and (posZ <= 576.083)
- {
- ZoneName := "Mount Chiliad"
- }
- else if (posX >= -376.233) and (posY >= 826.326) and (posZ >= -3.0) and (posX <= 123.717) and (posY <= 1220.440) and (posZ <= 200.000)
- {
- ZoneName := "Fort Carson"
- }
- else if (posX >= -2178.690) and (posY >= -1115.580) and (posZ >= 0.000) and (posX <= -1794.920) and (posY <= -599.884) and (posZ <= 200.000)
- {
- ZoneName := "Foster Valley"
- }
- else if (posX >= -2994.490) and (posY >= -222.589) and (posZ >= -1.0) and (posX <= -2593.440) and (posY <= 277.411) and (posZ <= 200.000)
- {
- ZoneName := "Ocean Flats"
- }
- else if (posX >= 508.189) and (posY >= -139.259) and (posZ >= 0.000) and (posX <= 1306.660) and (posY <= 119.526) and (posZ <= 200.000)
- {
- ZoneName := "Fern Ridge"
- }
- else if (posX >= -2741.070) and (posY >= 2175.150) and (posZ >= 0.000) and (posX <= -2353.170) and (posY <= 2722.790) and (posZ <= 200.000)
- {
- ZoneName := "Bayside"
- }
- else if (posX >= 1457.370) and (posY >= 1203.280) and (posZ >= -89.084) and (posX <= 1777.390) and (posY <= 1883.110) and (posZ <= 110.916)
- {
- ZoneName := "Las Venturas Airport"
- }
- else if (posX >= -319.676) and (posY >= -220.137) and (posZ >= 0.000) and (posX <= 104.534) and (posY <= 293.324) and (posZ <= 200.000)
- {
- ZoneName := "Blueberry Acres"
- }
- else if (posX >= -2994.490) and (posY >= 458.411) and (posZ >= -6.1) and (posX <= -2741.070) and (posY <= 1339.610) and (posZ <= 200.000)
- {
- ZoneName := "Palisades"
- }
- else if (posX >= 2285.370) and (posY >= -768.027) and (posZ >= 0.000) and (posX <= 2770.590) and (posY <= -269.740) and (posZ <= 200.000)
- {
- ZoneName := "North Rock"
- }
- else if (posX >= 337.244) and (posY >= 710.840) and (posZ >= -115.239) and (posX <= 860.554) and (posY <= 1031.710) and (posZ <= 203.761)
- {
- ZoneName := "Hunter Quarry"
- }
- else if (posX >= 1382.730) and (posY >= -2730.880) and (posZ >= -89.084) and (posX <= 2201.820) and (posY <= -2394.330) and (posZ <= 110.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= -2994.490) and (posY >= -811.276) and (posZ >= 0.000) and (posX <= -2178.690) and (posY <= -430.276) and (posZ <= 200.000)
- {
- ZoneName := "Missionary Hill"
- }
- else if (posX >= -2616.400) and (posY >= 1659.680) and (posZ >= -3.0) and (posX <= -1996.660) and (posY <= 2175.150) and (posZ <= 200.000)
- {
- ZoneName := "San Fierro Bay"
- }
- else if (posX >= -91.586) and (posY >= 1655.050) and (posZ >= -50.000) and (posX <= 421.234) and (posY <= 2123.010) and (posZ <= 250.000)
- {
- ZoneName := "Restricted Area"
- }
- else if (posX >= -2997.470) and (posY >= -1115.580) and (posZ >= -47.917) and (posX <= -2178.690) and (posY <= -971.913) and (posZ <= 576.083)
- {
- ZoneName := "Mount Chiliad"
- }
- else if (posX >= -2178.690) and (posY >= -1771.660) and (posZ >= -47.917) and (posX <= -1936.120) and (posY <= -1250.970) and (posZ <= 576.083)
- {
- ZoneName := "Mount Chiliad"
- }
- else if (posX >= -1794.920) and (posY >= -730.118) and (posZ >= -3.0) and (posX <= -1213.910) and (posY <= -50.096) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= -947.980) and (posY >= -304.320) and (posZ >= -1.1) and (posX <= -319.676) and (posY <= 327.071) and (posZ <= 200.000)
- {
- ZoneName := "The Panopticon"
- }
- else if (posX >= -1820.640) and (posY >= -2643.680) and (posZ >= -8.0) and (posX <= -1226.780) and (posY <= -1771.660) and (posZ <= 200.000)
- {
- ZoneName := "Shady Creeks"
- }
- else if (posX >= -1166.970) and (posY >= -2641.190) and (posZ >= 0.000) and (posX <= -321.744) and (posY <= -1856.030) and (posZ <= 200.000)
- {
- ZoneName := "Back o Beyond"
- }
- else if (posX >= -2994.490) and (posY >= -2189.910) and (posZ >= -47.917) and (posX <= -2178.690) and (posY <= -1115.580) and (posZ <= 576.083)
- {
- ZoneName := "Mount Chiliad"
- }
- else if (posX >= -1213.910) and (posY >= 596.349) and (posZ >= -242.990) and (posX <= -480.539) and (posY <= 1659.680) and (posZ <= 900.000)
- {
- ZoneName := "Tierra Robada"
- }
- else if (posX >= -1213.910) and (posY >= -2892.970) and (posZ >= -242.990) and (posX <= 44.615) and (posY <= -768.027) and (posZ <= 900.000)
- {
- ZoneName := "Flint County"
- }
- else
- {
- ZoneName := "Unbekannt"
- }
- return ZoneName
- }
- OpenMemoryfromTitle(title,right=0x1F0FFF)
- {
- WinGet,PID,PID,%title%
- HWND := DllCall("OpenProcess","Uint",right,"int",0,"int",PID)
- return HWND
- }
- CloseMemory(hwnd)
- {
- return DllCall("CloseHandle", "int", hwnd)
- }
- ReadMemory(hwnd,address,datatype="int",length=4,offset=0)
- {
- VarSetCapacity(readvalue,length, 0)
- DllCall("ReadProcessMemory","Uint",hwnd,"Uint",address+offset,"Str",readvalue,"Uint",length,"Uint *",0)
- finalvalue := NumGet(readvalue,0,datatype)
- return finalvalue
- }
- :?:/rmpos::
- Suspend Permit
- exe := OpenMemoryfromTitle("GTA:SA:MP")
- posX := ReadMemory(exe,0xC7DEC8,"Float")
- posY := ReadMemory(exe,0xC7DECC,"Float")
- posZ := ReadMemory(exe, 0xC7DED0,"Float")
- CloseMemory(exe)
- posX := Floor(posX)
- posY := Floor(posY)
- posZ := Floor(posZ)
- Zone := GetZoneByCoords(posX, posY, posZ)
- City := GetCityByCoords(posX, posY, posZ)
- Entfernung := GetDistanceFromPoint(posX, posY, posZ)
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Marker befindet sich in {FFBB00}" . Zone . "{FFFFFF}, {FFBB00}" . City . "{FFFFFF}.")
- AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Die Entfernung beträgt {FFBB00}" . Entfernung . "{FFFFFF}m.")
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement