Advertisement
Guest User

UnivresalBinder 2.2.8

a guest
Mar 20th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;<COMPILER: v1.1.23.03>
  2. #IfWinActive, GTA:SA:MP
  3. #UseHook
  4. #Persistent
  5. #SingleInstance force
  6. Version=2.2.8
  7. API=1.0
  8. Index = %A_AppData%\.UniversalBinder
  9. Pictures = %A_AppData%\.UniversalBinder\Pictures
  10. Sounds = %A_AppData%\.UniversalBinder\Sounds
  11. Settings = %A_AppData%\.UniversalBinder\Settings.ini
  12. Hotkeys = %A_AppData%\.UniversalBinder\Hotkeys.ini
  13. Overlays = %A_AppData%\.UniversalBinder\Overlays.ini
  14. Tagesstatistik = %A_AppData%\.UniversalBinder\Tagesstatistik.ini
  15. Abbrechen := 0
  16. Speichern := 0
  17. LowHPsoundan = 0
  18. tot := 0
  19. Freigabe := 1
  20. caID = Niemand
  21. SpeedCheckStatus = 0
  22. SpeedOnOff = 0
  23. VehSpeedMax = 0
  24. Paintballmodus = 0
  25. Killstreak = 0
  26. Fishzeit = 0
  27. Overlay = 0
  28. Menu_Overlay = 0
  29. Menu_HP = 0
  30. Menu_Ort = 0
  31. switcher = 2
  32. Fishoverlay := "Du kannst fischen"
  33. Erstehilfeoverlay := "Nicht gesperrt"
  34. KrankenhausOverlay := "Nicht in Behandlung"
  35. CheckURL= http://famouzzsoft.square7.ch/UniversalBinder/Version.txt
  36. CheckURL2= http://famouzzsoft.square7.ch/UniversalBinder/API.txt
  37. NeueVersion:=UrlDownloadToVar(CheckURL)
  38. NeueAPI:=UrlDownloadToVar(CheckURL2)
  39. IfNotExist, %A_AppData%\.UniversalBinder
  40. {
  41. FileCreateDir, %A_AppData%\.UniversalBinder
  42. }
  43. IfNotExist, %A_AppData%\.UniversalBinder\Sounds
  44. {
  45. FileCreateDir, %A_AppData%\.UniversalBinder\Sounds
  46. }
  47. IfNotExist, %A_AppData%\.UniversalBinder\Pictures
  48. {
  49. FileCreateDir, %A_AppData%\.UniversalBinder\Pictures
  50. }
  51. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\background.jpg
  52. {
  53. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/background.jpg, background.jpg
  54. FileMove, background.jpg, %Pictures%\background.jpg
  55. }
  56. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\upbutton.png
  57. {
  58. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/upbutton.png, upbutton.png
  59. FileMove, upbutton.png, %Pictures%\upbutton.png
  60. }
  61. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\dpbutton.png
  62. {
  63. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/dpbutton.png, dpbutton.png
  64. FileMove, dpbutton.png, %Pictures%\dpbutton.png
  65. }
  66. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\rpbutton.png
  67. {
  68. URLDownloadToFile,  http://famouzzsoft.square7.ch/UniversalBinder/Pictures/rpbutton.png, rpbutton.png
  69. FileMove, rpbutton.png, %Pictures%\rpbutton.png
  70. }
  71. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\lpbutton.png
  72. {
  73. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/lpbutton.png, lpbutton.png
  74. FileMove, lpbutton.png, %Pictures%\lpbutton.png
  75. }
  76. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\Link.png
  77. {
  78. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/Link.png, Link.png
  79. FileMove, Link.png, %Pictures%\Link.png
  80. }
  81. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\soundwahl.png
  82. {
  83. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/soundwahl.png, soundwahl.png
  84. FileMove, soundwahl.png, %Pictures%\soundwahl.png
  85. }
  86. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\anwaltpic.jpg
  87. {
  88. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/anwaltpic.jpg, anwaltpic.jpg
  89. FileMove, anwaltpic.jpg, %Pictures%\anwaltpic.jpg
  90. }
  91. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\busfahrerpic.jpg
  92. {
  93. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/busfahrerpic.jpg, busfahrerpic.jpg
  94. FileMove, busfahrerpic.jpg, %Pictures%\busfahrerpic.jpg
  95. }
  96. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\detektivpic.jpg
  97. {
  98. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/detektivpic.jpg, detektivpic.jpg
  99. FileMove, detektivpic.jpg, %Pictures%\detektivpic.jpg
  100. }
  101. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\drogendealerpic.jpg
  102. {
  103. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/drogendealerpic.jpg, drogendealerpic.jpg
  104. FileMove, drogendealerpic.jpg, %Pictures%\drogendealerpic.jpg
  105. }
  106. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\hochseefischerpic.jpg
  107. {
  108. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/hochseefischerpic.jpg, hochseefischerpic.jpg
  109. FileMove, hochseefischerpic.jpg, %Pictures%\hochseefischerpic.jpg
  110. }
  111. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\mechatronikerpic.jpg
  112. {
  113. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/mechatronikerpic.jpg, mechatronikerpic.jpg
  114. FileMove, mechatronikerpic.jpg, %Pictures%\mechatronikerpic.jpg
  115. }
  116. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\muellmannpic.jpg
  117. {
  118. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/muellmannpic.jpg, muellmannpic.jpg
  119. FileMove, muellmannpic.jpg, %Pictures%\muellmannpic.jpg
  120. }
  121. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\pilotpic.jpg
  122. {
  123. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/pilotpic.jpg, pilotpic.jpg
  124. FileMove, pilotpic.jpg, %Pictures%\pilotpic.jpg
  125. }
  126. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\truckerpic.jpg
  127. {
  128. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/truckerpic.jpg, truckerpic.jpg
  129. FileMove, truckerpic.jpg, %Pictures%\truckerpic.jpg
  130. }
  131. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\waffendealerpic.jpg
  132. {
  133. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/waffendealerpic.jpg, waffendealerpic.jpg
  134. FileMove, waffendealerpic.jpg, %Pictures%\waffendealerpic.jpg
  135. }
  136. IfNotExist, %A_AppData%\.UniversalBinder\Pictures\zugfahrerpic.jpg
  137. {
  138. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/zugfahrerpic.jpg, zugfahrerpic.jpg
  139. FileMove, zugfahrerpic.jpg, %Pictures%\zugfahrerpic.jpg
  140. }
  141. IfNotExist, %A_AppData%\.UniversalBinder\Sounds\Call.mp3
  142. {
  143. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/Call.mp3, Call.mp3
  144. FileMove, Call.mp3, %Sounds%\Call.mp3
  145. }
  146. IfNotExist, %A_AppData%\.UniversalBinder\Sounds\SMS.mp3
  147. {
  148. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/SMS.mp3, SMS.mp3
  149. FileMove, SMS.mp3, %Sounds%\SMS.mp3
  150. }
  151. IfNotExist, %A_AppData%\.UniversalBinder\Sounds\LowHP.mp3
  152. {
  153. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/LowHP.mp3, LowHP.mp3
  154. FileMove, LowHP.mp3, %Sounds%\LowHP.mp3
  155. }
  156. IfNotExist, %A_AppData%\.UniversalBinder\Sounds\Kill.mp3
  157. {
  158. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/Kill.mp3, Kill.mp3
  159. FileMove, Kill.mp3, %Sounds%\Kill.mp3
  160. }
  161. IfNotExist, %A_AppData%\.UniversalBinder\Sounds\Tod.mp3
  162. {
  163. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/Tod.mp3, Tod.mp3
  164. FileMove, Tod.mp3, %Sounds%\Tod.mp3
  165. }
  166. IfExist, Update.bat
  167. {
  168. FileDelete, Update.bat
  169. }
  170. IfNotExist, %Hotkeys%
  171. {
  172. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl1
  173. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl2
  174. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl3
  175. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl4
  176. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl5
  177. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl6
  178. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl7
  179. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl8
  180. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl9
  181. IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl0
  182. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad1
  183. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad2
  184. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad3
  185. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad4
  186. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad5
  187. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad6
  188. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad7
  189. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad8
  190. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad9
  191. IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad0
  192. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF1
  193. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF2
  194. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF3
  195. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF4
  196. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF5
  197. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF6
  198. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF7
  199. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF8
  200. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF9
  201. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF10
  202. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF11
  203. IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF12
  204. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste1I
  205. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste1B
  206. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste2I
  207. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste2B
  208. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste3I
  209. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste3B
  210. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste4I
  211. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste4B
  212. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste5I
  213. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste5B
  214. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste6I
  215. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste6B
  216. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste7I
  217. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste7B
  218. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste8I
  219. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste8B
  220. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste9I
  221. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste9B
  222. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste10I
  223. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste10B
  224. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste11I
  225. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste11B
  226. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste12I
  227. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste12B
  228. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste13I
  229. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste13B
  230. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste14I
  231. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste14B
  232. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste15I
  233. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste15B
  234. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste16I
  235. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste16B
  236. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste17I
  237. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste17B
  238. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste18I
  239. IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste18B
  240. IniWrite, "" ,%Hotkeys%, Zusatz, HKPause
  241. IniWrite, "" ,%Hotkeys%, Zusatz, HKWiederholen
  242. IniWrite, "" ,%Hotkeys%, Zusatz, HKHP
  243. IniWrite, "" ,%Hotkeys%, Zusatz, HKHilfe
  244. IniWrite, Benutzername, %Settings%, Einstellungen, Benutzername
  245. IniWrite, Passwort, %Settings%, Einstellungen, Passwort
  246. IniWrite, 1, %Settings%, Einstellungen, Job
  247. IniWrite, 0, %Settings%, Einstellungen, Detektivskill
  248. IniWrite, 0, %Settings%, Einstellungen, Anwaltskill
  249. IniWrite, 0, %Settings%, Einstellungen, Busfahrerskill
  250. IniWrite, TS-Name, %Settings%, Einstellungen, TSName
  251. IniWrite, 0, %Settings%, Einstellungen, admin
  252. IniWrite, 0, %Settings%, Einstellungen, Chatlogsaver
  253. IniWrite, 0, %Settings%, Einstellungen, AntiSpam
  254. IniWrite, 0, %Settings%, Einstellungen, Gehaltsscheck
  255. IniWrite, 0, %Settings%, Einstellungen, GangZaehler
  256. IniWrite, 0, %Settings%, Einstellungen, Killzähler
  257. IniWrite, 0, %Settings%, Einstellungen, Todestähler
  258. IniWrite, 0, %Settings%, Einstellungen, Lock
  259. IniWrite, 0, %Settings%, Einstellungen, TankZoll
  260. IniWrite, "", %Settings%, Killzähler, KillzählerSpruch
  261. IniWrite, "", %Settings%, Killzähler, GFKillzählerSpruch
  262. IniWrite, "", %Settings%, Todeszähler, Todeszählerspruch
  263. IniWrite, "", %Settings%, Zusatz, Pickup
  264. IniWrite, "", %Settings%, Zusatz, Hangup
  265. IniWrite, "", %Hotkeys%, JobHotkey, HotKey1
  266. IniWrite, "", %Hotkeys%, JobHotkey, HotKey2
  267. IniWrite, "", %Hotkeys%, JobHotkey, HotKey3
  268. IniWrite, "", %Hotkeys%, JobHotkey, HotKey4
  269. IniWrite, "", %Hotkeys%, JobHotkey, HotKey5
  270. }
  271. IfNotExist, API.dll
  272. {
  273. MsgBox, 64, Fehler, Die API.dll wurde nicht gefunden. Sie wird nun heruntergeladen.
  274. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/API.dll, API.dll
  275. Sleep, 200
  276. FileGetSize, API_size, API.dll, k
  277. if(API_size < 488)
  278. {
  279. MsgBox, 16, Fehler, Beim Download der API.dll ist ein Fehler aufgetreten. Bitte überprüfe deine Internetverbindung und stelle sicher, dass dein Virenschutz und deine Firewall den Keybinder nicht blockieren. `nDer Keybinder wird nun beendet.
  280. ExitApp
  281. }
  282. MsgBox, 64, Erfolgreich, Die API.dll wurde erfolgreich heruntergeladen. Der Keybinder wird nun neu gestartet.
  283. Reload
  284. }
  285. IfNotExist, dx9_overlay.dll
  286. {
  287. MsgBox, 64, Fehler, Die dx9_overlay.dll wurde nicht gefunden. Sie wird nun heruntergeladen.
  288. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/dx9_overlay.dll, dx9_overlay.dll
  289. Sleep, 1000
  290. FileGetSize, overlayapi_size, dx9_overlay.dll, k
  291. if(overlayapi_size < 500)
  292. {
  293. MsgBox, 16, Fehler, Beim Download der dx9_overlay.dll ist ein Fehler aufgetreten. Bitte überprüfe deine Internetverbindung und stelle sicher, dass dein Virenschutz und deine Firewall den Keybinder nicht blockieren. `nDer Keybinder wird nun beendet.
  294. ExitApp
  295. }
  296. MsgBox, 64, Erfolgreich, Die dx9_overlay.dll wurde erfolgreich heruntergeladen. Der Keybinder wird nun neu gestartet.
  297. Reload
  298. }
  299. #NoEnv
  300. API_ERROR_NONE                              := 0
  301. API_ERROR_SNAPSHOT_FAILED                   := 1
  302. API_ERROR_SAMP_NOT_FOUND                    := 2
  303. API_ERROR_REMOTE_MEMORY_ALLOCATION_FAILED   := 3
  304. API_ERROR_WRITEPROCESSMEMORY_FAILED         := 4
  305. API_ERROR_GETPROCADDRESS_FAILED             := 5
  306. API_ERROR_REMOTETHREAD_FAILED               := 6
  307. API_ERROR_INVALID_GTA_HANDLE                := 7
  308. API_ERROR_PIPE_DOESNT_RESPOND               := 8
  309. API_ERROR_STRING_TOO_LONG                   := 9
  310. PLAYER_STATE_LEAVING_VEHICLE                := 0
  311. PLAYER_STATE_NORMAL                         := 1
  312. PLAYER_STATE_DRIVING                        := 50
  313. PLAYER_STATE_DYING                          := 54
  314. PLAYER_STATE_DEAD                           := 55
  315. CALLBACK_HEAL                               := 0
  316. CALLBACK_ARMOR                              := 1
  317. CALLBACK_POSITION                           := 2
  318. CALLBACK_ENTEREXIT                          := 3
  319. CALLBACK_VEHICLE_ENTEREXIT                  := 4
  320. CALLBACK_VEHICLE_HEALTH                     := 5
  321. CALLBACK_VEHICLE_ENGINE                     := 6
  322. CALLBACK_VEHICLE_LOCK                       := 7
  323. CALLBACK_VEHICLE_SPEED                      := 8
  324. CALLBACK_WEAPON_CLIP                        := 9
  325. CALLBACK_WEAPON_TOTALCLIP                   := 10
  326. CALLBACK_WEAPON_SWITCH                      := 11
  327. CALLBACK_CHATLOG                            := 12
  328. PATH_API := RelToAbs(A_ScriptDir, "API.dll")
  329. hModule := DllCall("LoadLibrary", Str, PATH_API)
  330. if(hModule == -1 || hModule == 0)
  331. {
  332. MsgBox, 48, API - Fehler, Die API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
  333. ExitApp
  334. }
  335. ReadMemory_func         := DllCall("GetProcAddress", UInt, hModule, Str, "API_ReadMemory")
  336. WriteMemory_func        := DllCall("GetProcAddress", UInt, hModule, Str, "API_WriteMemory")
  337. GetBasePointer_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetBasePointer")
  338. GetCommandLine_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCommandLine")
  339. GetLastError_func       := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastError")
  340. SetLastError_func       := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetLastError")
  341. SendChat_func           := DllCall("GetProcAddress", UInt, hModule, Str, "API_SendChat")
  342. ShowGameText_func       := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowGameText")
  343. AddChatMessage_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_AddChatMessage")
  344. ShowDialog_func         := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowDialog")
  345. IsDialogOpen_func       := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsDialogOpen")
  346. GetLastDialogId_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastDialogId")
  347. GetLastDialogType_func  := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastDialogType")
  348. BlockChatInput_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_BlockChatInput")
  349. GetChatLine_func        := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLine")
  350. GetChatLineFromFile_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLineFromFile")
  351. IsChatOpen_func         := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsChatOpen")
  352. GetScreenSizeX_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeX")
  353. GetScreenSizeY_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeY")
  354. GetCurrentWeatherId_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeatherId")
  355. GetZoneName_func        := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneName")
  356. GetCityName_func        := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityName")
  357. GetZoneNameByCoords_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneNameByCoords")
  358. GetCityNameByCoords_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityNameByCoords")
  359. GetMarkerPos_func       := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetMarkerPos")
  360. GetLastMousePosOnMenuMap_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastMousePosOnMenuMap")
  361. GetMapMarkerPos_func        := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetMapMarkerPos")
  362. FindGroundZForPosition_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_FindGroundZForPosition")
  363. WorldToScreen_func  := DllCall("GetProcAddress", UInt, hModule, Str, "API_WorldToScreen")
  364. ScreenToWorld_func  := DllCall("GetProcAddress", UInt, hModule, Str, "API_ScreenToWorld")
  365. RegisterTextBind_func       := DllCall("GetProcAddress", UInt, hModule, Str, "API_RegisterTextBind")
  366. UnregisterTextBind_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterTextBind")
  367. UnregisterAllTextBinds_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterAllTextBinds")
  368. TextBindTimer_func      := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextBindTimer")
  369. IsMenuOpen_func         := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsMenuOpen")
  370. GetPlayerId_func        := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerId")
  371. GetPlayerName_func      := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerName")
  372. GetServerIp_func        := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerIp")
  373. GetServerPort_func      := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerPort")
  374. GetPlayerCPed_func      := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerCPed")
  375. GetPlayerHealth_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerHealth")
  376. GetPlayerArmor_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerArmor")
  377. GetPlayerMoney_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerMoney")
  378. GetPlayerWanteds_func   := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWanteds")
  379. GetPlayerPosition_func  := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPosition")
  380. IsPlayerInRangeOfPoint_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint")
  381. IsPlayerInRangeOfPoint2D_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint2D")
  382. IsPlayerInAnyInterior_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyInterior")
  383. IsPlayerFrozen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerFrozen")
  384. GetPlayerWeaponSlot_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponSlot")
  385. GetPlayerWeaponId_func  := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponId")
  386. GetPlayerWeaponName_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponName")
  387. GetPlayerWeaponClip_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponClip")
  388. GetPlayerWeaponTotalClip_func   := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponTotalClip")
  389. GetPlayerWeaponState_func   := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponState")
  390. GetPlayerState_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerState")
  391. GetVehiclePointer_func  := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehiclePointer")
  392. GetVehicleModelId_func      := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelId")
  393. GetVehicleModelName_func        := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelName")
  394. GetVehicleModelNameById_func        := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelNameById")
  395. GetVehicleType_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleType")
  396. GetVehicleHealth_func   := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHealth")
  397. GetVehicleRadioStation_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleRadioStation")
  398. GetVehicleRadioStationName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleRadioStationName")
  399. GetVehicleFreeSeats_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFreeSeats")
  400. GetVehicleSpeed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSpeed")
  401. GetVehicleFirstColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFirstColor")
  402. GetVehicleSecondColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSecondColor")
  403. GetVehicleColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColor")
  404. GetVehicleColorRGB_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColorRGB")
  405. GetVehicleColorARGB_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColorARGB")
  406. IsPlayerInAnyVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyVehicle")
  407. IsPlayerDriver_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerDriver")
  408. IsPlayerPassenger_func  := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerPassenger")
  409. IsVehicleSeatUsed_func  := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleSeatUsed")
  410. IsVehicleLocked_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleLocked")
  411. IsVehicleSirenEnabled_func  := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleSirenEnabled")
  412. IsVehicleHornEnabled_func   := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleHornEnabled")
  413. IsVehicleAlternateSirenEnabled_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleAlternateSirenEnabled")
  414. IsVehicleEngineEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleEngineEnabled")
  415. IsVehicleLightEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleLightEnabled")
  416. IsPlayerInCar_func      := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInCar")
  417. IsPlayerInPlane_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInPlane")
  418. IsPlayerInBoat_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInBoat")
  419. IsPlayerInTrain_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInTrain")
  420. IsPlayerInBike_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInBike")
  421. SetCallbackPointer_func     := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetCallbackPointer")
  422. UnSetCallbackPointer_func   := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetCallbackPointer")
  423. SetListenCallback_func      := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetListenCallback")
  424. UnSetListenCallback_func    := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetListenCallback")
  425. UnSetListenCallbackAll_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetListenCallbackAll")
  426. UpdateServerData_func           := DllCall("GetProcAddress", UInt, hModule, Str, "API_UpdateServerData")
  427. GetPlayerNameById_func          := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerNameById")
  428. GetPlayerIdByName_func          := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerIdByName")
  429. ReadMemory(addr, size, ByRef data)
  430. {
  431. global ReadMemory_func
  432. VarSetCapacity(data,size)
  433. res := DllCall(ReadMemory_func, UInt, addr, UInt, size, StrP, data)
  434. return res
  435. }
  436. WriteMemory(addr, size, data)
  437. {
  438. global WriteMemory_func
  439. res := DllCall(WriteMemory_func, UInt, addr, UInt, size, Str, data)
  440. return res
  441. }
  442. GetBasePointer(dll)
  443. {
  444. global GetBasePointer_func
  445. res :=DllCall(GetBasePointer_func, Str, dll)
  446. return res
  447. }
  448. GetCommandLine(ByRef line)
  449. {
  450. global GetCommandLine_func
  451. VarSetCapacity(line,512,0)
  452. res := DllCall(GetCommandLine_func, StrP, line)
  453. return res
  454. }
  455. GetLastError()
  456. {
  457. global GetLastError_func
  458. res:=DllCall(GetLastError_func)
  459. return res
  460. }
  461. SetLastError(error)
  462. {
  463. global SetLastError_func
  464. res := DllCall(SetLastError_func, Int, error)
  465. return res
  466. }
  467. SendChat(msg)
  468. {
  469. global SendChat_func
  470. res := DllCall(SendChat_func, Str, msg)
  471. return res
  472. }
  473. ShowGameText(str_Text, int_Time, int_Style)
  474. {
  475. global ShowGameText_func
  476. res := DllCall(ShowGameText_func,Str , str_Text, Int, int_Time, Int, int_Style)
  477. return res
  478. }
  479. AddChatMessage(int_Color, str_Text)
  480. {
  481. global AddChatMessage_func
  482. res := DllCall(AddChatMessage_func, Int, int_Color, Str, str_Text)
  483. return res
  484. }
  485. ShowDialog(style, caption, text, button)
  486. {
  487. global ShowDialog_func
  488. res := DllCall(ShowDialog_func, Int, style, Str, caption, Str, text, Str, button)
  489. return res
  490. }
  491. IsDialogOpen()
  492. {
  493. global IsDialogOpen_func
  494. res := DllCall(IsDialogOpen_func)
  495. return res
  496. }
  497. GetLastDialogId()
  498. {
  499. global GetLastDialogId_func
  500. res := DllCall(GetLastDialogId_func)
  501. return res
  502. }
  503. GetLastDialogType()
  504. {
  505. global GetLastDialogType_func
  506. res := DllCall(GetLastDialogType_func)
  507. return res
  508. }
  509. BlockChatInput(block)
  510. {
  511. global BlockChatInput_func
  512. res := DllCall(BlockChatInput_func,UChar,block)
  513. return res
  514. }
  515. GetChatLine(id, ByRef line)
  516. {
  517. global GetChatLine_func
  518. VarSetCapacity(line,256,0)
  519. res := DllCall(GetChatLine_func,Int,id,StrP,line)
  520. return res
  521. }
  522. GetChatLineFromFile(id, ByRef line)
  523. {
  524. global GetChatLineFromFile_func
  525. VarSetCapacity(line,256,0)
  526. res := DllCall(GetChatLineFromFile_func,Int,id,StrP,line)
  527. return res
  528. }
  529. IsChatOpen()
  530. {
  531. global IsChatOpen_func
  532. res := DllCall(IsChatOpen_func)
  533. return res
  534. }
  535. GetScreenSizeX()
  536. {
  537. global GetScreenSizeX_func
  538. res := DllCall(GetScreenSizeX_func)
  539. return res
  540. }
  541. GetScreenSizeY()
  542. {
  543. global GetScreenSizeY_func
  544. res := DllCall(GetScreenSizeY_func)
  545. return res
  546. }
  547. GetCurrentWeatherId()
  548. {
  549. global GetCurrentWeatherId_func
  550. res := DllCall(GetCurrentWeatherId_func)
  551. return res
  552. }
  553. GetZoneName( ByRef str_ZoneName)
  554. {
  555. global GetZoneName_func
  556. VarSetCapacity(str_ZoneName, 32)
  557. res := DllCall(GetZoneName_func, StrP, str_ZoneName)
  558. return res
  559. }
  560. GetCityName( ByRef str_CityName)
  561. {
  562. global GetCityName_func
  563. VarSetCapacity(str_CityName, 32)
  564. res := DllCall(GetCityName_func, StrP, str_CityName)
  565. return res
  566. }
  567. GetZoneNameByCoords(x, y, ByRef str_ZoneName)
  568. {
  569. global GetZoneNameByCoords_func
  570. VarSetCapacity(str_ZoneName, 32)
  571. res := DllCall(GetZoneNameByCoords_func, Float, x, Float, y, StrP, str_ZoneName)
  572. return res
  573. }
  574. GetCityNameByCoords(x, y, ByRef str_CityName)
  575. {
  576. global GetCityNameByCoords_func
  577. VarSetCapacity(str_CityName, 32)
  578. res := DllCall(GetCityNameByCoords_func, Float, x, Float, y, StrP, str_CityName)
  579. return res
  580. }
  581. GetMarkerPos(ByRef x, ByRef y, ByRef z)
  582. {
  583. global GetMarkerPos_func
  584. res := DllCall(GetMarkerPos_func, FloatP, x, FloatP, y, FloatP, z)
  585. return res
  586. }
  587. GetLastMousePosOnMenuMap(ByRef x, ByRef y)
  588. {
  589. global GetLastMousePosOnMenuMap_func
  590. res := DllCall(GetLastMousePosOnMenuMap_func, FloatP, x, FloatP, y)
  591. return res
  592. }
  593. GetMapMarkerPos(ByRef x, ByRef y)
  594. {
  595. global GetMapMarkerPos_func
  596. res := DllCall(GetMapMarkerPos_func, FloatP, x, FloatP, y)
  597. return res
  598. }
  599. FindGroundZForPosition(x,y)
  600. {
  601. global FindGroundZForPosition_func
  602. res := DllCall(FindGroundZForPosition_func, Float, x, Float, y, "Cdecl float")
  603. return res
  604. }
  605. WorldToScreen(worldX, worldY, worldZ, ByRef screenX, ByRef screenY)
  606. {
  607. global WorldToScreen_func
  608. res := DllCall(WorldToScreen_func, Float, worldX, Float, worldY, Float, worldZ, FloatP, screenX, FloatP, screenY)
  609. return res
  610. }
  611. ScreenToWorld(screenX, screenY, ByRef worldX, ByRef worldY, ByRef worldZ)
  612. {
  613. global ScreenToWorld_func
  614. res := DllCall(ScreenToWorld_func, Float, screenX, Float, screenY, FloatP, worldX, FloatP, worldY, FloatP, worldZ)
  615. return res
  616. }
  617. RegisterTextBind(str_TextBind, float_PosX, float_PosY, float_PosZ, float_Radius, int_Delay, int_Loop, int_GroupId, int_isChild, int_Timeout)
  618. {
  619. global RegisterTextBind_func
  620. res := DllCall(RegisterTextBind_func, Str, str_TextBind, Float, float_PosX, Float, float_PosY, Float, float_PosZ, Float, float_Radius, Int, int_Delay, Int, int_Loop, Int, int_GroupId, Int, int_isChild, Int, int_Timeout)
  621. return res
  622. }
  623. UnregisterTextBind(int_TextBindId)
  624. {
  625. global UnregisterTextBind_func
  626. res := DllCall(UnregisterTextBind_func, Int, int_TextBindId)
  627. return res
  628. }
  629. UnregisterAllTextBinds()
  630. {
  631. global UnregisterAllTextBinds_func
  632. res := DllCall(UnregisterAllTextBinds_func)
  633. return res
  634. }
  635. TextBindTimer(int_TextBindSleep)
  636. {
  637. global TextBindTimer_func
  638. res := DllCall(TextBindTimer_func, Int, int_TextBindSleep)
  639. return res
  640. }
  641. IsMenuOpen()
  642. {
  643. global IsMenuOpen_func
  644. res := DllCall(IsMenuOpen_func)
  645. return res
  646. }
  647. GetPlayerId()
  648. {
  649. global GetPlayerId_func
  650. res := DllCall(GetPlayerId_func)
  651. return res
  652. }
  653. GetPlayerName(ByRef szName)
  654. {
  655. global GetPlayerName_func
  656. VarSetCapacity(szName,25)
  657. res := DllCall(GetPlayerName_func, StrP, szName)
  658. return res
  659. }
  660. GetServerIp(ByRef szHost)
  661. {
  662. global GetServerIp_func
  663. VarSetCapacity(szHost, 30)
  664. res := DllCall(GetServerIp_func, StrP, szHost)
  665. return res
  666. }
  667. GetServerPort()
  668. {
  669. global GetServerPort_func
  670. res := DllCall(GetServerPort_func)
  671. return res
  672. }
  673. GetPlayerCPed()
  674. {
  675. global GetPlayerCPed_func
  676. res :=DllCall(GetPlayerCPed_func)
  677. return res
  678. }
  679. GetPlayerHealth()
  680. {
  681. global GetPlayerHealth_func
  682. res := DllCall(GetPlayerHealth_func)
  683. return res
  684. }
  685. GetPlayerArmor()
  686. {
  687. global GetPlayerArmor_func
  688. res := DllCall(GetPlayerArmor_func)
  689. return res
  690. }
  691. GetPlayerMoney()
  692. {
  693. global GetPlayerMoney_func
  694. res := DllCall(GetPlayerMoney_func)
  695. return res
  696. }
  697. GetPlayerWanteds()
  698. {
  699. global GetPlayerWanteds_func
  700. res := DllCall(GetPlayerWanteds_func)
  701. return res
  702. }
  703. GetPlayerPosition(ByRef flo_posX, ByRef flo_posY, ByRef flo_posZ, ByRef flo_Rotation)
  704. {
  705. global GetPlayerPosition_func
  706. res := DllCall(GetPlayerPosition_func, FloatP, flo_posX, FloatP, flo_posY, FloatP, flo_posZ,  FloatP, flo_Rotation)
  707. return res
  708. }
  709. IsPlayerInRangeOfPoint(flo_posX, flo_posY, flo_posZ, flo_posRadius)
  710. {
  711. global IsPlayerInRangeOfPoint_func
  712. res := DllCall(IsPlayerInRangeOfPoint_func, Float, flo_posX, Float, flo_posY, Float, flo_posZ, Float, flo_posRadius)
  713. return res
  714. }
  715. IsPlayerInRangeOfPoint2D(flo_posX, flo_posY, flo_posRadius)
  716. {
  717. global IsPlayerInRangeOfPoint2D_func
  718. res := DllCall(IsPlayerInRangeOfPoint2D_func, Float, flo_posX, Float, flo_posY, Float, flo_posRadius)
  719. return res
  720. }
  721. IsPlayerInAnyInterior()
  722. {
  723. global IsPlayerInAnyInterior_func
  724. res := DllCall(IsPlayerInAnyInterior_func)
  725. return res
  726. }
  727. IsPlayerFrozen()
  728. {
  729. global IsPlayerFrozen_func
  730. res := DllCall(IsPlayerFrozen_func)
  731. return res
  732. }
  733. GetPlayerWeaponSlot()
  734. {
  735. global GetPlayerWeaponSlot_func
  736. res := DllCall(GetPlayerWeaponSlot_func)
  737. return res
  738. }
  739. GetPlayerWeaponId(int_WeaponSlot)
  740. {
  741. global GetPlayerWeaponId_func
  742. res := DllCall(GetPlayerWeaponId_func, Int, int_WeaponSlot)
  743. return res
  744. }
  745. GetPlayerWeaponName(int_WeaponSlot, ByRef str_WeapName)
  746. {
  747. global GetPlayerWeaponName_func
  748. VarSetCapacity(str_WeapName, 32)
  749. res := DllCall(GetPlayerWeaponName_func, Int, int_WeaponSlot, StrP, str_WeapName)
  750. return res
  751. }
  752. GetPlayerWeaponClip(int_WeaponSlot)
  753. {
  754. global GetPlayerWeaponClip_func
  755. res := DllCall(GetPlayerWeaponClip_func, Int, int_WeaponSlot)
  756. return res
  757. }
  758. GetPlayerWeaponTotalClip(int_WeaponSlot)
  759. {
  760. global GetPlayerWeaponTotalClip_func
  761. res := DllCall(GetPlayerWeaponTotalClip_func, Int, int_WeaponSlot)
  762. return res
  763. }
  764. GetPlayerWeaponState()
  765. {
  766. global GetPlayerWeaponState_func
  767. res := DllCall(GetPlayerWeaponState_func)
  768. return res
  769. }
  770. GetPlayerState()
  771. {
  772. global GetPlayerState_func
  773. res := DllCall(GetPlayerState_func)
  774. return res
  775. }
  776. GetVehiclePointer()
  777. {
  778. global GetVehiclePointer_func
  779. res := DllCall(GetVehiclePointer_func)
  780. return res
  781. }
  782. GetVehicleModelId()
  783. {
  784. global GetVehicleModelId_func
  785. res := DllCall(GetVehicleModelId_func)
  786. return res
  787. }
  788. GetVehicleModelName(ByRef str_VehicleName)
  789. {
  790. global GetVehicleModelName_func
  791. VarSetCapacity(str_VehicleName, 32)
  792. res := DllCall(GetVehicleModelName_func, StrP, str_VehicleName)
  793. return res
  794. }
  795. GetVehicleModelNameById(int_VehicleId, ByRef str_VehicleName)
  796. {
  797. global GetVehicleModelNameById_func
  798. VarSetCapacity(str_VehicleName, 32)
  799. res := DllCall(GetVehicleModelNameById_func, Int, int_VehicleId, StrP, str_VehicleName)
  800. return res
  801. }
  802. GetVehicleType()
  803. {
  804. global GetVehicleType_func
  805. res := DllCall(GetVehicleType_func)
  806. return res
  807. }
  808. GetVehicleHealth()
  809. {
  810. global GetVehicleHealth_func
  811. res := DllCall(GetVehicleHealth_func)
  812. return res
  813. }
  814. GetVehicleRadioStation()
  815. {
  816. global GetVehicleRadioStation_func
  817. res := DllCall(GetVehicleRadioStation_func)
  818. return res
  819. }
  820. GetVehicleRadioStationName(ByRef str_RadioName)
  821. {
  822. global GetVehicleRadioStationName_func
  823. VarSetCapacity(str_RadioName, 32)
  824. res := DllCall(GetVehicleRadioStationName_func, StrP, str_RadioName)
  825. return res
  826. }
  827. GetVehicleFreeSeats(ByRef int_SeatFL, ByRef int_SeatFR, ByRef int_SeatBL, ByRef int_SeatBR)
  828. {
  829. global GetVehicleFreeSeats_func
  830. res := DllCall(GetVehicleFreeSeats_func, IntP, int_SeatFL, IntP, int_SeatFR, IntP, int_SeatBL, IntP, int_SeatBR)
  831. return res
  832. }
  833. GetVehicleSpeed(float_SpeedMult)
  834. {
  835. global GetVehicleSpeed_func
  836. res := DllCall(GetVehicleSpeed_func, Float, float_SpeedMult)
  837. return res
  838. }
  839. GetVehicleFirstColor()
  840. {
  841. global GetVehicleFirstColor_func
  842. res := DllCall(GetVehicleFirstColor_func)
  843. return res
  844. }
  845. GetVehicleSecondColor()
  846. {
  847. global GetVehicleSecondColor_func
  848. res := DllCall(GetVehicleSecondColor_func)
  849. return res
  850. }
  851. GetVehicleColor(ByRef int_ColorFirst, ByRef int_ColorSecond)
  852. {
  853. global GetVehicleColor_func
  854. res := DllCall(GetVehicleColor_func, IntP, int_ColorFirst, IntP, int_ColorSecond)
  855. return res
  856. }
  857. GetVehicleColorRGB(int_Color, ByRef uint_ColorRGB)
  858. {
  859. global GetVehicleColorRGB_func
  860. res := DllCall(GetVehicleColorRGB_func, Int, int_Color, UIntP, uint_ColorRGB)
  861. return res
  862. }
  863. GetVehicleColorARGB(int_Color, ByRef uint_ColorARGB)
  864. {
  865. global GetVehicleColorARGB_func
  866. res := DllCall(GetVehicleColorARGB_func, Int, int_Color, UIntP, uint_ColorARGB)
  867. return res
  868. }
  869. IsPlayerInAnyVehicle()
  870. {
  871. global IsPlayerInAnyVehicle_func
  872. res := DllCall(IsPlayerInAnyVehicle_func)
  873. return res
  874. }
  875. IsPlayerDriver()
  876. {
  877. global IsPlayerDriver_func
  878. res := DllCall(IsPlayerDriver_func)
  879. return res
  880. }
  881. IsPlayerPassenger()
  882. {
  883. global IsPlayerPassenger_func
  884. res := DllCall(IsPlayerPassenger_func)
  885. return res
  886. }
  887. IsVehicleSeatUsed(int_SeatId)
  888. {
  889. global IsVehicleSeatUsed_func
  890. res := DllCall(IsVehicleSeatUsed_func, int, int_SeatId)
  891. return res
  892. }
  893. IsVehicleLocked()
  894. {
  895. global IsVehicleLocked_func
  896. res := DllCall(IsVehicleLocked_func)
  897. return res
  898. }
  899. IsVehicleSirenEnabled()
  900. {
  901. global IsVehicleSirenEnabled_func
  902. res := DllCall(IsVehicleSirenEnabled_func)
  903. return res
  904. }
  905. IsVehicleHornEnabled()
  906. {
  907. global IsVehicleHornEnabled_func
  908. res := DllCall(IsVehicleHornEnabled_func)
  909. return res
  910. }
  911. IsVehicleAlternateSirenEnabled()
  912. {
  913. global IsVehicleAlternateSirenEnabled_func
  914. res := DllCall(IsVehicleAlternateSirenEnabled_func)
  915. return res
  916. }
  917. IsVehicleEngineEnabled()
  918. {
  919. global IsVehicleEngineEnabled_func
  920. res := DllCall(IsVehicleEngineEnabled_func)
  921. return res
  922. }
  923. IsVehicleLightEnabled()
  924. {
  925. global IsVehicleLightEnabled_func
  926. res := DllCall(IsVehicleLightEnabled_func)
  927. return res
  928. }
  929. IsPlayerInCar()
  930. {
  931. global IsPlayerInCar_func
  932. res := DllCall(IsPlayerInCar_func)
  933. return res
  934. }
  935. IsPlayerInPlane()
  936. {
  937. global IsPlayerInPlane_func
  938. res := DllCall(IsPlayerInPlane_func)
  939. return res
  940. }
  941. IsPlayerInBoat()
  942. {
  943. global IsPlayerInBoat_func
  944. res := DllCall(IsPlayerInBoat_func)
  945. return res
  946. }
  947. IsPlayerInTrain()
  948. {
  949. global IsPlayerInTrain_func
  950. res := DllCall(IsPlayerInTrain_func)
  951. return res
  952. }
  953. IsPlayerInBike()
  954. {
  955. global IsPlayerInBike_func
  956. res := DllCall(IsPlayerInBike_func)
  957. return res
  958. }
  959. SetListenCallback(int_Id)
  960. {
  961. global SetListenCallback_func
  962. res := DllCall(SetListenCallback_func, Int, int_Id)
  963. return res
  964. }
  965. UnSetCallbackPointer()
  966. {
  967. global UnSetCallbackPointer_func
  968. res := DllCall(UnSetCallbackPointer_func)
  969. return res
  970. }
  971. SetCallbackPointer(int_Id)
  972. {
  973. global SetCallbackPointer_func
  974. res := DllCall(SetCallbackPointer_func, Int, int_Id)
  975. return res
  976. }
  977. UnSetListenCallback(int_Id)
  978. {
  979. global UnSetListenCallback_func
  980. res := DllCall(UnSetListenCallback_func, Int, int_Id)
  981. return res
  982. }
  983. UnSetListenCallbackAll()
  984. {
  985. global UnSetListenCallbackAll_func
  986. res := DllCall(UnSetListenCallbackAll_func)
  987. return res
  988. }
  989. GetCallbackHealParams(ptr_HealStruct, ByRef iOldHeal, ByRef iNewHeal)
  990. {
  991. ioldHeal := NumGet(ptr_HealStruct+0, "int")
  992. inewHeal := NumGet(ptr_HealStruct+4, "int")
  993. }
  994. GetCallbackArmorParams(ptr_ArmorStruct, ByRef iOldArmor, ByRef iNewArmor)
  995. {
  996. ioldArmor := NumGet(ptr_ArmorStruct+0, "int")
  997. inewArmor := NumGet(ptr_ArmorStruct+4, "int")
  998. }
  999. GetCallbackPositionParams(ptr_PositionStruct, ByRef fOldPosX, ByRef fOldPosY, ByRef fOldPosZ, ByRef fOldPosR, ByRef fNewPosX, ByRef fNewPosY, ByRef fNewPosZ, ByRef fNewPosR)
  1000. {
  1001. fOldPosX := NumGet(ptr_PositionStruct+0, "float")
  1002. fOldPosY := NumGet(ptr_PositionStruct+4, "float")
  1003. fOldPosZ := NumGet(ptr_PositionStruct+8, "float")
  1004. fOldPosR := NumGet(ptr_PositionStruct+12, "float")
  1005. fNewPosX := NumGet(ptr_PositionStruct+16, "float")
  1006. fNewPosY := NumGet(ptr_PositionStruct+20, "float")
  1007. fNewPosZ := NumGet(ptr_PositionStruct+24, "float")
  1008. fNewPosR := NumGet(ptr_PositionStruct+28, "float")
  1009. }
  1010. GetCallbackEnterExitParams(ptr_EnterExitStruct, ByRef iOldInteriorState, ByRef iNewInteriorState)
  1011. {
  1012. iOldInteriorState := NumGet(ptr_EnterExitStruct+0, "int")
  1013. iNewInteriorState := NumGet(ptr_EnterExitStruct+4, "int")
  1014. }
  1015. GetCallbackVehicleEnterExitParams(ptr_VehicleEnterExitStruct, ByRef iOldVehicleEnterExit, ByRef iNewVehicleEnterExit)
  1016. {
  1017. iOldVehicleEnterExit := NumGet(ptr_VehicleEnterExitStruct+0, "int")
  1018. iNewVehicleEnterExit := NumGet(ptr_VehicleEnterExitStruct+4, "int")
  1019. }
  1020. GetCallbackVehicleHealthParams(ptr_VehicleHealthStruct, ByRef iOldVehicleHealth, ByRef iNewVehicleHealth)
  1021. {
  1022. iOldVehicleHealth := NumGet(ptr_VehicleHealthStruct+0, "int")
  1023. iNewVehicleHealth := NumGet(ptr_VehicleHealthStruct+4, "int")
  1024. }
  1025. GetCallbackVehicleEngineParams(ptr_VehicleEngineStruct, ByRef iOldVehicleEngine, ByRef iNewVehicleEngine)
  1026. {
  1027. iOldVehicleEngine := NumGet(ptr_VehicleEngineStruct+0, "int")
  1028. iNewVehicleEngine := NumGet(ptr_VehicleEngineStruct+4, "int")
  1029. }
  1030. GetCallbackVehicleLockParams(ptr_VehicleLockStruct, ByRef iOldVehicleLock, ByRef iNewVehicleLock)
  1031. {
  1032. iOldVehicleLock := NumGet(ptr_VehicleLockStruct+0, "int")
  1033. iNewVehicleLock := NumGet(ptr_VehicleLockStruct+4, "int")
  1034. }
  1035. GetCallbackVehicleSpeedParams(ptr_VehicleSpeedStruct, ByRef iOldVehicleSpeed, ByRef iNewVehicleSpeed)
  1036. {
  1037. iOldVehicleSpeed := NumGet(ptr_VehicleSpeedStruct+0, "int")
  1038. iNewVehicleSpeed := NumGet(ptr_VehicleSpeedStruct+4, "int")
  1039. }
  1040. GetCallbackWeaponSwitchParams(ptr_WeaponSwitchStruct, ByRef iOldWeaponId, ByRef iNewWeaponId)
  1041. {
  1042. iOldWeaponId := NumGet(ptr_WeaponSwitchStruct+0, "int")
  1043. iNewWeaponId := NumGet(ptr_WeaponSwitchStruct+4, "int")
  1044. }
  1045. GetCallbackWeaponClipParams(ptr_WeaponClipStruct, ByRef iOldWeaponClip, ByRef iNewWeaponClip)
  1046. {
  1047. iOldWeaponClip := NumGet(ptr_WeaponClipStruct+0, "int")
  1048. iNewWeaponClip := NumGet(ptr_WeaponClipStruct+4, "int")
  1049. }
  1050. GetCallbackWeaponTotalClipParams(ptr_WeaponTotalClipStruct, ByRef iOldWeaponTotalClip, ByRef iNewWeaponTotalClip)
  1051. {
  1052. iOldWeaponTotalClip := NumGet(ptr_WeaponTotalClipStruct+0, "int")
  1053. iNewWeaponTotalClip := NumGet(ptr_WeaponTotalClipStruct+4, "int")
  1054. }
  1055. UpdateServerData()
  1056. {
  1057. global UpdateServerData_func
  1058. res := DllCall(UpdateServerData_func)
  1059. return res
  1060. }
  1061. GetPlayerNameById(id,ByRef name)
  1062. {
  1063. VarSetCapacity(name,24,0)
  1064. global GetPlayerNameById_func
  1065. res := DllCall(GetPlayerNameById_func,UShort,id,StrP,name)
  1066. return res
  1067. }
  1068. GetPlayerIdByName(name)
  1069. {
  1070. global GetPlayerIdByName_func
  1071. res := DllCall(GetPlayerIdByName_func,Str,name)
  1072. return res
  1073. }
  1074. DecimalToHex(Var){
  1075. SetFormat, IntegerFast, hex
  1076. Dec2Hex += Var
  1077. Dec2Hex .= ""
  1078. SetFormat, IntegerFast, d
  1079. StringTrimLeft, Dec2Hex, Dec2Hex, 2
  1080. StringUpper, Dec2Hex, Dec2Hex
  1081. sDec2Hex .= Dec2Hex
  1082. return sDec2Hex
  1083. }
  1084. RelToAbs(root, dir, s = "\") {
  1085. pr := SubStr(root, 1, len := InStr(root, s, "", InStr(root, s . s) + 2) - 1)
  1086. , root := SubStr(root, len + 1), sk := 0
  1087. If InStr(root, s, "", 0) = StrLen(root)
  1088. StringTrimRight, root, root, 1
  1089. If InStr(dir, s, "", 0) = StrLen(dir)
  1090. StringTrimRight, dir, dir, 1
  1091. Loop, Parse, dir, %s%
  1092. {
  1093. If A_LoopField = ..
  1094. StringLeft, root, root, InStr(root, s, "", 0) - 1
  1095. Else If A_LoopField =
  1096. root =
  1097. Else If A_LoopField != .
  1098. Continue
  1099. StringReplace, dir, dir, %A_LoopField%%s%
  1100. }
  1101. Return, pr . root . s . dir
  1102. }
  1103. PATH_OVERLAY := RelToAbs(A_ScriptDir, "dx9_overlay.dll")
  1104. h2Module := DllCall("LoadLibrary", Str, PATH_OVERLAY)
  1105. if(h2Module == -1 || h2Module == 0)
  1106. {
  1107. MsgBox, 48, Error, Die dx9_overlay.dll konnte nicht gefunden werden. `nDer Keybinder wird nun beendet.
  1108. ExitApp
  1109. }
  1110. Init_func               := DllCall("GetProcAddress", UInt, h2Module, Str, "Init")
  1111. SetParam_func           := DllCall("GetProcAddress", UInt, h2Module, Str, "SetParam")
  1112. TextCreate_func         := DllCall("GetProcAddress", UInt, h2Module, Str, "TextCreate")
  1113. TextDestroy_func        := DllCall("GetProcAddress", UInt, h2Module, Str, "TextDestroy")
  1114. TextSetShadow_func      := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetShadow")
  1115. TextSetShown_func       := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetShown")
  1116. TextSetColor_func       := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetColor")
  1117. TextSetPos_func         := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetPos")
  1118. TextSetString_func      := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetString")
  1119. TextUpdate_func         := DllCall("GetProcAddress", UInt, h2Module, Str, "TextUpdate")
  1120. BoxCreate_func          := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxCreate")
  1121. BoxDestroy_func         := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxDestroy")
  1122. BoxSetShown_func        := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetShown")
  1123. BoxSetBorder_func       := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetBorder")
  1124. BoxSetBorderColor_func  := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetBorderColor")
  1125. BoxSetColor_func        := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetColor")
  1126. BoxSetHeight_func       := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetHeight")
  1127. BoxSetPos_func          := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetPos")
  1128. BoxSetWidth_func        := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetWidth")
  1129. LineCreate_func         := DllCall("GetProcAddress", UInt, h2Module, Str, "LineCreate")
  1130. LineDestroy_func        := DllCall("GetProcAddress", UInt, h2Module, Str, "LineDestroy")
  1131. LineSetShown_func       := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetShown")
  1132. LineSetColor_func       := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetColor")
  1133. LineSetWidth_func       := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetWidth")
  1134. LineSetPos_func         := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetPos")
  1135. ImageCreate_func        := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageCreate")
  1136. ImageDestroy_func       := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageDestroy")
  1137. ImageSetShown_func      := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetShown")
  1138. ImageSetAlign_func      := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetAlign")
  1139. ImageSetPos_func        := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetPos")
  1140. ImageSetRotation_func   := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetRotation")
  1141. DestroyAllVisual_func   := DllCall("GetProcAddress", UInt, h2Module, Str, "DestroyAllVisual")
  1142. ShowAllVisual_func      := DllCall("GetProcAddress", UInt, h2Module, Str, "ShowAllVisual")
  1143. HideAllVisual_func      := DllCall("GetProcAddress", UInt, h2Module, Str, "HideAllVisual")
  1144. GetFrameRate_func       := DllCall("GetProcAddress", UInt, h2Module, Str, "GetFrameRate")
  1145. GetScreenSpecs_func     := DllCall("GetProcAddress", UInt, h2Module, Str, "GetScreenSpecs")
  1146. Init()
  1147. {
  1148. global Init_func
  1149. res := DllCall(Init_func)
  1150. return res
  1151. }
  1152. SetParam(str_Name, str_Value)
  1153. {
  1154. global SetParam_func
  1155. res := DllCall(SetParam_func, Str, str_Name, Str, str_Value)
  1156. return res
  1157. }
  1158. TextCreate(Font, fontsize, bold, italic, x, y, color, text, shadow, show)
  1159. {
  1160. global TextCreate_func
  1161. res := DllCall(TextCreate_func,Str,Font,Int,fontsize,UChar,bold,UChar,italic,Int,x,Int,y,UInt,color,Str,text,UChar,shadow,UChar,show)
  1162. return res
  1163. }
  1164. TextDestroy(id)
  1165. {
  1166. global TextDestroy_func
  1167. res := DllCall(TextDestroy_func,Int,id)
  1168. return res
  1169. }
  1170. TextSetShadow(id, shadow)
  1171. {
  1172. global TextSetShadow_func
  1173. res := DllCall(TextSetShadow_func,Int,id,UChar,shadow)
  1174. return res
  1175. }
  1176. TextSetShown(id, show)
  1177. {
  1178. global TextSetShown_func
  1179. res := DllCall(TextSetShown_func,Int,id,UChar,show)
  1180. return res
  1181. }
  1182. TextSetColor(id,color)
  1183. {
  1184. global TextSetColor_func
  1185. res := DllCall(TextSetColor_func,Int,id,UInt,color)
  1186. return res
  1187. }
  1188. TextSetPos(id,x,y)
  1189. {
  1190. global TextSetPos_func
  1191. res := DllCall(TextSetPos_func,Int,id,Int,x,Int,y)
  1192. return res
  1193. }
  1194. TextSetString(id,Text)
  1195. {
  1196. global TextSetString_func
  1197. res := DllCall(TextSetString_func,Int,id,Str,Text)
  1198. return res
  1199. }
  1200. TextUpdate(id,Font,Fontsize,bold,italic)
  1201. {
  1202. global TextUpdate_func
  1203. res := DllCall(TextUpdate_func,Int,id,Str,Font,int,Fontsize,UChar,bold,UChar,italic)
  1204. return res
  1205. }
  1206. BoxCreate(x,y,width,height,Color,show)
  1207. {
  1208. global BoxCreate_func
  1209. res := DllCall(BoxCreate_func,Int,x,Int,y,Int,width,Int,height,UInt,Color,UChar,show)
  1210. return res
  1211. }
  1212. BoxDestroy(id)
  1213. {
  1214. global BoxDestroy_func
  1215. res := DllCall(BoxDestroy_func,Int,id)
  1216. return res
  1217. }
  1218. BoxSetShown(id,Show)
  1219. {
  1220. global BoxSetShown_func
  1221. res := DllCall(BoxSetShown_func,Int,id,UChar,Show)
  1222. return res
  1223. }
  1224. BoxSetBorder(id,height,Show)
  1225. {
  1226. global BoxSetBorder_func
  1227. res := DllCall(BoxSetBorder_func,Int,id,Int,height,Int,Show)
  1228. return res
  1229. }
  1230. BoxSetBorderColor(id,Color)
  1231. {
  1232. global BoxSetBorderColor_func
  1233. res := DllCall(BoxSetBorderColor_func,Int,id,UInt,Color)
  1234. return res
  1235. }
  1236. BoxSetColor(id,Color)
  1237. {
  1238. global BoxSetColor_func
  1239. res := DllCall(BoxSetColor_func,Int,id,UInt,Color)
  1240. return res
  1241. }
  1242. BoxSetHeight(id,height)
  1243. {
  1244. global BoxSetHeight_func
  1245. res := DllCall(BoxSetHeight_func,Int,id,Int,height)
  1246. return res
  1247. }
  1248. BoxSetPos(id,x,y)
  1249. {
  1250. global BoxSetPos_func
  1251. res := DllCall(BoxSetPos_func,Int,id,Int,x,Int,y)
  1252. return res
  1253. }
  1254. BoxSetWidth(id,width)
  1255. {
  1256. global BoxSetWidth_func
  1257. res := DllCall(BoxSetWidth_func,Int,id,Int,width)
  1258. return res
  1259. }
  1260. LineCreate(x1,y1,x2,y2,width,color,show)
  1261. {
  1262. global LineCreate_func
  1263. res := DllCall(LineCreate_func,Int,x1,Int,y1,Int,x2,Int,y2,Int,Width,UInt,color,UChar,show)
  1264. return res
  1265. }
  1266. LineDestroy(id)
  1267. {
  1268. global LineDestroy_func
  1269. res := DllCall(LineDestroy_func,Int,id)
  1270. return res
  1271. }
  1272. LineSetShown(id,show)
  1273. {
  1274. global LineSetShown_func
  1275. res := DllCall(LineSetShown_func,Int,id,UChar,show)
  1276. return res
  1277. }
  1278. LineSetColor(id,color)
  1279. {
  1280. global LineSetColor_func
  1281. res := DllCall(LineSetColor_func,Int,id,UInt,color)
  1282. return res
  1283. }
  1284. LineSetWidth(id, width)
  1285. {
  1286. global LineSetWidth_func
  1287. res := DllCall(LineSetWidth_func,Int,id,Int,width)
  1288. return res
  1289. }
  1290. LineSetPos(id,x1,y1,x2,y2)
  1291. {
  1292. global LineSetPos_func
  1293. res := DllCall(LineSetPos_func,Int,id,Int,x1,Int,y1,Int,x2,Int,y2)
  1294. return res
  1295. }
  1296. ImageCreate(path, x, y, rotation, align, show)
  1297. {
  1298. global ImageCreate_func
  1299. res := DllCall(ImageCreate_func, Str, path, Int, x, Int, y, Int, rotation, Int, align, UChar, show)
  1300. return res
  1301. }
  1302. ImageDestroy(id)
  1303. {
  1304. global ImageDestroy_func
  1305. res := DllCall(ImageDestroy_func,Int,id)
  1306. return res
  1307. }
  1308. ImageSetShown(id,show)
  1309. {
  1310. global ImageSetShown_func
  1311. res := DllCall(ImageSetShown_func,Int,id,UChar,show)
  1312. return res
  1313. }
  1314. ImageSetAlign(id,align)
  1315. {
  1316. global ImageSetAlign_func
  1317. res := DllCall(ImageSetAlign_func,Int,id,Int,align)
  1318. return res
  1319. }
  1320. ImageSetPos(id, x, y)
  1321. {
  1322. global ImageSetPos_func
  1323. res := DllCall(ImageSetPos_func,Int,id,Int,x, Int, y)
  1324. return res
  1325. }
  1326. ImageSetRotation(id, rotation)
  1327. {
  1328. global ImageSetRotation_func
  1329. res := DllCall(ImageSetRotation_func,Int,id,Int, rotation)
  1330. return res
  1331. }
  1332. DestroyAllVisual()
  1333. {
  1334. global DestroyAllVisual_func
  1335. res := DllCall(DestroyAllVisual_func)
  1336. return res
  1337. }
  1338. ShowAllVisual()
  1339. {
  1340. global ShowAllVisual_func
  1341. res := DllCall(ShowAllVisual_func)
  1342. return res
  1343. }
  1344. HideAllVisual()
  1345. {
  1346. global HideAllVisual_func
  1347. res := DllCall(HideAllVisual_func )
  1348. return res
  1349. }
  1350. GetFrameRate()
  1351. {
  1352. global GetFrameRate_func
  1353. res := DllCall(GetFrameRate_func )
  1354. return res
  1355. }
  1356. GetScreenSpecs(ByRef width, ByRef height)
  1357. {
  1358. global GetScreenSpecs_func
  1359. res := DllCall(GetScreenSpecs_func, IntP, width, IntP, height)
  1360. return res
  1361. }
  1362. SetParam("use_window", "1")
  1363. SetParam("window", "GTA:SA:MP")
  1364. DestroyAllVisual()
  1365. Updater:
  1366. if(Version < NeueVersion)
  1367. {
  1368. Gui, 30: Add, Picture, x0 y0 w660 h400 , %Pictures%\background.jpg
  1369. Gui, 30: Font, cWhite
  1370. Gui, 30: Add, GroupBox, x363 y143 w270 h210,
  1371. URLDownloadToFile, http://famouzzsoft.square7.ch//UniversalBinder/Change.txt, Change.txt
  1372. FileRead, Change, Change.txt
  1373. FileDelete, Change.txt
  1374. Gui, 30: Add, Text, x368 y163 w260 h175 +BackgroundTrans, %Change%
  1375. Gui, 30: Add, Text, x382 y360 w208 h16 +BackgroundTrans gHilfe_Thread, Weitere Informationen im Forum.
  1376. Gui, 30: Add, Picture, x536 y358 w15 h15 gHilfe_Thread, %Pictures%\Link.png
  1377. Gui, 30: Add, Button, x23 y348 w150 h40 gUpdate, Update ausführen
  1378. Gui, 30: Add, Button, x183 y348 w150 h40 gKeinUpdate, Ohne Update starten
  1379. Gui, 30: Font, s10
  1380. Gui, 30: Add, Text, x13 y148 w325 h176  +BackgroundTrans, Für den Universal-Binder ist ein neues Update verfügbar. Um bisherige Fehler zu beheben und neue Features nutzen zu können`, sollten Sie das Update durchführen. `n`nSelbstverständlich können Sie den Keybinder auch mit der bisherigen Version weiter benutzten`, jedoch genießen Sie dann nicht den vollen Support. `n`nEine Liste mit den Änderungen der neuen Version liegt Ihnen rechts neben diesem Text vor.
  1381. Gui, 30: Add, Text, x374 y132 w170 h30 +BackgroundTrans, Veränderung in Version %NeueVersion%
  1382. Gui, 30: Font, s25 cWhite, Georgia
  1383. Gui, 30: Add, Text, x15 y19 w620 h70 +center +BackgroundTrans, Universal-Binder Updater
  1384. Gui, 30: Font, s14 cWhite, Georgia
  1385. Gui, 30: Add, Text, x405 y79 w230 h50 +BackgroundTrans, Created by MrPacific | Edit by Bender
  1386. Gui, 30: Show, w650 h400, Universal-Binder Updater
  1387. }
  1388. else
  1389. {
  1390. goto Hauptfenster
  1391. }
  1392. return
  1393. KeinUpdate:
  1394. Gui, 30: Destroy
  1395. goto Hauptfenster
  1396. return
  1397. Update:
  1398. FileMove, Universalbinder.exe, old_Universalbinder.exe, 1
  1399. URLDownloadToFile, http://famouzzsoft.square7.ch//UniversalBinder/UniversalBinder.exe, UniversalBinder.exe
  1400. if(API < NeueAPI)
  1401. {
  1402. FileMove, API.dll, old_API.dll, 1
  1403. UrlDownloadToFile, http://famouzzsoft.square7.ch//UniversalBinder/API.dll, API.dll
  1404. }
  1405. BatchFile=
  1406.         (
  1407.             start UniversalBinder.exe
  1408. )
  1409. FileDelete, Update.bat
  1410. FileAppend, %Batchfile%, Update.bat
  1411. Run, Update.bat, hide
  1412. ExitApp
  1413. return
  1414. Hauptfenster:
  1415. Loop, 10
  1416. {
  1417. IniRead, TZahl%A_Index%, %Hotkeys%, Tastenbelegung Zahlen, TZahl%A_Index%, %A_Space%
  1418. }
  1419. Loop, 9
  1420. {
  1421. IniRead, TNumPad%A_Index%, %Hotkeys%, Tastenbelegung Numpad, TNumPad%A_Index%, %A_Space%
  1422. }
  1423. IniRead, TNumPad0, %Hotkeys%, Tastenbelegung Numpad, TNumPad0, %A_Space%
  1424. Loop, 12
  1425. {
  1426. IniRead, TF%A_Index%, %Hotkeys%, Tastenbelegung F-Taste, TF%A_Index%
  1427. }
  1428. Loop, 18
  1429. {
  1430. IniRead, Taste%A_Index%I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%I, %A_Space%
  1431. IniRead, Taste%A_Index%B, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%B, %A_Space%
  1432. }
  1433. IniRead, HKPause, %Hotkeys%, Zusatz, HKPause, %A_Space%
  1434. IniRead, HKWiederholen, %Hotkeys%, Zusatz, HKWiederholen, %A_Space%
  1435. IniRead, HKHP , %Hotkeys%, Zusatz, HKHP, %A_Space%
  1436. IniRead, HKHilfe, %Hotkeys%, Zusatz, HKHilfe, %A_Space%
  1437. IniRead, HotKey1, %Hotkeys%, JobHotkey, HotKey1, %A_Space%
  1438. IniRead, HotKey2, %Hotkeys%, JobHotkey, HotKey2, %A_Space%
  1439. IniRead, HotKey3, %Hotkeys%, JobHotkey, HotKey3, %A_Space%
  1440. IniRead, HotKey4, %Hotkeys%, JobHotkey, HotKey4, %A_Space%
  1441. IniRead, HotKey5, %Hotkeys%, JobHotkey, HotKey5, %A_Space%
  1442. IniRead, Benutzername, %Settings%, Einstellungen, Benutzername
  1443. IniRead, Passwort, %Settings%, Einstellungen, Passwort
  1444. IniRead, Job, %Settings%, Einstellungen, Job
  1445. IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
  1446. IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
  1447. IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
  1448. IniRead, TSNName, %Settings%, Einstellungen, TSName
  1449. IniRead, admin, %Settings%, Einstellungen, admin
  1450. IniRead, Chatlogsaver, %Settings%, Einstellungen, Chatlogsaver
  1451. IniRead, AntiSpam, %Settings%, Einstellungen, AntiSpam
  1452. IniRead, Gehaltsscheck, %Settings%, Einstellungen, Gehaltsscheck
  1453. IniRead, GangZaehler, %Settings%, Einstellungen, GangZaehler
  1454. IniRead, Killzähler, %Settings%, Einstellungen, Killzähler
  1455. IniRead, Todeszähler, %Settings%, Einstellungen, Todeszähler
  1456. IniRead, Lock, %Settings%, Einstellungen, Lock
  1457. IniRead, TankZoll, %Settings%, Einstellungen, TankZoll
  1458. IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch
  1459. IniRead, GFKillzählerSpruch, %Settings%, Killzähler, GFKillzählerSpruch
  1460. IniRead, Todeszählerspruch, %Settings%, Todeszähler, Todeszählerspruch
  1461. IniRead, Pickup, %Settings%, Zusatz, Pickup
  1462. IniRead, Hangup, %Settings%, Zusatz, Hangup
  1463. IniRead, CheckCall, %Settings%, Sounds, CheckCall
  1464. IniRead, CheckSMS, %Settings%, Sounds, CheckSMS
  1465. IniRead, CheckLowHP, %Settings%, Sounds, CheckLowHP
  1466. IniRead, CheckKill, %Settings%, Sounds, CheckKill
  1467. IniRead, CheckTod, %Settings%, Sounds, CheckTod
  1468. IniRead, Callsound, %Settings%, Sounds, Callsound
  1469. IniRead, SMSsound, %Settings%, Sounds, SMSsound
  1470. IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
  1471. IniRead, Killsound, %Settings%, Sounds, Killsound
  1472. IniRead, Todessound, %Settings%, Sounds, Todessound
  1473. IniRead, VolCall, %Settings%, Sounds, VolCall
  1474. IniRead, VolSMS, %Settings%, Sounds, VolSMS
  1475. IniRead, VolLowHP, %Settings%, Sounds, VolLowHP
  1476. IniRead, VolKill, %Settings%, Sounds, VolKill
  1477. IniRead, VolTod, %Settings%, Sounds, VolTod
  1478. IfNotEqual, Taste1B,, Hotkey, %Taste1B%, Taste1B
  1479. IfNotEqual, Taste2B,, Hotkey, %Taste2B%, Taste2B
  1480. IfNotEqual, Taste3B,, Hotkey, %Taste3B%, Taste3B
  1481. IfNotEqual, Taste4B,, Hotkey, %Taste4B%, Taste4B
  1482. IfNotEqual, Taste5B,, Hotkey, %Taste5B%, Taste5B
  1483. IfNotEqual, Taste6B,, Hotkey, %Taste6B%, Taste6B
  1484. IfNotEqual, Taste7B,, Hotkey, %Taste7B%, Taste7B
  1485. IfNotEqual, Taste8B,, Hotkey, %Taste8B%, Taste8B
  1486. IfNotEqual, Taste9B,, Hotkey, %Taste9B%, Taste9B
  1487. IfNotEqual, Taste10B,, Hotkey, %Taste10B%, Taste10B
  1488. IfNotEqual, Taste11B,, Hotkey, %Taste11B%, Taste11B
  1489. IfNotEqual, Taste12B,, Hotkey, %Taste12B%, Taste12B
  1490. IfNotEqual, Taste13B,, Hotkey, %Taste13B%, Taste13B
  1491. IfNotEqual, Taste14B,, Hotkey, %Taste14B%, Taste14B
  1492. IfNotEqual, Taste15B,, Hotkey, %Taste15B%, Taste15B
  1493. IfNotEqual, Taste16B,, Hotkey, %Taste16B%, Taste16B
  1494. IfNotEqual, Taste17B,, Hotkey, %Taste17B%, Taste17B
  1495. IfNotEqual, Taste18B,, Hotkey, %Taste18B%, Taste18B
  1496. IfNotEqual, HKPause,,Hotkey, %HKPause%, HKPause
  1497. IfnotEqual, HKWiederholen,,Hotkey, %HKWiederholen%, HKWiederholen
  1498. IfNotEqual, HKHP,,Hotkey, %HKHP%, HKHP
  1499. IfNotEqual, HKHilfe,,Hotkey, %HKHilfe%, HKHilfe
  1500. IfNotEqual, HotKey1,, Hotkey, %HotKey1%, HotKey1
  1501. IfNotEqual, HotKey2,, Hotkey, %HotKey2%, HotKey2
  1502. IfNotEqual, HotKey3,, Hotkey, %HotKey3%, HotKey3
  1503. IfNotEqual, HotKey4,, Hotkey, %HotKey4%, HotKey4
  1504. IfNotEqual, HotKey5,, Hotkey, %HotKey5%, HotKey5
  1505. IniRead, Overlay_size, %Overlays%, Status Overlay, Overlay_size, 7
  1506. IniRead, Overlay_posx, %Overlays%, Status Overlay, Overlay_posx, 18
  1507. IniRead, Overlay_posy, %Overlays%, Status Overlay, Overlay_posy, 265
  1508. IniRead, HP_size, %Overlays%, HP Overlay, HP_size, 8
  1509. IniRead, HP_posx, %Overlays%, HP Overlay, HP_posx, 715
  1510. IniRead, HP_posy, %Overlays%, HP Overlay, HP_posy, 88
  1511. IniRead, Ort_size, %Overlays%, Ort Overlay, Ort_size, 8
  1512. IniRead, Ort_posx, %Overlays%, Ort Overlay, Ort_posx, 100
  1513. IniRead, Ort_posy, %Overlays%, Ort Overlay, Ort_posy, 438
  1514. IniRead, HPAnzeige, %Overlays%, HP Overlay, HPAnzeige, 1
  1515. IniRead, OrtAnzeige, %Overlays%, Ort Overlay, OrtAnzeige, 1
  1516. IniRead, VIP, %Settings%, VIP, VIP, 0
  1517. Menu, QuickConnect, Add, GTA: SA:MP, QuickConnect_SAMP
  1518. Menu, QuickConnect, Add, TeamSpeak 3, QuickConnect_TS
  1519. Menu, Weblinks, Add, Forum, Weblink_Forum
  1520. Menu, Weblinks, Add, Control Panel, Weblink_CP
  1521. Menu, Hilfe, Add, About, Hilfe_About
  1522. Menu, Hilfe, Add, Entwickler #1 (MrPacific), Hilfe_Entwickler
  1523. Menu, Hilfe, Add, Entwickler #2 (Joey_Bender), Hilfe_Entwickler2
  1524. Menu, Hilfe, Add, Feedback und Informationen, Hilfe_Thread
  1525. Menu, GTA Radio, Add, GTA Radio Pop, Radio_GTA_Pop
  1526. Menu, GTA Radio, Add, GTA Radio HipHop, Radio_GTA_HipHop
  1527. Menu, GTA Radio, Add, GTA Radio Rock, Radio_GTA_Rock
  1528. Menu, GTA Radio, Add, GTA Radio Dubstep, Radio_GTA_Dubstep
  1529. Menu, GTA Radio, Add, GTA Radio Techno, Radio_GTA_Techno
  1530. Menu, I love Radio, Add, I love Radio, Radio_love_Radio
  1531. Menu, I love Radio, Add, I love to Dance, Radio_love_Dance
  1532. Menu, I love Radio, Add, I love the Dome, Radio_love_Dome
  1533. Menu, I love Radio, Add, I love you, Radio_love_you
  1534. Menu, I love Radio, Add, I love Mashup, Radio_love_Mashup
  1535. Menu, Eigener Stream, Add, Eigenen Stream hinzufügen/bearbeiten, Eigener_Stream_Add
  1536. Menu, Eigener Stream, Add, Eigener Stream, Eigener_Stream
  1537. Menu, Radio, Add, GTA Radio, :GTA Radio
  1538. Menu, Radio, Add, I love Radio, :I love Radio
  1539. Menu, Radio, Add, Eigener Stream, :Eigener Stream
  1540. Menu, Radio, Add, Hilfe, Radio_Hilfe
  1541. Menu, Radio, Add, Radio aus, Radio_aus
  1542. Menu, MainMenu, Add, QuickConnect, :QuickConnect
  1543. Menu, MainMenu, Add, Weblinks, :Weblinks
  1544. Menu, MainMenu, Add, Radio, :Radio
  1545. Menu, MainMenu, Add, Hilfe, :Hilfe
  1546. Gui, Menu, MainMenu
  1547. Gui, Add, Picture, x0 y0 w560 h330, %Pictures%\background.jpg
  1548. Gui, Add, Button, x366 y200 w160 h50 gEinstellungen, Einstellungen
  1549. Gui, Add, Button, x366 y90 w160 h50 gSounds, Eigene Sounds
  1550. Gui, Add, Button, x16 y90 w160 h50 gBefehle, Befehle
  1551. Gui, Add, Button, x16 y200 w160 h50 gtoKeybinds, Keybinds
  1552. Gui, Font, cwhite
  1553. Gui, Font, s11
  1554. Gui, Add, Text, x190 y10 w400 h30 +backgroundTrans, U N I V E R S A L B I N D E R
  1555. Gui, Add, GroupBox, x196 y70 w150 h200 ,
  1556. Gui, Add, Text, x200 y60 w130 h20 +backgroundTrans, Tägliche Neuigkeiten
  1557. URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/daily.txt, daily.txt
  1558. FileRead, DailyMessage, daily.txt
  1559. FileDelete, daily.txt
  1560. Gui, Add, Text, x206 y90 w130 h170 +backgroundTrans, %DailyMessage%
  1561. Gui, Font, s8
  1562. Gui, Add, Text, x370 y310 +backgroundtrans, Created by MrPacific | Edit by Bender
  1563. Gui, Show, w550 h330, Universal-Binder (%Version%)
  1564. 4True=0
  1565. SetTimer, _GtaCheck, 1000
  1566. return
  1567. GuiClose:
  1568. DestroyAllVisual()
  1569. ExitApp
  1570. Radio_GTA_Pop:
  1571. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://188.138.33.174:12300/listen.asx?sid=1,, Hide
  1572. return
  1573. Radio_GTA_HipHop:
  1574. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://188.138.33.174:12200/stream/1/,, Hide
  1575. return
  1576. Radio_GTA_Rock:
  1577. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://188.138.33.174:12600/listen.asx?sid=1,, Hide
  1578. return
  1579. Radio_GTA_Dubstep:
  1580. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://188.138.33.174:12500/stream/1/,, Hide
  1581. return
  1582. Radio_GTA_Techno:
  1583. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://188.138.33.174:12800/stream/1/,, Hide
  1584. return
  1585. Radio_love_Radio:
  1586. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://www.iloveradio.de/listen.m3u,, Hide
  1587. return
  1588. Radio_love_Dance:
  1589. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://www.iloveradio.de/listen2.m3u ,, Hide
  1590. return
  1591. Radio_love_Dome:
  1592. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://www.iloveradio.de/listen3.m3u ,, Hide
  1593. return
  1594. Radio_love_you:
  1595. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://www.iloveradio.de/listen4.m3u ,, Hide
  1596. return
  1597. Radio_love_Mashup:
  1598. Run %A_programfiles%\Windows Media Player\wmplayer.exe  http://www.iloveradio.de/listen5.m3u ,, Hide
  1599. return
  1600. Eigener_Stream_Add:
  1601. Gui, 40: Destroy
  1602. Gui, 40: Add, Picture, x0 y0 w490 h140 , %Pictures%\background.jpg
  1603. Gui, 40: Add, Text, x26 y10 w430 h30 cWhite +BackgroundTrans, Hier kannst du einen eigenen Radio-Stream hinzufügen bzw. bearbeiten. Ingame kannst du diesen mit dem Befehl /stream starten.
  1604. IniRead, EigenerStream, %settings%, Radio, Eigener Stream
  1605. Gui, 40: Add, Edit, x26 y50 w420 h20 vEigenerStream, %EigenerStream%
  1606. Gui, 40: Add, Button, x116 y90 w100 h30 gRadio_Speichern, Speichern
  1607. Gui, 40: Add, Button, x246 y90 w100 h30 gRadio_Abbrechen, Abbrechen
  1608. Gui, 40: Show, w490 h140, Eigener Stream
  1609. return
  1610. Eigener_Stream:
  1611. IniRead, EigenerStream, %settings%, Radio, Eigener Stream
  1612. Run %A_programfiles%\Windows Media Player\wmplayer.exe  %EigenerStream%,, Hide
  1613. return
  1614. Radio_Abbrechen:
  1615. 40GuiClose:
  1616. Gui, 40: Destroy
  1617. return
  1618. Radio_Speichern:
  1619. Gui, 40: Submit
  1620. IniWrite, %EigenerStream%, %settings%, Radio, Eigener Stream
  1621. Gui, 40: Destroy
  1622. return
  1623. Radio_Hilfe:
  1624. MsgBox, 64, Hilfe: Radio, Das Radio kann über die grafische Benutzeroberfläche oder per Ingame-Befehle gesteuert werden. Vorraussetzung ist ein Windows Media Player.`nMit dem Befehl /radiohelp können Ingame alle Befehle eingesehen`, um das Radio zu steuern.
  1625. return
  1626. Radio_aus:
  1627. Process, Close, wmplayer.exe
  1628. return
  1629. QuickConnect_SAMP:
  1630. Gui, Minimize
  1631. RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\SAMP, GTA_SA_EXE
  1632. SplitPath, GTA_SA_EXE,, PFAD
  1633. Run, %PFAD%\samp.exe 31.214.160.11:7777
  1634. return
  1635. QuickConnect_TS:
  1636. Gui, Minimize
  1637. IniRead, TSNName, %Settings%, Einstellungen, TSName
  1638. run, ts3server:// rpg-city.de?nickname=%TSName%
  1639. return
  1640. Weblink_Forum:
  1641. Gui, Minimize
  1642. run, http://rpg-city.de/
  1643. return
  1644. Weblink_CP:
  1645. Gui, Minimize
  1646. run, http://cp.rpg-city.de/
  1647. return
  1648. Hilfe_About:
  1649. Gui, 6: Destroy
  1650. Gui, 6: Font, s14 cWhite, Georgia
  1651. Gui, 6: +AlwaysOnTop
  1652. Gui, 6: Add, Picture, x0 y0, %Pictures%\background.jpg
  1653. Gui, 6: Add, Text, x22 y15 +BackgroundTrans, Universal-Binder
  1654. Gui, 6: Add, Text, x57 y35 +BackgroundTrans, Version %Version%
  1655. Gui, 6: Font, s10
  1656. Gui, 6: Add, Text, x3 y80 +BackgroundTrans, Copyright ©2014-2016 by MrPacific | Joey_Bender `nSAMP-API by www.samp-api.net `n`nDieses Programm ist nach dem `ndeutschen Gesetz urheberrichtlich `ngeschützt.`nAlle Rechte vorbehalten.
  1657. Gui, 6: Add, Button, x238 y210 w80 h35 gAbbrechen, OK
  1658. Gui, 6: Show, w325 h250, About
  1659. return
  1660. Hilfe_Entwickler:
  1661. Gui, Minimize
  1662. run, http://rpg-city.de/index.php/User/3-MrPacific/
  1663. return
  1664. Hilfe_Entwickler2:
  1665. Gui, Minimize
  1666. run, http://rpg-city.de/index.php/User/327-Joey-Bender/
  1667. return
  1668. Hilfe_Thread:
  1669. Gui, Minimize
  1670. run, http://rpg-city.de/index.php/Thread/76500-Universal-Binder-Persönlich-anpassbarer-Keybinder/
  1671. return
  1672. Einstellungen:
  1673. Gui, 5: Destroy
  1674. if(Benutzername = "" || Benutzername = "ERROR")
  1675. {
  1676. Benutzername := "Benutzername"
  1677. }
  1678. if(Passwort = "" || Passwort = "ERROR")
  1679. {
  1680. Passwort := "Passwort"
  1681. }
  1682. if(TSName = "" || TSName = "ERROR")
  1683. {
  1684. TSName := "TS-Name"
  1685. }
  1686. if(Job = "" || Job = "ERROR")
  1687. {
  1688. Job := 1
  1689. }
  1690. Gui, 5:Font, cwhite
  1691. Gui, 5:Add, Text, x440 y355 w110 h40 , Created by MrPacific | Edit by Bender
  1692. Gui, 5:Add, GroupBox, x16 y20 w510 h80 , InGame
  1693. Gui, 5:Add, Text, x26 y40 w50 h20 , Name:
  1694. Gui, 5:Add, Text, x26 y70 w50 h20 , Beruf:
  1695. Gui, 5:Add, Edit, x86 y40 w160 h20 cblack vBenutzername, %Benutzername%
  1696. Gui, 5:Add, DDL, x86 y70 w160 cblack +AltSubmit gJob vJob, Arbeitslos|Waffendealer|Drogendealer|Müllmann|Trucker|Hochseefischer|Zugfahrer|Pilot|Mechatroniker|Detektiv|Anwalt|Busfahrer
  1697. IniRead, Job, %Settings%, Einstellungen, Job
  1698. if(Job = 10)
  1699. {
  1700. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vAnwaltskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
  1701. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vBusfahrerskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5|Skill 6|Skill 7|Skill 8|Skill 9|Skill 10|Skill 11|Skill 12
  1702. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vDetektivskill, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
  1703. }
  1704. if(Job = 11)
  1705. {
  1706. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vDetektivskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
  1707. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vBusfahrerskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5|Skill 6|Skill 7|Skill 8|Skill 9|Skill 10|Skill 11|Skill 12
  1708. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vAnwaltskill , Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
  1709. }
  1710. if(Job = 12)
  1711. {
  1712. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vDetektivskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
  1713. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vAnwaltskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
  1714. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vBusfahrerskill, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5|Skill 6|Skill 7|Skill 8|Skill 9|Skill 10|Skill 11|Skill 12
  1715. }
  1716. if(Job != 10 && Job != 11 && Job != 12)
  1717. {
  1718. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vDetektivskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
  1719. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vAnwaltskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
  1720. Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vBusfahrerskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5|Skill 6|Skill 7|Skill 8|Skill 9|Skill 10|Skill 11|Skill 12
  1721. }
  1722. IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
  1723. IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
  1724. IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
  1725. IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch, %A_Space%
  1726. IniRead, GFKillzählerSpruch, %Settings%, Killzähler, GFKillzählerSpruch, %A_Space%
  1727. IniRead, Todeszählerspruch, %Settings%, Todeszähler, Todeszählerspruch, %A_Space%
  1728. if(KillzählerSpruch = "ERROR")
  1729. {
  1730. KillzählerSpruch := ""
  1731. }
  1732. if(Todeszählerspruch = "ERROR")
  1733. {
  1734. Todeszählerspruch := ""
  1735. }
  1736. GuiControl, 5: Choose, Job, %Job%
  1737. GuiControl, 5: Choose, Detektivskill, %Detektivskill%
  1738. GuiControl, 5: Choose, Anwaltskill, %Anwaltskill%
  1739. GuiControl, 5: Choose, Busfahrerskill, %Busfahrerskill%
  1740. IniRead, AntiSpam, %Settings%, Einstellungen, AntiSpam
  1741. Gui, 5:Add, Text, x266 y40 w100 h20 , Passwort (optional):
  1742. Gui, 5:Add, Text, x266 y70 w100 h20 , Skill:
  1743. Gui, 5:Add, Edit, x376 y40 w140 h20 cblack +Password vPasswort, %Passwort%
  1744. Gui, 5:Add, GroupBox, x16 y110 w250 h60 , Teamspeak
  1745. Gui, 5:Add, Text, x26 y130 w50 h20 , Name:
  1746. Gui, 5:Add, Edit, x86 y130 w160 h20 cblack vTSName, %TSName%
  1747. Gui, 5:Add, GroupBox, x280 y110 w250 h60 , Admin-Systeme
  1748. Gui, 5:Add, CheckBox, x350 y130 w110 h20 Checked%admin% vadmin , Admin aktivieren?
  1749. Gui, 5:Add, CheckBox, x26 y200 w140 h20 Checked%Chatlogsaver% vChatlogsaver , Chatlogsaver aktivieren?
  1750. Gui, 5:Add, CheckBox, x26 y230 w180 h20 Checked%AntiSpam% vAntiSpam , AntiSpamKick-System aktivieren?
  1751. Gui, 5:Add, CheckBox, x26 y260 w160 h20 Checked%Gehaltsscheck% vGehaltsscheck, Gehaltsscheck aktivieren?
  1752. Gui, 5:Add, CheckBox, x26 y290 w190 h20 Checked%GangZaehler% vGangZaehler, Gang-Funktionen aktivieren?
  1753. Gui, 5:Add, CheckBox, x246 y200 w130 h20 Checked%Killzähler% vKillzähler, Killzähler aktivieren?
  1754. Gui, 5:Add, CheckBox, x246 y230 w135 h20 Checked%Todeszähler% vTodeszähler, Todeszähler aktivieren?
  1755. Gui, 5:Add, CheckBox, x246 y260 w150 h20 Checked%Lock% vLock, Lock-System aktivieren?
  1756. Gui, 5:Add, CheckBox, x246 y290 w210 h20 Checked%TankZoll% vTankZoll, Easy Tank- und Zoll-System aktivieren?
  1757. Gui, 5:Add, GroupBox, x16 y180 w510 h140 , Funktionen
  1758. Gui, 5:Add, Button, x400 y260 w30 h20 gHilfe_Lock, ?
  1759. Gui, 5:Add, Button, x175 y200 w30 h20 gHilfe_Chatlog, ?
  1760. Gui, 5:Add, Button, x463 y290 w30 h20 gHilfe_TankstelleZoll, ?
  1761. Gui, 5:Add, Button, x385 y200 w30 h20 gHilfe_Killzähler, ?
  1762. Gui, 5:Add, Button, x390 y230 w30 h20 gHilfe_Todeszähler, ?
  1763. Gui, 5:Add, Button, x186 y260 w30 h20 gHilfe_Gehaltscheck, ?
  1764. Gui, 5:Add, Button, x266 y330 w140 h40 gAbbrechen, Abbrechen
  1765. Gui, 5:Add, Button, x86 y330 w150 h40 gSpeichern, Speichern
  1766. Gui, 5:Add, GroupBox, x16 y380 w510 h190 , Killzähler
  1767. Gui, 5:Add, Text, x26 y400 w490 h80 , Trage hier einen Spruch für den Killzähler im /f-Chat ein. Ist die Eingabe leer und der Killzähler dennoch aktiviert`, sind die Kills nur für dich sichtbar. `n`nFolgende "Kürzel" haben eine zusätzliche Funktion:`n<kills> = Anzahl deiner aktuellen Kills `n<pos> = Aktuelle Position
  1768. Gui, 5:Add, Edit, x26 y490 w490 h20 cblack vKillzählerSpruch, %KillzählerSpruch%
  1769. Gui, 5: Add, Text, x26 y517 w490 h18 , Gangfight-Killzähler-Spruch:
  1770. Gui, 5: Add, Edit, x26 y536 w490 h20 cblack vGFKillzählerSpruch, %GFKillzählerSpruch%
  1771. Gui, 5:Add, GroupBox, x16 y575 w510 h140 , Todeszähler
  1772. Gui, 5:Add, Text, x26 y595 w490 h80 , Trage hier einen Spruch für den Todeszähler im /f-Chat ein. Ist die Eingabe leer und der Todeszähler dennoch aktiviert`, sind die Tode nur für dich sichtbar. `n`nFolgende "Kürzel" haben eine zusätzliche Funktion:`n<deaths> = Anzahl deiner aktuellen Tode `n<pos> = Aktuelle Position
  1773. Gui, 5:Add, Edit, x26 y685 w490 h20 cblack vTodeszählerSpruch, %Todeszählerspruch%
  1774. Gui, 5: Add, Picture, x436 y330 w110 h20 vTallgui gTallgui,  %Pictures%\dpbutton.png
  1775. Gui, 5:Color, 292929
  1776. Gui, 5: Show, w550 h745, Einstellungen
  1777. Gui, 5: Show, w550 h383, Einstellungen
  1778. return
  1779. Hilfe_Lock:
  1780. MsgBox, 64, Hilfe: Lock-System, Das Locksystem wird über die Tasten "F" und "M" gesteuert (diese können später nicht mehr belegt werden).`nBeim Einstegen mit der Taste "F" wird das Fahrzeug automatisch abgeschlossen`, um Diebstähle zu vermeiden. Beim Aussteigen mit "F" wird der Motor`, falls er an ist`, kurz vor dem Verlassen des Fahrzeuges ausgeschaltet.`nMit der Taste "M" kann der Motor sowie die Lichtanlage aktiviert werden. Ist das Fahrzeug vor dem Starten des Motors noch nicht abgeschlossen`, übernimmt dies der Keybinder.
  1781. return
  1782. Hilfe_Chatlog:
  1783. MsgBox, 64, Hilfe: Chatlogsaver, Nach dem Beenden von SA:MP wird eine Kopie des Chatlogs im Ordner vom SA:MP gespeichert.
  1784. return
  1785. Hilfe_TankstelleZoll:
  1786. MsgBox, 64, Hilfe: Easy Tank- und Zoll-System, Mit diesem halbautomatischen System fällt das Durchfahren des Zolls und das Betanken eines Fahrzeuges an einer Tankstelle wesentlich einfacher. An einer Zollstation oder einer Tankstelle einfach den Anweisungen des Keybinders folgen.
  1787. return
  1788. Hilfe_Killzähler:
  1789. MsgBox, 64, Hilfe: Killzähler, Der Killzähler zählt automatisch eure Kills. Nutzt ihr diese Funktion das erste Mal könnt ihr Ingame mit dem Befehl /setkills eure Kills eintragen.`n`nDie weiteren Befehle lauten:`n/addkill = Manuell einen Kill addieren (+Ansage im /f-Chat oder im privaten Chat)`nNumPad + = + 1 Kill (+Ansage im /f-Chat oder im privaten Chat)`n/kills = Zeigt deine derzeitigen Kills an
  1790. return
  1791. Hilfe_Todeszähler:
  1792. MsgBox, 64, Hilfe: Todeszähler, Der Todeszähler zählt automatisch eure Tode. Nutzt ihr diese Funktion das erste Mal könnt ihr Ingame mit dem Befehl /setdeaths eure Tode eintragen.`n`nDie weiteren Befehle lauten:`n/adddeath = Manuell einen Tod addieren (+Ansage im /f-Chat oder im privaten Chat)`n ALT + NumPad + = + 1 Tod (+Ansage im /f-Chat oder im privaten Chat)`n/deaths = Zeigt deine derzeitigen Kills an
  1793. return
  1794. Hilfe_Gehaltscheck:
  1795. MsgBox, 64, Hilfe: Gehaltscheck, Ist der Gehaltscheck aktiviert`, wird nach jedem Payday der Netto-Verdienst (Gehalt abzüglich Steuern und Rechnungen) angezeigt.
  1796. return
  1797. 5GuiClose:
  1798. Gui, 5: Destroy
  1799. return
  1800. Tallgui:
  1801. If GuiListShown
  1802. {
  1803. GuiListShown = 0
  1804. GuiControl,,Tallgui, %Pictures%\dpbutton.png
  1805. Gui, 5: Show, w550 h383, Einstellungen
  1806. }
  1807. else
  1808. {
  1809. GuiListShown = 1
  1810. GuiControl,,Tallgui, %Pictures%\upbutton.png
  1811. GuiControl, Move, Created by MrPacific | Edit by Bender, x350 y720 w220 h30
  1812. Gui, 5: Show, w550 h745, Einstellungen
  1813. }
  1814. return
  1815. Sounds:
  1816. IniRead, Callsound, %Settings%, Sounds, Callsound
  1817. if(Callsound == "" || Callsound == "ERROR")
  1818. {
  1819. Callsound := "" . Sounds . "/Call.mp3"
  1820. IniWrite, %Callsound%, %Settings%, Sounds, Callsound
  1821. }
  1822. IniRead, SMSsound, %Settings%, Sounds, SMSsound
  1823. if(SMSsound = "" || SMSsound = "ERROR")
  1824. {
  1825. SMSsound := "" . Sounds . "/SMS.mp3"
  1826. IniWrite, %SMSsound%, %Settings%, Sounds, SMSsound
  1827. }
  1828. IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
  1829. if(LowHPsound = "" || LowHPsound = "ERROR")
  1830. {
  1831. LowHPsound := "" . Sounds . "/LowHP.mp3"
  1832. IniWrite, %LowHPsound%, %Settings%, Sounds, LowHPsound
  1833. }
  1834. IniRead, Killsound, %Settings%, Sounds, Killsound
  1835. if(Killsound = "" || Killsound = "ERROR")
  1836. {
  1837. Killsound := "" . Sounds . "/Kill.mp3"
  1838. IniWrite, %Killsound%, %Settings%, Sounds, Killsound
  1839. }
  1840. IniRead, Todessound, %Settings%, Sounds, Todessound
  1841. if(Todessound = "" || Todessound = "ERROR")
  1842. {
  1843. Todessound := "" . Sounds . "/Tod.mp3"
  1844. IniWrite, %Todessound%, %Settings%, Sounds, Todessound
  1845. }
  1846. Gui, 4: Destroy
  1847. Gui, 4: Font, s10, bold
  1848. Gui, 4:Add, GroupBox, x36 y10 w700 h110 cwhite, Informationen
  1849. Gui, 4:Add, Text, x46 y30 w620 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.
  1850. Gui, 4:Add, Checkbox, x52 y163 w13 h13 gCheckCall Checked%CheckCall% vCheckCall,
  1851. Gui, 4:Add, Checkbox, x52 y193 w13 h13 gCheckSMS Checked%CheckSMS% vCheckSMS,
  1852. Gui, 4:Add, Checkbox, x52 y223 w13 h13 gCheckLowHP Checked%CheckLowHP% vCheckLowHP,
  1853. Gui, 4:Add, Checkbox, x52 y253 w13 h13 gCheckKill Checked%CheckKill% vCheckKill,
  1854. Gui, 4:Add, Checkbox, x52 y283 w13 h13 gCheckTod Checked%CheckTod% vCheckTod,
  1855. Gui, 4:Add, GroupBox, x36 y130 w700 h190 cwhite, Sounds
  1856. Gui, 4:Add, Text, x76 y160 w60 h20 cwhite +center, Anruf:
  1857. Gui, 4:Add, Text, x76 y190 w60 h20 cwhite +center, SMS:
  1858. Gui, 4:Add, Text, x76 y220 w60 h20 cwhite +center, Low-HP:
  1859. Gui, 4:Add, Text, x76 y250 w60 h20 cwhite +center, Kill:
  1860. Gui, 4:Add, Text, x76 y280 w60 h20 cwhite +center, Tod:
  1861. Gui, 4:Add, Text, x156 y160 w540 h20 cwhite +0x200 +E0x20210 +center gCallAuswahl vCallAuswahl, %Callsound%
  1862. Gui, 4:Add, Text, x156 y190 w540 h20 cwhite +0x200 +E0x20210 +center gSMSAuswahl vSMSAuswahl, %SMSsound%
  1863. Gui, 4:Add, Text, x156 y220 w540 h20 cwhite +0x200 +E0x20210 +center gLowHPAuswahl vLowHPAuswahl, %LowHPsound%
  1864. Gui, 4:Add, Text, x156 y250 w540 h20 cwhite +0x200 +E0x20210 +center gKillAuswahl vKillAuswahl, %Killsound%
  1865. Gui, 4:Add, Text, x156 y280 w540 h20 cwhite +0x200 +E0x20210 +center gTodAuswahl vTodAuswahl, %Todessound%
  1866. Gui, 4:Add, Picture, x705 y160 w20 h20 +BackgroundTrans gEinstellCall, %Pictures%\soundwahl.png
  1867. Gui, 4:Add, Picture, x705 y190 w20 h20 +BackgroundTrans gEinstellSMS, %Pictures%\soundwahl.png
  1868. Gui, 4:Add, Picture, x705 y220 w20 h20 +BackgroundTrans gEinstellLowHP, %Pictures%\soundwahl.png
  1869. Gui, 4:Add, Picture, x705 y250 w20 h20 +BackgroundTrans gEinstellKill, %Pictures%\soundwahl.png
  1870. Gui, 4:Add, Picture, x705 y280 w20 h20 +BackgroundTrans gEinstellTod, %Pictures%\soundwahl.png
  1871. IniRead, CheckCall, %Settings%, Sounds, CheckCall
  1872. IniRead, CheckSMS, %Settings%, Sounds, CheckSMS
  1873. IniRead, CheckLowHP, %Settings%, Sounds, CheckLowHP
  1874. IniRead, CheckKill, %Settings%, Sounds, CheckKill
  1875. IniRead, CheckTod, %Settings%, Sounds, CheckTod
  1876. IniRead, Callsound, %Settings%, Sounds, Callsound
  1877. IniRead, SMSsound, %Settings%, Sounds, SMSsound
  1878. IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
  1879. IniRead, Killsound, %Settings%, Sounds, Killsound
  1880. IniRead, Todessound, %Settings%, Sounds, Todessound
  1881. GuiControl, 4: , CheckCall, %CheckCall%
  1882. GuiControl, 4: , CheckSMS, %CheckSMS%
  1883. GuiControl, 4: , CheckLowHP, %CheckLowHP%
  1884. GuiControl, 4: , CheckKill, %CheckKill%
  1885. GuiControl, 4: , CheckTod, %CheckTod%
  1886. GuiControl, 4: , CallAuswahl, %CallSound%
  1887. GuiControl, 4: , SMSAuswahl, %SMSSound%
  1888. GuiControl, 4: , LowHPAuswahl, %LowHPSound%
  1889. GuiControl, 4: , KillAuswahl, %KillSound%
  1890. GuiControl, 4: , TodAuswahl, %Todessound%
  1891. Gui, 4: Add, Button, x296 y330 w180 h50 gZurück, Zurück
  1892. Gui, 4:Color, 292929
  1893. Gui, 4:Show, w780 h400, Sounds
  1894. IniRead, VolCall, %Settings%, Sounds, VolCall
  1895. IniRead, VolSMS, %Settings%, Sounds, VolSMS
  1896. IniRead, VolLowHP, %Settings%, Sounds, VolLowHP
  1897. IniRead, VolKill, %Settings%, Sounds, VolKill
  1898. IniRead, VolTod, %Settings%, Sounds, VolTod
  1899. if(VolCall = "" || VolCall = "ERROR")
  1900. {
  1901. VolCall := 100
  1902. IniWrite, %VolCall%, %Settings%, Sounds, VolCall
  1903. }
  1904. if(VolSMS = "" || VolSMS = "ERROR")
  1905. {
  1906. VolSMS := 100
  1907. IniWrite, %VolSMS%, %Settings%, Sounds, VolSMS
  1908. }
  1909. if(VolLowHP = "" || VolLowHP = "ERROR")
  1910. {
  1911. VolLowHP := 100
  1912. IniWrite, %VolLowHP%, %Settings%, Sounds, VolLowHP
  1913. }
  1914. if(VolKill = "" || VolKill = "ERROR")
  1915. {
  1916. VolKill := 100
  1917. IniWrite, %VolKill%, %Settings%, Sounds, VolKill
  1918. }
  1919. if(VolTod = "" || VolTod = "ERROR")
  1920. {
  1921. VolTod := 100
  1922. IniWrite, %VolTod%, %Settings%, Sounds, VolTod
  1923. }
  1924. return
  1925. Zurück:
  1926. 4GuiClose:
  1927. goto Abbrechen
  1928. return
  1929. CallAuswahl:
  1930. if(CheckCall = 1)
  1931. {
  1932. FileSelectFile, Callsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1933. if(Callsoundx != "")
  1934. {
  1935. Callsound := Callsoundx
  1936. IniWrite, %Callsound%, %Settings%, Sounds, Callsound
  1937. GuiControl, 4: , CallAuswahl, %CallSound%
  1938. if(A_OSVersion != "WIN_XP")
  1939. {
  1940. SoundSetWaveVolume, %VolCall%
  1941. }
  1942. SoundPlay, %CallSound%
  1943. }
  1944. }
  1945. return
  1946. SMSAuswahl:
  1947. if(CheckSMS = 1)
  1948. {
  1949. FileSelectFile, SMSsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1950. if(SMSsoundx != "")
  1951. {
  1952. SMSsound := SMSsoundx
  1953. IniWrite, %SMSsound%, %Settings%, Sounds, SMSsound
  1954. GuiControl, 4: , SMSAuswahl, %SMSSound%
  1955. if(A_OSVersion != "WIN_XP")
  1956. {
  1957. SoundSetWaveVolume, %VolSMS%
  1958. }
  1959. SoundPlay, %SMSSound%
  1960. }
  1961. }
  1962. return
  1963. LowHPAuswahl:
  1964. if(CheckLowHP = 1)
  1965. {
  1966. FileSelectFile, LowHPsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1967. if(LowHPsoundx != "")
  1968. {
  1969. LowHPsound := LowHPsoundx
  1970. IniWrite, %LowHPsound%, %Settings%, Sounds, LowHPsound
  1971. GuiControl, 4: , LowHPAuswahl, %LowHPSound%
  1972. if(A_OSVersion != "WIN_XP")
  1973. {
  1974. SoundSetWaveVolume, %VolLowHP%
  1975. }
  1976. SoundPlay, %LowHPSound%
  1977. }
  1978. }
  1979. return
  1980. KillAuswahl:
  1981. if(CheckKill = 1)
  1982. {
  1983. FileSelectFile, Killsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1984. if(Killsoundx != "")
  1985. {
  1986. Killsound := Killsoundx
  1987. IniWrite, %Killsound%, %Settings%, Sounds, Killsound
  1988. GuiControl, 4: , KillAuswahl, %KillSound%
  1989. if(A_OSVersion != "WIN_XP")
  1990. {
  1991. SoundSetWaveVolume, %VolKill%
  1992. }
  1993. SoundPlay, %KillSound%
  1994. }
  1995. }
  1996. return
  1997. TodAuswahl:
  1998. if(CheckTod = 1)
  1999. {
  2000. FileSelectFile, Todsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  2001. if(Todsoundx != "")
  2002. {
  2003. Todessound := Todsoundx
  2004. IniWrite, %Todessound%, %Settings%, Sounds, Todessound
  2005. GuiControl, 4: , TodAuswahl, %Todessound%
  2006. if(A_OSVersion != "WIN_XP")
  2007. {
  2008. SoundSetWaveVolume, %VolTod%
  2009. }
  2010. SoundPlay, %Todessound%
  2011. }
  2012. }
  2013. return
  2014. CheckCall:
  2015. Gui, 4: Submit, NoHide
  2016. IniWrite, %CheckCall%, %Settings%, Sounds, CheckCall
  2017. return
  2018. CheckSMS:
  2019. Gui, 4: Submit, NoHide
  2020. IniWrite, %CheckSMS%, %Settings%, Sounds, CheckSMS
  2021. GuiControl, 4: Choose, CheckSMS, %CheckSMS%
  2022. return
  2023. CheckLowHP:
  2024. Gui, 4: Submit, NoHide
  2025. IniWrite, %CheckLowHP%, %Settings%, Sounds, CheckLowHP
  2026. GuiControl, 4: Choose, CheckLowHP, %CheckLowHP%
  2027. return
  2028. CheckKill:
  2029. Gui, 4: Submit, NoHide
  2030. IniWrite, %CheckKill%, %Settings%, Sounds, CheckKill
  2031. GuiControl, 4: Choose, CheckKill, %CheckKill%
  2032. return
  2033. CheckTod:
  2034. Gui, 4: Submit, NoHide
  2035. IniWrite, %CheckTod%, %Settings%, Sounds, CheckTod
  2036. GuiControl, 4: Choose, CheckTod, %CheckTod%
  2037. return
  2038. EinstellCall:
  2039. if(CheckCall = 1)
  2040. {
  2041. if(A_OSVersion != "WIN_XP")
  2042. {
  2043. Gui, 41: Destroy
  2044. Gui, 41: Add, Text, x15 y10 w60 h20, Lautstärke:
  2045. Gui, 41: Add, Slider, x5 y30 w310 h30 AltSubmit vVolCall gVolCall, %VolCall%
  2046. Gui, 41: Add, Text, x15 y60 w30 h20 +center, Min
  2047. Gui, 41: Add, Text, x285 y60 w30 h20 +center, Max
  2048. VolCallProz := "" . VolCall . "%"
  2049. Gui, 41: Add, Text, x40 y60 w240 h20 +center vVolCallProz, %VolCallProz%
  2050. Gui, 41: Show
  2051. }
  2052. else
  2053. {
  2054. MsgBox, 48, Einstellung Callsound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
  2055. }
  2056. }
  2057. return
  2058.  
  2059. EinstellSMS:
  2060. if(CheckSMS = 1)
  2061. {
  2062. if(A_OSVersion != "WIN_XP")
  2063. {
  2064. Gui, 42: Destroy
  2065. Gui, 42: Add, Text, x15 y10 w60 h20, Lautstärke:
  2066. Gui, 42: Add, Slider, x5 y30 w310 h30 AltSubmit vVolSMS gVolSMS, %VolSMS%
  2067. Gui, 42: Add, Text, x15 y60 w30 h20 +center, Min
  2068. Gui, 42: Add, Text, x285 y60 w30 h20 +center, Max
  2069. VolSMSProz := "" . VolSMS . "%"
  2070. Gui, 42: Add, Text, x40 y60 w240 h20 +center vVolSMSProz, %VolSMSProz%
  2071. Gui, 42: Show
  2072. }
  2073. else
  2074. {
  2075. MsgBox, 48, Einstellung SMSsound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
  2076. }
  2077. }
  2078. return
  2079. EinstellLowHP:
  2080. if(CheckLowHP = 1)
  2081. {
  2082. if(A_OSVersion != "WIN_XP")
  2083. {
  2084. Gui, 43: Destroy
  2085. Gui, 43: Add, Text, x15 y10 w60 h20, Lautstärke:
  2086. Gui, 43: Add, Slider, x5 y30 w310 h30 AltSubmit vVolLowHP gVolLowHP, %VolLowHP%
  2087. Gui, 43: Add, Text, x15 y60 w30 h20 +center, Min
  2088. Gui, 43: Add, Text, x285 y60 w30 h20 +center, Max
  2089. VolLowHPProz := "" . VolLowHP . "%"
  2090. Gui, 43: Add, Text, x40 y60 w240 h20 +center vVolLowHPProz, %VolLowHPProz%
  2091. Gui, 43: Show
  2092. }
  2093. else
  2094. {
  2095. MsgBox, 48, Einstellung LowHPsound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
  2096. }
  2097. }
  2098. return
  2099. EinstellKill:
  2100. if(CheckKill = 1)
  2101. {
  2102. if(A_OSVersion != "WIN_XP")
  2103. {
  2104. Gui, 44: Destroy
  2105. Gui, 44: Add, Text, x15 y10 w60 h20, Lautstärke:
  2106. Gui, 44: Add, Slider, x5 y30 w310 h30 AltSubmit vVolKill gVolKill, %VolKill%
  2107. Gui, 44: Add, Text, x15 y60 w30 h20 +center, Min
  2108. Gui, 44: Add, Text, x285 y60 w30 h20 +center, Max
  2109. VolKillProz := "" . VolKill . "%"
  2110. Gui, 44: Add, Text, x40 y60 w240 h20 +center vVolKillProz, %VolKillProz%
  2111. Gui, 44: Show
  2112. }
  2113. else
  2114. {
  2115. MsgBox, 48, Einstellung Killsound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
  2116. }
  2117. }
  2118. return
  2119. EinstellTod:
  2120. if(CheckTod = 1)
  2121. {
  2122. if(A_OSVersion != "WIN_XP")
  2123. {
  2124. Gui, 45: Destroy
  2125. Gui, 45: Add, Text, x15 y10 w60 h20, Lautstärke:
  2126. Gui, 45: Add, Slider, x5 y30 w310 h30 AltSubmit vVolTod gVolTod, %VolTod%
  2127. Gui, 45: Add, Text, x15 y60 w30 h20 +center, Min
  2128. Gui, 45: Add, Text, x285 y60 w30 h20 +center, Max
  2129. VolTodProz := "" . VolTod . "%"
  2130. Gui, 45: Add, Text, x40 y60 w240 h20 +center vVolTodProz, %VolTodProz%
  2131. Gui, 45: Show
  2132. }
  2133. else
  2134. {
  2135. MsgBox, 48, Einstellung Todessound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
  2136. }
  2137. }
  2138. return
  2139. VolCall:
  2140. GuiControlGet MemVol,, VolCall
  2141. VolCallProz := "" . VolCall . "%"
  2142. GuiControl,,VolCallProz, %VolCallProz%
  2143. SoundSetWaveVolume %MemVol%
  2144. SoundPlay, %Callsound%
  2145. IniWrite, %VolCall%, %Settings%, Sounds, VolCall
  2146. return
  2147. VolSMS:
  2148. GuiControlGet MemVol,, VolSMS
  2149. VolSMSProz := "" . VolSMS . "%"
  2150. GuiControl,,VolSMSProz, %VolSMSProz%
  2151. SoundSetWaveVolume %MemVol%
  2152. SoundPlay, %SMSsound%
  2153. IniWrite, %VolSMS%, %Settings%, Sounds, VolSMS
  2154. return
  2155. VolLowHP:
  2156. GuiControlGet MemVol,, VolLowHP
  2157. VolLowHPProz := "" . VolLowHP . "%"
  2158. GuiControl,,VolLowHPProz, %VolLowHPProz%
  2159. SoundSetWaveVolume %MemVol%
  2160. SoundPlay, %LowHPsound%
  2161. IniWrite, %VolLowHP%, %Settings%, Sounds, VolLowHP
  2162. return
  2163. VolKill:
  2164. GuiControlGet MemVol,, VolKill
  2165. VolKillProz := "" . VolKill . "%"
  2166. GuiControl,,VolKillProz, %VolKillProz%
  2167. SoundSetWaveVolume %MemVol%
  2168. SoundPlay, %Killsound%
  2169. IniWrite, %VolKill%, %Settings%, Sounds, VolKill
  2170. return
  2171. VolTod:
  2172. GuiControlGet MemVol,, VolTod
  2173. VolTodProz := "" . VolTod . "%"
  2174. GuiControl,,VolTodProz, %VolTodProz%
  2175. SoundSetWaveVolume %MemVol%
  2176. SoundPlay, %Todessound%
  2177. IniWrite, %VolTod%, %Settings%, Sounds, VolTod
  2178. return
  2179. 41GuiClose:
  2180. Soundplay, avixa.avi
  2181. Gui, 41: Destroy
  2182. return
  2183. 42GuiClose:
  2184. Soundplay, avixa.avi
  2185. Gui, 42: Destroy
  2186. return
  2187. 43GuiClose:
  2188. Soundplay, avixa.avi
  2189. Gui, 43: Destroy
  2190. return
  2191. 44GuiClose:
  2192. Soundplay, avixa.avi
  2193. Gui, 44: Destroy
  2194. return
  2195. 45GuiClose:
  2196. Soundplay, avixa.avi
  2197. Gui, 45: Destroy
  2198. return
  2199. Befehle:
  2200. Gui, 9: Destroy
  2201. Gui, 9:Font, cwhite
  2202. Gui, 9: Add, GroupBox, x6 y10 w690 h50 , Information
  2203. Gui, 9: Add, Text, x16 y30 w660 h20 , Auf dieser Seite können feste Befehle eingesehen werden und andere Funktionen angepasst werden.
  2204. if(Pickup = "" || Pickup = "ERROR")
  2205. Pickup := "Text bei entgegengenommenen Anrufen (/p)"
  2206. if(Hangup = "" || Hangup = "ERROR")
  2207. Hangup := "Text beim Beenden eines Telefonats (/h)"
  2208. Gui, 9: Add, Edit, x366 y110 w300 h25 cblack vPickup, %Pickup%
  2209. Gui, 9: Add, Edit, x366 y150 w300 h25 cblack vHangup, %Hangup%
  2210. Gui, 9: Add, Text, x460 y202 w202 h16 , = Keybinder pausieren / aktivieren
  2211. Gui, 9: Add, Hotkey, x366 y200 w90 h20 vHKPause Limit3, %HKPause%
  2212. Gui, 9: Add, Text, x460 y232 w202 h16, = Gesagtes Wiederholen
  2213. Gui, 9: Add, Hotkey, x366 y230 w90 h20 vHKWiederholen, %HKWiederholen%
  2214. Gui, 9: Add, Text, x460 y262 w202 h16 , = Aktuelle HP anzeigen im /f-Chat
  2215. Gui, 9: Add, Hotkey, x366 y260 w90 h20 vHKHP, %HKHP%
  2216. Gui, 9: Add, HotKey, x366 y290 w90 h20 vHKHilfe, %HKHilfe%
  2217. Gui, 9: Add, Text, x460 y292 w202 h16, = Hilfe im /f-Chat mit Standort
  2218. Gui, 9: Add, Button, x194 y514 w150 h40 gSpeichern, Speichern
  2219. Gui, 9: Add, Button, x364 y514 w150 h40 gAbbrechen, Abbrechen
  2220. Gui, 9: Add, GroupBox, x6 y80 w340 h420 , Feste Befehle
  2221. Gui, 9: Add, Edit, x16 y100 w320 h390 +ReadOnly, /overlay - (De-)aktiviert das Overlay `n/move Overlay - (De-)aktiviert den Verschiebungsmodus `n/speichern - Speichert das verschobene Overlay `n/gstats - Zeigt die aktuellen Gang / Mafien Statistik `n/pbmodus - (De-)aktiviert den Paintballmodus `n/on = /hitsound + /messages + /tog -> Telefon `n`nLSTRG + T = Tempomat (de-)aktiviert `n/tempo = Tempomat mit fester Geschwindigkeit aktivieren `n`n/re = Antwortet auf die letzte SMS `n/read = Antwortet auf die letzte AD `n/kcall = Call by Name `n/ksms = SMS by Name `n/an = Anruf annehmen mit Anrufererkennung `n/ab - Anrufbeantworter `n/danke = Danke für Ihren Anruf (+/h) `n`n/tag = Guten Tag Sir `n/jas = Ja Sir `n/jam - Ja Madam `n/ja - Ja `n/bye = Schönen Tag noch. `n`n/fischen = Automatisiertes Fischen/Verkaufen `n/kochen = Kocht alle Fische `n/hp = Zeigt die HP der aktuellen Fische an `nNum* - Isst einen Fisch (Erst Fish 1, dann Fisch 2 ...) `n`n/fhilfe = Öffnet die Hilfe der Freundesliste und zeigt die weitere Befehle an `n/radiohelp - Zeigt alle Radio-Befehle an `n`n/fg = Legt 1.250.000 Festgeld an `n/sani = Nimmt ein Paket an `n/tanken = Automatisiertes Tanken `n/cd oder /countdown = Starten eines Countdwons `n`, = Starten der Stoppuhr `n. = Stoppen der Stoppuhr `n/alotto = /lotto mit einer zufälligen Zahl `n/minuten - Rechnet Sekunden in Minuten um `n/info = Gibt aktuelle Informationen (Player und Car) an `n/user = Zeigt die Statistik eines anderen Users an `n/savestats = Screen der Stats mit /time `n/chat = Cleart den Chat `n/relog = Führt einen Relog durch
  2222. Gui, 9: Add, GroupBox, x356 y330 w340 h170 , Jobbefehle
  2223. Gui, 9: Add, GroupBox, x356 y80 w340 h240 , Optionale Befehle
  2224. IniRead, Job, %Settings%, Einstellungen, Job
  2225. if(Job = 1)
  2226. {
  2227. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Arbeitslos: Deaktiviert
  2228. }
  2229. if(Job = 2)
  2230. {
  2231. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Waffendealer
  2232. }
  2233. if(Job = 3)
  2234. {
  2235. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Drogendealer
  2236. }
  2237. if(Job = 4)
  2238. {
  2239. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Müllmann
  2240. }
  2241. if(Job = 5)
  2242. {
  2243. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Trucker
  2244. }
  2245. if(Job = 6)
  2246. {
  2247. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Hochseefischer
  2248. }
  2249. if(Job = 7)
  2250. {
  2251. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Zugfahrer
  2252. }
  2253. if(Job = 8)
  2254. {
  2255. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Pilot
  2256. }
  2257. if(Job = 9)
  2258. {
  2259. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Mechatroniker
  2260. }
  2261. if(Job = 10)
  2262. {
  2263. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Detektiv
  2264. }
  2265. if(Job = 11)
  2266. {
  2267. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Anwalt
  2268. }
  2269. if(Job = 12)
  2270. {
  2271. Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Busfahrer
  2272. }
  2273. Gui, 9:Add, Text, x366 y410 w320 h80 , Befehle für den Job als Taxifahrer: `n`n/gast [ID] - Begrüßt den Gast und fragt nach dem Reiseziel `n/ok - Bestätigt das Ziel und startet eine Stoppuhr `n/ende - Merkt an`, dass das Ziel erreicht wurde`, gibt die Fahrzeit an und verabschiedet sich vom Fahrgast
  2274. Gui, 9:Color, 292929
  2275. Gui, 9:Show, w710 h588, Befehle
  2276. return
  2277. InfoBeruf:
  2278. IniRead, Job, %Settings%, Einstellungen, Job
  2279. IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
  2280. IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
  2281. IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
  2282. IniRead, HotKey1, %Hotkeys%, JobHotkey, HotKey1, %A_Space%
  2283. IniRead, HotKey2, %Hotkeys%, JobHotkey, HotKey2, %A_Space%
  2284. IniRead, HotKey3, %Hotkeys%, JobHotkey, HotKey3, %A_Space%
  2285. IniRead, HotKey4, %Hotkeys%, JobHotkey, HotKey4, %A_Space%
  2286. IniRead, HotKey5, %Hotkeys%, JobHotkey, HotKey5, %A_Space%
  2287. if(Job = 1)
  2288. {
  2289. }
  2290. if(Job = 2)
  2291. {
  2292. Gui, 12: Destroy
  2293. Gui, 12: Add, Picture, x0 y0 w480 h250 , %Pictures%\waffendealerpic.jpg
  2294. Gui, 12: Add, Text, x236 y44 w150 h20 +BackgroundTrans, /materials get <Anzahl>
  2295. Gui, 12: Add, Text, x236 y74 w150 h20 +BackgroundTrans, /materials deliver
  2296. Gui, 12: Add, Text, x236 y104 w150 h20 +BackgroundTrans, /sellgun <Spieler> <Waffe>
  2297. Gui, 12: Add, Text, x236 y134 w150 h20 +BackgroundTrans, /put mats <Menge>
  2298. Gui, 12: Add, Text, x236 y164 w150 h20 +BackgroundTrans, /gtake mats <Anzahl>
  2299. Gui, 12: Add, Button, x176 y200 w100 h30 gSave12, OK
  2300. Gui, 12: Add, Hotkey, x66 y40 w160 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
  2301. Gui, 12: Add, Hotkey, x66 y70 w160 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
  2302. Gui, 12: Add, Hotkey, x66 y100 w160 h20 vHotKey3 Checked%HotKey3%, %HotKey3%
  2303. Gui, 12: Add, Hotkey, x66 y130 w160 h20 vHotKey4 Checked%HotKey4%, %HotKey4%
  2304. Gui, 12: Add, Hotkey, x66 y160 w160 h20 vHotKey5 Checked%HotKey1%, %HotKey5%
  2305. Gui, 12: Show, w475 h250, Job: Waffendealer
  2306. }
  2307. if(Job = 3)
  2308. {
  2309. Gui, 13: Destroy
  2310. Gui, 13: Add, Picture, x-4 y0 w410 h210 , %Pictures%\drogendealerpic.jpg
  2311. Gui, 13: Add, Hotkey, x36 y20 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
  2312. Gui, 13: Add, Hotkey, x36 y50 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
  2313. Gui, 13: Add, Hotkey, x36 y80 w150 h20 vHotKey3 Checked%HotKey3%, %HotKey3%
  2314. Gui, 13: Add, Hotkey, x36 y110 w150 h20 vHotKey4 Checked%HotKey4%, %HotKey4%
  2315. Gui, 13: Add, Hotkey, x36 y140 w150 h20 vHotKey5 Checked%HotKey5%, %HotKey5%
  2316. Gui, 13: Add, Text, x196 y24 w160 h20 +BackgroundTrans, /drogen get <Anzahl>
  2317. Gui, 13: Add, Text, x196 y54 w160 h20 +BackgroundTrans, /drogen deliver
  2318. Gui, 13: Add, Text, x196 y84 w180 h20 +BackgroundTrans, /selldrugs <Gramm> <Spieler> <Preis>
  2319. Gui, 13: Add, Text, x196 y114 w160 h20 +BackgroundTrans, /put drugs <Gramm>
  2320. Gui, 13: Add, Text, x196 y144 w160 h20 +BackgroundTrans, /gtake drugs <Gramm>
  2321. Gui, 13: Add, Button, x146 y170 w100 h30 gSave13, OK
  2322. Gui, 13: Show, w408 h212, Job: Drogendealer
  2323. }
  2324. if(Job = 4)
  2325. {
  2326. Gui, 14: Destroy
  2327. Gui, 14: Add, Picture, x0 y0 w410 h160 , %Pictures%\muellmannpic.jpg
  2328. Gui, 14: Add, Hotkey, x54 y20 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
  2329. Gui, 14: Add, Text, x214 y23 w160 h20 +BackgroundTrans, /garbage <Spieler>
  2330. Gui, 14: Add, Hotkey, x54 y60 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
  2331. Gui, 14: Add, Text, x214 y63 w160 h20 +BackgroundTrans, /garbagestop
  2332. Gui, 14: Add, Button, x166 y100 w100 h30 gSave14, OK
  2333. Gui, 14: Show, w407 h160, Job: Müllmann
  2334. }
  2335. if(Job = 5)
  2336. {
  2337. Gui, 15: Destroy
  2338. Gui, 15: Add, Picture, x0 y0 w400 h217 , %Pictures%\truckerpic.jpg
  2339. Gui, 15: Add, Hotkey, x36 y27 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
  2340. Gui, 15: Add, Text, x196 y30 w180 h20 +BackgroundTrans, /delivery (Zum Ansehen der Aufträge)
  2341. Gui, 15: Add, Hotkey, x36 y57 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
  2342. Gui, 15: Add, Text, x196 y60 w180 h20 +BackgroundTrans, /delivery <Auftrag>
  2343. Gui, 15: Add, Button, x136 y90 w100 h30 gSave15, OK
  2344. Gui, 15: Show, w400 h152, Job: Trucker
  2345. }
  2346. if(Job = 6)
  2347. {
  2348. Gui, 16: Destroy
  2349. Gui, 16: Add, Picture, x0 y0 w400 h180 , %Pictures%\hochseefischerpic.jpg
  2350. Gui, 16: Add, Text, x75 y25 w140 h20 +BackgroundTrans, Reuse 2 auslegen/einholen
  2351. Gui, 16: Add, Text, x75 y45 w140 h20 +BackgroundTrans, Reuse 3 auslegen/einholen
  2352. Gui, 16: Add, Text, x75 y65 w140 h20 +BackgroundTrans, Reuse 4 auslegen/einholen
  2353. Gui, 16: Add, Text, x75 y85 w140 h20 +BackgroundTrans, Reuse 5 auslegen/einholen
  2354. Gui, 16: Add, Text, x75 y122 w140 h20 +BackgroundTrans, Abgabepunkt markieren
  2355. Gui, 16: Add, Text, x75 y5 w140 h20 +BackgroundTrans, Reuse 1 auslegen/einholen
  2356. Gui, 16: Add, Text, x225 y5 w130 h20 +BackgroundTrans, /R1
  2357. Gui, 16: Add, Text, x225 y25 w130 h20 +BackgroundTrans, /R2
  2358. Gui, 16: Add, Text, x225 y45 w130 h20 +BackgroundTrans, /R3
  2359. Gui, 16: Add, Text, x225 y65 w130 h20 +BackgroundTrans, /R4
  2360. Gui, 16: Add, Text, x225 y85 w130 h20 +BackgroundTrans, /R5
  2361. Gui, 16: Add, Text, x225 y122 w130 h20 +BackgroundTrans, /abgabe
  2362. Gui, 16: Add, Text, x75 y103 w140 h20 +BackgroundTrans, Aktuelle Fische anzeigen
  2363. Gui, 16: Add, Text, x225 y102 w130 h20 +BackgroundTrans, /fische
  2364. Gui, 16: Add, Button, x155 y143 w100 h30 gSave16, OK
  2365. Gui, 16: Show, w396 h180, Job: Hochseefischer
  2366. }
  2367. if(Job = 7)
  2368. {
  2369. Gui, 17: Destroy
  2370. Gui, 17: Add, Picture, x0 y0 w400 h170 , %Pictures%\zugfahrerpic.jpg
  2371. Gui, 17: Add, Hotkey, x66 y40 w140 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
  2372. Gui, 17: Add, Text, x218 y44 w140 h20 +BackgroundTrans, /duty
  2373. Gui, 17: Add, Button, x156 y100 w100 h30 gSave17, OK
  2374. Gui, 17: Show, w395 h170, Job: Zugfahrer
  2375. }
  2376. if(Job = 8)
  2377. {
  2378. Gui, 18: Destroy
  2379. Gui, 18: Add, Picture, x0 y0 w400 h170 , %Pictures%\pilotpic.jpg
  2380. Gui, 18: Add, Hotkey, x46 y40 w140 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
  2381. Gui, 18: Add, Text, x206 y45 w110 h20 +BackgroundTrans, /duty
  2382. Gui, 18: Add, Button, x146 y100 w90 h30 gSave18, OK
  2383. Gui, 18: Show, w400 h170, Job: Pilot
  2384. }
  2385. if(Job = 9)
  2386. {
  2387. Gui, 19: Destroy
  2388. Gui, 19: Add, Picture, x0 y0 w400 h170 , %Pictures%\mechatronikerpic.jpg
  2389. Gui, 19: Add, Hotkey, x46 y30 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
  2390. Gui, 19: Add, Hotkey, x46 y70 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
  2391. Gui, 19: Add, Text, x206 y34 w160 h20 +BackgroundTrans, /refill <Spieler> <Preis>
  2392. Gui, 19: Add, Text, x206 y74 w160 h20 +BackgroundTrans, /repair <Spieler> <Preis>
  2393. Gui, 19: Add, Button, x156 y120 w100 h30 gSave19, OK
  2394. Gui, 19: Show, w396 h170, Job: Mechatroniker
  2395. }
  2396. if(Job = 10)
  2397. {
  2398. Gui, 20: Destroy
  2399. Gui, 20: Add, Picture, x0 y0 w400 h170 , %Pictures%\detektivpic.jpg
  2400. Gui, 20: Add, Text, x46 y10 w320 h20 +BackgroundTrans, Information: Der Skill kann in den Einstellungen angepasst werden.
  2401. Gui, 20: Add, Text, x70 y55 w60 h20 +BackgroundTrans, /afind (/af)
  2402. Gui, 20: Add, Text, x70 y95 w80 h20 +BackgroundTrans, /ashowpos (/as)
  2403. Gui, 20: Add, Text, x150 y55 w230 h20 +BackgroundTrans, = Automatisches Suchen (abhängig vom Skill)
  2404. Gui, 20: Add, Text, x150 y95 w230 h20 +BackgroundTrans, = Automatisches Zeigen (abhängig vom Skill)
  2405. Gui, 20: Add, Button, x146 y130 w100 h30 gSave20, OK
  2406. Gui, 20: Show, w395 h170, Job: Detektiv
  2407. }
  2408. if(Job = 11)
  2409. {
  2410. Gui, 21: Destroy
  2411. Gui, 21: Add, Picture, x0 y0 w400 h170 , %Pictures%\anwaltpic.jpg
  2412. Gui, 21: Add, Hotkey, x46 y30 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
  2413. Gui, 21: Add, Hotkey, x46 y70 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
  2414. Gui, 21: Add, Text, x216 y36 w150 h20 +BackgroundTrans, /freeinfo
  2415. Gui, 21: Add, Text, x216 y76 w150 h20 +BackgroundTrans, /free <Spieler> <Kaution>
  2416. Gui, 21: Add, Button, x156 y110 w100 h30 gSave21, OK
  2417. Gui, 21: Show, w395 h170, Job: Anwalt
  2418. }
  2419. if(Job = 12)
  2420. {
  2421. Gui, 22: Destroy
  2422. Gui, 22: Add, Picture, x0 y0 w480 h290 , %Pictures%\busfahrerpic.jpg
  2423. Gui, 22: Add, Text, x161 y20 w100 h20 +BackgroundTrans, /l1
  2424. Gui, 22: Add, Text, x161 y40 w100 h20 +BackgroundTrans, /l2
  2425. Gui, 22: Add, Text, x161 y60 w100 h20 +BackgroundTrans, /l3
  2426. Gui, 22: Add, Text, x161 y80 w100 h20 +BackgroundTrans, /l4
  2427. Gui, 22: Add, Text, x161 y100 w100 h20 +BackgroundTrans, /l5
  2428. Gui, 22: Add, Text, x161 y120 w100 h20 +BackgroundTrans, /l6
  2429. Gui, 22: Add, Text, x161 y140 w100 h20 +BackgroundTrans, /l7
  2430. Gui, 22: Add, Text, x161 y160 w100 h20 +BackgroundTrans, /l8
  2431. Gui, 22: Add, Text, x161 y180 w100 h20 +BackgroundTrans, /l9
  2432. Gui, 22: Add, Text, x161 y200 w100 h20 +BackgroundTrans, /l10
  2433. Gui, 22: Add, Text, x161 y220 w100 h20 +BackgroundTrans, /l11
  2434. Gui, 22: Add, Text, x211 y20 w170 h20 +BackgroundTrans, = Auswahl von Linie 1
  2435. Gui, 22: Add, Text, x211 y40 w170 h20 +BackgroundTrans, = Auswahl von Linie 2
  2436. Gui, 22: Add, Text, x211 y60 w170 h20 +BackgroundTrans, = Auswahl von Linie 3
  2437. Gui, 22: Add, Text, x211 y80 w170 h20 +BackgroundTrans, = Auswahl von Linie 4
  2438. Gui, 22: Add, Text, x211 y100 w170 h20 +BackgroundTrans, = Auswahl von Linie 5
  2439. Gui, 22: Add, Text, x211 y120 w170 h20 +BackgroundTrans, = Auswahl von Linie 6
  2440. Gui, 22: Add, Text, x211 y140 w170 h20 +BackgroundTrans, = Auswahl von Linie 7
  2441. Gui, 22: Add, Text, x211 y160 w170 h20 +BackgroundTrans, = Auswahl von Linie 8
  2442. Gui, 22: Add, Text, x211 y180 w170 h20 +BackgroundTrans, = Auswahl von Linie 9
  2443. Gui, 22: Add, Text, x211 y200 w170 h20 +BackgroundTrans, = Auswahl von Linie 10
  2444. Gui, 22: Add, Text, x211 y220 w170 h20 +BackgroundTrans, = Auswahl von Linie 11
  2445. Gui, 22: Add, Button, x196 y250 w100 h30 gSave22, OK
  2446. Gui, 22: Show, w480 h290, Job: Busfahrer
  2447. }
  2448. return
  2449. Save12:
  2450. 12GuiClose:
  2451. Gui, 12: Submit
  2452. IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
  2453. IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
  2454. IniWrite, %HotKey3%, %Hotkeys%, JobHotkey, HotKey3
  2455. IniWrite, %HotKey4%, %Hotkeys%, JobHotkey, HotKey4
  2456. IniWrite, %HotKey5%, %Hotkeys%, JobHotkey, HotKey5
  2457. Gui, 12: Destroy
  2458. return
  2459. Save13:
  2460. 13GuiClose:
  2461. Gui, 13: Submit
  2462. IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
  2463. IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
  2464. IniWrite, %HotKey3%, %Hotkeys%, JobHotkey, HotKey3
  2465. IniWrite, %HotKey4%, %Hotkeys%, JobHotkey, HotKey4
  2466. IniWrite, %HotKey5%, %Hotkeys%, JobHotkey, HotKey5
  2467. Gui, 13: Destroy
  2468. return
  2469. Save14:
  2470. 14GuiClose:
  2471. Gui, 14: Submit
  2472. IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
  2473. IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
  2474. Gui, 14: Destroy
  2475. return
  2476. Save15:
  2477. 15GuiClose:
  2478. Gui, 15: Submit
  2479. IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
  2480. IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
  2481. Gui, 15: Destroy
  2482. return
  2483. Save16:
  2484. 16GuiClose:
  2485. Gui, 16: Destroy
  2486. return
  2487. Save17:
  2488. 17GuiClose:
  2489. Gui, 17: Submit
  2490. IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
  2491. Gui, 17: Destroy
  2492. return
  2493. Save18:
  2494. 18GuiClose:
  2495. Gui, 18: Submit
  2496. IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
  2497. Gui, 18: Destroy
  2498. return
  2499. Save19:
  2500. 19GuiClose:
  2501. Gui, 19: Submit
  2502. IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
  2503. IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
  2504. Gui, 19: Destroy
  2505. return
  2506. Save20:
  2507. 20GuiClose:
  2508. Gui, 20: Destroy
  2509. return
  2510. Save21:
  2511. 21GuiClose:
  2512. Gui, 21: Submit
  2513. IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
  2514. IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
  2515. Gui, 21: Destroy
  2516. return
  2517. Save22:
  2518. 22GuiClose:
  2519. Gui, 22: Destroy
  2520. return
  2521. toKeybinds:
  2522. Loop, 10
  2523. {
  2524. IniRead, TZahl%A_Index%, %Hotkeys%, Tastenbelegung Zahlen, TZahl%A_Index%, %A_Space%
  2525. }
  2526. Loop, 9
  2527. {
  2528. IniRead, TNumPad%A_Index%, %Hotkeys%, Tastenbelegung Numpad, TNumPad%A_Index%, %A_Space%
  2529. }
  2530. IniRead, TNumPad0, %Hotkeys%, Tastenbelegung Numpad, TNumPad0, %A_Space%
  2531. Loop, 12
  2532. {
  2533. IniRead, TF%A_Index%, %Hotkeys%, Tastenbelegung F-Taste, TF%A_Index%
  2534. }
  2535. Loop, 18
  2536. {
  2537. IniRead, Taste%A_Index%I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%I, %A_Space%
  2538. IniRead, Taste%A_Index%B, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%B, %A_Space%
  2539. }
  2540. goto Keybinds
  2541. return
  2542. Keybinds:
  2543. Gui, 3: Submit
  2544. Gui, 3: Destroy
  2545. Gui, 33: Submit
  2546. Gui, 33: Destroy
  2547. Gui, 2: Destroy
  2548. Gui, 2: Font, s9,5
  2549. Gui, 2: Add, GroupBox, x6 y10 w680 h150 cwhite , Information
  2550. Gui, 2: Add, Text, x16 y30 w650 h120 cwhite, Für eine Taste können bis zu drei Befehle belegt werden. Trenne die Befehle mit dem Rautezeichen voneinander ab ("#").`nDie Taste "t" für das Öffnen der Chat-Konsole muss NICHT berücksichtigt werden.`n`nFolgende "Kürzel" haben noch eine zusätzliche Funktion:`n<name> = Wird ersetzt durch den Namen `n<hp> / <car> = Wird ersetzt durch die aktuelle Player- oder Car-HP`n<time> = Wird ersetzt durch die akt. Uhrzeit `n<date> = Wird ersetzt durch das akt. Datum `n<pos> = Wird ersetzt durch die aktuelle Position
  2551. Gui, 2:Add, GroupBox, x6 y170 w680 h280 cwhite, Zahlen
  2552. Gui, 2:Add, Text, x16 y190 w40 h20 cwhite, Zahl 1:
  2553. Gui, 2:Add, Edit, x16 y210 w150 h25 vTZahl1, %TZahl1%
  2554. Gui, 2:Add, Text, x188 y189 w39 h16 cwhite, Zahl 2:
  2555. Gui, 2:Add, Edit, x184 y209 w150 h25 vTZahl2, %TZahl2%
  2556. Gui, 2:Add, Text, x16 y240 w40 h20 cwhite, Zahl 3:
  2557. Gui, 2:Add, Edit, x16 y260 w150 h25 vTZahl3, %TZahl3%
  2558. Gui, 2:Add, Text, x188 y239 w39 h16 cwhite, Zahl 4:
  2559. Gui, 2:Add, Edit, x184 y259 w150 h25 vTZahl4, %TZahl4%
  2560. Gui, 2:Add, Text, x16 y290 w40 h20 cwhite, Zahl 5:
  2561. Gui, 2:Add, Edit, x16 y310 w150 h25 vTZahl5, %TZahl5%
  2562. Gui, 2:Add, Text, x188 y289 w39 h16 cwhite, Zahl 6:
  2563. Gui, 2:Add, Edit, x184 y309 w150 h25 vTZahl6, %TZahl6%
  2564. Gui, 2:Add, Text, x16 y340 w40 h20 cwhite, Zahl 7:
  2565. Gui, 2:Add, Edit, x16 y360 w150 h25 vTZahl7, %TZahl7%
  2566. Gui, 2:Add, Text, x188 y339 w39 h16 cwhite, Zahl 8:
  2567. Gui, 2:Add, Edit, x184 y359 w150 h25 vTZahl8, %TZahl8%
  2568. Gui, 2:Add, Text, x16 y390 w40 h20 cwhite, Zahl 9:
  2569. Gui, 2:Add, Edit, x16 y410 w150 h25 vTZahl9, %TZahl9%
  2570. Gui, 2:Add, Text, x188 y389 w39 h16 cwhite, Zahl 0:
  2571. Gui, 2:Add, Edit, x186 y410 w150 h25 vTZahl0, %TZahl0%
  2572. Gui, 2:Add, Text, x368 y189 w65 h16 cwhite, Numpad 1:
  2573. Gui, 2:Add, Edit, x364 y209 w150 h25 vTNumPad1, %TNumPad1%
  2574. Gui, 2:Add, Text, x526 y190 w60 h20 cwhite, Numpad 2:
  2575. Gui, 2:Add, Edit, x526 y210 w150 h25 vTNumPad2, %TNumPad2%
  2576. Gui, 2:Add, Text, x368 y239 w65 h16 cwhite, Numpad 3:
  2577. Gui, 2:Add, Edit, x364 y259 w150 h25 vTNumPad3, %TNumPad3%
  2578. Gui, 2:Add, Text, x526 y240 w60 h20 cwhite, Numpad 4:
  2579. Gui, 2:Add, Edit, x526 y260 w150 h25 vTNumPad4, %TNumPad4%
  2580. Gui, 2:Add, Text, x368 y289 w65 h16 cwhite, Numpad 5:
  2581. Gui, 2:Add, Edit, x366 y310 w150 h25 vTNumPad5, %TNumPad5%
  2582. Gui, 2:Add, Text, x526 y290 w60 h20 cwhite, Numpad 6:
  2583. Gui, 2:Add, Edit, x526 y310 w150 h25 vTNumPad6, %TNumPad6%
  2584. Gui, 2:Add, Text, x368 y339 w65 h16 cwhite, Numpad 7:
  2585. Gui, 2:Add, Edit, x364 y359 w150 h25 vTNumPad7, %TNumPad7%
  2586. Gui, 2:Add, Text, x526 y340 w60 h20 cwhite, Numpad 8:
  2587. Gui, 2:Add, Edit, x526 y360 w150 h25 vTNumPad8, %TNumPad8%
  2588. Gui, 2:Add, Text, x368 y389 w65 h16 cwhite, Numpad 9:
  2589. Gui, 2:Add, Edit, x364 y409 w150 h25 vTNumPad9, %TNumPad9%
  2590. Gui, 2:Add, Text, x526 y390 w60 h20 cwhite, Numpad 0:
  2591. Gui, 2:Add, Edit, x526 y410 w150 h25 vTNumPad0, %TNumPad0%
  2592. Gui, 2:Add, GroupBox, x6 y460 w680 h180 cwhite, F-Tasten
  2593. Gui, 2:Add, Text, x16 y480 w40 h20 cwhite, F 1:
  2594. Gui, 2:Add, Edit, x16 y500 w150 h25 vTF1, %TF1%
  2595. Gui, 2:Add, Text, x186 y480 w40 h20 cwhite, F 2:
  2596. Gui, 2:Add, Edit, x186 y500 w150 h25 vTF2, %TF2%
  2597. Gui, 2:Add, Text, x366 y480 w40 h20 cwhite, F 3:
  2598. Gui, 2:Add, Edit, x366 y500 w150 h25 vTF3, %TF3%
  2599. Gui, 2:Add, Text, x526 y480 w40 h20 cwhite, F 4:
  2600. Gui, 2:Add, Edit, x526 y500 w150 h25 vTF4, %TF4%
  2601. Gui, 2:Add, Text, x16 y530 w40 h20 cwhite, F 5:
  2602. Gui, 2:Add, Edit, x16 y550 w150 h25 vTF5, %TF5%
  2603. Gui, 2:Add, Text, x186 y530 w40 h20 cwhite, F 6:
  2604. Gui, 2:Add, Edit, x186 y550 w150 h25 vTF6, %TF6%
  2605. Gui, 2:Add, Text, x366 y530 w40 h20 cwhite, F 7:
  2606. Gui, 2:Add, Edit, x366 y550 w150 h25 vTF7, %TF7%
  2607. Gui, 2:Add, Text, x526 y530 w40 h20 cwhite, F 8:
  2608. Gui, 2:Add, Edit, x526 y550 w150 h25 vTF8, %TF8%
  2609. Gui, 2:Add, Text, x16 y580 w40 h20 cwhite, F 9:
  2610. Gui, 2:Add, Edit, x16 y600 w150 h25 vTF9, %TF9%
  2611. Gui, 2:Add, Text, x186 y580 w40 h20 cwhite, F 10:
  2612. Gui, 2:Add, Edit, x186 y600 w150 h25 vTF10, %TF10%
  2613. Gui, 2:Add, Text, x366 y580 w40 h20 cwhite, F 11:
  2614. Gui, 2:Add, Edit, x366 y600 w150 h25 vTF11, %TF11%
  2615. Gui, 2:Add, Text, x526 y580 w40 h20 cwhite, F 12:
  2616. Gui, 2:Add, Edit, x526 y600 w150 h25 vTF12, %TF12%
  2617. Gui, 2:Add, Button, x186 y660 w150 h40 gSpeichern , Speichern
  2618. Gui, 2:Add, Button, x366 y660 w150 h40 gAbbrechen, Abbrechen
  2619. Gui, 2:Add, Picture, x620 y660 w52 h52 gKeybinds2, %Pictures%\rpbutton.png
  2620. Gui, 2:Add, Picture, x20 y660 w52 h52 gKeybinds3, %Pictures%\lpbutton.png
  2621. Gui, 2:Color, 292929
  2622. Gui, 2:Show, w700 h729, Keybinds (Seite 1)
  2623. return
  2624. 2GuiClose:
  2625. goto Abbrechen
  2626. return
  2627. Keybinds2:
  2628. Gui, 2: Submit
  2629. Gui, 2: Destroy
  2630. Gui, 33: Submit
  2631. Gui, 33: Destroy
  2632. Gui, 3: Destroy
  2633. Gui, 3:Add, GroupBox, x6 y10 w610 h160 cwhite, Information
  2634. Gui, 3:Add, Text, x16 y30 w590 h130 cwhite, Für eine Taste können bis zu drei Befehle belegt werden. Trenne die Befehle mit dem Rautezeichen voneinander ab ("#").`nDie Taste "t" für das Öffnen der Chat-Konsole muss NICHT berücksichtigt werden.`nAchte bitte darauf`, dass deine Belegung der Zusatztasten mit den Tastenfeldern vereinbar ist! `n`nFolgende "Kürzel" haben noch eine zusätzliche Funktion:`n<name> = Wird ersetzt durch den Namen `n<hp> / <car> = Wird ersetzt durch die aktuelle Player- oder Car-HP`n<time> = Wird ersetzt durch die akt. Uhrzeit `n<date> = Wird ersetzt durch das akt. Datum `n<pos> = Wird ersetzt durch die aktuelle Position
  2635. Gui, 3:Add, GroupBox, x6 y180 w610 h340 cwhite, Zusatztasten
  2636. Gui, 3:Add, Hotkey, x16 y210 w210 h20 vTaste1B Checked%Taste1B%, %Taste1B%
  2637. Gui, 3:Add, Hotkey, x16 y240 w210 h20 VTaste2B Checked%Taste2B%, %Taste2B%
  2638. Gui, 3:Add, Hotkey, x16 y270 w210 h20 vTaste3B Checked%Taste3B%, %Taste3B%
  2639. Gui, 3:Add, Hotkey, x16 y300 w210 h20 vTaste4B Checked%Taste4B%, %Taste4B%
  2640. Gui, 3:Add, Hotkey, x16 y330 w210 h20 vTaste5B Checked%Taste5B%, %Taste5B%
  2641. Gui, 3:Add, Hotkey, x16 y360 w210 h20 vTaste6B Checked%Taste6B%, %Taste6B%
  2642. Gui, 3:Add, Hotkey, x16 y390 w210 h20 vTaste7B Checked%Taste7B%, %Taste7B%
  2643. Gui, 3:Add, Hotkey, x16 y420 w210 h20 vTaste8B Checked%Taste8B%, %Taste8B%
  2644. Gui, 3:Add, Hotkey, x16 y450 w210 h20 vTaste9B Checked%Taste9B%, %Taste9B%
  2645. Gui, 3:Add, Hotkey, x16 y480 w210 h20 vTaste10B Checked%Taste10B%, %Taste10B%
  2646. Gui, 3:Add, Edit, x256 y210 w330 h20 vTaste1I, %Taste1I%
  2647. Gui, 3:Add, Edit, x256 y240 w330 h20 vTaste2I, %Taste2I%
  2648. Gui, 3:Add, Edit, x256 y270 w330 h20 vTaste3I, %Taste3I%
  2649. Gui, 3:Add, Edit, x256 y300 w330 h20 vTaste4I, %Taste4I%
  2650. Gui, 3:Add, Edit, x256 y330 w330 h20 vTaste5I, %Taste5I%
  2651. Gui, 3:Add, Edit, x256 y360 w330 h20 vTaste6I, %Taste6I%
  2652. Gui, 3:Add, Edit, x256 y390 w330 h20 vTaste7I, %Taste7I%
  2653. Gui, 3:Add, Edit, x256 y420 w330 h20 vTaste8I, %Taste8I%
  2654. Gui, 3:Add, Edit, x256 y450 w330 h20 vTaste9I, %Taste9I%
  2655. Gui, 3:Add, Edit, x256 y480 w330 h20 vTaste10I, %Taste10I%
  2656. Gui, 3:Add, Button, x146 y530 w150 h40 gSpeichern, Speichern
  2657. Gui, 3:Add, Button, x326 y530 w150 h40 gAbbrechen, Abbrechen
  2658. Gui, 3:Font, s13 CDefault Bolt, Wingdings 3
  2659. Gui, 3:Add, Picture, x540 y530 w52 h52 gKeybinds3, %Pictures%\rpbutton.png
  2660. Gui, 3:Add, Picture, x20 y530 w52 h52 gKeybinds, %Pictures%\lpbutton.png
  2661. Gui, 3:Color, 292929
  2662. Gui, 3:Show, w640 h588, Keybinds (Seite 2)
  2663. return
  2664. 3GuiClose:
  2665. goto Abbrechen
  2666. return
  2667. 33GuiClose:
  2668. goto Abbrechen
  2669. return
  2670. Keybinds3:
  2671. Gui, 2: Submit
  2672. Gui, 2: Destroy
  2673. Gui, 3: Submit
  2674. Gui, 3: Destroy
  2675. Gui, 33: Destroy
  2676. Gui, 33:Add, GroupBox, x6 y10 w610 h220 cwhite, Information: Befehle ohne direktes Senden
  2677. Gui, 33:Add, Text, x16 y30 w590 h190 cwhite, Folgende Befehle werden nicht direkt an den Server gesendet, das Absenden muss selbst bestätigt werden. Die Taste "t" für das Öffnen der Chat-Konsole muss NICHT berücksichtigt werden. Es kann nur ein Befehl verwendet werden!`n`nFolgende "Kürzel" haben noch eine zusätzliche Funktion:`n<name> = Wird ersetzt durch den Namen `n<hp> / <car> = Wird ersetzt durch die aktuelle Player- oder Car-HP`n<time> = Wird ersetzt durch die akt. Uhrzeit `n<date> = Wird ersetzt durch das akt. Datum `n<pos> = Wird ersetzt durch die aktuelle Position `n`nAls zusätzliches Kürzel ist nun auch folgendes möglich: `n<left> = Bewegt den Cursor um eine Position nach links `n<space> = Schreibt eine Leerzeichen in den Chat (nur am Ende der Eingabe verwenden)
  2678. Gui, 33:Add, GroupBox, x6 y240 w610 h280 cwhite, Zusatztasten: Kein direktes Senden
  2679. Gui, 33:Add, Hotkey, x16 y270 w210 h20 vTaste11B Checked%Taste11B%, %Taste11B%
  2680. Gui, 33:Add, Hotkey, x16 y300 w210 h20 vTaste12B Checked%Taste12B%, %Taste12B%
  2681. Gui, 33:Add, Hotkey, x16 y330 w210 h20 vTaste13B Checked%Taste13B%, %Taste13B%
  2682. Gui, 33:Add, Hotkey, x16 y360 w210 h20 vTaste14B Checked%Taste14B%, %Taste14B%
  2683. Gui, 33:Add, Hotkey, x16 y390 w210 h20 vTaste15B Checked%Taste15B%, %Taste15B%
  2684. Gui, 33:Add, Hotkey, x16 y420 w210 h20 vTaste16B Checked%Taste16B%, %Taste16B%
  2685. Gui, 33:Add, Hotkey, x16 y450 w210 h20 vTaste17B Checked%Taste17B%, %Taste17B%
  2686. Gui, 33:Add, Hotkey, x16 y480 w210 h20 vTaste18B Checked%Taste18B%, %Taste18B%
  2687. Gui, 33:Add, Edit, x256 y270 w330 h20 vTaste11I, %Taste11I%
  2688. Gui, 33:Add, Edit, x256 y300 w330 h20 vTaste12I, %Taste12I%
  2689. Gui, 33:Add, Edit, x256 y330 w330 h20 vTaste13I, %Taste13I%
  2690. Gui, 33:Add, Edit, x256 y360 w330 h20 vTaste14I, %Taste14I%
  2691. Gui, 33:Add, Edit, x256 y390 w330 h20 vTaste15I, %Taste15I%
  2692. Gui, 33:Add, Edit, x256 y420 w330 h20 vTaste16I, %Taste16I%
  2693. Gui, 33:Add, Edit, x256 y450 w330 h20 vTaste17I, %Taste17I%
  2694. Gui, 33:Add, Edit, x256 y480 w330 h20 vTaste18I, %Taste18I%
  2695. Gui, 33:Add, Button, x146 y530 w150 h40 gSpeichern, Speichern
  2696. Gui, 33:Add, Button, x326 y530 w150 h40 gAbbrechen, Abbrechen
  2697. Gui, 33:Add, Picture, x540 y530 w52 h52 gKeybinds, %Pictures%\rpbutton.png
  2698. Gui, 33:Add, Picture, x20 y530 w52 h52 gKeybinds2, %Pictures%\lpbutton.png
  2699. Gui, 33:Color, 292929
  2700. Gui, 33:Show, w640 h588, Keybinds (Seite 3)
  2701. return
  2702. Speichern:
  2703. Gui, Submit
  2704. Loop, 10
  2705. {
  2706. IniWrite, % TZahl%A_Index%, %Hotkeys%, Tastenbelegung Zahlen, TZahl%A_Index%
  2707. }
  2708. Loop, 9
  2709. {
  2710. IniWrite, % TNumPad%A_Index%, %Hotkeys%, Tastenbelegung Numpad, TNumpad%A_Index%
  2711. }
  2712. IniWrite, %TNumPad0%, %Hotkeys%, Tastenbelegung Numpad, TNumPad0
  2713. Loop, 12
  2714. {
  2715. IniWrite, % TF%A_Index%, %Hotkeys%, Tastenbelegung F-Taste, TF%A_Index%
  2716. }
  2717. Loop, 18
  2718. {
  2719. IniWrite, % Taste%A_Index%B, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%B
  2720. IniWrite, % Taste%A_Index%I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%I
  2721. }
  2722. IniWrite, %HKPause%, %Hotkeys%, Zusatz, HKPause
  2723. IniWrite, %HKWiederholen%, %Hotkeys%, Zusatz, HKWiederholen
  2724. IniWrite, %HKHP% , %Hotkeys%, Zusatz, HKHP
  2725. IniWrite, %HKHilfe%, %Hotkeys%, Zusatz, HKHilfe
  2726. IniWrite, %Benutzername%, %Settings%, Einstellungen, Benutzername
  2727. IniWrite, %Passwort%, %Settings%, Einstellungen, Passwort
  2728. IniWrite, %Job%, %Settings%, Einstellungen, Job
  2729. IniWrite, %Detektivskill%, %Settings%, Einstellungen, Detektivskill
  2730. IniWrite, %Busfahrerskill%, %Settings%, Einstellungen, Busfahrerskill
  2731. IniWrite, %Anwaltskill%, %Settings%, Einstellungen, Anwaltskill
  2732. IniWrite, %TSName%, %Settings%, Einstellungen, TSName
  2733. IniWrite, %admin%, %Settings%, Einstellungen, admin
  2734. IniWrite, %Chatlogsaver%, %Settings%, Einstellungen, Chatlogsaver
  2735. IniWrite, %AntiSpam%, %Settings%, Einstellungen, AntiSpam
  2736. IniWrite, %Gehaltsscheck%, %Settings%, Einstellungen, Gehaltsscheck
  2737. IniWrite, %GangZaehler%, %Settings%, Einstellungen, GangZaehler
  2738. IniWrite, %Killzähler%, %Settings%, Einstellungen, Killzähler
  2739. IniWrite, %Todeszähler%, %Settings%, Einstellungen, Todeszähler
  2740. IniWrite, %Lock%, %Settings%, Einstellungen, Lock
  2741. IniWrite, %TankZoll%, %Settings%, Einstellungen, TankZoll
  2742. IniWrite, %KillzählerSpruch%, %Settings%, Killzähler, Killzählerspruch
  2743. IniWrite, %GFKillzählerSpruch%, %Settings%, Killzähler, GFKillzählerSpruch
  2744. IniWrite, %Todeszählerspruch%, %Settings%, Todeszähler, Todeszählerspruch
  2745. IniWrite, %Pickup%, %Settings%, Zusatz, Pickup
  2746. IniWrite, %Hangup%, %Settings%, Zusatz, Hangup
  2747. goto Reading
  2748. return
  2749. Reading:
  2750. Loop, 10
  2751. {
  2752. IniRead, TZahl%A_Index%, %Hotkeys%, Tastenbelegung Zahlen, TZahl%A_Index%, %A_Space%
  2753. }
  2754. Loop, 9
  2755. {
  2756. IniRead, TNumPad%A_Index%, %Hotkeys%, Tastenbelegung Numpad, TNumPad%A_Index%, %A_Space%
  2757. }
  2758. IniRead, TNumPad0, %Hotkeys%, Tastenbelegung Numpad, TNumPad0, %A_Space%
  2759. Loop, 12
  2760. {
  2761. IniRead, TF%A_Index%, %Hotkeys%, Tastenbelegung F-Taste, TF%A_Index%
  2762. }
  2763. Loop, 18
  2764. {
  2765. IniRead, Taste%A_Index%I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%I, %A_Space%
  2766. IniRead, Taste%A_Index%B, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%B, %A_Space%
  2767. }
  2768. IniRead, HKPause, %Hotkeys%, Zusatz, HKPause, %A_Space%
  2769. IniRead, HKWiederholen, %Hotkeys%, Zusatz, HKWiederholen, %A_Space%
  2770. IniRead, HKHP , %Hotkeys%, Zusatz, HKHP, %A_Space%
  2771. IniRead, HKHilfe, %Hotkeys%, Zusatz, HKHilfe, %A_Space%
  2772. IniRead, HotKey1, %Hotkeys%, JobHotkey, HotKey1, %A_Space%
  2773. IniRead, HotKey2, %Hotkeys%, JobHotkey, HotKey2, %A_Space%
  2774. IniRead, HotKey3, %Hotkeys%, JobHotkey, HotKey3, %A_Space%
  2775. IniRead, HotKey4, %Hotkeys%, JobHotkey, HotKey4, %A_Space%
  2776. IniRead, HotKey5, %Hotkeys%, JobHotkey, HotKey5, %A_Space%
  2777. IniRead, Benutzername, %Settings%, Einstellungen, Benutzername
  2778. IniRead, Passwort, %Settings%, Einstellungen, Passwort
  2779. IniRead, Job, %Settings%, Einstellungen, Job
  2780. IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
  2781. IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
  2782. IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
  2783. IniRead, TSNName, %Settings%, Einstellungen, TSName
  2784. IniRead, admin, %Settings%, Einstellungen, admin
  2785. IniRead, Chatlogsaver, %Settings%, Einstellungen, Chatlogsaver
  2786. IniRead, AntiSpam, %Settings%, Einstellungen, AntiSpam
  2787. IniRead, Gehaltsscheck, %Settings%, Einstellungen, Gehaltsscheck
  2788. IniRead, GangZaehler, %Settings%, Einstellungen, GangZaehler
  2789. IniRead, Killzähler, %Settings%, Einstellungen, Killzähler
  2790. IniRead, Todeszähler, %Settings%, Einstellungen, Todeszähler
  2791. IniRead, Lock, %Settings%, Einstellungen, Lock
  2792. IniRead, TankZoll, %Settings%, Einstellungen, TankZoll
  2793. IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch
  2794. IniRead, GFKillzählerSpruch, %Settings%, Kilzähler, GFKillzählerSpruch
  2795. IniRead, Todeszählerspruch, %Settings%, Todeszähler, Todeszählerspruch
  2796. IniRead, Pickup, %Settings%, Zusatz, Pickup
  2797. IniRead, Hangup, %Settings%, Zusatz, Hangup
  2798. IniRead, CheckCall, %Settings%, Sounds, CheckCall
  2799. IniRead, CheckSMS, %Settings%, Sounds, CheckSMS
  2800. IniRead, CheckLowHP, %Settings%, Sounds, CheckLowHP
  2801. IniRead, CheckKill, %Settings%, Sounds, CheckKill
  2802. IniRead, CheckTod, %Settings%, Sounds, CheckTod
  2803. IniRead, Callsound, %Settings%, Sounds, Callsound
  2804. IniRead, SMSsound, %Settings%, Sounds, SMSsound
  2805. IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
  2806. IniRead, Killsound, %Settings%, Sounds, Killsound
  2807. IniRead, Todessound, %Settings%, Sounds, Todessound
  2808. IniRead, VolCall, %Settings%, Sounds, VolCall
  2809. IniRead, VolSMS, %Settings%, Sounds, VolSMS
  2810. IniRead, VolLowHP, %Settings%, Sounds, VolLowHP
  2811. IniRead, VolKill, %Settings%, Sounds, VolKill
  2812. IniRead, VolTod, %Settings%, Sounds, VolTod
  2813. if (Chatlogsaver == 1)
  2814. {
  2815. SetTimer, chatlog, off
  2816. SetTimer, chatlog, 500
  2817. }
  2818. else
  2819. {
  2820. SetTimer, chatlog, off
  2821. }
  2822. if(Abbrechen = 1)
  2823. {
  2824. goto Abbrechen
  2825. }
  2826. IfNotEqual, Taste1B,, Hotkey, %Taste1B%, Taste1B
  2827. IfNotEqual, Taste2B,, Hotkey, %Taste2B%, Taste2B
  2828. IfNotEqual, Taste3B,, Hotkey, %Taste3B%, Taste3B
  2829. IfNotEqual, Taste4B,, Hotkey, %Taste4B%, Taste4B
  2830. IfNotEqual, Taste5B,, Hotkey, %Taste5B%, Taste5B
  2831. IfNotEqual, Taste6B,, Hotkey, %Taste6B%, Taste6B
  2832. IfNotEqual, Taste7B,, Hotkey, %Taste7B%, Taste7B
  2833. IfNotEqual, Taste8B,, Hotkey, %Taste8B%, Taste8B
  2834. IfNotEqual, Taste9B,, Hotkey, %Taste9B%, Taste9B
  2835. IfNotEqual, Taste10B,, Hotkey, %Taste10B%, Taste10B
  2836. IfNotEqual, Taste11B,, Hotkey, %Taste11B%, Taste11B
  2837. IfNotEqual, Taste12B,, Hotkey, %Taste12B%, Taste12B
  2838. IfNotEqual, Taste13B,, Hotkey, %Taste13B%, Taste13B
  2839. IfNotEqual, Taste14B,, Hotkey, %Taste14B%, Taste14B
  2840. IfNotEqual, Taste15B,, Hotkey, %Taste15B%, Taste15B
  2841. IfNotEqual, Taste16B,, Hotkey, %Taste16B%, Taste16B
  2842. IfNotEqual, Taste17B,, Hotkey, %Taste17B%, Taste17B
  2843. IfNotEqual, Taste18B,, Hotkey, %Taste18B%, Taste18B
  2844. IfNotEqual, HKPause,,Hotkey, %HKPause%, HKPause
  2845. IfnotEqual, HKWiederholen,,Hotkey, %HKWiederholen%, HKWiederholen
  2846. IfNotEqual, HKHP,,Hotkey, %HKHP%, HKHP
  2847. IfNotEqual, HKHilfe,,Hotkey, %HKHilfe%, HKHilfe
  2848. IfNotEqual, HotKey1,, Hotkey, %HotKey1%, HotKey1
  2849. IfNotEqual, HotKey2,, Hotkey, %HotKey2%, HotKey2
  2850. IfNotEqual, HotKey3,, Hotkey, %HotKey3%, HotKey3
  2851. IfNotEqual, HotKey4,, Hotkey, %HotKey4%, HotKey4
  2852. IfNotEqual, HotKey5,, Hotkey, %HotKey5%, HotKey5
  2853. return
  2854. Abbrechen:
  2855. if (Abbrechen = 0)
  2856. {
  2857. Abbrechen := 1
  2858. goto Reading
  2859. }
  2860. if (Abbrechen = 1)
  2861. {
  2862. GuiControl,, TNumpad1, %TNumpad1%
  2863. GuiControl,, TNumpad2, %TNumpad2%
  2864. GuiControl,, TNumpad3, %TNumpad3%
  2865. GuiControl,, TNumpad4, %TNumpad4%
  2866. GuiControl,, TNumpad5, %TNumpad5%
  2867. GuiControl,, TNumpad6, %TNumpad6%
  2868. GuiControl,, TNumpad7, %TNumpad7%
  2869. GuiControl,, TNumpad8, %TNumpad8%
  2870. GuiControl,, TNumpad9, %TNumpad9%
  2871. GuiControl,, TNumpad0, %TNumpad0%
  2872. GuiControl,, TZahl1, %TZahl1%
  2873. GuiControl,, TZahl2, %TZahl2%
  2874. GuiControl,, TZahl3, %TZahl3%
  2875. GuiControl,, TZahl4, %TZahl4%
  2876. GuiControl,, TZahl5, %TZahl5%
  2877. GuiControl,, TZahl6, %TZahl6%
  2878. GuiControl,, TZahl7, %TZahl7%
  2879. GuiControl,, TZahl8, %TZahl8%
  2880. GuiControl,, TZahl9, %TZahl9%
  2881. GuiControl,, TZahl0, %TZahl0%
  2882. GuiControl,, TF1, %TF1%
  2883. GuiControl,, TF2, %TF2%
  2884. GuiControl,, TF3, %TF3%
  2885. GuiControl,, TF4, %TF4%
  2886. GuiControl,, TF5, %TF5%
  2887. GuiControl,, TF6, %TF6%
  2888. GuiControl,, TF7, %TF7%
  2889. GuiControl,, TF8, %TF8%
  2890. GuiControl,, TF9, %TF9%
  2891. GuiControl,, TF10, %TF10%
  2892. GuiControl,, TF11, %TF11%
  2893. GuiControl,, TF12, %TF12%
  2894. GuiControl,, Taste1I, %Taste1I%
  2895. GuiControl,, Taste2I, %Taste2I%
  2896. GuiControl,, Taste3I, %Taste3I%
  2897. GuiControl,, Taste4I, %Taste4I%
  2898. GuiControl,, Taste5I, %Taste5I%
  2899. GuiControl,, Taste6I, %Taste6I%
  2900. GuiControl,, Taste7I, %Taste7I%
  2901. GuiControl,, Taste8I, %Taste8I%
  2902. GuiControl,, Taste9I, %Taste9I%
  2903. GuiControl,, Taste10I, %Taste10I%
  2904. GuiControl,, Taste11I, %Taste11I%
  2905. GuiControl,, Taste12I, %Taste12I%
  2906. GuiControl,, Taste13I, %Taste13I%
  2907. GuiControl,, Taste14I, %Taste14I%
  2908. GuiControl,, Taste15I, %Taste15I%
  2909. GuiControl,, Taste16I, %Taste16I%
  2910. GuiControl,, Taste17I, %Taste17I%
  2911. GuiControl,, Taste18I, %Taste18I%
  2912. Abbrechen := 0
  2913. }
  2914. Gui, 2: Destroy
  2915. Gui, 3: Destroy
  2916. Gui, 33: Destroy
  2917. Gui, 4: Destroy
  2918. Gui, 5: Destroy
  2919. Gui, 6: Destroy
  2920. Gui, 9: Destroy
  2921. return
  2922. Job:
  2923. Gui, submit, NoHide
  2924. IniRead, HotKey1, %Hotkeys%, JobHotkey, HotKey1, %A_Space%
  2925. IniRead, HotKey2, %Hotkeys%, JobHotkey, HotKey2, %A_Space%
  2926. IniRead, HotKey3, %Hotkeys%, JobHotkey, HotKey3, %A_Space%
  2927. IniRead, HotKey4, %Hotkeys%, JobHotkey, HotKey4, %A_Space%
  2928. IniRead, HotKey5, %Hotkeys%, JobHotkey, HotKey5, %A_Space%
  2929. if(Job = 1)
  2930. {
  2931. GuiControl, Disable%Job% , Detektivskill
  2932. GuiControl, Disable%Job%, Anwaltskill
  2933. GuiControl, Disable%Job%, Busfahrerskill
  2934. }
  2935. if(Job = 2)
  2936. {
  2937. GuiControl, Disable%Job% , Detektivskill
  2938. GuiControl, Disable%Job%, Anwaltskill
  2939. GuiControl, Disable%Job%, Busfahrerskill
  2940. }
  2941. if(Job = 3)
  2942. {
  2943. GuiControl, Disable%Job% , Detektivskill
  2944. GuiControl, Disable%Job%, Anwaltskill
  2945. GuiControl, Disable%Job%, Busfahrerskill
  2946. }
  2947. if(Job = 4)
  2948. {
  2949. GuiControl, Disable%Job% , Detektivskill
  2950. GuiControl, Disable%Job%, Anwaltskill
  2951. GuiControl, Disable%Job%, Busfahrerskill
  2952. }
  2953. if(Job = 5)
  2954. {
  2955. GuiControl, Disable%Job% , Detektivskill
  2956. GuiControl, Disable%Job%, Anwaltskill
  2957. GuiControl, Disable%Job%, Busfahrerskill
  2958. }
  2959. if(Job = 6)
  2960. {
  2961. GuiControl, Disable%Job% , Detektivskill
  2962. GuiControl, Disable%Job%, Anwaltskill
  2963. GuiControl, Disable%Job%, Busfahrerskill
  2964. }
  2965. if(Job = 7)
  2966. {
  2967. GuiControl, Disable%Job% , Detektivskill
  2968. GuiControl, Disable%Job%, Anwaltskill
  2969. GuiControl, Disable%Job%, Busfahrerskill
  2970. }
  2971. if(Job = 8)
  2972. {
  2973. GuiControl, Disable%Job% , Detektivskill
  2974. GuiControl, Disable%Job%, Anwaltskill
  2975. GuiControl, Disable%Job%, Busfahrerskill
  2976. }
  2977. if(Job = 9)
  2978. {
  2979. GuiControl, Disable%Job% , Detektivskill
  2980. GuiControl, Disable%Job%, Anwaltskill
  2981. GuiControl, Disable%Job%, Busfahrerskill
  2982. }
  2983. if(Job = 10)
  2984. {
  2985. GuiControl, Disable%Job%, Anwaltskill
  2986. GuiControl, Disable%Job%, Busfahrerskill
  2987. GuiControl, Enable%Job% , Detektivskill
  2988. }
  2989. if(Job = 11)
  2990. {
  2991. GuiControl, Disable%Job% , Detektivskill
  2992. GuiControl, Disable%Job%, Busfahrerskill
  2993. GuiControl, Enable%Job%, Anwaltskill
  2994. }
  2995. if(Job = 12)
  2996. {
  2997. GuiControl, Disable%Job% , Detektivskill
  2998. GuiControl, Disable%Job%, Anwaltskill
  2999. GuiControl, Enable%Job%, Busfahrerskill
  3000. }
  3001. IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
  3002. IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
  3003. IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
  3004. GuiControl, Choose, Detektivskill, %Detektivskill%
  3005. GuiControl, Choose, Anwaltskill, %Anwaltskill%
  3006. GuiControl, Choose, Busfahrerskill, %Busfahrerskill%
  3007. return
  3008. _GtaCheck:
  3009. Process , exist, gta_sa.exe
  3010. GtaPid := ErrorLevel
  3011. if (GtaPid != 0)
  3012. {
  3013. if(GtaCheckTrue == "0")
  3014. {
  3015. SetTimer, _GtaCheck, Off
  3016. GtaCheckTrue := "1"
  3017. Sleep, 200
  3018. SetTimer, Systeme, off
  3019. SetTimer, Systeme, 500
  3020. IniRead, Chatlogsaver, %Settings%, Einstellungen, Chatlogsaver
  3021. if (Chatlogsaver == 1)
  3022. {
  3023. SetTimer, chatlog, off
  3024. SetTimer, chatlog, 500
  3025. }
  3026. else
  3027. {
  3028. SetTimer, chatlog, off
  3029. }
  3030. }
  3031. }
  3032. else
  3033. {
  3034. SetTimer, Systeme, off
  3035. GtaCheckTrue := "0"
  3036. }
  3037. return
  3038. ChatLine(firstline, instr, lines=5)
  3039. {
  3040. loop, %lines%
  3041. {
  3042. GetChatLine(firstline + (A_Index - 1), chat)
  3043. if(InStr(chat, instr))
  3044. return chat
  3045. }
  3046. return
  3047. }
  3048. IsPlayerInRangeOfPoint_fast(x, y, z, r)
  3049. {
  3050. static pos_x, pos_y, pos_z, lastcalled
  3051. if(lastcalled < A_TickCount - 150){
  3052. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  3053. lastcalled := A_TickCount
  3054. }
  3055. d := sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  3056. if(d < r)
  3057. return 1
  3058. return 0
  3059. }
  3060. IsPlayerInRangeOfPoint2D_fast(x, y, r){
  3061. static pos_x, pos_y, lastcalled
  3062. if(lastcalled < A_TickCount - 150){
  3063. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  3064. lastcalled := A_TickCount
  3065. }
  3066. d := sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
  3067. if(d < r)
  3068. return 1
  3069. return 0
  3070. }
  3071. GetDistanceFromPoint(x, y, z){
  3072. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  3073. return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  3074. }
  3075. GetDistancebetween(x, y, z, pos_x, pos_y, pos_z)
  3076. {
  3077. return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  3078. }
  3079. GetDistanceFromPoint2D(x, y){
  3080. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  3081. return sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
  3082. }
  3083. +T::
  3084. ~t::
  3085. Suspend On
  3086. Hotkey, Enter, On
  3087. Hotkey, Escape, On
  3088. Hotkey, t, Off
  3089. if(SpeedCheckStatus == 1)
  3090. {
  3091. Send {backspace}
  3092. Send {backspace}
  3093. }
  3094. return
  3095. ~Enter::
  3096. ~NumpadEnter::
  3097. Suspend Permit
  3098. Suspend Off
  3099. Hotkey, t, On
  3100. Hotkey, Enter, Off
  3101. Hotkey, Escape, Off
  3102. if(IsChatOpen() == 1 || IsDialogOpen == 1)
  3103. return
  3104. if(Menu_Overlay || Menu_HP || Menu_Ort)
  3105. {
  3106. if Switcher = 6
  3107. {
  3108. IniWrite, %Overlay_size%, %Overlays%, Status Overlay, Overlay_size
  3109. IniWrite, %Overlay_posx%, %Overlays%, Status Overlay, Overlay_posx
  3110. IniWrite, %Overlay_posy%, %Overlays%, Status Overlay, Overlay_posy
  3111. IniWrite, %HP_size%, %Overlays%, HP Overlay, HP_size
  3112. IniWrite, %HP_posx%, %Overlays%, HP Overlay, HP_posx
  3113. IniWrite, %HP_posy%, %Overlays%, HP Overlay, HP_posy
  3114. IniWrite, %Ort_size%, %Overlays%, Ort Overlay, Ort_size
  3115. IniWrite, %Ort_posx%, %Overlays%, Ort Overlay, Ort_posx
  3116. IniWrite, %Ort_posy%, %Overlays%, Ort Overlay, Ort_posy
  3117. SetTimer, Ov_Update, off
  3118. TextSetString(boxtext6,"Einstellungen gespeichert")
  3119. TextSetColor(boxtext6,0xFF4DFF55)
  3120. sleep 1000
  3121. Menu_Overlay := 0
  3122. Menu_HP := 0
  3123. Menu_Ort := 0
  3124. Loop 6
  3125. {
  3126. BoxSetShown(Box%A_INDex%, false)
  3127. TextSetShown(boxtext%A_index%,false)
  3128. }
  3129. TextSetColor(boxtext6,0xFFFFFFFF)
  3130. Settimer, Ov_Update, 1500
  3131. }
  3132. }
  3133. return
  3134. ~Escape::
  3135. Suspend Permit
  3136. Suspend Off
  3137. SendInput {Escape}
  3138. Hotkey, t, On
  3139. Hotkey, Enter, Off
  3140. Hotkey, Escape, Off
  3141. return
  3142. PlayerInput(text)
  3143. {
  3144. s := A_IsSuspended
  3145. Suspend On
  3146. KeyWait Enter
  3147. SendInput t^a{backspace}%text%
  3148. Input, var, v, {enter}
  3149. SendInput ^a{backspace}{enter}
  3150. if(!s)
  3151. Suspend Off
  3152. return var
  3153. }
  3154. Refresh:
  3155. ifWinActive, GTA:SA:MP
  3156. {
  3157. GetServerIp(ServerIP)
  3158. if(ServerIP != "31.214.160.11:7777")
  3159. {
  3160. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du befindest dich nicht auf RPG-City. Der Keybinder wird nun beendet.")
  3161. ExitApp
  3162. }
  3163. Sucess := 0
  3164. Sleep, 4000
  3165. GetPlayerName(Name)
  3166. NameCheck=http://mrpacific.pf-control.de/UniversalBinder/blacklist.php?Name=%Name%
  3167. Sucess:= UrlDownloadToVar(NameCheck)
  3168. Sleep, 4000
  3169. if(Sucess == "1")
  3170. {
  3171. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie haben kein Recht das Programm zu benutzen.")
  3172. ExitApp
  3173. }
  3174. }
  3175. return
  3176. Systeme:
  3177. IfWinNotActive, GTA:SA:MP
  3178. {
  3179. return
  3180. }
  3181. GetChatLine(0, Line0)
  3182. GetChatLine(1, Line1)
  3183. GetPlayerName(Name)
  3184. HP := GetPlayerHealth()
  3185. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3186. {
  3187. last_line:=A_LoopReadLine
  3188. }
  3189. IfInString, last_line, %Name%'s Handy klingelt
  3190. {
  3191. if(CheckCall = 1)
  3192. {
  3193. IniRead, Callsound, %Settings%, Sounds, Callsound
  3194. if(A_OSVersion != "WIN_XP")
  3195. {
  3196. SoundSetWaveVolume, %VolCall%
  3197. }
  3198. Soundplay, %CallSound%
  3199. Sleep 1000
  3200. FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3201. }
  3202. }
  3203. IfInString, last_line, Sender:
  3204. {
  3205. if not InStr(last_line, "Sender: " Name)
  3206. {
  3207. if(CheckSMS = 1)
  3208. {
  3209. IniRead, SMSsound, %Settings%, Sounds, SMSsound
  3210. if(A_OSVersion != "WIN_XP")
  3211. {
  3212. SoundSetWaveVolume, %VolSMS%
  3213. }
  3214. Soundplay, %SMSsound%
  3215. Sleep 1000
  3216. FileAppend, Zeile fur Keybinder ,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3217. }
  3218. }
  3219. }
  3220. if((InStr(Line1, "Du hast ein Verbrechen begangen ( Mord ). Zeuge: Niemand") && InStr(last_line, "Dein Wanted Level:")))
  3221. {
  3222. If(CheckKill = 1)
  3223. {
  3224. IniRead, Killsound, %Settings%, Sounds, Killsound
  3225. if(A_OSVersion != "WIN_XP")
  3226. {
  3227. SoundSetWaveVolume, %VolKill%
  3228. }
  3229. SoundPlay, %Killsound%
  3230. FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3231. }
  3232. if(Killzähler = 1)
  3233. {
  3234. IniRead, Kills, %Settings%, Killzähler, Kills
  3235. Kills++
  3236. IniWrite, %Kills%, %Settings%, Killzähler, Kills
  3237. if(Killzählerspruch != "")
  3238. {
  3239. GetZoneName(Zone)
  3240. GetCityName(City)
  3241. Position := "" Zone ", " City
  3242. KillzählerSpruch_hilf := KillzählerSpruch
  3243. StringReplace, KillzählerSpruch, KillzählerSpruch, <kills>, %Kills%
  3244. StringReplace, KillzählerSpruch, KillzählerSpruch, <pos>, %Position%
  3245. SendChat("/f " Killzählerspruch "")
  3246. KillzählerSpruch := KillzählerSpruch_hilf
  3247. }
  3248. else
  3249. {
  3250. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Kill Nr. {FFBB00}" Kills "{FFFFFF}.")
  3251. }
  3252. }
  3253. if(GangZaehler = 1)
  3254. {
  3255. FormatTime, TagMonatJahr,,dd.MM.yyyy
  3256. IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
  3257. DKills++
  3258. IniWrite, %DKills%, %Tagesstatistik%, %TagMonatJahr%, DKills
  3259. IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
  3260. AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
  3261. Killstreak++
  3262. IniRead, KillstreakRekord, %Settings%, Zähler, KillstreakRekord, 0
  3263. if(Killstreak > KillstreakRekord)
  3264. {
  3265. IniWrite, %Killstreak%, %Settings%, Zähler, KillstreakRekord
  3266. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast einen neuen Killstreak-Rekord von {FFBB00}" Killstreak "{FFFFFF}.")
  3267. }
  3268. }
  3269. Sleep 500
  3270. }
  3271. if(InStr(last_line, "wurde von " Name " getötet.") && InStr(last_line, "*Gangfight*"))
  3272. {
  3273. If(CheckKill = 1)
  3274. {
  3275. IniRead, Killsound, %Settings%, Sounds, Killsound
  3276. if(A_OSVersion != "WIN_XP")
  3277. {
  3278. SoundSetWaveVolume, %VolKill%
  3279. }
  3280. SoundPlay, %Killsound%
  3281. FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3282. }
  3283. if(GangZaehler = 1)
  3284. {
  3285. IniRead, Kills, %Settings%, Killzähler, Kills
  3286. Kills++
  3287. IniWrite, %Kills%, %Settings%, Killzähler, Kills
  3288. IniRead, GFKills, %Settings%, Gangfight, GFKills, 0
  3289. GFKills++
  3290. IniWrite, %GFKills%, %Settings%, Gangfight, GFKills
  3291. if(GFKillzählerSpruch != "")
  3292. {
  3293. GetZoneName(Zone)
  3294. GetCityName(City)
  3295. Position := "" Zone ", " City
  3296. GFKillzählerSpruch_hilf := KillzählerSpruch
  3297. StringReplace, GFKillzählerSpruch, GFKillzählerSpruch, <kills>, %Kills%
  3298. StringReplace, GFKillzählerSpruch, GFKillzählerSpruch, <pos>, %Position%
  3299. SendChat("/f " GFKillzählerspruch "")
  3300. GFKillzählerSpruch := GFKillzählerSpruch_hilf
  3301. }
  3302. else
  3303. {
  3304. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Gangfight-Kill Nr. {FFBB00}" GFKills "{FFFFFF}.")
  3305. }
  3306. FormatTime, TagMonatJahr,,dd.MM.yyyy
  3307. IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
  3308. DKills++
  3309. IniWrite, %DKills%, %Tagesstatistik%, %TagMonatJahr%, DKills
  3310. IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
  3311. AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
  3312. Killstreak++
  3313. IniRead, KillstreakRekord, %Settings%, Zähler, KillstreakRekord, 0
  3314. if(Killstreak > KillstreakRekord)
  3315. {
  3316. IniWrite, %Killstreak%, %Settings%, Zähler, KillstreakRekord
  3317. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast einen neuen Killstreak-Rekord {FFBB00}" Killstreak "{FFFFFF}.")
  3318. }
  3319. }
  3320. }
  3321. if(InStr(last_line, "" . Name . " wurde von ") && InStr(last_line, "*Gangfight*"))
  3322. {
  3323. IniRead, GFTode, %Settings%, Gangfight, GFTode
  3324. GFTode++
  3325. IniWrite, %GFTode%, %Settings%, Gangfight, GFTode
  3326. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Gangfight-Tod Nr. {FFBB00}" GFTode "{FFFFFF}.")
  3327. Killstreak := 0
  3328. }
  3329. if(InStr(last_line, "*Gangfight* " . Name . " (") && InStr(last_line, ") hat Flagge ") && InStr(last_line, " eingenommen"))
  3330. {
  3331. if(GangZaehler = 1)
  3332. {
  3333. IniRead, Flaggen, %Settings%, Zähler, Flaggen, 0
  3334. Flaggen++
  3335. IniWrite, Flaggen, %Settings%, Zähler, Flaggen
  3336. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast bereits {FFBB00}" Flaggen "{FFFFFF} Flaggen eingenommen.")
  3337. }
  3338. }
  3339. if(InStr(Line1, "* " . Name . " benutzt ein Erste-Hilfe-Paket und versorgt die Wunden."))
  3340. {
  3341. SetTimer, ErsteHilfe, 1000
  3342. Erstehilfezeit := 600
  3343. Erstehilfeminute := 9
  3344. Erstehilfesekunde := 60
  3345. }
  3346. if(InStr(last_line, "Paintball: ") && InStr(last_line, "wurde von " Name " getötet"))
  3347. {
  3348. if(Paintballmodus = 1)
  3349. {
  3350. IniRead, PBKills, %Settings%, Zähler, PBKills, 0
  3351. PBKills++
  3352. IniWrite, %PBKills%, %Settings%, Zähler, PBKills
  3353. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Dies war dein Paintball-Kill Nr. {FFBB00}" PBKills "{FFFFFF}.")
  3354. }
  3355. }
  3356. if(InStr(last_line, "Paintball: ") && InStr(last_line, "" . Name . " wurde von "))
  3357. {
  3358. if(Paintballmodus = 1)
  3359. {
  3360. IniRead, PBTode, %Settings%, Zähler, PBTode, 0
  3361. PBTode++
  3362. IniWrite, %PBTode%, %Settings%, Zähler, PBTode
  3363. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Dies war dein Paintball-Tod Nr. {FFBB00}" PBTode "{FFFFFF}.")
  3364. }
  3365. }
  3366. 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!"))
  3367. {
  3368. if(AntiSpam = 1)
  3369. {
  3370. BlockChatInput(True)
  3371. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}AntiSpamKick System {00FF00}aktiv{00FF00}.")
  3372. Sleep, 1500
  3373. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}AntiSpamKick System {FF0000}inaktiv{FF0000}.")
  3374. BlockChatInput(false)
  3375. }
  3376. }
  3377. If (InStr, Line0, "Der Gesprächspartner hat aufgelegt")
  3378. {
  3379. Soundplay, avixa.avi
  3380. }
  3381. if(CheckLowHP = 1)
  3382. {
  3383. if(LowHPsoundan == 0)
  3384. {
  3385. if(HP < 47.0 && HP != -1)
  3386. {
  3387. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}WARNUNG: {FFFFFF}Du hast nur noch {FFA000}" HP " HP{FFFFFF}. Heil dich schnell!")
  3388. IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
  3389. if(A_OSVersion != "WIN_XP")
  3390. {
  3391. SoundSetWaveVolume, %VolLowHP%
  3392. }
  3393. SoundPlay, %LowHPsound%
  3394. LowHPsoundan := 1
  3395. }
  3396. }
  3397. }
  3398. if(LowHPsoundan = 1)
  3399. {
  3400. if(HP > 47)
  3401. {
  3402. LowHPsoundan := 0
  3403. SoundPlay, avixa.avi
  3404. }
  3405. }
  3406. if(tot == 0)
  3407. {
  3408. if(HP == 0 && Paintballmodus == 0)
  3409. {
  3410. if(InStr(line0, "Lost connection to the server. Reconnecting..") || InStr(line0, "The server is restarting..") || InStr(line0, "Connecting to 31.214.160.11:7777...") || InStr(line0, "The server didn't respond. Retrying.."))
  3411. {
  3412. Sleep, 2500
  3413. return
  3414. }
  3415. tot := 1
  3416. Killstreak := 0
  3417. if(VIP == 1)
  3418. {
  3419. Krankenhaus := 120
  3420. }
  3421. else
  3422. {
  3423. Krankenhaus := 180
  3424. }
  3425. SetTimer, Krankenhaus, 1000
  3426. if(Todeszähler = 1)
  3427. {
  3428. IniRead, Deaths, %Settings%, Todeszähler, Deaths
  3429. Deaths++
  3430. IniWrite, %Deaths%, %Settings%, Todeszähler, Deaths
  3431. if(Todeszählerspruch != "")
  3432. {
  3433. GetZoneName(Zone)
  3434. GetCityName(City)
  3435. Position := "" Zone ", " City
  3436. TodeszählerSpruch_hilf := TodeszählerSpruch
  3437. StringReplace, TodeszählerSpruch, TodeszählerSpruch, <deaths>, %Deaths%, All
  3438. StringReplace, TodeszählerSpruch, TodeszählerSpruch, <pos>, %Position%, All
  3439. SendChat("/f " Todeszählerspruch "")
  3440. TodeszählerSpruch := TodeszählerSpruch_hilf
  3441. }
  3442. else
  3443. {
  3444. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Tod Nr. {FFBB00}" Deaths "{FFFFFF}.")
  3445. }
  3446. }
  3447. if(GangZaehler == 1)
  3448. {
  3449. FormatTime, TagMonatJahr,,dd.MM.yyyy
  3450. IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
  3451. IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
  3452. DDeaths++
  3453. IniWrite, %DDeaths%, %Tagesstatistik%, %TagMonatJahr%, DDeaths
  3454. AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
  3455. }
  3456. If(CheckTod = 1)
  3457. {
  3458. IniRead, Todessound, %Settings%, Sounds, Todessound
  3459. if(A_OSVersion != "WIN_XP")
  3460. {
  3461. SoundSetWaveVolume, %VolTod%
  3462. }
  3463. SoundPlay, %Todessound%
  3464. }
  3465. }
  3466. }
  3467. if(InStr(last_line, "* Sanitäter ") && InStr(last_line, " hat dich geheilt."))
  3468. {
  3469. SetTimer, Krankenhaus, off
  3470. Krankenhaus := 0
  3471. KrankenhausOverlay := "Nicht in Behandlung"
  3472. }
  3473. if(tot == 1)
  3474. {
  3475. if(HP != 0)
  3476. {
  3477. tot := 0
  3478. }
  3479. }
  3480. if(Gehaltsscheck = 1)
  3481. {
  3482. If (InStr(Line0, "|=================||============||=================|") || InStr(Line1, "|=================||============||=================|"))
  3483. {
  3484. if(InStr(Line0, "|Gehaltscheck|"))
  3485. {
  3486. return
  3487. }
  3488. Loop
  3489. {
  3490. GetChatLine(A_Index - 1, chat)
  3491. if(InStr(chat, "KFZ Steuer:"))
  3492. {
  3493. RegExMatch(chat, "KFZ Steuer: -(.*)\$", kfz)
  3494. }
  3495. if(InStr(chat, "Lohn: "))
  3496. {
  3497. RegExMatch(chat, "Lohn: (.*)\$     Miete: -(.*)\$     Lohnsteuer: -(.*)\$", rest)
  3498. }
  3499. if(InStr(chat, "Stromrechnung: "))
  3500. {
  3501. RegExMatch(chat, "Stromrechnung: -(.*)\$", strom)
  3502. }
  3503. if(Instr(chat, "|================| Gehalts-Check |================|"))
  3504. {
  3505. break
  3506. }
  3507. }
  3508. Gehalt=%rest1%
  3509. Gehalt-=%rest2%
  3510. Gehalt-=%rest3%
  3511. Gehalt-=%kfz1%
  3512. Gehalt-=%strom1%
  3513. AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Gehaltscheck| {FFFFFF}" . Gehalt . "$")
  3514. }
  3515. }
  3516. if(Job = 11)
  3517. {
  3518. If(Instr(Line0, "Du hast den Spieler befreit und eine") || Instr(Line1, "Du hast den Spieler befreit und eine"))
  3519. {
  3520. IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
  3521. if(Anwaltskill = 1)
  3522. {
  3523. SetTimer, Anwalt, 1800000
  3524. }
  3525. if(Anwaltskill = 2)
  3526. {
  3527. SetTimer, Anwalt, 1500000
  3528. }
  3529. if(Anwaltskill = 3)
  3530. {
  3531. SetTimer, Anwalt, 1200000
  3532. }
  3533. if(Anwaltskill = 4)
  3534. {
  3535. SetTimer, Anwalt, 900000
  3536. }
  3537. if(Anwaltskill = 5)
  3538. {
  3539. SetTimer, Anwalt, 600000
  3540. }
  3541. }
  3542. }
  3543. if(SpeedCheckStatus == "1")
  3544. {
  3545. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3546. {
  3547. return
  3548. }
  3549. VehSpeed := GetPlayerSpeed()
  3550. if(IsPlayerDriver() == 1)
  3551. {
  3552. if (VehSpeed <= VehSpeedMax)
  3553. {
  3554. SendInput, {W Down}
  3555. }
  3556. else if (VehSpeed > VehSpeedMax)
  3557. {
  3558. SendInput, {W Up}
  3559. }
  3560. }
  3561. else
  3562. {
  3563. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges. Der Tempomat wurde deaktiviert.")
  3564. SpeedCheckStatus := "0"
  3565. SpeedOnOff := "0"
  3566. Sleep, 250
  3567. SendInput {W up}
  3568. }
  3569. }
  3570. if(TankZoll == 1)
  3571. {
  3572. goto, TankstelleZoll
  3573. }
  3574. return
  3575. Gehalt:
  3576. GetChatLine(0, Line0)
  3577. If (InStr(Line0, "|=================||============||=================|") || InStr(Line0, "Brief/e im Postfach"))
  3578. {
  3579. Loop
  3580. {
  3581. GetChatLine(A_Index - 1, chat)
  3582. if(InStr(chat, "KFZ Steuer:"))
  3583. {
  3584. RegExMatch(chat, "KFZ Steuer: -(.*)\$", kfz)
  3585. }
  3586. if(InStr(chat, "Lohn: "))
  3587. {
  3588. RegExMatch(chat, "Lohn: (.*)\$     Miete: -(.*)\$     Lohnsteuer: -(.*)\$", rest)
  3589. }
  3590. if(InStr(chat, "Stromrechnung: "))
  3591. {
  3592. RegExMatch(chat, "Stromrechnung: -(.*)\$", strom)
  3593. }
  3594. if(Instr(chat, "|================| Gehalts-Check |================|"))
  3595. {
  3596. break
  3597. }
  3598. }
  3599. Gehalt=%rest1%
  3600. Gehalt-=%rest2%
  3601. Gehalt-=%rest3%
  3602. Gehalt-=%kfz1%
  3603. Gehalt-=%strom1%
  3604. AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Gehaltscheck| {FFFFFF}" . Gehalt . "$")
  3605. }
  3606. return
  3607. Anwalt:
  3608. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine Anwaltsperrzeit ist nun abgelaufen.")
  3609. SetTimer, Anwalt, off
  3610. return
  3611. CheckHealth:
  3612. HP := GetPlayerHealth()
  3613. if(HP > 30)
  3614. {
  3615. LowHPsoundan := 0
  3616. SetTimer, CheckHealth, off
  3617. SoundPlay, avixa.avi
  3618. }
  3619. return
  3620. TankstelleZoll:
  3621. if(IsPlayerInAnyVehicle())
  3622. {
  3623. if(Freigabe = 1)
  3624. {
  3625. if(IsPlayerInRangeOfPoint_fast(614.7936,1689.5481,6.5567, 10))
  3626. {
  3627. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3628. KeyWait, X, D, T10
  3629. if !Errorlevel
  3630. {
  3631. Freigabe := 0
  3632. if(IsVehicleEngineEnabled() == 1)
  3633. {
  3634. SendChat("/motor")
  3635. }
  3636. SendChat("/fill")
  3637. Sleep, 10000
  3638. SendChat("/motor")
  3639. Sleep, 2600
  3640. SendChat("/licht")
  3641. SetTimer, Zähler, 5000
  3642. Var := 0
  3643. }
  3644. else
  3645. {
  3646. Freigabe := 1
  3647. }
  3648. }
  3649. else if(IsPlayerInRangeOfPoint_fast(-1328.5437,2677.2109,49.6285, 10))
  3650. {
  3651. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3652. KeyWait, X, D, T10
  3653. if !Errorlevel
  3654. {
  3655. Freigabe := 0
  3656. if(IsVehicleEngineEnabled() == 1)
  3657. {
  3658. SendChat("/motor")
  3659. }
  3660. SendChat("/fill")
  3661. Sleep, 10000
  3662. SendChat("/motor")
  3663. Sleep, 2600
  3664. SendChat("/licht")
  3665. SetTimer, Zähler, 5000
  3666. Var := 0
  3667. }
  3668. else
  3669. {
  3670. Freigabe := 1
  3671. }
  3672. }
  3673. else if(IsPlayerInRangeOfPoint_fast(1595.7455,2198.9319,10.3875, 10))
  3674. {
  3675. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3676. KeyWait, X, D, T10
  3677. if !Errorlevel
  3678. {
  3679. Freigabe := 0
  3680. if(IsVehicleEngineEnabled() == 1)
  3681. {
  3682. SendChat("/motor")
  3683. }
  3684. SendChat("/fill")
  3685. Sleep, 10000
  3686. SendChat("/motor")
  3687. Sleep, 2600
  3688. SendChat("/licht")
  3689. SetTimer, Zähler, 5000
  3690. Var := 0
  3691. }
  3692. else
  3693. {
  3694. Freigabe := 1
  3695. }
  3696. }
  3697. else if(IsPlayerInRangeOfPoint_fast(2202.3479,2473.9041,10.3849, 10))
  3698. {
  3699. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3700. KeyWait, X, D, T10
  3701. if !Errorlevel
  3702. {
  3703. Freigabe := 0
  3704. if(IsVehicleEngineEnabled() == 1)
  3705. {
  3706. SendChat("/motor")
  3707. }
  3708. SendChat("/fill")
  3709. Sleep, 10000
  3710. SendChat("/motor")
  3711. Sleep, 2600
  3712. SendChat("/licht")
  3713. SetTimer, Zähler, 5000
  3714. Var := 0
  3715. }
  3716. else
  3717. {
  3718. Freigabe := 1
  3719. }
  3720. }
  3721. else if(IsPlayerInRangeOfPoint_fast(2113.8887,920.1363,10.3840, 10))
  3722. {
  3723. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3724. KeyWait, X, D, T10
  3725. if !Errorlevel
  3726. {
  3727. Freigabe := 0
  3728. if(IsVehicleEngineEnabled() == 1)
  3729. {
  3730. SendChat("/motor")
  3731. }
  3732. SendChat("/fill")
  3733. Sleep, 10000
  3734. SendChat("/motor")
  3735. Sleep, 2600
  3736. SendChat("/licht")
  3737. SetTimer, Zähler, 5000
  3738. Var := 0
  3739. }
  3740. else
  3741. {
  3742. Freigabe := 1
  3743. }
  3744. }
  3745. else if(IsPlayerInRangeOfPoint_fast(-2408.7478,975.8612,44.8655, 10))
  3746. {
  3747. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3748. KeyWait, X, D, T10
  3749. if !Errorlevel
  3750. {
  3751. Freigabe := 0
  3752. if(IsVehicleEngineEnabled() == 1)
  3753. {
  3754. SendChat("/motor")
  3755. }
  3756. SendChat("/fill")
  3757. Sleep, 10000
  3758. SendChat("/motor")
  3759. Sleep, 2600
  3760. SendChat("/licht")
  3761. SetTimer, Zähler, 5000
  3762. Var := 0
  3763. }
  3764. else
  3765. {
  3766. Freigabe := 1
  3767. }
  3768. }
  3769. else if(IsPlayerInRangeOfPoint_fast(-2029.3025,156.4132,28.4108, 10))
  3770. {
  3771. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3772. KeyWait, X, D, T10
  3773. if !Errorlevel
  3774. {
  3775. Freigabe := 0
  3776. if(IsVehicleEngineEnabled() == 1)
  3777. {
  3778. SendChat("/motor")
  3779. }
  3780. SendChat("/fill")
  3781. Sleep, 10000
  3782. SendChat("/motor")
  3783. Sleep, 2600
  3784. SendChat("/licht")
  3785. SetTimer, Zähler, 5000
  3786. Var := 0
  3787. }
  3788. else
  3789. {
  3790. Freigabe := 1
  3791. }
  3792. }
  3793. else if(IsPlayerInRangeOfPoint_fast(-1676.3165,414.2832,6.7490, 10))
  3794. {
  3795. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3796. KeyWait, X, D, T10
  3797. if !Errorlevel
  3798. {
  3799. Freigabe := 0
  3800. if(IsVehicleEngineEnabled() == 1)
  3801. {
  3802. SendChat("/motor")
  3803. }
  3804. SendChat("/fill")
  3805. Sleep, 10000
  3806. SendChat("/motor")
  3807. Sleep, 2600
  3808. SendChat("/licht")
  3809. SetTimer, Zähler, 5000
  3810. Var := 0
  3811. }
  3812. else
  3813. {
  3814. Freigabe := 1
  3815. }
  3816. }
  3817. else if(IsPlayerInRangeOfPoint_fast(1004.1802,-939.2733,41.7504, 10))
  3818. {
  3819. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3820. KeyWait, X, D, T10
  3821. if !Errorlevel
  3822. {
  3823. Freigabe := 0
  3824. if(IsVehicleEngineEnabled() == 1)
  3825. {
  3826. SendChat("/motor")
  3827. }
  3828. SendChat("/fill")
  3829. Sleep, 10000
  3830. SendChat("/motor")
  3831. Sleep, 2600
  3832. SendChat("/licht")
  3833. SetTimer, Zähler, 5000
  3834. Var := 0
  3835. }
  3836. else
  3837. {
  3838. Freigabe := 1
  3839. }
  3840. }
  3841. else if(IsPlayerInRangeOfPoint_fast(1944.1013,-1772.9907,12.9622, 10))
  3842. {
  3843. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3844. KeyWait, X, D, T10
  3845. if !Errorlevel
  3846. {
  3847. Freigabe := 0
  3848. if(IsVehicleEngineEnabled() == 1)
  3849. {
  3850. SendChat("/motor")
  3851. }
  3852. SendChat("/fill")
  3853. Sleep, 10000
  3854. SendChat("/motor")
  3855. Sleep, 2600
  3856. SendChat("/licht")
  3857. SetTimer, Zähler, 5000
  3858. Var := 0
  3859. }
  3860. else
  3861. {
  3862. Freigabe := 1
  3863. }
  3864. }
  3865. else if(IsPlayerInRangeOfPoint_fast(-90.6283,-1169.5378,1.9707, 10))
  3866. {
  3867. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3868. KeyWait, X, D, T10
  3869. if !Errorlevel
  3870. {
  3871. Freigabe := 0
  3872. if(IsVehicleEngineEnabled() == 1)
  3873. {
  3874. SendChat("/motor")
  3875. }
  3876. SendChat("/fill")
  3877. Sleep, 10000
  3878. SendChat("/motor")
  3879. Sleep, 2600
  3880. SendChat("/licht")
  3881. SetTimer, Zähler, 5000
  3882. Var := 0
  3883. }
  3884. else
  3885. {
  3886. Freigabe := 1
  3887. }
  3888. }
  3889. else if(IsPlayerInRangeOfPoint_fast(-1605.3982,-2714.4424,48.5335, 10))
  3890. {
  3891. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3892. KeyWait, X, D, T10
  3893. if !Errorlevel
  3894. {
  3895. Freigabe := 0
  3896. if(IsVehicleEngineEnabled() == 1)
  3897. {
  3898. SendChat("/motor")
  3899. }
  3900. SendChat("/fill")
  3901. Sleep, 10000
  3902. SendChat("/motor")
  3903. Sleep, 2600
  3904. SendChat("/licht")
  3905. SetTimer, Zähler, 5000
  3906. Var := 0
  3907. }
  3908. else
  3909. {
  3910. Freigabe := 1
  3911. }
  3912. }
  3913. else if(IsPlayerInRangeOfPoint_fast(-2243.8896,-2560.5569,31.9219, 10))
  3914. {
  3915. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3916. KeyWait, X, D, T10
  3917. if !Errorlevel
  3918. {
  3919. Freigabe := 0
  3920. if(IsVehicleEngineEnabled() == 1)
  3921. {
  3922. SendChat("/motor")
  3923. }
  3924. SendChat("/fill")
  3925. Sleep, 10000
  3926. SendChat("/motor")
  3927. Sleep, 2600
  3928. SendChat("/licht")
  3929. SetTimer, Zähler, 5000
  3930. Var := 0
  3931. }
  3932. else
  3933. {
  3934. Freigabe := 1
  3935. }
  3936. }
  3937. else if(IsPlayerInRangeOfPoint_fast(1380.9418,457.1429,19.4861, 10))
  3938. {
  3939. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3940. KeyWait, X, D, T10
  3941. if !Errorlevel
  3942. {
  3943. Freigabe := 0
  3944. if(IsVehicleEngineEnabled() == 1)
  3945. {
  3946. SendChat("/motor")
  3947. }
  3948. SendChat("/fill")
  3949. Sleep, 10000
  3950. SendChat("/motor")
  3951. Sleep, 2600
  3952. SendChat("/licht")
  3953. SetTimer, Zähler, 5000
  3954. Var := 0
  3955. }
  3956. else
  3957. {
  3958. Freigabe := 1
  3959. }
  3960. }
  3961. else if(IsPlayerInRangeOfPoint_fast(70.4341,1218.6842,18.3743, 10))
  3962. {
  3963. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3964. KeyWait, X, D, T10
  3965. if !Errorlevel
  3966. {
  3967. Freigabe := 0
  3968. if(IsVehicleEngineEnabled() == 1)
  3969. {
  3970. SendChat("/motor")
  3971. }
  3972. SendChat("/fill")
  3973. Sleep, 10000
  3974. SendChat("/motor")
  3975. Sleep, 2600
  3976. SendChat("/licht")
  3977. SetTimer, Zähler, 5000
  3978. Var := 0
  3979. }
  3980. else
  3981. {
  3982. Freigabe := 1
  3983. }
  3984. }
  3985. else if(IsPlayerInRangeOfPoint_fast(1555.4310,-1605.5901,13.1827, 10))
  3986. {
  3987. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
  3988. KeyWait, X, D, T10
  3989. if !Errorlevel
  3990. {
  3991. Freigabe := 0
  3992. if(IsVehicleEngineEnabled() == 1)
  3993. {
  3994. SendChat("/motor")
  3995. }
  3996. SendChat("/fill")
  3997. Sleep, 10000
  3998. SendChat("/motor")
  3999. Sleep, 2600
  4000. SendChat("/licht")
  4001. SetTimer, Zähler, 5000
  4002. Var := 0
  4003. }
  4004. else
  4005. {
  4006. Freigabe := 1
  4007. }
  4008. }
  4009. else if(IsPlayerInRangeOfPoint_fast(1733.4684,546.3726,26.2758, 10))
  4010. {
  4011. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4012. KeyWait, X, D, T10
  4013. if !ErrorLevel
  4014. {
  4015. Freigabe := 0
  4016. Sleep, 100
  4017. SendChat("/zoll")
  4018. SetTimer, Zähler, 5000
  4019. Var := 0
  4020. Sleep, 200
  4021. GetChatLine(0, chat)
  4022. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4023. {
  4024. Sleep, 800
  4025. SendChat("/zoll")
  4026. }
  4027. }
  4028. }
  4029. else if(IsPlayerInRangeOfPoint_fast(1741.1063,543.4731,26.3013, 10))
  4030. {
  4031. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4032. KeyWait, X, D, T10
  4033. if !ErrorLevel
  4034. {
  4035. Freigabe := 0
  4036. Sleep, 100
  4037. SendChat("/zoll")
  4038. SetTimer, Zähler, 5000
  4039. Var := 0
  4040. Sleep, 200
  4041. GetChatLine(0, chat)
  4042. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4043. {
  4044. Sleep, 800
  4045. SendChat("/zoll")
  4046. }
  4047. }
  4048. }
  4049. else if(IsPlayerInRangeOfPoint_fast(1744.0303,523.6337,27.3567, 10))
  4050. {
  4051. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4052. KeyWait, X, D, T10
  4053. if !ErrorLevel
  4054. {
  4055. Freigabe := 0
  4056. Sleep, 100
  4057. SendChat("/zoll")
  4058. SetTimer, Zähler, 5000
  4059. Var := 0
  4060. Sleep, 200
  4061. GetChatLine(0, chat)
  4062. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4063. {
  4064. Sleep, 800
  4065. SendChat("/zoll")
  4066. }
  4067. }
  4068. }
  4069. else if(IsPlayerInRangeOfPoint_fast(1752.7092,521.6908,27.3102, 10))
  4070. {
  4071. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4072. KeyWait, X, D, T10
  4073. if !ErrorLevel
  4074. {
  4075. Freigabe := 0
  4076. Sleep, 100
  4077. SendChat("/zoll")
  4078. SetTimer, Zähler, 5000
  4079. Var := 0
  4080. Sleep, 200
  4081. GetChatLine(0, chat)
  4082. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4083. {
  4084. Sleep, 800
  4085. SendChat("/zoll")
  4086. }
  4087. }
  4088. }
  4089. else if(IsPlayerInRangeOfPoint_fast(512.5435,476.6207,18.4921, 10))
  4090. {
  4091. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4092. KeyWait, X, D, T10
  4093. if !ErrorLevel
  4094. {
  4095. Freigabe := 0
  4096. Sleep, 100
  4097. SendChat("/zoll")
  4098. SetTimer, Zähler, 5000
  4099. Var := 0
  4100. Sleep, 200
  4101. GetChatLine(0, chat)
  4102. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4103. {
  4104. Sleep, 800
  4105. SendChat("/zoll")
  4106. }
  4107. }
  4108. }
  4109. else if(IsPlayerInRangeOfPoint_fast(529.2228,467.2050,18.5020, 10))
  4110. {
  4111. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4112. KeyWait, X, D, T10
  4113. if !ErrorLevel
  4114. {
  4115. Freigabe := 0
  4116. Sleep, 100
  4117. SendChat("/zoll")
  4118. SetTimer, Zähler, 5000
  4119. Var := 0
  4120. Sleep, 200
  4121. GetChatLine(0, chat)
  4122. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4123. {
  4124. Sleep, 800
  4125. SendChat("/zoll")
  4126. }
  4127. }
  4128. }
  4129. else if(IsPlayerInRangeOfPoint_fast(-159.7899,414.1762,11.6441, 10))
  4130. {
  4131. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4132. KeyWait, X, D, T10
  4133. if !ErrorLevel
  4134. {
  4135. Freigabe := 0
  4136. Sleep, 100
  4137. SendChat("/zoll")
  4138. SetTimer, Zähler, 5000
  4139. Var := 0
  4140. Sleep, 200
  4141. GetChatLine(0, chat)
  4142. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4143. {
  4144. Sleep, 800
  4145. SendChat("/zoll")
  4146. }
  4147. }
  4148. }
  4149. else if(IsPlayerInRangeOfPoint_fast(-157.4410,392.2368,11.6423, 10))
  4150. {
  4151. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4152. KeyWait, X, D, T10
  4153. if !ErrorLevel
  4154. {
  4155. Freigabe := 0
  4156. Sleep, 100
  4157. SendChat("/zoll")
  4158. SetTimer, Zähler, 5000
  4159. Var := 0
  4160. Sleep, 200
  4161. GetChatLine(0, chat)
  4162. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4163. {
  4164. Sleep, 800
  4165. SendChat("/zoll")
  4166. }
  4167. }
  4168. }
  4169. else if(IsPlayerInRangeOfPoint_fast(-1408.2322,824.1868,46.9611, 10))
  4170. {
  4171. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4172. KeyWait, X, D, T10
  4173. if !ErrorLevel
  4174. {
  4175. Freigabe := 0
  4176. Sleep, 100
  4177. SendChat("/zoll")
  4178. SetTimer, Zähler, 5000
  4179. Var := 0
  4180. Sleep, 200
  4181. GetChatLine(0, chat)
  4182. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4183. {
  4184. Sleep, 800
  4185. SendChat("/zoll")
  4186. }
  4187. }
  4188. }
  4189. else if(IsPlayerInRangeOfPoint_fast(-1414.7716,803.5920,46.8070, 10))
  4190. {
  4191. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4192. KeyWait, X, D, T10
  4193. if !ErrorLevel
  4194. {
  4195. Freigabe := 0
  4196. Sleep, 100
  4197. SendChat("/zoll")
  4198. SetTimer, Zähler, 5000
  4199. Var := 0
  4200. Sleep, 200
  4201. GetChatLine(0, chat)
  4202. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4203. {
  4204. Sleep, 800
  4205. SendChat("/zoll")
  4206. }
  4207. }
  4208. }
  4209. else if(IsPlayerInRangeOfPoint_fast(-2695.0493,1284.6304,54.9936, 10))
  4210. {
  4211. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4212. KeyWait, X, D, T10
  4213. if !ErrorLevel
  4214. {
  4215. Freigabe := 0
  4216. Sleep, 100
  4217. SendChat("/zoll")
  4218. SetTimer, Zähler, 5000
  4219. Var := 0
  4220. Sleep, 200
  4221. GetChatLine(0, chat)
  4222. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4223. {
  4224. Sleep, 800
  4225. SendChat("/zoll")
  4226. }
  4227. }
  4228. }
  4229. else if(IsPlayerInRangeOfPoint_fast(-2686.3394,1284.2363,54.9928, 10))
  4230. {
  4231. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4232. KeyWait, X, D, T10
  4233. if !ErrorLevel
  4234. {
  4235. Freigabe := 0
  4236. Sleep, 100
  4237. SendChat("/zoll")
  4238. SetTimer, Zähler, 5000
  4239. Var := 0
  4240. Sleep, 200
  4241. GetChatLine(0, chat)
  4242. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4243. {
  4244. Sleep, 800
  4245. SendChat("/zoll")
  4246. }
  4247. }
  4248. }
  4249. else if(IsPlayerInRangeOfPoint_fast(-2676.6162,1265.3683,54.9934, 10))
  4250. {
  4251. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4252. KeyWait, X, D, T10
  4253. if !ErrorLevel
  4254. {
  4255. Freigabe := 0
  4256. Sleep, 100
  4257. SendChat("/zoll")
  4258. SetTimer, Zähler, 5000
  4259. Var := 0
  4260. Sleep, 200
  4261. GetChatLine(0, chat)
  4262. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4263. {
  4264. Sleep, 800
  4265. SendChat("/zoll")
  4266. }
  4267. }
  4268. }
  4269. else if(IsPlayerInRangeOfPoint_fast(-2668.1848,1264.9076,54.9993, 10))
  4270. {
  4271. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4272. KeyWait, X, D, T10
  4273. if !ErrorLevel
  4274. {
  4275. Freigabe := 0
  4276. Sleep, 100
  4277. SendChat("/zoll")
  4278. SetTimer, Zähler, 5000
  4279. Var := 0
  4280. Sleep, 200
  4281. GetChatLine(0, chat)
  4282. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4283. {
  4284. Sleep, 800
  4285. SendChat("/zoll")
  4286. }
  4287. }
  4288. }
  4289. else if(IsPlayerInRangeOfPoint_fast(-963.0773,-343.0494,35.6944, 10))
  4290. {
  4291. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4292. KeyWait, X, D, T10
  4293. if !ErrorLevel
  4294. {
  4295. Freigabe := 0
  4296. Sleep, 100
  4297. SendChat("/zoll")
  4298. SetTimer, Zähler, 5000
  4299. Var := 0
  4300. Sleep, 200
  4301. GetChatLine(0, chat)
  4302. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4303. {
  4304. Sleep, 800
  4305. SendChat("/zoll")
  4306. }
  4307. }
  4308. }
  4309. else if(IsPlayerInRangeOfPoint_fast(-967.9983,-322.3340,35.9383, 10))
  4310. {
  4311. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4312. KeyWait, X, D, T10
  4313. if !ErrorLevel
  4314. {
  4315. Freigabe := 0
  4316. Sleep, 100
  4317. SendChat("/zoll")
  4318. SetTimer, Zähler, 5000
  4319. Var := 0
  4320. Sleep, 200
  4321. GetChatLine(0, chat)
  4322. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4323. {
  4324. Sleep, 800
  4325. SendChat("/zoll")
  4326. }
  4327. }
  4328. }
  4329. else if(IsPlayerInRangeOfPoint_fast(-71.7615,-892.4689,15.3092, 10))
  4330. {
  4331. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4332. KeyWait, X, D, T10
  4333. if !ErrorLevel
  4334. {
  4335. Freigabe := 0
  4336. Sleep, 100
  4337. SendChat("/zoll")
  4338. SetTimer, Zähler, 5000
  4339. Var := 0
  4340. Sleep, 200
  4341. GetChatLine(0, chat)
  4342. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4343. {
  4344. Sleep, 800
  4345. SendChat("/zoll")
  4346. }
  4347. }
  4348. }
  4349. else if(IsPlayerInRangeOfPoint_fast(-68.7422,-867.9615,14.0653, 10))
  4350. {
  4351. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4352. KeyWait, X, D, T10
  4353. if !ErrorLevel
  4354. {
  4355. Freigabe := 0
  4356. Sleep, 100
  4357. SendChat("/zoll")
  4358. SetTimer, Zähler, 5000
  4359. Var := 0
  4360. Sleep, 200
  4361. GetChatLine(0, chat)
  4362. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4363. {
  4364. Sleep, 800
  4365. SendChat("/zoll")
  4366. }
  4367. }
  4368. }
  4369. else if(IsPlayerInRangeOfPoint_fast(100.1979,-1284.3651,13.6976, 10))
  4370. {
  4371. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4372. KeyWait, X, D, T10
  4373. if !ErrorLevel
  4374. {
  4375. Freigabe := 0
  4376. Sleep, 100
  4377. SendChat("/zoll")
  4378. SetTimer, Zähler, 5000
  4379. Var := 0
  4380. Sleep, 200
  4381. GetChatLine(0, chat)
  4382. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4383. {
  4384. Sleep, 800
  4385. SendChat("/zoll")
  4386. }
  4387. }
  4388. }
  4389. else if(IsPlayerInRangeOfPoint_fast(94.4024,-1277.8165,13.6380, 10))
  4390. {
  4391. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4392. KeyWait, X, D, T10
  4393. if !ErrorLevel
  4394. {
  4395. Freigabe := 0
  4396. Sleep, 100
  4397. SendChat("/zoll")
  4398. SetTimer, Zähler, 5000
  4399. Var := 0
  4400. Sleep, 200
  4401. GetChatLine(0, chat)
  4402. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4403. {
  4404. Sleep, 800
  4405. SendChat("/zoll")
  4406. }
  4407. }
  4408. }
  4409. else if(IsPlayerInRangeOfPoint_fast(97.1871,-1254.1139,14.2317, 10))
  4410. {
  4411. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4412. KeyWait, X, D, T10
  4413. if !ErrorLevel
  4414. {
  4415. Freigabe := 0
  4416. Sleep, 100
  4417. SendChat("/zoll")
  4418. SetTimer, Zähler, 5000
  4419. Var := 0
  4420. Sleep, 200
  4421. GetChatLine(0, chat)
  4422. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4423. {
  4424. Sleep, 800
  4425. SendChat("/zoll")
  4426. }
  4427. }
  4428. }
  4429. else if(IsPlayerInRangeOfPoint_fast(94.6934,-1245.5920,14.2429, 10))
  4430. {
  4431. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4432. KeyWait, X, D, T10
  4433. if !ErrorLevel
  4434. {
  4435. Freigabe := 0
  4436. Sleep, 100
  4437. SendChat("/zoll")
  4438. SetTimer, Zähler, 5000
  4439. Var := 0
  4440. Sleep, 200
  4441. GetChatLine(0, chat)
  4442. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4443. {
  4444. Sleep, 800
  4445. SendChat("/zoll")
  4446. }
  4447. }
  4448. }
  4449. else if(IsPlayerInRangeOfPoint_fast(42.7052,-1537.9767,4.7632, 10))
  4450. {
  4451. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4452. KeyWait, X, D, T10
  4453. if !ErrorLevel
  4454. {
  4455. Freigabe := 0
  4456. Sleep, 100
  4457. SendChat("/zoll")
  4458. SetTimer, Zähler, 5000
  4459. Var := 0
  4460. Sleep, 200
  4461. GetChatLine(0, chat)
  4462. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4463. {
  4464. Sleep, 800
  4465. SendChat("/zoll")
  4466. }
  4467. }
  4468. }
  4469. else if(IsPlayerInRangeOfPoint_fast(58.0220,-1524.9335,4.5461, 10))
  4470. {
  4471. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
  4472. KeyWait, X, D, T10
  4473. if !ErrorLevel
  4474. {
  4475. Freigabe := 0
  4476. Sleep, 100
  4477. SendChat("/zoll")
  4478. SetTimer, Zähler, 5000
  4479. Var := 0
  4480. Sleep, 200
  4481. GetChatLine(0, chat)
  4482. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4483. {
  4484. Sleep, 800
  4485. SendChat("/zoll")
  4486. }
  4487. }
  4488. }
  4489. }
  4490. }
  4491. return
  4492. hler:
  4493. var++
  4494. if(var = 4 || var > 4)
  4495. {
  4496. SetTimer, Zähler, off
  4497. Freigabe := 1
  4498. }
  4499. return
  4500. chatlog:
  4501. WinWait, GTA:SA:MP
  4502. WinWaitClose, GTA:SA:MP
  4503. FileCreateDir, %A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups
  4504. FormatTime, zeit,%A_Now%,dd.MM HH_mm
  4505. FileCopy,%A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog.txt,%A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups\Chatlog_%zeit%.txt,0
  4506. return
  4507. NummerCheck:
  4508. GetChatLine(0, line)
  4509. GetChatLine(1, line2)
  4510. if InStr(line, ", Name: ")
  4511. {
  4512. RegExMatch(line, "ID\: (.*)\, Name\: (.*)\, Level", Output)
  4513. if(Output1 != "" && Output1 != "-1")
  4514. {
  4515. SendChat("/number " . Output2)
  4516. return
  4517. }
  4518. }
  4519. if InStr(line2, ", Name: ")
  4520. {
  4521. RegExMatch(line, "ID\: (.*)\, Name\: (.*)\, Level", Output)
  4522. if(Output1 != "" && Output1 != "-1")
  4523. {
  4524. SendChat("/number " . Output2)
  4525. return
  4526. }
  4527. }
  4528. return
  4529. NumPadAdd::
  4530. IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch
  4531. IniRead, Kills, %Settings%, Killzähler, Kills
  4532. Kills++
  4533. IniWrite, %Kills%, %Settings%, Killzähler, Kills
  4534. if(Killzählerspruch != "")
  4535. {
  4536. GetZoneName(Zone)
  4537. GetCityName(City)
  4538. Position := "" Zone ", " City
  4539. KillzählerSpruch_hilf := KillzählerSpruch
  4540. StringReplace, KillzählerSpruch, KillzählerSpruch, <kills>, %Kills%
  4541. StringReplace, KillzählerSpruch, KillzählerSpruch, <pos>, %Position%
  4542. SendChat("/f " Killzählerspruch "")
  4543. KillzählerSpruch := KillzählerSpruch_hilf
  4544. }
  4545. else
  4546. {
  4547. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Kill Nr. {FFBB00}" Kills "{FFFFFF}.")
  4548. }
  4549. if(Gangzaehler == 1)
  4550. {
  4551. FormatTime, TagMonatJahr,,dd.MM.yyyy
  4552. IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
  4553. IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
  4554. DKills++
  4555. IniWrite, %DKills%, %Tagesstatistik%, %TagMonatJahr%, DKills
  4556. AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
  4557. }
  4558. return
  4559. :?:/addkill::
  4560. Suspend Permit
  4561. IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch
  4562. IniRead, Kills, %Settings%, Killzähler, Kills
  4563. Kills++
  4564. IniWrite, %Kills%, %Settings%, Killzähler, Kills
  4565. if(Killzählerspruch != "")
  4566. {
  4567. GetZoneName(Zone)
  4568. GetCityName(City)
  4569. Position := "" Zone ", " City
  4570. KillzählerSpruch_hilf := KillzählerSpruch
  4571. StringReplace, KillzählerSpruch, KillzählerSpruch, <kills>, %Kills%
  4572. StringReplace, KillzählerSpruch, KillzählerSpruch, <pos>, %Position%
  4573. SendChat("/f " Killzählerspruch "")
  4574. KillzählerSpruch := KillzählerSpruch_hilf
  4575. }
  4576. else
  4577. {
  4578. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Kill Nr. {FFBB00}" Kills "{FFFFFF}.")
  4579. }
  4580. if(Gangzaehler == 1)
  4581. {
  4582. FormatTime, TagMonatJahr,,dd.MM.yyyy
  4583. IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
  4584. IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
  4585. DKills++
  4586. IniWrite, %DKills%, %Tagesstatistik%, %TagMonatJahr%, DKills
  4587. AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
  4588. }
  4589. return
  4590. :?:/setkills::
  4591. Suspend Permit
  4592. Kills := PlayerInput("Trage deine Kills ein: ")
  4593. IniWrite, %Kills%, %Settings%, Killzähler, Kills
  4594. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine Kills wurden auf {FFBB00}" Kills " {FFFFFF}gesetzt.")
  4595. return
  4596. :?:/kills::
  4597. Suspend Permit
  4598. IniRead, Kills, %Settings%, Killzähler, Kills
  4599. if(Kills > 1)
  4600. {
  4601. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast bereits {FFBB00}" Kills " {FFFFFF}Kills gemacht.")
  4602. }
  4603. else if (Kills = 1)
  4604. {
  4605. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast erst einen Kill gemacht.")
  4606. }
  4607. else if (Kills = 0)
  4608. {
  4609. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast bisher keinen Kill gemacht.")
  4610. }
  4611. else if (Kills < 0)
  4612. {
  4613. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast es geschafft weniger als keinen Kill zu machen...")
  4614. }
  4615. return
  4616. !NumPadAdd::
  4617. IniRead, TodeszählerSpruch, %Settings%, Todeszähler, Todeszählerspruch
  4618. IniRead, Deaths, %Settings%, Todeszähler, Deaths
  4619. Deaths++
  4620. IniWrite, %Deaths%, %Settings%, Todeszähler, Deaths
  4621. if(Todeszählerspruch != "")
  4622. {
  4623. GetZoneName(Zone)
  4624. GetCityName(City)
  4625. Position := "" Zone ", " City
  4626. TodeszählerSpruch_hilf := TodeszählerSpruch
  4627. StringReplace, TodeszählerSpruch, TodeszählerSpruch, <deaths>, %Deaths%, All
  4628. StringReplace, TodeszählerSpruch, TodeszählerSpruch, <pos>, %Position%, All
  4629. SendChat("/f " Todeszählerspruch "")
  4630. TodeszählerSpruch := TodeszählerSpruch_hilf
  4631. }
  4632. else
  4633. {
  4634. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Tod Nr. {FFBB00}" Deaths "{FFFFFF}.")
  4635. }
  4636. if(Gangzaehler == 1)
  4637. {
  4638. FormatTime, TagMonatJahr,,dd.MM.yyyy
  4639. IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
  4640. IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
  4641. DDeaths++
  4642. IniWrite, %DDeaths%, %Tagesstatistik%, %TagMonatJahr%, DDeaths
  4643. AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
  4644. }
  4645. return
  4646. :?:/adddeath::
  4647. Suspend Permit
  4648. IniRead, TodeszählerSpruch, %Settings%, Todeszähler, Todeszählerspruch
  4649. IniRead, Deaths, %Settings%, Todeszähler, Deaths
  4650. Deaths++
  4651. IniWrite, %Deaths%, %Settings%, Todeszähler, Deaths
  4652. if(Todeszählerspruch != "")
  4653. {
  4654. GetZoneName(Zone)
  4655. GetCityName(City)
  4656. Position := "" Zone ", " City
  4657. TodeszählerSpruch_hilf := TodeszählerSpruch
  4658. StringReplace, TodeszählerSpruch, TodeszählerSpruch, <deaths>, %Deaths%, All
  4659. StringReplace, TodeszählerSpruch, TodeszählerSpruch, <pos>, %Position%, All
  4660. SendChat("/f " Todeszählerspruch "")
  4661. TodeszählerSpruch := TodeszählerSpruch_hilf
  4662. }
  4663. else
  4664. {
  4665. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Tod Nr. {FFBB00}" Deaths "{FFFFFF}.")
  4666. }
  4667. if(Gangzaehler == 1)
  4668. {
  4669. FormatTime, TagMonatJahr,,dd.MM.yyyy
  4670. IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
  4671. IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
  4672. DDeaths++
  4673. IniWrite, %DDeaths%, %Tagesstatistik%, %TagMonatJahr%, DDeaths
  4674. AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
  4675. }
  4676. return
  4677. :?:/setdeaths::
  4678. Suspend Permit
  4679. Deaths := PlayerInput("Trage deine Tode ein: ")
  4680. IniWrite, %Deaths%, %Settings%, Todeszähler, Deaths
  4681. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine Tode wurden auf {FFBB00}" Deaths " {FFFFFF}gesetzt.")
  4682. return
  4683. :?:/deaths::
  4684. Suspend Permit
  4685. IniRead, Deaths, %Settings%, Todeszähler, Deaths
  4686. if(Deaths > 1)
  4687. {
  4688. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist bereits {FFBB00}" Deaths " {FFFFFF}mal gestorben.")
  4689. }
  4690. else if (Deaths = 1)
  4691. {
  4692. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist erst einaml gestorben.")
  4693. }
  4694. else if (Deaths = 0)
  4695. {
  4696. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist noch nicht einmal gestorben.")
  4697. }
  4698. else if (Kills < 0)
  4699. {
  4700. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast es geschafft weniger als keinmal zu sterben...")
  4701. }
  4702. return
  4703. :?:/kd::
  4704. Suspend Permit
  4705. IniRead, Kills, %Settings%, Killzähler, Kills
  4706. IniRead, Deaths, %Settings%, Todeszähler, Deaths
  4707. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine K/D: {FFBB00}" Kills/Deaths "{FFFFFF}.")
  4708. return
  4709. :?:/gast::
  4710. Suspend Permit
  4711. ID := PlayerInput("ID des Fahrgastes: ")
  4712. GetPlayerNamebyID(ID, PName)
  4713. GetPlayerName(Name)
  4714. SendChat("/l Guten Tag " . PName . ",")
  4715. SendChat("/l Willkommen bei dem Taxiunternehmen von " . Name . ".")
  4716. SendChat("/l Wohin darf ich Sie bringen?")
  4717. return
  4718. :?:/ok::
  4719. Suspend Permit
  4720. SendChat("/l Gerne. Ich wünsche Ihnen eine angenehme Fahrt.")
  4721. SetTimer, Fahrtdauer, 1000
  4722. Dauer = 0
  4723. return
  4724. Fahrtdauer:
  4725. Dauer++
  4726. return
  4727. :?:/ende::
  4728. Suspend Permit
  4729. SendChat("/l Wir haben das Ziel erreicht. Die Fahrt hat insgesamt " . Dauer . " Sekunden gedauert.")
  4730. SendChat("/l Ich wünsche Ihnen noch einen schönen Tag.")
  4731. SetTimer, Fahrtdauer, off
  4732. return
  4733. :?:/r1::
  4734. Suspend Permit
  4735. IniRead, Job, %Settings%, Einstellungen, Job
  4736. if (Job = 6)
  4737. {
  4738. Sleep, 200
  4739. SendInput {enter}
  4740. Sleep, 50
  4741. SendChat("/fishing")
  4742. Sleep, 100
  4743. SendInput {enter}
  4744. }
  4745. else
  4746. {
  4747. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
  4748. }
  4749. return
  4750. :?:/r2::
  4751. Suspend Permit
  4752. IniRead, Job, %Settings%, Einstellungen, Job
  4753. if (Job = 6)
  4754. {
  4755. Sleep, 200
  4756. SendInput {enter}
  4757. Sleep, 50
  4758. SendChat("/fishing")
  4759. Sleep, 200
  4760. SendInput {down 1}{enter}
  4761. }
  4762. else
  4763. {
  4764. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
  4765. }
  4766. return
  4767. :?:/r3::
  4768. Suspend Permit
  4769. IniRead, Job, %Settings%, Einstellungen, Job
  4770. if (Job = 6)
  4771. {
  4772. Sleep, 200
  4773. SendInput {enter}
  4774. Sleep, 50
  4775. SendChat("/fishing")
  4776. Sleep, 200
  4777. SendInput {down 2}{enter}
  4778. }
  4779. else
  4780. {
  4781. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
  4782. }
  4783. return
  4784. :?:/r4::
  4785. Suspend Permit
  4786. IniRead, Job, %Settings%, Einstellungen, Job
  4787. if (Job = 6)
  4788. {
  4789. Sleep, 200
  4790. SendInput {enter}
  4791. Sleep, 50
  4792. SendChat("/fishing")
  4793. Sleep, 200
  4794. SendInput {down 3}{enter}
  4795. }
  4796. else
  4797. {
  4798. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
  4799. }
  4800. return
  4801. :?:/r5::
  4802. Suspend Permit
  4803. IniRead, Job, %Settings%, Einstellungen, Job
  4804. if (Job = 6)
  4805. {
  4806. Sleep, 200
  4807. SendInput {enter}
  4808. Sleep, 50
  4809. SendChat("/fishing")
  4810. Sleep, 200
  4811. SendInput {down 4}{enter}
  4812. }
  4813. else
  4814. {
  4815. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
  4816. }
  4817. return
  4818. :?:/fische::
  4819. Suspend Permit
  4820. IniRead, Job, %Settings%, Einstellungen, Job
  4821. if (Job = 6)
  4822. {
  4823. Sleep, 200
  4824. SendInput {enter}
  4825. Sleep, 50
  4826. SendChat("/fishing")
  4827. Sleep, 200
  4828. SendInput {down 6}{enter}
  4829. }
  4830. else
  4831. {
  4832. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
  4833. }
  4834. return
  4835. :?:/abgabe::
  4836. Suspend Permit
  4837. IniRead, Job, %Settings%, Einstellungen, Job
  4838. if (Job = 6)
  4839. {
  4840. Sleep, 200
  4841. SendInput {enter}
  4842. Sleep, 50
  4843. SendChat("/fishing")
  4844. Sleep, 200
  4845. SendInput {down 7}{enter}
  4846. }
  4847. else
  4848. {
  4849. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
  4850. }
  4851. return
  4852. :?:/af::
  4853. :?:/afind::
  4854. Suspend Permit
  4855. IniRead, Job, %Settings%, Einstellungen, Job
  4856. IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
  4857. if (Job = 10)
  4858. {
  4859. Suspend On
  4860. SendInput, /find{space}
  4861. Input, AID, V I M,{enter}
  4862. Send {enter}
  4863. if(Detektivskill = 1)
  4864. {
  4865. SetTimer, Find, 125000
  4866. }
  4867. else if(Detektivskill = 2)
  4868. {
  4869. SetTimer, Find, 95000
  4870. }
  4871. else if(Detektivskill = 3)
  4872. {
  4873. SetTimer, Find, 65000
  4874. }
  4875. else if(Detektivskill = 4)
  4876. {
  4877. SetTimer, Find, 35000
  4878. }
  4879. else if(Detektivskill = 5)
  4880. {
  4881. SetTimer, Find, 6000
  4882. }
  4883. else
  4884. {
  4885. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast keinen Detektiv-Skill in den Einstellungen ausgewählt.")
  4886. }
  4887. Suspend Off
  4888. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das automatische Suchen können Sie mit der Taste '<' deaktivieren.")
  4889. }
  4890. else
  4891. {
  4892. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Detektiv ausgewählt.")
  4893. }
  4894. return
  4895. Find:
  4896. SendChat("/find " . AID)
  4897. return
  4898. :?:/as::
  4899. :?:/ashowpos::
  4900. Suspend Permit
  4901. IniRead, Job, %Settings%, Einstellungen, Job
  4902. IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
  4903. if (Job = 10)
  4904. {
  4905. Suspend On
  4906. SendInput, /showpos{space}
  4907. Input, AID, V I M,{enter}
  4908. Send {enter}
  4909. if(Detektivskill = 1)
  4910. {
  4911. SetTimer, Show, 125000
  4912. }
  4913. else if(Detektivskill = 2)
  4914. {
  4915. SetTimer, Show, 95000
  4916. }
  4917. else if(Detektivskill = 3)
  4918. {
  4919. SetTimer, Show, 65000
  4920. }
  4921. else if(Detektivskill = 4)
  4922. {
  4923. SetTimer, Show, 35000
  4924. }
  4925. else if(Detektivskill = 5)
  4926. {
  4927. SetTimer, Show, 6000
  4928. }
  4929. else
  4930. {
  4931. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast keinen Detektiv-Skill in den Einstellungen ausgewählt.")
  4932. }
  4933. Suspend Off
  4934. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das automatische Zeigen können Sie mit der Taste '<' deaktivieren.")
  4935. }
  4936. else
  4937. {
  4938. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Detektiv ausgewählt.")
  4939. }
  4940. return
  4941. Show:
  4942. SendChat("/showpos " . AID)
  4943. return
  4944. ~<::
  4945. If(IsChatOpen() == 1 || IsDialogOpen == 1 || IsMenuOpen() == 1)
  4946. {
  4947. return
  4948. }
  4949. SetTimer, Find, Off
  4950. SetTimer, Show, Off
  4951. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Automatische Suchsysteme deaktiviert.")
  4952. return
  4953. :?:/l1::
  4954. Suspend Permit
  4955. IniRead, Job, %Settings%, Einstellungen, Job
  4956. if (Job = 12)
  4957. {
  4958. Sleep, 200
  4959. SendInput {enter}
  4960. Sleep, 100
  4961. SendChat("/linie")
  4962. Sleep, 500
  4963. SendInput {enter}
  4964. }
  4965. else
  4966. {
  4967. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  4968. }
  4969. return
  4970. :?:/l2::
  4971. Suspend Permit
  4972. IniRead, Job, %Settings%, Einstellungen, Job
  4973. if (Job = 12)
  4974. {
  4975. Sleep, 200
  4976. SendInput {enter}
  4977. Sleep, 100
  4978. SendChat("/linie")
  4979. Sleep, 500
  4980. SendInput {down 1}{enter}
  4981. }
  4982. else
  4983. {
  4984. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  4985. }
  4986. return
  4987. :?:/l3::
  4988. Suspend Permit
  4989. IniRead, Job, %Settings%, Einstellungen, Job
  4990. if (Job = 12)
  4991. {
  4992. Sleep, 200
  4993. SendInput {enter}
  4994. Sleep, 100
  4995. SendChat("/linie")
  4996. Sleep, 500
  4997. SendInput {down 2}{enter}
  4998. }
  4999. else
  5000. {
  5001. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  5002. }
  5003. return
  5004. :?:/l4::
  5005. Suspend Permit
  5006. IniRead, Job, %Settings%, Einstellungen, Job
  5007. if (Job = 12)
  5008. {
  5009. Sleep, 200
  5010. SendInput {enter}
  5011. Sleep, 100
  5012. SendChat("/linie")
  5013. Sleep, 500
  5014. SendInput {down 3}{enter}
  5015. }
  5016. else
  5017. {
  5018. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  5019. }
  5020. return
  5021. :?:/l5::
  5022. Suspend Permit
  5023. IniRead, Job, %Settings%, Einstellungen, Job
  5024. if (Job = 12)
  5025. {
  5026. Sleep, 200
  5027. SendInput {enter}
  5028. Sleep, 100
  5029. SendChat("/linie")
  5030. Sleep, 500
  5031. SendInput {down 4}{enter}
  5032. }
  5033. else
  5034. {
  5035. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  5036. }
  5037. return
  5038. :?:/l6::
  5039. Suspend Permit
  5040. IniRead, Job, %Settings%, Einstellungen, Job
  5041. if (Job = 12)
  5042. {
  5043. Sleep, 200
  5044. SendInput {enter}
  5045. Sleep, 100
  5046. SendChat("/linie")
  5047. Sleep, 500
  5048. SendInput {down 5}{enter}
  5049. }
  5050. else
  5051. {
  5052. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  5053. }
  5054. return
  5055. :?:/l7::
  5056. Suspend Permit
  5057. IniRead, Job, %Settings%, Einstellungen, Job
  5058. if (Job = 12)
  5059. {
  5060. Sleep, 200
  5061. SendInput {enter}
  5062. Sleep, 100
  5063. SendChat("/linie")
  5064. Sleep, 500
  5065. SendInput {down 6}{enter}
  5066. }
  5067. else
  5068. {
  5069. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  5070. }
  5071. return
  5072. :?:/l8::
  5073. Suspend Permit
  5074. IniRead, Job, %Settings%, Einstellungen, Job
  5075. if (Job = 12)
  5076. {
  5077. Sleep, 200
  5078. SendInput {enter}
  5079. Sleep, 100
  5080. SendChat("/linie")
  5081. Sleep, 500
  5082. SendInput {down 7}{enter}
  5083. }
  5084. else
  5085. {
  5086. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  5087. }
  5088. return
  5089. :?:/l9::
  5090. Suspend Permit
  5091. IniRead, Job, %Settings%, Einstellungen, Job
  5092. if (Job = 12)
  5093. {
  5094. Sleep, 200
  5095. SendInput {enter}
  5096. Sleep, 100
  5097. SendChat("/linie")
  5098. Sleep, 500
  5099. SendInput {down 8}{enter}
  5100. }
  5101. else
  5102. {
  5103. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  5104. }
  5105. return
  5106. :?:/ll0::
  5107. Suspend Permit
  5108. IniRead, Job, %Settings%, Einstellungen, Job
  5109. if (Job = 12)
  5110. {
  5111. Sleep, 200
  5112. SendInput {enter}
  5113. Sleep, 100
  5114. SendChat("/linie")
  5115. Sleep, 500
  5116. SendInput {down 9}{enter}
  5117. }
  5118. else
  5119. {
  5120. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  5121. }
  5122. return
  5123. :?:/l11::
  5124. Suspend Permit
  5125. IniRead, Job, %Settings%, Einstellungen, Job
  5126. if (Job = 12)
  5127. {
  5128. Sleep, 200
  5129. SendInput {enter}
  5130. Sleep, 100
  5131. SendChat("/linie")
  5132. Sleep, 500
  5133. SendInput {down 10}{enter}
  5134. }
  5135. else
  5136. {
  5137. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
  5138. }
  5139. return
  5140. HotKey1:
  5141. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5142. {
  5143. return
  5144. }
  5145. IniRead, Job, %Hotkeys%, Einstellungen, Job
  5146. if(Job == 2)
  5147. {
  5148. SendInput, t/materials get{space}
  5149. }
  5150. if(Job == 3)
  5151. {
  5152. SendInput, t/drogen get{space}
  5153. }
  5154. if(Job == 4)
  5155. {
  5156. SendInput, t/garbage{space}
  5157. }
  5158. if(Job == 5)
  5159. {
  5160. SendChat("/delivery")
  5161. }
  5162. if(Job == 7)
  5163. {
  5164. SendChat("/duty")
  5165. }
  5166. if(Job == 8)
  5167. {
  5168. SendChat("/duty")
  5169. }
  5170. if(Job == 9)
  5171. {
  5172. SendInput, t/refill{space}
  5173. }
  5174. if(Job == 11)
  5175. {
  5176. SendChat("/freeinfo")
  5177. }
  5178. return
  5179. HotKey2:
  5180. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5181. {
  5182. return
  5183. }
  5184. IniRead, Job, %Hotkeys%, Einstellungen, Job
  5185. if(Job = 2)
  5186. {
  5187. SendChat("/materials deliver")
  5188. }
  5189. if(Job = 3)
  5190. {
  5191. SendChat("/drogen deliver")
  5192. }
  5193. if(Job = 4)
  5194. {
  5195. SendChat("/garbagestop")
  5196. }
  5197. if(Job = 5)
  5198. {
  5199. SendInput, t/delivery{space}
  5200. }
  5201. if(Job = 9)
  5202. {
  5203. SendInput, t/repair{space}
  5204. }
  5205. if(Job = 11)
  5206. {
  5207. SendInput, t/free{space}
  5208. }
  5209. return
  5210. HotKey3:
  5211. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5212. {
  5213. return
  5214. }
  5215. IniRead, Job, %Hotkeys%, Einstellungen, Job
  5216. if(Job = 2)
  5217. {
  5218. SendInput, t/sellgun{space}
  5219. }
  5220. if(Job = 3)
  5221. {
  5222. SendInput, t/selldrugs{space}
  5223. }
  5224. return
  5225. HotKey4:
  5226. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5227. {
  5228. return
  5229. }
  5230. IniRead, Job, %Hotkeys%, Einstellungen, Job
  5231. if(Job = 2)
  5232. {
  5233. SendInput, t/put mats{space}
  5234. }
  5235. if(Job = 3)
  5236. {
  5237. SendInput, t/put drugs{space}
  5238. }
  5239. return
  5240. HotKey5:
  5241. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5242. {
  5243. return
  5244. }
  5245. IniRead, Job, %Hotkeys%, Einstellungen, Job
  5246. if(Job = 2)
  5247. {
  5248. SendInput, t/gtake mats{space}
  5249. }
  5250. if(Job = 3)
  5251. {
  5252. SendInput, t/gtake drugs{space}
  5253. }
  5254. return
  5255. ~1::
  5256. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5257. {
  5258. return
  5259. }
  5260. IniRead, TZahl1, %Hotkeys%, Tastenbelegung Zahlen, TZahl1
  5261. if(TZahl1 != "" || TZahl1 != """" || TZahl1 != "ERROR")
  5262. {
  5263. FormatTime, Zeit,,HH:mm
  5264. FormatTime, Datum,,dd.MM.yyyy
  5265. GetPlayerName(MyName)
  5266. HP := GetPlayerHealth()
  5267. CarDL := GetVehicleHealth()
  5268. CarDL := floor(CarDL)
  5269. Car := (CarDL / 1000)*100
  5270. Car := floor(Car)
  5271. StringReplace, TZahl1, TZahl1, <name>, %MyName%, All
  5272. StringReplace, TZahl1, TZahl1, <hp>, %HP%, All
  5273. StringReplace, TZahl1, TZahl1, <car>, %Car%, All
  5274. StringReplace, TZahl1, TZahl1, <time>, %Zeit%, All
  5275. StringReplace, TZahl1, TZahl1, <date>, %Datum%, All
  5276. GetZoneName(Zone)
  5277. GetCityName(City)
  5278. Position := "" Zone ", " City
  5279. StringReplace, TZahl1, TZahl1, <pos>, %Position%, All
  5280. TZahl1_1 := ""
  5281. TZahl1_2 := ""
  5282. TZahl1_3 := ""
  5283. StringSplit, TZahl1_, TZahl1, #
  5284. if(TZahl1_1 != "")
  5285. {
  5286. SendChat("" TZahl1_1 "")
  5287. Sleep, 100
  5288. }
  5289. if(TZahl1_2 != "")
  5290. {
  5291. SendChat("" TZahl1_2 "")
  5292. Sleep, 100
  5293. }
  5294. if(TZahl1_3 != "")
  5295. {
  5296. SendChat("" TZahl1_3 "")
  5297. }
  5298. }
  5299. return
  5300. ~2::
  5301. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5302. {
  5303. return
  5304. }
  5305. IniRead, TZahl2, %Hotkeys%, Tastenbelegung Zahlen, TZahl2
  5306. if(TZahl2 != "" || TZahl2 != """" || TZahl2 != "ERROR")
  5307. {
  5308. FormatTime, Zeit,,HH:mm
  5309. FormatTime, Datum,,dd.MM.yyyy
  5310. GetPlayerName(MyName)
  5311. HP := GetPlayerHealth()
  5312. CarDL := GetVehicleHealth()
  5313. CarDL := floor(CarDL)
  5314. car := (CarDL / 1000)*100
  5315. car := floor(Car)
  5316. StringReplace, TZahl2, TZahl2, <name>, %MyName%, All
  5317. StringReplace, TZahl2, TZahl2, <hp>, %HP%, All
  5318. StringReplace, TZahl2, TZahl2, <car>, %Car%, All
  5319. StringReplace, TZahl2, TZahl2, <time>, %Zeit%, All
  5320. StringReplace, TZahl2, TZahl2, <date>, %Datum%, All
  5321. GetZoneName(Zone)
  5322. GetCityName(City)
  5323. Position := "" Zone ", " City
  5324. StringReplace, TZahl2, TZahl2, <pos>, %Position%, All
  5325. TZahl2_1 := ""
  5326. TZahl2_2 := ""
  5327. TZahl2_3 := ""
  5328. StringSplit, TZahl2_, TZahl2, #
  5329. if(TZahl2_1 != "")
  5330. {
  5331. SendChat("" TZahl2_1 "")
  5332. Sleep, 100
  5333. }
  5334. if(TZahl2_2 != "")
  5335. {
  5336. SendChat("" TZahl2_2 "")
  5337. Sleep, 100
  5338. }
  5339. if(TZahl2_3 != "")
  5340. {
  5341. SendChat("" TZahl2_3 "")
  5342. }
  5343. }
  5344. return
  5345. ~3::
  5346. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5347. {
  5348. return
  5349. }
  5350. IniRead, TZahl3, %Hotkeys%, Tastenbelegung Zahlen, TZahl3
  5351. if(TZahl3 != "" || TZahl3 != """" || TZahl3 != "ERROR")
  5352. {
  5353. FormatTime, Zeit,,HH:mm
  5354. FormatTime, Datum,,dd.MM.yyyy
  5355. GetPlayerName(MyName)
  5356. HP := GetPlayerHealth()
  5357. CarDL := GetVehicleHealth()
  5358. CarDL := floor(CarDL)
  5359. car := (CarDL / 1000)*100
  5360. car := floor(Car)
  5361. StringReplace, TZahl3, TZahl3, <name>, %MyName%, All
  5362. StringReplace, TZahl3, TZahl3, <hp>, %HP%, All
  5363. StringReplace, TZahl3, TZahl3, <car>, %Car%, All
  5364. StringReplace, TZahl3, TZahl3, <time>, %Zeit%, All
  5365. StringReplace, TZahl3, TZahl3, <date>, %Datum%, All
  5366. GetZoneName(Zone)
  5367. GetCityName(City)
  5368. Position := "" Zone ", " City
  5369. StringReplace, TZahl3, TZahl3, <pos>, %Position%, All
  5370. TZahl3_1 := ""
  5371. TZahl3_2 := ""
  5372. TZahl3_3 := ""
  5373. StringSplit, TZahl3_, TZahl3, #
  5374. if(TZahl3_1 != "")
  5375. {
  5376. SendChat("" TZahl3_1 "")
  5377. Sleep, 100
  5378. }
  5379. if(TZahl3_2 != "")
  5380. {
  5381. SendChat("" TZahl3_2 "")
  5382. Sleep, 100
  5383. }
  5384. if(TZahl3_3 != "")
  5385. {
  5386. SendChat("" TZahl3_3 "")
  5387. }
  5388. }
  5389. return
  5390. ~4::
  5391. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5392. {
  5393. return
  5394. }
  5395. IniRead, TZahl4, %Hotkeys%, Tastenbelegung Zahlen, TZahl4
  5396. if(TZahl4 != "" || TZahl4 != """" || TZahl4 != "ERROR")
  5397. {
  5398. FormatTime, Zeit,,HH:mm
  5399. FormatTime, Datum,,dd.MM.yyyy
  5400. GetPlayerName(MyName)
  5401. HP := GetPlayerHealth()
  5402. CarDL := GetVehicleHealth()
  5403. CarDL := floor(CarDL)
  5404. car := (CarDL / 1000)*100
  5405. car := floor(Car)
  5406. StringReplace, TZahl4, TZahl4, <name>, %MyName%, All
  5407. StringReplace, TZahl4, TZahl4, <hp>, %HP%, All
  5408. StringReplace, TZahl4, TZahl4, <car>, %Car%, All
  5409. StringReplace, TZahl4, TZahl4, <time>, %Zeit%, All
  5410. StringReplace, TZahl4, TZahl4, <date>, %Datum%, All
  5411. GetZoneName(Zone)
  5412. GetCityName(City)
  5413. Position := "" Zone ", " City
  5414. StringReplace, TZahl4, TZahl4, <pos>, %Position%, All
  5415. TZahl4_1 := ""
  5416. TZahl4_2 := ""
  5417. TZahl4_3 := ""
  5418. StringSplit, TZahl4_, TZahl4, #
  5419. if(TZahl4_1 != "")
  5420. {
  5421. SendChat("" TZahl4_1 "")
  5422. Sleep, 100
  5423. }
  5424. if(TZahl4_2 != "")
  5425. {
  5426. SendChat("" TZahl4_2 "")
  5427. Sleep, 100
  5428. }
  5429. if(TZahl4_3 != "")
  5430. {
  5431. SendChat("" TZahl4_3 "")
  5432. }
  5433. }
  5434. return
  5435. ~5::
  5436. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5437. {
  5438. return
  5439. }
  5440. IniRead, TZahl5, %Hotkeys%, Tastenbelegung Zahlen, TZahl5
  5441. if(TZahl5 != "" || TZahl5 != """" || TZahl5 != "ERROR")
  5442. {
  5443. FormatTime, Zeit,,HH:mm
  5444. FormatTime, Datum,,dd.MM.yyyy
  5445. GetPlayerName(MyName)
  5446. HP := GetPlayerHealth()
  5447. CarDL := GetVehicleHealth()
  5448. CarDL := floor(CarDL)
  5449. car := (CarDL / 1000)*100
  5450. car := floor(Car)
  5451. StringReplace, TZahl5, TZahl5, <name>, %MyName%, All
  5452. StringReplace, TZahl5, TZahl5, <hp>, %HP%, All
  5453. StringReplace, TZahl5, TZahl5, <car>, %Car%, All
  5454. StringReplace, TZahl5, TZahl5, <time>, %Zeit%, All
  5455. StringReplace, TZahl5, TZahl5, <date>, %Datum%, All
  5456. GetZoneName(Zone)
  5457. GetCityName(City)
  5458. Position := "" Zone ", " City
  5459. StringReplace, TZahl5, TZahl5, <pos>, %Position%, All
  5460. TZahl5_1 := ""
  5461. TZahl5_2 := ""
  5462. TZahl5_3 := ""
  5463. StringSplit, TZahl5_, TZahl5, #
  5464. if(TZahl5_1 != "")
  5465. {
  5466. SendChat("" TZahl5_1 "")
  5467. Sleep, 100
  5468. }
  5469. if(TZahl5_2 != "")
  5470. {
  5471. SendChat("" TZahl5_2 "")
  5472. Sleep, 100
  5473. }
  5474. if(TZahl5_3 != "")
  5475. {
  5476. SendChat("" TZahl5_3 "")
  5477. }
  5478. }
  5479. return
  5480. ~6::
  5481. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5482. {
  5483. return
  5484. }
  5485. IniRead, TZahl6, %Hotkeys%, Tastenbelegung Zahlen, TZahl6
  5486. if(TZahl6 != "" || TZahl6 != """" || TZahl6 != "ERROR")
  5487. {
  5488. FormatTime, Zeit,,HH:mm
  5489. FormatTime, Datum,,dd.MM.yyyy
  5490. GetPlayerName(MyName)
  5491. HP := GetPlayerHealth()
  5492. CarDL := GetVehicleHealth()
  5493. CarDL := floor(CarDL)
  5494. car := (CarDL / 1000)*100
  5495. car := floor(Car)
  5496. StringReplace, TZahl6, TZahl6, <name>, %MyName%, All
  5497. StringReplace, TZahl6, TZahl6, <hp>, %HP%, All
  5498. StringReplace, TZahl6, TZahl6, <car>, %Car%, All
  5499. StringReplace, TZahl6, TZahl6, <time>, %Zeit%, All
  5500. StringReplace, TZahl6, TZahl6, <date>, %Datum%, All
  5501. GetZoneName(Zone)
  5502. GetCityName(City)
  5503. Position := "" Zone ", " City
  5504. StringReplace, TZahl6, TZahl6, <pos>, %Position%, All
  5505. TZahl6_1 := ""
  5506. TZahl6_2 := ""
  5507. TZahl6_3 := ""
  5508. StringSplit, TZahl6_, TZahl6, #
  5509. if(TZahl6_1 != "")
  5510. {
  5511. SendChat("" TZahl6_1 "")
  5512. Sleep, 100
  5513. }
  5514. if(TZahl6_2 != "")
  5515. {
  5516. SendChat("" TZahl6_2 "")
  5517. Sleep, 100
  5518. }
  5519. if(TZahl6_3 != "")
  5520. {
  5521. SendChat("" TZahl6_3 "")
  5522. }
  5523. }
  5524. return
  5525. ~7::
  5526. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5527. {
  5528. return
  5529. }
  5530. IniRead, TZahl7, %Hotkeys%, Tastenbelegung Zahlen, TZahl7
  5531. if(TZahl7 != "" || TZahl7 != """" || TZahl7 != "ERROR")
  5532. {
  5533. FormatTime, Zeit,,HH:mm
  5534. FormatTime, Datum,,dd.MM.yyyy
  5535. GetPlayerName(MyName)
  5536. HP := GetPlayerHealth()
  5537. CarDL := GetVehicleHealth()
  5538. CarDL := floor(CarDL)
  5539. car := (CarDL / 1000)*100
  5540. car := floor(Car)
  5541. StringReplace, TZahl7, TZahl7, <name>, %MyName%, All
  5542. StringReplace, TZahl7, TZahl7, <hp>, %HP%, All
  5543. StringReplace, TZahl7, TZahl7, <car>, %Car%, All
  5544. StringReplace, TZahl7, TZahl7, <time>, %Zeit%, All
  5545. StringReplace, TZahl7, TZahl7, <date>, %Datum%, All
  5546. GetZoneName(Zone)
  5547. GetCityName(City)
  5548. Position := "" Zone ", " City
  5549. StringReplace, TZahl7, TZahl7, <pos>, %Position%, All
  5550. TZahl7_1 := ""
  5551. TZahl7_2 := ""
  5552. TZahl7_3 := ""
  5553. StringSplit, TZahl7_, TZahl7, #
  5554. if(TZahl7_1 != "")
  5555. {
  5556. SendChat("" TZahl7_1 "")
  5557. Sleep, 100
  5558. }
  5559. if(TZahl7_2 != "")
  5560. {
  5561. SendChat("" TZahl7_2 "")
  5562. Sleep, 100
  5563. }
  5564. if(TZahl7_3 != "")
  5565. {
  5566. SendChat("" TZahl7_3 "")
  5567. }
  5568. }
  5569. return
  5570. ~8::
  5571. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5572. {
  5573. return
  5574. }
  5575. IniRead, TZahl8, %Hotkeys%, Tastenbelegung Zahlen, TZahl8
  5576. if(TZahl8 != "" || TZahl8 != """" || TZahl8 != "ERROR")
  5577. {
  5578. FormatTime, Zeit,,HH:mm
  5579. FormatTime, Datum,,dd.MM.yyyy
  5580. GetPlayerName(MyName)
  5581. HP := GetPlayerHealth()
  5582. CarDL := GetVehicleHealth()
  5583. CarDL := floor(CarDL)
  5584. car := (CarDL / 1000)*100
  5585. car := floor(Car)
  5586. StringReplace, TZahl8, TZahl8, <name>, %MyName%, All
  5587. StringReplace, TZahl8, TZahl8, <hp>, %HP%, All
  5588. StringReplace, TZahl8, TZahl8, <car>, %Car%, All
  5589. StringReplace, TZahl8, TZahl8, <time>, %Zeit%, All
  5590. StringReplace, TZahl8, TZahl8, <date>, %Datum%, All
  5591. GetZoneName(Zone)
  5592. GetCityName(City)
  5593. Position := "" Zone ", " City
  5594. StringReplace, TZahl8, TZahl8, <pos>, %Position%, All
  5595. TZahl8_1 := ""
  5596. TZahl8_2 := ""
  5597. TZahl8_3 := ""
  5598. StringSplit, TZahl8_, TZahl8, #
  5599. if(TZahl8_1 != "")
  5600. {
  5601. SendChat("" TZahl8_1 "")
  5602. Sleep, 100
  5603. }
  5604. if(TZahl8_2 != "")
  5605. {
  5606. SendChat("" TZahl8_2 "")
  5607. Sleep, 100
  5608. }
  5609. if(TZahl8_3 != "")
  5610. {
  5611. SendChat("" TZahl8_3 "")
  5612. }
  5613. }
  5614. return
  5615. ~9::
  5616. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5617. {
  5618. return
  5619. }
  5620. IniRead, TZahl9, %Hotkeys%, Tastenbelegung Zahlen, TZahl9
  5621. if(TZahl9 != "" || TZahl9 != """" || TZahl9 != "ERROR")
  5622. {
  5623. FormatTime, Zeit,,HH:mm
  5624. FormatTime, Datum,,dd.MM.yyyy
  5625. GetPlayerName(MyName)
  5626. HP := GetPlayerHealth()
  5627. CarDL := GetVehicleHealth()
  5628. CarDL := floor(CarDL)
  5629. car := (CarDL / 1000)*100
  5630. car := floor(Car)
  5631. StringReplace, TZahl9, TZahl9, <name>, %MyName%, All
  5632. StringReplace, TZahl9, TZahl9, <hp>, %HP%, All
  5633. StringReplace, TZahl9, TZahl9, <car>, %Car%, All
  5634. StringReplace, TZahl9, TZahl9, <time>, %Zeit%, All
  5635. StringReplace, TZahl9, TZahl9, <date>, %Datum%, All
  5636. GetZoneName(Zone)
  5637. GetCityName(City)
  5638. Position := "" Zone ", " City
  5639. StringReplace, TZahl9, TZahl9, <pos>, %Position%, All
  5640. TZahl9_1 := ""
  5641. TZahl9_2 := ""
  5642. TZahl9_3 := ""
  5643. StringSplit, TZahl9_, TZahl9, #
  5644. if(TZahl9_1 != "")
  5645. {
  5646. SendChat("" TZahl9_1 "")
  5647. Sleep, 100
  5648. }
  5649. if(TZahl9_2 != "")
  5650. {
  5651. SendChat("" TZahl9_2 "")
  5652. Sleep, 100
  5653. }
  5654. if(TZahl9_3 != "")
  5655. {
  5656. SendChat("" TZahl9_3 "")
  5657. }
  5658. }
  5659. return
  5660. ~0::
  5661. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5662. {
  5663. return
  5664. }
  5665. IniRead, TZahl0, %Hotkeys%, Tastenbelegung Zahlen, TZahl0
  5666. if(TZahl0 != "" || TZahl0 != """" || TZahl0 != "ERROR")
  5667. {
  5668. FormatTime, Zeit,,HH:mm
  5669. FormatTime, Datum,,dd.MM.yyyy
  5670. GetPlayerName(MyName)
  5671. HP := GetPlayerHealth()
  5672. CarDL := GetVehicleHealth()
  5673. CarDL := floor(CarDL)
  5674. car := (CarDL / 1000)*100
  5675. car := floor(Car)
  5676. StringReplace, TZahl0, TZahl0, <name>, %MyName%, All
  5677. StringReplace, TZahl0, TZahl0, <hp>, %HP%, All
  5678. StringReplace, TZahl0, TZahl0, <car>, %Car%, All
  5679. StringReplace, TZahl0, TZahl0, <time>, %Zeit%, All
  5680. StringReplace, TZahl0, TZahl0, <date>, %Datum%, All
  5681. GetZoneName(Zone)
  5682. GetCityName(City)
  5683. Position := "" Zone ", " City
  5684. StringReplace, TZahl0, TZahl0, <pos>, %Position%, All
  5685. TZahl0_1 := ""
  5686. TZahl0_2 := ""
  5687. TZahl0_3 := ""
  5688. StringSplit, TZahl0_, TZahl0, #
  5689. if(TZahl0_1 != "")
  5690. {
  5691. SendChat("" TZahl0_1 "")
  5692. Sleep, 100
  5693. }
  5694. if(TZahl0_2 != "")
  5695. {
  5696. SendChat("" TZahl0_2 "")
  5697. Sleep, 100
  5698. }
  5699. if(TZahl0_3 != "")
  5700. {
  5701. SendChat("" TZahl0_3 "")
  5702. }
  5703. }
  5704. return
  5705. ~Numpad1::
  5706. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5707. {
  5708. return
  5709. }
  5710. IniRead, TNumPad1, %Hotkeys%, Tastenbelegung Numpad, TNumPad1
  5711. if(TNumPad1 != "" || TNumPad1 != """" || TNumPad1 != "ERROR")
  5712. {
  5713. FormatTime, Zeit,,HH:mm
  5714. FormatTime, Datum,,dd.MM.yyyy
  5715. GetPlayerName(MyName)
  5716. HP := GetPlayerHealth()
  5717. CarDL := GetVehicleHealth()
  5718. CarDL := floor(CarDL)
  5719. car := (CarDL / 1000)*100
  5720. car := floor(Car)
  5721. StringReplace, TNumPad1, TNumPad1, <name>, %MyName%, All
  5722. StringReplace, TNumPad1, TNumPad1, <hp>, %HP%, All
  5723. StringReplace, TNumPad1, TNumPad1, <car>, %Car%, All
  5724. StringReplace, TNumPad1, TNumPad1, <time>, %Zeit%, All
  5725. StringReplace, TNumPad1, TNumPad1, <date>, %Datum%, All
  5726. GetZoneName(Zone)
  5727. GetCityName(City)
  5728. Position := "" Zone ", " City
  5729. StringReplace, TNumPad1, TNumPad1, <pos>, %Position%, All
  5730. TNumPad1_1 := ""
  5731. TNumPad1_2 := ""
  5732. TNumPad1_3 := ""
  5733. StringSplit, TNumPad1_, TNumPad1, #
  5734. if(TNumPad1_1 != "")
  5735. {
  5736. SendChat("" TNumPad1_1 "")
  5737. Sleep, 100
  5738. }
  5739. if(TNumPad1_2 != "")
  5740. {
  5741. SendChat("" TNumPad1_2 "")
  5742. Sleep, 100
  5743. }
  5744. if(TNumPad1_3 != "")
  5745. {
  5746. SendChat("" TNumPad1_3 "")
  5747. }
  5748. }
  5749. return
  5750. ~Numpad2::
  5751. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5752. {
  5753. return
  5754. }
  5755. IniRead, TNumPad2, %Hotkeys%, Tastenbelegung Numpad, TNumPad2
  5756. if(TNumPad2 != "" || TNumPad2 != """" || TNumPad2 != "ERROR")
  5757. {
  5758. FormatTime, Zeit,,HH:mm
  5759. FormatTime, Datum,,dd.MM.yyyy
  5760. GetPlayerName(MyName)
  5761. HP := GetPlayerHealth()
  5762. CarDL := GetVehicleHealth()
  5763. CarDL := floor(CarDL)
  5764. car := (CarDL / 1000)*100
  5765. car := floor(Car)
  5766. StringReplace, TNumPad2, TNumPad2, <name>, %MyName%, All
  5767. StringReplace, TNumPad2, TNumPad2, <hp>, %HP%, All
  5768. StringReplace, TNumPad2, TNumPad2, <car>, %Car%, All
  5769. StringReplace, TNumPad2, TNumPad2, <time>, %Zeit%, All
  5770. StringReplace, TNumPad2, TNumPad2, <date>, %Datum%, All
  5771. GetZoneName(Zone)
  5772. GetCityName(City)
  5773. Position := "" Zone ", " City
  5774. StringReplace, TNumPad2, TNumPad2, <pos>, %Position%, All
  5775. TNumPad2_1 := ""
  5776. TNumPad2_2 := ""
  5777. TNumPad2_3 := ""
  5778. StringSplit, TNumPad2_, TNumPad2, #
  5779. if(TNumPad2_1 != "")
  5780. {
  5781. SendChat("" TNumPad2_1 "")
  5782. Sleep, 100
  5783. }
  5784. if(TNumPad2_2 != "")
  5785. {
  5786. SendChat("" TNumPad2_2 "")
  5787. Sleep, 100
  5788. }
  5789. if(TNumPad2_3 != "")
  5790. {
  5791. SendChat("" TNumPad2_3 "")
  5792. }
  5793. }
  5794. return
  5795. ~Numpad3::
  5796. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5797. {
  5798. return
  5799. }
  5800. IniRead, TNumPad3, %Hotkeys%, Tastenbelegung Numpad, TNumPad3
  5801. if(TNumPad3 != "" || TNumPad3 != """" || TNumPad3 != "ERROR")
  5802. {
  5803. FormatTime, Zeit,,HH:mm
  5804. FormatTime, Datum,,dd.MM.yyyy
  5805. GetPlayerName(MyName)
  5806. HP := GetPlayerHealth()
  5807. CarDL := GetVehicleHealth()
  5808. CarDL := floor(CarDL)
  5809. car := (CarDL / 1000)*100
  5810. car := floor(Car)
  5811. StringReplace, TNumPad3, TNumPad3, <name>, %MyName%, All
  5812. StringReplace, TNumPad3, TNumPad3, <hp>, %HP%, All
  5813. StringReplace, TNumPad3, TNumPad3, <car>, %Car%, All
  5814. StringReplace, TNumPad3, TNumPad3, <time>, %Zeit%, All
  5815. StringReplace, TNumPad3, TNumPad3, <date>, %Datum%, All
  5816. GetZoneName(Zone)
  5817. GetCityName(City)
  5818. Position := "" Zone ", " City
  5819. StringReplace, TNumPad3, TNumPad3, <pos>, %Position%, All
  5820. TNumPad3_1 := ""
  5821. TNumPad3_2 := ""
  5822. TNumPad3_3 := ""
  5823. StringSplit, TNumPad3_, TNumPad3, #
  5824. if(TNumPad3_1 != "")
  5825. {
  5826. SendChat("" TNumPad3_1 "")
  5827. Sleep, 100
  5828. }
  5829. if(TNumPad3_2 != "")
  5830. {
  5831. SendChat("" TNumPad3_2 "")
  5832. Sleep, 100
  5833. }
  5834. if(TNumPad3_3 != "")
  5835. {
  5836. SendChat("" TNumPad3_3 "")
  5837. }
  5838. }
  5839. return
  5840. ~Numpad4::
  5841. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5842. {
  5843. return
  5844. }
  5845. IniRead, TNumPad4, %Hotkeys%, Tastenbelegung Numpad, TNumPad4
  5846. if(TNumPad4 != "" || TNumPad4 != """" || TNumPad4 != "ERROR")
  5847. {
  5848. FormatTime, Zeit,,HH:mm
  5849. FormatTime, Datum,,dd.MM.yyyy
  5850. GetPlayerName(MyName)
  5851. HP := GetPlayerHealth()
  5852. CarDL := GetVehicleHealth()
  5853. CarDL := floor(CarDL)
  5854. car := (CarDL / 1000)*100
  5855. car := floor(Car)
  5856. StringReplace, TNumPad4, TNumPad4, <name>, %MyName%, All
  5857. StringReplace, TNumPad4, TNumPad4, <hp>, %HP%, All
  5858. StringReplace, TNumPad4, TNumPad4, <car>, %Car%, All
  5859. StringReplace, TNumPad4, TNumPad4, <time>, %Zeit%, All
  5860. StringReplace, TNumPad4, TNumPad4, <date>, %Datum%, All
  5861. GetZoneName(Zone)
  5862. GetCityName(City)
  5863. Position := "" Zone ", " City
  5864. StringReplace, TNumPad4, TNumPad4, <pos>, %Position%, All
  5865. TNumPad4_1 := ""
  5866. TNumPad4_2 := ""
  5867. TNumPad4_3 := ""
  5868. StringSplit, TNumPad4_, TNumPad4, #
  5869. if(TNumPad4_1 != "")
  5870. {
  5871. SendChat("" TNumPad4_1 "")
  5872. Sleep, 100
  5873. }
  5874. if(TNumPad4_2 != "")
  5875. {
  5876. SendChat("" TNumPad4_2 "")
  5877. Sleep, 100
  5878. }
  5879. if(TNumPad4_3 != "")
  5880. {
  5881. SendChat("" TNumPad4_3 "")
  5882. }
  5883. }
  5884. return
  5885. ~Numpad5::
  5886. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5887. {
  5888. return
  5889. }
  5890. IniRead, TNumPad5, %Hotkeys%, Tastenbelegung Numpad, TNumPad5
  5891. if(TNumPad5 != "" || TNumPad5 != """" || TNumPad5 != "ERROR")
  5892. {
  5893. FormatTime, Zeit,,HH:mm
  5894. FormatTime, Datum,,dd.MM.yyyy
  5895. GetPlayerName(MyName)
  5896. HP := GetPlayerHealth()
  5897. CarDL := GetVehicleHealth()
  5898. CarDL := floor(CarDL)
  5899. car := (CarDL / 1000)*100
  5900. car := floor(Car)
  5901. StringReplace, TNumPad5, TNumPad5, <name>, %MyName%, All
  5902. StringReplace, TNumPad5, TNumPad5, <hp>, %HP%, All
  5903. StringReplace, TNumPad5, TNumPad5, <car>, %Car%, All
  5904. StringReplace, TNumPad5, TNumPad5, <time>, %Zeit%, All
  5905. StringReplace, TNumPad5, TNumPad5, <date>, %Datum%, All
  5906. GetZoneName(Zone)
  5907. GetCityName(City)
  5908. Position := "" Zone ", " City
  5909. StringReplace, TNumPad5, TNumPad5, <pos>, %Position%, All
  5910. TNumPad5_1 := ""
  5911. TNumPad5_2 := ""
  5912. TNumPad5_3 := ""
  5913. StringSplit, TNumPad5_, TNumPad5, #
  5914. if(TNumPad5_1 != "")
  5915. {
  5916. SendChat("" TNumPad5_1 "")
  5917. Sleep, 100
  5918. }
  5919. if(TNumPad5_2 != "")
  5920. {
  5921. SendChat("" TNumPad5_2 "")
  5922. Sleep, 100
  5923. }
  5924. if(TNumPad5_3 != "")
  5925. {
  5926. SendChat("" TNumPad5_3 "")
  5927. }
  5928. }
  5929. return
  5930. ~Numpad6::
  5931. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5932. {
  5933. return
  5934. }
  5935. IniRead, TNumPad6, %Hotkeys%, Tastenbelegung Numpad, TNumPad6
  5936. if(TNumPad6 != "" || TNumPad6 != """" || TNumPad6 != "ERROR")
  5937. {
  5938. FormatTime, Zeit,,HH:mm
  5939. FormatTime, Datum,,dd.MM.yyyy
  5940. GetPlayerName(MyName)
  5941. HP := GetPlayerHealth()
  5942. CarDL := GetVehicleHealth()
  5943. CarDL := floor(CarDL)
  5944. car := (CarDL / 1000)*100
  5945. car := floor(Car)
  5946. StringReplace, TNumPad6, TNumPad6, <name>, %MyName%, All
  5947. StringReplace, TNumPad6, TNumPad6, <hp>, %HP%, All
  5948. StringReplace, TNumPad6, TNumPad6, <car>, %Car%, All
  5949. StringReplace, TNumPad6, TNumPad6, <time>, %Zeit%, All
  5950. StringReplace, TNumPad6, TNumPad6, <date>, %Datum%, All
  5951. GetZoneName(Zone)
  5952. GetCityName(City)
  5953. Position := "" Zone ", " City
  5954. StringReplace, TNumPad6, TNumPad6, <pos>, %Position%, All
  5955. TNumPad6_1 := ""
  5956. TNumPad6_2 := ""
  5957. TNumPad6_3 := ""
  5958. StringSplit, TNumPad6_, TNumPad6, #
  5959. if(TNumPad6_1 != "")
  5960. {
  5961. SendChat("" TNumPad6_1 "")
  5962. Sleep, 100
  5963. }
  5964. if(TNumPad6_2 != "")
  5965. {
  5966. SendChat("" TNumPad6_2 "")
  5967. Sleep, 100
  5968. }
  5969. if(TNumPad6_3 != "")
  5970. {
  5971. SendChat("" TNumPad6_3 "")
  5972. }
  5973. }
  5974. return
  5975. ~Numpad7::
  5976. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5977. {
  5978. return
  5979. }
  5980. IniRead, TNumPad7, %Hotkeys%, Tastenbelegung Numpad, TNumPad7
  5981. if(TNumPad7 != "" || TNumPad7 != """" || TNumPad7 != "ERROR")
  5982. {
  5983. FormatTime, Zeit,,HH:mm
  5984. FormatTime, Datum,,dd.MM.yyyy
  5985. GetPlayerName(MyName)
  5986. HP := GetPlayerHealth()
  5987. CarDL := GetVehicleHealth()
  5988. CarDL := floor(CarDL)
  5989. car := (CarDL / 1000)*100
  5990. car := floor(Car)
  5991. StringReplace, TNumPad7, TNumPad7, <name>, %MyName%, All
  5992. StringReplace, TNumPad7, TNumPad7, <hp>, %HP%, All
  5993. StringReplace, TNumPad7, TNumPad7, <car>, %Car%, All
  5994. StringReplace, TNumPad7, TNumPad7, <time>, %Zeit%, All
  5995. StringReplace, TNumPad7, TNumPad7, <date>, %Datum%, All
  5996. GetZoneName(Zone)
  5997. GetCityName(City)
  5998. Position := "" Zone ", " City
  5999. StringReplace, TNumPad7, TNumPad7, <pos>, %Position%, All
  6000. TNumPad7_1 := ""
  6001. TNumPad7_2 := ""
  6002. TNumPad7_3 := ""
  6003. StringSplit, TNumPad7_, TNumPad7, #
  6004. if(TNumPad7_1 != "")
  6005. {
  6006. SendChat("" TNumPad7_1 "")
  6007. Sleep, 100
  6008. }
  6009. if(TNumPad7_2 != "")
  6010. {
  6011. SendChat("" TNumPad7_2 "")
  6012. Sleep, 100
  6013. }
  6014. if(TNumPad7_3 != "")
  6015. {
  6016. SendChat("" TNumPad7_3 "")
  6017. }
  6018. }
  6019. return
  6020. ~Numpad8::
  6021. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6022. {
  6023. return
  6024. }
  6025. IniRead, TNumPad8, %Hotkeys%, Tastenbelegung Numpad, TNumPad8
  6026. if(TNumPad8 != "" || TNumPad8 != """" || TNumPad8 != "ERROR")
  6027. {
  6028. FormatTime, Zeit,,HH:mm
  6029. FormatTime, Datum,,dd.MM.yyyy
  6030. GetPlayerName(MyName)
  6031. HP := GetPlayerHealth()
  6032. CarDL := GetVehicleHealth()
  6033. CarDL := floor(CarDL)
  6034. car := (CarDL / 1000)*100
  6035. car := floor(Car)
  6036. StringReplace, TNumPad8, TNumPad8, <name>, %MyName%, All
  6037. StringReplace, TNumPad8, TNumPad8, <hp>, %HP%, All
  6038. StringReplace, TNumPad8, TNumPad8, <car>, %Car%, All
  6039. StringReplace, TNumPad8, TNumPad8, <time>, %Zeit%, All
  6040. StringReplace, TNumPad8, TNumPad8, <date>, %Datum%, All
  6041. GetZoneName(Zone)
  6042. GetCityName(City)
  6043. Position := "" Zone ", " City
  6044. StringReplace, TNumPad8, TNumPad8, <pos>, %Position%, All
  6045. TNumPad8_1 := ""
  6046. TNumPad8_2 := ""
  6047. TNumPad8_3 := ""
  6048. StringSplit, TNumPad8_, TNumPad8, #
  6049. if(TNumPad8_1 != "")
  6050. {
  6051. SendChat("" TNumPad8_1 "")
  6052. Sleep, 100
  6053. }
  6054. if(TNumPad8_2 != "")
  6055. {
  6056. SendChat("" TNumPad8_2 "")
  6057. Sleep, 100
  6058. }
  6059. if(TNumPad8_3 != "")
  6060. {
  6061. SendChat("" TNumPad8_3 "")
  6062. }
  6063. }
  6064. return
  6065. ~Numpad9::
  6066. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6067. {
  6068. return
  6069. }
  6070. IniRead, TNumPad9, %Hotkeys%, Tastenbelegung Numpad, TNumPad9
  6071. if(TNumPad9 != "" || TNumPad9 != """" || TNumPad9 != "ERROR")
  6072. {
  6073. FormatTime, Zeit,,HH:mm
  6074. FormatTime, Datum,,dd.MM.yyyy
  6075. GetPlayerName(MyName)
  6076. HP := GetPlayerHealth()
  6077. CarDL := GetVehicleHealth()
  6078. CarDL := floor(CarDL)
  6079. car := (CarDL / 1000)*100
  6080. car := floor(Car)
  6081. StringReplace, TNumPad9, TNumPad9, <name>, %MyName%, All
  6082. StringReplace, TNumPad9, TNumPad9, <hp>, %HP%, All
  6083. StringReplace, TNumPad9, TNumPad9, <car>, %Car%, All
  6084. StringReplace, TNumPad9, TNumPad9, <time>, %Zeit%, All
  6085. StringReplace, TNumPad9, TNumPad9, <date>, %Datum%, All
  6086. GetZoneName(Zone)
  6087. GetCityName(City)
  6088. Position := "" Zone ", " City
  6089. StringReplace, TNumPad9, TNumPad9, <pos>, %Position%, All
  6090. TNumPad9_1 := ""
  6091. TNumPad9_2 := ""
  6092. TNumPad9_3 := ""
  6093. StringSplit, TNumPad9_, TNumPad9, #
  6094. if(TNumPad9_1 != "")
  6095. {
  6096. SendChat("" TNumPad9_1 "")
  6097. Sleep, 100
  6098. }
  6099. if(TNumPad9_2 != "")
  6100. {
  6101. SendChat("" TNumPad9_2 "")
  6102. Sleep, 100
  6103. }
  6104. if(TNumPad9_3 != "")
  6105. {
  6106. SendChat("" TNumPad9_3 "")
  6107. }
  6108. }
  6109. return
  6110. ~Numpad0::
  6111. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6112. {
  6113. return
  6114. }
  6115. IniRead, TNumPad0, %Hotkeys%, Tastenbelegung Numpad, TNumPad0
  6116. if(TNumPad0 != "" || TNumPad0 != """" || TNumPad0 != "ERROR")
  6117. {
  6118. FormatTime, Zeit,,HH:mm
  6119. FormatTime, Datum,,dd.MM.yyyy
  6120. GetPlayerName(MyName)
  6121. HP := GetPlayerHealth()
  6122. CarDL := GetVehicleHealth()
  6123. CarDL := floor(CarDL)
  6124. car := (CarDL / 1000)*100
  6125. car := floor(Car)
  6126. StringReplace, TNumPad0, TNumPad0, <name>, %MyName%, All
  6127. StringReplace, TNumPad0, TNumPad0, <hp>, %HP%, All
  6128. StringReplace, TNumPad0, TNumPad0, <car>, %Car%, All
  6129. StringReplace, TNumPad0, TNumPad0, <time>, %Zeit%, All
  6130. StringReplace, TNumPad0, TNumPad0, <date>, %Datum%, All
  6131. GetZoneName(Zone)
  6132. GetCityName(City)
  6133. Position := "" Zone ", " City
  6134. StringReplace, TNumPad0, TNumPad0, <pos>, %Position%, All
  6135. TNumPad0_1 := ""
  6136. TNumPad0_2 := ""
  6137. TNumPad0_3 := ""
  6138. StringSplit, TNumPad0_, TNumPad0, #
  6139. if(TNumPad0_1 != "")
  6140. {
  6141. SendChat("" TNumPad0_1 "")
  6142. Sleep, 100
  6143. }
  6144. if(TNumPad0_2 != "")
  6145. {
  6146. SendChat("" TNumPad0_2 "")
  6147. Sleep, 100
  6148. }
  6149. if(TNumPad0_3 != "")
  6150. {
  6151. SendChat("" TNumPad0_3 "")
  6152. }
  6153. }
  6154. return
  6155. ~F1::
  6156. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6157. {
  6158. return
  6159. }
  6160. IniRead, TF1, %Hotkeys%, Tastenbelegung F-Taste, TF1
  6161. if(TF1 != "" || TF1 != """" || TF1 != "ERROR")
  6162. {
  6163. FormatTime, Zeit,,HH:mm
  6164. FormatTime, Datum,,dd.MM.yyyy
  6165. GetPlayerName(MyName)
  6166. HP := GetPlayerHealth()
  6167. CarDL := GetVehicleHealth()
  6168. CarDL := floor(CarDL)
  6169. car := (CarDL / 1000)*100
  6170. car := floor(Car)
  6171. StringReplace, TF1, TF1, <name>, %MyName%, All
  6172. StringReplace, TF1, TF1, <hp>, %HP%, All
  6173. StringReplace, TF1, TF1, <car>, %Car%, All
  6174. StringReplace, TF1, TF1, <time>, %Zeit%, All
  6175. StringReplace, TF1, TF1, <date>, %Datum%, All
  6176. GetZoneName(Zone)
  6177. GetCityName(City)
  6178. Position := "" Zone ", " City
  6179. StringReplace, TF1, TF1, <pos>, %Position%, All
  6180. TF1_1 := ""
  6181. TF1_2 := ""
  6182. TF1_3 := ""
  6183. StringSplit, TF1_, TF1, #
  6184. if(TF1_1 != "")
  6185. {
  6186. SendChat("" TF1_1 "")
  6187. Sleep, 100
  6188. }
  6189. if(TF1_2 != "")
  6190. {
  6191. SendChat("" TF1_2 "")
  6192. Sleep, 100
  6193. }
  6194. if(TF1_3 != "")
  6195. {
  6196. SendChat("" TF1_3 "")
  6197. }
  6198. }
  6199. return
  6200. ~F2::
  6201. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6202. {
  6203. return
  6204. }
  6205. IniRead, TF2, %Hotkeys%, Tastenbelegung F-Taste, TF2
  6206. if(TF2 != "" || TF2 != """" || TF2 != "ERROR")
  6207. {
  6208. FormatTime, Zeit,,HH:mm
  6209. FormatTime, Datum,,dd.MM.yyyy
  6210. GetPlayerName(MyName)
  6211. HP := GetPlayerHealth()
  6212. CarDL := GetVehicleHealth()
  6213. CarDL := floor(CarDL)
  6214. car := (CarDL / 1000)*100
  6215. car := floor(Car)
  6216. StringReplace, TF2, TF2, <name>, %MyName%, All
  6217. StringReplace, TF2, TF2, <hp>, %HP%, All
  6218. StringReplace, TF2, TF2, <car>, %Car%, All
  6219. StringReplace, TF2, TF2, <time>, %Zeit%, All
  6220. StringReplace, TF2, TF2, <date>, %Datum%, All
  6221. GetZoneName(Zone)
  6222. GetCityName(City)
  6223. Position := "" Zone ", " City
  6224. StringReplace, TF2, TF2, <pos>, %Position%, All
  6225. TF2_1 := ""
  6226. TF2_2 := ""
  6227. TF2_3 := ""
  6228. StringSplit, TF2_, TF2, #
  6229. if(TF2_1 != "")
  6230. {
  6231. SendChat("" TF2_1 "")
  6232. Sleep, 100
  6233. }
  6234. if(TF2_2 != "")
  6235. {
  6236. SendChat("" TF2_2 "")
  6237. Sleep, 100
  6238. }
  6239. if(TF2_3 != "")
  6240. {
  6241. SendChat("" TF2_3 "")
  6242. }
  6243. }
  6244. return
  6245. ~F3::
  6246. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6247. {
  6248. return
  6249. }
  6250. IniRead, TF3, %Hotkeys%, Tastenbelegung F-Taste, TF3
  6251. if(TF3 != "" || TF3 != """" || TF3 != "ERROR")
  6252. {
  6253. FormatTime, Zeit,,HH:mm
  6254. FormatTime, Datum,,dd.MM.yyyy
  6255. GetPlayerName(MyName)
  6256. HP := GetPlayerHealth()
  6257. CarDL := GetVehicleHealth()
  6258. CarDL := floor(CarDL)
  6259. car := (CarDL / 1000)*100
  6260. car := floor(Car)
  6261. StringReplace, TF3, TF3, <name>, %MyName%, All
  6262. StringReplace, TF3, TF3, <hp>, %HP%, All
  6263. StringReplace, TF3, TF3, <car>, %Car%, All
  6264. StringReplace, TF3, TF3, <time>, %Zeit%, All
  6265. StringReplace, TF3, TF3, <date>, %Datum%, All
  6266. GetZoneName(Zone)
  6267. GetCityName(City)
  6268. Position := "" Zone ", " City
  6269. StringReplace, TF3, TF3, <pos>, %Position%, All
  6270. TF3_1 := ""
  6271. TF3_2 := ""
  6272. TF3_3 := ""
  6273. StringSplit, TF3_, TF3, #
  6274. if(TF3_1 != "")
  6275. {
  6276. SendChat("" TF3_1 "")
  6277. Sleep, 100
  6278. }
  6279. if(TF3_2 != "")
  6280. {
  6281. SendChat("" TF3_2 "")
  6282. Sleep, 100
  6283. }
  6284. if(TF3_3 != "")
  6285. {
  6286. SendChat("" TF3_3 "")
  6287. }
  6288. }
  6289. return
  6290. ~F4::
  6291. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6292. {
  6293. return
  6294. }
  6295. IniRead, TF4, %Hotkeys%, Tastenbelegung F-Taste, TF4
  6296. if(TF4 != "" || TF4 != """" || TF4 != "ERROR")
  6297. {
  6298. FormatTime, Zeit,,HH:mm
  6299. FormatTime, Datum,,dd.MM.yyyy
  6300. GetPlayerName(MyName)
  6301. HP := GetPlayerHealth()
  6302. CarDL := GetVehicleHealth()
  6303. CarDL := floor(CarDL)
  6304. car := (CarDL / 1000)*100
  6305. car := floor(Car)
  6306. StringReplace, TF4, TF4, <name>, %MyName%, All
  6307. StringReplace, TF4, TF4, <hp>, %HP%, All
  6308. StringReplace, TF4, TF4, <car>, %Car%, All
  6309. StringReplace, TF4, TF4, <time>, %Zeit%, All
  6310. StringReplace, TF4, TF4, <date>, %Datum%, All
  6311. GetZoneName(Zone)
  6312. GetCityName(City)
  6313. Position := "" Zone ", " City
  6314. StringReplace, TF4, TF4, <pos>, %Position%, All
  6315. TF4_1 := ""
  6316. TF4_2 := ""
  6317. TF4_3 := ""
  6318. StringSplit, TF4_, TF4, #
  6319. if(TF4_1 != "")
  6320. {
  6321. SendChat("" TF4_1 "")
  6322. Sleep, 100
  6323. }
  6324. if(TF4_2 != "")
  6325. {
  6326. SendChat("" TF4_2 "")
  6327. Sleep, 100
  6328. }
  6329. if(TF4_3 != "")
  6330. {
  6331. SendChat("" TF4_3 "")
  6332. }
  6333. }
  6334. return
  6335. ~F5::
  6336. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6337. {
  6338. return
  6339. }
  6340. IniRead, TF5, %Hotkeys%, Tastenbelegung F-Taste, TF5
  6341. if(TF5 != "" || TF5 != """" || TF5 != "ERROR")
  6342. {
  6343. FormatTime, Zeit,,HH:mm
  6344. FormatTime, Datum,,dd.MM.yyyy
  6345. GetPlayerName(MyName)
  6346. HP := GetPlayerHealth()
  6347. CarDL := GetVehicleHealth()
  6348. CarDL := floor(CarDL)
  6349. car := (CarDL / 1000)*100
  6350. car := floor(Car)
  6351. StringReplace, TF5, TF5, <name>, %MyName%, All
  6352. StringReplace, TF5, TF5, <hp>, %HP%, All
  6353. StringReplace, TF5, TF5, <car>, %Car%, All
  6354. StringReplace, TF5, TF5, <time>, %Zeit%, All
  6355. StringReplace, TF5, TF5, <date>, %Datum%, All
  6356. GetZoneName(Zone)
  6357. GetCityName(City)
  6358. Position := "" Zone ", " City
  6359. StringReplace, TF5, TF5, <pos>, %Position%, All
  6360. TF5_1 := ""
  6361. TF5_2 := ""
  6362. TF5_3 := ""
  6363. StringSplit, TF5_, TF5, #
  6364. if(TF5_1 != "")
  6365. {
  6366. SendChat("" TF5_1 "")
  6367. Sleep, 100
  6368. }
  6369. if(TF5_2 != "")
  6370. {
  6371. SendChat("" TF5_2 "")
  6372. Sleep, 100
  6373. }
  6374. if(TF5_3 != "")
  6375. {
  6376. SendChat("" TF5_3 "")
  6377. }
  6378. }
  6379. return
  6380. ~F6::
  6381. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6382. {
  6383. return
  6384. }
  6385. IniRead, TF6, %Hotkeys%, Tastenbelegung F-Taste, TF6
  6386. if(TF6 != "" || TF6 != """" || TF6 != "ERROR")
  6387. {
  6388. FormatTime, Zeit,,HH:mm
  6389. FormatTime, Datum,,dd.MM.yyyy
  6390. GetPlayerName(MyName)
  6391. HP := GetPlayerHealth()
  6392. CarDL := GetVehicleHealth()
  6393. CarDL := floor(CarDL)
  6394. car := (CarDL / 1000)*100
  6395. car := floor(Car)
  6396. StringReplace, TF6, TF6, <name>, %MyName%, All
  6397. StringReplace, TF6, TF6, <hp>, %HP%, All
  6398. StringReplace, TF6, TF6, <car>, %Car%, All
  6399. StringReplace, TF6, TF6, <time>, %Zeit%, All
  6400. StringReplace, TF6, TF6, <date>, %Datum%, All
  6401. GetZoneName(Zone)
  6402. GetCityName(City)
  6403. Position := "" Zone ", " City
  6404. StringReplace, TF6, TF6, <pos>, %Position%, All
  6405. TF6_1 := ""
  6406. TF6_2 := ""
  6407. TF6_3 := ""
  6408. StringSplit, TF6_, TF6, #
  6409. if(TF6_1 != "")
  6410. {
  6411. SendChat("" TF6_1 "")
  6412. Sleep, 100
  6413. }
  6414. if(TF6_2 != "")
  6415. {
  6416. SendChat("" TF6_2 "")
  6417. Sleep, 100
  6418. }
  6419. if(TF6_3 != "")
  6420. {
  6421. SendChat("" TF6_3 "")
  6422. }
  6423. }
  6424. return
  6425. ~F7::
  6426. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6427. {
  6428. return
  6429. }
  6430. IniRead, TF7, %Hotkeys%, Tastenbelegung F-Taste, TF7
  6431. if(TF7 != "" || TF7 != """" || TF7 != "ERROR")
  6432. {
  6433. FormatTime, Zeit,,HH:mm
  6434. FormatTime, Datum,,dd.MM.yyyy
  6435. GetPlayerName(MyName)
  6436. HP := GetPlayerHealth()
  6437. CarDL := GetVehicleHealth()
  6438. CarDL := floor(CarDL)
  6439. car := (CarDL / 1000)*100
  6440. car := floor(Car)
  6441. StringReplace, TF7, TF7, <name>, %MyName%, All
  6442. StringReplace, TF7, TF7, <hp>, %HP%, All
  6443. StringReplace, TF7, TF7, <car>, %Car%, All
  6444. StringReplace, TF7, TF7, <time>, %Zeit%, All
  6445. StringReplace, TF7, TF7, <date>, %Datum%, All
  6446. GetZoneName(Zone)
  6447. GetCityName(City)
  6448. Position := "" Zone ", " City
  6449. StringReplace, TF7, TF7, <pos>, %Position%, All
  6450. TF7_1 := ""
  6451. TF7_2 := ""
  6452. TF7_3 := ""
  6453. StringSplit, TF7_, TF7, #
  6454. if(TF7_1 != "")
  6455. {
  6456. SendChat("" TF7_1 "")
  6457. Sleep, 100
  6458. }
  6459. if(TF7_2 != "")
  6460. {
  6461. SendChat("" TF7_2 "")
  6462. Sleep, 100
  6463. }
  6464. if(TF7_3 != "")
  6465. {
  6466. SendChat("" TF7_3 "")
  6467. }
  6468. }
  6469. return
  6470. ~F8::
  6471. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6472. {
  6473. return
  6474. }
  6475. IniRead, TF8, %Hotkeys%, Tastenbelegung F-Taste, TF8
  6476. if(TF8 != "" || TF8 != """" || TF8 != "ERROR")
  6477. {
  6478. FormatTime, Zeit,,HH:mm
  6479. FormatTime, Datum,,dd.MM.yyyy
  6480. GetPlayerName(MyName)
  6481. HP := GetPlayerHealth()
  6482. CarDL := GetVehicleHealth()
  6483. CarDL := floor(CarDL)
  6484. car := (CarDL / 1000)*100
  6485. car := floor(Car)
  6486. StringReplace, TF8, TF8, <name>, %MyName%, All
  6487. StringReplace, TF8, TF8, <hp>, %HP%, All
  6488. StringReplace, TF8, TF8, <car>, %Car%, All
  6489. StringReplace, TF8, TF8, <time>, %Zeit%, All
  6490. StringReplace, TF8, TF8, <date>, %Datum%, All
  6491. GetZoneName(Zone)
  6492. GetCityName(City)
  6493. Position := "" Zone ", " City
  6494. StringReplace, TF8, TF8, <pos>, %Position%, All
  6495. TF8_1 := ""
  6496. TF8_2 := ""
  6497. TF8_3 := ""
  6498. StringSplit, TF8_, TF8, #
  6499. if(TF8_1 != "")
  6500. {
  6501. SendChat("" TF8_1 "")
  6502. Sleep, 100
  6503. }
  6504. if(TF8_2 != "")
  6505. {
  6506. SendChat("" TF8_2 "")
  6507. Sleep, 100
  6508. }
  6509. if(TF8_3 != "")
  6510. {
  6511. SendChat("" TF8_3 "")
  6512. }
  6513. }
  6514. return
  6515. ~F9::
  6516. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6517. {
  6518. return
  6519. }
  6520. IniRead, TF9, %Hotkeys%, Tastenbelegung F-Taste, TF9
  6521. if(TF9 != "" || TF9 != """" || TF9 != "ERROR")
  6522. {
  6523. FormatTime, Zeit,,HH:mm
  6524. FormatTime, Datum,,dd.MM.yyyy
  6525. GetPlayerName(MyName)
  6526. HP := GetPlayerHealth()
  6527. CarDL := GetVehicleHealth()
  6528. CarDL := floor(CarDL)
  6529. car := (CarDL / 1000)*100
  6530. car := floor(Car)
  6531. StringReplace, TF9, TF9, <name>, %MyName%, All
  6532. StringReplace, TF9, TF9, <hp>, %HP%, All
  6533. StringReplace, TF9, TF9, <car>, %Car%, All
  6534. StringReplace, TF9, TF9, <time>, %Zeit%, All
  6535. StringReplace, TF9, TF9, <date>, %Datum%, All
  6536. GetZoneName(Zone)
  6537. GetCityName(City)
  6538. Position := "" Zone ", " City
  6539. StringReplace, TF9, TF9, <pos>, %Position%, All
  6540. TF9_1 := ""
  6541. TF9_2 := ""
  6542. TF9_3 := ""
  6543. StringSplit, TF9_, TF9, #
  6544. if(TF9_1 != "")
  6545. {
  6546. SendChat("" TF9_1 "")
  6547. Sleep, 100
  6548. }
  6549. if(TF9_2 != "")
  6550. {
  6551. SendChat("" TF9_2 "")
  6552. Sleep, 100
  6553. }
  6554. if(TF9_3 != "")
  6555. {
  6556. SendChat("" TF9_3 "")
  6557. }
  6558. }
  6559. return
  6560. ~F10::
  6561. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6562. {
  6563. return
  6564. }
  6565. IniRead, TF10, %Hotkeys%, Tastenbelegung F-Taste, TF10
  6566. if(TF10 != "" || TF10 != """" || TF10 != "ERROR")
  6567. {
  6568. FormatTime, Zeit,,HH:mm
  6569. FormatTime, Datum,,dd.MM.yyyy
  6570. GetPlayerName(MyName)
  6571. HP := GetPlayerHealth()
  6572. CarDL := GetVehicleHealth()
  6573. CarDL := floor(CarDL)
  6574. car := (CarDL / 1000)*100
  6575. car := floor(Car)
  6576. StringReplace, TF10, TF10, <name>, %MyName%, All
  6577. StringReplace, TF10, TF10, <hp>, %HP%, All
  6578. StringReplace, TF10, TF10, <car>, %Car%, All
  6579. StringReplace, TF10, TF10, <time>, %Zeit%, All
  6580. StringReplace, TF10, TF10, <date>, %Datum%, All
  6581. GetZoneName(Zone)
  6582. GetCityName(City)
  6583. Position := "" Zone ", " City
  6584. StringReplace, TF10, TF10, <pos>, %Position%, All
  6585. TF10_1 := ""
  6586. TF10_2 := ""
  6587. TF10_3 := ""
  6588. StringSplit, TF10_, TF10, #
  6589. if(TF10_1 != "")
  6590. {
  6591. SendChat("" TF10_1 "")
  6592. Sleep, 100
  6593. }
  6594. if(TF10_2 != "")
  6595. {
  6596. SendChat("" TF10_2 "")
  6597. Sleep, 100
  6598. }
  6599. if(TF10_3 != "")
  6600. {
  6601. SendChat("" TF10_3 "")
  6602. }
  6603. }
  6604. return
  6605. ~F11::
  6606. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6607. {
  6608. return
  6609. }
  6610. IniRead, TF11, %Hotkeys%, Tastenbelegung F-Taste, TF11
  6611. if(TF11 != "" || TF11 != """" || TF11 != "ERROR")
  6612. {
  6613. FormatTime, Zeit,,HH:mm
  6614. FormatTime, Datum,,dd.MM.yyyy
  6615. GetPlayerName(MyName)
  6616. HP := GetPlayerHealth()
  6617. CarDL := GetVehicleHealth()
  6618. CarDL := floor(CarDL)
  6619. car := (CarDL / 1000)*100
  6620. car := floor(Car)
  6621. StringReplace, TF11, TF11, <name>, %MyName%, All
  6622. StringReplace, TF11, TF11, <hp>, %HP%, All
  6623. StringReplace, TF11, TF11, <car>, %Car%, All
  6624. StringReplace, TF11, TF11, <time>, %Zeit%, All
  6625. StringReplace, TF11, TF11, <date>, %Datum%, All
  6626. GetZoneName(Zone)
  6627. GetCityName(City)
  6628. Position := "" Zone ", " City
  6629. StringReplace, TF11, TF11, <pos>, %Position%, All
  6630. TF11_1 := ""
  6631. TF11_2 := ""
  6632. TF11_3 := ""
  6633. StringSplit, TF11_, TF11, #
  6634. if(TF11_1 != "")
  6635. {
  6636. SendChat("" TF11_1 "")
  6637. Sleep, 100
  6638. }
  6639. if(TF11_2 != "")
  6640. {
  6641. SendChat("" TF11_2 "")
  6642. Sleep, 100
  6643. }
  6644. if(TF11_3 != "")
  6645. {
  6646. SendChat("" TF11_3 "")
  6647. }
  6648. }
  6649. return
  6650. ~F12::
  6651. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6652. {
  6653. return
  6654. }
  6655. IniRead, TF12, %Hotkeys%, Tastenbelegung F-Taste, TF12
  6656. if(TF12 != "" || TF12 != """" || TF12 != "ERROR")
  6657. {
  6658. FormatTime, Zeit,,HH:mm
  6659. FormatTime, Datum,,dd.MM.yyyy
  6660. GetPlayerName(MyName)
  6661. HP := GetPlayerHealth()
  6662. CarDL := GetVehicleHealth()
  6663. CarDL := floor(CarDL)
  6664. car := (CarDL / 1000)*100
  6665. car := floor(Car)
  6666. StringReplace, TF12, TF12, <name>, %MyName%, All
  6667. StringReplace, TF12, TF12, <hp>, %HP%, All
  6668. StringReplace, TF12, TF12, <car>, %Car%, All
  6669. StringReplace, TF12, TF12, <time>, %Zeit%, All
  6670. StringReplace, TF12, TF12, <date>, %Datum%, All
  6671. GetZoneName(Zone)
  6672. GetCityName(City)
  6673. Position := "" Zone ", " City
  6674. StringReplace, TF12, TF12, <pos>, %Position%, All
  6675. TF12_1 := ""
  6676. TF12_2 := ""
  6677. TF12_3 := ""
  6678. StringSplit, TF12_, TF12, #
  6679. if(TF12_1 != "")
  6680. {
  6681. SendChat("" TF12_1 "")
  6682. Sleep, 100
  6683. }
  6684. if(TF12_2 != "")
  6685. {
  6686. SendChat("" TF12_2 "")
  6687. Sleep, 100
  6688. }
  6689. if(TF12_3 != "")
  6690. {
  6691. SendChat("" TF12_3 "")
  6692. }
  6693. }
  6694. return
  6695. Taste1B:
  6696. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6697. {
  6698. return
  6699. }
  6700. IniRead, Taste1I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste1I
  6701. if(Taste1I != "" || Taste1I != """" || Taste1I != "ERROR")
  6702. {
  6703. FormatTime, Zeit,,HH:mm
  6704. FormatTime, Datum,,dd.MM.yyyy
  6705. GetPlayerName(MyName)
  6706. HP := GetPlayerHealth()
  6707. CarDL := GetVehicleHealth()
  6708. CarDL := floor(CarDL)
  6709. car := (CarDL / 1000)*100
  6710. car := floor(Car)
  6711. StringReplace, Taste1I, Taste1I, <name>, %MyName%, All
  6712. StringReplace, Taste1I, Taste1I, <hp>, %HP%, All
  6713. StringReplace, Taste1I, Taste1I, <car>, %Car%, All
  6714. StringReplace, Taste1I, Taste1I, <time>, %Zeit%, All
  6715. StringReplace, Taste1I, Taste1I, <date>, %Datum%, All
  6716. GetZoneName(Zone)
  6717. GetCityName(City)
  6718. Position := "" Zone ", " City
  6719. StringReplace, Taste1I, Taste1I, <pos>, %Position%, All
  6720. Taste1I_1 := ""
  6721. Taste1I_2 := ""
  6722. Taste1I_3 := ""
  6723. StringSplit, Taste1I_, Taste1I, #
  6724. if(Taste1I_1 != "")
  6725. {
  6726. SendChat("" Taste1I_1 "")
  6727. Sleep, 100
  6728. }
  6729. if(Taste1I_2 != "")
  6730. {
  6731. SendChat("" Taste1I_2 "")
  6732. Sleep, 100
  6733. }
  6734. if(Taste1I_3 != "")
  6735. {
  6736. SendChat("" Taste1I_3 "")
  6737. }
  6738. }
  6739. return
  6740. Taste2B:
  6741. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6742. {
  6743. return
  6744. }
  6745. IniRead, Taste2I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste2I
  6746. if(Taste2I != "" || Taste2I != """" || Taste2I != "ERROR")
  6747. {
  6748. FormatTime, Zeit,,HH:mm
  6749. FormatTime, Datum,,dd.MM.yyyy
  6750. GetPlayerName(MyName)
  6751. HP := GetPlayerHealth()
  6752. CarDL := GetVehicleHealth()
  6753. CarDL := floor(CarDL)
  6754. car := (CarDL / 1000)*100
  6755. car := floor(Car)
  6756. StringReplace, Taste2I, Taste2I, <name>, %MyName%, All
  6757. StringReplace, Taste2I, Taste2I, <hp>, %HP%, All
  6758. StringReplace, Taste2I, Taste2I, <car>, %Car%, All
  6759. StringReplace, Taste2I, Taste2I, <time>, %Zeit%, All
  6760. StringReplace, Taste2I, Taste2I, <date>, %Datum%, All
  6761. GetZoneName(Zone)
  6762. GetCityName(City)
  6763. Position := "" Zone ", " City
  6764. StringReplace, Taste2I, Taste2I, <pos>, %Position%, All
  6765. Taste2I_1 := ""
  6766. Taste2I_2 := ""
  6767. Taste2I_3 := ""
  6768. StringSplit, Taste2I_, Taste2I, #
  6769. if(Taste2I_1 != "")
  6770. {
  6771. SendChat("" Taste2I_1 "")
  6772. Sleep, 100
  6773. }
  6774. if(Taste2I_2 != "")
  6775. {
  6776. SendChat("" Taste2I_2 "")
  6777. Sleep, 100
  6778. }
  6779. if(Taste2I_3 != "")
  6780. {
  6781. SendChat("" Taste2I_3 "")
  6782. }
  6783. }
  6784. return
  6785. Taste3B:
  6786. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6787. {
  6788. return
  6789. }
  6790. IniRead, Taste3I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste3I
  6791. if(Taste3I != "" || Taste3I != """" || Taste3I != "ERROR")
  6792. {
  6793. FormatTime, Zeit,,HH:mm
  6794. FormatTime, Datum,,dd.MM.yyyy
  6795. GetPlayerName(MyName)
  6796. HP := GetPlayerHealth()
  6797. CarDL := GetVehicleHealth()
  6798. CarDL := floor(CarDL)
  6799. car := (CarDL / 1000)*100
  6800. car := floor(FahrzeugHealth)
  6801. StringReplace, Taste3I, Taste3I, <name>, %MyName%, All
  6802. StringReplace, Taste3I, Taste3I, <hp>, %HP%, All
  6803. StringReplace, Taste3I, Taste3I, <car>, %Car%, All
  6804. StringReplace, Taste3I, Taste3I, <time>, %Zeit%, All
  6805. StringReplace, Taste3I, Taste3I, <date>, %Datum%, All
  6806. GetZoneName(Zone)
  6807. GetCityName(City)
  6808. Position := "" Zone ", " City
  6809. StringReplace, Taste3I, Taste3I, <pos>, %Position%, All
  6810. Taste3I_1 := ""
  6811. Taste3I_2 := ""
  6812. Taste3I_3 := ""
  6813. StringSplit, Taste3I_, Taste3I, #
  6814. if(Taste3I_1 != "")
  6815. {
  6816. SendChat("" Taste3I_1 "")
  6817. Sleep, 100
  6818. }
  6819. if(Taste3I_2 != "")
  6820. {
  6821. SendChat("" Taste3I_2 "")
  6822. Sleep, 100
  6823. }
  6824. if(Taste3I_3 != "")
  6825. {
  6826. SendChat("" Taste3I_3 "")
  6827. }
  6828. }
  6829. return
  6830. Taste4B:
  6831. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6832. {
  6833. return
  6834. }
  6835. IniRead, Taste4I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste4I
  6836. if(Taste4I != "" || Taste4I != """" || Taste4I != "ERROR")
  6837. {
  6838. FormatTime, Zeit,,HH:mm
  6839. FormatTime, Datum,,dd.MM.yyyy
  6840. GetPlayerName(MyName)
  6841. HP := GetPlayerHealth()
  6842. CarDL := GetVehicleHealth()
  6843. CarDL := floor(CarDL)
  6844. car := (CarDL / 1000)*100
  6845. car := floor(Car)
  6846. StringReplace, Taste4I, Taste4I, <name>, %MyName%, All
  6847. StringReplace, Taste4I, Taste4I, <hp>, %HP%, All
  6848. StringReplace, Taste4I, Taste4I, <car>, %Car%, All
  6849. StringReplace, Taste4I, Taste4I, <time>, %Zeit%, All
  6850. StringReplace, Taste4I, Taste4I, <date>, %Datum%, All
  6851. GetZoneName(Zone)
  6852. GetCityName(City)
  6853. Position := "" Zone ", " City
  6854. StringReplace, Taste4I, Taste4I, <pos>, %Position%, All
  6855. Taste4I_1 := ""
  6856. Taste4I_2 := ""
  6857. Taste4I_3 := ""
  6858. StringSplit, Taste4I_, Taste4I, #
  6859. if(Taste4I_1 != "")
  6860. {
  6861. SendChat("" Taste4I_1 "")
  6862. Sleep, 100
  6863. }
  6864. if(Taste4I_2 != "")
  6865. {
  6866. SendChat("" Taste4I_2 "")
  6867. Sleep, 100
  6868. }
  6869. if(Taste4I_3 != "")
  6870. {
  6871. SendChat("" Taste4I_3 "")
  6872. }
  6873. }
  6874. return
  6875. Taste5B:
  6876. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6877. {
  6878. return
  6879. }
  6880. IniRead, Taste5I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste5I
  6881. if(Taste5I != "" || Taste5I != """" || Taste5I != "ERROR")
  6882. {
  6883. FormatTime, Zeit,,HH:mm
  6884. FormatTime, Datum,,dd.MM.yyyy
  6885. GetPlayerName(MyName)
  6886. HP := GetPlayerHealth()
  6887. CarDL := GetVehicleHealth()
  6888. CarDL := floor(CarDL)
  6889. car := (CarDL / 1000)*100
  6890. car := floor(Car)
  6891. StringReplace, Taste5I, Taste5I, <name>, %MyName%, All
  6892. StringReplace, Taste5I, Taste5I, <hp>, %HP%, All
  6893. StringReplace, Taste5I, Taste5I, <car>, %Car%, All
  6894. StringReplace, Taste5I, Taste5I, <time>, %Zeit%, All
  6895. StringReplace, Taste5I, Taste5I, <date>, %Datum%, All
  6896. GetZoneName(Zone)
  6897. GetCityName(City)
  6898. Position := "" Zone ", " City
  6899. StringReplace, Taste5I, Taste5I, <pos>, %Position%, All
  6900. Taste5I_1 := ""
  6901. Taste5I_2 := ""
  6902. Taste5I_3 := ""
  6903. StringSplit, Taste5I_, Taste5I, #
  6904. if(Taste5I_1 != "")
  6905. {
  6906. SendChat("" Taste5I_1 "")
  6907. Sleep, 100
  6908. }
  6909. if(Taste5I_2 != "")
  6910. {
  6911. SendChat("" Taste5I_2 "")
  6912. Sleep, 100
  6913. }
  6914. if(Taste5I_3 != "")
  6915. {
  6916. SendChat("" Taste5I_3 "")
  6917. }
  6918. }
  6919. return
  6920. Taste6B:
  6921. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6922. {
  6923. return
  6924. }
  6925. IniRead, Taste6I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste6I
  6926. if(Taste6I != "" || Taste6I != """" || Taste6I != "ERROR")
  6927. {
  6928. FormatTime, Zeit,,HH:mm
  6929. FormatTime, Datum,,dd.MM.yyyy
  6930. GetPlayerName(MyName)
  6931. HP := GetPlayerHealth()
  6932. CarDL := GetVehicleHealth()
  6933. CarDL := floor(CarDL)
  6934. car := (CarDL / 1000)*100
  6935. car := floor(Car)
  6936. StringReplace, Taste6I, Taste6I, <name>, %MyName%, All
  6937. StringReplace, Taste6I, Taste6I, <hp>, %HP%, All
  6938. StringReplace, Taste6I, Taste6I, <car>, %Car%, All
  6939. StringReplace, Taste6I, Taste6I, <time>, %Zeit%, All
  6940. StringReplace, Taste6I, Taste6I, <date>, %Datum%, All
  6941. GetZoneName(Zone)
  6942. GetCityName(City)
  6943. Position := "" Zone ", " City
  6944. StringReplace, Taste6I, Taste6I, <pos>, %Position%, All
  6945. Taste6I_1 := ""
  6946. Taste6I_2 := ""
  6947. Taste6I_3 := ""
  6948. StringSplit, Taste6I_, Taste6I, #
  6949. if(Taste6I_1 != "")
  6950. {
  6951. SendChat("" Taste6I_1 "")
  6952. Sleep, 100
  6953. }
  6954. if(Taste6I_2 != "")
  6955. {
  6956. SendChat("" Taste6I_2 "")
  6957. Sleep, 100
  6958. }
  6959. if(Taste6I_3 != "")
  6960. {
  6961. SendChat("" Taste6I_3 "")
  6962. }
  6963. }
  6964. return
  6965. Taste7B:
  6966. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6967. {
  6968. return
  6969. }
  6970. IniRead, Taste7I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste7I
  6971. if(Taste7I != "" || Taste7I != """" || Taste7I != "ERROR")
  6972. {
  6973. FormatTime, Zeit,,HH:mm
  6974. FormatTime, Datum,,dd.MM.yyyy
  6975. GetPlayerName(MyName)
  6976. HP := GetPlayerHealth()
  6977. CarDL := GetVehicleHealth()
  6978. CarDL := floor(CarDL)
  6979. car := (CarDL / 1000)*100
  6980. car := floor(Car)
  6981. StringReplace, Taste7I, Taste7I, <name>, %MyName%, All
  6982. StringReplace, Taste7I, Taste7I, <hp>, %HP%, All
  6983. StringReplace, Taste7I, Taste7I, <car>, %Car%, All
  6984. StringReplace, Taste7I, Taste7I, <time>, %Zeit%, All
  6985. StringReplace, Taste7I, Taste7I, <date>, %Datum%, All
  6986. GetZoneName(Zone)
  6987. GetCityName(City)
  6988. Position := "" Zone ", " City
  6989. StringReplace, Taste7I, Taste7I, <pos>, %Position%, All
  6990. Taste7I_1 := ""
  6991. Taste7I_2 := ""
  6992. Taste7I_3 := ""
  6993. StringSplit, Taste7I_, Taste7I, #
  6994. if(Taste7I_1 != "")
  6995. {
  6996. SendChat("" Taste7I_1 "")
  6997. Sleep, 100
  6998. }
  6999. if(Taste7I_2 != "")
  7000. {
  7001. SendChat("" Taste7I_2 "")
  7002. Sleep, 100
  7003. }
  7004. if(Taste7I_3 != "")
  7005. {
  7006. SendChat("" Taste7I_3 "")
  7007. }
  7008. }
  7009. return
  7010. Taste8B:
  7011. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7012. {
  7013. return
  7014. }
  7015. IniRead, Taste8I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste8I
  7016. if(Taste8I != "" || Taste8I != """" || Taste8I != "ERROR")
  7017. {
  7018. FormatTime, Zeit,,HH:mm
  7019. FormatTime, Datum,,dd.MM.yyyy
  7020. GetPlayerName(MyName)
  7021. HP := GetPlayerHealth()
  7022. CarDL := GetVehicleHealth()
  7023. CarDL := floor(CarDL)
  7024. car := (CarDL / 1000)*100
  7025. car := floor(Car)
  7026. StringReplace, Taste8I, Taste8I, <name>, %MyName%, All
  7027. StringReplace, Taste8I, Taste8I, <hp>, %HP%, All
  7028. StringReplace, Taste8I, Taste8I, <car>, %Car%, All
  7029. StringReplace, Taste8I, Taste8I, <time>, %Zeit%, All
  7030. StringReplace, Taste8I, Taste8I, <date>, %Datum%, All
  7031. GetZoneName(Zone)
  7032. GetCityName(City)
  7033. Position := "" Zone ", " City
  7034. StringReplace, Taste8I, Taste8I, <pos>, %Position%, All
  7035. Taste8I_1 := ""
  7036. Taste8I_2 := ""
  7037. Taste8I_3 := ""
  7038. StringSplit, Taste8I_, Taste8I, #
  7039. if(Taste8I_1 != "")
  7040. {
  7041. SendChat("" Taste8I_1 "")
  7042. Sleep, 100
  7043. }
  7044. if(Taste8I_2 != "")
  7045. {
  7046. SendChat("" Taste8I_2 "")
  7047. Sleep, 100
  7048. }
  7049. if(Taste8I_3 != "")
  7050. {
  7051. SendChat("" Taste8I_3 "")
  7052. }
  7053. }
  7054. return
  7055. Taste9B:
  7056. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7057. {
  7058. return
  7059. }
  7060. IniRead, Taste9I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste9I
  7061. if(Taste9I != "" || Taste9I != """" || Taste9I != "ERROR")
  7062. {
  7063. FormatTime, Zeit,,HH:mm
  7064. FormatTime, Datum,,dd.MM.yyyy
  7065. GetPlayerName(MyName)
  7066. HP := GetPlayerHealth()
  7067. CarDL := GetVehicleHealth()
  7068. CarDL := floor(CarDL)
  7069. car := (CarDL / 1000)*100
  7070. car := floor(Car)
  7071. StringReplace, Taste9I, Taste9I, <name>, %MyName%, All
  7072. StringReplace, Taste9I, Taste9I, <hp>, %HP%, All
  7073. StringReplace, Taste9I, Taste9I, <car>, %Car%, All
  7074. StringReplace, Taste9I, Taste9I, <time>, %Zeit%, All
  7075. StringReplace, Taste9I, Taste9I, <date>, %Datum%, All
  7076. GetZoneName(Zone)
  7077. GetCityName(City)
  7078. Position := "" Zone ", " City
  7079. StringReplace, Taste9I, Taste9I, <pos>, %Position%, All
  7080. Taste9I_1 := ""
  7081. Taste9I_2 := ""
  7082. Taste9I_3 := ""
  7083. StringSplit, Taste9I_, Taste9I, #
  7084. if(Taste9I_1 != "")
  7085. {
  7086. SendChat("" Taste9I_1 "")
  7087. Sleep, 100
  7088. }
  7089. if(Taste9I_2 != "")
  7090. {
  7091. SendChat("" Taste9I_2 "")
  7092. Sleep, 100
  7093. }
  7094. if(Taste9I_3 != "")
  7095. {
  7096. SendChat("" Taste9I_3 "")
  7097. }
  7098. }
  7099. return
  7100. Taste10B:
  7101. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7102. {
  7103. return
  7104. }
  7105. IniRead, Taste10I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste10I
  7106. if(Taste10I != "" || Taste10I != """" || Taste10I != "ERROR")
  7107. {
  7108. FormatTime, Zeit,,HH:mm
  7109. FormatTime, Datum,,dd.MM.yyyy
  7110. GetPlayerName(MyName)
  7111. HP := GetPlayerHealth()
  7112. CarDL := GetVehicleHealth()
  7113. CarDL := floor(CarDL)
  7114. car := (CarDL / 1000)*100
  7115. car := floor(Car)
  7116. StringReplace, Taste10I, Taste10I, <name>, %MyName%, All
  7117. StringReplace, Taste10I, Taste10I, <hp>, %HP%, All
  7118. StringReplace, Taste10I, Taste10I, <car>, %Car%, All
  7119. StringReplace, Taste10I, Taste10I, <time>, %Zeit%, All
  7120. StringReplace, Taste10I, Taste10I, <date>, %Datum%, All
  7121. GetZoneName(Zone)
  7122. GetCityName(City)
  7123. Position := "" Zone ", " City
  7124. StringReplace, Taste10I, Taste10I, <pos>, %Position%, All
  7125. Taste10I_1 := ""
  7126. Taste10I_2 := ""
  7127. Taste10I_3 := ""
  7128. StringSplit, Taste10I_, Taste10I, #
  7129. if(Taste10I_1 != "")
  7130. {
  7131. SendChat("" Taste10I_1 "")
  7132. Sleep, 100
  7133. }
  7134. if(Taste10I_2 != "")
  7135. {
  7136. SendChat("" Taste10I_2 "")
  7137. Sleep, 100
  7138. }
  7139. if(Taste10I_3 != "")
  7140. {
  7141. SendChat("" Taste10I_3 "")
  7142. }
  7143. }
  7144. return
  7145. Taste11B:
  7146. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7147. {
  7148. return
  7149. }
  7150. IniRead, Taste11I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste11I
  7151. if(Taste11I != "" || Taste11I != """" || Taste11I != "ERROR")
  7152. {
  7153. FormatTime, Zeit,,HH:mm
  7154. FormatTime, Datum,,dd.MM.yyyy
  7155. GetPlayerName(MyName)
  7156. HP := GetPlayerHealth()
  7157. CarDL := GetVehicleHealth()
  7158. CarDL := floor(CarDL)
  7159. car := (CarDL / 1000)*100
  7160. car := floor(Car)
  7161. StringReplace, Taste11I, Taste11I, <name>, %MyName%, All
  7162. StringReplace, Taste11I, Taste11I, <hp>, %HP%, All
  7163. StringReplace, Taste11I, Taste11I, <car>, %Car%, All
  7164. StringReplace, Taste11I, Taste11I, <time>, %Zeit%, All
  7165. StringReplace, Taste11I, Taste11I, <date>, %Datum%, All
  7166. GetZoneName(Zone)
  7167. GetCityName(City)
  7168. Position := "" Zone ", " City
  7169. StringReplace, Taste11I, Taste11I, <pos>, %Position%, All
  7170. StringReplace, Taste11I, Taste11I, <left>, {left}, All
  7171. StringReplace, Taste11I, Taste11I, <space>, {space}, All
  7172. SendInput, t%Taste11I%
  7173. }
  7174. return
  7175. Taste12B:
  7176. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7177. {
  7178. return
  7179. }
  7180. IniRead, Taste12I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste12I
  7181. if(Taste12I != "" || Taste12I != """" || Taste12I != "ERROR")
  7182. {
  7183. FormatTime, Zeit,,HH:mm
  7184. FormatTime, Datum,,dd.MM.yyyy
  7185. GetPlayerName(MyName)
  7186. HP := GetPlayerHealth()
  7187. CarDL := GetVehicleHealth()
  7188. CarDL := floor(CarDL)
  7189. car := (CarDL / 1000)*100
  7190. car := floor(Car)
  7191. StringReplace, Taste12I, Taste12I, <name>, %MyName%, All
  7192. StringReplace, Taste12I, Taste12I, <hp>, %HP%, All
  7193. StringReplace, Taste12I, Taste12I, <car>, %Car%, All
  7194. StringReplace, Taste12I, Taste12I, <time>, %Zeit%, All
  7195. StringReplace, Taste12I, Taste12I, <date>, %Datum%, All
  7196. GetZoneName(Zone)
  7197. GetCityName(City)
  7198. Position := "" Zone ", " City
  7199. StringReplace, Taste12I, Taste12I, <pos>, %Position%, All
  7200. StringReplace, Taste12I, Taste12I, <left>, {left}, All
  7201. StringReplace, Taste12I, Taste12I, <space>, {space}, All
  7202. SendInput, t%Taste12I%
  7203. }
  7204. return
  7205. Taste13B:
  7206. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7207. {
  7208. return
  7209. }
  7210. IniRead, Taste13I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste13I
  7211. if(Taste13I != "" || Taste13I != """" || Taste13I != "ERROR")
  7212. {
  7213. FormatTime, Zeit,,HH:mm
  7214. FormatTime, Datum,,dd.MM.yyyy
  7215. GetPlayerName(MyName)
  7216. HP := GetPlayerHealth()
  7217. CarDL := GetVehicleHealth()
  7218. CarDL := floor(CarDL)
  7219. car := (CarDL / 1000)*100
  7220. car := floor(Car)
  7221. StringReplace, Taste13I, Taste13I, <name>, %MyName%, All
  7222. StringReplace, Taste13I, Taste13I, <hp>, %HP%, All
  7223. StringReplace, Taste13I, Taste13I, <car>, %Car%, All
  7224. StringReplace, Taste13I, Taste13I, <time>, %Zeit%, All
  7225. StringReplace, Taste13I, Taste13I, <date>, %Datum%, All
  7226. GetZoneName(Zone)
  7227. GetCityName(City)
  7228. Position := "" Zone ", " City
  7229. StringReplace, Taste13I, Taste13I, <pos>, %Position%, All
  7230. StringReplace, Taste13I, Taste13I, <left>, {left}, All
  7231. StringReplace, Taste13I, Taste13I, <space>, {space}, All
  7232. SendInput, t%Taste13I%
  7233. }
  7234. return
  7235. Taste14B:
  7236. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7237. {
  7238. return
  7239. }
  7240. IniRead, Taste14I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste14I
  7241. if(Taste14I != "" || Taste14I != """" || Taste14I != "ERROR")
  7242. {
  7243. FormatTime, Zeit,,HH:mm
  7244. FormatTime, Datum,,dd.MM.yyyy
  7245. GetPlayerName(MyName)
  7246. HP := GetPlayerHealth()
  7247. CarDL := GetVehicleHealth()
  7248. CarDL := floor(CarDL)
  7249. car := (CarDL / 1000)*100
  7250. car := floor(Car)
  7251. StringReplace, Taste14I, Taste14I, <name>, %MyName%, All
  7252. StringReplace, Taste14I, Taste14I, <hp>, %HP%, All
  7253. StringReplace, Taste14I, Taste14I, <car>, %Car%, All
  7254. StringReplace, Taste14I, Taste14I, <time>, %Zeit%, All
  7255. StringReplace, Taste14I, Taste14I, <date>, %Datum%, All
  7256. GetZoneName(Zone)
  7257. GetCityName(City)
  7258. Position := "" Zone ", " City
  7259. StringReplace, Taste14I, Taste14I, <pos>, %Position%, All
  7260. StringReplace, Taste14I, Taste14I, <left>, {left}, All
  7261. StringReplace, Taste14I, Taste14I, <space>, {space}, All
  7262. SendInput, t%Taste14I%
  7263. }
  7264. return
  7265. Taste15B:
  7266. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7267. {
  7268. return
  7269. }
  7270. IniRead, Taste15I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste15I
  7271. if(Taste15I != "" || Taste15I != """" || Taste15I != "ERROR")
  7272. {
  7273. FormatTime, Zeit,,HH:mm
  7274. FormatTime, Datum,,dd.MM.yyyy
  7275. GetPlayerName(MyName)
  7276. HP := GetPlayerHealth()
  7277. CarDL := GetVehicleHealth()
  7278. CarDL := floor(CarDL)
  7279. car := (CarDL / 1000)*100
  7280. car := floor(Car)
  7281. StringReplace, Taste15I, Taste15I, <name>, %MyName%, All
  7282. StringReplace, Taste15I, Taste15I, <hp>, %HP%, All
  7283. StringReplace, Taste15I, Taste15I, <car>, %Car%, All
  7284. StringReplace, Taste15I, Taste15I, <time>, %Zeit%, All
  7285. StringReplace, Taste15I, Taste15I, <date>, %Datum%, All
  7286. GetZoneName(Zone)
  7287. GetCityName(City)
  7288. Position := "" Zone ", " City
  7289. StringReplace, Taste15I, Taste15I, <pos>, %Position%, All
  7290. StringReplace, Taste15I, Taste15I, <left>, {left}, All
  7291. StringReplace, Taste15I, Taste15I, <space>, {space}, All
  7292. SendInput, t%Taste15I%
  7293. }
  7294. return
  7295. Taste16B:
  7296. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7297. {
  7298. return
  7299. }
  7300. IniRead, Taste16I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste16I
  7301. if(Taste16I != "" || Taste16I != """" || Taste16I != "ERROR")
  7302. {
  7303. FormatTime, Zeit,,HH:mm
  7304. FormatTime, Datum,,dd.MM.yyyy
  7305. GetPlayerName(MyName)
  7306. HP := GetPlayerHealth()
  7307. CarDL := GetVehicleHealth()
  7308. CarDL := floor(CarDL)
  7309. car := (CarDL / 1000)*100
  7310. car := floor(Car)
  7311. StringReplace, Taste16I, Taste16I, <name>, %MyName%, All
  7312. StringReplace, Taste16I, Taste16I, <hp>, %HP%, All
  7313. StringReplace, Taste16I, Taste16I, <car>, %Car%, All
  7314. StringReplace, Taste16I, Taste16I, <time>, %Zeit%, All
  7315. StringReplace, Taste16I, Taste16I, <date>, %Datum%, All
  7316. GetZoneName(Zone)
  7317. GetCityName(City)
  7318. Position := "" Zone ", " City
  7319. StringReplace, Taste16I, Taste16I, <pos>, %Position%, All
  7320. StringReplace, Taste16I, Taste16I, <left>, {left}, All
  7321. StringReplace, Taste16I, Taste16I, <space>, {space}, All
  7322. SendInput, t%Taste16I%
  7323. }
  7324. return
  7325. Taste17B:
  7326. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7327. {
  7328. return
  7329. }
  7330. IniRead, Taste17I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste17I
  7331. if(Taste17I != "" || Taste17I != """" || Taste17I != "ERROR")
  7332. {
  7333. FormatTime, Zeit,,HH:mm
  7334. FormatTime, Datum,,dd.MM.yyyy
  7335. GetPlayerName(MyName)
  7336. HP := GetPlayerHealth()
  7337. CarDL := GetVehicleHealth()
  7338. CarDL := floor(CarDL)
  7339. car := (CarDL / 1000)*100
  7340. car := floor(Car)
  7341. StringReplace, Taste17I, Taste17I, <name>, %MyName%, All
  7342. StringReplace, Taste17I, Taste17I, <hp>, %HP%, All
  7343. StringReplace, Taste17I, Taste17I, <car>, %Car%, All
  7344. StringReplace, Taste17I, Taste17I, <time>, %Zeit%, All
  7345. StringReplace, Taste17I, Taste17I, <date>, %Datum%, All
  7346. GetZoneName(Zone)
  7347. GetCityName(City)
  7348. Position := "" Zone ", " City
  7349. StringReplace, Taste17I, Taste17I, <pos>, %Position%, All
  7350. StringReplace, Taste17I, Taste17I, <left>, {left}, All
  7351. StringReplace, Taste17I, Taste17I, <space>, {space}, All
  7352. SendInput, t%Taste17I%
  7353. }
  7354. return
  7355. Taste18B:
  7356. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7357. {
  7358. return
  7359. }
  7360. IniRead, Taste18I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste18I
  7361. if(Taste18I != "" || Taste18I != """" || Taste18I != "ERROR")
  7362. {
  7363. FormatTime, Zeit,,HH:mm
  7364. FormatTime, Datum,,dd.MM.yyyy
  7365. GetPlayerName(MyName)
  7366. HP := GetPlayerHealth()
  7367. CarDL := GetVehicleHealth()
  7368. CarDL := floor(CarDL)
  7369. car := (CarDL / 1000)*100
  7370. car := floor(Car)
  7371. StringReplace, Taste18I, Taste18I, <name>, %MyName%, All
  7372. StringReplace, Taste18I, Taste18I, <hp>, %HP%, All
  7373. StringReplace, Taste18I, Taste18I, <car>, %Car%, All
  7374. StringReplace, Taste18I, Taste18I, <time>, %Zeit%, All
  7375. StringReplace, Taste18I, Taste18I, <date>, %Datum%, All
  7376. GetZoneName(Zone)
  7377. GetCityName(City)
  7378. Position := "" Zone ", " City
  7379. StringReplace, Taste18I, Taste18I, <pos>, %Position%, All
  7380. StringReplace, Taste18I, Taste18I, <left>, {left}, All
  7381. StringReplace, Taste18I, Taste18I, <space>, {space}, All
  7382. SendInput, t%Taste18I%
  7383. }
  7384. return
  7385. HKPause:
  7386. Suspend
  7387. if ( A_IsSuspended )
  7388. {
  7389. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast den Keybinder {FF0000}pausiert{FF0000}.")
  7390. }
  7391. if ( !A_IsSuspended )
  7392. {
  7393. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast den Keybinder {00FF00}aktiviert{00FF00}.")
  7394. }
  7395. return
  7396. HKWiederholen:
  7397. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  7398. {
  7399. return
  7400. }
  7401. SendInput t{up}{enter}
  7402. return
  7403. HKHP:
  7404. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  7405. {
  7406. return
  7407. }
  7408. HP := GetPlayerhealth()
  7409. SendChat("/f Ich habe noch " HP " HP.")
  7410. return
  7411. HKHilfe:
  7412. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  7413. {
  7414. return
  7415. }
  7416. GetCityName(city)
  7417. GetZoneName(zone)
  7418. ID := GetPlayerID()
  7419. HP := GetPlayerHealth()
  7420. SendChat("/f Ich benötige Hilfe! ID: " ID " Standort: "zone ", " city " HP: " HP "")
  7421. return
  7422. GetPlayerSpeed()
  7423. {
  7424. speed := 0
  7425. exe := OpenMemoryfromTitle_("GTA:SA:MP")
  7426. pointer := ReadMemory_(exe, 0xBA18FC)
  7427. speedX := ReadMemory_(exe, pointer+68,"Float")
  7428. speedY := ReadMemory_(exe,pointer+72,"Float")
  7429. speedZ := ReadMemory_(exe, pointer+76,"Float")
  7430. CloseMemory_(exe)
  7431. speed := (((speedX * speedX) + (speedY * speedY) + (speedZ * speedZ))**(1/2))
  7432. speed := speed * 160.9344
  7433. speed := floor(speed)
  7434. return speed
  7435. }
  7436. GetPlayerSpeed_2()
  7437. {
  7438. speed := 0
  7439. if(IsPlayerInAnyVehicle()){
  7440. GetPlayerPosition(x1,y1,z1,r1)
  7441. sleep, 500
  7442. GetPlayerPosition(x2,y2,z2, r2)
  7443. bill := (x1 - x2) * 2
  7444. bill_ := (y1 - y2) * 2
  7445. bill__ := (z1 - z2) * 2
  7446. speed := bill + bill_ + bill__
  7447. speed := speed^(1/3)
  7448. speed *= 3
  7449. if(speed < 0)
  7450. speed *= -1
  7451. }
  7452. return speed
  7453. }
  7454. ~LControl & ~t::
  7455. Suspend Permit
  7456. If (IsPlayerinAnyVehicle() == 0)
  7457. {
  7458. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist in keinem Fahrzeug!")
  7459. return
  7460. }
  7461. If (IsPlayerDriver() == 0)
  7462. {
  7463. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer!")
  7464. return
  7465. }
  7466. SpeedOnOff := !SpeedOnOff
  7467. if(SpeedOnOff == 1)
  7468. {
  7469. VehSpeedMax := GetPlayerSpeed()
  7470. SpeedCheckStatus := "1"
  7471. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
  7472. }
  7473. else
  7474. {
  7475. SpeedCheckStatus := "0"
  7476. Sleep, 250
  7477. SendInput {W up}
  7478. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  7479. SendInput {W Up}
  7480. VehSpeedMax := 0
  7481. }
  7482. return
  7483. :?:/tempo::
  7484. Suspend Permit
  7485. If (IsPlayerinAnyVehicle() == 0)
  7486. {
  7487. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist in keinem Fahrzeug!")
  7488. return
  7489. }
  7490. If (IsPlayerDriver() == 0)
  7491. {
  7492. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer!")
  7493. return
  7494. }
  7495. tempo := PlayerInput("Bitte gebe deine gewünschte Geschwindigkeit an: ")
  7496. VehSpeedMax := tempo
  7497. SpeedCheckStatus := "1"
  7498. SpeedOnOff := "1"
  7499. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
  7500. return
  7501. ~N::
  7502. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  7503. {
  7504. return
  7505. }
  7506. if (SpeedCheckStatus == 1)
  7507. {
  7508. VehSpeedMax := VehSpeedMax  + 5
  7509. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde auf {FFA000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
  7510. }
  7511. return
  7512. ~B::
  7513. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  7514. {
  7515. return
  7516. }
  7517. if (SpeedCheckStatus == 1)
  7518. {
  7519. VehSpeedMax := VehSpeedMax  - 5
  7520. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde auf {FFA000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
  7521. }
  7522. return
  7523. ~W::
  7524. ~S::
  7525. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  7526. {
  7527. return
  7528. }
  7529. if (SpeedCheckStatus == 1)
  7530. {
  7531. SpeedCheckStatus := "0"
  7532. SpeedOnOff := "0"
  7533. Sleep, 250
  7534. SendInput {W up}
  7535. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  7536. SendInput {W Up}
  7537. VehSpeedMax := 0
  7538. }
  7539. return
  7540. SpeedCheckPerm:
  7541. IfWinNotActive, GTA:SA:MP
  7542. return
  7543. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7544. {
  7545. return
  7546. }
  7547. VehSpeed := GetPlayerSpeed()
  7548. if(IsPlayerDriver() == 1)
  7549. {
  7550. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7551. {
  7552. return
  7553. }
  7554. if (VehSpeed <= VehSpeedMax)
  7555. {
  7556. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7557. {
  7558. AddChatmessage(0xFFF000, "Chat ist offen")
  7559. return
  7560. }
  7561. SendInput, {W Down}
  7562. }
  7563. else if (VehSpeed > VehSpeedMax)
  7564. {
  7565. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7566. {
  7567. AddChatmessage(0xFFF000, "Chat ist offen")
  7568. return
  7569. }
  7570. SendInput, {W Up}
  7571. }
  7572. }
  7573. else
  7574. {
  7575. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges. Der Tempomat wurde deaktiviert.")
  7576. SetTimer, SpeedCheckPerm, off
  7577. SpeedCheckStatus := "0"
  7578. SpeedOnOff := "0"
  7579. Sleep, 250
  7580. SendInput {W up}
  7581. return
  7582. }
  7583. return
  7584. :*?:/fhilfe::
  7585. Suspend, Permit
  7586. SendInput, {Enter}
  7587. ShowDialog(0, ">>Freundesliste Hilfe<<", "Folgende Befehle für die Freundesliste sind vorhanden`n`n/flist Zeigt euch die Freundesliste`n/fadd Fügt ein Freund anhand des Namens hinzu `n/fidadd Fügt ein freund anhand der ID hinzu`n/fdel löscht ein Freund anhand des Names`n/fiddel Löscht ein freund anhand der ID", "OK")
  7588. Suspend, Off
  7589. return
  7590. :?:/flist::
  7591. Suspend, Permit
  7592. SendInput, {Enter}
  7593. Sleep, 250
  7594. VarSetCapacity(final, 256, 0)
  7595. Loop, read, Freunde.ini
  7596. {
  7597. StringSplit, OutputArr, A_LoopReadLine, =
  7598. id := GetPlayerIdByName("" OutputArr1 "")
  7599. if( A_LoopReadLine != "[Freunde]")
  7600. {
  7601. if(id == -1)
  7602. {
  7603. final = %final%->{FF0000}Offline`t{FFFFFF}%OutputArr1%`n
  7604. }
  7605. else
  7606. {
  7607. if(id == 0)
  7608. id := GetPlayerIdByName(OutputArr1)
  7609. score := Unbekannt
  7610. if(Score == 0)
  7611. score := Unbekannt
  7612. Score := feldlänge(score,3)
  7613. id := feldlänge(id,3)
  7614. OutputArr1 := feldlänge(OutputArr1,24)
  7615. final = %final%->{00FF00}Online`t{FFFFFF}%OutputArr1%
  7616. if(strlen(OutputArr2) != 0)
  7617. {
  7618. OutputArr2 := feldlänge(OutputArr2,5)
  7619. final = %final%`tTel.: %OutputArr2%`tLevel: %score%`tID: %id%`n
  7620. }
  7621. else
  7622. {
  7623. final = %final%`tLevel: %score%`tID: %id%`n
  7624. }
  7625. final = %final%
  7626. }
  7627. }
  7628. }
  7629. if(final == "")
  7630. Final := "Keine Freunde"
  7631. Sort, Final
  7632. ShowDialog(1, "Freundesliste", final, "Verlassen")
  7633. Suspend, Off
  7634. return
  7635. :?:/fadd::
  7636. Suspend, Permit
  7637. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte den Namen ein")
  7638. sleep, 300
  7639. SendInput, {Enter}
  7640. SendInput, t{Space}
  7641. Suspend, On
  7642. Hotkey, Enter, On
  7643. Input, NeuerFreund, V I M T10,{Enter}
  7644. Keywait, Enter, D, T20
  7645. If errorlevel
  7646. {
  7647. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
  7648. }
  7649. else
  7650. {
  7651. Sleep, 300
  7652. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte Handynummer ein")
  7653. Suspend, On
  7654. Sleep, 300
  7655. SendInput, t{Space}
  7656. Input, NeueNummer, V I M ,{Enter}
  7657. Keywait, Enter, D, T20
  7658. If ErrorLevel
  7659. {
  7660. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
  7661. }
  7662. else
  7663. {
  7664. IniWrite, %NeueNummer%, Freunde.ini, Freunde, %NeuerFreund%
  7665. return
  7666. }
  7667. Suspend, Off
  7668. }
  7669. return
  7670. :?:/fidadd::
  7671. Suspend, Permit
  7672. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte die ID ein")
  7673. sleep, 300
  7674. SendInput, {Enter}
  7675. SendInput, t{Space}
  7676. Suspend, On
  7677. Hotkey, Enter, On
  7678. Input, NeuerFreundID, V I M T10,{Enter}
  7679. Keywait, Enter, D, T20
  7680. If errorlevel
  7681. {
  7682. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
  7683. }
  7684. else
  7685. {
  7686. Sleep, 300
  7687. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte Handynummer ein")
  7688. Suspend, On
  7689. Sleep, 300
  7690. SendInput, t{Space}
  7691. Input, NeueNummer, V I M ,{Enter}
  7692. Keywait, Enter, D, T20
  7693. If ErrorLevel
  7694. {
  7695. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
  7696. }
  7697. else
  7698. {
  7699. GetPlayerNameById(NeuerFreundID, NeuerFreund)
  7700. IniWrite, %NeueNummer%, Freunde.ini, Freunde, %NeuerFreund%
  7701. return
  7702. }
  7703. Suspend, Off
  7704. }
  7705. return
  7706. :?:/fdel::
  7707. Suspend, Permit
  7708. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte den Namen ein")
  7709. sleep, 300
  7710. SendInput, {Enter}
  7711. SendInput, t{Space}
  7712. Suspend, On
  7713. Hotkey, Enter, On
  7714. Input, NeuerFreund, V I M T10,{Enter}
  7715. Keywait, Enter, D, T20
  7716. If errorlevel
  7717. {
  7718. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
  7719. }
  7720. else
  7721. {
  7722. IniDelete, Freunde.ini, Freunde, %NeuerFreund%
  7723. }
  7724. Suspend, Off
  7725. return
  7726. :?:/fiddel::
  7727. Suspend, Permit
  7728. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte die ID ein")
  7729. sleep, 300
  7730. SendInput, {Enter}
  7731. SendInput, t{Space}
  7732. Suspend, On
  7733. Hotkey, Enter, On
  7734. Input, FreundwegID, V I M T10,{Enter}
  7735. Keywait, Enter, D, T20
  7736. If errorlevel
  7737. {
  7738. AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
  7739. }
  7740. else
  7741. {
  7742. GetPlayerNameById(FreundwegID, NeuerFreund)
  7743. IniDelete, Freunde.ini, Freunde, %NeuerFreund%
  7744. }
  7745. Suspend, Off
  7746. return
  7747. feldlänge(str, länge = 15, zeichen = " ")
  7748. {
  7749. l := länge - StrLen(SubStr(str, 1, länge))
  7750. Loop, %l%
  7751. ID := ID zeichen
  7752. Result := SubStr(str, 1, länge) ID
  7753. Return Result
  7754. }
  7755. :?:/kcall::
  7756. Suspend Permit
  7757. pinput := PlayerInput("Name: ")
  7758. Sleep, 250
  7759. SendChat("/number " . pinput . "")
  7760. Loop,
  7761. {
  7762. GetChatLine(0, line)
  7763. if(InStr(line, "Name: "))
  7764. {
  7765. RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
  7766. SendChat("/call " . Output2)
  7767. return
  7768. }
  7769. else If(InStr(line, "Diesen Spieler gibt es nicht!"))
  7770. {
  7771. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Anruf fehlgeschlagen!")
  7772. return
  7773. }
  7774. else
  7775. {
  7776. continue
  7777. }
  7778. }
  7779. return
  7780. :?:/ksms::
  7781. Suspend Permit
  7782. pinput := PlayerInput("Name: ")
  7783. SendChat("/number " . pinput . "")
  7784. Loop,
  7785. {
  7786. GetChatLine(0, line)
  7787. if(InStr(line, "Name: "))
  7788. {
  7789. RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
  7790. SendInput, t/sms %Output2%{space}
  7791. return
  7792. }
  7793. else If(InStr(line, "Diesen Spieler gibt es nicht!"))
  7794. {
  7795. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Versendung nicht möglich!")
  7796. return
  7797. }
  7798. else
  7799. {
  7800. continue
  7801. }
  7802. }
  7803. return
  7804. :?:/p::
  7805. Suspend Permit
  7806. SendChat("/p")
  7807. IniRead, Pickup, %Settings%, Zusatz, Pickup
  7808. if(Pickup != "" && Pickup != "Text bei entgegengenommenen Anrufen (/p)")
  7809. {
  7810. SendChat("" Pickup "")
  7811. }
  7812. SoundPlay, avixa.avi
  7813. return
  7814. :?:/pickup::
  7815. Suspend Permit
  7816. SendChat("/p")
  7817. IniRead, Pickup, %Settings%, Zusatz, Pickup
  7818. if(Pickup != "" && Pickup != "Text bei entgegengenommenen Anrufen (/p)" && Pickup != "ERROR")
  7819. {
  7820. SendChat("" Pickup "")
  7821. }
  7822. SoundPlay, avixa.avi
  7823. return
  7824. :?:/h::
  7825. Suspend Permit
  7826. IniRead, Hangup, %Settings%, Zusatz, Hangup
  7827. if(Hangup != "" && Hangup != "Text beim Beenden eines Telefonats (/h)" && Hangup != "ERROR")
  7828. {
  7829. SendChat("" Hangup "")
  7830. }
  7831. SendChat("/h")
  7832. return
  7833. :?:/hangup::
  7834. Suspend Permit
  7835. IniRead, Hangup, %Settings%, Zusatz, Hangup
  7836. if(Hangup != "" && Hangup != "Text beim Beenden eines Telefonats (/h)" && Hangup != "ERROR")
  7837. {
  7838. SendChat("" Hangup "")
  7839. }
  7840. SendChat("/hangup")
  7841. return
  7842. :?:/hp::
  7843. Suspend Permit
  7844. SendChat("/cooked")
  7845. Sleep 250
  7846. GetChatLine(5, fish1)
  7847. GetChatLine(4, fish2)
  7848. GetChatLine(3, fish3)
  7849. GetChatLine(2, fish4)
  7850. GetChatLine(1, fish5)
  7851. RegExMatch(fish1, "\*\* \(1\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch1_)
  7852. RegExMatch(fish2, "\*\* \(2\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch2_)
  7853. RegExMatch(fish3, "\*\* \(3\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch3_)
  7854. RegExMatch(fish4, "\*\* \(4\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch4_)
  7855. RegExMatch(fish5, "\*\* \(5\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch5_)
  7856. HP1 = %fisch1_2%
  7857. HP1*=0.3
  7858. HP1 := Floor(HP1)
  7859. HP2 = %fisch2_2%
  7860. HP2*=0.3
  7861. HP2 := Floor(HP2)
  7862. HP3 = %fisch3_2%
  7863. HP3*=0.3
  7864. HP3 := Floor(HP3)
  7865. HP4 = %fisch4_2%
  7866. HP4*=0.3
  7867. HP4 := Floor(HP4)
  7868. HP5 = %fisch5_2%
  7869. HP5*=0.3
  7870. HP5 := Floor(HP5)
  7871. Gesamt=0
  7872. Gesamt+=%HP1%
  7873. Gesamt+=%HP2%
  7874. Gesamt+=%HP3%
  7875. Gesamt+=%HP4%
  7876. Gesamt+=%HP5%
  7877. AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch1_1 . " (" . fisch1_2 . " LBS) - {FFA000} " . HP1 . " HP")
  7878. AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch2_1 . " (" . fisch2_2 . " LBS) - {FFA000} " . HP2 . " HP")
  7879. AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch3_1 . " (" . fisch3_2 . " LBS) - {FFA000} " . HP3 . " HP")
  7880. AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch4_1 . " (" . fisch4_2 . " LBS) - {FFA000} " . HP4 . " HP")
  7881. AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch5_1 . " (" . fisch5_2 . " LBS) - {FFA000} " . HP5 . " HP")
  7882. AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}-----------------------------------------------")
  7883. AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}Gesamt: {FFA000}" . Gesamt . " HP")
  7884. return
  7885. :?:/minuten::
  7886. Suspend Permit
  7887. Sekunden := PlayerInput("Anzahl der Sekunden: ")
  7888. if(Sekunden != "" && Sekunden != " " && Sekunden != 0)
  7889. {
  7890. Minuten := Sekunden / 60
  7891. Minuten := round(Minuten, 2)
  7892. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}{FFBB00}" Sekunden "{FFFFFF} Sekunden sind {FFBB00}" Minuten "{FFFFFF} Minuten.")
  7893. }
  7894. return
  7895. :?:/fg::
  7896. Suspend Permit
  7897. SendChat("/festgeld 1250000")
  7898. return
  7899. :?:/sani::
  7900. Suspend Permit
  7901. SendChat("/accept Paket")
  7902. return
  7903. :?:/tanken::
  7904. Suspend Permit
  7905. if(IsPlayerInAnyVehicle() == "0")
  7906. {
  7907. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist in keinem Fahrzeug")
  7908. return
  7909. }
  7910. if(IsVehicleEngineEnabled() == 1)
  7911. {
  7912. SendChat("/motor")
  7913. }
  7914. SendChat("/fill")
  7915. Sleep, 10000
  7916. SendChat("/motor")
  7917. Sleep, 2600
  7918. SendChat("/licht")
  7919. return
  7920. :?:/user::
  7921. Suspend Permit
  7922. UserData := ""
  7923. UserName := PlayerInput("User-Name: ")
  7924. If(UserName!="")
  7925. {
  7926. 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%
  7927. UserData := URLDownloadToVar(UserUrl)
  7928. if(UserData == "Der Spieler existiert nicht.")
  7929. {
  7930. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Spieler existiert nicht.")
  7931. return
  7932. }
  7933. If(UserData!="Des Spielers Profil ist privat.")
  7934. {
  7935. RegExMatch(UserData, "level:(.+)\|j", UserLevel)
  7936. RegExMatch(UserData, ".+\|job:(.+)\|f", UserJob)
  7937. RegExMatch(UserData, ".+\|fraction:(.+)\|r", UserFraction)
  7938. RegExMatch(UserData, ".+\|rank:(.+)\|online", UserRank)
  7939. RegExMatch(UserData, ".+\|online:(.)\|play", UserOnline)
  7940. RegExMatch(UserData, ".+\|playtime:(.+)\|o", UserPlaytime)
  7941. RegExMatch(UserData, ".+\|org:(.+)\|n", UserOrg)
  7942. RegExMatch(UserData, ".+\|number:(.+)\|m", UserNumber)
  7943. RegExMatch(UserData, ".+\|money:(.+)\|b", UserMoney)
  7944. RegExMatch(UserData, ".+\|bank:(.+)\|dep", UserBank)
  7945. RegExMatch(UserData, ".+\|deposit:(.+)\|k", UserDeposit)
  7946. RegExMatch(UserData, ".+\|kills:(.+)\|d", UserKills)
  7947. RegExMatch(UserData, ".+\|deaths:(.+)\|p", UserDeaths)
  7948. RegExMatch(UserData, ".+\|premium:(.)", UserPremium)
  7949. Gesamt +=UserBank1
  7950. Gesamt += UserMoney1
  7951. Gesamt += UserDeposit1
  7952. KD := Userkills1 / UserDeaths1
  7953. KD := Round(KD, 3)
  7954. if(UserPremium1 == 1)
  7955. {
  7956. 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 . "$ `n Konto: " . UserBank1 . "$ `n Festgeld: " . UserDeposit1 . "$ `n Gesamt: " . Gesamt . "$ `n `n Kills: " . UserKills1 . " `n Tode: " . UserDeaths1 . " `n K/D: " . KD . " `n `n {FF6600} Premium ", "Verlassen")
  7957. }
  7958. else if(UserPremium1 == 2)
  7959. {
  7960. 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 . "$ `n Konto: " . UserBank1 . "$ `n Festgeld: " . UserDeposit1 . "$ `n Gesamt: " . Gesamt . "$ `n `n Kills: " . UserKills1 . " `n Tode: " . UserDeaths1 . " `n K/D: " . KD . " `n `n {FF6600} VIP ", "Verlassen")
  7961. }
  7962. else
  7963. {
  7964. 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 . "$ `n Konto: " . UserBank1 . "$ `n Festgeld: " . UserDeposit1 . "$ `n Gesamt: " . Gesamt . "$ `n `n Kills: " . UserKills1 . " `n Tode: " . UserDeaths1 . " `n K/D: " . KD . " `n ", "Verlassen")
  7965. }
  7966. }
  7967. else
  7968. {
  7969. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Spieler hat sein Profil auf privat gestellt.")
  7970. }
  7971. }
  7972. return
  7973. ~NumpadMult::
  7974. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7975. {
  7976. return
  7977. }
  7978. SendChat("/eat " . fischers . "")
  7979. fischers++
  7980. if(fischers == "6")
  7981. {
  7982. fischers=1
  7983. }
  7984. return
  7985. ~m::
  7986. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7987. {
  7988. return
  7989. }
  7990. if(IsPlayerInAnyVehicle() == "0")
  7991. {
  7992. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist in keinem Fahrzeug")
  7993. }
  7994. else If(IsPlayerDriver() == 0)
  7995. {
  7996. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges.")
  7997. }
  7998. else If(IsPlayerInAnyVehicle() == "1" && IsVehicleLocked() == 0)
  7999. {
  8000. SendChat("/lock")
  8001. sleep 200
  8002. SendChat("/motor")
  8003. SetTimer, LichtEinschalten, 2400
  8004. return
  8005. }
  8006. return
  8007. LichtEinschalten:
  8008. if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
  8009. {
  8010. SendChat("/licht")
  8011. }
  8012. SetTimer, LichtEinschalten, off
  8013. return
  8014. ~F::
  8015. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8016. {
  8017. return
  8018. }
  8019. if(IsPlayerInAnyVehicle() == "0")
  8020. {
  8021. Loop,
  8022. if(IsPlayerDriver() == 1 && IsVehicleLocked() == 0 )
  8023. {
  8024. SendChat("/lock")
  8025. return
  8026. }
  8027. }
  8028. else
  8029. if(IsPlayerDriver() == 1 && IsVehicleEngineEnabled() == 1)
  8030. {
  8031. SendChat("/motor")
  8032. Sleep 700
  8033. Send F
  8034. return
  8035. }
  8036. return
  8037. ~Y::
  8038. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8039. {
  8040. return
  8041. }
  8042. SendChat("/lock")
  8043. return
  8044. :?:/countdown::
  8045. Suspend Permit
  8046. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Drücke '.', um den Countdown abzubrechen.")
  8047. SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
  8048. Sleep 1500
  8049. SendChat(">>3<<")
  8050. KeyWait, ., D T1
  8051. If !ErrorLevel
  8052. {
  8053. return
  8054. }
  8055. SendChat(">>2<<")
  8056. KeyWait, ., D T1
  8057. If !ErrorLevel
  8058. {
  8059. return
  8060. }
  8061. SendChat(">>1<<")
  8062. KeyWait, ., D T1
  8063. If !ErrorLevel
  8064. {
  8065. return
  8066. }
  8067. SendChat("Letzte Warnung!")
  8068. return
  8069. :?:/cd::
  8070. Suspend Permit
  8071. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Drücke '.', um den Countdown abzubrechen.")
  8072. SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
  8073. Sleep 1500
  8074. SendChat(">>3<<")
  8075. KeyWait, ., D T1
  8076. If !ErrorLevel
  8077. {
  8078. return
  8079. }
  8080. SendChat(">>2<<")
  8081. KeyWait, ., D T1
  8082. If !ErrorLevel
  8083. {
  8084. return
  8085. }
  8086. SendChat(">>1<<")
  8087. KeyWait, ., D T1
  8088. If !ErrorLevel
  8089. {
  8090. return
  8091. }
  8092. SendChat("Letzte Warnung!")
  8093. return
  8094. :?:/info::
  8095. Suspend Permit
  8096. GetCityName(city)
  8097. GetZoneName(zone)
  8098. GetPlayerName(Name)
  8099. PlayerID := GetPlayerID()
  8100. if(PlayerID != "65535" && PlayerID != "" && PlayerID != "-1")
  8101. {
  8102. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Spieler-Information von " Name " [ID: " PlayerID " ]:")
  8103. }
  8104. else
  8105. {
  8106. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Spieler-Information von " Name ":")
  8107. }
  8108. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}HP: {FFBB00}" GetPlayerHealth() " {FFFFFF}Armor: {FFBB00}" GetPlayerArmor() "{FFFFFF}, Standort: {FFBB00}" zone ", " city "{FFFFFF}.")
  8109. if (IsPlayerInAnyVehicle() == 1)
  8110. {
  8111. GetVehicleModelName(Fahrzeug)
  8112. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fahrzeug-Information für das Fahrzeug {FFBB00}" Fahrzeug "{FFFFFF}:")
  8113. if(GetVehicleSecondColor() != -1 && GetVehicleSecondColor() != "")
  8114. {
  8115. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Farbe: {FFBB00}"GetVehicleFirstColor() "{FFFFFF} / {FFBB00}" GetVehicleSecondColor() "{FFFFFF}, CarDL: {FFBB00}" GetVehicleHealth() "{FFFFFF}.")
  8116. }
  8117. else
  8118. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Farbe: {FFBB00}"GetVehicleFirstColor() "{FFFFFF}, CarDL: {FFBB00}" GetVehicleHealth() "{FFFFFF}.")
  8119. }
  8120. return
  8121. :?:/an::
  8122. Suspend Permit
  8123. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8124. {
  8125. if InStr(A_LoopReadLine, "Dein Handy klingelt. Tippe /pickup. Anrufer-ID: ")
  8126. {
  8127. RegExMatch(A_LoopReadLine, "Dein Handy klingelt\. Tippe /pickup\. Anrufer\-ID\: (.*)", var)
  8128. }
  8129. }
  8130. SendChat("/p")
  8131. SoundPlay, avixa.avi
  8132. if(var1 == "" || var1 == " " || var1 == "   " || var1 == "-1")
  8133. {
  8134. var1 := "Sir "
  8135. }
  8136. StringTrimRight Anrufer, var1, 1
  8137. FormatTime, Uhrzeit,, HH
  8138. if (Uhrzeit >= 12 && Uhrzeit < 20)
  8139. {
  8140. SendChat("Guten Tag " . Anrufer . ", Sie sprechen mit " . Benutzername . ".")
  8141. }
  8142. if (Uhrzeit >= 20 || Uhrzeit == 0)
  8143. {
  8144. SendChat("Guten Abend " . Anrufer . ", Sie sprechen mit " . Benutzername . ".")
  8145. }
  8146. if (Uhrzeit >= 1 && Uhrzeit < 12)
  8147. {
  8148. SendChat("Guten Morgen " . Anrufer . ", Sie sprechen mit " . Benutzername . ".")
  8149. }
  8150. SendChat("Wie kann ich Ihnen behilflich sein?")
  8151. return
  8152. :?:/ab::
  8153. Suspend Permit
  8154. SoundPlay, xavi.avi
  8155. SendChat("/p")
  8156. FormatTime, Uhrzeit,, HH
  8157. if (Uhrzeit >= 12 && Uhrzeit < 20)
  8158. {
  8159. SendChat("Guten Tag, Sie sind verbunden mit dem Anrufbeantworter von " . Benutzername . "")
  8160. }
  8161. if (Uhrzeit >= 20 || Uhrzeit == 0)
  8162. {
  8163. SendChat("Guten Abend, Sie sind verbunden mit dem Anrufbeantworter von " . Benutzername . "")
  8164. }
  8165. if (Uhrzeit >= 1 && Uhrzeit < 12)
  8166. {
  8167. SendChat("Guten Morgen, Sie sind verbunden mit dem Anrufbeantworter von " . Benutzername . "")
  8168. }
  8169. Sleep 1000
  8170. SendChat("Leider habe ich keine Zeit, bitte versuchen Sie es später erneut.")
  8171. SendChat("/h")
  8172. return
  8173. :?:/jas::
  8174. Suspend Permit
  8175. SendChat("Ja Sir, was kann ich für Sie tun?")
  8176. return
  8177. :?:/jam::
  8178. Suspend Permit
  8179. SendChat("Ja Madam, was kann ich für Sie tun?")
  8180. return
  8181. :?:/ja::
  8182. SendChat("Ja, was kann ich für Sie tun?")
  8183. return
  8184. :?:/danke::
  8185. Suspend Permit
  8186. SendChat("Vielen Dank für Ihren Anruf. Schönen Tag noch.")
  8187. SendChat("/h")
  8188. return
  8189. :?:/tag::
  8190. Suspend Permit
  8191. FormatTime, Uhrzeit,, HH
  8192. if (Uhrzeit >= 12 && Uhrzeit < 20)
  8193. {
  8194. SendChat("Guten Tag Sir, was kann ich für Sie tun?")
  8195. }
  8196. if (Uhrzeit >= 20 || Uhrzeit == 0)
  8197. {
  8198. SendChat("Guten Abend Sir, was kann ich für Sie tun?")
  8199. }
  8200. if (Uhrzeit >= 1 && Uhrzeit < 12)
  8201. {
  8202. SendChat("Guten Morgen Sir, was kann ich für Sie tun?")
  8203. }
  8204. return
  8205. :?:/bye::
  8206. Suspend Permit
  8207. FormatTime, Uhrzeit,, HH
  8208. if (Uhrzeit >= 12 && Uhrzeit < 20)
  8209. {
  8210. SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
  8211. }
  8212. if (Uhrzeit >= 20 || Uhrzeit == 0)
  8213. {
  8214. SendChat("Ich wünsche Ihnen noch einen schönen Abend. Auf Wiedersehen.")
  8215. }
  8216. if (Uhrzeit >= 1 && Uhrzeit < 12)
  8217. {
  8218. SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
  8219. }
  8220. return
  8221. :?:/on::
  8222. Suspend Permit
  8223. SendChat("/hitsound")
  8224. SendChat("/messages")
  8225. Sleep, 850
  8226. SendChat("/tog")
  8227. Sleep, 200
  8228. SendInput {enter}
  8229. return
  8230. :?:/pbmodus::
  8231. Suspend Permit
  8232. if(paintballmodus == 0)
  8233. {
  8234. paintballmodus := 1
  8235. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast den Paintball-Modus {00FF00}aktiviert{FFFFFF}.")
  8236. }
  8237. else
  8238. {
  8239. paintballmodus := 0
  8240. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast den Paintball-Modus {FF0000}deaktiviert{FFFFFF}.")
  8241. }
  8242. return
  8243. :?:/gstats::
  8244. Suspend Permit
  8245. IniRead, Flaggen, %Settings%, Zähler, Flaggen, 0
  8246. IniRead, GFTode, %Settings%, Gangfight, GFTode, 0
  8247. IniRead, GFKills, %Settings%, Gangfight, GFKills, 0
  8248. IniRead, PBTode, %Settings%, Zähler, PBTode, 0
  8249. IniRead, PBKills, %Settings%, Zähler, PBKills, 0
  8250. IniRead, Kills, %Settings%, Killzähler, Kills, 0
  8251. IniRead, Deaths, %Settings%, Todeszähler, Deaths, 0
  8252. IniRead, KillstreakRekord, %Settings%, Zähler, KillstreakRekord, 0
  8253. PBKD := PBKills / PBTode
  8254. PBKD := Round(PBKD, 2)
  8255. KD := Kills / Deaths
  8256. KD := Round(KD, 2)
  8257. GFKD := GFKills / GFTode
  8258. GFKD := Round(GFKD, 2)
  8259. FormatTime, TagMonatJahr,,dd.MM.yyyy
  8260. IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
  8261. IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
  8262. DKD := DKills / Deaths
  8263. DKD := Round(DKD, 2)
  8264. ShowDialog(0, "Gang / Mafia Statistik","{FFFFFF}Allgemein`n`nKills: {FFBB00}" . Kills . "`n{FFFFFF}Tode: {FFBB00}" . Deaths . "`n{FFFFFF}K/D: {FFBB00}" . KD . "`n`n{FFFFFF}Tagesstatistik `nKills: {FFBB00}" . DKills . "`n{FFFFFF}Tode: {FFBB00}" . DDeaths . "`n{FFFFFF}K/D: {FFBB00}" . DKD . "`n`n{FFFFFF}Gangfight`n`nEingenommene Flaggen: {FFBB00}" . Flaggen . "`n{FFFFFF}GF-Kills: {FFBB00}" . GFKills . "`n{FFFFFF}GF-Tode: {FFBB00}" . GFTode . "`n{FFFFFF}GF-K/D: {FFBB00}" . GFKD . "`n`n{FFFFFF}Paintball`n`nPB-Kills: {FFBB00}" . PBKills . "`n{FFFFFF}PB-Tode: {FFBB00}" . PBTode . "`n{FFFFFF}PB-K/D: {FFBB00}" . PBKD . "`n`n{FFFFFF}Killstreaks`n`nAktueller: {FFBB00}" . Killstreak . "`n{FFFFFF}Höchster: {FFBB00}" . KillstreakRekord . "", "Verlassen")
  8265. return
  8266. :?:/savestats::
  8267. Suspend Permit
  8268. FormatTime, StatsZeit, dd.MM.yyyy
  8269. AddChatMessage(0x2090B3, "|Universal-Binder| {AEFF00}Statistiken werden gespeichert, Datum " StatsZeit)
  8270. SendChat("/time")
  8271. Sleep, 250
  8272. SendChat("/stats")
  8273. Sleep, 250
  8274. Send {F8}
  8275. Sleep, 250
  8276. Send {ESC}
  8277. return
  8278. :?:/relog::
  8279. Suspend Permit
  8280. SendInput /q{enter}
  8281. Sleep 3000
  8282. Suspend Off
  8283. RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\samp, gta_sa_exe
  8284. SplitPath, GTA_SA_EXE,, PFAD
  8285. run %PFAD%\samp.exe 31.214.160.11:7777, %PFAD%
  8286. return
  8287. :?:/fan::
  8288. Suspend Permit
  8289. Fan := PlayerInput("Fan-ID: ")
  8290. GetPlayerNameById(Fan, name)
  8291. SendChat("/me gibt " name " ein Autogramm.")
  8292. return
  8293. :?:/kochen::
  8294. Suspend Permit
  8295. SendChat("/cook fish 1")
  8296. SendChat("/cook fish 2")
  8297. Sleep 1250
  8298. SendChat("/cook fish 3")
  8299. SendChat("/cook fish 4")
  8300. Sleep 1250
  8301. SendChat("/cook fish 5")
  8302. return
  8303. :?:/re::
  8304. Suspend Permit
  8305. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8306. {
  8307. if InStr(A_LoopReadLine, ", Sender: " . Name)
  8308. continue
  8309. {
  8310. if InStr(A_LoopReadLine, ", Sender: ")
  8311. {
  8312. RegExMatch(A_LoopReadLine, ", Sender: .* \((.*)\)" ,SMS)
  8313. }
  8314. }
  8315. }
  8316. SendInput /sms %SMS1%{space}
  8317. return
  8318. :?:/read::
  8319. Suspend Permit
  8320. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8321. {
  8322. if InStr(A_LoopReadLine, "Werbung: ")
  8323. {
  8324. RegExMatch(A_LoopReadLine, "Werbung\: (.*)\, (.*) \((.*)\)" ,AD)
  8325. }
  8326. }
  8327. SendInput /sms %AD3%{space}
  8328. return
  8329. ~,::
  8330. SendChat("Stoppuhr gestartet!")
  8331. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Um die Stoppuhr zu beenden, drücke '.'")
  8332. zeit=0
  8333. Loop,
  8334. {
  8335. zeit++
  8336. KeyWait, ., D T1
  8337. If !ErrorLevel
  8338. {
  8339. If ( Prüfungszeit < 1000)
  8340. {
  8341. minuten=%zeit%
  8342. minuten/=60
  8343. minuten1=%minuten%
  8344. minuten1*=60
  8345. sekunden=%zeit%
  8346. sekunden-=%minuten1%
  8347. SendChat("Stoppuhr gestoppt. Minute: " . minuten . " Sekunden: " . Sekunden)
  8348. SendChat("Gesamt: " . zeit . " Sekunden")
  8349. break
  8350. }
  8351. }
  8352. }
  8353. return
  8354. :?:/fischen::
  8355. Suspend Permit
  8356. If (IsPlayerinAnyInterior() == 1)
  8357. {
  8358. Geld_vorher := GetPlayerMoney()
  8359. SendChat("/sell fish 1")
  8360. sleep 200
  8361. GetChatLine(0, chat)
  8362. if(InStr(chat, "Du bist in keinem 24-7!"))
  8363. {
  8364. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Verkaufen abgebrochen. Bitte gehe in einen 24-7 Shop.")
  8365. return
  8366. }
  8367. Sleep, 300
  8368. SendChat("/sell fish 2")
  8369. sleep 500
  8370. SendChat("/sell fish 3")
  8371. sleep 500
  8372. SendChat("/sell fish 4")
  8373. sleep 500
  8374. SendChat("/sell fish 5")
  8375. sleep 500
  8376. Geld_nachher := GetPlayerMoney()
  8377. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine Fische wurden verkauft, du hast insgesamt {FFBB00}" Geld_nachher - Geld_vorher "{FFFFFF}$ verdient.")
  8378. return
  8379. }
  8380. else
  8381. {
  8382. Loop
  8383. {
  8384. Sleep, 600
  8385. SendChat("/fish")
  8386. Sleep, 200
  8387. GetChatLine(0, chat)
  8388. 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."))
  8389. {
  8390. if(InStr(chat, "Du kannst momentan nicht Angeln. Bitte warte einige Minuten."))
  8391. {
  8392. Fishzeit := 1200
  8393. Fishminute := 19
  8394. Fishsekunde := 60
  8395. SetTimer, Fischen, 1000
  8396. }
  8397. Loop 25
  8398. {
  8399. fischges += fisch%A_Index%
  8400. }
  8401. if(fischges > 0)
  8402. {
  8403. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du würdest für deine Fische {FFBB00}" fischges "{FFFFFF}$ bekommen.")
  8404. fischLBS := fischLBSGesamt / 3
  8405. fischLBS := Round(fischLBS, 0)
  8406. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du würdest mit deinen Fischen {FFBB00}" fischLBS "{FFFFFF} HP generieren.")
  8407. Loop 25
  8408. {
  8409. fisch%A_Index% := 0
  8410. }
  8411. fischges := 0
  8412. fischLBS := 0
  8413. fischLBSGesamt := 0
  8414. }
  8415. break
  8416. }
  8417. if(InStr(chat, "Du hast ein/e ") AND RegExMatch(chat, "Du hast ein/e (.*) mit (.*) LBS gefangen.", chat))
  8418. {
  8419. if(chat1 == "Bernfisch")
  8420. {
  8421. fischLBSGesamt += chat2
  8422. fisch%A_Index% := chat2 * 1
  8423. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8424. }
  8425. else if(chat1 == "Blauer Fächerfisch")
  8426. {
  8427. fischLBSGesamt += chat2
  8428. fisch%A_Index% := chat2 * 2
  8429. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8430. }
  8431. else if(chat1 == "Zackenbarsch")
  8432. {
  8433. fischLBSGesamt += chat2
  8434. fisch%A_Index% := chat2 * 3
  8435. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8436. }
  8437. else if(chat1 == "Schwertfisch")
  8438. {
  8439. fischLBSGesamt += chat2
  8440. fisch%A_Index% := chat2 * 3
  8441. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8442. }
  8443. else if(chat1 == "Roter Schnapper")
  8444. {
  8445. fischLBSGesamt += chat2
  8446. fisch%A_Index% := chat2 * 3
  8447. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8448. }
  8449. else if(chat1 == "Katzenfisch")
  8450. {
  8451. fischLBSGesamt += chat2
  8452. fisch%A_Index% := chat2 * 4
  8453. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8454. }
  8455. else if(chat1 == "Forelle")
  8456. {
  8457. fischLBSGesamt += chat2
  8458. fisch%A_Index% := chat2 * 5
  8459. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8460. }
  8461. else if(chat1 == "Segelfisch")
  8462. {
  8463. fischLBSGesamt += chat2
  8464. fisch%A_Index% := chat2 * 7
  8465. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8466. }
  8467. else if(chat1 == "Hai")
  8468. {
  8469. fischLBSGesamt += chat2
  8470. fisch%A_Index% := chat2 * 7
  8471. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8472. }
  8473. else if(chat1 == "Delphin")
  8474. {
  8475. fischLBSGesamt += chat2
  8476. fisch%A_Index% := chat2 * 7
  8477. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8478. }
  8479. else if(chat1 == "Makrele")
  8480. {
  8481. fischLBSGesamt += chat2
  8482. fisch%A_Index% := chat2 * 8
  8483. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8484. }
  8485. else if(chat1 == "Hecht")
  8486. {
  8487. fischLBSGesamt += chat2
  8488. fisch%A_Index% := chat2 * 9
  8489. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8490. }
  8491. else if(chat1 == "Aal")
  8492. {
  8493. fischLBSGesamt += chat2
  8494. fisch%A_Index% := chat2 * 9
  8495. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8496. }
  8497. else if(chat1 == "Schildkröte")
  8498. {
  8499. fischLBSGesamt += chat2
  8500. fisch%A_Index% := chat2 * 10
  8501. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8502. }
  8503. else if(chat1 == "Thunfisch")
  8504. {
  8505. fischLBSGesamt += chat2
  8506. fisch%A_Index% := chat2 * 12
  8507. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8508. }
  8509. else if(chat1 == "Wolfbarsch")
  8510. {
  8511. fischLBSGesamt += chat2
  8512. fisch%A_Index% := chat2 * 12
  8513. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  8514. }
  8515. continue
  8516. }
  8517. }
  8518. }
  8519. return
  8520. Fischen:
  8521. if(Fishzeit >= "0")
  8522. {
  8523. Fishzeit--
  8524. Fishmin++
  8525. Fishsekunde--
  8526. if(Fishmin == "60")
  8527. {
  8528. Fishmin := 0
  8529. Fishminute -= 1
  8530. Fishsekunde := 0
  8531. }
  8532. if(Fishsekunde == "0")
  8533. {
  8534. Fishsekunde := 60
  8535. }
  8536. Fishoverlay := "Noch " . Fishminute . ":" . Fishsekunde . " Minuten gesperrt."
  8537. }
  8538. if(Fishzeit == "0")
  8539. {
  8540. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du kannst nun wieder am Angelsteg angeln.")
  8541. Fishoverlay := "Du kannst am Angelsteg angeln."
  8542. SetTimer, Fischen, off
  8543. }
  8544. return
  8545. ErsteHilfe:
  8546. if(Erstehilfezeit >= "0")
  8547. {
  8548. Erstehilfezeit--
  8549. Erstehilfemin++
  8550. Erstehilfesekunde--
  8551. if(Erstehilfemin == "60")
  8552. {
  8553. Erstehilfemin := 0
  8554. Erstehilfeminute -= 1
  8555. Erstehilfesekunde := 0
  8556. }
  8557. if(Erstehilfesekunde == "0")
  8558. {
  8559. Erstehilfesekunde := 60
  8560. }
  8561. Erstehilfeoverlay := "Noch" . Erstehilfeminute . ":" . Erstehilfesekunde . " Minuten gesperrt."
  8562. }
  8563. if(Erstehilfezeit == "0")
  8564. {
  8565. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du kannst wieder ein ErsteHilfe-Paket verwenden.")
  8566. Erstehilfeoverlay := "Nicht gesperrt"
  8567. Settimer,  ErsteHilfe, off
  8568. }
  8569. return
  8570. Krankenhaus:
  8571. Krankenhaus--
  8572. KrankenhausOverlay := "Noch " . Krankenhaus . " Sekunden in Behandlung."
  8573. if(Krankenhaus == 0)
  8574. {
  8575. SetTimer, Krankenhaus, off
  8576. KrankenhausOverlay := "Nicht in Behandlung"
  8577. }
  8578. return
  8579. :?:/chat::
  8580. Suspend Permit
  8581. AddChatMessage(0xFFFFFF, " ")
  8582. AddChatMessage(0xFFFFFF, " ")
  8583. AddChatMessage(0xFFFFFF, " ")
  8584. AddChatMessage(0xFFFFFF, " ")
  8585. AddChatMessage(0xFFFFFF, " ")
  8586. AddChatMessage(0xFFFFFF, " ")
  8587. AddChatMessage(0xFFFFFF, " ")
  8588. AddChatMessage(0xFFFFFF, " ")
  8589. AddChatMessage(0xFFFFFF, " ")
  8590. AddChatMessage(0xFFFFFF, " ")
  8591. AddChatMessage(0xFFFFFF, " ")
  8592. AddChatMessage(0xFFFFFF, " ")
  8593. AddChatMessage(0xFFFFFF, " ")
  8594. AddChatMessage(0xFFFFFF, " ")
  8595. AddChatMessage(0xFFFFFF, " ")
  8596. AddChatMessage(0xFFFFFF, " ")
  8597. AddChatMessage(0xFFFFFF, " ")
  8598. AddChatMessage(0xFFFFFF, " ")
  8599. AddChatMessage(0xFFFFFF, " ")
  8600. AddChatMessage(0xFFFFFF, " ")
  8601. AddChatMessage(0xFFFFFF, " ")
  8602. AddChatMessage(0xFFFFFF, " ")
  8603. return
  8604. :?:/alotto::
  8605. Suspend Permit
  8606. Random, rand, 1, 200
  8607. SendChat("/lotto " rand)
  8608. return
  8609. :?:/neustart::
  8610. Suspend Permit
  8611. SetTimer, Systeme, off
  8612. Sleep, 500
  8613. SetTimer, Systeme, 500
  8614. GtaCheckTrue := "1"
  8615. return
  8616. :?:/vip::
  8617. Suspend Permit
  8618. IniRead, VIP, %Settings%, VIP, VIP, 0
  8619. if(VIP == 0)
  8620. {
  8621. VIP := 1
  8622. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist VIP User.")
  8623. }
  8624. else
  8625. {
  8626. VIP := 0
  8627. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist kein VIP User.")
  8628. }
  8629. IniWrite, %VIP%, %Settings%, VIP, VIP
  8630. return
  8631. :?:/overlay::
  8632. Suspend Permit
  8633. if(Overlay!=1)
  8634. {
  8635. Status_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, overlay_posy, 0xFFFFFFFF, "", true, false)
  8636. Ort_Ov := TextCreate("Arial", Ort_size, false, false, Ort_posx, Ort_posy, 0xFFFFFFFF, "", true, false)
  8637. HP_Ov := TextCreate("Comic Sans MS", HP_size, false, false, HP_posx, HP_posy, 0xFFFFFFFF, "", true, false)
  8638. Settimer, Ov_Update, 1500
  8639. TextSetShown(Status_Ov, 1)
  8640. TextSetShown(Ort_Ov, 1)
  8641. TextSetShown(HP_Ov, 1)
  8642. Overlay := 1
  8643. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Overlay {00FF00}eingeschaltet{FFFFFF}.")
  8644. loop 6
  8645. {
  8646. Box%A_Index% := BoxCreate(400,A_INDEX*22+100,80,20,0xBA000000,0)
  8647. boxtext%A_INDEX% := TextCreate("Arial", 6, 1, 0, 408, A_INDEX*22+105, 0xFFFFFFFF, bt%A_Index%, 0, 0)
  8648. }
  8649. BoxSetColor(Box1,0xFF000000)
  8650. BoxSetBorder(Box2,2,1)
  8651. BoxSetBorderColor(Box2,0xFFFFFFFF)
  8652. }
  8653. else
  8654. {
  8655. TextDestroy(Status_Ov)
  8656. TextDestroy(Ort_Ov)
  8657. TextDestroy(HP_Ov)
  8658. Overlay := !Overlay
  8659. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Overlay {FF0000}ausgeschaltet{FFFFFF}.")
  8660. Loop 6
  8661. {
  8662. BoxDestroy(Box%A_Index%)
  8663. TextDestroy(Box%A_Index%)
  8664. }
  8665. }
  8666. return
  8667. :?:/move overlay::
  8668. Suspend Permit
  8669. if(Overlay)
  8670. {
  8671. if(Menu_Overlay == 0 && Menu_HP == 0 && Menu_Ort == 0)
  8672. {
  8673. Menu_Overlay = 1
  8674. Menu_HP = 0
  8675. Menu_Ort = 0
  8676. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Overlay-Verschiebung ist nun möglich (Bestätigung der Einstellungen mit NumPadEnter).")
  8677. Settimer, Ov_Update, Off
  8678. SetTimer, Ov_Update, 100
  8679. }
  8680. else
  8681. {
  8682. Menu_Overlay := 0
  8683. Menu_HP := 0
  8684. Menu_Ort := 0
  8685. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Verschiebung des Overlays abgebrochen.")
  8686. Loop 6
  8687. {
  8688. BoxSetShown(Box%A_INDex%, false)
  8689. TextSetShown(boxtext%A_index%, false)
  8690. }
  8691. TextSetColor(boxtext6,0xFFFFFFFF)
  8692. Settimer, Ov_Update, Off
  8693. Settimer, Ov_Update, 1500
  8694. }
  8695. }
  8696. else
  8697. {
  8698. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Starte zunächst bitte das Overlay.")
  8699. }
  8700. return
  8701. :?:/speichern::
  8702. Suspend Permit
  8703. if(Menu_Overlay || Menu_HP || Menu_Ort)
  8704. {
  8705. IniWrite, %Overlay_size%, %Overlays%, Status Overlay, Overlay_size
  8706. IniWrite, %Overlay_posx%, %Overlays%, Status Overlay, Overlay_posx
  8707. IniWrite, %Overlay_posy%, %Overlays%, Status Overlay, Overlay_posy
  8708. IniWrite, %HP_size%, %Overlays%, HP Overlay, HP_size
  8709. IniWrite, %HP_posx%, %Overlays%, HP Overlay, HP_posx
  8710. IniWrite, %HP_posy%, %Overlays%, HP Overlay, HP_posy
  8711. IniWrite, %Ort_size%, %Overlays%, Ort Overlay, Ort_size
  8712. IniWrite, %Ort_posx%, %Overlays%, Ort Overlay, Ort_posx
  8713. IniWrite, %Ort_posy%, %Overlays%, Ort Overlay, Ort_posy
  8714. SetTimer, Ov_Update, off
  8715. TextSetString(boxtext6,"Einstellungen gespeichert")
  8716. TextSetColor(boxtext6,0xFF4DFF55)
  8717. sleep 1000
  8718. Menu_Overlay := 0
  8719. Menu_HP := 0
  8720. Menu_Ort := 0
  8721. Loop 6
  8722. {
  8723. BoxSetShown(Box%A_INDex%, false)
  8724. TextSetShown(boxtext%A_index%,false)
  8725. }
  8726. TextSetColor(boxtext6,0xFFFFFFFF)
  8727. Settimer, Ov_Update, 1500
  8728. }
  8729. return
  8730. Ov_Update:
  8731. if(WinExist("GTA:SA:MP") && WinActive("GTA:SA:MP"))
  8732. {
  8733. GetZoneName(Zone)
  8734. GetCityName(City)
  8735. MyID := GetPlayerID()
  8736. if(MyID == "65535" || MyID == "-1")
  8737. {
  8738. MyID := GetPlayerID()
  8739. if(MyID == "65535" || MyID == "-1")
  8740. {
  8741. MyID := "-"
  8742. }
  8743. }
  8744. FPS := GetFramerate()
  8745. IniRead, KillstreakRekord, %Settings%, Zähler, KillstreakRekord, 0
  8746. IniRead, Kills, %Settings%, Killzähler, Kills, 0
  8747. IniRead, Deaths, %Settings%, Todeszähler, Deaths, 0
  8748. KD := Kills / Deaths
  8749. KD := Round(KD, 2)
  8750. if(IsPlayerInAnyVehicle())
  8751. {
  8752. if(IsVehicleLocked())
  8753. {
  8754. Lockstatus := "{2EA100}Fahrzeug abgeschlossen{FFFFFF}"
  8755. }
  8756. else
  8757. {
  8758. Lockstatus := "{CC0000}Fahrzeug aufgeschlossen{FFFFFF}"
  8759. }
  8760. if(IsVehicleLightEnabled())
  8761. {
  8762. Lichtstatus := "{2EA100}Licht eingeschaltet{FFFFFF}"
  8763. }
  8764. else
  8765. {
  8766. Lichtstatus := "{CC0000}Licht ausgeschaltet{FFFFFF}"
  8767. }
  8768. GetVehicleModelName(FahrzeugName)
  8769. CarDL := GetVehicleHealth()
  8770. CarDL := floor(CarDL)
  8771. FahrzeugHealth := (CarDL / 1000)*100
  8772. FahrzeugHealth := floor(FahrzeugHealth)
  8773. TextSetString(Status_Ov, "{0066FF}Spieler Informationen{FFFFFF}`n{FFBB00}" . Name . "{FFFFFF} (ID: {FFBB00}" MyID "{FFFFFF}) (FPS: {FFBB00}" FPS "{FFFFFF}) `nLeben: {FFBB00}"HP "{FFFFFF} `n`n{0066FF}Fahrzeug Informationen{FFFFFF} ({0066FF}" . FahrzeugName . "{FFFFFF}) `nLock-Status: " . Lockstatus . "{FFFFFF} `nLicht-Status: " . Lichtstatus . "`n{FFFFFF}Fahrzeugzustand: {FFBB00}" . FahrzeugHealth "{FFFFFF}% ( {FFBB00}" . CarDL . "{FFFFFF} CarDL) `n`nFischen: {FFBB00}" Fishoverlay "{FFFFFF} `nErste-Hilfe: {FFBB00}" ErsteHilfeOverlay "{FFFFFF} `nKrankenhaus: {FFBB00}" KrankenhausOverlay "{FFFFFF} `n`nKills: {FFBB00}" Kills "{FFFFFF} `nTode: {FFBB00}" Deaths "{FFFFFF} `nK/D: {FFBB00}" KD "{FFFFFF} `nAktueller Killstreak: {FFBB00}" Killstreak "{FFFFFF} `nHöchsterKillstreak: {FFBB00}" KillstreakRekord "{FFFFFF}")
  8774. }
  8775. else
  8776. {
  8777. TextSetString(Status_Ov, "{0066FF}Spieler Informationen{FFFFFF}`n{FFBB00}" . Name . "{FFFFFF} (ID: {FFBB00}" MyID "{FFFFFF}) (FPS: {FFBB00}" FPS "{FFFFFF}) `nLeben: {FFBB00}"HP "{FFFFFF} `n`nFischen: {FFBB00}" Fishoverlay "{FFFFFF} `nErste-Hilfe: {FFBB00}" ErsteHilfeOverlay "{FFFFFF} `nKrankenhaus: {FFBB00}" KrankenhausOverlay "{FFFFFF} `n`nKills: {FFBB00}" Kills "{FFFFFF} `nTode: {FFBB00}" Deaths "{FFFFFF} `nK/D: {FFBB00}" KD "{FFFFFF} `nAktueller Killstreak: {FFBB00}" Killstreak "{FFFFFF} `nHöchsterKillstreak: {FFBB00}" KillstreakRekord "{FFFFFF}")
  8778. }
  8779. TextSetString(HP_Ov, "" . HP . "")
  8780. GetPlayerPosition(x, y, z, r)
  8781. If(IsPlayerInAnyInterior())
  8782. {
  8783. If(x > 318.199036 && x < 388.445953 && y > 148.873856 && y < 217.235733)
  8784. {
  8785. TextSetString(Ort_Ov, "Stadthalle")
  8786. TextSetColor(Ortt_Ov, 0xFFFF0000)
  8787. }
  8788. else
  8789. {
  8790. TextSetString(Ort_Ov, "Interior")
  8791. TextSetColor(Ort_Ov, 0xFF0000FF)
  8792. }
  8793. }
  8794. else
  8795. {
  8796. TextSetString(Ort_Ov, "" . zone . ", " . city . "")
  8797. If(IsPlayerInNoDM(x, y, z))
  8798. {
  8799. TextSetColor(Ort_Ov, 0xFFFF0000)
  8800. }
  8801. else
  8802. {
  8803. TextSetColor(Ort_Ov, 0xFFFFFFFF)
  8804. }
  8805. }
  8806. if(Menu_Overlay || Menu_HP || Menu_Ort)
  8807. {
  8808. bt1 := "Overlay by Bender"
  8809. if(Menu_Overlay)
  8810. {
  8811. bt2 := "Overlay: {8C8C8C} Status"
  8812. bt3 := "Size: {8C8C8C}" overlay_size
  8813. bt4 := "X: {8C8C8C}" overlay_posx
  8814. bt5 := "Y: {8C8C8C}" overlay_posy
  8815. }
  8816. else if(Menu_HP)
  8817. {
  8818. bt2 := "Overlay: {8C8C8C} HP"
  8819. bt3 := "Size: {8C8C8C}" HP_size
  8820. bt4 := "X: {8C8C8C}" HP_posx
  8821. bt5 := "Y: {8C8C8C}" HP_posy
  8822. }
  8823. else if(Menu_Ort)
  8824. {
  8825. bt2 := "Overlay: {8C8C8C} Ort"
  8826. bt3 := "Size: {8C8C8C}" Ort_size
  8827. bt4 := "X: {8C8C8C}" Ort_posx
  8828. bt5 := "Y: {8C8C8C}" Ort_posy
  8829. }
  8830. bt6 := "Einstellungen speichern"
  8831. Loop,6
  8832. {
  8833. TextSetString(Boxtext%A_Index%,bt%A_Index%)
  8834. BoxSetShown(Box%A_INDex%, 1)
  8835. TextSetShown(boxtext%A_index%,1)
  8836. }
  8837. if switcher = 2
  8838. {
  8839. BoxSetBorder(Box2,2,1)
  8840. BoxSetBorder(Box3,2,0)
  8841. BoxSetBorder(Box6,2,0)
  8842. BoxSetBorderColor(Box2,0xFFFFFFFF)
  8843. }
  8844. if switcher = 3
  8845. {
  8846. BoxSetBorder(Box2,2,0)
  8847. BoxSetBorder(Box3,2,1)
  8848. BoxSetBorder(Box4,2,0)
  8849. BoxSetBorderColor(Box3,0xFFFFFFFF)
  8850. }
  8851. if switcher = 4
  8852. {
  8853. BoxSetBorder(Box3,2,0)
  8854. BoxSetBorder(Box4,2,4)
  8855. BoxSetBorder(Box5,2,0)
  8856. BoxSetBorderColor(Box4,0xFFFFFFFF)
  8857. }
  8858. if switcher = 5
  8859. {
  8860. BoxSetBorder(Box4,2,0)
  8861. BoxSetBorder(Box5,2,1)
  8862. BoxSetBorder(Box6,2,0)
  8863. BoxSetBorderColor(Box5,0xFFFFFFFF)
  8864. }
  8865. if switcher = 6
  8866. {
  8867. BoxSetBorder(Box2,2,0)
  8868. BoxSetBorder(Box5,2,0)
  8869. BoxSetBorder(Box6,2,1)
  8870. BoxSetBorderColor(Box6,0xFFFFFFFF)
  8871. }
  8872. if switcher > 6
  8873. switcher = 2
  8874. if switcher < 2
  8875. switcher = 6
  8876. }
  8877. if (!Menu_Overlay && !Menu_HP && !Menu_Ort)
  8878. {
  8879. Loop,6
  8880. {
  8881. BoxSetShown(Box%A_INDex%, false)
  8882. TextSetShown(boxtext%A_index%, false)
  8883. }
  8884. }
  8885. }
  8886. return
  8887. ~Up::
  8888. if (IsChatOpen() == 1 || IsDialogOpen == 1)
  8889. return
  8890. if(Menu_Overlay || Menu_HP || Menu_Ort)
  8891. {
  8892. switcher--
  8893. }
  8894. return
  8895. ~Down::
  8896. if (IsChatOpen() == 1 || IsDialogOpen == 1)
  8897. return
  8898. if(Menu_Overlay || Menu_HP || Menu_Ort)
  8899. {
  8900. switcher++
  8901. }
  8902. return
  8903. ~left::
  8904. if (IsChatOpen() == 1 || IsDialogOpen == 1)
  8905. return
  8906. if Menu_Overlay
  8907. {
  8908. if(Switcher == 2)
  8909. {
  8910. Menu_Overlay := 0
  8911. Menu_Ort := 1
  8912. Menu_HP := 0
  8913. }
  8914. if(Switcher == 3)
  8915. {
  8916. overlay_size--
  8917. TextUpdate(Status_Ov, "Arial", overlay_size, 1, 0)
  8918. }
  8919. if(Switcher == 4)
  8920. {
  8921. overlay_posx--
  8922. TextSetPos(Status_Ov, Overlay_posx, Overlay_posy)
  8923. }
  8924. if(Switcher == 5)
  8925. {
  8926. overlay_posy--
  8927. TextSetPos(Status_Ov, Overlay_posx, Overlay_posy)
  8928. }
  8929. }
  8930. else if(Menu_HP)
  8931. {
  8932. if(Switcher == 2)
  8933. {
  8934. Menu_Overlay := 1
  8935. Menu_Ort := 0
  8936. Menu_HP := 0
  8937. }
  8938. if(Switcher == 3)
  8939. {
  8940. HP_size--
  8941. TextUpdate(HP_Ov, "Comic Sans MS", HP_size, 1, 0)
  8942. }
  8943. if(Switcher == 4)
  8944. {
  8945. HP_posx--
  8946. TextSetPos(HP_Ov, HP_posx, HP_posy)
  8947. }
  8948. if(Switcher == 5)
  8949. {
  8950. HP_posy--
  8951. TextSetPos(HP_Ov, HP_posx, HP_posy)
  8952. }
  8953. }
  8954. else if(Menu_Ort)
  8955. {
  8956. if(Switcher == 2)
  8957. {
  8958. Menu_Overlay := 0
  8959. Menu_Ort := 0
  8960. Menu_HP := 1
  8961. }
  8962. if(Switcher == 3)
  8963. {
  8964. Ort_size--
  8965. TextUpdate(Ort_Ov, "Arial", Ort_size, 1, 0)
  8966. }
  8967. if(Switcher == 4)
  8968. {
  8969. Ort_posx--
  8970. TextSetPos(Ort_Ov, Ort_posx, Ort_posy)
  8971. }
  8972. if(Switcher == 5)
  8973. {
  8974. Ort_posy--
  8975. TextSetPos(Ort_Ov, Ort_posx, Ort_posy)
  8976. }
  8977. }
  8978. return
  8979. ~right::
  8980. if (IsChatOpen() == 1 || IsDialogOpen == 1)
  8981. return
  8982. if Menu_Overlay
  8983. {
  8984. if(Switcher == 2)
  8985. {
  8986. Menu_Overlay := 0
  8987. Menu_Ort := 0
  8988. Menu_HP := 1
  8989. }
  8990. if(Switcher == 3)
  8991. {
  8992. overlay_size++
  8993. TextUpdate(Status_Ov, "Arial", overlay_size, 1, 0)
  8994. }
  8995. if(Switcher == 4)
  8996. {
  8997. overlay_posx++
  8998. TextSetPos(Status_Ov, Overlay_posx, Overlay_posy)
  8999. }
  9000. if(Switcher == 5)
  9001. {
  9002. overlay_posy++
  9003. TextSetPos(Status_Ov, Overlay_posx, Overlay_posy)
  9004. }
  9005. }
  9006. else if(Menu_HP)
  9007. {
  9008. if(Switcher == 2)
  9009. {
  9010. Menu_Overlay := 0
  9011. Menu_Ort := 1
  9012. Menu_HP := 0
  9013. }
  9014. if(Switcher == 3)
  9015. {
  9016. HP_size++
  9017. TextUpdate(HP_Ov, "Comic Sans MS", HP_size, 1, 0)
  9018. }
  9019. if(Switcher == 4)
  9020. {
  9021. HP_posx++
  9022. TextSetPos(HP_Ov, HP_posx, HP_posy)
  9023. }
  9024. if(Switcher == 5)
  9025. {
  9026. HP_posy++
  9027. TextSetPos(HP_Ov, HP_posx, HP_posy)
  9028. }
  9029. }
  9030. else if(Menu_Ort)
  9031. {
  9032. if(Switcher == 2)
  9033. {
  9034. Menu_Overlay := 1
  9035. Menu_Ort := 0
  9036. Menu_HP := 0
  9037. }
  9038. if(Switcher == 3)
  9039. {
  9040. Ort_size++
  9041. TextUpdate(Ort_Ov, "Arial", Ort_size, 1, 0)
  9042. }
  9043. if(Switcher == 4)
  9044. {
  9045. Ort_posx++
  9046. TextSetPos(Ort_Ov, Ort_posx, Ort_posy)
  9047. }
  9048. if(Switcher == 5)
  9049. {
  9050. Ort_posy++
  9051. TextSetPos(Ort_Ov, Ort_posx, Ort_posy)
  9052. }
  9053. }
  9054. return
  9055. IsPlayerInNoDM(x, y, z)
  9056. {
  9057. result := ""
  9058. if(x<1561.5 && x>1387.8 && y<-1727.6 && y>-1870)
  9059. {
  9060. result := 1
  9061. }
  9062. else if(x>1688.8 && x<1820.8 && y<-1859.5 && y>-1961.2)
  9063. {
  9064. result := 1
  9065. }
  9066. return result
  9067. }
  9068. :?:/radiohelp::
  9069. Suspend Permit
  9070. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Hilfe: Radio")
  9071. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}/gtapop, /gtarock, /gtahiphop, /gtadubstep, /gtatechno")
  9072. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}/iloveradio, /ilovetodance, /ilovethedome, /iloveyou, /ilovemashup")
  9073. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}/stream (Eigener Stream)")
  9074. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}/radioaus")
  9075. return
  9076. :?:/gtapop::
  9077. Suspend Permit
  9078. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio Pop.")
  9079. goto Radio_GTA_Pop
  9080. return
  9081. :?:/gtarock::
  9082. Suspend Permit
  9083. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio Rock.")
  9084. goto Radio_GTA_Rock
  9085. return
  9086. :?:/gtahiphop::
  9087. Suspend Permit
  9088. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio HipHop.")
  9089. goto Radio_GTA_HipHop
  9090. return
  9091. :?:/gtadubstep::
  9092. Suspend Permit
  9093. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio Dubstep.")
  9094. goto Radio_GTA_Dubstep
  9095. return
  9096. :?:/gtatechno::
  9097. Suspend Permit
  9098. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio Techno.")
  9099. goto Radio_GTA_Techno
  9100. return
  9101. :?:/iloveradio::
  9102. Suspend Permit
  9103. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love Radio.")
  9104. Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen.m3u,, Hide
  9105. return
  9106. :?:/ilovetodance::
  9107. Suspend Permit
  9108. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love 2 Dance.")
  9109. Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen2.m3u,, Hide
  9110. return
  9111. :?:/ilovethedome::
  9112. Suspend Permit
  9113. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love The Dome.")
  9114. Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen3.m3u,, Hide
  9115. return
  9116. :?:/iloveyou::
  9117. Suspend Permit
  9118. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love You.")
  9119. Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen4.m3u,, Hide
  9120. return
  9121. :?:/ilovemashup::
  9122. Suspend Permit
  9123. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love Mashup Radio.")
  9124. Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen5.m3u,, Hide
  9125. return
  9126. :?:/stream::
  9127. Suspend Permit
  9128. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun Ihren {FFD700}eigenen Stream.")
  9129. IniRead, EigenerStream, %settings%, Radio, Eigener Stream
  9130. Run %A_programfiles%\Windows Media Player\wmplayer.exe  %EigenerStream%,, Hide
  9131. return
  9132. :?:/radioaus::
  9133. Suspend Permit
  9134. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie haben das Radio {FF0000}ausgeschaltet.")
  9135. goto Radio_aus
  9136. return
  9137. :?:/rmpos::
  9138. Suspend Permit
  9139. exe := OpenMemoryfromTitle_("GTA:SA:MP")
  9140. posX := ReadMemory_(exe,0xC7DEC8,"Float")
  9141. posY := ReadMemory_(exe,0xC7DECC,"Float")
  9142. posZ := ReadMemory_(exe, 0xC7DED0,"Float")
  9143. CloseMemory_(exe)
  9144. posX := Floor(posX)
  9145. posY := Floor(posY)
  9146. posZ := Floor(posZ)
  9147. Zone := GetZoneByCoords(posX, posY, posZ)
  9148. City := GetCityByCoords(posX, posY, posZ)
  9149. Entfernung := GetDistanceFromPoint(posX, posY, posZ)
  9150. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Marker befindet sich in {FFBB00}" . Zone . "{FFFFFF}, {FFBB00}" . City . "{FFFFFF}.")
  9151. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Die Entfernung beträgt {FFBB00}" . Entfernung . "{FFFFFF}m.")
  9152. return
  9153. GetCityByCoords(posX, posY, posZ)
  9154. {
  9155. if (posX >= 685.0) and (posY >= 476.093) and (posZ >= -500.0) and (posX <= 3000.0) and (posY <= 3000.0) and (posZ <= 500.0)
  9156. {
  9157. CityName := "Las Venturas"
  9158. }
  9159. 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)
  9160. {
  9161. CityName := "San Fierro"
  9162. }
  9163. 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)
  9164. {
  9165. CityName := "San Fierro"
  9166. }
  9167. 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)
  9168. {
  9169. CityName := "San Fierro"
  9170. }
  9171. 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)
  9172. {
  9173. CityName := "Los Santos"
  9174. }
  9175. 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)
  9176. {
  9177. CityName := "Los Santos"
  9178. }
  9179. 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)
  9180. {
  9181. CityName := "Tierra Robada"
  9182. }
  9183. 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)
  9184. {
  9185. CityName := "Red County"
  9186. }
  9187. 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)
  9188. {
  9189. CityName := "Flint County"
  9190. }
  9191. 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)
  9192. {
  9193. CityName := "Whetstone"
  9194. }
  9195. else
  9196. {
  9197. CityName := "Unbekannt"
  9198. }
  9199. return CityName
  9200. }
  9201. GetZoneByCoords(posX, posY, posZ)
  9202. {
  9203. if (posX >= -2667.810) and (posY >= -302.135) and (posZ >= -28.831) and (posX <= -2646.400) and (posY <= -262.320) and (posZ <= 71.169)
  9204. {
  9205. ZoneName := "Avispa Country Club"
  9206. }
  9207. 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)
  9208. {
  9209. ZoneName := "Easter Bay Airport"
  9210. }
  9211. 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)
  9212. {
  9213. ZoneName := "Avispa Country Club"
  9214. }
  9215. 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)
  9216. {
  9217. ZoneName := "Easter Bay Airport"
  9218. }
  9219. 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)
  9220. {
  9221. ZoneName := "Garcia"
  9222. }
  9223. 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)
  9224. {
  9225. ZoneName := "Shady Cabin"
  9226. }
  9227. 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)
  9228. {
  9229. ZoneName := "East Los Santos"
  9230. }
  9231. 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)
  9232. {
  9233. ZoneName := "LVA Freight Depot"
  9234. }
  9235. 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)
  9236. {
  9237. ZoneName := "Blackfield Intersection"
  9238. }
  9239. 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)
  9240. {
  9241. ZoneName := "Avispa Country Club"
  9242. }
  9243. 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)
  9244. {
  9245. ZoneName := "Temple"
  9246. }
  9247. 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)
  9248. {
  9249. ZoneName := "Unity Station"
  9250. }
  9251. 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)
  9252. {
  9253. ZoneName := "LVA Freight Depot"
  9254. }
  9255. 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)
  9256. {
  9257. ZoneName := "Los Flores"
  9258. }
  9259. 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)
  9260. {
  9261. ZoneName := "Starfish Casino"
  9262. }
  9263. 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)
  9264. {
  9265. ZoneName := "Easter Bay Chemicals"
  9266. }
  9267. 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)
  9268. {
  9269. ZoneName := "Downtown Los Santos"
  9270. }
  9271. 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)
  9272. {
  9273. ZoneName := "Esplanade East"
  9274. }
  9275. 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)
  9276. {
  9277. ZoneName := "Market Station"
  9278. }
  9279. 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)
  9280. {
  9281. ZoneName := "Linden Station"
  9282. }
  9283. 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)
  9284. {
  9285. ZoneName := "Montgomery Intersection"
  9286. }
  9287. 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)
  9288. {
  9289. ZoneName := "Frederick Bridge"
  9290. }
  9291. 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)
  9292. {
  9293. ZoneName := "Yellow Bell Station"
  9294. }
  9295. 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)
  9296. {
  9297. ZoneName := "Downtown Los Santos"
  9298. }
  9299. 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)
  9300. {
  9301. ZoneName := "Jefferson"
  9302. }
  9303. 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)
  9304. {
  9305. ZoneName := "Mulholland"
  9306. }
  9307. 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)
  9308. {
  9309. ZoneName := "Avispa Country Club"
  9310. }
  9311. 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)
  9312. {
  9313. ZoneName := "Jefferson"
  9314. }
  9315. 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)
  9316. {
  9317. ZoneName := "Julius Thruway West"
  9318. }
  9319. 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)
  9320. {
  9321. ZoneName := "Jefferson"
  9322. }
  9323. 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)
  9324. {
  9325. ZoneName := "Julius Thruway North"
  9326. }
  9327. 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)
  9328. {
  9329. ZoneName := "Rodeo"
  9330. }
  9331. 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)
  9332. {
  9333. ZoneName := "Cranberry Station"
  9334. }
  9335. 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)
  9336. {
  9337. ZoneName := "Downtown Los Santos"
  9338. }
  9339. 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)
  9340. {
  9341. ZoneName := "Redsands West"
  9342. }
  9343. 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)
  9344. {
  9345. ZoneName := "Little Mexico"
  9346. }
  9347. 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)
  9348. {
  9349. ZoneName := "Blackfield Intersection"
  9350. }
  9351. 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)
  9352. {
  9353. ZoneName := "Los Santos International"
  9354. }
  9355. 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)
  9356. {
  9357. ZoneName := "Beacon Hill"
  9358. }
  9359. 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)
  9360. {
  9361. ZoneName := "Rodeo"
  9362. }
  9363. 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)
  9364. {
  9365. ZoneName := "Richman"
  9366. }
  9367. 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)
  9368. {
  9369. ZoneName := "Downtown Los Santos"
  9370. }
  9371. 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)
  9372. {
  9373. ZoneName := "The Strip"
  9374. }
  9375. 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)
  9376. {
  9377. ZoneName := "Downtown Los Santos"
  9378. }
  9379. 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)
  9380. {
  9381. ZoneName := "Blackfield Intersection"
  9382. }
  9383. 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)
  9384. {
  9385. ZoneName := "Conference Center"
  9386. }
  9387. 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)
  9388. {
  9389. ZoneName := "Montgomery"
  9390. }
  9391. 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)
  9392. {
  9393. ZoneName := "Foster Valley"
  9394. }
  9395. 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)
  9396. {
  9397. ZoneName := "Blackfield Chapel"
  9398. }
  9399. 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)
  9400. {
  9401. ZoneName := "Los Santos International"
  9402. }
  9403. 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)
  9404. {
  9405. ZoneName := "Mulholland"
  9406. }
  9407. 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)
  9408. {
  9409. ZoneName := "Yellow Bell Gol Course"
  9410. }
  9411. 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)
  9412. {
  9413. ZoneName := "The Strip"
  9414. }
  9415. 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)
  9416. {
  9417. ZoneName := "Jefferson"
  9418. }
  9419. 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)
  9420. {
  9421. ZoneName := "Mulholland"
  9422. }
  9423. 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)
  9424. {
  9425. ZoneName := "Aldea Malvada"
  9426. }
  9427. 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)
  9428. {
  9429. ZoneName := "Las Colinas"
  9430. }
  9431. 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)
  9432. {
  9433. ZoneName := "Las Colinas"
  9434. }
  9435. 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)
  9436. {
  9437. ZoneName := "Richman"
  9438. }
  9439. 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)
  9440. {
  9441. ZoneName := "LVA Freight Depot"
  9442. }
  9443. 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)
  9444. {
  9445. ZoneName := "Julius Thruway North"
  9446. }
  9447. 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)
  9448. {
  9449. ZoneName := "Willowfield"
  9450. }
  9451. 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)
  9452. {
  9453. ZoneName := "Julius Thruway North"
  9454. }
  9455. 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)
  9456. {
  9457. ZoneName := "Temple"
  9458. }
  9459. 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)
  9460. {
  9461. ZoneName := "Little Mexico"
  9462. }
  9463. 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)
  9464. {
  9465. ZoneName := "Queens"
  9466. }
  9467. 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)
  9468. {
  9469. ZoneName := "Las Venturas Airport"
  9470. }
  9471. 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)
  9472. {
  9473. ZoneName := "Richman"
  9474. }
  9475. 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)
  9476. {
  9477. ZoneName := "Temple"
  9478. }
  9479. 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)
  9480. {
  9481. ZoneName := "East Los Santos"
  9482. }
  9483. 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)
  9484. {
  9485. ZoneName := "Julius Thruway East"
  9486. }
  9487. 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)
  9488. {
  9489. ZoneName := "Willowfield"
  9490. }
  9491. 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)
  9492. {
  9493. ZoneName := "Las Colinas"
  9494. }
  9495. 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)
  9496. {
  9497. ZoneName := "Julius Thruway East"
  9498. }
  9499. 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)
  9500. {
  9501. ZoneName := "Rodeo"
  9502. }
  9503. 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)
  9504. {
  9505. ZoneName := "Las Brujas"
  9506. }
  9507. 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)
  9508. {
  9509. ZoneName := "Julius Thruway East"
  9510. }
  9511. 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)
  9512. {
  9513. ZoneName := "Rodeo"
  9514. }
  9515. 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)
  9516. {
  9517. ZoneName := "Vinewood"
  9518. }
  9519. 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)
  9520. {
  9521. ZoneName := "Rodeo"
  9522. }
  9523. 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)
  9524. {
  9525. ZoneName := "Julius Thruway North"
  9526. }
  9527. 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)
  9528. {
  9529. ZoneName := "Downtown Los Santos"
  9530. }
  9531. 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)
  9532. {
  9533. ZoneName := "Rodeo"
  9534. }
  9535. 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)
  9536. {
  9537. ZoneName := "Jefferson"
  9538. }
  9539. 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)
  9540. {
  9541. ZoneName := "Hampton Barns"
  9542. }
  9543. 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)
  9544. {
  9545. ZoneName := "Temple"
  9546. }
  9547. 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)
  9548. {
  9549. ZoneName := "Kincaid Bridge"
  9550. }
  9551. 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)
  9552. {
  9553. ZoneName := "Verona Beach"
  9554. }
  9555. 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)
  9556. {
  9557. ZoneName := "Commerce"
  9558. }
  9559. 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)
  9560. {
  9561. ZoneName := "Mulholland"
  9562. }
  9563. 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)
  9564. {
  9565. ZoneName := "Rodeo"
  9566. }
  9567. 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)
  9568. {
  9569. ZoneName := "Mulholland"
  9570. }
  9571. 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)
  9572. {
  9573. ZoneName := "Mulholland"
  9574. }
  9575. 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)
  9576. {
  9577. ZoneName := "Julius Thruway South"
  9578. }
  9579. 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)
  9580. {
  9581. ZoneName := "Idlewood"
  9582. }
  9583. 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)
  9584. {
  9585. ZoneName := "Ocean Docks"
  9586. }
  9587. 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)
  9588. {
  9589. ZoneName := "Commerce"
  9590. }
  9591. 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)
  9592. {
  9593. ZoneName := "Julius Thruway North"
  9594. }
  9595. 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)
  9596. {
  9597. ZoneName := "Temple"
  9598. }
  9599. 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)
  9600. {
  9601. ZoneName := "Glen Park"
  9602. }
  9603. 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)
  9604. {
  9605. ZoneName := "Easter Bay Airport"
  9606. }
  9607. 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)
  9608. {
  9609. ZoneName := "Martin Bridge"
  9610. }
  9611. 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)
  9612. {
  9613. ZoneName := "The Strip"
  9614. }
  9615. 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)
  9616. {
  9617. ZoneName := "Willowfield"
  9618. }
  9619. 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)
  9620. {
  9621. ZoneName := "Marina"
  9622. }
  9623. 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)
  9624. {
  9625. ZoneName := "Las Venturas Airport"
  9626. }
  9627. 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)
  9628. {
  9629. ZoneName := "Idlewood"
  9630. }
  9631. 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)
  9632. {
  9633. ZoneName := "Esplanade East"
  9634. }
  9635. 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)
  9636. {
  9637. ZoneName := "Downtown Los Santos"
  9638. }
  9639. 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)
  9640. {
  9641. ZoneName := "The Mako Span"
  9642. }
  9643. 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)
  9644. {
  9645. ZoneName := "Rodeo"
  9646. }
  9647. 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)
  9648. {
  9649. ZoneName := "Pershing Square"
  9650. }
  9651. 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)
  9652. {
  9653. ZoneName := "Mulholland"
  9654. }
  9655. 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)
  9656. {
  9657. ZoneName := "Gant Bridge"
  9658. }
  9659. 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)
  9660. {
  9661. ZoneName := "Las Colinas"
  9662. }
  9663. 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)
  9664. {
  9665. ZoneName := "Mulholland"
  9666. }
  9667. 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)
  9668. {
  9669. ZoneName := "Julius Thruway North"
  9670. }
  9671. 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)
  9672. {
  9673. ZoneName := "Commerce"
  9674. }
  9675. 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)
  9676. {
  9677. ZoneName := "Rodeo"
  9678. }
  9679. 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)
  9680. {
  9681. ZoneName := "Roca Escalante"
  9682. }
  9683. 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)
  9684. {
  9685. ZoneName := "Rodeo"
  9686. }
  9687. 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)
  9688. {
  9689. ZoneName := "Market"
  9690. }
  9691. 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)
  9692. {
  9693. ZoneName := "Las Colinas"
  9694. }
  9695. 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)
  9696. {
  9697. ZoneName := "Mulholland"
  9698. }
  9699. 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)
  9700. {
  9701. ZoneName := "King's"
  9702. }
  9703. 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)
  9704. {
  9705. ZoneName := "Redsands East"
  9706. }
  9707. 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)
  9708. {
  9709. ZoneName := "Downtown"
  9710. }
  9711. 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)
  9712. {
  9713. ZoneName := "Conference Center"
  9714. }
  9715. 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)
  9716. {
  9717. ZoneName := "Richman"
  9718. }
  9719. 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)
  9720. {
  9721. ZoneName := "Ocean Flats"
  9722. }
  9723. 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)
  9724. {
  9725. ZoneName := "Greenglass College"
  9726. }
  9727. 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)
  9728. {
  9729. ZoneName := "Glen Park"
  9730. }
  9731. 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)
  9732. {
  9733. ZoneName := "LVA Freight Depot"
  9734. }
  9735. 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)
  9736. {
  9737. ZoneName := "Regular Tom"
  9738. }
  9739. 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)
  9740. {
  9741. ZoneName := "Verona Beach"
  9742. }
  9743. 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)
  9744. {
  9745. ZoneName := "East Los Santos"
  9746. }
  9747. 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)
  9748. {
  9749. ZoneName := "Caligula's Palace"
  9750. }
  9751. 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)
  9752. {
  9753. ZoneName := "Idlewood"
  9754. }
  9755. 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)
  9756. {
  9757. ZoneName := "Pilgrim"
  9758. }
  9759. 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)
  9760. {
  9761. ZoneName := "Idlewood"
  9762. }
  9763. 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)
  9764. {
  9765. ZoneName := "Queens"
  9766. }
  9767. 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)
  9768. {
  9769. ZoneName := "Downtown"
  9770. }
  9771. 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)
  9772. {
  9773. ZoneName := "Commerce"
  9774. }
  9775. 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)
  9776. {
  9777. ZoneName := "East Los Santos"
  9778. }
  9779. 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)
  9780. {
  9781. ZoneName := "Marina"
  9782. }
  9783. 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)
  9784. {
  9785. ZoneName := "Richman"
  9786. }
  9787. 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)
  9788. {
  9789. ZoneName := "Vinewood"
  9790. }
  9791. 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)
  9792. {
  9793. ZoneName := "East Los Santos"
  9794. }
  9795. 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)
  9796. {
  9797. ZoneName := "Rodeo"
  9798. }
  9799. 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)
  9800. {
  9801. ZoneName := "Easter Tunnel"
  9802. }
  9803. 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)
  9804. {
  9805. ZoneName := "Rodeo"
  9806. }
  9807. 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)
  9808. {
  9809. ZoneName := "Redsands East"
  9810. }
  9811. 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)
  9812. {
  9813. ZoneName := "The Clown's Pocket"
  9814. }
  9815. 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)
  9816. {
  9817. ZoneName := "Idlewood"
  9818. }
  9819. 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)
  9820. {
  9821. ZoneName := "Montgomery Intersection"
  9822. }
  9823. 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)
  9824. {
  9825. ZoneName := "Willowfield"
  9826. }
  9827. 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)
  9828. {
  9829. ZoneName := "Temple"
  9830. }
  9831. 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)
  9832. {
  9833. ZoneName := "Prickle Pine"
  9834. }
  9835. 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)
  9836. {
  9837. ZoneName := "Los Santos International"
  9838. }
  9839. 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)
  9840. {
  9841. ZoneName := "Garver Bridge"
  9842. }
  9843. 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)
  9844. {
  9845. ZoneName := "Garver Bridge"
  9846. }
  9847. 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)
  9848. {
  9849. ZoneName := "Kincaid Bridge"
  9850. }
  9851. 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)
  9852. {
  9853. ZoneName := "Kincaid Bridge"
  9854. }
  9855. 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)
  9856. {
  9857. ZoneName := "Verona Beach"
  9858. }
  9859. 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)
  9860. {
  9861. ZoneName := "Verdant Bluffs"
  9862. }
  9863. 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)
  9864. {
  9865. ZoneName := "Vinewood"
  9866. }
  9867. 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)
  9868. {
  9869. ZoneName := "Vinewood"
  9870. }
  9871. 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)
  9872. {
  9873. ZoneName := "Commerce"
  9874. }
  9875. 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)
  9876. {
  9877. ZoneName := "Market"
  9878. }
  9879. 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)
  9880. {
  9881. ZoneName := "Rockshore West"
  9882. }
  9883. 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)
  9884. {
  9885. ZoneName := "Julius Thruway North"
  9886. }
  9887. 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)
  9888. {
  9889. ZoneName := "East Beach"
  9890. }
  9891. 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)
  9892. {
  9893. ZoneName := "Fallow Bridge"
  9894. }
  9895. 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)
  9896. {
  9897. ZoneName := "Willowfield"
  9898. }
  9899. 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)
  9900. {
  9901. ZoneName := "Chinatown"
  9902. }
  9903. 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)
  9904. {
  9905. ZoneName := "El Castillo del Diablo"
  9906. }
  9907. 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)
  9908. {
  9909. ZoneName := "Ocean Docks"
  9910. }
  9911. 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)
  9912. {
  9913. ZoneName := "Easter Bay Chemicals"
  9914. }
  9915. 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)
  9916. {
  9917. ZoneName := "The Visage"
  9918. }
  9919. 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)
  9920. {
  9921. ZoneName := "Ocean Flats"
  9922. }
  9923. 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)
  9924. {
  9925. ZoneName := "Richman"
  9926. }
  9927. 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)
  9928. {
  9929. ZoneName := "Green Palms"
  9930. }
  9931. 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)
  9932. {
  9933. ZoneName := "Richman"
  9934. }
  9935. 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)
  9936. {
  9937. ZoneName := "Starfish Casino"
  9938. }
  9939. 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)
  9940. {
  9941. ZoneName := "East Beach"
  9942. }
  9943. 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)
  9944. {
  9945. ZoneName := "Jefferson"
  9946. }
  9947. 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)
  9948. {
  9949. ZoneName := "Downtown Los Santos"
  9950. }
  9951. 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)
  9952. {
  9953. ZoneName := "Downtown Los Santos"
  9954. }
  9955. 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)
  9956. {
  9957. ZoneName := "Garver Bridge"
  9958. }
  9959. 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)
  9960. {
  9961. ZoneName := "Julius Thruway South"
  9962. }
  9963. 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)
  9964. {
  9965. ZoneName := "East Los Santos"
  9966. }
  9967. 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)
  9968. {
  9969. ZoneName := "Greenglass College"
  9970. }
  9971. 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)
  9972. {
  9973. ZoneName := "Las Colinas"
  9974. }
  9975. 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)
  9976. {
  9977. ZoneName := "Mulholland"
  9978. }
  9979. 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)
  9980. {
  9981. ZoneName := "Ocean Docks"
  9982. }
  9983. 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)
  9984. {
  9985. ZoneName := "East Los Santos"
  9986. }
  9987. 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)
  9988. {
  9989. ZoneName := "Ganton"
  9990. }
  9991. 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)
  9992. {
  9993. ZoneName := "Avispa Country Club"
  9994. }
  9995. 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)
  9996. {
  9997. ZoneName := "Willowfield"
  9998. }
  9999. 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)
  10000. {
  10001. ZoneName := "Esplanade North"
  10002. }
  10003. 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)
  10004. {
  10005. ZoneName := "The High Roller"
  10006. }
  10007. 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)
  10008. {
  10009. ZoneName := "Ocean Docks"
  10010. }
  10011. 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)
  10012. {
  10013. ZoneName := "Last Dime Motel"
  10014. }
  10015. 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)
  10016. {
  10017. ZoneName := "Bayside Marina"
  10018. }
  10019. 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)
  10020. {
  10021. ZoneName := "King's"
  10022. }
  10023. 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)
  10024. {
  10025. ZoneName := "El Corona"
  10026. }
  10027. 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)
  10028. {
  10029. ZoneName := "Blackfield Chapel"
  10030. }
  10031. 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)
  10032. {
  10033. ZoneName := "The Pink Swan"
  10034. }
  10035. 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)
  10036. {
  10037. ZoneName := "Julius Thruway West"
  10038. }
  10039. 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)
  10040. {
  10041. ZoneName := "Los Flores"
  10042. }
  10043. 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)
  10044. {
  10045. ZoneName := "The Visage"
  10046. }
  10047. 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)
  10048. {
  10049. ZoneName := "Prickle Pine"
  10050. }
  10051. 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)
  10052. {
  10053. ZoneName := "Verona Beach"
  10054. }
  10055. 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)
  10056. {
  10057. ZoneName := "Robada Intersection"
  10058. }
  10059. 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)
  10060. {
  10061. ZoneName := "Linden Side"
  10062. }
  10063. 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)
  10064. {
  10065. ZoneName := "Ocean Docks"
  10066. }
  10067. 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)
  10068. {
  10069. ZoneName := "Willowfield"
  10070. }
  10071. 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)
  10072. {
  10073. ZoneName := "King's"
  10074. }
  10075. 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)
  10076. {
  10077. ZoneName := "Commerce"
  10078. }
  10079. 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)
  10080. {
  10081. ZoneName := "Mulholland"
  10082. }
  10083. 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)
  10084. {
  10085. ZoneName := "Marina"
  10086. }
  10087. 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)
  10088. {
  10089. ZoneName := "Battery Point"
  10090. }
  10091. 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)
  10092. {
  10093. ZoneName := "The Four Dragons Casino"
  10094. }
  10095. 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)
  10096. {
  10097. ZoneName := "Blackfield"
  10098. }
  10099. 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)
  10100. {
  10101. ZoneName := "Julius Thruway North"
  10102. }
  10103. 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)
  10104. {
  10105. ZoneName := "Yellow Bell Gol Course"
  10106. }
  10107. 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)
  10108. {
  10109. ZoneName := "Idlewood"
  10110. }
  10111. 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)
  10112. {
  10113. ZoneName := "Redsands West"
  10114. }
  10115. 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)
  10116. {
  10117. ZoneName := "Doherty"
  10118. }
  10119. 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)
  10120. {
  10121. ZoneName := "Hilltop Farm"
  10122. }
  10123. 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)
  10124. {
  10125. ZoneName := "Las Barrancas"
  10126. }
  10127. 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)
  10128. {
  10129. ZoneName := "Pirates in Men's Pants"
  10130. }
  10131. 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)
  10132. {
  10133. ZoneName := "City Hall"
  10134. }
  10135. 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)
  10136. {
  10137. ZoneName := "Avispa Country Club"
  10138. }
  10139. 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)
  10140. {
  10141. ZoneName := "The Strip"
  10142. }
  10143. 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)
  10144. {
  10145. ZoneName := "Hashbury"
  10146. }
  10147. 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)
  10148. {
  10149. ZoneName := "Los Santos International"
  10150. }
  10151. 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)
  10152. {
  10153. ZoneName := "Whitewood Estates"
  10154. }
  10155. 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)
  10156. {
  10157. ZoneName := "Sherman Reservoir"
  10158. }
  10159. 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)
  10160. {
  10161. ZoneName := "El Corona"
  10162. }
  10163. 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)
  10164. {
  10165. ZoneName := "Downtown"
  10166. }
  10167. 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)
  10168. {
  10169. ZoneName := "Foster Valley"
  10170. }
  10171. 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)
  10172. {
  10173. ZoneName := "Las Payasadas"
  10174. }
  10175. 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)
  10176. {
  10177. ZoneName := "Valle Ocultado"
  10178. }
  10179. 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)
  10180. {
  10181. ZoneName := "Blackfield Intersection"
  10182. }
  10183. 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)
  10184. {
  10185. ZoneName := "Ganton"
  10186. }
  10187. 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)
  10188. {
  10189. ZoneName := "Easter Bay Airport"
  10190. }
  10191. 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)
  10192. {
  10193. ZoneName := "Redsands East"
  10194. }
  10195. 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)
  10196. {
  10197. ZoneName := "Esplanade East"
  10198. }
  10199. 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)
  10200. {
  10201. ZoneName := "Caligula's Palace"
  10202. }
  10203. 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)
  10204. {
  10205. ZoneName := "Royal Casino"
  10206. }
  10207. 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)
  10208. {
  10209. ZoneName := "Richman"
  10210. }
  10211. 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)
  10212. {
  10213. ZoneName := "Starfish Casino"
  10214. }
  10215. 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)
  10216. {
  10217. ZoneName := "Mulholland"
  10218. }
  10219. 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)
  10220. {
  10221. ZoneName := "Downtown"
  10222. }
  10223. 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)
  10224. {
  10225. ZoneName := "Hankypanky Point"
  10226. }
  10227. 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)
  10228. {
  10229. ZoneName := "K.A.C.C. Military Fuels"
  10230. }
  10231. 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)
  10232. {
  10233. ZoneName := "Harry Gold Parkway"
  10234. }
  10235. 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)
  10236. {
  10237. ZoneName := "Bayside Tunnel"
  10238. }
  10239. 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)
  10240. {
  10241. ZoneName := "Ocean Docks"
  10242. }
  10243. 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)
  10244. {
  10245. ZoneName := "Richman"
  10246. }
  10247. 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)
  10248. {
  10249. ZoneName := "Randolph Industrial Estate"
  10250. }
  10251. 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)
  10252. {
  10253. ZoneName := "East Beach"
  10254. }
  10255. 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)
  10256. {
  10257. ZoneName := "Flint Water"
  10258. }
  10259. 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)
  10260. {
  10261. ZoneName := "Blueberry"
  10262. }
  10263. 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)
  10264. {
  10265. ZoneName := "Linden Station"
  10266. }
  10267. 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)
  10268. {
  10269. ZoneName := "Glen Park"
  10270. }
  10271. 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)
  10272. {
  10273. ZoneName := "Downtown"
  10274. }
  10275. 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)
  10276. {
  10277. ZoneName := "Redsands West"
  10278. }
  10279. 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)
  10280. {
  10281. ZoneName := "Richman"
  10282. }
  10283. 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)
  10284. {
  10285. ZoneName := "Gant Bridge"
  10286. }
  10287. 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)
  10288. {
  10289. ZoneName := "Lil' Probe Inn"
  10290. }
  10291. 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)
  10292. {
  10293. ZoneName := "Flint Intersection"
  10294. }
  10295. 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)
  10296. {
  10297. ZoneName := "Las Colinas"
  10298. }
  10299. 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)
  10300. {
  10301. ZoneName := "Sobell Rail Yards"
  10302. }
  10303. 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)
  10304. {
  10305. ZoneName := "The Emerald Isle"
  10306. }
  10307. 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)
  10308. {
  10309. ZoneName := "El Castillo del Diablo"
  10310. }
  10311. 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)
  10312. {
  10313. ZoneName := "Santa Flora"
  10314. }
  10315. 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)
  10316. {
  10317. ZoneName := "Playa del Seville"
  10318. }
  10319. 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)
  10320. {
  10321. ZoneName := "Market"
  10322. }
  10323. 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)
  10324. {
  10325. ZoneName := "Queens"
  10326. }
  10327. 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)
  10328. {
  10329. ZoneName := "Pilson Intersection"
  10330. }
  10331. 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)
  10332. {
  10333. ZoneName := "Spinybed"
  10334. }
  10335. 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)
  10336. {
  10337. ZoneName := "Pilgrim"
  10338. }
  10339. 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)
  10340. {
  10341. ZoneName := "Blackfield"
  10342. }
  10343. 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)
  10344. {
  10345. ZoneName := "'The Big Ear'"
  10346. }
  10347. 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)
  10348. {
  10349. ZoneName := "Dillimore"
  10350. }
  10351. 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)
  10352. {
  10353. ZoneName := "El Quebrados"
  10354. }
  10355. 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)
  10356. {
  10357. ZoneName := "Esplanade North"
  10358. }
  10359. 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)
  10360. {
  10361. ZoneName := "Easter Bay Airport"
  10362. }
  10363. 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)
  10364. {
  10365. ZoneName := "Fisher's Lagoon"
  10366. }
  10367. 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)
  10368. {
  10369. ZoneName := "Mulholland"
  10370. }
  10371. 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)
  10372. {
  10373. ZoneName := "East Beach"
  10374. }
  10375. 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)
  10376. {
  10377. ZoneName := "San Andreas Sound"
  10378. }
  10379. 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)
  10380. {
  10381. ZoneName := "Shady Creeks"
  10382. }
  10383. 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)
  10384. {
  10385. ZoneName := "Market"
  10386. }
  10387. 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)
  10388. {
  10389. ZoneName := "Rockshore West"
  10390. }
  10391. 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)
  10392. {
  10393. ZoneName := "Prickle Pine"
  10394. }
  10395. 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)
  10396. {
  10397. ZoneName := "Easter Basin"
  10398. }
  10399. 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)
  10400. {
  10401. ZoneName := "Leafy Hollow"
  10402. }
  10403. 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)
  10404. {
  10405. ZoneName := "LVA Freight Depot"
  10406. }
  10407. 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)
  10408. {
  10409. ZoneName := "Prickle Pine"
  10410. }
  10411. 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)
  10412. {
  10413. ZoneName := "Blueberry"
  10414. }
  10415. 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)
  10416. {
  10417. ZoneName := "El Castillo del Diablo"
  10418. }
  10419. 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)
  10420. {
  10421. ZoneName := "Downtown"
  10422. }
  10423. 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)
  10424. {
  10425. ZoneName := "Rockshore East"
  10426. }
  10427. 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)
  10428. {
  10429. ZoneName := "San Fierro Bay"
  10430. }
  10431. 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)
  10432. {
  10433. ZoneName := "Paradiso"
  10434. }
  10435. 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)
  10436. {
  10437. ZoneName := "The Camel's Toe"
  10438. }
  10439. 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)
  10440. {
  10441. ZoneName := "Old Venturas Strip"
  10442. }
  10443. 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)
  10444. {
  10445. ZoneName := "Juniper Hill"
  10446. }
  10447. 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)
  10448. {
  10449. ZoneName := "Juniper Hollow"
  10450. }
  10451. 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)
  10452. {
  10453. ZoneName := "Roca Escalante"
  10454. }
  10455. 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)
  10456. {
  10457. ZoneName := "Julius Thruway East"
  10458. }
  10459. 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)
  10460. {
  10461. ZoneName := "Verona Beach"
  10462. }
  10463. 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)
  10464. {
  10465. ZoneName := "Foster Valley"
  10466. }
  10467. 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)
  10468. {
  10469. ZoneName := "Arco del Oeste"
  10470. }
  10471. 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)
  10472. {
  10473. ZoneName := "Fallen Tree"
  10474. }
  10475. 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)
  10476. {
  10477. ZoneName := "The Farm"
  10478. }
  10479. 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)
  10480. {
  10481. ZoneName := "The Sherman Dam"
  10482. }
  10483. 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)
  10484. {
  10485. ZoneName := "Esplanade North"
  10486. }
  10487. 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)
  10488. {
  10489. ZoneName := "Financial"
  10490. }
  10491. 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)
  10492. {
  10493. ZoneName := "Garcia"
  10494. }
  10495. 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)
  10496. {
  10497. ZoneName := "Montgomery"
  10498. }
  10499. 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)
  10500. {
  10501. ZoneName := "Creek"
  10502. }
  10503. 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)
  10504. {
  10505. ZoneName := "Los Santos International"
  10506. }
  10507. 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)
  10508. {
  10509. ZoneName := "Santa Maria Beach"
  10510. }
  10511. 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)
  10512. {
  10513. ZoneName := "Mulholland Intersection"
  10514. }
  10515. 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)
  10516. {
  10517. ZoneName := "Angel Pine"
  10518. }
  10519. 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)
  10520. {
  10521. ZoneName := "Verdant Meadows"
  10522. }
  10523. 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)
  10524. {
  10525. ZoneName := "Octane Springs"
  10526. }
  10527. 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)
  10528. {
  10529. ZoneName := "Come-A-Lot"
  10530. }
  10531. 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)
  10532. {
  10533. ZoneName := "Redsands West"
  10534. }
  10535. 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)
  10536. {
  10537. ZoneName := "Santa Maria Beach"
  10538. }
  10539. 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)
  10540. {
  10541. ZoneName := "Verdant Bluffs"
  10542. }
  10543. 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)
  10544. {
  10545. ZoneName := "Las Venturas Airport"
  10546. }
  10547. 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)
  10548. {
  10549. ZoneName := "Flint Range"
  10550. }
  10551. 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)
  10552. {
  10553. ZoneName := "Verdant Bluffs"
  10554. }
  10555. 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)
  10556. {
  10557. ZoneName := "Palomino Creek"
  10558. }
  10559. 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)
  10560. {
  10561. ZoneName := "Ocean Docks"
  10562. }
  10563. 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)
  10564. {
  10565. ZoneName := "Easter Bay Airport"
  10566. }
  10567. 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)
  10568. {
  10569. ZoneName := "Whitewood Estates"
  10570. }
  10571. 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)
  10572. {
  10573. ZoneName := "Calton Heights"
  10574. }
  10575. 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)
  10576. {
  10577. ZoneName := "Easter Basin"
  10578. }
  10579. 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)
  10580. {
  10581. ZoneName := "Los Santos Inlet"
  10582. }
  10583. 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)
  10584. {
  10585. ZoneName := "Doherty"
  10586. }
  10587. 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)
  10588. {
  10589. ZoneName := "Mount Chiliad"
  10590. }
  10591. 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)
  10592. {
  10593. ZoneName := "Fort Carson"
  10594. }
  10595. 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)
  10596. {
  10597. ZoneName := "Foster Valley"
  10598. }
  10599. 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)
  10600. {
  10601. ZoneName := "Ocean Flats"
  10602. }
  10603. 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)
  10604. {
  10605. ZoneName := "Fern Ridge"
  10606. }
  10607. 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)
  10608. {
  10609. ZoneName := "Bayside"
  10610. }
  10611. 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)
  10612. {
  10613. ZoneName := "Las Venturas Airport"
  10614. }
  10615. 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)
  10616. {
  10617. ZoneName := "Blueberry Acres"
  10618. }
  10619. 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)
  10620. {
  10621. ZoneName := "Palisades"
  10622. }
  10623. 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)
  10624. {
  10625. ZoneName := "North Rock"
  10626. }
  10627. 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)
  10628. {
  10629. ZoneName := "Hunter Quarry"
  10630. }
  10631. 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)
  10632. {
  10633. ZoneName := "Los Santos International"
  10634. }
  10635. 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)
  10636. {
  10637. ZoneName := "Missionary Hill"
  10638. }
  10639. 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)
  10640. {
  10641. ZoneName := "San Fierro Bay"
  10642. }
  10643. 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)
  10644. {
  10645. ZoneName := "Restricted Area"
  10646. }
  10647. 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)
  10648. {
  10649. ZoneName := "Mount Chiliad"
  10650. }
  10651. 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)
  10652. {
  10653. ZoneName := "Mount Chiliad"
  10654. }
  10655. 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)
  10656. {
  10657. ZoneName := "Easter Bay Airport"
  10658. }
  10659. 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)
  10660. {
  10661. ZoneName := "The Panopticon"
  10662. }
  10663. 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)
  10664. {
  10665. ZoneName := "Shady Creeks"
  10666. }
  10667. 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)
  10668. {
  10669. ZoneName := "Back o Beyond"
  10670. }
  10671. 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)
  10672. {
  10673. ZoneName := "Mount Chiliad"
  10674. }
  10675. 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)
  10676. {
  10677. ZoneName := "Tierra Robada"
  10678. }
  10679. 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)
  10680. {
  10681. ZoneName := "Flint County"
  10682. }
  10683. else
  10684. {
  10685. ZoneName := "Unbekannt"
  10686. }
  10687. return ZoneName
  10688. }
  10689. OpenMemoryfromTitle_(title,right=0x1F0FFF)
  10690. {
  10691. WinGet,PID,PID,%title%
  10692. HWND := DllCall("OpenProcess","Uint",right,"int",0,"int",PID)
  10693. return HWND
  10694. }
  10695. CloseMemory_(hwnd)
  10696. {
  10697. return DllCall("CloseHandle", "int", hwnd)
  10698. }
  10699. ReadMemory_(hwnd,address,datatype="int",length=4,offset=0)
  10700. {
  10701. VarSetCapacity(readvalue,length, 0)
  10702. DllCall("ReadProcessMemory","Uint",hwnd,"Uint",address+offset,"Str",readvalue,"Uint",length,"Uint *",0)
  10703. finalvalue := NumGet(readvalue,0,datatype)
  10704. return finalvalue
  10705. }
  10706. :?:/togtickets::
  10707. Suspend Permit
  10708. if(admin = 1)
  10709. {
  10710. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Diese Funktion ist im Universal-Binder derzeit noch deaktiviert.")
  10711. }
  10712. else
  10713. {
  10714. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10715. }
  10716. return
  10717. TicketUpdate:
  10718. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  10719. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  10720. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  10721. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  10722. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  10723. if(Monat == "ERROR")
  10724. {
  10725. Monat=0
  10726. }
  10727. if(Heute == "ERROR")
  10728. {
  10729. Heute=0
  10730. }
  10731. if(Gesamt == "ERROR")
  10732. {
  10733. Gesamt=0
  10734. }
  10735. TextSetString(tickettext, "Angenommene Tickets: " . Gesamt . "`n an diesem Tag: " . Heute . "`n in diesem Monat: " . Monat . "")
  10736. return
  10737. :?:/tt::
  10738. Suspend Permit
  10739. FormatTime, Uhrzeit,, HH
  10740. GetPlayerName(Name)
  10741. if(admin = 1)
  10742. {
  10743. TicketID := PlayerInput("Ticket-ID: ")
  10744. SendChat("/tt " . TicketID . "")
  10745. if (Uhrzeit >= 12 && Uhrzeit < 20)
  10746. {
  10747. SendChat("/aw " . TicketID . " Guten Tag,")
  10748. }
  10749. else if (Uhrzeit >= 20 || Uhrzeit == 0)
  10750. {
  10751. SendChat("/aw " . TicketID . " Guten Abend,")
  10752. }
  10753. else if (Uhrzeit >= 1 && Uhrzeit < 12)
  10754. {
  10755. SendChat("/aw " . TicketID . " Guten Morgen ,")
  10756. }
  10757. SendChat("/aw " . TicketID . " Mein Name ist " . Name . " und ich bin für Ihre Fragen oder Probleme offen.")
  10758. Sleep, 200
  10759. GetChatLine(0, string)
  10760. GetChatLine(1, string1)
  10761. GetChatLine(2, string2)
  10762. if(Instr(string, "Fragen oder Probleme offen") || InStr(string1, "Fragen oder Probleme offen") || InStr(string2, "Fragen oder Probleme offen"))
  10763. {
  10764. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  10765. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  10766. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  10767. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  10768. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  10769. Monat1=%Monat%
  10770. Heute1=%Heute%
  10771. Gesamt1=%Gesamt%
  10772. Sleep, 200
  10773. Monat1++
  10774. Heute1++
  10775. Gesamt1++
  10776. IniWrite, %Monat1%, Tickets.ini, TicketM, %MonatSt%
  10777. IniWrite, %Heute1%, Tickets.ini, TicketT, %TagSt%
  10778. IniWrite, %Gesamt1%, Tickets.ini, Ticket, Gesamt
  10779. }
  10780. }
  10781. else
  10782. {
  10783. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist kein Team-Funktion nicht aktiviert.")
  10784. }
  10785. return
  10786. :?:/gt::
  10787. Suspend Permit
  10788. if(admin = 1)
  10789. {
  10790. FormatTime, Uhrzeit,, HH
  10791. TicketID := PlayerInput("Ticket-ID: ")
  10792. TeamMitglied := PlayerInput("Team-Mitglied: ")
  10793. SendChat("/aw " . TicketID . " Ich werde Sie nun an " TeamMitglied " weiterleiten.")
  10794. if (Uhrzeit >= 20 || Uhrzeit == 0)
  10795. {
  10796. SendChat("/aw " . TicketID . " Schönen Abend noch.")
  10797. }
  10798. else
  10799. {
  10800. SendChat("/aw " . TicketID . " Schönen Tag noch.")
  10801. }
  10802. SendChat("/gt " . TicketID . "")
  10803. Sleep, 1500
  10804. SendChat("/a Ticket " TicketID " für dich " TeamMitglied "")
  10805. }
  10806. else
  10807. {
  10808. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10809. }
  10810. return
  10811. :?:/grund::
  10812. Suspend Permit
  10813. if(admin = 1)
  10814. {
  10815. TicketID := PlayerInput("Ticket-ID: ")
  10816. SendChat("/aw " . TicketID . " Warum soll ich Sie an das gewünschte Teammitglied weiterleiten?")
  10817. }
  10818. else
  10819. {
  10820. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10821. }
  10822. return
  10823. :?:/dt::
  10824. Suspend Permit
  10825. if(admin = 1)
  10826. {
  10827. TicketID := PlayerInput("Ticket-ID: ")
  10828. SendChat("/aw " . TicketID . " Ich wünsche Ihnen noch einen schönen Aufenthalt auf RPG-City")
  10829. SendChat("/aw " . TicketID . " Bei weiteren Fragen melden Sie sich gerne wieder im Ticketsystem")
  10830. SendChat("/dt " . TicketID . "")
  10831. }
  10832. else
  10833. {
  10834. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10835. SendChat("/dt")
  10836. }
  10837. return
  10838. :?:/fragen::
  10839. Suspend Permit
  10840. if(admin = 1)
  10841. {
  10842. TicketID := PlayerInput("Ticket-ID: ")
  10843. SendChat("/aw " . TicketID . " Haben Sie weitere Fragen, Probleme oder Anliegen?")
  10844. }
  10845. else
  10846. {
  10847. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10848. }
  10849. return
  10850. :?:/meldungen::
  10851. Suspend Permit
  10852. if(admin = 1)
  10853. {
  10854. SendChat("/announce Bei Fragen zum Server stehen wir Ihnen jederzeit per /sup [Frage] zur Verfügung.")
  10855. SendChat("/announce Hacker, Buguser und weitere Regelbrecher können per /a gemeldet werden.")
  10856. }
  10857. else
  10858. {
  10859. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10860. }
  10861. return
  10862. :?:/adabuse::
  10863. Suspend Permit
  10864. if(admin = 1)
  10865. {
  10866. SendInput, /mute  120 Ausnutzung des Werbesystems{left 32}
  10867. }
  10868. else
  10869. {
  10870. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10871. }
  10872. return
  10873. :?:/aabuse::
  10874. Suspend Permit
  10875. if(admin = 1)
  10876. {
  10877. SendInput, /supban  120 Ausnutzung des Adminchats{left 30}
  10878. }
  10879. else
  10880. {
  10881. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10882. }
  10883. return
  10884. :?:/sdm::
  10885. Suspend Permit
  10886. if(admin = 1)
  10887. {
  10888. SendInput, /prison  120 Sinnloses Deathmatch{left 25}
  10889. }
  10890. else
  10891. {
  10892. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10893. }
  10894. return
  10895. :?:/bansdm::
  10896. Suspend Permit
  10897. if(admin = 1)
  10898. {
  10899. SendInput, /ban  Sinnloses Deathmatch mit Level 1{left 33}
  10900. }
  10901. else
  10902. {
  10903. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10904. }
  10905. return
  10906. :?:/jobstörung::
  10907. Suspend Permit
  10908. if(admin = 1)
  10909. {
  10910. SendInput, /prison  120 Jobstörung{left 15}
  10911. }
  10912. else
  10913. {
  10914. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10915. }
  10916. return
  10917. :?:/jobdm::
  10918. Suspend Permit
  10919. if(admin = 1)
  10920. {
  10921. SendInput, /prison  120 Job Deathmatch{left 19}
  10922. }
  10923. else
  10924. {
  10925. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10926. }
  10927. return
  10928. :?:/intflucht::
  10929. Suspend Permit
  10930. if(admin = 1)
  10931. {
  10932. SendInput, /prison  120 Interrior-Flucht{left 21}
  10933. }
  10934. else
  10935. {
  10936. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10937. }
  10938. return
  10939. :?:/escflucht::
  10940. Suspend Permit
  10941. if(admin = 1)
  10942. {
  10943. SendInput, /prison  120 ESC-Flucht{left 25}
  10944. }
  10945. else
  10946. {
  10947. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10948. }
  10949. return
  10950. :?:/offflucht::
  10951. Suspend Permit
  10952. if(admin = 1)
  10953. {
  10954. SendInput, /prison  120 Offline-Flucht{left 19}
  10955. }
  10956. else
  10957. {
  10958. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10959. }
  10960. return
  10961. :?:/cardm::
  10962. Suspend Permit
  10963. if(admin = 1)
  10964. {
  10965. SendInput, /prison  120 Carsurf DM{left 15}
  10966. }
  10967. else
  10968. {
  10969. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10970. }
  10971. return
  10972. :?:/spam::
  10973. Suspend Permit
  10974. if(admin = 1)
  10975. {
  10976. SendInput /mute  120 Spam{left 9}
  10977. }
  10978. else
  10979. {
  10980. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10981. }
  10982. return
  10983. :?:/esccp::
  10984. Suspend Permit
  10985. if(admin = 1)
  10986. {
  10987. SendInput /kick  ESC im Checkpoint{left 18}
  10988. }
  10989. else
  10990. {
  10991. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  10992. }
  10993. return
  10994. :?:/afkp::
  10995. Suspend Permit
  10996. if(admin = 1)
  10997. {
  10998. SendInput /kick  AFK im Paintball{left 17}
  10999. }
  11000. else
  11001. {
  11002. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  11003. }
  11004. return
  11005. :?:/anfahren::
  11006. Suspend Permit
  11007. if(admin = 1)
  11008. {
  11009. SendInput /prison  120 Absichtliches Anfahren{left 27}
  11010. }
  11011. else
  11012. {
  11013. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du  hast die Team-Funktion nicht aktiviert.")
  11014. }
  11015. return
  11016. :?:/nodm::
  11017. Suspend Permit
  11018. if(admin = 1)
  11019. {
  11020. SendInput /prison  120 Deathmatch in einer No DM Zone{left 35}
  11021. }
  11022. else
  11023. {
  11024. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  11025. }
  11026. return
  11027. :?:/tv::
  11028. Suspend Permit
  11029. SendInput, /tv{space}
  11030. Input, TVID, V I M,{enter}
  11031. SendChat("/id " TVID "")
  11032. return
  11033. :?:/hacker::
  11034. Suspend Permit
  11035. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Diese Funktion ist im Universal-Binder derzeit noch deaktiviert.")
  11036. return
  11037. :?:/tickets::
  11038. Suspend Permit
  11039. SendInput ^a{delete}{enter}
  11040. if(admin = 1)
  11041. {
  11042. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  11043. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  11044. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  11045. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  11046. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  11047. if(Monat == "ERROR")
  11048. {
  11049. Monat=0
  11050. }
  11051. if(Heute == "ERROR")
  11052. {
  11053. Heute=0
  11054. }
  11055. if(Gesamt == "ERROR")
  11056. {
  11057. Gesamt=0
  11058. }
  11059. Sleep, 100
  11060. ShowDialog(0, "Ticket Statistik" , "Angenommene Tickets: " Gesamt "`nan diesem Tag: " Heute "`nin diesem Monat: " Monat, "Schließen")
  11061. }
  11062. else
  11063. {
  11064. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
  11065. }
  11066. return
  11067. :?:/ahelp::
  11068. Suspend Permit
  11069. SendChat("/ahelp")
  11070. if(admin = 1)
  11071. {
  11072. Sleep, 300
  11073. AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Keybinder-Befehle für Team-Mitglieder:")
  11074. AddChatMessage(0x2090B3, "|Universal-Binder| {FFBB00}Tickets:{FFFFFF} /tt, /gt, /dt, /grund, /fragen")
  11075. AddChatMessage(0x2090B3, "|Universal-Binder| {FFBB00}Nützliches:{FFFFFF} /togtickets, /tickets, /hacker, /meldungen")
  11076. AddChatMessage(0x2090B3, "|Universal-Binder| {FFBB00}Sanktionen:{FFFFFF} /adabuse, /aabuse, /sdm, /bansdm, /jobstörung, /intflucht, /escflucht, /offflucht")
  11077. AddChatMessage(0x2090B3, "|Universal-Binder| {FFBB00}Sanktionen:{FFFFFF} /cardm, /jobdm, /spam, /esccp, /afkp, /anfahren, /nodm")
  11078. }
  11079. return
  11080. UrlDownloadToVar(URL, UserAgent = "", Proxy = "", ProxyBypass = "") {
  11081. pFix:=a_isunicode ? "W" : "A"
  11082. hModule2 := DllCall("LoadLibrary", "Str", "wininet.dll")
  11083. AccessType := Proxy != "" ? 3 : 1
  11084. io := DllCall("wininet\InternetOpen" . pFix
  11085. , "Str", UserAgent
  11086. , "UInt", AccessType
  11087. , "Str", Proxy
  11088. , "Str", ProxyBypass
  11089. , "UInt", 0)
  11090. iou := DllCall("wininet\InternetOpenUrl" . pFix
  11091. , "UInt", io
  11092. , "Str", url
  11093. , "Str", ""
  11094. , "UInt", 0
  11095. , "UInt", 0x80000000
  11096. , "UInt", 0)
  11097. If (ErrorLevel != 0 or iou = 0) {
  11098. DllCall("FreeLibrary", "UInt", hModule2)
  11099. return 0
  11100. }
  11101. VarSetCapacity(buffer, 10240, 0)
  11102. VarSetCapacity(BytesRead, 4, 0)
  11103. Loop
  11104. {
  11105. irf := DllCall("wininet\InternetReadFile", "UInt", iou, "UInt", &buffer, "UInt", 10240, "UInt", &BytesRead)
  11106. VarSetCapacity(buffer, -1)
  11107. BytesRead_ = 0
  11108. Loop, 4
  11109. BytesRead_ += *(&BytesRead + A_Index-1) << 8*(A_Index-1)
  11110. If (irf = 1 and BytesRead_ = 0)
  11111. break
  11112. Else
  11113. {
  11114. Result .= SubStr(buffer, 1, BytesRead_ * (a_isunicode ? 2 : 1))
  11115. }
  11116. }
  11117. DllCall("wininet\InternetCloseHandle",  "UInt", iou)
  11118. DllCall("wininet\InternetCloseHandle",  "UInt", io)
  11119. DllCall("FreeLibrary", "UInt", hModule2)
  11120. return % result
  11121. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement