Advertisement
Guest User

Untitled

a guest
Jan 30th, 2016
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 225.74 KB | None | 0 0
  1. ; <COMPILER: v1.0.48.5>
  2. #IfWinActive, GTA:SA:MP
  3. #UseHook
  4. #Persistent
  5.  
  6.  
  7. #SingleInstance force
  8. UrlDownloadToVar(URL, UserAgent = "", Proxy = "", ProxyBypass = "") {
  9. pFix:=a_isunicode ? "W" : "A"
  10. hModule := DllCall("LoadLibrary", "Str", "wininet.dll")
  11.  
  12. AccessType := Proxy != "" ? 3 : 1
  13.  
  14.  
  15.  
  16.  
  17.  
  18. io := DllCall("wininet\InternetOpen" . pFix
  19. , "Str", UserAgent
  20. , "UInt", AccessType
  21. , "Str", Proxy
  22. , "Str", ProxyBypass
  23. , "UInt", 0)
  24.  
  25. iou := DllCall("wininet\InternetOpenUrl" . pFix
  26. , "UInt", io
  27. , "Str", url
  28. , "Str", ""
  29. , "UInt", 0
  30. , "UInt", 0x80000000
  31. , "UInt", 0)
  32.  
  33. If (ErrorLevel != 0 or iou = 0) {
  34. DllCall("FreeLibrary", "UInt", hModule)
  35. return 0
  36. }
  37.  
  38. VarSetCapacity(buffer, 10240, 0)
  39. VarSetCapacity(BytesRead, 4, 0)
  40.  
  41. Loop
  42. {
  43.  
  44. irf := DllCall("wininet\InternetReadFile", "UInt", iou, "UInt", &buffer, "UInt", 10240, "UInt", &BytesRead)
  45. VarSetCapacity(buffer, -1)
  46.  
  47. BytesRead_ = 0
  48. Loop, 4
  49. BytesRead_ += *(&BytesRead + A_Index-1) << 8*(A_Index-1)
  50.  
  51.  
  52.  
  53. If (irf = 1 and BytesRead_ = 0)
  54. break
  55. Else
  56. {
  57.  
  58. Result .= SubStr(buffer, 1, BytesRead_ * (a_isunicode ? 2 : 1))
  59. }
  60.  
  61. }
  62.  
  63. DllCall("wininet\InternetCloseHandle", "UInt", iou)
  64. DllCall("wininet\InternetCloseHandle", "UInt", io)
  65. DllCall("FreeLibrary", "UInt", hModule)
  66. return % result
  67. }
  68.  
  69.  
  70. Version=1.2
  71. API=0.8.4
  72.  
  73.  
  74. TicketOverlay = 0
  75.  
  76. pOn = 0
  77.  
  78. caID = Niemand
  79. SpeedCheckStatus = 0
  80. SpeedOnOff = 0
  81. VehSpeedMax = 0
  82. LowHPsoundan = 0
  83. altergk = -1
  84.  
  85. fischers = 1
  86. watermode = 0
  87. bkon = 0
  88. hmOn = 0
  89.  
  90. Partner1 = -1
  91. Partner2 = -1
  92.  
  93. Fahrer = -1
  94.  
  95. arrest1 = -1
  96. arrest2 = -1
  97. arrest3 = -1
  98. arrest4 = -1
  99. arrest5 = -1
  100.  
  101. Sounds = %A_ScriptDir%\Sounds
  102.  
  103. IfNotExist, %A_ScriptDir%\Sounds
  104. {
  105. FileCreateDir, %A_ScriptDir%\Sounds
  106. }
  107. IfNotExist,%A_ScriptDir%\Sounds\Call.mp3
  108. {
  109. URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/Call.mp3, Call.mp3
  110. FileMove, Call.mp3, %Sounds%\Call.mp3
  111. }
  112. IfNotExist, %A_ScriptDir%\Sounds\SMS.mp3
  113. {
  114. URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/SMS.mp3, SMS.mp3
  115. FileMove, SMS.mp3, %Sounds%\SMS.mp3
  116. }
  117. IfNotExist, %A_ScriptDir%\Sounds\LowHP.mp3
  118. {
  119. URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/LowHP.mp3, LowHP.mp3
  120. FileMove, LowHP.mp3, %Sounds%\LowHP.mp3
  121. }
  122. IfNotExist, %A_ScriptDir%\Sounds\BK.mp3
  123. {
  124. URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/BK.mp3, BK.mp3
  125. FileMove, BK.mp3, %Sounds%\BK.mp3
  126. }
  127.  
  128. IfExist, Update.bat
  129. {
  130. FileDelete, Update.bat
  131. }
  132.  
  133. CheckURL=http://mrpacific.pf-control.de/StaatsgewaltKeybinder/Version.txt
  134. CheckURL2=http://mrpacific.pf-control.de/StaatsgewaltKeybinder/API.txt
  135. NeueVersion:=UrlDownloadToVar(CheckURL)
  136. NeueAPI:=UrlDownloadToVar(CheckURL2)
  137.  
  138. if(Version < NeueVersion)
  139. {
  140. MsgBox, 64, Update, Es ist ein Update verfügbar.`nDer Download wird nun gestartet.`nBitte den Updatevorgang nicht abbrechen.
  141. FileMove, StaatsgewaltKeybinder.exe, old_StaatsgewaltKeybinder.exe, 1
  142. URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/StaatsgewaltKeybinder.exe, StaatsgewaltKeybinder.exe
  143. if(API < NeueAPI)
  144. {
  145. FileMove, API.dll, old_API.dll, 1
  146. UrlDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/API.dll, API.dll
  147. }
  148. BatchFile=
  149. (
  150. start StaatsgewaltKeybinder.exe
  151. )
  152. FileDelete, Update.bat
  153. FileAppend, %Batchfile%, Update.bat
  154. Run, Update.bat, hide
  155. ExitApp
  156. }
  157.  
  158. IfNotExist, API.dll
  159. {
  160. MsgBox, 64, Fehler, Die API wurde nicht gefunden. Sie wird nun heruntergeladen.
  161. URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/API.dll, API.dll
  162. MsgBox, 64, Erfolgreich, Die Datei wurde erfolgreich heruntergeladen. Der Keybinder`nmuss nun neugestartet werden!
  163. ExitApp
  164. }
  165.  
  166. IfNotExist, API084.dll
  167. {
  168. MsgBox, 64, Fehler, Die API wurde nicht gefunden. Sie wird nun heruntergeladen.
  169. URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/API084.dll, API084.dll
  170. MsgBox, 64, Erfolgreich, Die Datei wurde erfolgreich heruntergeladen. Der Keybinder`nmuss nun neugestartet werden!
  171. ExitApp
  172. }
  173.  
  174. if(WinExist("GTA:SA:MP"))
  175. {
  176. GetPlayerData()
  177. GetPlayerName(myName)
  178. RegRead, sampname, HKCU, Software\SAMP, PlayerName
  179. lspd = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/whitelist_neu/checkUser.php?username=%sampname%&fraktion=0
  180. fbi = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/whitelist_neu/checkUser.php?username=%sampname%&fraktion=1
  181. lvpd = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/whitelist_neu/checkUser.php?username=%sampname%&fraktion=2
  182. checkadmin = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/checkAdmin.php?Name=%sampname%
  183. Sleep, 200
  184. checkLSPD := UrlDownloadToVar(lspd)
  185. Sleep, 750
  186. checkFBI := UrlDownloadToVar(fbi)
  187. Sleep, 750
  188. checkLVPD := UrlDownloadToVar(lvpd)
  189. Sleep, 200
  190.  
  191. if(checkLSPD == "1")
  192. {
  193. login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%&fraktion=LSPD
  194. Sleep, 200
  195. admin := UrlDownloadToVar(checkadmin)
  196. Sleep, 750
  197. Yo := UrlDownloadToVar(login)
  198. }
  199. else if(checkFBI == "1")
  200. {
  201. login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%&fraktion=FBI
  202. Sleep, 200
  203. admin := UrlDownloadToVar(checkadmin)
  204. Sleep, 750
  205. Yo := UrlDownloadToVar(login)
  206. }
  207. else if(checkLVPD == "1")
  208. {
  209. login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%&fraktion=LVPD
  210. Sleep, 200
  211. admin := UrlDownloadToVar(checkadmin)
  212. Sleep, 750
  213. Yo := UrlDownloadToVar(login)
  214. }
  215. else
  216. {
  217. url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/whitelist/checkwhitelist.php?Name=%sampname%
  218. Sleep, 300
  219. success := UrlDownloadToVar(url)
  220. if(success == "1")
  221. {
  222. login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%&fraktion=Fraktionslos
  223. Sleep, 200
  224. admin := UrlDownloadToVar(checkadmin)
  225. Sleep, 750
  226. Yo := UrlDownloadToVar(login)
  227. }
  228. else
  229. {
  230. 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.
  231. login = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/writelogin.php?name=%sampname%(fehlgeschlagen)&fraktion=/
  232. Yo := UrlDownloadToVar(login)
  233. ExitApp
  234. }
  235. }
  236. }
  237. else
  238. {
  239. MsgBox, 48, Fehler, Bitte starte zuerst SAMP.
  240. ExitApp
  241. }
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276. IniRead, Fraktion, settings.ini, Daten, Fraktion
  277. IniRead, Abteilung, settings.ini, Daten, Abteilung
  278. IniRead, Laptop, settings.ini, Daten, Laptop
  279. IniRead, Lock, settings.ini, Daten, Lock
  280. IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
  281.  
  282. IniRead, CheckCall, settings.ini, Sounds, CheckCall
  283. IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
  284. IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
  285. IniRead, CheckBK, settings.ini, Sounds, CheckBK
  286. IniRead, Callsound, settings.ini, Sounds, Callsound
  287. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  288. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  289. IniRead, BKsound, settings.ini, Sounds, BKsound
  290.  
  291. SynchronizeLaptop(Laptop)
  292.  
  293. Gui, Add, Text, x0 y320 w350 h20 , Created by Hunter, weiterentwickelt von MrPacific
  294. Gui, Add, Tab2, x0 y0 w350 h320 , Allgemein|Vergaben|Laptop-Modus|Admin-Befehle|Settings
  295. Gui, Tab, Allgemein
  296. 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
  297. Gui, Tab, Vergaben
  298. 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
  299. Gui, Tab, Laptop-Modus
  300. 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
  301. Gui, Tab, Admin-Befehle
  302. 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
  303. Gui, Tab, Settings
  304. Gui, Add, Text, x6 y40 w120 h20 , Fraktion
  305. Gui, Add, DropDownList, x166 y40 w150 h80 vFraktion, LSPD|LVPD|FBI
  306. GuiControl, Choose, Fraktion, %Fraktion%
  307. Gui, Add, Text, x6 y70 w120 h20 , Abteilung
  308. Gui, Add, Edit, x166 y70 w150 h20 vAbteilung, %Abteilung%
  309. Gui, Add, Button, x15 y260 w140 h40 gUpdate, News und Updates
  310. Gui, Add, Button, x175 y260 w150 h40 gDruck, Druckversion
  311. Gui, Add, Checkbox, x5 y100 w220 h20 vLock Checked%Lock%, Lock-System aktivieren?
  312. Gui, Add, Checkbox, x5 y130 w220 h20 vChatlogsaver Checked%Chatlogsaver%, Chatlogsaver aktivieren?
  313. Gui, Add, Checkbox, x5 y160 w340 h30 vLaptop Checked%Laptop%, Laptopmodus aktivieren? (NumPadBinds werden auf ALT-Tasten verlegt)
  314. Gui, Add, Button, x15 y200 w140 h40 gSpeichern, Speichern
  315. Gui, Add, Button, x175 y200 w150 h40 gSounds, Sounds
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324. Gui, Show, w347 h342, Staatsgewaltkeybinder (Version %Version%)
  325.  
  326. IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
  327. if (Chatlogsaver == 1)
  328. {
  329. SetTimer, chatlog, 500
  330. }
  331. else
  332. {
  333. SetTimer, chatlog, off
  334. }
  335.  
  336. SetTimer, _GTACheck, 100
  337. return
  338.  
  339. GuiClose:
  340. ExitApp
  341.  
  342. Sounds:
  343. IniRead, Callsound, settings.ini, Sounds, Callsound
  344. if(Callsound == "" || Callsound == "ERROR")
  345. {
  346. Callsound := "" . Sounds . "/Call.mp3"
  347. IniWrite, %Callsound%, settings.ini, Sounds, Callsound
  348. }
  349. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  350. if(SMSsound = "" || SMSsound = "ERROR")
  351. {
  352. SMSsound := "" . Sounds . "/SMS.mp3"
  353. IniWrite, %SMSsound%, settings.ini, Sounds, SMSsound
  354. }
  355. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  356. if(LowHPsound = "" || LowHPsound = "ERROR")
  357. {
  358. LowHPsound := "" . Sounds . "/LowHP.mp3"
  359. IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
  360. }
  361. IniRead, BKsound, settings.ini, Sounds, BKsound
  362. if(BKsound = "" || BKsound == "ERROR")
  363. {
  364. BKsound := "" . Sounds . "/BK.mp3"
  365. IniWrite, %BKsound%, settings.ini, Sounds, BKsound
  366. }
  367. Gui, 4: Destroy
  368. Gui, 4: Font, s10, bold
  369. Gui, 4:Add, GroupBox, x36 y10 w670 h110 cwhite, Informationen
  370. 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.
  371. Gui, 4:Add, Checkbox, x52 y163 w13 h13 gCheckCall Checked%CheckCall% vCheckCall,
  372. Gui, 4:Add, Checkbox, x52 y193 w13 h13 gCheckSMS Checked%CheckSMS% vCheckSMS,
  373. Gui, 4:Add, Checkbox, x52 y223 w13 h13 gCheckLowHP Checked%CheckLowHP% vCheckLowHP,
  374. Gui, 4:Add, Checkbox, x52 y253 w13 h13 gCheckBK Checked%CheckBK% vCheckBK,
  375. Gui, 4:Add, GroupBox, x36 y130 w670 h160 cwhite, Sounds
  376. Gui, 4:Add, Text, x76 y160 w60 h20 cwhite +center, Anruf:
  377. Gui, 4:Add, Text, x76 y190 w60 h20 cwhite +center, SMS:
  378. Gui, 4:Add, Text, x76 y220 w60 h20 cwhite +center, Low-HP:
  379. Gui, 4:Add, Text, x76 y250 w60 h20 cwhite +center, BK:
  380. Gui, 4:Add, Text, x156 y160 w540 h20 cwhite +0x200 +E0x20210 +center gCallAuswahl vCallAuswahl, %Callsound%
  381. Gui, 4:Add, Text, x156 y190 w540 h20 cwhite +0x200 +E0x20210 +center gSMSAuswahl vSMSAuswahl, %SMSsound%
  382. Gui, 4:Add, Text, x156 y220 w540 h20 cwhite +0x200 +E0x20210 +center gLowHPAuswahl vLowHPAuswahl, %LowHPsound%
  383. Gui, 4:Add, Text, x156 y250 w540 h20 cwhite +0x200 +E0x20210 +center gBKAuswahl vBKAuswahl, %BKsound%
  384.  
  385. IniRead, CheckCall, settings.ini, Sounds, CheckCall
  386. IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
  387. IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
  388. IniRead, CheckBK, settings.ini, Sounds, CheckBK
  389. IniRead, Callsound, settings.ini, Sounds, Callsound
  390. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  391. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  392. IniRead, BKsound, settings.ini, Sounds, BKsound
  393. GuiControl, 4: , CheckCall, %CheckCall%
  394. GuiControl, 4: , CheckSMS, %CheckSMS%
  395. GuiControl, 4: , CheckLowHP, %CheckLowHP%
  396. GuiControl, 4: , CheckBK, %CheckBK%
  397. GuiControl, 4: , CallAuswahl, %CallSound%
  398. GuiControl, 4: , SMSAuswahl, %SMSSound%
  399. GuiControl, 4: , LowHPAuswahl, %LowHPSound%
  400. GuiControl, 4: , BKAuswahl, %BKSound%
  401. Gui, 4: Add, Button, x276 y300 w180 h50 gZurück, Zurück
  402. Gui, 4:Color, 292929
  403. Gui, 4:Show, w749 h372, Sounds
  404. return
  405.  
  406. Zurück:
  407. 4GuiClose:
  408. Gui, 4: Destroy
  409. return
  410.  
  411. CallAuswahl:
  412. if(CheckCall = 1)
  413. {
  414. FileSelectFile, Callsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  415. if(Callsoundx != "")
  416. {
  417. Callsound := Callsoundx
  418. IniWrite, %Callsound%, settings.ini, Sounds, Callsound
  419. GuiControl, 4: , CallAuswahl, %CallSound%
  420. SoundPlay, %CallSound%
  421. }
  422. }
  423. return
  424.  
  425. SMSAuswahl:
  426. if(CheckSMS = 1)
  427. {
  428. FileSelectFile, SMSsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  429. if(SMSsoundx != "")
  430. {
  431. SMSsound := SMSsoundx
  432. IniWrite, %SMSsound%, settings.ini, Sounds, SMSsound
  433. GuiControl, 4: , SMSAuswahl, %SMSSound%
  434. SoundPlay, %SMSSound%
  435. }
  436. }
  437. return
  438.  
  439. LowHPAuswahl:
  440. if(CheckLowHP = 1)
  441. {
  442. FileSelectFile, LowHPsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  443. if(LowHPsoundx != "")
  444. {
  445. LowHPsound := LowHPsoundx
  446. IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
  447. GuiControl, 4: , LowHPAuswahl, %LowHPSound%
  448. SoundPlay, %LowHPSound%
  449. }
  450. }
  451. return
  452.  
  453. BKAuswahl:
  454. if(CheckBK = 1)
  455. {
  456. FileSelectFile, BKsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  457. if(BKsoundx != "")
  458. {
  459. BKsound := BKsoundx
  460. IniWrite, %BKsound%, settings.ini, Sounds, BKsound
  461. GuiControl, 4: , BKAuswahl, %BKSound%
  462. SoundPlay, %BKSound%
  463. }
  464. }
  465. return
  466.  
  467. CheckCall:
  468. Gui, 4: Submit, NoHide
  469. IniWrite, %CheckCall%, settings.ini, Sounds, CheckCall
  470. return
  471.  
  472. CheckSMS:
  473. Gui, 4: Submit, NoHide
  474. IniWrite, %CheckSMS%, settings.ini, Sounds, CheckSMS
  475. GuiControl, 4: Choose, CheckSMS, %CheckSMS%
  476. return
  477.  
  478. CheckLowHP:
  479. Gui, 4: Submit, NoHide
  480. IniWrite, %CheckLowHP%, settings.ini, Sounds, CheckLowHP
  481. GuiControl, 4: Choose, CheckLowHP, %CheckLowHP%
  482. return
  483.  
  484. CheckBK:
  485. Gui, 4: Submit, NoHide
  486. IniWrite, %CheckBK%, settings.ini, Sounds, CheckBK
  487. GuiControl, 4: Choose, CheckBK, %CheckBK%
  488. return
  489.  
  490.  
  491. Speichern:
  492.  
  493. GuiControlGet, Fraktion
  494. GuiControlGet, Abteilung
  495. GuiControlGet, Laptop
  496. GuiControlGet, Lock
  497. GuiControlGet, Chatlogsaver
  498. if(Chatlogsaver == 1)
  499. {
  500. SetTimer, Chatlog, Off
  501. SetTimer, Chatlog, 500
  502. }
  503. IniWrite, %Fraktion%, settings.ini, Daten, Fraktion
  504. IniWrite, %Abteilung%, settings.ini, Daten, Abteilung
  505. IniWrite, %Laptop%, settings.ini, Daten, Laptop
  506. IniWrite, %Lock%, settings.ini, Daten, Lock
  507. IniWrite, %Chatlogsaver%, settings.ini, Daten, Chatlogsaver
  508.  
  509. IniRead, Fraktion, settings.ini, Daten, Fraktion
  510. IniRead, Abteilung, settings.ini, Daten, Abteilung
  511. IniRead, Laptop, settings.ini, Daten, Laptop
  512. IniRead, Lock, settings.ini, Daten, Lock
  513. IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
  514.  
  515. IniRead, CheckCall, settings.ini, Sounds, CheckCall
  516. IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
  517. IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
  518. IniRead, CheckBK, settings.ini, Sounds, CheckBK
  519. IniRead, Callsound, settings.ini, Sounds, Callsound
  520. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  521. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  522. IniRead, BKsound, settings.ini, Sounds, BKsound
  523.  
  524. SynchronizeLaptop(Laptop)
  525.  
  526. MsgBox, 64, , Gespeichert.
  527. return
  528.  
  529. Druck:
  530. IfExist, Druckversion.txt
  531. {
  532. FileDelete, Druckversion.txt
  533. }
  534. GuiControlGet, Allgemein
  535. GuiControlGet, Vergaben
  536. GuiControlGet, LaptopModus
  537. GuiControlGet, AdminBefehle
  538. FileAppend, %Allgemein%`n`n%Vergaben%`n`nLaptopModus `n%LaptopModus%`n`nAdmin-Befehle `n%AdminBefehle%, Druckversion.txt
  539. MsgBox, 64, Druckversion, Die Druckversion befindet sich nun im Ordner des Keybinders.
  540. return
  541.  
  542. Update:
  543. URLDownloadToFile, http://mrpacific.pf-control.de/StaatsgewaltKeybinder/Patchlist.txt, %A_AppData%/Patchlist.txt
  544. FileRead, Patchlist, %A_AppData%/Patchlist.txt
  545. Gui, 2:Add, Edit, x0 y0 w300 h300, %Patchlist%
  546. Gui, 2:Show, x152 y112 w300 h300, News und Updates
  547. return
  548.  
  549. chatlog:
  550. WinWait, GTA:SA:MP
  551. WinWaitClose, GTA:SA:MP
  552. FileCreateDir, %A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups
  553. FormatTime, zeit,%A_Now%,dd.MM HH_mm
  554. FileCopy,%A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog.txt,%A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups\Chatlog_%zeit%.txt,0
  555. return
  556.  
  557.  
  558. _GtaCheck:
  559. Process , exist, gta_sa.exe
  560. GtaPid := ErrorLevel
  561. if (GtaPid != 0)
  562. {
  563. SetTimer, _GtaCheck, Off
  564. GtaCheckTrue := "1"
  565.  
  566. SetTimer, Systeme, off
  567. SetTimer, Systeme, 100
  568.  
  569.  
  570. #NoEnv
  571.  
  572.  
  573. PLAYER_STATE_LEAVING_VEHICLE := 0
  574. PLAYER_STATE_NORMAL := 1
  575. PLAYER_STATE_DRIVING := 50
  576. PLAYER_STATE_DYING := 54
  577. PLAYER_STATE_DEAD := 55
  578.  
  579.  
  580.  
  581.  
  582. hModule := DllCall("LoadLibrary", Str, A_ScriptDir . "\API084.dll")
  583. if(hModule == -1 || hModule == 0)
  584. {
  585. MsgBox, 48, API - Fehler, Die API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
  586. ExitApp
  587.  
  588. }
  589. hModule2 := DllCall("LoadLibrary", Str, A_ScriptDir . "\API.dll")
  590. if(hModule2 == -1 || hModule2 == 0)
  591. {
  592. MsgBox, 48, API - Fehler, Die API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
  593. ExitApp
  594. }
  595.  
  596. AddChatMessage_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_AddChatMessage")
  597. BlockChatInput_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BlockChatInput")
  598. BoxCreate_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxCreate")
  599. BoxDestroy_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxDestroy")
  600. BoxHide_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxHide")
  601. BoxSetBorder_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetBorder")
  602. BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetBorderColor")
  603. BoxSetColor_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetColor")
  604. BoxSetHeight_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetHeight")
  605. BoxSetPos_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetPos")
  606. BoxSetWidth_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxSetWidth")
  607. BoxShow_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_BoxShow")
  608. DestroyAllVisual_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_DestroyAllVisual")
  609. GetAmmoForCurrentWeapon_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetAmmoForCurrentWeapon")
  610. GetChatLine_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLine")
  611. GetCityName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityName")
  612. GetClipForCurrentWeapon_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetClipForCurrentWeapon")
  613. GetCurrentWeaponId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeaponId")
  614. GetCurrentWeatherId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeatherId")
  615. GetOnlinePlayers_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetOnlinePlayers")
  616. GetPlayerArmor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerArmor")
  617. GetPlayerData_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerData")
  618. GetPlayerHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerHealth")
  619. GetPlayerId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerId")
  620. GetPlayerIdByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerIdByName")
  621. GetPlayersInVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayersInVehicle")
  622. GetPlayerMoney_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerMoney")
  623. GetPlayerName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerName")
  624. GetPlayerNameById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerNameById")
  625. GetPlayerPing_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPing")
  626. GetPlayerPingById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPingById")
  627. GetPlayerPingByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPingByName")
  628. GetPlayerPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPos")
  629. GetPlayerScore_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScore")
  630. GetPlayerScoreById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScoreById")
  631. GetPlayerScoreByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScoreByName")
  632. GetPlayerSkin_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerSkin")
  633. GetPlayerState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerState")
  634. GetPlayerWanteds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWanteds")
  635. GetRadioSlot_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetRadioSlot")
  636. GetScreenSizeX_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeX")
  637. GetScreenSizeY_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeY")
  638. GetServerIp_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerIp")
  639. GetVehicleEngineState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleEngineState")
  640. GetVehicleFirstColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFirstColor")
  641. GetVehicleHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHealth")
  642. GetVehicleHornState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHornState")
  643. GetVehicleId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleId")
  644. GetVehicleLightState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleLightState")
  645. GetVehicleLockState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleLockState")
  646. GetVehicleModel_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModel")
  647. GetVehicleName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleName")
  648. GetVehicleSeatState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSeatState")
  649. GetVehicleSecondColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSecondColor")
  650. GetVehicleSirenState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSirenState")
  651. GetVehicleSpeed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSpeed")
  652. GetZoneName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneName")
  653. HideAllVisual_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_HideAllVisual")
  654. ImageCreate_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageCreate")
  655. ImageDestroy_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageDestroy")
  656. ImageHide_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageHide")
  657. ImageSetAlign_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageSetAlign")
  658. ImageSetPos_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageSetPos")
  659. ImageSetRotation_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageSetRotation")
  660. ImageShow_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ImageShow")
  661. IsChatOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsChatOpen")
  662. IsDialogOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsDialogOpen")
  663. IsMenuOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsMenuOpen")
  664. IsPlayerDriver_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerDriver")
  665. IsPlayerFrozen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerFrozen")
  666. IsPlayerInAnyInterior_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyInterior")
  667. IsPlayerInAnyVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyVehicle")
  668. IsPlayerInRangeOfPoint_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint")
  669. IsPlayerInRangeOfPoint2D_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint2D")
  670. IsUpdateAvailable_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsUpdateAvailable")
  671. LineCreate_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineCreate")
  672. LineDestroy_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineDestroy")
  673. LineHide_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineHide")
  674. LineSetColor_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineSetColor")
  675. LineSetHeight_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineSetHeight")
  676. LineSetPos_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineSetPos")
  677. LineSetWidth_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineSetWidth")
  678. LineShow_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_LineShow")
  679. RegisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_RegisterTextBind")
  680. SendChat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SendChat")
  681. ShowAllVisual_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_ShowAllVisual")
  682. ShowDialog_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowDialog")
  683. ShowGameText_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowGameText")
  684. TextBindTimer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextBindTimer")
  685. TextCreate_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextCreate")
  686. TextDestroy_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextDestroy")
  687. TextHide_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextHide")
  688. TextSetAlign_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextSetAlign")
  689. TextSetColor_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextSetColor")
  690. TextSetPos_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextSetPos")
  691. TextSetString_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextSetString")
  692. TextShow_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_TextShow")
  693. UnblockChatInput_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnblockChatInput")
  694. UnloadOverlay_func := DllCall("GetProcAddress", UInt, hModule2, Str, "API_UnloadOverlay")
  695. UnregisterAllTextBinds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterAllTextBinds")
  696. UnregisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterTextBind")
  697.  
  698. AddChatMessage(Color, Text)
  699. {
  700. global AddChatMessage_func
  701. Result := DllCall(AddChatMessage_func, Int, Color, Str, Text)
  702. return Result
  703. }
  704.  
  705. BlockChatInput()
  706. {
  707. global BlockChatInput_func
  708. Result := DllCall(BlockChatInput_func)
  709. return Result
  710. }
  711.  
  712. BoxCreate()
  713. {
  714. global BoxCreate_func
  715. Result := DllCall(BoxCreate_func)
  716. return Result
  717. }
  718.  
  719. BoxDestroy(BoxIndex)
  720. {
  721. global BoxDestroy_func
  722. Result := DllCall(BoxDestroy_func, Int, BoxIndex)
  723. return Result
  724. }
  725.  
  726. BoxHide(BoxIndex)
  727. {
  728. global BoxHide_func
  729. Result := DllCall(BoxHide_func, Int, BoxIndex)
  730. return Result
  731. }
  732.  
  733. BoxSetBorder(BoxIndex, Width)
  734. {
  735. global BoxSetBorder_func
  736. Result := DllCall(BoxSetBorder_func, Int, BoxIndex, Int, Width)
  737. return Result
  738. }
  739.  
  740. BoxSetBorderColor(BoxIndex, Color)
  741. {
  742. global BoxSetBorderColor_func
  743. Result := DllCall(BoxSetBorderColor_func, Int, BoxIndex, UInt, Color)
  744. return Result
  745. }
  746.  
  747. BoxSetColor(BoxIndex, Color)
  748. {
  749. global BoxSetColor_func
  750. Result := DllCall(BoxSetColor_func, Int, BoxIndex, UInt, Color)
  751. return Result
  752. }
  753.  
  754. BoxSetHeight(BoxIndex, Height)
  755. {
  756. global BoxSetHeight_func
  757. Result := DllCall(BoxSetHeight_func, Int, BoxIndex, Int, Height)
  758. return Result
  759. }
  760.  
  761. BoxSetPos(BoxIndex, X, Y)
  762. {
  763. global BoxSetPos_func
  764. Result := DllCall(BoxSetPos_func, Int, BoxIndex, Int, X, Int, Y)
  765. return Result
  766. }
  767.  
  768. BoxSetWidth(BoxIndex, Width)
  769. {
  770. global BoxSetWidth_func
  771. Result := DllCall(BoxSetWidth_func, Int, BoxIndex, Int, Width)
  772. return Result
  773. }
  774.  
  775. BoxShow(BoxIndex)
  776. {
  777. global BoxShow_func
  778. Result := DllCall(BoxShow_func, Int, BoxIndex)
  779. return Result
  780. }
  781.  
  782. DestroyAllVisual()
  783. {
  784. global DestroyAllVisual_func
  785. Result := DllCall(DestroyAllVisual_func)
  786. return Result
  787. }
  788.  
  789. GetAmmoForCurrentWeapon()
  790. {
  791. global GetAmmoForCurrentWeapon_func
  792. Result := DllCall(GetAmmoForCurrentWeapon_func)
  793. return Result
  794. }
  795.  
  796. GetChatLine(Line, ByRef Output)
  797. {
  798. global GetChatLine_func
  799. VarSetCapacity(Output, 252)
  800. Result := DllCall(GetChatLine_func, Int, Line, StrP, Output)
  801. return Result
  802. }
  803.  
  804. GetCityName(ByRef City)
  805. {
  806. global GetCityName_func
  807. VarSetCapacity(City, 32, 0)
  808. Result := DllCall(GetCityName_func, StrP, City)
  809. return Result
  810. }
  811.  
  812. GetClipForCurrentWeapon()
  813. {
  814. global GetClipForCurrentWeapon_func
  815. Result := DllCall(GetClipForCurrentWeapon_func)
  816. return Result
  817. }
  818.  
  819. GetCurrentWeaponId()
  820. {
  821. global GetCurrentWeaponId_func
  822. Result := DllCall(GetCurrentWeaponId_func)
  823. return Result
  824. }
  825.  
  826. GetCurrentWeatherId()
  827. {
  828. global GetCurrentWeatherId_func
  829. Result := DllCall(GetCurrentWeatherId_func)
  830. return Result
  831. }
  832.  
  833. GetOnlinePlayers()
  834. {
  835. global GetOnlinePlayers_func
  836. Result := DllCall(GetOnlinePlayers_func)
  837. return Result
  838. }
  839.  
  840. GetPlayerArmor()
  841. {
  842. global GetPlayerArmor_func
  843. Result := DllCall(GetPlayerArmor_func)
  844. return Result
  845. }
  846.  
  847. GetPlayerData()
  848. {
  849. global GetPlayerData_func
  850. Result := DllCall(GetPlayerData_func)
  851. return Result
  852. }
  853.  
  854. GetPlayerHealth()
  855. {
  856. global GetPlayerHealth_func
  857. Result := DllCall(GetPlayerHealth_func)
  858. return Result
  859. }
  860.  
  861. GetPlayerId()
  862. {
  863. global GetPlayerId_func
  864. Result := DllCall(GetPlayerId_func)
  865. return Result
  866. }
  867.  
  868. GetPlayerIdByName(Name)
  869. {
  870. global GetPlayerIdByName_func
  871. Result := DllCall(GetPlayerIdByName_func, Str, Name)
  872. return Result
  873. }
  874.  
  875. GetPlayersInVehicle(ByRef Seat1, ByRef Seat2, ByRef Seat3, ByRef Seat4)
  876. {
  877. global GetPlayersInVehicle_func
  878. Result := DllCall(GetPlayersInVehicle_func, IntP, Seat1, IntP, Seat2, IntP, Seat3, IntP, Seat4)
  879. return Result
  880. }
  881.  
  882. GetPlayerMoney()
  883. {
  884. global GetPlayerMoney_func
  885. Result := DllCall(GetPlayerMoney_func)
  886. return Result
  887. }
  888.  
  889. GetPlayerName(ByRef Name)
  890. {
  891. global GetPlayerName_func
  892. VarSetCapacity(Name, 24)
  893. Result := DllCall(GetPlayerName_func, StrP, Name)
  894. return Result
  895. }
  896.  
  897. GetPlayerNameById(Id, ByRef Name)
  898. {
  899. global GetPlayerNameById_func
  900. VarSetCapacity(Name, 24)
  901. Result := DllCall(GetPlayerNameById_func, Int, Id, StrP, Name)
  902. return Result
  903. }
  904.  
  905. GetPlayerPing()
  906. {
  907. global GetPlayerPing_func
  908. Result := DllCall(GetPlayerPing_func)
  909. return Result
  910. }
  911.  
  912. GetPlayerPingById(Id)
  913. {
  914. global GetPlayerPingById_func
  915. Result := DllCall(GetPlayerPingById_func, Int, Id)
  916. return Result
  917. }
  918.  
  919. GetPlayerPingByName(Name)
  920. {
  921. global GetPlayerPingByName_func
  922. Result := DllCall(GetPlayerPingByName_func, Str, Name)
  923. return Result
  924. }
  925.  
  926. GetPlayerPos(ByRef X, ByRef Y, ByRef Z, ByRef R)
  927. {
  928. global GetPlayerPos_func
  929. Result := DllCall(GetPlayerPos_func, FloatP, X, FloatP, Y, FloatP, Z, FloatP, R)
  930. return Result
  931. }
  932.  
  933. GetPlayerScore()
  934. {
  935. global GetPlayerScore_func
  936. Result := DllCall(GetPlayerScore_func)
  937. return Result
  938. }
  939.  
  940. GetPlayerScoreById(Id)
  941. {
  942. global GetPlayerScoreById_func
  943. Result := DllCall(GetPlayerScoreById_func, Int, Id)
  944. return Result
  945. }
  946.  
  947. GetPlayerScoreByName(Name)
  948. {
  949. global GetPlayerScoreByName_func
  950. Result := DllCall(GetPlayerScoreByName_func, Str, Name)
  951. return Result
  952. }
  953.  
  954. GetPlayerSkin()
  955. {
  956. global GetPlayerSkin_func
  957. Result := DllCall(GetPlayerSkin_func)
  958. return Result
  959. }
  960.  
  961. GetPlayerState()
  962. {
  963. global GetPlayerState_func
  964. Result := DllCall(GetPlayerState_func)
  965. return Result
  966. }
  967.  
  968. GetPlayerWanteds()
  969. {
  970. global GetPlayerWanteds_func
  971. Result := DllCall(GetPlayerWanteds_func)
  972. return Result
  973. }
  974.  
  975. GetRadioSlot()
  976. {
  977. global GetRadioSlot_func
  978. Result := DllCall(GetRadioSlot_func)
  979. return Result
  980. }
  981.  
  982. GetScreenSizeX()
  983. {
  984. global GetScreenSizeX_func
  985. Result := DllCall(GetScreenSizeX_func)
  986. return Result
  987. }
  988.  
  989. GetScreenSizeY()
  990. {
  991. global GetScreenSizeY_func
  992. Result := DllCall(GetScreenSizeY_func)
  993. return Result
  994. }
  995.  
  996. GetServerIp(ByRef Address)
  997. {
  998. global GetServerIp_func
  999. VarSetCapacity(Address, 21, 0)
  1000. Result := DllCall(GetServerIp_func, StrP, Address)
  1001. return Result
  1002. }
  1003.  
  1004. GetVehicleEngineState()
  1005. {
  1006. global GetVehicleEngineState_func
  1007. Result := DllCall(GetVehicleEngineState_func)
  1008. return Result
  1009. }
  1010.  
  1011. GetVehicleFirstColor()
  1012. {
  1013. global GetVehicleFirstColor_func
  1014. Result := DllCall(GetVehicleFirstColor_func)
  1015. return Result
  1016. }
  1017.  
  1018. GetVehicleHealth()
  1019. {
  1020. global GetVehicleHealth_func
  1021. Result := DllCall(GetVehicleHealth_func)
  1022. return Result
  1023. }
  1024.  
  1025. GetVehicleHornState()
  1026. {
  1027. global GetVehicleHornState_func
  1028. Result := DllCall(GetVehicleHornState_func)
  1029. return Result
  1030. }
  1031.  
  1032. GetVehicleId()
  1033. {
  1034. global GetVehicleId_func
  1035. Result := DllCall(GetVehicleId_func)
  1036. return Result
  1037. }
  1038.  
  1039. GetVehicleLightState()
  1040. {
  1041. global GetVehicleLightState_func
  1042. Result := DllCall(GetVehicleLightState_func)
  1043. return Result
  1044. }
  1045.  
  1046. GetVehicleLockState()
  1047. {
  1048. global GetVehicleLockState_func
  1049. Result := DllCall(GetVehicleLockState_func)
  1050. return Result
  1051. }
  1052.  
  1053. GetVehicleModel()
  1054. {
  1055. global GetVehicleModel_func
  1056. Result := DllCall(GetVehicleModel_func)
  1057. return Result
  1058. }
  1059.  
  1060. GetVehicleName(ModelId, ByRef VehicleName)
  1061. {
  1062. global GetVehicleName_func
  1063. VarSetCapacity(VehicleName, 24, 0)
  1064. Result := DllCall(GetVehicleName_func, Int, ModelId, StrP, VehicleName)
  1065. return Result
  1066. }
  1067.  
  1068. GetVehicleSeatState(Seat)
  1069. {
  1070. global GetVehicleSeatState_func
  1071. Result := DllCall(GetVehicleSeatState_func, Int, Seat)
  1072. return Result
  1073. }
  1074.  
  1075. GetVehicleSecondColor()
  1076. {
  1077. global GetVehicleSecondColor_func
  1078. Result := DllCall(GetVehicleSecondColor_func)
  1079. return Result
  1080. }
  1081.  
  1082. GetVehicleSirenState()
  1083. {
  1084. global GetVehicleSirenState_func
  1085. Result := DllCall(GetVehicleSirenState_func)
  1086. return Result
  1087. }
  1088.  
  1089. GetVehicleSpeed()
  1090. {
  1091. global GetVehicleSpeed_func
  1092. fMult := 1.45
  1093. Result := DllCall(GetVehicleSpeed_func, Float, fMult)
  1094. return Result
  1095. }
  1096.  
  1097. GetZoneName(ByRef Zone)
  1098. {
  1099. global GetZoneName_func
  1100. VarSetCapacity(Zone, 32, 0)
  1101. Result := DllCall(GetZoneName_func, StrP, Zone)
  1102. return Result
  1103. }
  1104.  
  1105. HideAllVisual()
  1106. {
  1107. global ShowAllVisual_func
  1108. Result := DllCall(ShowAllVisual_func)
  1109. return Result
  1110. }
  1111.  
  1112. ImageCreate(ImagePath)
  1113. {
  1114. global ImageCreate_func
  1115. path = %A_ScriptDir%
  1116. Result := DllCall(ImageCreate_func, Str, path . ImagePath)
  1117. return Result
  1118. }
  1119.  
  1120. ImageDestroy(ImageIndex)
  1121. {
  1122. global ImageDestroy_func
  1123. Result := DllCall(ImageDestroy_func, Int, ImageIndex)
  1124. return Result
  1125. }
  1126.  
  1127. ImageHide(ImageIndex)
  1128. {
  1129. global ImageHide_func
  1130. Result := DllCall(ImageHide_func, Int, ImageIndex)
  1131. return Result
  1132. }
  1133.  
  1134. ImageSetAlign(ImageIndex, Align)
  1135. {
  1136. global ImageSetAlign_func
  1137. Result := DllCall(ImageSetAlign_func, Int, ImageIndex, Int, Align)
  1138. return Result
  1139. }
  1140.  
  1141. ImageSetPos(ImageIndex, PosX, PosY)
  1142. {
  1143. global ImageSetPos_func
  1144. Result := DllCall(ImageSetPos_func, Int, ImageIndex, Int, PosX, Int, PosY)
  1145. return Result
  1146. }
  1147.  
  1148. ImageSetRotation(ImageIndex, Rotation)
  1149. {
  1150. global ImageSetRotation_func
  1151. Result := DllCall(ImageSetRotation_func, Int, ImageIndex, Int, Rotation)
  1152. return Result
  1153. }
  1154.  
  1155. ImageShow(ImageIndex)
  1156. {
  1157. global ImageShow_func
  1158. Result := DllCall(ImageShow_func, Int, ImageIndex)
  1159. return Result
  1160. }
  1161.  
  1162. IsChatOpen()
  1163. {
  1164. global IsChatOpen_func
  1165. Result := DllCall(IsChatOpen_func)
  1166. return Result
  1167. }
  1168.  
  1169. IsDialogOpen()
  1170. {
  1171. global IsDialogOpen_func
  1172. Result := DllCall(IsDialogOpen_func)
  1173. return Result
  1174. }
  1175.  
  1176. IsMenuOpen()
  1177. {
  1178. global IsMenuOpen_func
  1179. Result := DllCall(IsMenuOpen_func)
  1180. return Result
  1181. }
  1182.  
  1183. IsPlayerDriver()
  1184. {
  1185. global IsPlayerDriver_func
  1186. Result := DllCall(IsPlayerDriver_func)
  1187. return Result
  1188. }
  1189.  
  1190. IsPlayerFrozen()
  1191. {
  1192. global IsPlayerFrozen_func
  1193. Result := DllCall(IsPlayerFrozen_func)
  1194. return Result
  1195. }
  1196.  
  1197. IsPlayerInAnyInterior()
  1198. {
  1199. global IsPlayerInAnyInterior_func
  1200. Result := DllCall(IsPlayerInAnyInterior_func)
  1201. return Result
  1202. }
  1203.  
  1204. IsPlayerInAnyVehicle()
  1205. {
  1206. global IsPlayerInAnyVehicle_func
  1207. Result := DllCall(IsPlayerInAnyVehicle_func)
  1208. return Result
  1209. }
  1210.  
  1211. IsPlayerInRangeOfPoint(X, Y, Z, Radius)
  1212. {
  1213. global IsPlayerInRangeOfPoint_func
  1214. Result := DllCall(IsPlayerInRangeOfPoint_func, Float, X, Float, Y, Float, Z, Float, Radius)
  1215. return Result
  1216. }
  1217.  
  1218. IsPlayerInRangeOfPoint2D(X, Y, Radius)
  1219. {
  1220. global IsPlayerInRangeOfPoint2D_func
  1221. Result := DllCall(IsPlayerInRangeOfPoint2D_func, Float, X, Float, Y, Float, Radius)
  1222. return Result
  1223. }
  1224.  
  1225. IsUpdateAvailable()
  1226. {
  1227. global IsUpdateAvailable_func
  1228. Result := DllCall(IsUpdateAvailable_func)
  1229. return Result
  1230. }
  1231.  
  1232. LineCreate()
  1233. {
  1234. global LineCreate_func
  1235. Result := DllCall(LineCreate_func)
  1236. return Result
  1237. }
  1238.  
  1239. LineDestroy(LineIndex)
  1240. {
  1241. global LineDestroy_func
  1242. Result := DllCall(LineDestroy_func, Int, LineIndex)
  1243. return Result
  1244. }
  1245.  
  1246. LineHide(LineIndex)
  1247. {
  1248. global LineHide_func
  1249. Result := DllCall(LineHide_func, Int, LineIndex)
  1250. return Result
  1251. }
  1252.  
  1253. LineSetColor(LineIndex, Color)
  1254. {
  1255. global LineSetColor_func
  1256. Result := DllCall(LineSetColor_func, Int, LineIndex, Int64, Color)
  1257. return Result
  1258. }
  1259.  
  1260. LineSetHeight(LineIndex, Height)
  1261. {
  1262. global LineSetHeight_func
  1263. Result := DllCall(LineSetHeight_func, Int, LineIndex, Int, Height)
  1264. return Result
  1265. }
  1266.  
  1267. LineSetPos(LineIndex, PosX, PosY)
  1268. {
  1269. global LineSetPos_func
  1270. Result := DllCall(LineSetPos_func, Int, LineIndex, Int, PosX, Int, PosY)
  1271. return Result
  1272. }
  1273.  
  1274. LineSetWidth(LineIndex, Width)
  1275. {
  1276. global LineSetWidth_func
  1277. Result := DllCall(LineSetWidth_func, Int, LineIndex, Int, Width)
  1278. return Result
  1279. }
  1280.  
  1281. LineShow(LineIndex)
  1282. {
  1283. global LineShow_func
  1284. Result := DllCall(LineShow_func, Int, LineIndex)
  1285. return Result
  1286. }
  1287.  
  1288. RegisterTextBind(Bind, X, Y, Z, Radius, Loop = 1, Timeout = 7000, GroupId = 0, Delay = 0)
  1289. {
  1290. global RegisterTextBind_func
  1291. Result := DllCall(RegisterTextBind_func, Str, Bind, Float, X, Float, Y, Float, Z, Float, Radius, Int, Loop, Int, Timeout, Int, GroupId, Int, Delay)
  1292. return Result
  1293. }
  1294.  
  1295. SendChat(Text)
  1296. {
  1297. global SendChat_func
  1298. Result := DllCall(SendChat_func, Str, Text)
  1299. return Result
  1300. }
  1301.  
  1302. ShowAllVisual()
  1303. {
  1304. global ShowAllVisual_func
  1305. Result := DllCall(ShowAllVisual_func)
  1306. return Result
  1307. }
  1308.  
  1309. ShowDialog(Style, Title, Text, Button)
  1310. {
  1311. global ShowDialog_func
  1312. Result := DllCall(ShowDialog_func, Int, Style, Str, Title, Str, Text, Str, Button)
  1313. return Result
  1314. }
  1315.  
  1316. ShowGameText(Text, Time, Style)
  1317. {
  1318. global ShowGameText_func
  1319. Result := DllCall(ShowGameText_func, Str, Text, Int, Time, Int, Style)
  1320. return Result
  1321. }
  1322.  
  1323. TextBindTimer(TextBindTime)
  1324. {
  1325. global TextBindTimer_func
  1326. Result := DllCall(TextBindTimer_func, Int, TextBindTime)
  1327. return Result
  1328. }
  1329.  
  1330. TextCreate(Font, FontSize, Bold, Italic)
  1331. {
  1332. global TextCreate_func
  1333. Result := DllCall(TextCreate_func, Str, Font, Int, FontSize, Int, Bold, Int, Italic)
  1334. return Result
  1335. }
  1336.  
  1337. TextDestroy(TextIndex)
  1338. {
  1339. global TextDestroy_func
  1340. Result := DllCall(TextDestroy_func, Int, TextIndex)
  1341. return Result
  1342. }
  1343.  
  1344. TextHide(TextIndex)
  1345. {
  1346. global TextHide_func
  1347. Result := DllCall(TextHide_func, Int, TextIndex)
  1348. return Result
  1349. }
  1350.  
  1351. TextSetAlign(TextIndex, Align)
  1352. {
  1353. global TextSetAlign_func
  1354. Result := DllCall(TextSetAlign_func, Int, TextIndex, Int, Align)
  1355. return Result
  1356. }
  1357.  
  1358. TextSetColor(TextIndex, Color)
  1359. {
  1360. global TextSetColor_func
  1361. Result := DllCall(TextSetColor_func, Int, TextIndex, Int64, Color)
  1362. return Result
  1363. }
  1364.  
  1365. TextSetPos(TextIndex, PosX, PosY)
  1366. {
  1367. global TextSetPos_func
  1368. Result := DllCall(TextSetPos_func, Int, TextIndex, Int, PosX, Int, PosY)
  1369. return Result
  1370. }
  1371.  
  1372. TextSetString(TextIndex, Text)
  1373. {
  1374. global TextSetString_func
  1375. Result := DllCall(TextSetString_func, Int, TextIndex, Str, Text)
  1376. return Result
  1377. }
  1378.  
  1379. TextShow(TextIndex)
  1380. {
  1381. global TextShow_func
  1382. Result := DllCall(TextShow_func, Int, TextIndex)
  1383. return Result
  1384. }
  1385.  
  1386. UnblockChatInput()
  1387. {
  1388. global UnblockChatInput_func
  1389. Result := DllCall(UnblockChatInput_func)
  1390. return Result
  1391. }
  1392.  
  1393. UnloadOverlay()
  1394. {
  1395. global UnloadOverlay_func
  1396. Result := DllCall(UnloadOverlay_func)
  1397. return Result
  1398. }
  1399.  
  1400. UnregisterAllTextBinds()
  1401. {
  1402. global UnregisterAllTextBinds_func
  1403. Result := DllCall(UnregisterAllTextBinds_func)
  1404. return Result
  1405. }
  1406.  
  1407. UnregisterTextBind(TextBindId)
  1408. {
  1409. global UnregisterTextBind_func
  1410. Result := DllCall(UnregisterTextBind_func, Int, TextBindId)
  1411. return Result
  1412. }
  1413.  
  1414.  
  1415. DestroyAllVisual()
  1416. }
  1417. return
  1418.  
  1419. WaitFor(time=15){
  1420. Sleep, % GetPlayerPing() + time
  1421. }
  1422.  
  1423. ChatLine(firstline, instr, lines=5){
  1424. loop, %lines%
  1425. {
  1426. GetChatLine(firstline + (A_Index - 1), chat)
  1427. if(InStr(chat, instr))
  1428. return chat
  1429. }
  1430. return
  1431. }
  1432.  
  1433. IsPlayerInRangeOfPoint_fast(x, y, z, r)
  1434. {
  1435. static pos_x, pos_y, pos_z, lastcalled
  1436. if(lastcalled < A_TickCount - 150){
  1437. GetPlayerPos(pos_x, pos_y, pos_z, pos_r)
  1438. lastcalled := A_TickCount
  1439. }
  1440. d := sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  1441. if(d < r)
  1442. return 1
  1443. return 0
  1444. }
  1445.  
  1446. IsPlayerInRangeOfPoint2D_fast(x, y, r){
  1447. static pos_x, pos_y, lastcalled
  1448. if(lastcalled < A_TickCount - 150){
  1449. GetPlayerPos(pos_x, pos_y, pos_z, pos_r)
  1450. lastcalled := A_TickCount
  1451. }
  1452. d := sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
  1453. if(d < r)
  1454. return 1
  1455. return 0
  1456. }
  1457.  
  1458. GetDistanceFromPoint(x, y, z){
  1459. GetPlayerPos(pos_x, pos_y, pos_z, pos_r)
  1460. return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  1461. }
  1462.  
  1463. GetDistancebetween(x, y, z, pos_x, pos_y, pos_z)
  1464. {
  1465. return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  1466. }
  1467.  
  1468.  
  1469. GetDistanceFromPoint2D(x, y){
  1470. GetPlayerPos(pos_x, pos_y, pos_z, pos_r)
  1471. return sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
  1472. }
  1473.  
  1474. +t::
  1475. ~T::
  1476. Suspend On
  1477. Hotkey, Enter, On
  1478. Hotkey, Escape, On
  1479. Hotkey, t, Off
  1480. if(SpeedCheckStatus == 1)
  1481. {
  1482. Send {backspace}
  1483. Send {backspace}
  1484. }
  1485. return
  1486.  
  1487. ~NumpadEnter::
  1488. ~Enter::
  1489. Suspend Permit
  1490. Suspend Off
  1491. Hotkey, t, On
  1492. Hotkey, Enter, Off
  1493. Hotkey, Escape, Off
  1494. Return
  1495.  
  1496. ~Escape::
  1497. Suspend Permit
  1498. Suspend Off
  1499. SendInput {Escape}
  1500. Hotkey, t, On
  1501. Hotkey, Enter, Off
  1502. Hotkey, Escape, Off
  1503. return
  1504.  
  1505. SynchronizeLaptop(Integer)
  1506. {
  1507. if(!integer)
  1508. {
  1509. HotKey, !^0, off
  1510. HotKey, !^1, off
  1511. HotKey, !^2, off
  1512. HotKey, !^3, off
  1513. HotKey, !^4, off
  1514. HotKey, !^5, off
  1515. HotKey, !^6, off
  1516. HotKey, !^7, off
  1517. HotKey, !^8, off
  1518. HotKey, !^9, off
  1519. HotKey, !1, off
  1520. HotKey, !2, off
  1521. HotKey, !3, off
  1522. HotKey, !4, off
  1523. HotKey, !5, off
  1524. HotKey, !6, off
  1525. HotKey, !7, off
  1526. HotKey, !8, off
  1527. HotKey, !9, off
  1528. HotKey, ^0, off
  1529. HotKey, ^1, off
  1530. HotKey, ^2, off
  1531. HotKey, ^3, off
  1532. HotKey, ^4, off
  1533. HotKey, ^5, off
  1534. HotKey, ^6, off
  1535. HotKey, ^7, off
  1536. HotKey, ^8, off
  1537. HotKey, ^9, off
  1538. HotKey, +, off
  1539. HotKey, !+, off
  1540. }
  1541. else
  1542. {
  1543. HotKey, !^0, on
  1544. HotKey, !^1, on
  1545. HotKey, !^2, on
  1546. HotKey, !^3, on
  1547. HotKey, !^4, on
  1548. HotKey, !^5, on
  1549. HotKey, !^6, on
  1550. HotKey, !^7, on
  1551. HotKey, !^8, on
  1552. HotKey, !^9, on
  1553. HotKey, !1, on
  1554. HotKey, !2, on
  1555. HotKey, !3, on
  1556. HotKey, !4, on
  1557. HotKey, !5, on
  1558. HotKey, !6, on
  1559. HotKey, !7, on
  1560. HotKey, !8, on
  1561. HotKey, !9, on
  1562. HotKey, ^0, on
  1563. HotKey, ^1, on
  1564. HotKey, ^2, on
  1565. HotKey, ^3, on
  1566. HotKey, ^4, on
  1567. HotKey, ^5, on
  1568. HotKey, ^6, on
  1569. HotKey, ^7, on
  1570. HotKey, ^8, on
  1571. HotKey, ^9, on
  1572. HotKey, +, on
  1573. HotKey, !+, on
  1574. }
  1575. return
  1576. }
  1577.  
  1578.  
  1579. PlayerInput(text)
  1580. {
  1581. s := A_IsSuspended
  1582. Suspend On
  1583. KeyWait Enter
  1584. SendInput t^a{backspace}%text%
  1585. Input, var, v, {enter}
  1586. SendInput ^a{backspace}{enter}
  1587. if(!s)
  1588. Suspend Off
  1589. return var
  1590. }
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605. Systeme:
  1606. IfWinNotActive, GTA:SA:MP
  1607. return
  1608.  
  1609. GetChatLine(0, Line0)
  1610. GetChatLine(1, Line1)
  1611. GetPlayerData()
  1612. GetPlayerName(Name)
  1613. HP := GetPlayerHealth()
  1614.  
  1615. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  1616. {
  1617. last_line := A_LoopReadLine
  1618. }
  1619.  
  1620. IfInString, last_line, %Name%'s Handy klingelt
  1621. {
  1622.  
  1623. if(CheckCall = 1)
  1624. {
  1625.  
  1626. Soundplay, %CallSound%
  1627. Sleep 1000
  1628. FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  1629. }
  1630. }
  1631. IfInString, last_line, Sender:
  1632. {
  1633. if not InStr(last_line, "Sender: " Name)
  1634. {
  1635.  
  1636. if(CheckSMS = 1)
  1637. {
  1638.  
  1639. Soundplay, %SMSsound%
  1640. Sleep 1000
  1641. FileAppend, Zeile fur Keybinder ,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  1642. }
  1643. }
  1644. }
  1645.  
  1646. If (InStr(Line0, "benötigt verstärkung in") || InStr(Line1, "benötigt verstärkung in"))
  1647. {
  1648.  
  1649. If(CheckBK = 1)
  1650. {
  1651.  
  1652. SoundPlay, %BKsound%
  1653. }
  1654. }
  1655.  
  1656. 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!"))
  1657. {
  1658. BlockChatInput()
  1659. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}AntiSpamKick System {00FF00}aktiv{00FF00}.")
  1660. Sleep, 1500
  1661. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}AntiSpamKick System {FF0000}inaktiv{FF0000}.")
  1662. UnblockChatInput()
  1663. }
  1664.  
  1665. If (InStr(Line0, "Der Gesprächspartner hat aufgelegt"))
  1666. {
  1667. Soundplay, avixa.avi
  1668. }
  1669.  
  1670.  
  1671. if(CheckLowHP = 1)
  1672. {
  1673.  
  1674. if(LowHPsoundan = 0)
  1675. {
  1676. if(HP < 47.0 && HP != -1)
  1677. {
  1678. AddChatMessage(0x2090B3, "|Staatsgewalt| {FF0000}WARNUNG: {FFFFFF}Du hast nur noch {FFA000}" GetPlayerHealth() " HP{FFFFFF}. Heil dich schnell!")
  1679.  
  1680. SoundPlay, %LowHPsound%
  1681. LowHPsoundan := 1
  1682. }
  1683. }
  1684. }
  1685.  
  1686. if(LowHPsoundan = 1)
  1687. {
  1688.  
  1689. if(HP > 47)
  1690. {
  1691. LowHPsoundan := 0
  1692. SoundPlay, avixa.avi
  1693. }
  1694. }
  1695.  
  1696.  
  1697. if(HP == 0)
  1698. {
  1699. bkon = 0
  1700. }
  1701.  
  1702. If (InStr(Line0, "|=================||============||=================|") || InStr(Line1, "|=================||============||=================|"))
  1703. {
  1704. if(InStr(Line0, "|Gehaltscheck|"))
  1705. {
  1706. return
  1707. }
  1708. Loop
  1709. {
  1710. GetChatLine(A_Index - 1, chat)
  1711. if(InStr(chat, "KFZ Steuer:"))
  1712. {
  1713. RegExMatch(chat, "KFZ Steuer: -(.*)\$", kfz)
  1714. }
  1715. if(InStr(chat, "Lohn: "))
  1716. {
  1717. RegExMatch(chat, "Lohn: (.*)\$ Miete: -(.*)\$ Lohnsteuer: -(.*)\$", rest)
  1718. }
  1719. if(InStr(chat, "Stromrechnung: "))
  1720. {
  1721. RegExMatch(chat, "Stromrechnung: -(.*)\$", strom)
  1722. }
  1723. if(Instr(chat, "|================| Gehalts-Check |================|"))
  1724. {
  1725. break
  1726. }
  1727. }
  1728. Gehalt=%rest1%
  1729. Gehalt-=%rest2%
  1730. Gehalt-=%rest3%
  1731. Gehalt-=%kfz1%
  1732. Gehalt-=%strom1%
  1733. AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Gehaltscheck| {FFFFFF}" . Gehalt . "$")
  1734. }
  1735.  
  1736. if(SpeedCheckStatus == "1")
  1737. {
  1738. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  1739. {
  1740. return
  1741. }
  1742. GetPlayerData()
  1743. VehSpeed := GetVehicleSpeed()
  1744. if(IsPlayerDriver() == 1)
  1745. {
  1746. if (VehSpeed <= VehSpeedMax)
  1747. {
  1748. SendInput, {W Down}
  1749. }
  1750. else if (VehSpeed > VehSpeedMax)
  1751. {
  1752. SendInput, {W Up}
  1753. }
  1754. }
  1755. else
  1756. {
  1757. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges. Der Tempomat wurde deaktiviert.")
  1758. SpeedCheckStatus := "0"
  1759. SpeedOnOff := "0"
  1760. Sleep, 250
  1761. SendInput {W up}
  1762.  
  1763. }
  1764. }
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854. if(InStr(Line0,"Der Spieler befindet sich in Gebäudekomplex"))
  1855. {
  1856. RegExMatch(Line0,"Der Spieler befindet sich in Gebäudekomplex (.*)", params)
  1857. if(params1 != altergk)
  1858. {
  1859. getgk = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/gk/getalldata.php?gkID=%params1%
  1860. success := UrlDownloadToVar(getgk)
  1861. StringTrimLeft success, success, 1
  1862. altergk := params1
  1863.  
  1864. if(success == 2)
  1865. {
  1866. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}{FF0000}Nicht gefunden")
  1867. }
  1868. else if(success == 3)
  1869. {
  1870. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Zahl vorausgesetzt")
  1871. }
  1872. else
  1873. {
  1874. AddChatMessage(0x2090B3, "|Staatsgewalt| {FF0000}Gebäudekomplex " params1 ":")
  1875. Loop, Parse, success, ~
  1876. {
  1877. AddChatMessage(0xFFFFFF,A_LoopField)
  1878. }
  1879. }
  1880. }
  1881. }
  1882.  
  1883. if(InStr(Line1,"Der Spieler befindet sich in Gebäudekomplex"))
  1884. {
  1885. RegExMatch(Line1,"Der Spieler befindet sich in Gebäudekomplex (.*)", params)
  1886. if(params1 != altergk)
  1887. {
  1888. getgk = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/gk/getalldata.php?gkID=%params1%
  1889. success := UrlDownloadToVar(getgk)
  1890. StringTrimLeft success, success, 1
  1891. altergk := params1
  1892.  
  1893. if(success == 2)
  1894. {
  1895. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}{FF0000}Nicht gefunden")
  1896. }
  1897. else if(success == 3)
  1898. {
  1899. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Zahl vorausgesetzt")
  1900. }
  1901. else
  1902. {
  1903. AddChatMessage(0x2090B3, "|Staatsgewalt| {FF0000}Gebäudekomplex " params1 ":")
  1904. Loop, Parse, success, ~
  1905. {
  1906. AddChatMessage(0xFFFFFF,A_LoopField)
  1907. }
  1908. }
  1909. }
  1910. }
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924. return
  1925.  
  1926.  
  1927. Partner:
  1928. countdown--
  1929. if(countdown == 0)
  1930. {
  1931. SetTimer, Partner, off
  1932. }
  1933. else
  1934. {
  1935. GetChatLine(0, ChatLine0)
  1936. GetChatLine(1, ChatLine1)
  1937. GetPlayerName(name)
  1938. if(InStr(ChatLine0, "wurde verhaftet, Eingesperrt. Haftzeit: "))
  1939. {
  1940. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  1941. if(InStr(ChatLine1, "" . name . " hat den Auftrag ausgeführt."))
  1942. {
  1943. SetTimer, Partner, off
  1944. RegExMatch(ChatLine0, "wurde verhaftet, Eingesperrt. Haftzeit: (.*) Minuten, Geldstrafe: 0\$.", zeit)
  1945. if(zeit1 > 56)
  1946. {
  1947. Wanted = 56
  1948. }
  1949. else
  1950. {
  1951. Wanted = %zeit1%
  1952. }
  1953. Wanted /= 4
  1954. Wanted *= 750
  1955. Geld = %Wanted%
  1956. Geld *= %Steuersatz%
  1957. Geld := Floor(Geld)
  1958. if(Partner1 > -1 && Partner2 > -1)
  1959. {
  1960. Geld /= 3
  1961. Geld := Floor(Geld)
  1962. SendChat("/pay " . Partner1 . " " . Geld . "")
  1963. SendChat("/pay " . Partner2 . " " . Geld . "")
  1964. }
  1965. else if(Partner1 > -1 && Partner2 == -1)
  1966. {
  1967. Geld /= 2
  1968. Geld := Floor(Geld)
  1969. SendChat("/pay " . Partner1 . " " . Geld . "")
  1970. }
  1971. else if(Partner1 == -1 && Partner2 > -1)
  1972. {
  1973. Geld /= 2
  1974. Geld := Floor(Geld)
  1975. SendChat("/pay " . Partner2 . " " . Geld . "")
  1976. }
  1977. }
  1978. Sleep 200
  1979. }
  1980. }
  1981. return
  1982.  
  1983.  
  1984. CheckHealth:
  1985. HP := GetPlayerHealth()
  1986. if(HP > 30)
  1987. {
  1988. LowHPsoundan := 0
  1989. SetTimer, CheckHealth, off
  1990. SoundPlay, avixa.avi
  1991. }
  1992. return
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005. :?:/afind::
  2006. Suspend Permit
  2007. Suspend On
  2008. SendInput, /find{space}
  2009. Input, AID, V I M,{enter}
  2010. Send {enter}
  2011. SetTimer, Find, 6000
  2012. Suspend Off
  2013. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Das automatische Suchen können Sie mit der Taste '<' deaktivieren.")
  2014. return
  2015.  
  2016. :?:/af::
  2017. Suspend Permit
  2018. Suspend On
  2019. SendInput, /find{space}
  2020. Input, AID, V I M,{enter}
  2021. Send {enter}
  2022. SetTimer, Find, 6000
  2023. Suspend Off
  2024. return
  2025.  
  2026. Find:
  2027. SendChat("/find " . AID)
  2028. return
  2029.  
  2030. :?:/ashowpos::
  2031. Suspend Permit
  2032. Suspend On
  2033. SendInput, /showpos{space}
  2034. Input, AID, V I M,{enter}
  2035. Send {enter}
  2036. SetTimer, Show, 6000
  2037. Suspend Off
  2038. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Das automatische Zeigen können Sie mit der Taste '<' deaktivieren.")
  2039. return
  2040.  
  2041. :?:/as::
  2042. Suspend Permit
  2043. Suspend On
  2044. SendInput, /showpos{space}
  2045. Input, AID, V I M,{enter}
  2046. Send {enter}
  2047. SetTimer, Show, 6000
  2048. Suspend Off
  2049. return
  2050.  
  2051. Show:
  2052. SendChat("/showpos " . AID)
  2053. return
  2054.  
  2055. :?:/pos::
  2056. Suspend Permit
  2057. if(Fahrer > -1)
  2058. {
  2059. Fahrer := Fahrer
  2060. }
  2061. else if(Partner1 > -1)
  2062. {
  2063. Fahrer := Partner1
  2064. }
  2065. else if(Partner2 > -1)
  2066. {
  2067. Fahrer := Partner2
  2068. }
  2069. else
  2070. {
  2071. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Es ist kein Partner / Fahrer eingetragen.")
  2072. return
  2073. }
  2074.  
  2075. Suspend On
  2076. SendInput, /showpos %Fahrer%{space}
  2077. Input, SID, V I M,{enter}
  2078. Send {enter}
  2079. SetTimer, PShow, 6000
  2080. Suspend Off
  2081. return
  2082.  
  2083. PShow:
  2084. SendChat("/showpos " . Fahrer . " " SID "")
  2085. return
  2086.  
  2087. :?:/fahrer::
  2088. Suspend Permit
  2089. if(Fahrer == -1)
  2090. {
  2091. SendInput, Gebe die ID deines Fahrers ein:{Space}
  2092. Input, caID, V I M,{Enter}
  2093. SendInput {end}+{home}{Del}{Esc}
  2094. Fahrer=%caID%
  2095. GetPlayerData()
  2096. GetPlayerNameById(caID, fahrername)
  2097. if(fahrername == -1)
  2098. {
  2099. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Dieser Spieler ist nicht Online.")
  2100. }
  2101. else
  2102. {
  2103. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}" . fahrername . " wurde als Fahrer eingetragen.")
  2104. }
  2105. }
  2106. else
  2107. {
  2108. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Fahrer wurde entfernt.")
  2109. Fahrer=-1
  2110. }
  2111. return
  2112.  
  2113.  
  2114. <::
  2115. SetTimer, Find, Off
  2116. SetTimer, Show, Off
  2117. SetTimer, PShow, Off
  2118. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Automatische Suchsysteme deaktiviert.")
  2119. return
  2120.  
  2121. flucht:
  2122. GetPlayerData()
  2123. fluchtName := ""
  2124.  
  2125. if(Is Number %fluchtID%)
  2126. {
  2127. GetPlayerNameByID(fluchtID, fluchtName)
  2128. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du darfst nun wieder einen Flucht-Wanted bei " . fluchtName . " vergeben, sofern du ihn noch verfolgst.")
  2129. }
  2130. else
  2131. {
  2132. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du darfst nun wieder einen Flucht-Wanted bei " . fluchtID . " vergeben, sofern du ihn noch verfolgst.")
  2133. }
  2134.  
  2135. fluchtID := -1
  2136. SetTimer, flucht, off
  2137. return
  2138.  
  2139.  
  2140.  
  2141. ~LControl & ~t::
  2142. Suspend Permit
  2143. If (IsPlayerinAnyVehicle() == 0)
  2144. {
  2145. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug!")
  2146. return
  2147. }
  2148. If (IsPlayerDriver() == 0)
  2149. {
  2150. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist nicht der Fahrer!")
  2151. return
  2152. }
  2153. SpeedOnOff := !SpeedOnOff
  2154. if(SpeedOnOff == 1)
  2155. {
  2156. VehSpeedMax := GetVehicleSpeed()
  2157. SpeedCheckStatus := "1"
  2158. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
  2159. }
  2160. else
  2161. {
  2162.  
  2163. SpeedCheckStatus := "0"
  2164. Sleep, 250
  2165. SendInput {W up}
  2166. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  2167. SendInput {W Up}
  2168. VehSpeedMax := 0
  2169. }
  2170. return
  2171.  
  2172.  
  2173. :?:/tempo::
  2174. Suspend Permit
  2175. If (IsPlayerinAnyVehicle() == 0)
  2176. {
  2177. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug!")
  2178. return
  2179. }
  2180. If (IsPlayerDriver() == 0)
  2181. {
  2182. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist nicht der Fahrer!")
  2183. return
  2184. }
  2185. tempo := PlayerInput("Bitte gebe deine gewünschte Geschwindigkeit an: ")
  2186. VehSpeedMax := tempo
  2187. SpeedCheckStatus := "1"
  2188. SpeedOnOff := "1"
  2189. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
  2190. return
  2191.  
  2192.  
  2193. ~W::
  2194. ~S::
  2195. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  2196. {
  2197. return
  2198. }
  2199. if (SpeedCheckStatus == 1)
  2200. {
  2201. SpeedCheckStatus := "0"
  2202. SpeedOnOff := "0"
  2203. Sleep, 250
  2204. SendInput {W up}
  2205. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  2206. SendInput {W Up}
  2207. VehSpeedMax := 0
  2208. }
  2209. return
  2210.  
  2211. :?:/kcall::
  2212. Suspend Permit
  2213. pinput := PlayerInput("Name: ")
  2214. Sleep, 250
  2215. SendChat("/number " . pinput . "")
  2216. Loop,
  2217. {
  2218. GetChatLine(0, line)
  2219. if(InStr(line, "Name: "))
  2220. {
  2221. RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
  2222. SendChat("/call " . Output2)
  2223. return
  2224. }
  2225. else If(InStr(line, "Diesen Spieler gibt es nicht!"))
  2226. {
  2227. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Anruf fehlgeschlagen!")
  2228. return
  2229. }
  2230. else
  2231. {
  2232. continue
  2233. }
  2234. }
  2235. return
  2236.  
  2237. :?:/ksms::
  2238. Suspend Permit
  2239. pinput := PlayerInput("Name: ")
  2240. SendChat("/number " . pinput . "")
  2241. Loop,
  2242. {
  2243. GetChatLine(0, line)
  2244. if(InStr(line, "Name: "))
  2245. {
  2246. RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
  2247. SendInput, t/sms %Output2%{space}
  2248. return
  2249. }
  2250. else If(InStr(line, "Diesen Spieler gibt es nicht!"))
  2251. {
  2252. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Versendung nicht möglich!")
  2253. return
  2254. }
  2255. else
  2256. {
  2257. continue
  2258. }
  2259. }
  2260. return
  2261.  
  2262. :?:/p::
  2263. Suspend Permit
  2264. SendChat("/p")
  2265. SoundPlay, avixa.avi
  2266. return
  2267.  
  2268. :?:/pickup::
  2269. Suspend Permit
  2270. SendChat("/p")
  2271. SoundPlay, avixa.avi
  2272. return
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279. :?:/hp::
  2280. Suspend Permit
  2281. SendChat("/cooked")
  2282. Sleep 250
  2283. GetChatLine(5, fish1)
  2284. GetChatLine(4, fish2)
  2285. GetChatLine(3, fish3)
  2286. GetChatLine(2, fish4)
  2287. GetChatLine(1, fish5)
  2288. RegExMatch(fish1, "\*\* \(1\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch1_)
  2289. RegExMatch(fish2, "\*\* \(2\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch2_)
  2290. RegExMatch(fish3, "\*\* \(3\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch3_)
  2291. RegExMatch(fish4, "\*\* \(4\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch4_)
  2292. RegExMatch(fish5, "\*\* \(5\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch5_)
  2293. HP1 = %fisch1_2%
  2294. HP1*=0.3
  2295. HP1 := Floor(HP1)
  2296. HP2 = %fisch2_2%
  2297. HP2*=0.3
  2298. HP2 := Floor(HP2)
  2299. HP3 = %fisch3_2%
  2300. HP3*=0.3
  2301. HP3 := Floor(HP3)
  2302. HP4 = %fisch4_2%
  2303. HP4*=0.3
  2304. HP4 := Floor(HP4)
  2305. HP5 = %fisch5_2%
  2306. HP5*=0.3
  2307. HP5 := Floor(HP5)
  2308. Gesamt=0
  2309. Gesamt+=%HP1%
  2310. Gesamt+=%HP2%
  2311. Gesamt+=%HP3%
  2312. Gesamt+=%HP4%
  2313. Gesamt+=%HP5%
  2314. AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch1_1 . " (" . fisch1_2 . " LBS) - {FFA000} " . HP1 . " HP")
  2315. AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch2_1 . " (" . fisch2_2 . " LBS) - {FFA000} " . HP2 . " HP")
  2316. AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch3_1 . " (" . fisch3_2 . " LBS) - {FFA000} " . HP3 . " HP")
  2317. AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch4_1 . " (" . fisch4_2 . " LBS) - {FFA000} " . HP4 . " HP")
  2318. AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}" . fisch5_1 . " (" . fisch5_2 . " LBS) - {FFA000} " . HP5 . " HP")
  2319. AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}-----------------------------------------------")
  2320. AddChatMessage(0x2090B3, "|Staatsgewalt| {15A170}|Fish| {FFFFFF}Gesamt: {FFA000}" . Gesamt . " HP")
  2321. return
  2322.  
  2323.  
  2324. :?:/fg::
  2325. Suspend Permit
  2326. SendChat("/festgeld 1250000")
  2327. return
  2328.  
  2329. :?:/sani::
  2330. Suspend Permit
  2331. SendChat("/accept Paket")
  2332. return
  2333.  
  2334. :?:/tanken::
  2335. Suspend Permit
  2336. if(IsPlayerInAnyVehicle() == "0")
  2337. {
  2338. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
  2339. return
  2340. }
  2341. if(GetVehicleEngineState() == 1)
  2342. {
  2343. SendChat("/motor")
  2344. }
  2345. SendChat("/fill")
  2346. Sleep, 10000
  2347. SendChat("/motor")
  2348. Sleep, 2600
  2349. SendChat("/licht")
  2350. return
  2351.  
  2352. :?:/sb::
  2353. Suspend Permit
  2354. id := PlayerInput("/showbadge ")
  2355. SendChat("/showbadge " id)
  2356. return
  2357.  
  2358.  
  2359. ~1::
  2360. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  2361. {
  2362. return
  2363. }
  2364.  
  2365. if(IsPlayerInAnyVehicle() == "0")
  2366. {
  2367. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
  2368. }
  2369. else
  2370. {
  2371. SendChat("/motor")
  2372. Sleep, 2600
  2373. if(GetVehicleLightState() == 0 && GetVehicleEngineState() == 1)
  2374. {
  2375. SendChat("/licht")
  2376. }
  2377. IniRead, Lock, settings.ini, Daten, Lock
  2378. if(Lock = 1)
  2379. {
  2380. if(IsPlayerDriver() == 1)
  2381. {
  2382. if(GetVehicleEngineState() == 1)
  2383. {
  2384. if(GetVehicleLockState() == 0)
  2385. {
  2386. SendChat("/lock")
  2387. }
  2388. }
  2389. }
  2390. }
  2391. }
  2392. return
  2393.  
  2394. ~+1::
  2395. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  2396. {
  2397. return
  2398. }
  2399. if(IsPlayerInAnyVehicle() == "0")
  2400. {
  2401. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
  2402. }
  2403. else
  2404. {
  2405. SendChat("/licht")
  2406. }
  2407. return
  2408.  
  2409.  
  2410. ~F::
  2411. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  2412. {
  2413. return
  2414. }
  2415. IniRead, Lock, settings.ini, Daten, Lock
  2416. if(Lock = 1)
  2417. {
  2418. if(IsPlayerInAnyVehicle() == "0")
  2419. {
  2420. Loop,
  2421. if(IsPlayerDriver() == 1)
  2422. {
  2423. Sleep, 250
  2424. if(GetVehicleLockState() == 0)
  2425. {
  2426. SendChat("/lock")
  2427. return
  2428. }
  2429. }
  2430. }
  2431. else
  2432. {
  2433. if(IsPlayerDriver() == 1)
  2434. {
  2435. if (GetVehicleEngineState() == 1)
  2436. {
  2437. SendChat("/motor")
  2438. Sleep 700
  2439. Send F
  2440. return
  2441. }
  2442. return
  2443. }
  2444. }
  2445. }
  2446. return
  2447.  
  2448. ~Y::
  2449. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  2450. {
  2451. return
  2452. }
  2453. if(IsPlayerInAnyVehicle() == "0")
  2454. {
  2455. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
  2456. }
  2457. else
  2458. {
  2459. SendChat("/lock")
  2460. }
  2461. return
  2462.  
  2463. !Y::
  2464. SendChat("/eat " . fischers . "")
  2465. fischers++
  2466. if(fischers == "6")
  2467. {
  2468. fischers=1
  2469. }
  2470. return
  2471.  
  2472. !X::
  2473. GetPlayerName(Name)
  2474. if(Name != "MrPacific")
  2475. {
  2476. SendChat("/erstehilfe")
  2477. }
  2478. return
  2479.  
  2480.  
  2481. :?:/info::
  2482. Suspend Permit
  2483. GetPlayerData()
  2484. GetCityName(city)
  2485. GetZoneName(zone)
  2486. GetPlayerName(Name)
  2487. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Spieler-Information von " Name ":")
  2488. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}HP: {FFBB00}" GetPlayerHealth() "{FFFFFF}, Standort: {FFBB00}" zone ", " city "{FFFFFF}, ID: {FFBB00}" GetPlayerID() "{FFFFFF}, Ping: {FFBB00}" GetPlayerPing() "{FFFFFF}.")
  2489. if (IsPlayerInAnyVehicle() == 1)
  2490. {
  2491. Model := GetVehicleModel()
  2492. GetVehicleName(Model, Fahrzeug)
  2493. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fahrzeug-Information für das Fahrzeug {FFBB00}" Fahrzeug "{FFFFFF}:")
  2494. if(GetVehicleSecondColor() != -1)
  2495. {
  2496. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Farbe: {FFBB00}"GetVehicleFirstColor() "{FFFFFF}/{FFBB00}" GetVehicleSecondColor() "{FFFFFF}, CarDL: {FFBB00}" GetVehicleHealth() "{FFFFFF}.")
  2497. }
  2498. else
  2499. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Farbe: {FFBB00}"GetVehicleFirstColor() "{FFFFFF}, CarDL: {FFBB00}" GetVehicleHealth() "{FFFFFF}.")
  2500. }
  2501. return
  2502.  
  2503. :?:/an::
  2504. Suspend Permit
  2505. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2506. {
  2507. if InStr(A_LoopReadLine, "Dein Handy klingelt. Tippe /pickup. Anrufer-ID: ")
  2508. {
  2509. RegExMatch(A_LoopReadLine, "Dein Handy klingelt\. Tippe /pickup\. Anrufer\-ID\: (.*)", var)
  2510. }
  2511. }
  2512. SendChat("/p")
  2513. SoundPlay, avixa.avi
  2514. if(var1 == "" || var1 == " " || var1 == " " || var1 == "-1")
  2515. {
  2516. var1 := "Sir "
  2517. }
  2518. GetPlayerName(Name)
  2519. StringTrimRight Anrufer, var1, 1
  2520. SendChat("Guten Tag " . Anrufer . ", Sie sprechen mit " . Name ".")
  2521. SendChat("Wie kann ich Ihnen behilflich sein?")
  2522. return
  2523.  
  2524.  
  2525. :?:/ab::
  2526. Suspend Permit
  2527. SoundPlay, xavi.avi
  2528. GetPlayerName(Name)
  2529. SendChat("/p")
  2530. SendChat("Guten Tag, Sie sind verbunden mit dem Anrufbeantworter von " . Name . ".")
  2531. Sleep 1000
  2532. SendChat("Leider habe ich keine Zeit, bitte versuchen Sie es später erneut.")
  2533. Sleep, 1000
  2534. SendChat("Auf Wiederhören.")
  2535. SendChat("/h")
  2536. return
  2537.  
  2538. :?:/jas::
  2539. Suspend Permit
  2540. SendChat("Ja Sir, was kann ich für Sie tun?")
  2541. return
  2542.  
  2543. :?:/danke::
  2544. Suspend Permit
  2545. SendChat("Vielen Dank für Ihren Anruf. Schönen Tag noch.")
  2546. SendChat("/h")
  2547. return
  2548.  
  2549. :?:/tag::
  2550. Suspend Permit
  2551. FormatTime, Uhrzeit,, HH
  2552. if (Uhrzeit >= 12 && Uhrzeit < 20)
  2553. {
  2554. SendChat("Guten Tag, wie kann ich Ihnen behilflich sein?")
  2555. }
  2556. if (Uhrzeit >= 20 || Uhrzeit == 0)
  2557. {
  2558. SendChat("Guten Abend, wie kann ich Ihnen behilflich sein?")
  2559. }
  2560. if (Uhrzeit >= 1 && Uhrzeit < 12)
  2561. {
  2562. SendChat("Guten Morgen, wie kann ich Ihnen behilflich sein?")
  2563. }
  2564. return
  2565.  
  2566. :?:/bye::
  2567. Suspend Permit
  2568. FormatTime, Uhrzeit,, HH
  2569. if (Uhrzeit >= 12 && Uhrzeit < 20)
  2570. {
  2571. SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
  2572. }
  2573. if (Uhrzeit >= 20 || Uhrzeit == 0)
  2574. {
  2575. SendChat("Ich wünsche Ihnen noch einen schönen Abend. Auf Wiedersehen.")
  2576. }
  2577. if (Uhrzeit >= 1 && Uhrzeit < 12)
  2578. {
  2579. SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
  2580. }
  2581. return
  2582.  
  2583. :?:/on::
  2584. Suspend Permit
  2585. GetPlayerName(Name)
  2586. Titel = ""
  2587. IniRead, Fraktion, settings.ini, Daten, Fraktion
  2588. if(Fraktion == "LSPD" || Fraktion == "LVPD")
  2589. {
  2590. Titel := "Officer"
  2591. SendChat("/d HQ: " Titel " " Name " meldet sich zum Dienst.")
  2592. }
  2593. else if(Fraktion == "FBI")
  2594. {
  2595. Titel := "Agent"
  2596. SendChat("/d HQ: " Titel " " Name " meldet sich zum Dienst.")
  2597. }
  2598. else
  2599. {
  2600. Titel := ""
  2601. SendChat("/d HQ: " Name " meldet sich zum Dienst.")
  2602. }
  2603.  
  2604. SendChat("/hitsound")
  2605. SendChat("/pdmarker")
  2606. Sleep, 850
  2607. SendChat("/tog")
  2608. Sleep, 200
  2609. SendInput {down 5}{enter}
  2610. return
  2611.  
  2612. ~m::
  2613. if (IsMenuOpen() == 0 && IsDialogOpen() == 0 && IsChatOpen() == 0)
  2614. {
  2615. SendChat("/members")
  2616. }
  2617. return
  2618.  
  2619. :?:/savestats::
  2620. Suspend Permit
  2621. FormatTime, StatsZeit, dd.MM.yyyy
  2622. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Statistiken werden gespeichert, Datum " StatsZeit)
  2623. SendChat("/time")
  2624. Sleep, 250
  2625. SendChat("/stats")
  2626. Sleep, 250
  2627. Send {F8}
  2628. Sleep, 250
  2629. Send {ESC}
  2630. return
  2631.  
  2632. :?:/relog::
  2633. Suspend Permit
  2634. SendInput /q{enter}
  2635. Sleep 3000
  2636. Suspend Off
  2637. RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\samp, gta_sa_exe
  2638. SplitPath, GTA_SA_EXE,, PFAD
  2639. run %PFAD%\samp.exe 37.187.135.201:7777, %PFAD%
  2640. return
  2641.  
  2642. :?:/fan::
  2643. Suspend Permit
  2644. Fan := PlayerInput("Fan-ID: ")
  2645. GetPlayerData()
  2646. GetPlayerNameById(Fan, name)
  2647. SendChat("/me gibt " name " ein Autogramm.")
  2648. SendChat("/showbadge " Fan "")
  2649. return
  2650.  
  2651.  
  2652. :?:/kochen::
  2653. Suspend Permit
  2654. SendChat("/cook fish 1")
  2655. SendChat("/cook fish 2")
  2656. Sleep 1250
  2657. SendChat("/cook fish 3")
  2658. SendChat("/cook fish 4")
  2659. Sleep 1250
  2660. SendChat("/cook fish 5")
  2661. return
  2662.  
  2663. :?:/cf::
  2664. Suspend Permit
  2665. SendChat("/cook fish 1")
  2666. Sleep,1000
  2667. SendChat("/cook fish 2")
  2668. Sleep,1000
  2669. SendChat("/cook fish 3")
  2670. Sleep,1000
  2671. SendChat("/cook fish 4")
  2672. Sleep,1000
  2673. SendChat("/cook fish 5")
  2674. Sleep,1000
  2675. return
  2676.  
  2677. :?:/re::
  2678. Suspend Permit
  2679. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2680. {
  2681. if InStr(A_LoopReadLine, ", Sender: " . Name)
  2682. continue
  2683. {
  2684. if InStr(A_LoopReadLine, ", Sender: ")
  2685. {
  2686. RegExMatch(A_LoopReadLine, ", Sender: .* \((.*)\)" ,SMS)
  2687. }
  2688. }
  2689. }
  2690. SendInput /sms %SMS1%{space}
  2691. return
  2692.  
  2693. :?:/read::
  2694. Suspend Permit
  2695. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2696. {
  2697. if InStr(A_LoopReadLine, "Werbung: ")
  2698. {
  2699. RegExMatch(A_LoopReadLine, "Werbung\: (.*)\, (.*) \((.*)\)" ,AD)
  2700. }
  2701. }
  2702. SendInput /sms %AD3%{space}
  2703. return
  2704.  
  2705. ~,::
  2706. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  2707. {
  2708. return
  2709. }
  2710. SendChat("Stoppuhr gestartet!")
  2711. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Um die Stoppuhr zu beenden, drücke '.'")
  2712. zeit=0
  2713. Loop,
  2714. {
  2715. zeit++
  2716. KeyWait, ., D T1
  2717. If !ErrorLevel
  2718. {
  2719. If ( Prüfungszeit < 1000)
  2720. {
  2721. minuten=%zeit%
  2722. minuten/=60
  2723. minuten1=%minuten%
  2724. minuten1*=60
  2725. sekunden=%zeit%
  2726. sekunden-=%minuten1%
  2727. SendChat("Stoppuhr gestoppt. Minute: " . minuten . " Sekunden: " . Sekunden)
  2728. SendChat("Gesamt: " . zeit . " Sekunden")
  2729. break
  2730. }
  2731. }
  2732. }
  2733. return
  2734.  
  2735. :?:/fischen::
  2736. Suspend Permit
  2737. If (IsPlayerinAnyInterior() == 1)
  2738. {
  2739. SendChat("/sell fish 1")
  2740. sleep 500
  2741. SendChat("/sell fish 2")
  2742. sleep 500
  2743. SendChat("/sell fish 3")
  2744. sleep 500
  2745. SendChat("/sell fish 4")
  2746. sleep 500
  2747. SendChat("/sell fish 5")
  2748. sleep 500
  2749. return
  2750. }
  2751. else
  2752. {
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763. Loop
  2764. {
  2765.  
  2766. SendChat("/fish")
  2767. sleep, 800
  2768. GetChatLine(0, chat)
  2769. 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."))
  2770. {
  2771.  
  2772. Loop 25
  2773. {
  2774. fischges += fisch%A_Index%
  2775. }
  2776. if(fischges > 0)
  2777. {
  2778. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du würdest für deine Fische {FFBB00}" fischges "{FFFFFF}$ bekommen.")
  2779. fischLBS := fischLBSGesamt / 3
  2780. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du würdest mit deinen Fischen {FFBB00}" fischLBS "{FFFFFF} HP generieren.")
  2781. Loop 25
  2782. {
  2783. fisch%A_Index% := 0
  2784. }
  2785. fischges := 0
  2786. fischLBS := 0
  2787. fischLBSGesamt := 0
  2788. }
  2789.  
  2790. break
  2791. }
  2792. if(InStr(chat, "Du hast ein/e ") AND RegExMatch(chat, "Du hast ein/e (.*) mit (.*) LBS gefangen.", chat))
  2793. {
  2794. if(chat1 == "Bernfisch")
  2795. {
  2796. fischLBSGesamt += chat2
  2797. fisch%A_Index% := chat2 * 1
  2798. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2799. }
  2800. else if(chat1 == "Blauer Fächerfisch")
  2801. {
  2802. fischLBSGesamt += chat2
  2803. fisch%A_Index% := chat2 * 2
  2804. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2805. }
  2806. else if(chat1 == "Zackenbarsch")
  2807. {
  2808. fischLBSGesamt += chat2
  2809. fisch%A_Index% := chat2 * 3
  2810. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2811. }
  2812. else if(chat1 == "Schwertfisch")
  2813. {
  2814. fischLBSGesamt += chat2
  2815. fisch%A_Index% := chat2 * 3
  2816. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2817. }
  2818. else if(chat1 == "Roter Schnapper")
  2819. {
  2820. fischLBSGesamt += chat2
  2821. fisch%A_Index% := chat2 * 3
  2822. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2823. }
  2824. else if(chat1 == "Katzenfisch")
  2825. {
  2826. fischLBSGesamt += chat2
  2827. fisch%A_Index% := chat2 * 4
  2828. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2829. }
  2830. else if(chat1 == "Forelle")
  2831. {
  2832. fischLBSGesamt += chat2
  2833. fisch%A_Index% := chat2 * 5
  2834. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2835. }
  2836. else if(chat1 == "Segelfisch")
  2837. {
  2838. fischLBSGesamt += chat2
  2839. fisch%A_Index% := chat2 * 7
  2840. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2841. }
  2842. else if(chat1 == "Hai")
  2843. {
  2844. fischLBSGesamt += chat2
  2845. fisch%A_Index% := chat2 * 7
  2846. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2847. }
  2848. else if(chat1 == "Delphin")
  2849. {
  2850. fischLBSGesamt += chat2
  2851. fisch%A_Index% := chat2 * 7
  2852. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2853. }
  2854. else if(chat1 == "Makrele")
  2855. {
  2856. fischLBSGesamt += chat2
  2857. fisch%A_Index% := chat2 * 8
  2858. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2859. }
  2860. else if(chat1 == "Hecht")
  2861. {
  2862. fischLBSGesamt += chat2
  2863. fisch%A_Index% := chat2 * 9
  2864. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2865. }
  2866. else if(chat1 == "Aal")
  2867. {
  2868. fischLBSGesamt += chat2
  2869. fisch%A_Index% := chat2 * 9
  2870. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2871. }
  2872. else if(chat1 == "Schildkröte")
  2873. {
  2874. fischLBSGesamt += chat2
  2875. fisch%A_Index% := chat2 * 10
  2876. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2877. }
  2878. else if(chat1 == "Thunfisch")
  2879. {
  2880. fischLBSGesamt += chat2
  2881. fisch%A_Index% := chat2 * 12
  2882. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2883. }
  2884. else if(chat1 == "Wolfbarsch")
  2885. {
  2886. fischLBSGesamt += chat2
  2887. fisch%A_Index% := chat2 * 12
  2888. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  2889. }
  2890.  
  2891. continue
  2892. }
  2893.  
  2894.  
  2895.  
  2896.  
  2897. }
  2898. }
  2899. return
  2900.  
  2901. :?:/chat::
  2902. Suspend Permit
  2903. AddChatMessage(0xFFFFFF, " ")
  2904. AddChatMessage(0xFFFFFF, " ")
  2905. AddChatMessage(0xFFFFFF, " ")
  2906. AddChatMessage(0xFFFFFF, " ")
  2907. AddChatMessage(0xFFFFFF, " ")
  2908. AddChatMessage(0xFFFFFF, " ")
  2909. AddChatMessage(0xFFFFFF, " ")
  2910. AddChatMessage(0xFFFFFF, " ")
  2911. AddChatMessage(0xFFFFFF, " ")
  2912. AddChatMessage(0xFFFFFF, " ")
  2913. AddChatMessage(0xFFFFFF, " ")
  2914. AddChatMessage(0xFFFFFF, " ")
  2915. AddChatMessage(0xFFFFFF, " ")
  2916. AddChatMessage(0xFFFFFF, " ")
  2917. AddChatMessage(0xFFFFFF, " ")
  2918. AddChatMessage(0xFFFFFF, " ")
  2919. AddChatMessage(0xFFFFFF, " ")
  2920. AddChatMessage(0xFFFFFF, " ")
  2921. AddChatMessage(0xFFFFFF, " ")
  2922. AddChatMessage(0xFFFFFF, " ")
  2923. AddChatMessage(0xFFFFFF, " ")
  2924. AddChatMessage(0xFFFFFF, " ")
  2925. return
  2926.  
  2927. :?:/alotto::
  2928. Suspend Permit
  2929. Random, rand, 1, 200
  2930. SendChat("/lotto " rand)
  2931. return
  2932.  
  2933.  
  2934. ~P::
  2935. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  2936. {
  2937. return
  2938. }
  2939. GetCityName(city)
  2940. GetZoneName(zone)
  2941. if(GetVehicleID() == -1)
  2942. {
  2943. If (city == "")
  2944. {
  2945. SendChat("/d HQ: Ich befinde mich derzeit in " zone ".")
  2946. }
  2947. else
  2948. {
  2949. SendChat("/d HQ: Ich befinde mich derzeit in " zone ", " city "")
  2950. }
  2951. }
  2952. else
  2953. {
  2954.  
  2955. If (city == "")
  2956. {
  2957. SendChat("/d HQ: Wagen " GetVehicleID() " befindet sich derzeit in " zone ".")
  2958. }
  2959. else
  2960. {
  2961. SendChat("/d HQ: Wagen " GetVehicleID() " befindet sich in " zone ", " city "")
  2962. }
  2963. }
  2964. return
  2965.  
  2966. ^P::
  2967. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  2968. {
  2969. return
  2970. }
  2971. GetCityName(city)
  2972. GetZoneName(zone)
  2973. if(GetVehicleID() == -1)
  2974. {
  2975. If (city == "")
  2976. {
  2977. SendChat("/r HQ: Ich befinde mich derzeit in " zone ".")
  2978. }
  2979. else
  2980. {
  2981. SendChat("/r HQ: Ich befinde mich derzeit in " zone ", " city "")
  2982. }
  2983. }
  2984. else
  2985. {
  2986. If (city == "")
  2987. {
  2988. SendChat("/r HQ: Wagen " GetVehicleID() " befindet sich derzeit in " zone ".")
  2989. }
  2990. else
  2991. {
  2992. SendChat("/r HQ: Wagen " GetVehicleID() " befindet sich in " zone ", " city "")
  2993. }
  2994. }
  2995. return
  2996.  
  2997.  
  2998. :?:/abholung::
  2999. Suspend Permit
  3000. GetZoneName(MyZone)
  3001. GetCityName(City)
  3002. SendChat("/d HQ: Erbitte Abholung in "MyZone ", " city)
  3003. return
  3004.  
  3005. :?:/kabholung::
  3006. Suspend Permit
  3007. SendChat("/d HQ: Eine Abholung wird nicht mehr benötigt.")
  3008. return
  3009.  
  3010. :?:/beweise::
  3011. Suspend Permit
  3012. SendChat("Haben Sie Beweise dafür, z.B. einen Screenshot?")
  3013. return
  3014.  
  3015. :?:/uc::
  3016. Suspend Permit
  3017. SendInput, /undercover{space}
  3018. return
  3019.  
  3020. :?:/auc::
  3021. Suspend Permit
  3022. Random, skin,1,34
  3023. SendChat("/undercover " skin)
  3024. return
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083. :?:/vf::
  3084. Suspend Permit
  3085. GetPlayerData()
  3086. GetPlayerName(myName)
  3087. id := PlayerInput("Verbrecher-ID: ")
  3088.  
  3089.  
  3090. GetPlayerNameByID(id, Verbrechername)
  3091.  
  3092. SendChat("/r " myName " verfolgt nun " Verbrechername)
  3093.  
  3094. if(id != "")
  3095. {
  3096. SetTimer, Find,Off
  3097. findid := id
  3098. SendChat("/find " findid)
  3099. SetTimer, Find,6000
  3100. }
  3101. return
  3102.  
  3103. :?:/updatesteuersatz::
  3104. Suspend Permit
  3105. SendCHat("/tax")
  3106. Sleep 250
  3107. GetChatLine(0, noob1)
  3108. RegExMatch(noob1, "{00FF33}Steuerklasse 4: (.*) Prozent", haha)
  3109. Steuersatz=100
  3110. Steuersatz-=%haha1%
  3111. Steuerlappen=0.%Steuersatz%
  3112. IniWrite, %Steuerlappen%, settings.ini, Steuern, Steuersatz
  3113. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Steuersatz hat sich auf " . haha1 . " Prozent gesetzt.")
  3114. return
  3115.  
  3116. :?:/settax::
  3117. Suspend Permit
  3118. tax := PlayerInput("Bitte gebe den aktuellen Steuersatz an: ")
  3119. Steuersatz=100
  3120. Steuersatz-=%tax%
  3121. Steuerlappen=0.%Steuersatz%
  3122. IniWrite, %Steuerlappen%, settings.ini, Steuern, Steuersatz
  3123. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Steuersatz wurde auf " . tax . " Prozent gesetzt.")
  3124. return
  3125.  
  3126.  
  3127. :?:/partner1::
  3128. Suspend Permit
  3129. if(Partner1 == -1)
  3130. {
  3131. SendInput, Gebe deine Partner ID ein:{Space}
  3132. Input, caID, V I M,{Enter}
  3133. SendInput {end}+{home}{Del}{Esc}
  3134. Partner1=%caID%
  3135. GetPlayerData()
  3136. GetPlayerNameById(caID, partnername)
  3137. if(partnername == -1)
  3138. {
  3139. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Dieser Spieler ist nicht Online.")
  3140. Partner1 := -1
  3141. }
  3142. else
  3143. {
  3144. SendChat("/d HQ: " . partnername . " wurde als Streifenpartner eingetragen.")
  3145.  
  3146.  
  3147. }
  3148. }
  3149. else
  3150. {
  3151.  
  3152. SendChat("/d HQ: Der Streifenpartner wurde entfernt.")
  3153. Partner1 := -1
  3154.  
  3155. }
  3156. return
  3157.  
  3158. :?:/partner2::
  3159. Suspend Permit
  3160. if(Partner2 == -1)
  3161. {
  3162. SendInput, Gebe deine Partner ID ein:{Space}
  3163. Input, caID, V I M,{Enter}
  3164. SendInput {end}+{home}{Del}{Esc}
  3165. Partner2=%caID%
  3166. GetPlayerData()
  3167. GetPlayerNameById(caID, partnername)
  3168. if(partnername == -1)
  3169. {
  3170. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Dieser Spieler ist nicht Online.")
  3171. Partner2 := -1
  3172. }
  3173. else
  3174. {
  3175. SendChat("/d HQ: " . partnername . " wurde als Streifenpartner eingetragen.")
  3176.  
  3177.  
  3178. }
  3179. }
  3180. else
  3181. {
  3182.  
  3183. SendChat("/d HQ: Der Streifenpartner wurde entfernt.")
  3184. Partner2 := -1
  3185.  
  3186. }
  3187. return
  3188.  
  3189. :?:/partners::
  3190. Suspend Permit
  3191. GetPlayerData()
  3192. GetPlayerNameByID(Partner1, partnername1)
  3193. GetPlayerNameByID(Partner2, partnername2)
  3194.  
  3195.  
  3196. If(Partner1 > -1)
  3197. {
  3198. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}1. Streifenpartner: " partnername1 " [ID: " Partner1 "]")
  3199. }
  3200. else
  3201. {
  3202. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}1. Streifenpartner: / ")
  3203. }
  3204.  
  3205. if(Partner2 > -1)
  3206. {
  3207. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}2. Streifenpartner: " partnername2 " [ID: " Partner2 "]")
  3208. }
  3209. else
  3210. {
  3211. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}2. Streifenpartner: / ")
  3212. }
  3213. return
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.  
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260. :?:/wt::
  3261. Suspend Permit
  3262. ID := PlayerInput("Spieler-ID: ")
  3263. if(ID != "" && ID != " ")
  3264. {
  3265. Grund := PlayerInput("Wantedgrund: ")
  3266. if(Grund != "" && Grund != " ")
  3267. {
  3268. SendChat("/d HQ: Bitte ID " ID " Wanteds eintragen, Grund: " Grund ".")
  3269. }
  3270. }
  3271. return
  3272.  
  3273. :?:/kontrolle::
  3274. Suspend Permit
  3275. SendInput, /frisk{Space}
  3276. Input, caID, V I M,{Enter}
  3277. Send {Enter}
  3278. SendChat("/waffen " . caID . "")
  3279. Sleep 2000
  3280. SendChat("/alktest " . caID . "")
  3281. return
  3282.  
  3283. ~k::
  3284. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3285. {
  3286. return
  3287. }
  3288. id := PlayerInput("Kontrolle: ")
  3289. SendChat("/frisk " id)
  3290. SendChat("/waffen " id)
  3291. sleep, 1500
  3292. SendChat("/alktest " id)
  3293. return
  3294.  
  3295. :?:/warten::
  3296. Suspend Permit
  3297. SendChat("/l Bitte warten Sie einen Moment, ich überprüfe die Gültigkeit Ihrer Dokumente.")
  3298. return
  3299.  
  3300. :?:/rechte::
  3301. Suspend Permit
  3302. SendChat("Sie haben das Recht zu schweigen. Alles was Sie sagen, kann und wird gegen Sie verwendet werden.")
  3303. Sleep, 1500
  3304. SendChat("Sie haben das Recht einen Verteidiger hinzuziehen.")
  3305. Sleep, 2000
  3306. SendChat("Haben Sie die Rechte verstanden, die ich Ihnen soeben vorgelesen habe?")
  3307. return
  3308.  
  3309. :?:/passieren::
  3310. Suspend Permit
  3311. SendChat("Sie dürfen passieren.")
  3312. SendChat("Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
  3313. return
  3314.  
  3315. ~2::
  3316. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3317. {
  3318. return
  3319. }
  3320. SendChat("/l Guten Tag Sir, dürfen wir Sie auf Drogen und Waffenbesitz überprüfen?")
  3321. SendChat("/l Sollten Sie sich weigern, bekommen Sie ein Wanted und werden verhaftet!")
  3322. Sleep, 850
  3323. SendChat("/l Bitte antworten Sie mit 'Ja' oder 'Nein'.")
  3324. return
  3325.  
  3326. ~3::
  3327. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3328. {
  3329. return
  3330. }
  3331. id := GetPlayerID()
  3332. SendChat("/l Bitte zeigen Sie mir Ihre Scheine. (/scheine " . id . ")")
  3333. return
  3334.  
  3335. ~4::
  3336. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3337. {
  3338. return
  3339. }
  3340. SendChat("Vielen Dank für Ihre Kooperation.")
  3341. return
  3342.  
  3343. ~5::
  3344. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3345. {
  3346. return
  3347. }
  3348. SendChat("/l Steigen Sie bitte aus Ihrem Fahrzeug.")
  3349. return
  3350.  
  3351. ~6::
  3352. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3353. {
  3354. return
  3355. }
  3356. SendChat("/l Sie sind vorläufig festgenommen, steigen Sie bitte in das Dienstfahrzeug.")
  3357. return
  3358.  
  3359. ~7::
  3360. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3361. {
  3362. return
  3363. }
  3364. SendChat("/l Sie sind vorläufig festgenommen, bitte laufen Sie zu den Zellen des Police Departments.")
  3365. return
  3366.  
  3367. ~8::
  3368. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3369. {
  3370. return
  3371. }
  3372. SendChat("/ram")
  3373. return
  3374.  
  3375. ~9::
  3376. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3377. {
  3378. return
  3379. }
  3380. id := PlayerInput("Grab: ")
  3381. SendChat("/grab " id)
  3382. return
  3383.  
  3384.  
  3385.  
  3386.  
  3387.  
  3388.  
  3389.  
  3390.  
  3391.  
  3392. ~B::
  3393. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3394. {
  3395. return
  3396. }
  3397. if(IsPlayerInAnyVehicle() == "0")
  3398. {
  3399. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
  3400. }
  3401. else
  3402. {
  3403. SendChat("/uclight")
  3404. }
  3405. return
  3406.  
  3407. ~J::
  3408. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3409. {
  3410. return
  3411. }
  3412. if(IsPlayerInAnyVehicle() == "0")
  3413. {
  3414. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist in keinem Fahrzeug")
  3415. }
  3416. else
  3417. {
  3418. SendChat("/policelight")
  3419. }
  3420. return
  3421.  
  3422.  
  3423. ~ä::
  3424. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3425. {
  3426. return
  3427. }
  3428. SendInput t{up}{enter}
  3429. return
  3430.  
  3431. !Numpad1::
  3432. id := PlayerInput("ATK: ")
  3433. SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten")
  3434. SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten")
  3435. return
  3436.  
  3437. !Numpad2::
  3438. FormatTime, Minute, MI, mm
  3439. id:=PlayerInput("Flucht (Minute: " . Minute . "): ")
  3440. SendChat("/su " id " Flucht / Fluchtversuch Min: " . Minute)
  3441. SendChat("/su " id " Flucht / Fluchtversuch Min: " . Minute)
  3442.  
  3443. fluchtID := id
  3444. SetTimer, flucht, 300000
  3445.  
  3446. if(id != "")
  3447. {
  3448. SetTimer, Find , Off
  3449. AID := id
  3450. SendChat("/find " AID)
  3451. SetTimer, Find , 6000
  3452. }
  3453. return
  3454.  
  3455. !Numpad3::
  3456. id := PlayerInput("Verweigerung: ")
  3457. SendChat("/su " id " Verweigerung von Anweisungen")
  3458. return
  3459.  
  3460. !Numpad4::
  3461. id := PlayerInput("BdJ: ")
  3462. SendChat("/su " id " Behinderung der Justiz")
  3463. return
  3464.  
  3465. !Numpad5::
  3466. id := PlayerInput("Materialien: ")
  3467. SendChat("/su " id " Besitz von Materialien")
  3468. SendChat("/su " id " Besitz von Materialien")
  3469. return
  3470.  
  3471. !Numpad6::
  3472. id := PlayerInput("Drogen: ")
  3473. SendChat("/su " id " Verstoß gegen das BtMG")
  3474. SendChat("/su " id " Verstoß gegen das BtMG")
  3475. return
  3476.  
  3477. !Numpad7::
  3478. FormatTime, Minute, MI, mm
  3479. id := PlayerInput("Beihilfe: (Minute: " . Minute . "): ")
  3480. SendChat("/su " id " Beihilfe zur Flucht Min: " . Minute)
  3481. SendChat("/su " id " Beihilfe zur Flucht Min: " . Minute)
  3482. return
  3483.  
  3484. !Numpad8::
  3485. id := PlayerInput("Drogen-/Waffenhandel: ")
  3486. SendChat("/su " id " Illegaler Handel von Drogen / Waffen")
  3487. SendChat("/su " id " Illegaler Handel von Drogen / Waffen")
  3488. return
  3489.  
  3490. !Numpad9::
  3491. id := PlayerInput("Einbruch: ")
  3492. SendChat("/su " id " Unautorisierter Betritt eines Geländes")
  3493. SendChat("/su " id " Unautorisierter Betritt eines Geländes")
  3494. return
  3495.  
  3496.  
  3497.  
  3498.  
  3499. ^Numpad0::
  3500. id := PlayerInput("Rote Ampel missachtet: ")
  3501. SendChat("/punkte " id " 2 Missachtung roter Ampeln")
  3502. return
  3503.  
  3504. ^Numpad1::
  3505. id := PlayerInput("SVG: ")
  3506. SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
  3507. return
  3508.  
  3509. ^Numpad2::
  3510. id := PlayerInput("Falsche Seite: ")
  3511. SendChat("/punkte " id " 2 Fahren auf der falscher Straßenseite")
  3512. return
  3513.  
  3514. ^Numpad3::
  3515. id := PlayerInput("Zu schnell: ")
  3516. SendChat("/punkte " id " 2 Ãœberschreitung der Höchstgeschwindigkeit")
  3517. return
  3518.  
  3519. ^Numpad4::
  3520. id := PlayerInput("Vorfahrt: ")
  3521. SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
  3522. return
  3523.  
  3524. ^Numpad5::
  3525. id := PlayerInput("Abseits: ")
  3526. SendChat("/punkte " id " 2 Fahren abseits der Straße")
  3527. return
  3528.  
  3529. ^Numpad6::
  3530. id := PlayerInput("Ohne Licht: ")
  3531. SendChat("/punkte " id " 1 Fahren ohne Licht")
  3532. return
  3533.  
  3534. ^Numpad7::
  3535. GetZoneName(MyZone)
  3536. id := PlayerInput("Parkverbot: ")
  3537. SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
  3538. return
  3539.  
  3540. ^Numpad8::
  3541. id := PlayerInput("SVB: ")
  3542. SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
  3543. return
  3544.  
  3545. ^Numpad9::
  3546. id := PlayerInput("Alkoholeinfluss: ")
  3547. SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
  3548. return
  3549.  
  3550.  
  3551. ~Numpad0::
  3552. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3553. {
  3554. return
  3555. }
  3556. if(watermode == 1)
  3557. {
  3558. SendChat("/m >> Küstenwache, bitte folgen Sie dem Boot<<")
  3559. }
  3560. else
  3561. {
  3562. If(Abteilung = "" || Abteilung = "ERROR")
  3563. {
  3564. SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen<<")
  3565. }
  3566. else
  3567. {
  3568. SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen<<")
  3569. }
  3570. }
  3571. return
  3572.  
  3573. ~Numpad1::
  3574. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3575. {
  3576. return
  3577. }
  3578. if(watermode == 1)
  3579. {
  3580. SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an<<")
  3581. }
  3582. else
  3583. {
  3584. If(Abteilung = "" || Abteilung = "ERROR")
  3585. {
  3586. SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran<<")
  3587. }
  3588. else
  3589. {
  3590. SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran<<")
  3591. }
  3592. }
  3593. return
  3594.  
  3595. ~Numpad2::
  3596. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3597. {
  3598. return
  3599. }
  3600. if(watermode == 1)
  3601. {
  3602. SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot!<<")
  3603. }
  3604. else
  3605. {
  3606. If(Abteilung = "" || Abteilung = "ERROR")
  3607. {
  3608. SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an!<<")
  3609. }
  3610. else
  3611. {
  3612. SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an!<<")
  3613. }
  3614. }
  3615. return
  3616.  
  3617. ~Numpad3::
  3618. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3619. {
  3620. return
  3621. }
  3622. SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen!<<")
  3623. return
  3624.  
  3625. ~Numpad4::
  3626. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3627. {
  3628. return
  3629. }
  3630. SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug!")
  3631. return
  3632.  
  3633. ~Numpad5::
  3634. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3635. {
  3636. return
  3637. }
  3638. If(Abteilung = "" || Abteilung = "ERROR")
  3639. {
  3640. SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße!")
  3641. }
  3642. else
  3643. {
  3644. SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße!")
  3645. }
  3646. return
  3647.  
  3648. ~Numpad6::
  3649. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3650. {
  3651. return
  3652. }
  3653. SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden!")
  3654. return
  3655.  
  3656. ~Numpad9::
  3657. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3658. {
  3659. return
  3660. }
  3661. SendChat("/m Verlassen Sie SOFORT dieses Gelände!")
  3662. return
  3663.  
  3664. ~ß::
  3665. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3666. {
  3667. return
  3668. }
  3669. SendChat("/m Verlassen Sie SOFORT dieses Gebäude!")
  3670. return
  3671.  
  3672. ~Numpad7::
  3673. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3674. {
  3675. return
  3676. }
  3677. SendInput, t/cuff{Space}
  3678. Input, SID, V I M,{Enter}
  3679. Send {Enter}
  3680. SendInput t/frisk %SID%{Enter}
  3681.  
  3682. GetPlayerData()
  3683. GetPlayerNameByID(SID, name)
  3684. if(name != -1)
  3685. {
  3686. if(arrest1 == -1)
  3687. {
  3688. arrest1 := SID
  3689. return
  3690. }
  3691. else if(arrest2 == -1)
  3692. {
  3693. arrest2 := SID
  3694. return
  3695. }
  3696. else if(arrest3 == -1)
  3697. {
  3698. arrest3 := SID
  3699. return
  3700. }
  3701. else if(arrest4 == -1)
  3702. {
  3703. arrest4 := SID
  3704. return
  3705. }
  3706. else if(arrest5 == -1)
  3707. {
  3708. arrest5 := SID
  3709. return
  3710. }
  3711. else
  3712. {
  3713. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F2 zum Resetten)")
  3714. return
  3715. }
  3716. }
  3717. return
  3718.  
  3719.  
  3720. ~F2::
  3721. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  3722. {
  3723. return
  3724. }
  3725. arrest1 := -1
  3726. arrest2 := -1
  3727. arrest3 := -1
  3728. arrest4 := -1
  3729. arrest5 := -1
  3730. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Arrestslots zurückgesetzt")
  3731. return
  3732.  
  3733.  
  3734. :?:/uncuff::
  3735. Suspend Permit
  3736. id := PlayerInput("/uncuff ")
  3737. SendChat("/uncuff " id)
  3738. if(arrest1 == id)
  3739. {
  3740. arrest1 = -1
  3741. return
  3742. }
  3743. else if(arrest2 == id)
  3744. {
  3745. arrest2 = -1
  3746. return
  3747. }
  3748. else if(arrest3 == id)
  3749. {
  3750. arrest3 = -1
  3751. return
  3752. }
  3753. else if(arrest4 == id)
  3754. {
  3755. arrest4 = -1
  3756. return
  3757. }
  3758. else if(arrest5 == id)
  3759. {
  3760. arrest5 = -1
  3761. return
  3762. }
  3763. return
  3764.  
  3765. ~U::
  3766. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3767. {
  3768. return
  3769. }
  3770. id := PlayerInput("/uncuff ")
  3771. SendChat("/uncuff " id)
  3772. if(arrest1 == id)
  3773. {
  3774. arrest1 = -1
  3775. return
  3776. }
  3777. else if(arrest2 == id)
  3778. {
  3779. arrest2 = -1
  3780. return
  3781. }
  3782. else if(arrest3 == id)
  3783. {
  3784. arrest3 = -1
  3785. return
  3786. }
  3787. else if(arrest4 == id)
  3788. {
  3789. arrest4 = -1
  3790. return
  3791. }
  3792. else if(arrest5 == id)
  3793. {
  3794. arrest5 = -1
  3795. return
  3796. }
  3797. return
  3798.  
  3799. ^!Numpad7::
  3800. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3801. {
  3802. return
  3803. }
  3804. id := PlayerInput("/uncuff ")
  3805. SendChat("/uncuff " id)
  3806. if(arrest1 == id)
  3807. {
  3808. arrest1 = -1
  3809. return
  3810. }
  3811. else if(arrest2 == id)
  3812. {
  3813. arrest2 = -1
  3814. return
  3815. }
  3816. else if(arrest3 == id)
  3817. {
  3818. arrest3 = -1
  3819. return
  3820. }
  3821. else if(arrest4 == id)
  3822. {
  3823. arrest4 = -1
  3824. return
  3825. }
  3826. else if(arrest5 == id)
  3827. {
  3828. arrest5 = -1
  3829. return
  3830. }
  3831. return
  3832.  
  3833. ~Numpad8::
  3834. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3835. {
  3836. return
  3837. }
  3838. Random, rand, 1, 3
  3839. SendInput, t/arrest %rand%{left 2}
  3840. Input, SID, V I M,{Enter}
  3841. Send {Enter}
  3842. if(Partner1 > -1 || Partner2 > -1)
  3843. {
  3844. Countdown := 200
  3845. SetTimer, Partner, 100
  3846. }
  3847. if(arrest1 == SID)
  3848. {
  3849. arrest1 = -1
  3850. return
  3851. }
  3852. else if(arrest2 == SID)
  3853. {
  3854. arrest2 = -1
  3855. return
  3856. }
  3857. else if(arrest3 == SID)
  3858. {
  3859. arrest3 = -1
  3860. return
  3861. }
  3862. else if(arrest4 == SID)
  3863. {
  3864. arrest4 = -1
  3865. return
  3866. }
  3867. else if(arrest5 == SID)
  3868. {
  3869. arrest5 = -1
  3870. return
  3871. }
  3872. return
  3873.  
  3874.  
  3875.  
  3876. ~#::
  3877. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3878. {
  3879. return
  3880. }
  3881. Random, rand, 1, 3
  3882. if (arrest1 != -1)
  3883. {
  3884. SendChat("/arrest " arrest1 " " rand "")
  3885. if(Partner1 > -1 || Partner2 > -1)
  3886. {
  3887. Countdown := 200
  3888. SetTimer, Partner, 100
  3889. }
  3890. arrest1 := -1
  3891. Sleep, 1500
  3892. }
  3893. if (arrest2 != -1)
  3894. {
  3895. SendChat("/arrest " arrest2 " " rand "")
  3896. if(Partner1 > -1 || Partner2 > -1)
  3897. {
  3898. Countdown := 200
  3899. SetTimer, Partner, 100
  3900. }
  3901. arrest2 := -1
  3902. Sleep, 1500
  3903. }
  3904. if (arrest3 != -1)
  3905. {
  3906. SendChat("/arrest " arrest3 " " rand "")
  3907. if(Partner1 > -1 || Partner2 > -1)
  3908. {
  3909. Countdown := 200
  3910. SetTimer, Partner, 100
  3911. }
  3912. arrest3 := -1
  3913. Sleep, 1500
  3914. }
  3915. Sleep, 1000
  3916. if (arrest4 != -1)
  3917. {
  3918. SendChat("/arrest " arrest4 " " rand "")
  3919. if(Partner1 > -1 || Partner2 > -1)
  3920. {
  3921. Countdown := 200
  3922. SetTimer, Partner, 100
  3923. }
  3924. arrest4 := -1
  3925. Sleep, 1500
  3926. }
  3927. if (arrest5 != -1)
  3928. {
  3929. SendChat("/arrest " arrest5 " " rand "")
  3930. if(Partner1 > -1 || Partner2 > -1)
  3931. {
  3932. Countdown := 200
  3933. SetTimer, Partner, 100
  3934. }
  3935. arrest1 := -1
  3936. }
  3937. return
  3938.  
  3939. !#::
  3940. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Verbrecher in der Arrestliste:")
  3941. if(arrest1 != -1)
  3942. {
  3943. GetPlayerData()
  3944. GetPlayerNameByID(arrest1, name)
  3945. AddChatMessage(0xFFFFFF, name)
  3946. }
  3947.  
  3948. if(arrest2 != -1)
  3949. {
  3950. GetPlayerData()
  3951. GetPlayerNameByID(arrest2, name)
  3952. AddChatMessage(0xFFFFFF, name)
  3953. }
  3954.  
  3955. if(arrest3 != -1)
  3956. {
  3957. GetPlayerData()
  3958. GetPlayerNameByID(arrest3, name)
  3959. AddChatMessage(0xFFFFFF, name)
  3960. }
  3961.  
  3962. if(arrest4 != -1)
  3963. {
  3964. GetPlayerData()
  3965. GetPlayerNameByID(arrest4, name)
  3966. AddChatMessage(0xFFFFFF, name)
  3967. }
  3968.  
  3969. if(arrest5 != -1)
  3970. {
  3971. GetPlayerData()
  3972. GetPlayerNameByID(arrest5, name)
  3973. AddChatMessage(0xFFFFFF, name)
  3974. }
  3975. return
  3976.  
  3977. :?:/rstreife::
  3978. Suspend Permit
  3979. SendChat("/r Suche Streifenpartner.")
  3980. return
  3981.  
  3982. :?:/dstreife::
  3983. Suspend Permit
  3984. SendChat("/d Suche Streifenpartner.")
  3985. return
  3986.  
  3987.  
  3988. ~´::
  3989. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  3990. {
  3991. return
  3992. }
  3993. GetPlayerName(name)
  3994. GetVehicleID(cId)
  3995. if(cId == -1)
  3996. {
  3997. SendChat("/d HQ: " name " übernimmt den Auftrag.")
  3998. }
  3999. else
  4000. {
  4001. SendChat("/d HQ: Wagen " cId " übernimmt den Auftrag.")
  4002. }
  4003. return
  4004.  
  4005. !´::
  4006. GetPlayerName(name)
  4007. GetVehicleID(cId)
  4008. if(cId == -1)
  4009. {
  4010. SendChat("/d HQ: " name " hat den Auftrag ausgeführt.")
  4011. }
  4012. else
  4013. {
  4014. SendChat("/d HQ: Wagen " cId " hat den Auftrag ausgeführt.")
  4015. }
  4016. return
  4017.  
  4018. :?:/razzia::
  4019. Suspend Permit
  4020. If(Abteilung = "" || Abteilung = "ERROR")
  4021. {
  4022. SendChat("/m >> " . Fraktion . ", dies ist eine Razzia! <<")
  4023. }
  4024. else
  4025. {
  4026. SendChat("/m >> " . Abteilung . ", dies ist eine Razzia! <<")
  4027. }
  4028. SendChat("/m >> Nehmen sie SOFORT die Hände hoch oder wir schießen! <<")
  4029. return
  4030.  
  4031. :?:/rz::
  4032. Suspend Permit
  4033. GetPlayerData()
  4034. if(GetPlayerSkin() == 285)
  4035. {
  4036. SendChat("/m >> S.W.A.T., Dies ist eine Razzia! <<")
  4037. SendChat("/m >> Nehmen Sie SOFORT die Hände hoch oder Sie werden erschossen! <<")
  4038. Sleep, 2000
  4039. SendChat("/m >>5<<")
  4040. Sleep, 1000
  4041. SendChat("/m >>4<<")
  4042. Sleep, 1000
  4043. SendChat("/m >>3<<")
  4044. Sleep, 1000
  4045. SendChat("/m >>2<<")
  4046. Sleep, 1000
  4047. SendChat("/m >>1<<")
  4048. Sleep, 1000
  4049. SendChat("/m >>Letzte Warnung!<<")
  4050. }
  4051. else
  4052. {
  4053. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist nicht im SWAT-Modus.")
  4054. }
  4055. return
  4056.  
  4057. :?:/ruhe::
  4058. Suspend Permit
  4059. SendChat("Sie haben das Recht zu schweigen!")
  4060. SendChat("Später können sie eventuell einen Anwalt gestellt bekommen!")
  4061. return
  4062.  
  4063.  
  4064. :?:/wo::
  4065. Suspend Permit
  4066. SendChat("/d Wo befindet ihr euch und was ist das Problem?")
  4067. return
  4068.  
  4069. :?:/ver::
  4070. Suspend Permit
  4071. SendChat("/d HQ: Habe verstanden.")
  4072. return
  4073.  
  4074. :?:/rver::
  4075. Suspend Permit
  4076. SendChat("/r HQ: Habe verstanden.")
  4077. return
  4078.  
  4079. :?:/go::
  4080. Suspend Permit
  4081. SendChat("/d Einsatzleiter erlaubt Zugriff, GOGOGO!")
  4082. return
  4083.  
  4084. :?:/rgo::
  4085. Suspend Permit
  4086. SendChat("/r Einsatzleiter erlaubt Zugriff, GOGOGO!")
  4087. return
  4088.  
  4089. :?:/afk::
  4090. Suspend Permit
  4091. Zeit := PlayerInput("Zeit: ")
  4092. SendChat("/r Ich melde mich für die nächsten " Zeit " Minuten ab.")
  4093. return
  4094.  
  4095.  
  4096. :?:/tw::
  4097. Suspend Permit
  4098. SendInput, /take Waffen{space}
  4099. return
  4100.  
  4101. :?:/tws::
  4102. Suspend Permit
  4103. SendInput, /take Waffenschein{space}
  4104. return
  4105.  
  4106. :?:/twl::
  4107. Suspend Permit
  4108. SendInput, /take Waffenschein{space}
  4109. return
  4110.  
  4111. :?:/tfl::
  4112. Suspend Permit
  4113. SendInput, /take Flugschein{space}
  4114. return
  4115.  
  4116. :?:/tfs::
  4117. Suspend Permit
  4118. SendInput, /take Flugschein{space}
  4119. return
  4120.  
  4121. :?:/td::
  4122. Suspend Permit
  4123. SendInput, /take Drogen{space}
  4124. return
  4125.  
  4126. :?:/tm::
  4127. Suspend Permit
  4128. SendInput, /take Materialien{space}
  4129. return
  4130.  
  4131. :?:/tall::
  4132. Suspend Permit
  4133. SendInput, /take Waffen{Space}
  4134. Input, SID, V I M,{Enter}
  4135. Send {Enter}
  4136. SendInput t/take Materialien %SID%{Enter}
  4137. Send {Enter}
  4138. SendInput, t/take Drogen %SID%{enter}
  4139. Suspend Off
  4140. return
  4141.  
  4142. :?:/tst::
  4143. Suspend Permit
  4144. id := PlayerInput("Take Strafpunkte: ")
  4145. anzahl := PlayerInput("Anzahl: ")
  4146. SendChat("/licunban " id " points " anzahl)
  4147. return
  4148.  
  4149. ~-::
  4150. if(IsDialogOpen() == 1 || IsChatOpen() == 1){
  4151. return
  4152. }
  4153. id := PlayerInput("/clear ")
  4154.  
  4155. SendChat("/clear " id)
  4156. return
  4157.  
  4158. :?:/op::
  4159. Suspend Permit
  4160. SendInput, /offlinearrest 1{left 2}
  4161. return
  4162.  
  4163. :?:/oa::
  4164. Suspend Permit
  4165. SendInput, /offlinearrest 0{left 2}
  4166. return
  4167.  
  4168. :?:/dp::
  4169. Suspend Permit
  4170. SendInput, /deatharrest 1{left 2}
  4171. return
  4172.  
  4173. :?:/da::
  4174. Suspend Permit
  4175. SendInput, /deatharrest 0{left 2}
  4176. return
  4177.  
  4178. :?:/na::
  4179. Suspend Permit
  4180. SendInput, /su Notruf Missbrauch{left 18}
  4181. Input, caID, V I M,{Enter}
  4182. Send {Enter}
  4183. SendChat("/su " . caID . " Behinderung der Justiz")
  4184. return
  4185.  
  4186. !n::
  4187. id := PlayerInput("Notrufmissbrauch: ")
  4188. SendChat("/su " id " Missbrauch des Notrufs")
  4189. SendChat("/su " id " Behinderung der Justiz")
  4190. return
  4191.  
  4192. !z::
  4193. GetPlayerName(Name)
  4194. if(Name != "MrPacific")
  4195. {
  4196. id := PlayerInput("Zollflucht: ")
  4197. SendChat("/su " id " Zollflucht")
  4198. SendChat("/su " id " Zollflucht")
  4199. }
  4200. return
  4201.  
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211. :?:/zf::
  4212. Suspend Permit
  4213. SendInput, /su Zollflucht{left 11}
  4214. Input, caID, V I M,{Enter}
  4215. Send {Enter}
  4216. SendChat("/su " . caID . " Zollflucht")
  4217. Sleep 1200
  4218. return
  4219.  
  4220. :?:/zflucht::
  4221. Suspend Permit
  4222. SendInput, /su Zollflucht{left 11}
  4223. Input, caID, V I M,{Enter}
  4224. Send {Enter}
  4225. SendChat("/su " . caID . " Zollflucht")
  4226. Sleep 1200
  4227. return
  4228.  
  4229. :?:/danke::
  4230. Suspend Permit
  4231. SendChat("Vielen Dank für ihren Anruf. Schönen Tag noch.")
  4232. SendChat("/h")
  4233. return
  4234.  
  4235.  
  4236.  
  4237. ^::
  4238. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4239. {
  4240. return
  4241. }
  4242. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  4243. {
  4244. If InStr(A_LoopReadLine, "benötigt einen Streifenwagen in ")
  4245. {
  4246. RegExMAtch(A_LoopReadLine, "/notruf (.*)" , notruf)
  4247. }
  4248. }
  4249. SendInput, t%notruf%{enter}
  4250. return
  4251.  
  4252.  
  4253.  
  4254.  
  4255.  
  4256.  
  4257.  
  4258. :?:/stvo::
  4259. Suspend Permit
  4260. anzahl := 0
  4261. rsn := ""
  4262. anzahl := PlayerInput("Anzahl der möglichen Punkte: ")
  4263. rsn := PlayerInput("Grund: ")
  4264.  
  4265. if(anzahl != 0 && rsn != "")
  4266. {
  4267. ticket := anzahl * 2000
  4268. SendChat("Guten Tag, Sie haben gegen die StVo verstoßen.")
  4269. SendChat("Ihre Vergehen: " rsn)
  4270. SendChat("Möchten Sie ein Ticket in Höhe von " ticket "$ oder " anzahl " Strafpunkte?")
  4271. }
  4272. return
  4273.  
  4274. :?:/fahrt::
  4275. Suspend Permit
  4276. SendChat("/l Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
  4277. return
  4278.  
  4279. LWin::
  4280. SendChat("/wanted")
  4281. return
  4282.  
  4283. LWin & 1::
  4284. SendChat("/wanted ls")
  4285. return
  4286.  
  4287. LWin & 2::
  4288. SendChat("/wanted sf")
  4289. return
  4290.  
  4291. LWin & 3::
  4292. SendChat("/wanted lv")
  4293. return
  4294.  
  4295.  
  4296. End::
  4297. SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
  4298. Sleep 1500
  4299. SendChat(">>5<<")
  4300. KeyWait, <, D T1
  4301. If !ErrorLevel
  4302. {
  4303. return
  4304. }
  4305. SendChat(">>4<<")
  4306. KeyWait, <, D T1
  4307. If !ErrorLevel
  4308. {
  4309. return
  4310. }
  4311. SendChat(">>3<<")
  4312. KeyWait, <, D T1
  4313. If !ErrorLevel
  4314. {
  4315. return
  4316. }
  4317. SendChat(">>2<<")
  4318. KeyWait, <, D T1
  4319. If !ErrorLevel
  4320. {
  4321. return
  4322. }
  4323. SendChat(">>1<<")
  4324. KeyWait, <, D T1
  4325. If !ErrorLevel
  4326. {
  4327. return
  4328. }
  4329. SendChat("Letzte Warnung!")
  4330. Sleep, 2000
  4331. AddChatMessage(0xFFFFFF,"Freigegeben")
  4332. return
  4333.  
  4334. !End::
  4335. SendChat("Sie haben nun folgende Möglichkeiten:")
  4336. Sleep 1000
  4337. SendChat("1. Sie versuchen zu flüchten, erhalten Wanteds und wir wenden Gewalt an.")
  4338. Sleep 1000
  4339. SendChat("2. Sie stellen sich und können einen Anwalt beauftragen.")
  4340. Sleep 1000
  4341. SendChat("3. Sie verweigern, erhalten Wanteds und wir wenden Gewalt an.")
  4342. Sleep 1000
  4343. SendChat("Sie haben die Wahl!")
  4344. return
  4345.  
  4346. !c::
  4347. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4348. {
  4349. return
  4350. }
  4351. SendInput, t/d Zoll schließen bitte{left 16}
  4352. return
  4353.  
  4354. NumpadDiv::
  4355. SendInput, t/zollcontrol zu{left}{left}{left}
  4356. return
  4357.  
  4358. !NumpadDiv::
  4359. SendInput, t/zollcontrol auf{left}{left}{left}{left}
  4360. return
  4361.  
  4362. NumpadMult::
  4363. SendInput, t/gov Die Zollstationen sind zurzeit geschlossen.{left 26}
  4364. return
  4365.  
  4366. !NumpadMult::
  4367. SendInput, t/gov Die Zollstationen sind nicht mehr geschlossen.{left 29}
  4368. return
  4369.  
  4370. NumpadSub::
  4371. SendChat("/auf")
  4372. return
  4373.  
  4374. !NumpadSub::
  4375. SendChat("/zoll")
  4376. return
  4377.  
  4378. NumpadAdd::
  4379. If (IsChatOpen() == 1 || IsDialogOpen() == 1 || IsMenuOpen() == 1){
  4380. SendInput, {%A_ThisHotkey%}
  4381. return
  4382. }
  4383. IIDD := GetPlayerId()
  4384. SendChat("/d HQ: Ich fordere DRINGEND Verstärkung an! (ID: " IIDD ")")
  4385. SendChat("/d HQ: Aktueller Zustand: " GetPlayerHealth() " / " GetPlayerArmor())
  4386. Sleep, 500
  4387. if(bkon == 0)
  4388. {
  4389. SendChat("/bk")
  4390. bkon := 1
  4391. }
  4392. else if(bkon == 1)
  4393. {
  4394. GetCityName(city)
  4395. GetZoneName(zone)
  4396. If (city == "")
  4397. {
  4398. SendChat("/d HQ: Aktueller Standort: " zone ".")
  4399. }
  4400. else
  4401. {
  4402. SendChat("/d HQ: Aktueller Standort " zone ", " city "")
  4403. }
  4404. }
  4405. return
  4406.  
  4407. !NumpadAdd::
  4408. SendChat("/d HQ: Verstärkung wird NICHT mehr benötigt!")
  4409. if(bkon == 1)
  4410. {
  4411. SendChat("/bk")
  4412. bkon := 0
  4413. }
  4414. return
  4415.  
  4416. Pause::
  4417. suspend
  4418. if ( A_IsSuspended )
  4419. {
  4420. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du hast den Keybinder {FF0000}pausiert{FF0000}.")
  4421. }
  4422. if ( !A_IsSuspended )
  4423. {
  4424. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du hast den Keybinder {00FF00}aktiviert{00FF00}.")
  4425. }
  4426. return
  4427.  
  4428. !^::
  4429. SendChat("/members")
  4430. SendChat("/pdmarker")
  4431. return
  4432.  
  4433. F1::
  4434. SendChat("/tog")
  4435. Sleep, 200
  4436. SendInput {down 5}{enter}
  4437. return
  4438.  
  4439.  
  4440. F3::
  4441. SendChat("/erstehilfe")
  4442. return
  4443.  
  4444. F4::
  4445. SendChat("/ausruesten")
  4446. Sleep 1200
  4447. SendInput, {enter}{enter}
  4448. Sleep, 250
  4449. SendChat("/heal")
  4450. return
  4451.  
  4452. !F4::
  4453. SendChat("/ausruesten")
  4454. Sleep 1200
  4455. SendInput, {enter}{enter}
  4456. return
  4457.  
  4458. ^F4::
  4459. SendChat("/heal")
  4460. return
  4461.  
  4462. ~0::
  4463. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4464. {
  4465. return
  4466. }
  4467. id := PlayerInput("Vehicle-ID: ")
  4468. SendChat("/carinfo " id)
  4469. return
  4470.  
  4471. !J::
  4472. id := PlayerInput("Absichtliches Anfahren: ")
  4473. SendChat("/su " id " Absichtliches Anfahren von Personen")
  4474. SendChat("/su " id " Absichtliches Anfahren von Personen")
  4475. return
  4476.  
  4477. !K::
  4478. id := PlayerInput("Fahrzeugdiebstahl: ")
  4479. SendChat("/su " id " Fahrzeugdiebstahl")
  4480. SendChat("/su " id " Fahrzeugdiebstahl")
  4481. return
  4482.  
  4483. !L::
  4484. id := PlayerInput("Staatsfahrzeugdiebstahl: ")
  4485. SendChat("/su " id " Diebstahl von Staatsfahrzeugen")
  4486. SendChat("/su " id " Diebstahl von Staatsfahrzeugen")
  4487. Sleep, 1500
  4488. SendChat("/su " id " Diebstahl von Staatsfahrzeugen")
  4489. SendChat("/su " id " Diebstahl von Staatsfahrzeugen")
  4490. return
  4491.  
  4492. !ö::
  4493. id := PlayerInput("Diebstahl bewaffneter Fahrzeuge: ")
  4494. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  4495. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  4496. Sleep, 1500
  4497. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  4498. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  4499. Sleep, 1500
  4500. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  4501. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  4502. return
  4503.  
  4504. !O::
  4505. id := PlayerInput("Beamtenbeleidigung: ")
  4506. SendChat("/su " id " Beamtenbeleidigung")
  4507. return
  4508.  
  4509. !i::
  4510. id := PlayerInput("Waffengebrauch: ")
  4511. SendChat("/su " id " Waffengebrauch in der Öffentlichkeit")
  4512. SendChat("/su " id " Waffengebrauch in der Öffentlichkeit")
  4513. return
  4514.  
  4515. !p::
  4516. id := PlayerInput("Waffenbesitz: ")
  4517. SendChat("/su " id " Unerlaubter Waffenbesitz")
  4518. SendChat("/su " id " Unerlaubter Waffenbesitz")
  4519. return
  4520.  
  4521.  
  4522. :?:/stvo1::
  4523. Suspend Permit
  4524. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  4525. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 2.000$, oder Ihnen wird 1 Strafpunkt eingetragen.")
  4526. return
  4527.  
  4528. :?:/stvo2::
  4529. Suspend Permit
  4530. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  4531. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 4.000$, oder Ihnen werden 2 Strafpunkte eingetragen.")
  4532. return
  4533.  
  4534. :?:/stvo3::
  4535. Suspend Permit
  4536. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  4537. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 6.000$, oder Ihnen werden 3 Strafpunkte eingetragen.")
  4538. return
  4539.  
  4540. :?:/stvo4::
  4541. Suspend Permit
  4542. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  4543. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 8.000$, oder Ihnen werden 4 Strafpunkte eingetragen.")
  4544. return
  4545.  
  4546. :?:/stvo5::
  4547. Suspend Permit
  4548. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  4549. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihnen werden 5 Strafpunkte eingetragen.")
  4550. return
  4551.  
  4552. :?:/stvof::
  4553. Suspend Permit
  4554. SendChat("Guten Tag, Sie haben mit Ihrem Flugobjekt gegen die StVO verstoßen. Sie haben folgende Möglichkeiten:")
  4555. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihr Flugschein wird beschlagnahmt.")
  4556. return
  4557.  
  4558. :?:/rb::
  4559. Suspend Permit
  4560. SendChat("/roadblock create")
  4561. return
  4562.  
  4563. :?:/db::
  4564. Suspend Permit
  4565. SendChat("/roadblock delete")
  4566. return
  4567.  
  4568. :?:/dba::
  4569. Suspend Permit
  4570. SendChat("/roadblock deleteall")
  4571. return
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  
  4580.  
  4581.  
  4582.  
  4583.  
  4584.  
  4585.  
  4586.  
  4587.  
  4588.  
  4589.  
  4590.  
  4591.  
  4592.  
  4593.  
  4594.  
  4595.  
  4596.  
  4597.  
  4598.  
  4599.  
  4600.  
  4601.  
  4602.  
  4603.  
  4604.  
  4605.  
  4606.  
  4607.  
  4608.  
  4609.  
  4610.  
  4611.  
  4612.  
  4613.  
  4614.  
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626.  
  4627.  
  4628.  
  4629.  
  4630.  
  4631.  
  4632.  
  4633.  
  4634.  
  4635.  
  4636.  
  4637.  
  4638.  
  4639.  
  4640.  
  4641.  
  4642.  
  4643.  
  4644.  
  4645.  
  4646.  
  4647.  
  4648.  
  4649.  
  4650.  
  4651.  
  4652.  
  4653.  
  4654.  
  4655.  
  4656.  
  4657.  
  4658.  
  4659.  
  4660.  
  4661.  
  4662.  
  4663.  
  4664.  
  4665.  
  4666.  
  4667.  
  4668.  
  4669.  
  4670.  
  4671.  
  4672.  
  4673.  
  4674.  
  4675.  
  4676.  
  4677.  
  4678.  
  4679.  
  4680.  
  4681.  
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.  
  4691.  
  4692.  
  4693.  
  4694.  
  4695.  
  4696.  
  4697.  
  4698.  
  4699.  
  4700.  
  4701.  
  4702.  
  4703.  
  4704.  
  4705. :?:/user::
  4706. Suspend Permit
  4707. UserData := ""
  4708. UserName := PlayerInput("User-Name: ")
  4709. If(UserName!="")
  4710. {
  4711. 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%
  4712. UserData := URLDownloadToVar(UserUrl)
  4713. if(UserData == "Der Spieler existiert nicht.")
  4714. {
  4715. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Spieler existiert nicht.")
  4716. return
  4717. }
  4718. If(UserData!="Des Spielers Profil ist privat.")
  4719. {
  4720. RegExMatch(UserData, "level:(.+)\|j", UserLevel)
  4721. RegExMatch(UserData, ".+\|job:(.+)\|f", UserJob)
  4722. RegExMatch(UserData, ".+\|fraction:(.+)\|r", UserFraction)
  4723. RegExMatch(UserData, ".+\|rank:(.)\|o", UserRank)
  4724. RegExMatch(UserData, ".+\|online:(.)\|play", UserOnline)
  4725. RegExMatch(UserData, ".+\|playtime:(.+)\|o", UserPlaytime)
  4726. RegExMatch(UserData, ".+\|org:(.+)\|n", UserOrg)
  4727. RegExMatch(UserData, ".+\|number:(.+)\|m", UserNumber)
  4728. RegExMatch(UserData, ".+\|money:(.+)\|b", UserMoney)
  4729. RegExMatch(UserData, ".+\|bank:(.+)\|dep", UserBank)
  4730. RegExMatch(UserData, ".+\|deposit:(.+)\|k", UserDeposit)
  4731. RegExMatch(UserData, ".+\|kills:(.+)\|d", UserKills)
  4732. RegExMatch(UserData, ".+\|deaths:(.+)\|p", UserDeaths)
  4733. RegExMatch(UserData, ".+\|premium:(.)", UserPremium)
  4734.  
  4735. Gesamt +=UserBank1
  4736. Gesamt += UserMoney1
  4737. Gesamt += UserDeposit1
  4738. Gesamt /=1000
  4739. if(Gesamt>1000)
  4740. {
  4741. Gesamt2 := Gesamt
  4742. Gesamt2 /= 1000
  4743. }
  4744. KD := Userkills1 / UserDeaths1
  4745. KD := Round(KD, 3)
  4746. UserBank1 /= 1000
  4747. UserMoney1 /= 1000
  4748. UserDeposit1 /= 1000
  4749.  
  4750.  
  4751. if(UserPremium1 == 1)
  4752. {
  4753. 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")
  4754. }
  4755. else
  4756. {
  4757. 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")
  4758. }
  4759. }
  4760. else
  4761. {
  4762. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Spieler hat sein Profil auf privat gestellt.")
  4763. }
  4764. }
  4765. return
  4766.  
  4767. :?:/water::
  4768. Suspend Permit
  4769. if(watermode == 0)
  4770. {
  4771. watermode := 1
  4772. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Wassermodus {33CC00}eingeschaltet")
  4773. SendInput, {ESC}
  4774. }
  4775. else if(watermode == 1)
  4776. {
  4777. watermode := 0
  4778. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Wassermodus {FF0000}ausgeschaltet")
  4779. SendInput, {ESC}
  4780. }
  4781. return
  4782.  
  4783.  
  4784.  
  4785. !^0::
  4786. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4787. {
  4788. return
  4789. }
  4790. if(watermode == 1)
  4791. {
  4792. SendChat("/m >> Küstenwache, bitte folgen Sie dem Boot<<")
  4793. }
  4794. else
  4795. {
  4796. If(Abteilung = "" || Abteilung = "ERROR")
  4797. {
  4798. SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen<<")
  4799. }
  4800. else
  4801. {
  4802. SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen<<")
  4803. }
  4804. }
  4805. return
  4806.  
  4807.  
  4808. !^1::
  4809. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4810. {
  4811. return
  4812. }
  4813. if(watermode == 1)
  4814. {
  4815. SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an<<")
  4816. }
  4817. else
  4818. {
  4819. If(Abteilung = "" || Abteilung = "ERROR")
  4820. {
  4821. SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran<<")
  4822. }
  4823. else
  4824. {
  4825. SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran<<")
  4826. }
  4827. }
  4828. return
  4829.  
  4830. !^2::
  4831. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4832. {
  4833. return
  4834. }
  4835. if(watermode == 1)
  4836. {
  4837. SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot!<<")
  4838. }
  4839. else
  4840. {
  4841. If(Abteilung = "" || Abteilung = "ERROR")
  4842. {
  4843. SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an!<<")
  4844. }
  4845. else
  4846. {
  4847. SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an!<<")
  4848. }
  4849. }
  4850. return
  4851.  
  4852. !^3::
  4853. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4854. {
  4855. return
  4856. }
  4857. SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen!<<")
  4858. return
  4859.  
  4860. !^4::
  4861. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4862. {
  4863. return
  4864. }
  4865. SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug!")
  4866. return
  4867.  
  4868. !^5::
  4869. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4870. {
  4871. return
  4872. }
  4873. If(Abteilung = "" || Abteilung = "ERROR")
  4874. {
  4875. SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße!")
  4876. }
  4877. else
  4878. {
  4879. SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße!")
  4880. }
  4881. return
  4882.  
  4883. !^6::
  4884. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4885. {
  4886. return
  4887. }
  4888. SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden!")
  4889. return
  4890.  
  4891. !^9::
  4892. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4893. {
  4894. return
  4895. }
  4896. SendChat("/m Verlassen Sie SOFORT dieses Gelände!")
  4897. return
  4898.  
  4899. !1::
  4900. id := PlayerInput("ATK: ")
  4901. SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten")
  4902. SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten")
  4903. return
  4904.  
  4905. !2::
  4906. FormatTime, Minute, MI, mm
  4907. id:=PlayerInput("Flucht (Minute: " . Minute . "): ")
  4908. SendChat("/su " id " Flucht / Fluchtversuch Min: " . Minute)
  4909. SendChat("/su " id " Flucht / Fluchtversuch Min: " . Minute)
  4910.  
  4911. fluchtID := id
  4912. SetTimer, flucht, 300000
  4913.  
  4914. if(id != "")
  4915. {
  4916. SetTimer, Find , Off
  4917. AID := id
  4918. SendChat("/find " AID)
  4919. SetTimer, Find , 6000
  4920. }
  4921. return
  4922.  
  4923. !3::
  4924. id := PlayerInput("Verweigerung: ")
  4925. SendChat("/su " id " Verweigerung von Anweisungen")
  4926. return
  4927.  
  4928. !4::
  4929. id := PlayerInput("BdJ: ")
  4930. SendChat("/su " id " Behinderung der Justiz")
  4931. return
  4932.  
  4933. !5::
  4934. id := PlayerInput("Materialien: ")
  4935. SendChat("/su " id " Besitz von Materialien")
  4936. SendChat("/su " id " Besitz von Materialien")
  4937. return
  4938.  
  4939. !6::
  4940. id := PlayerInput("Drogen: ")
  4941. SendChat("/su " id " Verstoß gegen das BtMG")
  4942. SendChat("/su " id " Verstoß gegen das BtMG")
  4943. return
  4944.  
  4945. !7::
  4946. FormatTime, Minute, MI, mm
  4947. id := PlayerInput("Beihilfe: (Minute: " . Minute . "): ")
  4948. SendChat("/su " id " Beihilfe zur Flucht Min: " . Minute)
  4949. SendChat("/su " id " Beihilfe zur Flucht Min: " . Minute)
  4950. return
  4951.  
  4952. !8::
  4953. id := PlayerInput("Drogen-/Waffenhandel: ")
  4954. SendChat("/su " id " Illegaler Handel von Drogen / Waffen")
  4955. SendChat("/su " id " Illegaler Handel von Drogen / Waffen")
  4956. return
  4957.  
  4958. !9::
  4959. id := PlayerInput("Einbruch: ")
  4960. SendChat("/su " id " Unautorisierter Betritt eines Geländes")
  4961. SendChat("/su " id " Unautorisierter Betritt eines Geländes")
  4962. return
  4963.  
  4964. ^0::
  4965. id := PlayerInput("Rote Ampel missachtet: ")
  4966. SendChat("/punkte " id " 2 Missachtung roter Ampeln")
  4967. return
  4968.  
  4969. ^1::
  4970. id := PlayerInput("SVG: ")
  4971. SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
  4972. return
  4973.  
  4974. ^2::
  4975. id := PlayerInput("Falsche Seite: ")
  4976. SendChat("/punkte " id " 2 Fahren auf der falscher Straßenseite")
  4977. return
  4978.  
  4979. ^3::
  4980. id := PlayerInput("Zu schnell: ")
  4981. SendChat("/punkte " id " 2 Ãœberschreitung der Höchstgeschwindigkeit")
  4982. return
  4983.  
  4984. ^4::
  4985. id := PlayerInput("Vorfahrt: ")
  4986. SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
  4987. return
  4988.  
  4989. ^5::
  4990. id := PlayerInput("Abseits: ")
  4991. SendChat("/punkte " id " 2 Fahren abseits der Straße")
  4992. return
  4993.  
  4994. ^6::
  4995. id := PlayerInput("Ohne Licht: ")
  4996. SendChat("/punkte " id " 1 Fahren ohne Licht")
  4997. return
  4998.  
  4999. ^7::
  5000. GetZoneName(MyZone)
  5001. id := PlayerInput("Parkverbot: ")
  5002. SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
  5003. return
  5004.  
  5005. ^8::
  5006. id := PlayerInput("SVB: ")
  5007. SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
  5008. return
  5009.  
  5010. ^9::
  5011. id := PlayerInput("Alkoholeinfluss: ")
  5012. SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
  5013. return
  5014.  
  5015. !^7::
  5016. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5017. {
  5018. return
  5019. }
  5020. SendInput, t/cuff{Space}
  5021. Input, SID, V I M,{Enter}
  5022. Send {Enter}
  5023. SendInput t/frisk %SID%{Enter}
  5024.  
  5025. GetPlayerData()
  5026. GetPlayerNameByID(SID, name)
  5027. if(name != -1)
  5028. {
  5029. if(arrest1 == -1)
  5030. {
  5031. arrest1 := SID
  5032. return
  5033. }
  5034. else if(arrest2 == -1)
  5035. {
  5036. arrest2 := SID
  5037. return
  5038. }
  5039. else if(arrest3 == -1)
  5040. {
  5041. arrest3 := SID
  5042. return
  5043. }
  5044. else if(arrest4 == -1)
  5045. {
  5046. arrest4 := SID
  5047. return
  5048. }
  5049. else if(arrest5 == -1)
  5050. {
  5051. arrest5 := SID
  5052. return
  5053. }
  5054. else
  5055. {
  5056. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F2 zum Resetten)")
  5057. return
  5058. }
  5059. }
  5060. return
  5061.  
  5062. !^8::
  5063. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5064. {
  5065. return
  5066. }
  5067. Random, rand, 1, 3
  5068. SendInput, t/arrest %rand%{left 2}
  5069. Input, SID, V I M,{Enter}
  5070. Send {Enter}
  5071. if(Partner1 > -1 || Partner2 > -1)
  5072. {
  5073. Countdown := 200
  5074. SetTimer, Partner, 100
  5075. }
  5076. if(arrest1 == SID)
  5077. {
  5078. arrest1 = -1
  5079. return
  5080. }
  5081. else if(arrest2 == SID)
  5082. {
  5083. arrest2 = -1
  5084. return
  5085. }
  5086. else if(arrest3 == SID)
  5087. {
  5088. arrest3 = -1
  5089. return
  5090. }
  5091. else if(arrest4 == SID)
  5092. {
  5093. arrest4 = -1
  5094. return
  5095. }
  5096. else if(arrest5 == SID)
  5097. {
  5098. arrest5 = -1
  5099. return
  5100. }
  5101. return
  5102.  
  5103. +::
  5104. If (IsChatOpen() == 1 || IsDialogOpen() == 1 || IsMenuOpen() == 1)
  5105. {
  5106. SendInput, {%A_ThisHotkey%}
  5107. return
  5108. }
  5109. IIDD := GetPlayerId()
  5110. SendChat("/d Ich fordere DRINGEND Verstärkung an! (ID: " IIDD ")")
  5111. SendChat("/d Aktueller Zustand: " GetPlayerHealth() " / " GetPlayerArmor())
  5112. Sleep, 500
  5113. if(bkon == 0)
  5114. {
  5115. SendChat("/bk")
  5116. bkon := 1
  5117. }
  5118. else if(bkon == 1)
  5119. {
  5120. GetCityName(city)
  5121. GetZoneName(zone)
  5122. If (city == "")
  5123. {
  5124. SendChat("/d Aktueller Standort: " zone ".")
  5125. }
  5126. else
  5127. {
  5128. SendChat("/d Aktueller Standort " zone ", " city "")
  5129. }
  5130. }
  5131. return
  5132.  
  5133. !+::
  5134. SendChat("/d Verstärkung wird NICHT mehr benötigt!")
  5135. if(bkon == 1)
  5136. {
  5137. SendChat("/bk")
  5138. bkon := 0
  5139. }
  5140. return
  5141.  
  5142.  
  5143.  
  5144.  
  5145. :?:/gk::
  5146. Suspend Permit
  5147. success := ""
  5148. splitted := ""
  5149. id := PlayerInput("GK ID: ")
  5150. if(id != "")
  5151. {
  5152.  
  5153. getgk = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/gk/getalldata.php?gkID=%id%
  5154. success := UrlDownloadToVar(getgk)
  5155. StringTrimLeft success, success, 1
  5156. if(success == 2)
  5157. {
  5158. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Nicht gefunden")
  5159. }
  5160. else if(success == 3)
  5161. {
  5162. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Zahl vorausgesetzt")
  5163. }
  5164. else
  5165. {
  5166. AddChatMessage(0x2090B3, "|Staatsgewalt| {FF0000}Gebäudekomplex " id ":")
  5167. Loop, Parse, success, ~
  5168. {
  5169. AddChatMessage(0xFFFFFF, A_LoopField )
  5170. }
  5171. }
  5172. }
  5173. return
  5174.  
  5175.  
  5176.  
  5177.  
  5178.  
  5179.  
  5180.  
  5181.  
  5182.  
  5183.  
  5184.  
  5185.  
  5186.  
  5187.  
  5188.  
  5189.  
  5190.  
  5191.  
  5192.  
  5193.  
  5194.  
  5195.  
  5196.  
  5197.  
  5198.  
  5199. :?:/hm::
  5200. Suspend Permit
  5201.  
  5202. GetPlayerData()
  5203. hitmen := ""
  5204. hmcounter := 0
  5205.  
  5206.  
  5207. url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/getalldata.php
  5208. hm := UrlDownloadToVar(url)
  5209. Loop, Parse, hm, '
  5210. {
  5211. id := GetPlayerIdByName(A_LoopField)
  5212. if(id != -1)
  5213. {
  5214. hitmen .= "`n{66CC00}" A_LoopField
  5215. hmcounter ++
  5216. }
  5217. else
  5218. {
  5219. hitmen .= "`n{FF0000}" A_LoopField
  5220. }
  5221. }
  5222. hitmen .= "`n`n{FFFFFF}::.Legende.::`n{66CC00}Grün: Online`n{FF0000}Rot: Offline"
  5223. title := "Hitmen online (" hmcounter ")"
  5224. ShowDialog(0,title,hitmen,"OK")
  5225. return
  5226.  
  5227. :?:/toghm::
  5228. Suspend Permit
  5229. if(hmOn == 0)
  5230. {
  5231. SetTimer, UpdateHitmenList, 20000
  5232.  
  5233. hmTD := TextCreate("Arial", 12, false, false)
  5234. TextSetColor(hmTD, 0xFF00E1FF)
  5235.  
  5236. TextSetPos(hmTD, 690, 290)
  5237.  
  5238.  
  5239. url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/getalldata.php
  5240. hm := UrlDownloadToVar(url)
  5241. hitmen := "Hitmen online:`n"
  5242. hmcounter := 0
  5243. Loop, Parse, hm, '
  5244. {
  5245. id := GetPlayerIdByName(A_LoopField)
  5246. if(id != -1)
  5247. {
  5248. hitmen .= "`n" A_LoopField "`t [ID: " id "]"
  5249. }
  5250. }
  5251. TextSetString(hmTD, hitmen)
  5252.  
  5253. TextShow(hmTD)
  5254. hmOn := 1
  5255. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Hitmenanzeige {00FF00}eingeschaltet{FFFFFF}.")
  5256. }
  5257. else if(hmOn == 1)
  5258. {
  5259. TextHide(hmTD)
  5260. hmOn := 0
  5261. SetTimer, UpdateHitmenList, off
  5262. TextHide(hmTD)
  5263. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Hitmenanzeige {FF0000}ausgeschaltet{FFFFFF}.")
  5264. }
  5265. return
  5266.  
  5267. UpdateHitmenList:
  5268. GetPlayerData()
  5269. hitmen := "Hitmen online:`n"
  5270. hmcounter := 0
  5271. Loop, Parse, hm, '
  5272. {
  5273. id := GetPlayerIdByName(A_LoopField)
  5274. if(id != -1)
  5275. {
  5276. hitmen .= "`n" A_LoopField "`t [ID: " id "]"
  5277. }
  5278. }
  5279. TextSetString(hmTD, hitmen)
  5280. return
  5281.  
  5282. :?:/addhm::
  5283. Suspend Permit
  5284. GetPlayerData()
  5285. GetPlayerName(name)
  5286. if(name == "MrPacific")
  5287. {
  5288. name := PlayerInput("Name: ")
  5289. if(name != "" || name != " ")
  5290. {
  5291.  
  5292. url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/write.php?name=%name%
  5293. success := UrlDownloadToVar(url)
  5294. }
  5295. }
  5296. return
  5297.  
  5298.  
  5299. :?:/addts::
  5300. Suspend Permit
  5301. id := PlayerInput("Name des Spielers: ")
  5302. GetPlayerName(cop)
  5303. criminal := id
  5304.  
  5305. addts = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/addtodesstrafe.php?Name=%criminal%&Cop=%cop%
  5306. if(id != "")
  5307. {
  5308. todesstrafe := 0
  5309. todesstrafe := UrlDownloadToVar(addts)
  5310.  
  5311. SendChat("/d ** " criminal " wurde von " name " auf die Todesstrafenliste hinzugefügt.")
  5312. SendChat("/d ** Er hat ab nun 60 Minuten Todesstrafe.")
  5313. }
  5314. return
  5315.  
  5316. :?:/deletets::
  5317. Suspend Permit
  5318. pName := PlayerInput("Name des Spielers: ")
  5319. if(Name != "")
  5320. {
  5321. deletets = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/deletetodesstrafe.php?Name=%pName%
  5322. success := UrlDownloadToVar(deletets)
  5323. Sleep, 500
  5324. GetPlayerName(Name)
  5325. SendChat("/d ** " pName " wurde von " Name " von der Todesstrafenliste entfernt.")
  5326. SendChat("/d ** Die Todesstrafe wurde ausgeführt.")
  5327. }
  5328. return
  5329.  
  5330. !t::
  5331. GetPlayerData()
  5332. ts := ""
  5333. ts2 := ""
  5334.  
  5335. url = http://mrpacific.pf-control.de/StaatsgewaltKeybinder/hitmen/gettodesstrafen.php
  5336. ts := UrlDownloadToVar(url)
  5337. if(ts = " " || ts = "{FFFFFF} " || ts == " ")
  5338. {
  5339. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Aktuell hat keine Person eine Todesstrafe.")
  5340. }
  5341. else
  5342. {
  5343. AddChatMessage(0xFF0000, ".::Aktuelle Todesstrafen::.")
  5344.  
  5345. Loop, Parse, ts, '
  5346. {
  5347. AddChatMessage(0xFFFFFF, A_LoopField)
  5348. id := GetPlayerIdByName(A_LoopField)
  5349. if(id != -1)
  5350. {
  5351. ts2 .= "`n" A_LoopField
  5352. }
  5353.  
  5354.  
  5355.  
  5356.  
  5357.  
  5358.  
  5359.  
  5360.  
  5361.  
  5362. }
  5363. }
  5364. return
  5365.  
  5366.  
  5367.  
  5368.  
  5369.  
  5370.  
  5371.  
  5372.  
  5373.  
  5374.  
  5375.  
  5376.  
  5377.  
  5378.  
  5379.  
  5380.  
  5381.  
  5382.  
  5383.  
  5384.  
  5385.  
  5386.  
  5387.  
  5388.  
  5389.  
  5390.  
  5391.  
  5392.  
  5393.  
  5394.  
  5395.  
  5396.  
  5397.  
  5398.  
  5399.  
  5400.  
  5401.  
  5402.  
  5403.  
  5404.  
  5405.  
  5406.  
  5407.  
  5408.  
  5409.  
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419.  
  5420.  
  5421.  
  5422.  
  5423.  
  5424.  
  5425.  
  5426.  
  5427.  
  5428.  
  5429.  
  5430.  
  5431.  
  5432.  
  5433.  
  5434.  
  5435.  
  5436. :?:/mystats::
  5437. Suspend Permit
  5438. AddChatMessage(0xFFFFFF, "Das Statistik-System ist derzeit deaktiviert.")
  5439.  
  5440.  
  5441.  
  5442.  
  5443.  
  5444.  
  5445.  
  5446.  
  5447.  
  5448.  
  5449.  
  5450.  
  5451.  
  5452.  
  5453.  
  5454.  
  5455.  
  5456.  
  5457.  
  5458.  
  5459.  
  5460.  
  5461.  
  5462.  
  5463.  
  5464.  
  5465.  
  5466.  
  5467.  
  5468.  
  5469. return
  5470.  
  5471.  
  5472.  
  5473.  
  5474.  
  5475.  
  5476.  
  5477.  
  5478.  
  5479.  
  5480.  
  5481.  
  5482.  
  5483.  
  5484.  
  5485.  
  5486.  
  5487.  
  5488.  
  5489.  
  5490.  
  5491.  
  5492.  
  5493.  
  5494.  
  5495.  
  5496.  
  5497.  
  5498.  
  5499.  
  5500.  
  5501.  
  5502.  
  5503.  
  5504.  
  5505.  
  5506.  
  5507.  
  5508.  
  5509.  
  5510.  
  5511.  
  5512. IsNumeric(number)
  5513. {
  5514. url = http://ni31914_1.vweb14.nitrado.net/Keybinder/files/fbibinder/isnumeric.php?number=%number%
  5515. success := UrlDownloadToVar(url)
  5516. return success
  5517. }
  5518.  
  5519.  
  5520.  
  5521.  
  5522.  
  5523.  
  5524.  
  5525.  
  5526.  
  5527.  
  5528.  
  5529.  
  5530.  
  5531.  
  5532.  
  5533.  
  5534.  
  5535.  
  5536.  
  5537.  
  5538.  
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.  
  5552.  
  5553.  
  5554.  
  5555.  
  5556. :?:/auto::
  5557. Suspend Permit
  5558. Fahrzeug := PlayerInput("Model-ID oder Fahrzeugname: ")
  5559. Sleep, 100
  5560.  
  5561. car_id := ""
  5562. car_name := ""
  5563. car_preis := ""
  5564. car_autohaus := ""
  5565. car_kaution := ""
  5566. car_tank := ""
  5567. car_verbrauch := ""
  5568. car_geschwindigkeit := ""
  5569. car_level := ""
  5570. car_tuningwerkstatt := ""
  5571.  
  5572. if(Fahrzeug == 571 || Fahrzeug = "Kart")
  5573. {
  5574. car_id := 571
  5575. car_name := "Kart"
  5576. car_preis := "/"
  5577. car_autohaus := "/"
  5578. car_kaution := "12.000$"
  5579. car_tank := "12 Liter"
  5580. car_verbrauch := "4.5"
  5581. car_geschwindigkeit := "72 km/h"
  5582. car_level := "1"
  5583. car_tuningwerkstatt := "Zweiradtuning"
  5584. }
  5585. else if(Fahrzeug == 487 || Fahrzeug = "Maverick")
  5586. {
  5587. car_id := 487
  5588. car_name := "Maverick"
  5589. car_preis := "750.000$"
  5590. car_autohaus := "Airport LS"
  5591. car_kaution := "/"
  5592. car_tank := "120 Liter"
  5593. car_verbrauch := "35.0"
  5594. car_geschwindigkeit := "135 km/h"
  5595. car_level := "12"
  5596. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5597. }
  5598. else if(Fahrzeug == 593 || Fahrzeug = "Dodo")
  5599. {
  5600. car_id := 593
  5601. car_name := "Dodo"
  5602. car_preis := "150.000$"
  5603. car_autohaus := "Airport LS"
  5604. car_kaution := "/"
  5605. car_tank := "80 Liter"
  5606. car_verbrauch := "24.8"
  5607. car_geschwindigkeit := "120 km/h"
  5608. car_level := "6"
  5609. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5610. }
  5611. else if(Fahrzeug == 519 || Fahrzeug = "Shamal")
  5612. {
  5613. car_id := 519
  5614. car_name := "Shamal"
  5615. car_preis := "3.000.000$"
  5616. car_autohaus := "Airport LS"
  5617. car_kaution := "/"
  5618. car_tank := "3000 Liter"
  5619. car_verbrauch := "450.0"
  5620. car_geschwindigkeit := "210 km/h"
  5621. car_level := "12"
  5622. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5623. }
  5624. else if(Fahrzeug == 461 || Fahrzeug = "PCJ-600" || Fahrzeug = "PCJ600" || Fahrzeug = "PCJ")
  5625. {
  5626. car_id := 461
  5627. car_name := "PCJ-600"
  5628. car_preis := "12.000$"
  5629. car_autohaus := "Coutt and Schutz"
  5630. car_kaution := "/"
  5631. car_tank := "30 Liter"
  5632. car_verbrauch := "11.6"
  5633. car_geschwindigkeit := "125 km/h"
  5634. car_level := "1"
  5635. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5636. }
  5637. else if(Fahrzeug == 462 || Fahrzeug = "Faggio")
  5638. {
  5639. car_id := 462
  5640. car_name := "Faggio"
  5641. car_preis := "3.000$"
  5642. car_autohaus := "Coutt and Schutz"
  5643. car_kaution := "/"
  5644. car_tank := "15 Liter"
  5645. car_verbrauch := "7.5"
  5646. car_geschwindigkeit := "86 km/h"
  5647. car_level := "1"
  5648. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5649. }
  5650. else if(Fahrzeug == 463 || Fahrzeug = "Freeway")
  5651. {
  5652. car_id := 463
  5653. car_name := "Freeway"
  5654. car_preis := "22.000$"
  5655. car_autohaus := "Coutt and Schutz"
  5656. car_kaution := "/"
  5657. car_tank := "30 Liter"
  5658. car_verbrauch := "11.3"
  5659. car_geschwindigkeit := "111 km/h"
  5660. car_level := "1"
  5661. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5662. }
  5663. else if(Fahrzeug == 468 || Fahrzeug = "Sanchez")
  5664. {
  5665. car_id := 468
  5666. car_name := "Sanchez"
  5667. car_preis := "16.000$"
  5668. car_autohaus := "Coutt and Schutz"
  5669. car_kaution := "/"
  5670. car_tank := "30 Liter"
  5671. car_verbrauch := "10.8"
  5672. car_geschwindigkeit := "111 km/h"
  5673. car_level := "1"
  5674. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5675. }
  5676. else if(Fahrzeug == 586 || Fahrzeug = "Wayfarer")
  5677. {
  5678. car_id := 586
  5679. car_name := "Wayfarer"
  5680. car_preis := "10.000$"
  5681. car_autohaus := "Coutt and Schutz"
  5682. car_kaution := "/"
  5683. car_tank := "30 Liter"
  5684. car_verbrauch := "9.8"
  5685. car_geschwindigkeit := "111 km/h"
  5686. car_level := "1"
  5687. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5688. }
  5689. else if(Fahrzeug == 581 || Fahrzeug = "BF-400" || Fahrzeug = "BF" || Fahrzeug = "BF 400" || Fahrzeug = "BF400")
  5690. {
  5691. car_id := 581
  5692. car_name := "BF-400"
  5693. car_preis := "14.000$"
  5694. car_autohaus := "Coutt and Schutz"
  5695. car_kaution := "/"
  5696. car_tank := "30 Liter"
  5697. car_verbrauch := "10.0"
  5698. car_geschwindigkeit := "117 km/h"
  5699. car_level := "1"
  5700. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5701. }
  5702. else if(Fahrzeug == 522 || Fahrzeug = "NRG-500" || Fahrzeug = "NRG" || Fahrzeug = "NRG 500" || Fahrzeug = "NRG500")
  5703. {
  5704. car_id := 522
  5705. car_name := "NRG-500"
  5706. car_preis := "50.000$"
  5707. car_autohaus := "Coutt and Schutz"
  5708. car_kaution := "/"
  5709. car_tank := "30 Liter"
  5710. car_verbrauch := "21.1"
  5711. car_geschwindigkeit := "136 km/h"
  5712. car_level := "1"
  5713. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5714. }
  5715. else if(Fahrzeug == 481 || Fahrzeug = "BMX")
  5716. {
  5717. car_id := 481
  5718. car_name := "BMX"
  5719. car_preis := "1.000$"
  5720. car_autohaus := "Coutt and Schutz"
  5721. car_kaution := "/"
  5722. car_tank := "3 Liter"
  5723. car_verbrauch := "0.0"
  5724. car_geschwindigkeit := "74 km/h"
  5725. car_level := "1"
  5726. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5727. }
  5728. else if(Fahrzeug == 521 || Fahrzeug = "FCR-900" || Fahrzeug = "FCR" || Fahrzeug = "FCR900" || Fahrzeug = "FCR 900")
  5729. {
  5730. car_id := 521
  5731. car_name := "FCR-900"
  5732. car_preis := "14.000$"
  5733. car_autohaus := "Coutt and Schutz"
  5734. car_kaution := "/"
  5735. car_tank := "30 Liter"
  5736. car_verbrauch := "14.1"
  5737. car_geschwindigkeit := "125 km/h"
  5738. car_level := "1"
  5739. car_tuningwerkstatt := "Fahrzeuglackiererei"
  5740. }
  5741. else if(Fahrzeug == 506 || Fahrzeug = "Super GT" || Fahrzeug = "SuperGT")
  5742. {
  5743. car_id := 506
  5744. car_name := "Super GT"
  5745. car_preis := "250.000$"
  5746. car_autohaus := "Grottis"
  5747. car_kaution := "7.0000$"
  5748. car_tank := "40 Liter"
  5749. car_verbrauch := "17.8"
  5750. car_geschwindigkeit := "139 km/h"
  5751. car_level := "1"
  5752. car_tuningwerkstatt := "Transfender"
  5753. }
  5754. else if(Fahrzeug == 560 || Fahrzeug = "Sultan")
  5755. {
  5756. car_id := 560
  5757. car_name := "Sultan"
  5758. car_preis := "85.000$"
  5759. car_autohaus := "Grottis"
  5760. car_kaution := "5.0000$"
  5761. car_tank := "50 Liter"
  5762. car_verbrauch := "16.7"
  5763. car_geschwindigkeit := "131 km/h"
  5764. car_level := "1"
  5765. car_tuningwerkstatt := "Wheel Arch Angels"
  5766. }
  5767. else if(Fahrzeug == 559 || Fahrzeug = "Jester")
  5768. {
  5769. car_id := 559
  5770. car_name := "Jester"
  5771. car_preis := "200.000$"
  5772. car_autohaus := "Grottis"
  5773. car_kaution := "6.0000$"
  5774. car_tank := "40 Liter"
  5775. car_verbrauch := "17.1"
  5776. car_geschwindigkeit := "138 km/h"
  5777. car_level := "1"
  5778. car_tuningwerkstatt := "Wheel Arch Angels"
  5779. }
  5780. else if(Fahrzeug == 541 || Fahrzeug = "Bullet")
  5781. {
  5782. car_id := 541
  5783. car_name := "Bullet"
  5784. car_preis := "225.000$"
  5785. car_autohaus := "Grottis"
  5786. car_kaution := "7.0000$"
  5787. car_tank := "40 Liter"
  5788. car_verbrauch := "18.2"
  5789. car_geschwindigkeit := "157 km/h"
  5790. car_level := "1"
  5791. car_tuningwerkstatt := "Transfender"
  5792. }
  5793. else if(Fahrzeug == 451 || Fahrzeug = "Turismo")
  5794. {
  5795. car_id := 451
  5796. car_name := "Turismo"
  5797. car_preis := "325.000$"
  5798. car_autohaus := "Grottis"
  5799. car_kaution := "7.0000$"
  5800. car_tank := "40 Liter"
  5801. car_verbrauch := "21.1"
  5802. car_geschwindigkeit := "150 km/h"
  5803. car_level := "1"
  5804. car_tuningwerkstatt := "Transfender"
  5805. }
  5806. else if(Fahrzeug == 415 || Fahrzeug = "Cheetah")
  5807. {
  5808. car_id := 415
  5809. car_name := "Cheetah"
  5810. car_preis := "250.000$"
  5811. car_autohaus := "Grottis"
  5812. car_kaution := "7.0000$"
  5813. car_tank := "40 Liter"
  5814. car_verbrauch := "17.6"
  5815. car_geschwindigkeit := "149 km/h"
  5816. car_level := "1"
  5817. car_tuningwerkstatt := "Transfender"
  5818. }
  5819. else if(Fahrzeug == 411 || Fahrzeug = "Infernus")
  5820. {
  5821. car_id := 411
  5822. car_name := "Infernus"
  5823. car_preis := "350.000$"
  5824. car_autohaus := "Grottis"
  5825. car_kaution := "7.0000$"
  5826. car_tank := "40 Liter"
  5827. car_verbrauch := "24.2"
  5828. car_geschwindigkeit := "172 km/h"
  5829. car_level := "1"
  5830. car_tuningwerkstatt := "Transfender"
  5831. }
  5832. else if(Fahrzeug == 402 || Fahrzeug = "Buffalo")
  5833. {
  5834. car_id := 402
  5835. car_name := "Buffalo"
  5836. car_preis := "225.000$"
  5837. car_autohaus := "Grottis"
  5838. car_kaution := "7.0000$"
  5839. car_tank := "40 Liter"
  5840. car_verbrauch := "13.3"
  5841. car_geschwindigkeit := "144 km/h"
  5842. car_level := "1"
  5843. car_tuningwerkstatt := "Transfender"
  5844. }
  5845. else if(Fahrzeug == 429 || Fahrzeug = "Banshee")
  5846. {
  5847. car_id := 429
  5848. car_name := "Banshee"
  5849. car_preis := "200.000$"
  5850. car_autohaus := "Grottis"
  5851. car_kaution := "6.0000$"
  5852. car_tank := "40 Liter"
  5853. car_verbrauch := "19.2"
  5854. car_geschwindigkeit := "156 km/h"
  5855. car_level := "1"
  5856. car_tuningwerkstatt := "Transfender"
  5857. }
  5858. else if(Fahrzeug == 602 || Fahrzeug = "Alpha")
  5859. {
  5860. car_id := 602
  5861. car_name := "Alpha"
  5862. car_preis := "250.000$"
  5863. car_autohaus := "Grottis"
  5864. car_kaution := "7.0000$"
  5865. car_tank := "40 Liter"
  5866. car_verbrauch := "17.2"
  5867. car_geschwindigkeit := "131 km/h"
  5868. car_level := "1"
  5869. car_tuningwerkstatt := "Transfender"
  5870. }
  5871. else if(Fahrzeug == 576 || Fahrzeug = "Tornado")
  5872. {
  5873. car_id := 576
  5874. car_name := "Tornado"
  5875. car_preis := "12.000$"
  5876. car_autohaus := "Intercars"
  5877. car_kaution := "4.0000$"
  5878. car_tank := "40 Liter"
  5879. car_verbrauch := "12.1"
  5880. car_geschwindigkeit := "122 km/h"
  5881. car_level := "1"
  5882. car_tuningwerkstatt := "Loco Low Co."
  5883. }
  5884. else if(Fahrzeug == 575 || Fahrzeug = "Broadway")
  5885. {
  5886. car_id := 575
  5887. car_name := "Broadway"
  5888. car_preis := "8.000$"
  5889. car_autohaus := "Intercars"
  5890. car_kaution := "4.0000$"
  5891. car_tank := "40 Liter"
  5892. car_verbrauch := "11.8"
  5893. car_geschwindigkeit := "122 km/h"
  5894. car_level := "1"
  5895. car_tuningwerkstatt := "Loco Low Co."
  5896. }
  5897. else if(Fahrzeug == 567 || Fahrzeug = "Savanna")
  5898. {
  5899. car_id := 567
  5900. car_name := "Savanna"
  5901. car_preis := "16.000$"
  5902. car_autohaus := "Intercars"
  5903. car_kaution := "4.0000$"
  5904. car_tank := "40 Liter"
  5905. car_verbrauch := "12.1"
  5906. car_geschwindigkeit := "134 km/h"
  5907. car_level := "1"
  5908. car_tuningwerkstatt := "Loco Low Co."
  5909. }
  5910. else if(Fahrzeug == 536 || Fahrzeug = "Blade")
  5911. {
  5912. car_id := 536
  5913. car_name := "Blade"
  5914. car_preis := "16.000$"
  5915. car_autohaus := "Intercars"
  5916. car_kaution := "4.0000$"
  5917. car_tank := "40 Liter"
  5918. car_verbrauch := "11.1"
  5919. car_geschwindigkeit := "134 km/h"
  5920. car_level := "1"
  5921. car_tuningwerkstatt := "Loco Low Co."
  5922. }
  5923. else if(Fahrzeug == 535 || Fahrzeug = "Slamvan")
  5924. {
  5925. car_id := 535
  5926. car_name := "Slamvan"
  5927. car_preis := "18.000$"
  5928. car_autohaus := "Intercars"
  5929. car_kaution := "4.0000$"
  5930. car_tank := "40 Liter"
  5931. car_verbrauch := "13.1"
  5932. car_geschwindigkeit := "122 km/h"
  5933. car_level := "1"
  5934. car_tuningwerkstatt := "Loco Low Co."
  5935. }
  5936. else if(Fahrzeug == 534 || Fahrzeug = "Remington")
  5937. {
  5938. car_id := 534
  5939. car_name := "Remington"
  5940. car_preis := "16.000$"
  5941. car_autohaus := "Intercars"
  5942. car_kaution := "4.0000$"
  5943. car_tank := "40 Liter"
  5944. car_verbrauch := "12.1"
  5945. car_geschwindigkeit := "131 km/h"
  5946. car_level := "1"
  5947. car_tuningwerkstatt := "Loco Low Co."
  5948. }
  5949. else if(Fahrzeug == 518 || Fahrzeug = "Buccaneer")
  5950. {
  5951. car_id := 518
  5952. car_name := "Buccaneer"
  5953. car_preis := "14.000$"
  5954. car_autohaus := "Intercars"
  5955. car_kaution := "4.0000$"
  5956. car_tank := "40 Liter"
  5957. car_verbrauch := "13.1"
  5958. car_geschwindigkeit := "127 km/h"
  5959. car_level := "1"
  5960. car_tuningwerkstatt := "Transfender"
  5961. }
  5962. else if(Fahrzeug == 419 || Fahrzeug = "Esperanto")
  5963. {
  5964. car_id := 419
  5965. car_name := "Esperanto"
  5966. car_preis := "16.000$"
  5967. car_autohaus := "Intercars"
  5968. car_kaution := "4.0000$"
  5969. car_tank := "40 Liter"
  5970. car_verbrauch := "12.1"
  5971. car_geschwindigkeit := "115 km/h"
  5972. car_level := "1"
  5973. car_tuningwerkstatt := "Transfender"
  5974. }
  5975. else if(Fahrzeug == 412 || Fahrzeug = "Voodoo")
  5976. {
  5977. car_id := 412
  5978. car_name := "Voodoo"
  5979. car_preis := "10.000$"
  5980. car_autohaus := "Intercars"
  5981. car_kaution := "4.0000$"
  5982. car_tank := "40 Liter"
  5983. car_verbrauch := "14.1"
  5984. car_geschwindigkeit := "131 km/h"
  5985. car_level := "1"
  5986. car_tuningwerkstatt := "Loco Low Co."
  5987. }
  5988. else if(Fahrzeug == 545 || Fahrzeug = "Hustler")
  5989. {
  5990. car_id := 545
  5991. car_name := "Hustler"
  5992. car_preis := "12.000$"
  5993. car_autohaus := "Intercars"
  5994. car_kaution := "4.0000$"
  5995. car_tank := "40 Liter"
  5996. car_verbrauch := "13.1"
  5997. car_geschwindigkeit := "114 km/h"
  5998. car_level := "1"
  5999. car_tuningwerkstatt := "Transfender"
  6000. }
  6001. else if(Fahrzeug == 496 || Fahrzeug = "Blista Compact" || Fahrzeug = "Blista")
  6002. {
  6003. car_id := 496
  6004. car_name := "Blista Compact"
  6005. car_preis := "4.000$"
  6006. car_autohaus := "Intercars"
  6007. car_kaution := "3.0000$"
  6008. car_tank := "40 Liter"
  6009. car_verbrauch := "10.8"
  6010. car_geschwindigkeit := "126 km/h"
  6011. car_level := "1"
  6012. car_tuningwerkstatt := "Transfender"
  6013. }
  6014. else if(Fahrzeug == 480 || Fahrzeug = "Comet")
  6015. {
  6016. car_id := 400
  6017. car_name := "Comet"
  6018. car_preis := "16.000$"
  6019. car_autohaus := "Intercars"
  6020. car_kaution := "4.0000$"
  6021. car_tank := "40 Liter"
  6022. car_verbrauch := "18.2"
  6023. car_geschwindigkeit := "143 km/h"
  6024. car_level := "1"
  6025. car_tuningwerkstatt := "Transfender"
  6026. }
  6027. else if(Fahrzeug == 562 || Fahrzeug = "Elegy")
  6028. {
  6029. car_id := 562
  6030. car_name := "Elegy"
  6031. car_preis := "16.000$"
  6032. car_autohaus := "Intercars"
  6033. car_kaution := "4.0000$"
  6034. car_tank := "40 Liter"
  6035. car_verbrauch := "18.2"
  6036. car_geschwindigkeit := "143 km/h"
  6037. car_level := "1"
  6038. car_tuningwerkstatt := "Transfender"
  6039. }
  6040. else if(Fahrzeug == 579 || Fahrzeug = "Huntley")
  6041. {
  6042. car_id := 579
  6043. car_name := "Huntley"
  6044. car_preis := "24.000$"
  6045. car_autohaus := "Intercars"
  6046. car_kaution := "4.0000$"
  6047. car_tank := "50 Liter"
  6048. car_verbrauch := "16.2"
  6049. car_geschwindigkeit := "122 km/h"
  6050. car_level := "1"
  6051. car_tuningwerkstatt := "Transfender"
  6052. }
  6053. else if(Fahrzeug == 500 || Fahrzeug = "Mesa")
  6054. {
  6055. car_id := 500
  6056. car_name := "Mesa"
  6057. car_preis := "28.000$"
  6058. car_autohaus := "Intercars"
  6059. car_kaution := "4.0000$"
  6060. car_tank := "40 Liter"
  6061. car_verbrauch := "11.5"
  6062. car_geschwindigkeit := "109 km/h"
  6063. car_level := "1"
  6064. car_tuningwerkstatt := "Transfender"
  6065. }
  6066. else if(Fahrzeug == 418 || Fahrzeug = "Moonbeam")
  6067. {
  6068. car_id := 418
  6069. car_name := "Moonbeam"
  6070. car_preis := "20.000$"
  6071. car_autohaus := "Intercars"
  6072. car_kaution := "4.0000$"
  6073. car_tank := "50 Liter"
  6074. car_verbrauch := "15.6"
  6075. car_geschwindigkeit := "89 km/h"
  6076. car_level := "1"
  6077. car_tuningwerkstatt := "Transfender"
  6078. }
  6079. else if(Fahrzeug == 549 || Fahrzeug = "Tampa")
  6080. {
  6081. car_id := 549
  6082. car_name := "Tampa"
  6083. car_preis := "4.600$"
  6084. car_autohaus := "Intercars"
  6085. car_kaution := "3.0000$"
  6086. car_tank := "40 Liter"
  6087. car_verbrauch := "13.1"
  6088. car_geschwindigkeit := "119 km/h"
  6089. car_level := "1"
  6090. car_tuningwerkstatt := "Transfender"
  6091. }
  6092. else if(Fahrzeug == 422 || Fahrzeug = "Bobcat")
  6093. {
  6094. car_id := 422
  6095. car_name := "Bobcat"
  6096. car_preis := "18.000$"
  6097. car_autohaus := "Intercars"
  6098. car_kaution := "4.0000$"
  6099. car_tank := "45 Liter"
  6100. car_verbrauch := "14.8"
  6101. car_geschwindigkeit := "108 km/h"
  6102. car_level := "1"
  6103. car_tuningwerkstatt := "Transfender"
  6104. }
  6105. else if(Fahrzeug == 482 || Fahrzeug = "Burrito")
  6106. {
  6107. car_id := 482
  6108. car_name := "Burrito"
  6109. car_preis := "16.000$"
  6110. car_autohaus := "Intercars"
  6111. car_kaution := "4.0000$"
  6112. car_tank := "40 Liter"
  6113. car_verbrauch := "17.2"
  6114. car_geschwindigkeit := "121 km/h"
  6115. car_level := "1"
  6116. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6117. }
  6118. else if(Fahrzeug == 516 || Fahrzeug = "Nebula")
  6119. {
  6120. car_id := 516
  6121. car_name := "Nebula"
  6122. car_preis := "12.000$"
  6123. car_autohaus := "Intercars"
  6124. car_kaution := "4.0000$"
  6125. car_tank := "40 Liter"
  6126. car_verbrauch := "11.8"
  6127. car_geschwindigkeit := "122 km/h"
  6128. car_level := "1"
  6129. car_tuningwerkstatt := "Transfender"
  6130. }
  6131. else if(Fahrzeug == 603 || Fahrzeug = "Phoenix")
  6132. {
  6133. car_id := 603
  6134. car_name := "Phoenix"
  6135. car_preis := "28.000$"
  6136. car_autohaus := "Intercars"
  6137. car_kaution := "4.0000$"
  6138. car_tank := "40 Liter"
  6139. car_verbrauch := "14.1"
  6140. car_geschwindigkeit := "133 km/h"
  6141. car_level := "1"
  6142. car_tuningwerkstatt := "Transfender"
  6143. }
  6144. else if(Fahrzeug == 401 || Fahrzeug = "Bravura")
  6145. {
  6146. car_id := 401
  6147. car_name := "Bravura"
  6148. car_preis := "7.000$"
  6149. car_autohaus := "Ottos"
  6150. car_kaution := "4.0000$"
  6151. car_tank := "40 Liter"
  6152. car_verbrauch := "11.8"
  6153. car_geschwindigkeit := "114 km/h"
  6154. car_level := "1"
  6155. car_tuningwerkstatt := "Transfender"
  6156. }
  6157. else if(Fahrzeug == 467 || Fahrzeug = "Oceanic")
  6158. {
  6159. car_id := 467
  6160. car_name := "Oceanic"
  6161. car_preis := "16.000$"
  6162. car_autohaus := "Ottos"
  6163. car_kaution := "4.0000$"
  6164. car_tank := "40 Liter"
  6165. car_verbrauch := "12.1"
  6166. car_geschwindigkeit := "109 km/h"
  6167. car_level := "1"
  6168. car_tuningwerkstatt := "Transfender"
  6169. }
  6170. else if(Fahrzeug == 426 || Fahrzeug = "Premier")
  6171. {
  6172. car_id := 426
  6173. car_name := "Premier"
  6174. car_preis := "20.000$"
  6175. car_autohaus := "Ottos"
  6176. car_kaution := "4.0000$"
  6177. car_tank := "40 Liter"
  6178. car_verbrauch := "12.3"
  6179. car_geschwindigkeit := "134 km/h"
  6180. car_level := "1"
  6181. car_tuningwerkstatt := "Transfender"
  6182. }
  6183. else if(Fahrzeug == 405 || Fahrzeug = "Sentinel")
  6184. {
  6185. car_id := 405
  6186. car_name := "Sentinel"
  6187. car_preis := "14.900$"
  6188. car_autohaus := "Ottos"
  6189. car_kaution := "4.0000$"
  6190. car_tank := "40 Liter"
  6191. car_verbrauch := "11.3"
  6192. car_geschwindigkeit := "127 km/h"
  6193. car_level := "1"
  6194. car_tuningwerkstatt := "Transfender"
  6195. }
  6196. else if(Fahrzeug == 445 || Fahrzeug = "Admiral")
  6197. {
  6198. car_id := 445
  6199. car_name := "Admiral"
  6200. car_preis := "12.000$"
  6201. car_autohaus := "Ottos"
  6202. car_kaution := "4.0000$"
  6203. car_tank := "40 Liter"
  6204. car_verbrauch := "12.1"
  6205. car_geschwindigkeit := "127 km/h"
  6206. car_level := "1"
  6207. car_tuningwerkstatt := "Transfender"
  6208. }
  6209. else if(Fahrzeug == 507 || Fahrzeug = "Elegant")
  6210. {
  6211. car_id := 507
  6212. car_name := "Elegant"
  6213. car_preis := "20.000$"
  6214. car_autohaus := "Ottos"
  6215. car_kaution := "4.0000$"
  6216. car_tank := "40 Liter"
  6217. car_verbrauch := "11.3"
  6218. car_geschwindigkeit := "128 km/h"
  6219. car_level := "1"
  6220. car_tuningwerkstatt := "Transfender"
  6221. }
  6222. else if(Fahrzeug == 475 || Fahrzeug = "Sabre")
  6223. {
  6224. car_id := 475
  6225. car_name := "Sabre"
  6226. car_preis := "22.000$"
  6227. car_autohaus := "Ottos"
  6228. car_kaution := "4.0000$"
  6229. car_tank := "40 Liter"
  6230. car_verbrauch := "11.3"
  6231. car_geschwindigkeit := "134 km/h"
  6232. car_level := "1"
  6233. car_tuningwerkstatt := "Transfender"
  6234. }
  6235. else if(Fahrzeug == 421 || Fahrzeug = "Washington")
  6236. {
  6237. car_id := 421
  6238. car_name := "Washington"
  6239. car_preis := "21.000$"
  6240. car_autohaus := "Ottos"
  6241. car_kaution := "4.0000$"
  6242. car_tank := "40 Liter"
  6243. car_verbrauch := "13.3"
  6244. car_geschwindigkeit := "119 km/h"
  6245. car_level := "1"
  6246. car_tuningwerkstatt := "Transfender"
  6247. }
  6248. else if(Fahrzeug == 527 || Fahrzeug = "Cadrona")
  6249. {
  6250. car_id := 527
  6251. car_name := "Cadrona"
  6252. car_preis := "11.000$"
  6253. car_autohaus := "Ottos"
  6254. car_kaution := "4.0000$"
  6255. car_tank := "40 Liter"
  6256. car_verbrauch := "11.8"
  6257. car_geschwindigkeit := "115 km/h"
  6258. car_level := "1"
  6259. car_tuningwerkstatt := "Transfender"
  6260. }
  6261. else if(Fahrzeug == 550 || Fahrzeug = "Sunrise")
  6262. {
  6263. car_id := 550
  6264. car_name := "Sunrise"
  6265. car_preis := "14.000$"
  6266. car_autohaus := "Ottos"
  6267. car_kaution := "4.0000$"
  6268. car_tank := "40 Liter"
  6269. car_verbrauch := "11.8"
  6270. car_geschwindigkeit := "112 km/h"
  6271. car_level := "1"
  6272. car_tuningwerkstatt := "Transfender"
  6273. }
  6274. else if(Fahrzeug == 580 || Fahrzeug = "Stafford")
  6275. {
  6276. car_id := 580
  6277. car_name := "Stafford"
  6278. car_preis := "18.000$"
  6279. car_autohaus := "Ottos"
  6280. car_kaution := "4.0000$"
  6281. car_tank := "40 Liter"
  6282. car_verbrauch := "11.6"
  6283. car_geschwindigkeit := "118 km/h"
  6284. car_level := "1"
  6285. car_tuningwerkstatt := "Transfender"
  6286. }
  6287. else if(Fahrzeug == 492 || Fahrzeug = "Greenwood")
  6288. {
  6289. car_id := 492
  6290. car_name := "Greenwood"
  6291. car_preis := "7.500$"
  6292. car_autohaus := "Ottos"
  6293. car_kaution := "4.0000$"
  6294. car_tank := "40 Liter"
  6295. car_verbrauch := "11.6"
  6296. car_geschwindigkeit := "109 km/h"
  6297. car_level := "1"
  6298. car_tuningwerkstatt := "Transfender"
  6299. }
  6300. else if(Fahrzeug == 474 || Fahrzeug = "Hermes")
  6301. {
  6302. car_id := 474
  6303. car_name := "Hermes"
  6304. car_preis := "15.000$"
  6305. car_autohaus := "Ottos"
  6306. car_kaution := "4.0000$"
  6307. car_tank := "40 Liter"
  6308. car_verbrauch := "12.3"
  6309. car_geschwindigkeit := "115 km/h"
  6310. car_level := "1"
  6311. car_tuningwerkstatt := "Transfender"
  6312. }
  6313. else if(Fahrzeug == 542 || Fahrzeug = "Clover")
  6314. {
  6315. car_id := 542
  6316. car_name := "Clover"
  6317. car_preis := "5.000$"
  6318. car_autohaus := "Ottos"
  6319. car_kaution := "3.0000$"
  6320. car_tank := "40 Liter"
  6321. car_verbrauch := "10.1"
  6322. car_geschwindigkeit := "127 km/h"
  6323. car_level := "1"
  6324. car_tuningwerkstatt := "Transfender"
  6325. }
  6326. else if(Fahrzeug == 531 || Fahrzeug = "Tractor" || Fahrzeug = "Traktor")
  6327. {
  6328. car_id := 531
  6329. car_name := "Tractor"
  6330. car_preis := "25.000$"
  6331. car_autohaus := "Rastplatz"
  6332. car_kaution := "4.0000$"
  6333. car_tank := "25 Liter"
  6334. car_verbrauch := "7.5"
  6335. car_geschwindigkeit := "54 km/h"
  6336. car_level := "1"
  6337. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6338. }
  6339. else if(Fahrzeug == 578 || Fahrzeug = "DFT-30" || Fahrzeug = "DFT" || Fahrzeug = "DFT 30" || Fahrzeug = "DFT30")
  6340. {
  6341. car_id := 578
  6342. car_name := "DFT-30"
  6343. car_preis := "70.000$"
  6344. car_autohaus := "Rastplatz"
  6345. car_kaution := "12.0000$"
  6346. car_tank := "40 Liter"
  6347. car_verbrauch := "17.2"
  6348. car_geschwindigkeit := "101 km/h"
  6349. car_level := "1"
  6350. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6351. }
  6352. else if(Fahrzeug == 404 || Fahrzeug = "Perennial")
  6353. {
  6354. car_id := 404
  6355. car_name := "Perennial"
  6356. car_preis := "8.000$"
  6357. car_autohaus := "Rastplatz"
  6358. car_kaution := "4.0000$"
  6359. car_tank := "40 Liter"
  6360. car_verbrauch := "12.1"
  6361. car_geschwindigkeit := "103 km/h"
  6362. car_level := "1"
  6363. car_tuningwerkstatt := "Transfender"
  6364. }
  6365. else if(Fahrzeug == 478 || Fahrzeug = "Walton")
  6366. {
  6367. car_id := 478
  6368. car_name := "Walton"
  6369. car_preis := "8.000$"
  6370. car_autohaus := "Rastplatz"
  6371. car_kaution := "4.0000$"
  6372. car_tank := "40 Liter"
  6373. car_verbrauch := "14.1"
  6374. car_geschwindigkeit := "91 km/h"
  6375. car_level := "1"
  6376. car_tuningwerkstatt := "Transfender"
  6377. }
  6378. else if(Fahrzeug == 529 || Fahrzeug = "Willard")
  6379. {
  6380. car_id := 529
  6381. car_name := "Willard"
  6382. car_preis := "8.000$"
  6383. car_autohaus := "Rastplatz"
  6384. car_kaution := "4.0000$"
  6385. car_tank := "40 Liter"
  6386. car_verbrauch := "11.6"
  6387. car_geschwindigkeit := "115 km/h"
  6388. car_level := "1"
  6389. car_tuningwerkstatt := "Transfender"
  6390. }
  6391. else if(Fahrzeug == 554 || Fahrzeug = "Yosemite")
  6392. {
  6393. car_id := 554
  6394. car_name := "Yosemite"
  6395. car_preis := "18.000$"
  6396. car_autohaus := "Rastplatz"
  6397. car_kaution := "4.0000$"
  6398. car_tank := "40 Liter"
  6399. car_verbrauch := "13.1"
  6400. car_geschwindigkeit := "111 km/h"
  6401. car_level := "1"
  6402. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6403. }
  6404. else if(Fahrzeug == 446 || Fahrzeug = "Squallo" || Fahrzeug = "Squalo")
  6405. {
  6406. car_id := 446
  6407. car_name := "Squalo"
  6408. car_preis := "500.000$"
  6409. car_autohaus := "Strand"
  6410. car_kaution := "/"
  6411. car_tank := "70 Liter"
  6412. car_verbrauch := "19.2"
  6413. car_geschwindigkeit := "180 km/h"
  6414. car_level := "6"
  6415. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6416. }
  6417. else if(Fahrzeug == 454 || Fahrzeug = "Tropic")
  6418. {
  6419. car_id := 454
  6420. car_name := "Tropic"
  6421. car_preis := "750.000$"
  6422. car_autohaus := "Strand"
  6423. car_kaution := "/"
  6424. car_tank := "70 Liter"
  6425. car_verbrauch := "22.3"
  6426. car_geschwindigkeit := "99 km/h"
  6427. car_level := "12"
  6428. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6429. }
  6430. else if(Fahrzeug == 493 || Fahrzeug = "Jetmax")
  6431. {
  6432. car_id := 493
  6433. car_name := "Jetmax"
  6434. car_preis := "500.000$"
  6435. car_autohaus := "Strand"
  6436. car_kaution := "/"
  6437. car_tank := "60 Liter"
  6438. car_verbrauch := "19.1"
  6439. car_geschwindigkeit := "130 km/h"
  6440. car_level := "6"
  6441. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6442. }
  6443. else if(Fahrzeug == 452 || Fahrzeug = "Speeder")
  6444. {
  6445. car_id := 452
  6446. car_name := "Speeder"
  6447. car_preis := "500.000$"
  6448. car_autohaus := "Strand"
  6449. car_kaution := "/"
  6450. car_tank := "70 Liter"
  6451. car_verbrauch := "19.5"
  6452. car_geschwindigkeit := "130 km/h"
  6453. car_level := "6"
  6454. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6455. }
  6456. else if(Fahrzeug == 473 || Fahrzeug = "Dinghy")
  6457. {
  6458. car_id := 473
  6459. car_name := "Dinghy"
  6460. car_preis := "25.000$"
  6461. car_autohaus := "Strand"
  6462. car_kaution := "/"
  6463. car_tank := "30 Liter"
  6464. car_verbrauch := "9.8"
  6465. car_geschwindigkeit := "83 km/h"
  6466. car_level := "1"
  6467. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6468. }
  6469. else if(Fahrzeug == 458 || Fahrzeug = "Solair")
  6470. {
  6471. car_id := 458
  6472. car_name := "Solair"
  6473. car_preis := "16.000$"
  6474. car_autohaus := "Wang Cars"
  6475. car_kaution := "4.000$"
  6476. car_tank := "40 Liter"
  6477. car_verbrauch := "12.1"
  6478. car_geschwindigkeit := "122 km/h"
  6479. car_level := "1"
  6480. car_tuningwerkstatt := "Transfender"
  6481. }
  6482. else if(Fahrzeug == 561 || Fahrzeug = "Stratum")
  6483. {
  6484. car_id := 561
  6485. car_name := "Stratum"
  6486. car_preis := "16.000$"
  6487. car_autohaus := "Wang Cars"
  6488. car_kaution := "4.000$"
  6489. car_tank := "40 Liter"
  6490. car_verbrauch := "13.1"
  6491. car_geschwindigkeit := "119 km/h"
  6492. car_level := "1"
  6493. car_tuningwerkstatt := "Wheel Arch Angels"
  6494. }
  6495. else if(Fahrzeug == 424 || Fahrzeug = "BF Injection" || Fahrzeug = "bfinjection" || Fahrzeug = "injection")
  6496. {
  6497. car_id := 424
  6498. car_name := "BF Injection"
  6499. car_preis := "500.000$"
  6500. car_autohaus := "Wang Cars"
  6501. car_kaution := "12.000$"
  6502. car_tank := "40 Liter"
  6503. car_verbrauch := "13.1"
  6504. car_geschwindigkeit := "105 km/h"
  6505. car_level := "1"
  6506. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6507. }
  6508. else if(Fahrzeug == 400 || Fahrzeug = "Landstalker")
  6509. {
  6510. car_id := 400
  6511. car_name := "Landstalker"
  6512. car_preis := "18.000$"
  6513. car_autohaus := "Wang Cars"
  6514. car_kaution := "4.000$"
  6515. car_tank := "40 Liter"
  6516. car_verbrauch := "16.7"
  6517. car_geschwindigkeit := "122 km/h"
  6518. car_level := "1"
  6519. car_tuningwerkstatt := "Transfender"
  6520. }
  6521. else if(Fahrzeug == 589 || Fahrzeug = "Club")
  6522. {
  6523. car_id := 589
  6524. car_name := "Club"
  6525. car_preis := "22.000$"
  6526. car_autohaus := "Wang Cars"
  6527. car_kaution := "4.000$"
  6528. car_tank := "40 Liter"
  6529. car_verbrauch := "11.3"
  6530. car_geschwindigkeit := "126 km/h"
  6531. car_level := "1"
  6532. car_tuningwerkstatt := "Transfender"
  6533. }
  6534. else if(Fahrzeug == 565 || Fahrzeug = "Flash")
  6535. {
  6536. car_id := 565
  6537. car_name := "Flash"
  6538. car_preis := "22.000$"
  6539. car_autohaus := "Wang Cars"
  6540. car_kaution := "4.000$"
  6541. car_tank := "40 Liter"
  6542. car_verbrauch := "10.8"
  6543. car_geschwindigkeit := "127 km/h"
  6544. car_level := "1"
  6545. car_tuningwerkstatt := "Wheel Arch Angels"
  6546. }
  6547. else if(Fahrzeug == 558 || Fahrzeug = "Uranus")
  6548. {
  6549. car_id := 558
  6550. car_name := "Uranus"
  6551. car_preis := "90.000$"
  6552. car_autohaus := "Wang Cars"
  6553. car_kaution := "5.000$"
  6554. car_tank := "40 Liter"
  6555. car_verbrauch := "18.2"
  6556. car_geschwindigkeit := "121 km/h"
  6557. car_level := "1"
  6558. car_tuningwerkstatt := "Wheel Arch Angels"
  6559. }
  6560. else if(Fahrzeug == 471 || Fahrzeug = "Quad")
  6561. {
  6562. car_id := 471
  6563. car_name := "Quad"
  6564. car_preis := "80.000$"
  6565. car_autohaus := "Wang Cars"
  6566. car_kaution := "5.000$"
  6567. car_tank := "20 Liter"
  6568. car_verbrauch := "9.8"
  6569. car_geschwindigkeit := "85 km/h"
  6570. car_level := "1"
  6571. car_tuningwerkstatt := "Fahrzeuglackiererei"
  6572. }
  6573. else if(Fahrzeug == 409 || Fahrzeug = "Stretch" || Fahrzeug = "Limo" || Fahrzeug = "Limousine")
  6574. {
  6575. car_id := 409
  6576. car_name := "Stretch"
  6577. car_preis := "1.000.000$"
  6578. car_autohaus := "Wang Cars"
  6579. car_kaution := "12.000$"
  6580. car_tank := "50 Liter"
  6581. car_verbrauch := "17.8"
  6582. car_geschwindigkeit := "122 km/h"
  6583. car_level := "1"
  6584. car_tuningwerkstatt := "Transfender"
  6585. }
  6586. else if(Fahrzeug == 587 || Fahrzeug = "Euros")
  6587. {
  6588. car_id := 587
  6589. car_name := "Euros"
  6590. car_preis := "90.000$"
  6591. car_autohaus := "Wang Cars"
  6592. car_kaution := "5.000$"
  6593. car_tank := "40 Liter"
  6594. car_verbrauch := "15.3"
  6595. car_geschwindigkeit := "127 km/h"
  6596. car_level := "1"
  6597. car_tuningwerkstatt := "Transfender"
  6598. }
  6599. else if(Fahrzeug == 489 || Fahrzeug = "Rancher")
  6600. {
  6601. car_id := 489
  6602. car_name := "Rancher"
  6603. car_preis := "20.000$"
  6604. car_autohaus := "Wang Cars"
  6605. car_kaution := "4.000$"
  6606. car_tank := "40 Liter"
  6607. car_verbrauch := "16.7"
  6608. car_geschwindigkeit := "108 km/h"
  6609. car_level := "1"
  6610. car_tuningwerkstatt := "Transfender"
  6611. }
  6612. else if(Fahrzeug == 434 || Fahrzeug = "Hotknife")
  6613. {
  6614. car_id := 434
  6615. car_name := "Hotknife"
  6616. car_preis := "500.000$"
  6617. car_autohaus := "Wang Cars"
  6618. car_kaution := "12.000$"
  6619. car_tank := "40 Liter"
  6620. car_verbrauch := "13.1"
  6621. car_geschwindigkeit := "129 km/h"
  6622. car_level := "1"
  6623. car_tuningwerkstatt := "/"
  6624. }
  6625. else if(Fahrzeug == 439 || Fahrzeug = "Stallion")
  6626. {
  6627. car_id := 439
  6628. car_name := "Stallion"
  6629. car_preis := "26.000$"
  6630. car_autohaus := "Wang Cars"
  6631. car_kaution := "4.000$"
  6632. car_tank := "40 Liter"
  6633. car_verbrauch := "12.5"
  6634. car_geschwindigkeit := "130 km/h"
  6635. car_level := "1"
  6636. car_tuningwerkstatt := "Transfender"
  6637. }
  6638. else if(Fahrzeug == 555 || Fahrzeug = "Windsor")
  6639. {
  6640. car_id := 555
  6641. car_name := "Windsor"
  6642. car_preis := "24.000$"
  6643. car_autohaus := "Wang Cars"
  6644. car_kaution := "4.000$"
  6645. car_tank := "40 Liter"
  6646. car_verbrauch := "15.1"
  6647. car_geschwindigkeit := "122 km/h"
  6648. car_level := "1"
  6649. car_tuningwerkstatt := "Transfender"
  6650. }
  6651. else if(Fahrzeug == 533 || Fahrzeug = "Feltzer")
  6652. {
  6653. car_id := 533
  6654. car_name := "Feltzer"
  6655. car_preis := "26.000$"
  6656. car_autohaus := "Wang Cars"
  6657. car_kaution := "4.000$"
  6658. car_tank := "40 Liter"
  6659. car_verbrauch := "11.8"
  6660. car_geschwindigkeit := "129 km/h"
  6661. car_level := "1"
  6662. car_tuningwerkstatt := "Transfender"
  6663. }
  6664. else if(Fahrzeug == 477 || Fahrzeug = "ZR-350" || Fahrzeug = "ZR" || Fahrzeug = "ZR 350" || Fahrzeug = "ZR350")
  6665. {
  6666. car_id := 477
  6667. car_name := "ZR-350"
  6668. car_preis := "120.000$"
  6669. car_autohaus := "Wang Cars"
  6670. car_kaution := "6.000$"
  6671. car_tank := "40 Liter"
  6672. car_verbrauch := "17.2"
  6673. car_geschwindigkeit := "144 km/h"
  6674. car_level := "1"
  6675. car_tuningwerkstatt := "Transfender"
  6676. }
  6677. else
  6678. {
  6679. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Das Fahrzeug wurde nicht gefunden.")
  6680. return
  6681. }
  6682. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Informationen für das Fahrzeug {FFBB00}" car_name " {FFFFFF}[Model-ID: {FFBB00}" car_id "{FFFFFF}]:")
  6683. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Authoaus: {FFBB00}" car_autohaus "{FFFFFF}, Preis: {FFBB00}" car_preis "{FFFFFF}, Kaution: {FFBB00}" car_kaution "{FFFFFF}.")
  6684. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Geschwindigkeit: {FFBB00}" car_geschwindigkeit "{FFFFFF}, Verbrauch: {FFBB00}" car_verbrauch "{FFFFFF}, Tank: {FFBB00}" car_tank "{FFFFFF}.")
  6685. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Tuningwerkstatt: {FFBB00}" car_tuningwerkstatt "{FFFFFF}, Mindestlevel: {FFBB00}" car_level "{FFFFFF}.")
  6686. return
  6687.  
  6688.  
  6689.  
  6690.  
  6691.  
  6692. :?:/tt::
  6693. Suspend Permit
  6694. FormatTime, Uhrzeit,, HH
  6695. GetPlayerData()
  6696. GetPlayerName(Name)
  6697. if(admin = 1)
  6698. {
  6699. TicketID := PlayerInput("Ticket-ID: ")
  6700. SendChat("/tt " . TicketID . "")
  6701. if (Uhrzeit >= 12 && Uhrzeit < 20)
  6702. {
  6703. SendChat("/aw " . TicketID . " Guten Tag,")
  6704. }
  6705. else if (Uhrzeit >= 20 || Uhrzeit == 0)
  6706. {
  6707. SendChat("/aw " . TicketID . " Guten Abend,")
  6708. }
  6709. else if (Uhrzeit >= 1 && Uhrzeit < 12)
  6710. {
  6711. SendChat("/aw " . TicketID . " Guten Morgen ,")
  6712. }
  6713. SendChat("/aw " . TicketID . " Mein Name ist " . Name . " und ich bin für Ihre Fragen oder Probleme offen.")
  6714.  
  6715.  
  6716.  
  6717. Sleep 670
  6718. GetChatLine(0, string)
  6719. GetChatLine(1, string1)
  6720. GetChatLine(2, string2)
  6721. if(Instr(string, "Fragen oder Probleme offen") || InStr(string1, "Fragen oder Probleme offen") || InStr(string2, "Fragen oder Probleme offen"))
  6722. {
  6723. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  6724. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  6725. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  6726. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  6727. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  6728. Monat1=%Monat%
  6729. Heute1=%Heute%
  6730. Gesamt1=%Gesamt%
  6731.  
  6732. Sleep, 200
  6733.  
  6734.  
  6735. Monat1++
  6736. Heute1++
  6737. Gesamt1++
  6738. IniWrite, %Monat1%, Tickets.ini, TicketM, %MonatSt%
  6739. IniWrite, %Heute1%, Tickets.ini, TicketT, %TagSt%
  6740. IniWrite, %Gesamt1%, Tickets.ini, Ticket, Gesamt
  6741. }
  6742. }
  6743. else
  6744. {
  6745. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6746. }
  6747. return
  6748.  
  6749. :?:/gt::
  6750. Suspend Permit
  6751. if(admin = 1)
  6752. {
  6753. FormatTime, Uhrzeit,, HH
  6754. TicketID := PlayerInput("Ticket-ID: ")
  6755. SendChat("/aw " . TicketID . " Ich werde Sie nun an das gewünschte Teammitglied weiterleiten.")
  6756. if (Uhrzeit >= 20 || Uhrzeit == 0)
  6757. {
  6758. SendChat("/aw " . TicketID . " Schönen Abend noch.")
  6759. }
  6760. else
  6761. {
  6762. SendChat("/aw " . TicketID . " Schönen Tag noch.")
  6763. }
  6764. SendChat("/gt " . TicketID . "")
  6765. SendInput, t/a Ticket %TicketID% für dich{space}
  6766. }
  6767. else
  6768. {
  6769. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6770. }
  6771. return
  6772.  
  6773.  
  6774. :?:/grund::
  6775. Suspend Permit
  6776. if(admin = 1)
  6777. {
  6778. TicketID := PlayerInput("Ticket-ID: ")
  6779. SendChat("/aw " . TicketID . " Warum soll ich Sie an das gewünschte Teammitglied weiterleiten?")
  6780. }
  6781. else
  6782. {
  6783. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6784. }
  6785. return
  6786.  
  6787.  
  6788. :?:/dt::
  6789. Suspend Permit
  6790. if(admin = 1)
  6791. {
  6792. TicketID := PlayerInput("Ticket-ID: ")
  6793. SendChat("/aw " . TicketID . " Ich wünsche Ihnen noch einen schönen Aufenthalt auf RPG-City")
  6794. SendChat("/aw " . TicketID . " Bei weiteren Fragen melden Sie sich gerne wieder im Ticketsystem")
  6795. SendChat("/dt " . TicketID . "")
  6796. }
  6797. else
  6798. {
  6799. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6800. SendChat("/dt")
  6801. }
  6802. return
  6803.  
  6804.  
  6805. :?:/fragen::
  6806. Suspend Permit
  6807. if(admin = 1)
  6808. {
  6809. TicketID := PlayerInput("Ticket-ID: ")
  6810. SendChat("/aw " . TicketID . " Haben Sie weitere Fragen, Probleme oder Anliegen?")
  6811. }
  6812. else
  6813. {
  6814. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6815. }
  6816. return
  6817.  
  6818.  
  6819. :?:/meldungen::
  6820. Suspend Permit
  6821. if(admin = 1)
  6822. {
  6823. SendChat("/announce Bei Fragen zum Server stehen wir Ihnen jederzeit per /sup [Frage] zur Verfügung.")
  6824. SendChat("/announce Hacker, Buguser und weitere Regelbrecher können per /a gemeldet werden.")
  6825. }
  6826. else
  6827. {
  6828. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6829. }
  6830. return
  6831.  
  6832. :?:/adabuse::
  6833. Suspend Permit
  6834. if(admin = 1)
  6835. {
  6836. SendInput, /mute 120 Ausnutzung des Werbesystems{left 32}
  6837. Input, caID, V I M, {Enter}
  6838. Send {Enter}
  6839. SendChat("/kick " . caID . " Ausnutzung des Werbesystems")
  6840. }
  6841. else
  6842. {
  6843. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6844. }
  6845. return
  6846.  
  6847. :?:/aabuse::
  6848. Suspend Permit
  6849. if(admin = 1)
  6850. {
  6851. SendInput, /supban 120 Ausnutzung des Adminchats{left 30}
  6852. Input, caID, V I M, {Enter}
  6853. Send {Enter}
  6854. SendChat("/kick " . caID . " Ausnutzung des Adminchats")
  6855. }
  6856. else
  6857. {
  6858. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6859. }
  6860. return
  6861.  
  6862. :?:/sdm::
  6863. Suspend Permit
  6864. if(admin = 1)
  6865. {
  6866. SendInput, /prison 120 Sinnloses Deathmatch{left 25}
  6867. }
  6868. else
  6869. {
  6870. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6871. }
  6872. return
  6873.  
  6874. :?:/bansdm::
  6875. Suspend Permit
  6876. if(admin = 1)
  6877. {
  6878. SendInput, /ban Sinnloses Deathmatch mit Level 1{left 33}
  6879. }
  6880. else
  6881. {
  6882. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6883. }
  6884. return
  6885.  
  6886.  
  6887. :?:/jobstörung::
  6888. Suspend Permit
  6889. if(admin = 1)
  6890. {
  6891. SendInput, /prison 120 Jobstörung{left 15}
  6892. }
  6893. else
  6894. {
  6895. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6896. }
  6897. return
  6898.  
  6899. :?:/jobdm::
  6900. Suspend Permit
  6901. if(admin = 1)
  6902. {
  6903. SendInput, /prison 120 Job Deathmatch{left 19}
  6904. }
  6905. else
  6906. {
  6907. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6908. }
  6909. return
  6910.  
  6911. :?:/intflucht::
  6912. Suspend Permit
  6913. if(admin = 1)
  6914. {
  6915. SendInput, /prison 120 Interrior-Flucht{left 21}
  6916. }
  6917. else
  6918. {
  6919. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6920. }
  6921. return
  6922.  
  6923. :?:/escflucht::
  6924. Suspend Permit
  6925. if(admin = 1)
  6926. {
  6927. SendInput, /prison 120 ESC-Flucht{left 25}
  6928. }
  6929. else
  6930. {
  6931. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6932. }
  6933. return
  6934.  
  6935. :?:/offflucht::
  6936. Suspend Permit
  6937. if(admin = 1)
  6938. {
  6939. SendInput, /prison 120 Offline-Flucht{left 19}
  6940. }
  6941. else
  6942. {
  6943. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6944. }
  6945. return
  6946.  
  6947. :?:/hacker::
  6948. Suspend Permit
  6949. if(admin = 1)
  6950. {
  6951. GetPlayerData()
  6952. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Eine Liste von Level 1er, um den Hacker zu finden")
  6953. Sleep, 500
  6954. AddChatMessage(0xFFFFFF, "------------------------------------------------------------------------")
  6955. id = 0
  6956. Loop,
  6957. {
  6958. score := GetPlayerScoreByID(id)
  6959. if(score == "1")
  6960. {
  6961. GetPlayerNameByID(id, playername)
  6962. Ping := GetPlayerPingByID(id)
  6963. AddChatMessage(0xFFFFFF, "ID: " id ", Name: " playername ", Ping: " Ping ", Level: 1")
  6964. Sleep, 500
  6965. }
  6966. if(id == "375")
  6967. {
  6968. AddChatMessage(0xFFFFFF, "------------------------------------------------------------------------")
  6969. break
  6970. }
  6971. id++
  6972. }
  6973. }
  6974. else
  6975. {
  6976. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  6977. }
  6978. return
  6979.  
  6980.  
  6981.  
  6982. :?:/tickets::
  6983. Suspend Permit
  6984. if(admin = 1)
  6985. {
  6986. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  6987. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  6988. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  6989. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  6990. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  6991. if(Monat == "ERROR")
  6992. {
  6993. Monat=0
  6994. }
  6995. if(Heute == "ERROR")
  6996. {
  6997. Heute=0
  6998. }
  6999. if(Gesamt == "ERROR")
  7000. {
  7001. Gesamt=0
  7002. }
  7003. ShowDialog(1, "Ticket Statistik" , "Angenommene Tickets: " Gesamt "`nan diesem Tag: " Heute "`nin diesem Monat: " Monat, "Schließen")
  7004. }
  7005. else
  7006. {
  7007. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  7008. }
  7009. return
  7010.  
  7011.  
  7012. TicketUpdate:
  7013. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  7014. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  7015. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  7016. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  7017. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  7018. if(Monat == "ERROR")
  7019. {
  7020. Monat=0
  7021. }
  7022. if(Heute == "ERROR")
  7023. {
  7024. Heute=0
  7025. }
  7026. if(Gesamt == "ERROR")
  7027. {
  7028. Gesamt=0
  7029. }
  7030. TextSetString(tickettext, "Angenommene Tickets: " . Gesamt . "`nan diesem Tag: " . Heute . "`nin diesem Monat: " . Monat . "")
  7031. return
  7032.  
  7033. :?:/togtickets::
  7034. Suspend Permit
  7035. if(admin = 1)
  7036. {
  7037. if (TicketOverlay == "0")
  7038. {
  7039. Boxid := BoxCreate()
  7040. BoxSetPos(Boxid, 30, 405)
  7041. BoxSetWidth(Boxid, 90)
  7042. BoxSetHeight(Boxid, 40)
  7043. BoxSetColor(Boxid, 0xDD111314)
  7044. BoxSetBorder(Boxid, 3)
  7045. BoxSetBorderColor(Boxid, 0xFF000000)
  7046. BoxShow(Boxid)
  7047.  
  7048. titeltext := TextCreate("Arial", 10, false, false)
  7049. TextSetPos(titeltext, 31, 407)
  7050. TextSetString(titeltext, "Ticket Statistik")
  7051. TextSetColor(titeltext, 0xFF00E1FF)
  7052. TextShow(titeltext)
  7053. tickettext := TextCreate("Arial", 8, false, false)
  7054. TextSetPos(tickettext, 31, 420)
  7055. TextSetString(tickettext, "Lade Statistik...")
  7056. TextShow(tickettext)
  7057. TicketOverlay = 1
  7058. SetTimer, TicketUpdate, 4000
  7059. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Ticket-Overlay {00FF00}eingeschaltet{FFFFFF}.")
  7060. }
  7061. else if (TicketOverlay == "1")
  7062. {
  7063. TextDestroy(tickettext)
  7064. TextDestroy(titeltext)
  7065. BoxDestroy(Boxid)
  7066. TicketOverlay = 0
  7067. SetTimer, TicketUpdate, off
  7068. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Ticket-Overlay {FF0000}ausgeschaltet{FFFFFF}.")
  7069. }
  7070. }
  7071. else
  7072. {
  7073. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Du bist kein Teammitglied.")
  7074. }
  7075. return
  7076.  
  7077.  
  7078.  
  7079.  
  7080. GetCityByCoords(posX, posY, posZ)
  7081. {
  7082. if (posX >= 685.0) and (posY >= 476.093) and (posZ >= -500.0) and (posX <= 3000.0) and (posY <= 3000.0) and (posZ <= 500.0)
  7083. {
  7084. CityName := "Las Venturas"
  7085. }
  7086. 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)
  7087. {
  7088. CityName := "San Fierro"
  7089. }
  7090. 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)
  7091. {
  7092. CityName := "San Fierro"
  7093. }
  7094. 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)
  7095. {
  7096. CityName := "San Fierro"
  7097. }
  7098. 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)
  7099. {
  7100. CityName := "Los Santos"
  7101. }
  7102. 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)
  7103. {
  7104. CityName := "Los Santos"
  7105. }
  7106. 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)
  7107. {
  7108. CityName := "Tierra Robada"
  7109. }
  7110. 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)
  7111. {
  7112. CityName := "Red County"
  7113. }
  7114. 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)
  7115. {
  7116. CityName := "Flint County"
  7117. }
  7118. 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)
  7119. {
  7120. CityName := "Whetstone"
  7121. }
  7122. else
  7123. {
  7124. CityName := "Unbekannt"
  7125. }
  7126. return CityName
  7127. }
  7128.  
  7129. GetZoneByCoords(posX, posY, posZ)
  7130. {
  7131. if (posX >= -2667.810) and (posY >= -302.135) and (posZ >= -28.831) and (posX <= -2646.400) and (posY <= -262.320) and (posZ <= 71.169)
  7132. {
  7133. ZoneName := "Avispa Country Club"
  7134. }
  7135. 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)
  7136. {
  7137. ZoneName := "Easter Bay Airport"
  7138. }
  7139. 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)
  7140. {
  7141. ZoneName := "Avispa Country Club"
  7142. }
  7143. 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)
  7144. {
  7145. ZoneName := "Easter Bay Airport"
  7146. }
  7147. 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)
  7148. {
  7149. ZoneName := "Garcia"
  7150. }
  7151. 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)
  7152. {
  7153. ZoneName := "Shady Cabin"
  7154. }
  7155. 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)
  7156. {
  7157. ZoneName := "East Los Santos"
  7158. }
  7159. 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)
  7160. {
  7161. ZoneName := "LVA Freight Depot"
  7162. }
  7163. 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)
  7164. {
  7165. ZoneName := "Blackfield Intersection"
  7166. }
  7167. 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)
  7168. {
  7169. ZoneName := "Avispa Country Club"
  7170. }
  7171. 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)
  7172. {
  7173. ZoneName := "Temple"
  7174. }
  7175. 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)
  7176. {
  7177. ZoneName := "Unity Station"
  7178. }
  7179. 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)
  7180. {
  7181. ZoneName := "LVA Freight Depot"
  7182. }
  7183. 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)
  7184. {
  7185. ZoneName := "Los Flores"
  7186. }
  7187. 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)
  7188. {
  7189. ZoneName := "Starfish Casino"
  7190. }
  7191. 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)
  7192. {
  7193. ZoneName := "Easter Bay Chemicals"
  7194. }
  7195. 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)
  7196. {
  7197. ZoneName := "Downtown Los Santos"
  7198. }
  7199. 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)
  7200. {
  7201. ZoneName := "Esplanade East"
  7202. }
  7203. 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)
  7204. {
  7205. ZoneName := "Market Station"
  7206. }
  7207. 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)
  7208. {
  7209. ZoneName := "Linden Station"
  7210. }
  7211. 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)
  7212. {
  7213. ZoneName := "Montgomery Intersection"
  7214. }
  7215. 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)
  7216. {
  7217. ZoneName := "Frederick Bridge"
  7218. }
  7219. 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)
  7220. {
  7221. ZoneName := "Yellow Bell Station"
  7222. }
  7223. 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)
  7224. {
  7225. ZoneName := "Downtown Los Santos"
  7226. }
  7227. 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)
  7228. {
  7229. ZoneName := "Jefferson"
  7230. }
  7231. 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)
  7232. {
  7233. ZoneName := "Mulholland"
  7234. }
  7235. 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)
  7236. {
  7237. ZoneName := "Avispa Country Club"
  7238. }
  7239. 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)
  7240. {
  7241. ZoneName := "Jefferson"
  7242. }
  7243. 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)
  7244. {
  7245. ZoneName := "Julius Thruway West"
  7246. }
  7247. 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)
  7248. {
  7249. ZoneName := "Jefferson"
  7250. }
  7251. 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)
  7252. {
  7253. ZoneName := "Julius Thruway North"
  7254. }
  7255. 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)
  7256. {
  7257. ZoneName := "Rodeo"
  7258. }
  7259. 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)
  7260. {
  7261. ZoneName := "Cranberry Station"
  7262. }
  7263. 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)
  7264. {
  7265. ZoneName := "Downtown Los Santos"
  7266. }
  7267. 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)
  7268. {
  7269. ZoneName := "Redsands West"
  7270. }
  7271. 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)
  7272. {
  7273. ZoneName := "Little Mexico"
  7274. }
  7275. 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)
  7276. {
  7277. ZoneName := "Blackfield Intersection"
  7278. }
  7279. 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)
  7280. {
  7281. ZoneName := "Los Santos International"
  7282. }
  7283. 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)
  7284. {
  7285. ZoneName := "Beacon Hill"
  7286. }
  7287. 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)
  7288. {
  7289. ZoneName := "Rodeo"
  7290. }
  7291. 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)
  7292. {
  7293. ZoneName := "Richman"
  7294. }
  7295. 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)
  7296. {
  7297. ZoneName := "Downtown Los Santos"
  7298. }
  7299. 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)
  7300. {
  7301. ZoneName := "The Strip"
  7302. }
  7303. 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)
  7304. {
  7305. ZoneName := "Downtown Los Santos"
  7306. }
  7307. 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)
  7308. {
  7309. ZoneName := "Blackfield Intersection"
  7310. }
  7311. 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)
  7312. {
  7313. ZoneName := "Conference Center"
  7314. }
  7315. 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)
  7316. {
  7317. ZoneName := "Montgomery"
  7318. }
  7319. 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)
  7320. {
  7321. ZoneName := "Foster Valley"
  7322. }
  7323. 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)
  7324. {
  7325. ZoneName := "Blackfield Chapel"
  7326. }
  7327. 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)
  7328. {
  7329. ZoneName := "Los Santos International"
  7330. }
  7331. 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)
  7332. {
  7333. ZoneName := "Mulholland"
  7334. }
  7335. 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)
  7336. {
  7337. ZoneName := "Yellow Bell Gol Course"
  7338. }
  7339. 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)
  7340. {
  7341. ZoneName := "The Strip"
  7342. }
  7343. 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)
  7344. {
  7345. ZoneName := "Jefferson"
  7346. }
  7347. 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)
  7348. {
  7349. ZoneName := "Mulholland"
  7350. }
  7351. 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)
  7352. {
  7353. ZoneName := "Aldea Malvada"
  7354. }
  7355. 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)
  7356. {
  7357. ZoneName := "Las Colinas"
  7358. }
  7359. 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)
  7360. {
  7361. ZoneName := "Las Colinas"
  7362. }
  7363. 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)
  7364. {
  7365. ZoneName := "Richman"
  7366. }
  7367. 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)
  7368. {
  7369. ZoneName := "LVA Freight Depot"
  7370. }
  7371. 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)
  7372. {
  7373. ZoneName := "Julius Thruway North"
  7374. }
  7375. 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)
  7376. {
  7377. ZoneName := "Willowfield"
  7378. }
  7379. 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)
  7380. {
  7381. ZoneName := "Julius Thruway North"
  7382. }
  7383. 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)
  7384. {
  7385. ZoneName := "Temple"
  7386. }
  7387. 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)
  7388. {
  7389. ZoneName := "Little Mexico"
  7390. }
  7391. 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)
  7392. {
  7393. ZoneName := "Queens"
  7394. }
  7395. 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)
  7396. {
  7397. ZoneName := "Las Venturas Airport"
  7398. }
  7399. 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)
  7400. {
  7401. ZoneName := "Richman"
  7402. }
  7403. 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)
  7404. {
  7405. ZoneName := "Temple"
  7406. }
  7407. 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)
  7408. {
  7409. ZoneName := "East Los Santos"
  7410. }
  7411. 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)
  7412. {
  7413. ZoneName := "Julius Thruway East"
  7414. }
  7415. 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)
  7416. {
  7417. ZoneName := "Willowfield"
  7418. }
  7419. 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)
  7420. {
  7421. ZoneName := "Las Colinas"
  7422. }
  7423. 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)
  7424. {
  7425. ZoneName := "Julius Thruway East"
  7426. }
  7427. 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)
  7428. {
  7429. ZoneName := "Rodeo"
  7430. }
  7431. 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)
  7432. {
  7433. ZoneName := "Las Brujas"
  7434. }
  7435. 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)
  7436. {
  7437. ZoneName := "Julius Thruway East"
  7438. }
  7439. 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)
  7440. {
  7441. ZoneName := "Rodeo"
  7442. }
  7443. 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)
  7444. {
  7445. ZoneName := "Vinewood"
  7446. }
  7447. 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)
  7448. {
  7449. ZoneName := "Rodeo"
  7450. }
  7451. 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)
  7452. {
  7453. ZoneName := "Julius Thruway North"
  7454. }
  7455. 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)
  7456. {
  7457. ZoneName := "Downtown Los Santos"
  7458. }
  7459. 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)
  7460. {
  7461. ZoneName := "Rodeo"
  7462. }
  7463. 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)
  7464. {
  7465. ZoneName := "Jefferson"
  7466. }
  7467. 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)
  7468. {
  7469. ZoneName := "Hampton Barns"
  7470. }
  7471. 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)
  7472. {
  7473. ZoneName := "Temple"
  7474. }
  7475. 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)
  7476. {
  7477. ZoneName := "Kincaid Bridge"
  7478. }
  7479. 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)
  7480. {
  7481. ZoneName := "Verona Beach"
  7482. }
  7483. 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)
  7484. {
  7485. ZoneName := "Commerce"
  7486. }
  7487. 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)
  7488. {
  7489. ZoneName := "Mulholland"
  7490. }
  7491. 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)
  7492. {
  7493. ZoneName := "Rodeo"
  7494. }
  7495. 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)
  7496. {
  7497. ZoneName := "Mulholland"
  7498. }
  7499. 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)
  7500. {
  7501. ZoneName := "Mulholland"
  7502. }
  7503. 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)
  7504. {
  7505. ZoneName := "Julius Thruway South"
  7506. }
  7507. 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)
  7508. {
  7509. ZoneName := "Idlewood"
  7510. }
  7511. 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)
  7512. {
  7513. ZoneName := "Ocean Docks"
  7514. }
  7515. 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)
  7516. {
  7517. ZoneName := "Commerce"
  7518. }
  7519. 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)
  7520. {
  7521. ZoneName := "Julius Thruway North"
  7522. }
  7523. 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)
  7524. {
  7525. ZoneName := "Temple"
  7526. }
  7527. 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)
  7528. {
  7529. ZoneName := "Glen Park"
  7530. }
  7531. 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)
  7532. {
  7533. ZoneName := "Easter Bay Airport"
  7534. }
  7535. 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)
  7536. {
  7537. ZoneName := "Martin Bridge"
  7538. }
  7539. 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)
  7540. {
  7541. ZoneName := "The Strip"
  7542. }
  7543. 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)
  7544. {
  7545. ZoneName := "Willowfield"
  7546. }
  7547. 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)
  7548. {
  7549. ZoneName := "Marina"
  7550. }
  7551. 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)
  7552. {
  7553. ZoneName := "Las Venturas Airport"
  7554. }
  7555. 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)
  7556. {
  7557. ZoneName := "Idlewood"
  7558. }
  7559. 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)
  7560. {
  7561. ZoneName := "Esplanade East"
  7562. }
  7563. 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)
  7564. {
  7565. ZoneName := "Downtown Los Santos"
  7566. }
  7567. 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)
  7568. {
  7569. ZoneName := "The Mako Span"
  7570. }
  7571. 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)
  7572. {
  7573. ZoneName := "Rodeo"
  7574. }
  7575. 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)
  7576. {
  7577. ZoneName := "Pershing Square"
  7578. }
  7579. 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)
  7580. {
  7581. ZoneName := "Mulholland"
  7582. }
  7583. 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)
  7584. {
  7585. ZoneName := "Gant Bridge"
  7586. }
  7587. 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)
  7588. {
  7589. ZoneName := "Las Colinas"
  7590. }
  7591. 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)
  7592. {
  7593. ZoneName := "Mulholland"
  7594. }
  7595. 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)
  7596. {
  7597. ZoneName := "Julius Thruway North"
  7598. }
  7599. 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)
  7600. {
  7601. ZoneName := "Commerce"
  7602. }
  7603. 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)
  7604. {
  7605. ZoneName := "Rodeo"
  7606. }
  7607. 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)
  7608. {
  7609. ZoneName := "Roca Escalante"
  7610. }
  7611. 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)
  7612. {
  7613. ZoneName := "Rodeo"
  7614. }
  7615. 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)
  7616. {
  7617. ZoneName := "Market"
  7618. }
  7619. 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)
  7620. {
  7621. ZoneName := "Las Colinas"
  7622. }
  7623. 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)
  7624. {
  7625. ZoneName := "Mulholland"
  7626. }
  7627. 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)
  7628. {
  7629. ZoneName := "King's"
  7630. }
  7631. 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)
  7632. {
  7633. ZoneName := "Redsands East"
  7634. }
  7635. 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)
  7636. {
  7637. ZoneName := "Downtown"
  7638. }
  7639. 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)
  7640. {
  7641. ZoneName := "Conference Center"
  7642. }
  7643. 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)
  7644. {
  7645. ZoneName := "Richman"
  7646. }
  7647. 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)
  7648. {
  7649. ZoneName := "Ocean Flats"
  7650. }
  7651. 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)
  7652. {
  7653. ZoneName := "Greenglass College"
  7654. }
  7655. 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)
  7656. {
  7657. ZoneName := "Glen Park"
  7658. }
  7659. 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)
  7660. {
  7661. ZoneName := "LVA Freight Depot"
  7662. }
  7663. 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)
  7664. {
  7665. ZoneName := "Regular Tom"
  7666. }
  7667. 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)
  7668. {
  7669. ZoneName := "Verona Beach"
  7670. }
  7671. 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)
  7672. {
  7673. ZoneName := "East Los Santos"
  7674. }
  7675. 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)
  7676. {
  7677. ZoneName := "Caligula's Palace"
  7678. }
  7679. 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)
  7680. {
  7681. ZoneName := "Idlewood"
  7682. }
  7683. 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)
  7684. {
  7685. ZoneName := "Pilgrim"
  7686. }
  7687. 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)
  7688. {
  7689. ZoneName := "Idlewood"
  7690. }
  7691. 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)
  7692. {
  7693. ZoneName := "Queens"
  7694. }
  7695. 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)
  7696. {
  7697. ZoneName := "Downtown"
  7698. }
  7699. 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)
  7700. {
  7701. ZoneName := "Commerce"
  7702. }
  7703. 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)
  7704. {
  7705. ZoneName := "East Los Santos"
  7706. }
  7707. 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)
  7708. {
  7709. ZoneName := "Marina"
  7710. }
  7711. 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)
  7712. {
  7713. ZoneName := "Richman"
  7714. }
  7715. 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)
  7716. {
  7717. ZoneName := "Vinewood"
  7718. }
  7719. 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)
  7720. {
  7721. ZoneName := "East Los Santos"
  7722. }
  7723. 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)
  7724. {
  7725. ZoneName := "Rodeo"
  7726. }
  7727. 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)
  7728. {
  7729. ZoneName := "Easter Tunnel"
  7730. }
  7731. 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)
  7732. {
  7733. ZoneName := "Rodeo"
  7734. }
  7735. 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)
  7736. {
  7737. ZoneName := "Redsands East"
  7738. }
  7739. 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)
  7740. {
  7741. ZoneName := "The Clown's Pocket"
  7742. }
  7743. 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)
  7744. {
  7745. ZoneName := "Idlewood"
  7746. }
  7747. 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)
  7748. {
  7749. ZoneName := "Montgomery Intersection"
  7750. }
  7751. 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)
  7752. {
  7753. ZoneName := "Willowfield"
  7754. }
  7755. 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)
  7756. {
  7757. ZoneName := "Temple"
  7758. }
  7759. 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)
  7760. {
  7761. ZoneName := "Prickle Pine"
  7762. }
  7763. 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)
  7764. {
  7765. ZoneName := "Los Santos International"
  7766. }
  7767. 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)
  7768. {
  7769. ZoneName := "Garver Bridge"
  7770. }
  7771. 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)
  7772. {
  7773. ZoneName := "Garver Bridge"
  7774. }
  7775. 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)
  7776. {
  7777. ZoneName := "Kincaid Bridge"
  7778. }
  7779. 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)
  7780. {
  7781. ZoneName := "Kincaid Bridge"
  7782. }
  7783. 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)
  7784. {
  7785. ZoneName := "Verona Beach"
  7786. }
  7787. 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)
  7788. {
  7789. ZoneName := "Verdant Bluffs"
  7790. }
  7791. 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)
  7792. {
  7793. ZoneName := "Vinewood"
  7794. }
  7795. 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)
  7796. {
  7797. ZoneName := "Vinewood"
  7798. }
  7799. 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)
  7800. {
  7801. ZoneName := "Commerce"
  7802. }
  7803. 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)
  7804. {
  7805. ZoneName := "Market"
  7806. }
  7807. 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)
  7808. {
  7809. ZoneName := "Rockshore West"
  7810. }
  7811. 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)
  7812. {
  7813. ZoneName := "Julius Thruway North"
  7814. }
  7815. 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)
  7816. {
  7817. ZoneName := "East Beach"
  7818. }
  7819. 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)
  7820. {
  7821. ZoneName := "Fallow Bridge"
  7822. }
  7823. 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)
  7824. {
  7825. ZoneName := "Willowfield"
  7826. }
  7827. 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)
  7828. {
  7829. ZoneName := "Chinatown"
  7830. }
  7831. 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)
  7832. {
  7833. ZoneName := "El Castillo del Diablo"
  7834. }
  7835. 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)
  7836. {
  7837. ZoneName := "Ocean Docks"
  7838. }
  7839. 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)
  7840. {
  7841. ZoneName := "Easter Bay Chemicals"
  7842. }
  7843. 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)
  7844. {
  7845. ZoneName := "The Visage"
  7846. }
  7847. 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)
  7848. {
  7849. ZoneName := "Ocean Flats"
  7850. }
  7851. 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)
  7852. {
  7853. ZoneName := "Richman"
  7854. }
  7855. 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)
  7856. {
  7857. ZoneName := "Green Palms"
  7858. }
  7859. 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)
  7860. {
  7861. ZoneName := "Richman"
  7862. }
  7863. 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)
  7864. {
  7865. ZoneName := "Starfish Casino"
  7866. }
  7867. 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)
  7868. {
  7869. ZoneName := "East Beach"
  7870. }
  7871. 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)
  7872. {
  7873. ZoneName := "Jefferson"
  7874. }
  7875. 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)
  7876. {
  7877. ZoneName := "Downtown Los Santos"
  7878. }
  7879. 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)
  7880. {
  7881. ZoneName := "Downtown Los Santos"
  7882. }
  7883. 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)
  7884. {
  7885. ZoneName := "Garver Bridge"
  7886. }
  7887. 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)
  7888. {
  7889. ZoneName := "Julius Thruway South"
  7890. }
  7891. 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)
  7892. {
  7893. ZoneName := "East Los Santos"
  7894. }
  7895. 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)
  7896. {
  7897. ZoneName := "Greenglass College"
  7898. }
  7899. 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)
  7900. {
  7901. ZoneName := "Las Colinas"
  7902. }
  7903. 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)
  7904. {
  7905. ZoneName := "Mulholland"
  7906. }
  7907. 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)
  7908. {
  7909. ZoneName := "Ocean Docks"
  7910. }
  7911. 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)
  7912. {
  7913. ZoneName := "East Los Santos"
  7914. }
  7915. 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)
  7916. {
  7917. ZoneName := "Ganton"
  7918. }
  7919. 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)
  7920. {
  7921. ZoneName := "Avispa Country Club"
  7922. }
  7923. 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)
  7924. {
  7925. ZoneName := "Willowfield"
  7926. }
  7927. 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)
  7928. {
  7929. ZoneName := "Esplanade North"
  7930. }
  7931. 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)
  7932. {
  7933. ZoneName := "The High Roller"
  7934. }
  7935. 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)
  7936. {
  7937. ZoneName := "Ocean Docks"
  7938. }
  7939. 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)
  7940. {
  7941. ZoneName := "Last Dime Motel"
  7942. }
  7943. 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)
  7944. {
  7945. ZoneName := "Bayside Marina"
  7946. }
  7947. 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)
  7948. {
  7949. ZoneName := "King's"
  7950. }
  7951. 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)
  7952. {
  7953. ZoneName := "El Corona"
  7954. }
  7955. 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)
  7956. {
  7957. ZoneName := "Blackfield Chapel"
  7958. }
  7959. 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)
  7960. {
  7961. ZoneName := "The Pink Swan"
  7962. }
  7963. 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)
  7964. {
  7965. ZoneName := "Julius Thruway West"
  7966. }
  7967. 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)
  7968. {
  7969. ZoneName := "Los Flores"
  7970. }
  7971. 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)
  7972. {
  7973. ZoneName := "The Visage"
  7974. }
  7975. 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)
  7976. {
  7977. ZoneName := "Prickle Pine"
  7978. }
  7979. 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)
  7980. {
  7981. ZoneName := "Verona Beach"
  7982. }
  7983. 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)
  7984. {
  7985. ZoneName := "Robada Intersection"
  7986. }
  7987. 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)
  7988. {
  7989. ZoneName := "Linden Side"
  7990. }
  7991. 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)
  7992. {
  7993. ZoneName := "Ocean Docks"
  7994. }
  7995. 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)
  7996. {
  7997. ZoneName := "Willowfield"
  7998. }
  7999. 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)
  8000. {
  8001. ZoneName := "King's"
  8002. }
  8003. 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)
  8004. {
  8005. ZoneName := "Commerce"
  8006. }
  8007. 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)
  8008. {
  8009. ZoneName := "Mulholland"
  8010. }
  8011. 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)
  8012. {
  8013. ZoneName := "Marina"
  8014. }
  8015. 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)
  8016. {
  8017. ZoneName := "Battery Point"
  8018. }
  8019. 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)
  8020. {
  8021. ZoneName := "The Four Dragons Casino"
  8022. }
  8023. 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)
  8024. {
  8025. ZoneName := "Blackfield"
  8026. }
  8027. 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)
  8028. {
  8029. ZoneName := "Julius Thruway North"
  8030. }
  8031. 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)
  8032. {
  8033. ZoneName := "Yellow Bell Gol Course"
  8034. }
  8035. 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)
  8036. {
  8037. ZoneName := "Idlewood"
  8038. }
  8039. 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)
  8040. {
  8041. ZoneName := "Redsands West"
  8042. }
  8043. 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)
  8044. {
  8045. ZoneName := "Doherty"
  8046. }
  8047. 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)
  8048. {
  8049. ZoneName := "Hilltop Farm"
  8050. }
  8051. 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)
  8052. {
  8053. ZoneName := "Las Barrancas"
  8054. }
  8055. 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)
  8056. {
  8057. ZoneName := "Pirates in Men's Pants"
  8058. }
  8059. 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)
  8060. {
  8061. ZoneName := "City Hall"
  8062. }
  8063. 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)
  8064. {
  8065. ZoneName := "Avispa Country Club"
  8066. }
  8067. 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)
  8068. {
  8069. ZoneName := "The Strip"
  8070. }
  8071. 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)
  8072. {
  8073. ZoneName := "Hashbury"
  8074. }
  8075. 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)
  8076. {
  8077. ZoneName := "Los Santos International"
  8078. }
  8079. 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)
  8080. {
  8081. ZoneName := "Whitewood Estates"
  8082. }
  8083. 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)
  8084. {
  8085. ZoneName := "Sherman Reservoir"
  8086. }
  8087. 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)
  8088. {
  8089. ZoneName := "El Corona"
  8090. }
  8091. 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)
  8092. {
  8093. ZoneName := "Downtown"
  8094. }
  8095. 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)
  8096. {
  8097. ZoneName := "Foster Valley"
  8098. }
  8099. 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)
  8100. {
  8101. ZoneName := "Las Payasadas"
  8102. }
  8103. 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)
  8104. {
  8105. ZoneName := "Valle Ocultado"
  8106. }
  8107. 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)
  8108. {
  8109. ZoneName := "Blackfield Intersection"
  8110. }
  8111. 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)
  8112. {
  8113. ZoneName := "Ganton"
  8114. }
  8115. 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)
  8116. {
  8117. ZoneName := "Easter Bay Airport"
  8118. }
  8119. 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)
  8120. {
  8121. ZoneName := "Redsands East"
  8122. }
  8123. 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)
  8124. {
  8125. ZoneName := "Esplanade East"
  8126. }
  8127. 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)
  8128. {
  8129. ZoneName := "Caligula's Palace"
  8130. }
  8131. 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)
  8132. {
  8133. ZoneName := "Royal Casino"
  8134. }
  8135. 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)
  8136. {
  8137. ZoneName := "Richman"
  8138. }
  8139. 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)
  8140. {
  8141. ZoneName := "Starfish Casino"
  8142. }
  8143. 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)
  8144. {
  8145. ZoneName := "Mulholland"
  8146. }
  8147. 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)
  8148. {
  8149. ZoneName := "Downtown"
  8150. }
  8151. 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)
  8152. {
  8153. ZoneName := "Hankypanky Point"
  8154. }
  8155. 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)
  8156. {
  8157. ZoneName := "K.A.C.C. Military Fuels"
  8158. }
  8159. 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)
  8160. {
  8161. ZoneName := "Harry Gold Parkway"
  8162. }
  8163. 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)
  8164. {
  8165. ZoneName := "Bayside Tunnel"
  8166. }
  8167. 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)
  8168. {
  8169. ZoneName := "Ocean Docks"
  8170. }
  8171. 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)
  8172. {
  8173. ZoneName := "Richman"
  8174. }
  8175. 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)
  8176. {
  8177. ZoneName := "Randolph Industrial Estate"
  8178. }
  8179. 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)
  8180. {
  8181. ZoneName := "East Beach"
  8182. }
  8183. 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)
  8184. {
  8185. ZoneName := "Flint Water"
  8186. }
  8187. 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)
  8188. {
  8189. ZoneName := "Blueberry"
  8190. }
  8191. 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)
  8192. {
  8193. ZoneName := "Linden Station"
  8194. }
  8195. 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)
  8196. {
  8197. ZoneName := "Glen Park"
  8198. }
  8199. 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)
  8200. {
  8201. ZoneName := "Downtown"
  8202. }
  8203. 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)
  8204. {
  8205. ZoneName := "Redsands West"
  8206. }
  8207. 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)
  8208. {
  8209. ZoneName := "Richman"
  8210. }
  8211. 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)
  8212. {
  8213. ZoneName := "Gant Bridge"
  8214. }
  8215. 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)
  8216. {
  8217. ZoneName := "Lil' Probe Inn"
  8218. }
  8219. 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)
  8220. {
  8221. ZoneName := "Flint Intersection"
  8222. }
  8223. 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)
  8224. {
  8225. ZoneName := "Las Colinas"
  8226. }
  8227. 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)
  8228. {
  8229. ZoneName := "Sobell Rail Yards"
  8230. }
  8231. 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)
  8232. {
  8233. ZoneName := "The Emerald Isle"
  8234. }
  8235. 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)
  8236. {
  8237. ZoneName := "El Castillo del Diablo"
  8238. }
  8239. 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)
  8240. {
  8241. ZoneName := "Santa Flora"
  8242. }
  8243. 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)
  8244. {
  8245. ZoneName := "Playa del Seville"
  8246. }
  8247. 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)
  8248. {
  8249. ZoneName := "Market"
  8250. }
  8251. 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)
  8252. {
  8253. ZoneName := "Queens"
  8254. }
  8255. 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)
  8256. {
  8257. ZoneName := "Pilson Intersection"
  8258. }
  8259. 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)
  8260. {
  8261. ZoneName := "Spinybed"
  8262. }
  8263. 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)
  8264. {
  8265. ZoneName := "Pilgrim"
  8266. }
  8267. 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)
  8268. {
  8269. ZoneName := "Blackfield"
  8270. }
  8271. 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)
  8272. {
  8273. ZoneName := "'The Big Ear'"
  8274. }
  8275. 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)
  8276. {
  8277. ZoneName := "Dillimore"
  8278. }
  8279. 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)
  8280. {
  8281. ZoneName := "El Quebrados"
  8282. }
  8283. 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)
  8284. {
  8285. ZoneName := "Esplanade North"
  8286. }
  8287. 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)
  8288. {
  8289. ZoneName := "Easter Bay Airport"
  8290. }
  8291. 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)
  8292. {
  8293. ZoneName := "Fisher's Lagoon"
  8294. }
  8295. 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)
  8296. {
  8297. ZoneName := "Mulholland"
  8298. }
  8299. 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)
  8300. {
  8301. ZoneName := "East Beach"
  8302. }
  8303. 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)
  8304. {
  8305. ZoneName := "San Andreas Sound"
  8306. }
  8307. 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)
  8308. {
  8309. ZoneName := "Shady Creeks"
  8310. }
  8311. 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)
  8312. {
  8313. ZoneName := "Market"
  8314. }
  8315. 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)
  8316. {
  8317. ZoneName := "Rockshore West"
  8318. }
  8319. 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)
  8320. {
  8321. ZoneName := "Prickle Pine"
  8322. }
  8323. 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)
  8324. {
  8325. ZoneName := "Easter Basin"
  8326. }
  8327. 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)
  8328. {
  8329. ZoneName := "Leafy Hollow"
  8330. }
  8331. 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)
  8332. {
  8333. ZoneName := "LVA Freight Depot"
  8334. }
  8335. 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)
  8336. {
  8337. ZoneName := "Prickle Pine"
  8338. }
  8339. 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)
  8340. {
  8341. ZoneName := "Blueberry"
  8342. }
  8343. 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)
  8344. {
  8345. ZoneName := "El Castillo del Diablo"
  8346. }
  8347. 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)
  8348. {
  8349. ZoneName := "Downtown"
  8350. }
  8351. 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)
  8352. {
  8353. ZoneName := "Rockshore East"
  8354. }
  8355. 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)
  8356. {
  8357. ZoneName := "San Fierro Bay"
  8358. }
  8359. 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)
  8360. {
  8361. ZoneName := "Paradiso"
  8362. }
  8363. 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)
  8364. {
  8365. ZoneName := "The Camel's Toe"
  8366. }
  8367. 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)
  8368. {
  8369. ZoneName := "Old Venturas Strip"
  8370. }
  8371. 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)
  8372. {
  8373. ZoneName := "Juniper Hill"
  8374. }
  8375. 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)
  8376. {
  8377. ZoneName := "Juniper Hollow"
  8378. }
  8379. 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)
  8380. {
  8381. ZoneName := "Roca Escalante"
  8382. }
  8383. 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)
  8384. {
  8385. ZoneName := "Julius Thruway East"
  8386. }
  8387. 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)
  8388. {
  8389. ZoneName := "Verona Beach"
  8390. }
  8391. 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)
  8392. {
  8393. ZoneName := "Foster Valley"
  8394. }
  8395. 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)
  8396. {
  8397. ZoneName := "Arco del Oeste"
  8398. }
  8399. 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)
  8400. {
  8401. ZoneName := "Fallen Tree"
  8402. }
  8403. 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)
  8404. {
  8405. ZoneName := "The Farm"
  8406. }
  8407. 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)
  8408. {
  8409. ZoneName := "The Sherman Dam"
  8410. }
  8411. 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)
  8412. {
  8413. ZoneName := "Esplanade North"
  8414. }
  8415. 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)
  8416. {
  8417. ZoneName := "Financial"
  8418. }
  8419. 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)
  8420. {
  8421. ZoneName := "Garcia"
  8422. }
  8423. 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)
  8424. {
  8425. ZoneName := "Montgomery"
  8426. }
  8427. 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)
  8428. {
  8429. ZoneName := "Creek"
  8430. }
  8431. 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)
  8432. {
  8433. ZoneName := "Los Santos International"
  8434. }
  8435. 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)
  8436. {
  8437. ZoneName := "Santa Maria Beach"
  8438. }
  8439. 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)
  8440. {
  8441. ZoneName := "Mulholland Intersection"
  8442. }
  8443. 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)
  8444. {
  8445. ZoneName := "Angel Pine"
  8446. }
  8447. 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)
  8448. {
  8449. ZoneName := "Verdant Meadows"
  8450. }
  8451. 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)
  8452. {
  8453. ZoneName := "Octane Springs"
  8454. }
  8455. 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)
  8456. {
  8457. ZoneName := "Come-A-Lot"
  8458. }
  8459. 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)
  8460. {
  8461. ZoneName := "Redsands West"
  8462. }
  8463. 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)
  8464. {
  8465. ZoneName := "Santa Maria Beach"
  8466. }
  8467. 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)
  8468. {
  8469. ZoneName := "Verdant Bluffs"
  8470. }
  8471. 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)
  8472. {
  8473. ZoneName := "Las Venturas Airport"
  8474. }
  8475. 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)
  8476. {
  8477. ZoneName := "Flint Range"
  8478. }
  8479. 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)
  8480. {
  8481. ZoneName := "Verdant Bluffs"
  8482. }
  8483. 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)
  8484. {
  8485. ZoneName := "Palomino Creek"
  8486. }
  8487. 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)
  8488. {
  8489. ZoneName := "Ocean Docks"
  8490. }
  8491. 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)
  8492. {
  8493. ZoneName := "Easter Bay Airport"
  8494. }
  8495. 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)
  8496. {
  8497. ZoneName := "Whitewood Estates"
  8498. }
  8499. 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)
  8500. {
  8501. ZoneName := "Calton Heights"
  8502. }
  8503. 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)
  8504. {
  8505. ZoneName := "Easter Basin"
  8506. }
  8507. 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)
  8508. {
  8509. ZoneName := "Los Santos Inlet"
  8510. }
  8511. 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)
  8512. {
  8513. ZoneName := "Doherty"
  8514. }
  8515. 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)
  8516. {
  8517. ZoneName := "Mount Chiliad"
  8518. }
  8519. 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)
  8520. {
  8521. ZoneName := "Fort Carson"
  8522. }
  8523. 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)
  8524. {
  8525. ZoneName := "Foster Valley"
  8526. }
  8527. 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)
  8528. {
  8529. ZoneName := "Ocean Flats"
  8530. }
  8531. 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)
  8532. {
  8533. ZoneName := "Fern Ridge"
  8534. }
  8535. 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)
  8536. {
  8537. ZoneName := "Bayside"
  8538. }
  8539. 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)
  8540. {
  8541. ZoneName := "Las Venturas Airport"
  8542. }
  8543. 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)
  8544. {
  8545. ZoneName := "Blueberry Acres"
  8546. }
  8547. 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)
  8548. {
  8549. ZoneName := "Palisades"
  8550. }
  8551. 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)
  8552. {
  8553. ZoneName := "North Rock"
  8554. }
  8555. 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)
  8556. {
  8557. ZoneName := "Hunter Quarry"
  8558. }
  8559. 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)
  8560. {
  8561. ZoneName := "Los Santos International"
  8562. }
  8563. 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)
  8564. {
  8565. ZoneName := "Missionary Hill"
  8566. }
  8567. 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)
  8568. {
  8569. ZoneName := "San Fierro Bay"
  8570. }
  8571. 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)
  8572. {
  8573. ZoneName := "Restricted Area"
  8574. }
  8575. 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)
  8576. {
  8577. ZoneName := "Mount Chiliad"
  8578. }
  8579. 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)
  8580. {
  8581. ZoneName := "Mount Chiliad"
  8582. }
  8583. 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)
  8584. {
  8585. ZoneName := "Easter Bay Airport"
  8586. }
  8587. 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)
  8588. {
  8589. ZoneName := "The Panopticon"
  8590. }
  8591. 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)
  8592. {
  8593. ZoneName := "Shady Creeks"
  8594. }
  8595. 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)
  8596. {
  8597. ZoneName := "Back o Beyond"
  8598. }
  8599. 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)
  8600. {
  8601. ZoneName := "Mount Chiliad"
  8602. }
  8603. 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)
  8604. {
  8605. ZoneName := "Tierra Robada"
  8606. }
  8607. 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)
  8608. {
  8609. ZoneName := "Flint County"
  8610. }
  8611. else
  8612. {
  8613. ZoneName := "Unbekannt"
  8614. }
  8615. return ZoneName
  8616. }
  8617.  
  8618. OpenMemoryfromTitle(title,right=0x1F0FFF)
  8619. {
  8620. WinGet,PID,PID,%title%
  8621. HWND := DllCall("OpenProcess","Uint",right,"int",0,"int",PID)
  8622. return HWND
  8623. }
  8624.  
  8625. CloseMemory(hwnd)
  8626. {
  8627. return DllCall("CloseHandle", "int", hwnd)
  8628. }
  8629.  
  8630. ReadMemory(hwnd,address,datatype="int",length=4,offset=0)
  8631. {
  8632. VarSetCapacity(readvalue,length, 0)
  8633. DllCall("ReadProcessMemory","Uint",hwnd,"Uint",address+offset,"Str",readvalue,"Uint",length,"Uint *",0)
  8634. finalvalue := NumGet(readvalue,0,datatype)
  8635. return finalvalue
  8636. }
  8637.  
  8638. :?:/rmpos::
  8639. Suspend Permit
  8640. exe := OpenMemoryfromTitle("GTA:SA:MP")
  8641. posX := ReadMemory(exe,0xC7DEC8,"Float")
  8642. posY := ReadMemory(exe,0xC7DECC,"Float")
  8643. posZ := ReadMemory(exe, 0xC7DED0,"Float")
  8644. CloseMemory(exe)
  8645. posX := Floor(posX)
  8646. posY := Floor(posY)
  8647. posZ := Floor(posZ)
  8648. Zone := GetZoneByCoords(posX, posY, posZ)
  8649. City := GetCityByCoords(posX, posY, posZ)
  8650. Entfernung := GetDistanceFromPoint(posX, posY, posZ)
  8651. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Der Marker befindet sich in {FFBB00}" . Zone . "{FFFFFF}, {FFBB00}" . City . "{FFFFFF}.")
  8652. AddChatMessage(0x2090B3, "|Staatsgewalt| {FFFFFF}Die Entfernung beträgt {FFBB00}" . Entfernung . "{FFFFFF}m.")
  8653. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement