Advertisement
Guest User

Untitled

a guest
Feb 26th, 2016
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 481.25 KB | None | 0 0
  1. IfWinActive, GTA:SA:MP
  2. #UseHook
  3. #Persistent
  4. #SingleInstance force
  5. #HotKeyInterval 1
  6. #MaxHotkeysPerInterval 2000
  7.  
  8. UrlDownloadToVar(URL, UserAgent = "", Proxy = "", ProxyBypass = "") {
  9. pFix:=a_isunicode ? "W" : "A"
  10. hModule2 := DllCall("LoadLibrary", "Str", "wininet.dll")
  11. AccessType := Proxy != "" ? 3 : 1
  12. io := DllCall("wininet\InternetOpen" . pFix
  13. , "Str", UserAgent
  14. , "UInt", AccessType
  15. , "Str", Proxy
  16. , "Str", ProxyBypass
  17. , "UInt", 0)
  18. iou := DllCall("wininet\InternetOpenUrl" . pFix
  19. , "UInt", io
  20. , "Str", url
  21. , "Str", ""
  22. , "UInt", 0
  23. , "UInt", 0x80000000
  24. , "UInt", 0)
  25. If (ErrorLevel != 0 or iou = 0) {
  26. DllCall("FreeLibrary", "UInt", hModule2)
  27. return 0
  28. }
  29. VarSetCapacity(buffer, 10240, 0)
  30. VarSetCapacity(BytesRead, 4, 0)
  31. Loop
  32. {
  33. irf := DllCall("wininet\InternetReadFile", "UInt", iou, "UInt", &buffer, "UInt", 10240, "UInt", &BytesRead)
  34. VarSetCapacity(buffer, -1)
  35. BytesRead_ = 0
  36. Loop, 4
  37. BytesRead_ += *(&BytesRead + A_Index-1) << 8*(A_Index-1)
  38. If (irf = 1 and BytesRead_ = 0)
  39. break
  40. Else
  41. {
  42. Result .= SubStr(buffer, 1, BytesRead_ * (a_isunicode ? 2 : 1))
  43. }
  44. }
  45. DllCall("wininet\InternetCloseHandle", "UInt", iou)
  46. DllCall("wininet\InternetCloseHandle", "UInt", io)
  47. DllCall("FreeLibrary", "UInt", hModule2)
  48. return % result
  49. }
  50. Version=3.0.4
  51. API=1.0
  52. TicketOverlay = 0
  53. Overlay = 0
  54. Menu_Overlay = 0
  55. Menu_HP = 0
  56. Menu_AP = 0
  57. switcher = 2
  58. caID = Niemand
  59. SpeedCheckStatus = 0
  60. SpeedOnOff = 0
  61. VehSpeedMax = 0
  62. LowHPsoundan = 0
  63. BKsoundan = 0
  64. altergk = -1
  65. fischers = 1
  66. watermode = 0
  67. swatmode = 0
  68. bkon = 0
  69. hmOn = 0
  70. streife = 0
  71. Freigabe = 1
  72. pOn = 0
  73. Partner1 = -1
  74. Partner2 = -1
  75. Partner3 = -1
  76. Fahrer = -1
  77. arrest1 = -1
  78. arrest2 = -1
  79. arrest3 = -1
  80. arrest4 = -1
  81. arrest5 = -1
  82. PoliceID := "X"
  83. MAX_CODES := 29
  84. Binds := 52
  85.  
  86. SetTimer, Waffenschein, 1000
  87. SetTimer, Flugschein, 1000
  88.  
  89. Loop, %MAX_CODES%
  90. {
  91. CodeVars_Code[A_Index] := "-1"
  92. CodeVars_Text[A_Index] := "Empty"
  93. CodeVars_Write[A_Index] := 0
  94. }
  95. InitializeCodes()
  96. Sounds = %A_ScriptDir%\Sounds
  97. Pictures = %A_ScriptDir%\Pictures
  98. Hotkeys = %A_ScriptDir%\Hotkeys.ini
  99. IfNotExist, %A_ScriptDir%\Sounds
  100. {
  101. FileCreateDir, %A_ScriptDir%\Sounds
  102. }
  103. IfNotExist, %A_ScriptDir%\Pictures
  104. {
  105. FileCreateDir, %A_ScriptDir%\Pictures\
  106. }
  107. IfNotExist,%A_ScriptDir%\Sounds\Call.mp3
  108. {
  109. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/Call.mp3, Call.mp3
  110. FileMove, Call.mp3, %Sounds%\Call.mp3
  111. }
  112. IfNotExist, %A_ScriptDir%\Sounds\SMS.mp3
  113. {
  114. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/SMS.mp3, SMS.mp3
  115. FileMove, SMS.mp3, %Sounds%\SMS.mp3
  116. }
  117. IfNotExist, %A_ScriptDir%\Sounds\LowHP.mp3
  118. {
  119. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/LowHP.mp3, LowHP.mp3
  120. FileMove, LowHP.mp3, %Sounds%\LowHP.mp3
  121. }
  122. IfNotExist, %A_ScriptDir%\Sounds\BK.mp3
  123. {
  124. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/BK.mp3, BK.mp3
  125. FileMove, BK.mp3, %Sounds%\BK.mp3
  126. }
  127. IfNotExist, %A_ScriptDir%\Pictures\soundwahl.png
  128. {
  129. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/soundwahl.png, soundwahl.png
  130. FileMove, soundwahl.png, %A_ScriptDir%\Pictures\soundwahl.png
  131. }
  132. IfNotExist, %A_ScriptDir%\Pictures\SAPDLogo.png
  133. {
  134. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/SAPDLogo.png, SAPDLogo.png
  135. FileMove, SAPDLogo.png, %A_ScriptDir%\Pictures\SAPDLogo.png
  136. }
  137. IfExist, Update.bat
  138. {
  139. FileDelete, Update.bat
  140. }
  141. CheckURL2=http://ni31914_3.vweb16.nitrado.net/keybinder/API.txt
  142. NeueAPI:=UrlDownloadToVar(CheckURL2)
  143. if(Version < NeueVersion)
  144. {
  145. if(API < NeueAPI)
  146. {
  147. FileMove, API.dll, old_API.dll, 1
  148. UrlDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/API.dll, API.dll
  149. }
  150. BatchFile=
  151. (
  152. start StaatsgewaltKeybinder.exe
  153. )
  154. FileDelete, Update.bat
  155. FileAppend, %Batchfile%, Update.bat
  156. Run, Update.bat, hide
  157. ExitApp
  158. }
  159. IfNotExist, API.dll
  160. {
  161. MsgBox, 64, Fehler, Die API.dll wurde nicht gefunden. Sie wird nun heruntergeladen.
  162. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/API.dll, API.dll
  163. Sleep, 1000
  164. FileGetSize, API_size, API.dll, k
  165. if(API_size < 486)
  166. {
  167. 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.
  168. ExitApp
  169. }
  170. MsgBox, 64, Erfolgreich, Die API.dll wurde erfolgreich heruntergeladen. Der Keybinder wird nun neu gestartet.
  171. Reload
  172. }
  173. IfNotExist, dx9_overlay.dll
  174. {
  175. MsgBox, 64, Fehler, Die dx9_overlay.dll wurde nicht gefunden. Sie wird nun heruntergeladen.
  176. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/dx9_overlay.dll, dx9_overlay.dll
  177. Sleep, 1000
  178. FileGetSize, overlayapi_size, dx9_overlay.dll, k
  179. if(overlayapi_size < 500)
  180. {
  181. 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.
  182. ExitApp
  183. }
  184. MsgBox, 64, Erfolgreich, Die dx9_overlay.dll wurde erfolgreich heruntergeladen. Der Keybinder wird nun neu gestartet.
  185. Reload
  186. }
  187.  
  188. #NoEnv
  189. API_ERROR_NONE := 0
  190. API_ERROR_SNAPSHOT_FAILED := 1
  191. API_ERROR_SAMP_NOT_FOUND := 2
  192. API_ERROR_REMOTE_MEMORY_ALLOCATION_FAILED := 3
  193. API_ERROR_WRITEPROCESSMEMORY_FAILED := 4
  194. API_ERROR_GETPROCADDRESS_FAILED := 5
  195. API_ERROR_REMOTETHREAD_FAILED := 6
  196. API_ERROR_INVALID_GTA_HANDLE := 7
  197. API_ERROR_PIPE_DOESNT_RESPOND := 8
  198. API_ERROR_STRING_TOO_LONG := 9
  199. PLAYER_STATE_LEAVING_VEHICLE := 0
  200. PLAYER_STATE_NORMAL := 1
  201. PLAYER_STATE_DRIVING := 50
  202. PLAYER_STATE_DYING := 54
  203. PLAYER_STATE_DEAD := 55
  204. CALLBACK_HEAL := 0
  205. CALLBACK_ARMOR := 1
  206. CALLBACK_POSITION := 2
  207. CALLBACK_ENTEREXIT := 3
  208. CALLBACK_VEHICLE_ENTEREXIT := 4
  209. CALLBACK_VEHICLE_HEALTH := 5
  210. CALLBACK_VEHICLE_ENGINE := 6
  211. CALLBACK_VEHICLE_LOCK := 7
  212. CALLBACK_VEHICLE_SPEED := 8
  213. CALLBACK_WEAPON_CLIP := 9
  214. CALLBACK_WEAPON_TOTALCLIP := 10
  215. CALLBACK_WEAPON_SWITCH := 11
  216. CALLBACK_CHATLOG := 12
  217. PATH_API := RelToAbs(A_ScriptDir, "API.dll")
  218. hModule := DllCall("LoadLibrary", Str, PATH_API)
  219. if(hModule == -1 || hModule == 0)
  220. {
  221. MsgBox, 48, API - Fehler, Die API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
  222. ExitApp
  223. }
  224. ReadMemory_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ReadMemory")
  225. WriteMemory_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_WriteMemory")
  226. GetBasePointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetBasePointer")
  227. GetCommandLine_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCommandLine")
  228. GetLastError_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastError")
  229. SetLastError_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetLastError")
  230. SendChat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SendChat")
  231. ShowGameText_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowGameText")
  232. AddChatMessage_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_AddChatMessage")
  233. ShowDialog_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowDialog")
  234. IsDialogOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsDialogOpen")
  235. GetLastDialogId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastDialogId")
  236. GetLastDialogType_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastDialogType")
  237. BlockChatInput_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BlockChatInput")
  238. GetChatLine_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLine")
  239. GetChatLineFromFile_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLineFromFile")
  240. IsChatOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsChatOpen")
  241. GetScreenSizeX_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeX")
  242. GetScreenSizeY_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeY")
  243. GetCurrentWeatherId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeatherId")
  244. GetZoneName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneName")
  245. GetCityName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityName")
  246. GetZoneNameByCoords_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneNameByCoords")
  247. GetCityNameByCoords_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityNameByCoords")
  248. GetMarkerPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetMarkerPos")
  249. GetLastMousePosOnMenuMap_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastMousePosOnMenuMap")
  250. GetMapMarkerPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetMapMarkerPos")
  251. FindGroundZForPosition_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_FindGroundZForPosition")
  252. WorldToScreen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_WorldToScreen")
  253. ScreenToWorld_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ScreenToWorld")
  254. RegisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_RegisterTextBind")
  255. UnregisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterTextBind")
  256. UnregisterAllTextBinds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterAllTextBinds")
  257. TextBindTimer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextBindTimer")
  258. IsMenuOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsMenuOpen")
  259. GetPlayerId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerId")
  260. GetPlayerName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerName")
  261. GetServerIp_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerIp")
  262. GetServerPort_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerPort")
  263. GetPlayerCPed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerCPed")
  264. GetPlayerHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerHealth")
  265. GetPlayerArmor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerArmor")
  266. GetPlayerMoney_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerMoney")
  267. GetPlayerWanteds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWanteds")
  268. GetPlayerPosition_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPosition")
  269. IsPlayerInRangeOfPoint_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint")
  270. IsPlayerInRangeOfPoint2D_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint2D")
  271. IsPlayerInAnyInterior_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyInterior")
  272. IsPlayerFrozen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerFrozen")
  273. GetPlayerWeaponSlot_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponSlot")
  274. GetPlayerWeaponId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponId")
  275. GetPlayerWeaponName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponName")
  276. GetPlayerWeaponClip_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponClip")
  277. GetPlayerWeaponTotalClip_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponTotalClip")
  278. GetPlayerWeaponState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponState")
  279. GetPlayerState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerState")
  280. GetVehiclePointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehiclePointer")
  281. GetVehicleModelId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelId")
  282. GetVehicleModelName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelName")
  283. GetVehicleModelNameById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelNameById")
  284. GetVehicleType_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleType")
  285. GetVehicleHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHealth")
  286. GetVehicleRadioStation_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleRadioStation")
  287. GetVehicleRadioStationName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleRadioStationName")
  288. GetVehicleFreeSeats_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFreeSeats")
  289. GetVehicleSpeed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSpeed")
  290. GetVehicleFirstColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFirstColor")
  291. GetVehicleSecondColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSecondColor")
  292. GetVehicleColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColor")
  293. GetVehicleColorRGB_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColorRGB")
  294. GetVehicleColorARGB_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColorARGB")
  295. IsPlayerInAnyVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyVehicle")
  296. IsPlayerDriver_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerDriver")
  297. IsPlayerPassenger_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerPassenger")
  298. IsVehicleSeatUsed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleSeatUsed")
  299. IsVehicleLocked_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleLocked")
  300. IsVehicleSirenEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleSirenEnabled")
  301. IsVehicleHornEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleHornEnabled")
  302. IsVehicleAlternateSirenEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleAlternateSirenEnabled")
  303. IsVehicleEngineEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleEngineEnabled")
  304. IsVehicleLightEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleLightEnabled")
  305. IsPlayerInCar_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInCar")
  306. IsPlayerInPlane_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInPlane")
  307. IsPlayerInBoat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInBoat")
  308. IsPlayerInTrain_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInTrain")
  309. IsPlayerInBike_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInBike")
  310. SetCallbackPointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetCallbackPointer")
  311. UnSetCallbackPointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetCallbackPointer")
  312. SetListenCallback_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetListenCallback")
  313. UnSetListenCallback_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetListenCallback")
  314. UnSetListenCallbackAll_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetListenCallbackAll")
  315. UpdateServerData_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UpdateServerData")
  316. GetPlayerNameById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerNameById")
  317. GetPlayerIdByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerIdByName")
  318. ReadMemory(addr, size, ByRef data)
  319. {
  320. global ReadMemory_func
  321. VarSetCapacity(data,size)
  322. res := DllCall(ReadMemory_func, UInt, addr, UInt, size, StrP, data)
  323. return res
  324. }
  325. WriteMemory(addr, size, data)
  326. {
  327. global WriteMemory_func
  328. res := DllCall(WriteMemory_func, UInt, addr, UInt, size, Str, data)
  329. return res
  330. }
  331. GetBasePointer(dll)
  332. {
  333. global GetBasePointer_func
  334. res :=DllCall(GetBasePointer_func, Str, dll)
  335. return res
  336. }
  337. GetCommandLine(ByRef line)
  338. {
  339. global GetCommandLine_func
  340. VarSetCapacity(line,512,0)
  341. res := DllCall(GetCommandLine_func, StrP, line)
  342. return res
  343. }
  344. GetLastError()
  345. {
  346. global GetLastError_func
  347. res:=DllCall(GetLastError_func)
  348. return res
  349. }
  350. SetLastError(error)
  351. {
  352. global SetLastError_func
  353. res := DllCall(SetLastError_func, Int, error)
  354. return res
  355. }
  356. SendChat(msg)
  357. {
  358. global SendChat_func
  359. res := DllCall(SendChat_func, Str, msg)
  360. return res
  361. }
  362. ShowGameText(str_Text, int_Time, int_Style)
  363. {
  364. global ShowGameText_func
  365. res := DllCall(ShowGameText_func,Str , str_Text, Int, int_Time, Int, int_Style)
  366. return res
  367. }
  368. AddChatMessage(int_Color, str_Text)
  369. {
  370. global AddChatMessage_func
  371. res := DllCall(AddChatMessage_func, Int, int_Color, Str, str_Text)
  372. return res
  373. }
  374. ShowDialog(style, caption, text, button)
  375. {
  376. global ShowDialog_func
  377. res := DllCall(ShowDialog_func, Int, style, Str, caption, Str, text, Str, button)
  378. return res
  379. }
  380. IsDialogOpen()
  381. {
  382. global IsDialogOpen_func
  383. res := DllCall(IsDialogOpen_func)
  384. return res
  385. }
  386. GetLastDialogId()
  387. {
  388. global GetLastDialogId_func
  389. res := DllCall(GetLastDialogId_func)
  390. return res
  391. }
  392. GetLastDialogType()
  393. {
  394. global GetLastDialogType_func
  395. res := DllCall(GetLastDialogType_func)
  396. return res
  397. }
  398. BlockChatInput(block)
  399. {
  400. global BlockChatInput_func
  401. res := DllCall(BlockChatInput_func,UChar,block)
  402. return res
  403. }
  404. GetChatLine(id, ByRef line)
  405. {
  406. global GetChatLine_func
  407. VarSetCapacity(line,256,0)
  408. res := DllCall(GetChatLine_func,Int,id,StrP,line)
  409. return res
  410. }
  411. GetChatLineFromFile(id, ByRef line)
  412. {
  413. global GetChatLineFromFile_func
  414. VarSetCapacity(line,256,0)
  415. res := DllCall(GetChatLineFromFile_func,Int,id,StrP,line)
  416. return res
  417. }
  418. IsChatOpen()
  419. {
  420. global IsChatOpen_func
  421. res := DllCall(IsChatOpen_func)
  422. return res
  423. }
  424. GetScreenSizeX()
  425. {
  426. global GetScreenSizeX_func
  427. res := DllCall(GetScreenSizeX_func)
  428. return res
  429. }
  430. GetScreenSizeY()
  431. {
  432. global GetScreenSizeY_func
  433. res := DllCall(GetScreenSizeY_func)
  434. return res
  435. }
  436. GetCurrentWeatherId()
  437. {
  438. global GetCurrentWeatherId_func
  439. res := DllCall(GetCurrentWeatherId_func)
  440. return res
  441. }
  442. GetZoneName( ByRef str_ZoneName)
  443. {
  444. global GetZoneName_func
  445. VarSetCapacity(str_ZoneName, 32)
  446. res := DllCall(GetZoneName_func, StrP, str_ZoneName)
  447. return res
  448. }
  449. GetCityName( ByRef str_CityName)
  450. {
  451. global GetCityName_func
  452. VarSetCapacity(str_CityName, 32)
  453. res := DllCall(GetCityName_func, StrP, str_CityName)
  454. return res
  455. }
  456. GetZoneNameByCoords(x, y, ByRef str_ZoneName)
  457. {
  458. global GetZoneNameByCoords_func
  459. VarSetCapacity(str_ZoneName, 32)
  460. res := DllCall(GetZoneNameByCoords_func, Float, x, Float, y, StrP, str_ZoneName)
  461. return res
  462. }
  463. GetCityNameByCoords(x, y, ByRef str_CityName)
  464. {
  465. global GetCityNameByCoords_func
  466. VarSetCapacity(str_CityName, 32)
  467. res := DllCall(GetCityNameByCoords_func, Float, x, Float, y, StrP, str_CityName)
  468. return res
  469. }
  470. GetMarkerPos(ByRef x, ByRef y, ByRef z)
  471. {
  472. global GetMarkerPos_func
  473. res := DllCall(GetMarkerPos_func, FloatP, x, FloatP, y, FloatP, z)
  474. return res
  475. }
  476. GetLastMousePosOnMenuMap(ByRef x, ByRef y)
  477. {
  478. global GetLastMousePosOnMenuMap_func
  479. res := DllCall(GetLastMousePosOnMenuMap_func, FloatP, x, FloatP, y)
  480. return res
  481. }
  482. GetMapMarkerPos(ByRef x, ByRef y)
  483. {
  484. global GetMapMarkerPos_func
  485. res := DllCall(GetMapMarkerPos_func, FloatP, x, FloatP, y)
  486. return res
  487. }
  488. FindGroundZForPosition(x,y)
  489. {
  490. global FindGroundZForPosition_func
  491. res := DllCall(FindGroundZForPosition_func, Float, x, Float, y, "Cdecl float")
  492. return res
  493. }
  494. WorldToScreen(worldX, worldY, worldZ, ByRef screenX, ByRef screenY)
  495. {
  496. global WorldToScreen_func
  497. res := DllCall(WorldToScreen_func, Float, worldX, Float, worldY, Float, worldZ, FloatP, screenX, FloatP, screenY)
  498. return res
  499. }
  500. ScreenToWorld(screenX, screenY, ByRef worldX, ByRef worldY, ByRef worldZ)
  501. {
  502. global ScreenToWorld_func
  503. res := DllCall(ScreenToWorld_func, Float, screenX, Float, screenY, FloatP, worldX, FloatP, worldY, FloatP, worldZ)
  504. return res
  505. }
  506. RegisterTextBind(str_TextBind, float_PosX, float_PosY, float_PosZ, float_Radius, int_Delay, int_Loop, int_GroupId, int_isChild, int_Timeout)
  507. {
  508. global RegisterTextBind_func
  509. 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)
  510. return res
  511. }
  512. UnregisterTextBind(int_TextBindId)
  513. {
  514. global UnregisterTextBind_func
  515. res := DllCall(UnregisterTextBind_func, Int, int_TextBindId)
  516. return res
  517. }
  518. UnregisterAllTextBinds()
  519. {
  520. global UnregisterAllTextBinds_func
  521. res := DllCall(UnregisterAllTextBinds_func)
  522. return res
  523. }
  524. TextBindTimer(int_TextBindSleep)
  525. {
  526. global TextBindTimer_func
  527. res := DllCall(TextBindTimer_func, Int, int_TextBindSleep)
  528. return res
  529. }
  530. IsMenuOpen()
  531. {
  532. global IsMenuOpen_func
  533. res := DllCall(IsMenuOpen_func)
  534. return res
  535. }
  536. GetPlayerId()
  537. {
  538. global GetPlayerId_func
  539. res := DllCall(GetPlayerId_func)
  540. return res
  541. }
  542. GetPlayerName(ByRef szName)
  543. {
  544. global GetPlayerName_func
  545. VarSetCapacity(szName,25)
  546. res := DllCall(GetPlayerName_func, StrP, szName)
  547. return res
  548. }
  549. GetServerIp(ByRef szHost)
  550. {
  551. global GetServerIp_func
  552. VarSetCapacity(szHost, 30)
  553. res := DllCall(GetServerIp_func, StrP, szHost)
  554. return res
  555. }
  556. GetServerPort()
  557. {
  558. global GetServerPort_func
  559. res := DllCall(GetServerPort_func)
  560. return res
  561. }
  562. GetPlayerCPed()
  563. {
  564. global GetPlayerCPed_func
  565. res :=DllCall(GetPlayerCPed_func)
  566. return res
  567. }
  568. GetPlayerHealth()
  569. {
  570. global GetPlayerHealth_func
  571. res := DllCall(GetPlayerHealth_func)
  572. return res
  573. }
  574. GetPlayerArmor()
  575. {
  576. global GetPlayerArmor_func
  577. res := DllCall(GetPlayerArmor_func)
  578. return res
  579. }
  580. GetPlayerMoney()
  581. {
  582. global GetPlayerMoney_func
  583. res := DllCall(GetPlayerMoney_func)
  584. return res
  585. }
  586. GetPlayerWanteds()
  587. {
  588. global GetPlayerWanteds_func
  589. res := DllCall(GetPlayerWanteds_func)
  590. return res
  591. }
  592. GetPlayerPosition(ByRef flo_posX, ByRef flo_posY, ByRef flo_posZ, ByRef flo_Rotation)
  593. {
  594. global GetPlayerPosition_func
  595. res := DllCall(GetPlayerPosition_func, FloatP, flo_posX, FloatP, flo_posY, FloatP, flo_posZ, FloatP, flo_Rotation)
  596. return res
  597. }
  598. IsPlayerInRangeOfPoint(flo_posX, flo_posY, flo_posZ, flo_posRadius)
  599. {
  600. global IsPlayerInRangeOfPoint_func
  601. res := DllCall(IsPlayerInRangeOfPoint_func, Float, flo_posX, Float, flo_posY, Float, flo_posZ, Float, flo_posRadius)
  602. return res
  603. }
  604. IsPlayerInRangeOfPoint2D(flo_posX, flo_posY, flo_posRadius)
  605. {
  606. global IsPlayerInRangeOfPoint2D_func
  607. res := DllCall(IsPlayerInRangeOfPoint2D_func, Float, flo_posX, Float, flo_posY, Float, flo_posRadius)
  608. return res
  609. }
  610. IsPlayerInAnyInterior()
  611. {
  612. global IsPlayerInAnyInterior_func
  613. res := DllCall(IsPlayerInAnyInterior_func)
  614. return res
  615. }
  616. IsPlayerFrozen()
  617. {
  618. global IsPlayerFrozen_func
  619. res := DllCall(IsPlayerFrozen_func)
  620. return res
  621. }
  622. GetPlayerWeaponSlot()
  623. {
  624. global GetPlayerWeaponSlot_func
  625. res := DllCall(GetPlayerWeaponSlot_func)
  626. return res
  627. }
  628. GetPlayerWeaponId(int_WeaponSlot)
  629. {
  630. global GetPlayerWeaponId_func
  631. res := DllCall(GetPlayerWeaponId_func, Int, int_WeaponSlot)
  632. return res
  633. }
  634. GetPlayerWeaponName(int_WeaponSlot, ByRef str_WeapName)
  635. {
  636. global GetPlayerWeaponName_func
  637. VarSetCapacity(str_WeapName, 32)
  638. res := DllCall(GetPlayerWeaponName_func, Int, int_WeaponSlot, StrP, str_WeapName)
  639. return res
  640. }
  641. GetPlayerWeaponClip(int_WeaponSlot)
  642. {
  643. global GetPlayerWeaponClip_func
  644. res := DllCall(GetPlayerWeaponClip_func, Int, int_WeaponSlot)
  645. return res
  646. }
  647. GetPlayerWeaponTotalClip(int_WeaponSlot)
  648. {
  649. global GetPlayerWeaponTotalClip_func
  650. res := DllCall(GetPlayerWeaponTotalClip_func, Int, int_WeaponSlot)
  651. return res
  652. }
  653. GetPlayerWeaponState()
  654. {
  655. global GetPlayerWeaponState_func
  656. res := DllCall(GetPlayerWeaponState_func)
  657. return res
  658. }
  659. GetPlayerState()
  660. {
  661. global GetPlayerState_func
  662. res := DllCall(GetPlayerState_func)
  663. return res
  664. }
  665. GetVehiclePointer()
  666. {
  667. global GetVehiclePointer_func
  668. res := DllCall(GetVehiclePointer_func)
  669. return res
  670. }
  671. GetVehicleModelId()
  672. {
  673. global GetVehicleModelId_func
  674. res := DllCall(GetVehicleModelId_func)
  675. return res
  676. }
  677. GetVehicleModelName(ByRef str_VehicleName)
  678. {
  679. global GetVehicleModelName_func
  680. VarSetCapacity(str_VehicleName, 32)
  681. res := DllCall(GetVehicleModelName_func, StrP, str_VehicleName)
  682. return res
  683. }
  684. GetVehicleModelNameById(int_VehicleId, ByRef str_VehicleName)
  685. {
  686. global GetVehicleModelNameById_func
  687. VarSetCapacity(str_VehicleName, 32)
  688. res := DllCall(GetVehicleModelNameById_func, Int, int_VehicleId, StrP, str_VehicleName)
  689. return res
  690. }
  691. GetVehicleType()
  692. {
  693. global GetVehicleType_func
  694. res := DllCall(GetVehicleType_func)
  695. return res
  696. }
  697. GetVehicleHealth()
  698. {
  699. global GetVehicleHealth_func
  700. res := DllCall(GetVehicleHealth_func)
  701. return res
  702. }
  703. GetVehicleRadioStation()
  704. {
  705. global GetVehicleRadioStation_func
  706. res := DllCall(GetVehicleRadioStation_func)
  707. return res
  708. }
  709. GetVehicleRadioStationName(ByRef str_RadioName)
  710. {
  711. global GetVehicleRadioStationName_func
  712. VarSetCapacity(str_RadioName, 32)
  713. res := DllCall(GetVehicleRadioStationName_func, StrP, str_RadioName)
  714. return res
  715. }
  716. GetVehicleFreeSeats(ByRef int_SeatFL, ByRef int_SeatFR, ByRef int_SeatBL, ByRef int_SeatBR)
  717. {
  718. global GetVehicleFreeSeats_func
  719. res := DllCall(GetVehicleFreeSeats_func, IntP, int_SeatFL, IntP, int_SeatFR, IntP, int_SeatBL, IntP, int_SeatBR)
  720. return res
  721. }
  722. GetVehicleSpeed(float_SpeedMult)
  723. {
  724. global GetVehicleSpeed_func
  725. res := DllCall(GetVehicleSpeed_func, Float, float_SpeedMult)
  726. return res
  727. }
  728. GetVehicleFirstColor()
  729. {
  730. global GetVehicleFirstColor_func
  731. res := DllCall(GetVehicleFirstColor_func)
  732. return res
  733. }
  734. GetVehicleSecondColor()
  735. {
  736. global GetVehicleSecondColor_func
  737. res := DllCall(GetVehicleSecondColor_func)
  738. return res
  739. }
  740. GetVehicleColor(ByRef int_ColorFirst, ByRef int_ColorSecond)
  741. {
  742. global GetVehicleColor_func
  743. res := DllCall(GetVehicleColor_func, IntP, int_ColorFirst, IntP, int_ColorSecond)
  744. return res
  745. }
  746. GetVehicleColorRGB(int_Color, ByRef uint_ColorRGB)
  747. {
  748. global GetVehicleColorRGB_func
  749. res := DllCall(GetVehicleColorRGB_func, Int, int_Color, UIntP, uint_ColorRGB)
  750. return res
  751. }
  752. GetVehicleColorARGB(int_Color, ByRef uint_ColorARGB)
  753. {
  754. global GetVehicleColorARGB_func
  755. res := DllCall(GetVehicleColorARGB_func, Int, int_Color, UIntP, uint_ColorARGB)
  756. return res
  757. }
  758. IsPlayerInAnyVehicle()
  759. {
  760. global IsPlayerInAnyVehicle_func
  761. res := DllCall(IsPlayerInAnyVehicle_func)
  762. return res
  763. }
  764. IsPlayerDriver()
  765. {
  766. global IsPlayerDriver_func
  767. res := DllCall(IsPlayerDriver_func)
  768. return res
  769. }
  770. IsPlayerPassenger()
  771. {
  772. global IsPlayerPassenger_func
  773. res := DllCall(IsPlayerPassenger_func)
  774. return res
  775. }
  776. IsVehicleSeatUsed(int_SeatId)
  777. {
  778. global IsVehicleSeatUsed_func
  779. res := DllCall(IsVehicleSeatUsed_func, int, int_SeatId)
  780. return res
  781. }
  782. IsVehicleLocked()
  783. {
  784. global IsVehicleLocked_func
  785. res := DllCall(IsVehicleLocked_func)
  786. return res
  787. }
  788. IsVehicleSirenEnabled()
  789. {
  790. global IsVehicleSirenEnabled_func
  791. res := DllCall(IsVehicleSirenEnabled_func)
  792. return res
  793. }
  794. IsVehicleHornEnabled()
  795. {
  796. global IsVehicleHornEnabled_func
  797. res := DllCall(IsVehicleHornEnabled_func)
  798. return res
  799. }
  800. IsVehicleAlternateSirenEnabled()
  801. {
  802. global IsVehicleAlternateSirenEnabled_func
  803. res := DllCall(IsVehicleAlternateSirenEnabled_func)
  804. return res
  805. }
  806. IsVehicleEngineEnabled()
  807. {
  808. global IsVehicleEngineEnabled_func
  809. res := DllCall(IsVehicleEngineEnabled_func)
  810. return res
  811. }
  812. IsVehicleLightEnabled()
  813. {
  814. global IsVehicleLightEnabled_func
  815. res := DllCall(IsVehicleLightEnabled_func)
  816. return res
  817. }
  818. IsPlayerInCar()
  819. {
  820. global IsPlayerInCar_func
  821. res := DllCall(IsPlayerInCar_func)
  822. return res
  823. }
  824. IsPlayerInPlane()
  825. {
  826. global IsPlayerInPlane_func
  827. res := DllCall(IsPlayerInPlane_func)
  828. return res
  829. }
  830. IsPlayerInBoat()
  831. {
  832. global IsPlayerInBoat_func
  833. res := DllCall(IsPlayerInBoat_func)
  834. return res
  835. }
  836. IsPlayerInTrain()
  837. {
  838. global IsPlayerInTrain_func
  839. res := DllCall(IsPlayerInTrain_func)
  840. return res
  841. }
  842. IsPlayerInBike()
  843. {
  844. global IsPlayerInBike_func
  845. res := DllCall(IsPlayerInBike_func)
  846. return res
  847. }
  848. SetListenCallback(int_Id)
  849. {
  850. global SetListenCallback_func
  851. res := DllCall(SetListenCallback_func, Int, int_Id)
  852. return res
  853. }
  854. UnSetCallbackPointer()
  855. {
  856. global UnSetCallbackPointer_func
  857. res := DllCall(UnSetCallbackPointer_func)
  858. return res
  859. }
  860. SetCallbackPointer(int_Id)
  861. {
  862. global SetCallbackPointer_func
  863. res := DllCall(SetCallbackPointer_func, Int, int_Id)
  864. return res
  865. }
  866. UnSetListenCallback(int_Id)
  867. {
  868. global UnSetListenCallback_func
  869. res := DllCall(UnSetListenCallback_func, Int, int_Id)
  870. return res
  871. }
  872. UnSetListenCallbackAll()
  873. {
  874. global UnSetListenCallbackAll_func
  875. res := DllCall(UnSetListenCallbackAll_func)
  876. return res
  877. }
  878. GetCallbackHealParams(ptr_HealStruct, ByRef iOldHeal, ByRef iNewHeal)
  879. {
  880. ioldHeal := NumGet(ptr_HealStruct+0, "int")
  881. inewHeal := NumGet(ptr_HealStruct+4, "int")
  882. }
  883. GetCallbackArmorParams(ptr_ArmorStruct, ByRef iOldArmor, ByRef iNewArmor)
  884. {
  885. ioldArmor := NumGet(ptr_ArmorStruct+0, "int")
  886. inewArmor := NumGet(ptr_ArmorStruct+4, "int")
  887. }
  888. GetCallbackPositionParams(ptr_PositionStruct, ByRef fOldPosX, ByRef fOldPosY, ByRef fOldPosZ, ByRef fOldPosR, ByRef fNewPosX, ByRef fNewPosY, ByRef fNewPosZ, ByRef fNewPosR)
  889. {
  890. fOldPosX := NumGet(ptr_PositionStruct+0, "float")
  891. fOldPosY := NumGet(ptr_PositionStruct+4, "float")
  892. fOldPosZ := NumGet(ptr_PositionStruct+8, "float")
  893. fOldPosR := NumGet(ptr_PositionStruct+12, "float")
  894. fNewPosX := NumGet(ptr_PositionStruct+16, "float")
  895. fNewPosY := NumGet(ptr_PositionStruct+20, "float")
  896. fNewPosZ := NumGet(ptr_PositionStruct+24, "float")
  897. fNewPosR := NumGet(ptr_PositionStruct+28, "float")
  898. }
  899. GetCallbackEnterExitParams(ptr_EnterExitStruct, ByRef iOldInteriorState, ByRef iNewInteriorState)
  900. {
  901. iOldInteriorState := NumGet(ptr_EnterExitStruct+0, "int")
  902. iNewInteriorState := NumGet(ptr_EnterExitStruct+4, "int")
  903. }
  904. GetCallbackVehicleEnterExitParams(ptr_VehicleEnterExitStruct, ByRef iOldVehicleEnterExit, ByRef iNewVehicleEnterExit)
  905. {
  906. iOldVehicleEnterExit := NumGet(ptr_VehicleEnterExitStruct+0, "int")
  907. iNewVehicleEnterExit := NumGet(ptr_VehicleEnterExitStruct+4, "int")
  908. }
  909. GetCallbackVehicleHealthParams(ptr_VehicleHealthStruct, ByRef iOldVehicleHealth, ByRef iNewVehicleHealth)
  910. {
  911. iOldVehicleHealth := NumGet(ptr_VehicleHealthStruct+0, "int")
  912. iNewVehicleHealth := NumGet(ptr_VehicleHealthStruct+4, "int")
  913. }
  914. GetCallbackVehicleEngineParams(ptr_VehicleEngineStruct, ByRef iOldVehicleEngine, ByRef iNewVehicleEngine)
  915. {
  916. iOldVehicleEngine := NumGet(ptr_VehicleEngineStruct+0, "int")
  917. iNewVehicleEngine := NumGet(ptr_VehicleEngineStruct+4, "int")
  918. }
  919. GetCallbackVehicleLockParams(ptr_VehicleLockStruct, ByRef iOldVehicleLock, ByRef iNewVehicleLock)
  920. {
  921. iOldVehicleLock := NumGet(ptr_VehicleLockStruct+0, "int")
  922. iNewVehicleLock := NumGet(ptr_VehicleLockStruct+4, "int")
  923. }
  924. GetCallbackVehicleSpeedParams(ptr_VehicleSpeedStruct, ByRef iOldVehicleSpeed, ByRef iNewVehicleSpeed)
  925. {
  926. iOldVehicleSpeed := NumGet(ptr_VehicleSpeedStruct+0, "int")
  927. iNewVehicleSpeed := NumGet(ptr_VehicleSpeedStruct+4, "int")
  928. }
  929. GetCallbackWeaponSwitchParams(ptr_WeaponSwitchStruct, ByRef iOldWeaponId, ByRef iNewWeaponId)
  930. {
  931. iOldWeaponId := NumGet(ptr_WeaponSwitchStruct+0, "int")
  932. iNewWeaponId := NumGet(ptr_WeaponSwitchStruct+4, "int")
  933. }
  934. GetCallbackWeaponClipParams(ptr_WeaponClipStruct, ByRef iOldWeaponClip, ByRef iNewWeaponClip)
  935. {
  936. iOldWeaponClip := NumGet(ptr_WeaponClipStruct+0, "int")
  937. iNewWeaponClip := NumGet(ptr_WeaponClipStruct+4, "int")
  938. }
  939. GetCallbackWeaponTotalClipParams(ptr_WeaponTotalClipStruct, ByRef iOldWeaponTotalClip, ByRef iNewWeaponTotalClip)
  940. {
  941. iOldWeaponTotalClip := NumGet(ptr_WeaponTotalClipStruct+0, "int")
  942. iNewWeaponTotalClip := NumGet(ptr_WeaponTotalClipStruct+4, "int")
  943. }
  944. UpdateServerData()
  945. {
  946. global UpdateServerData_func
  947. res := DllCall(UpdateServerData_func)
  948. return res
  949. }
  950. GetPlayerNameById(id,ByRef name)
  951. {
  952. VarSetCapacity(name,24,0)
  953. global GetPlayerNameById_func
  954. res := DllCall(GetPlayerNameById_func,UShort,id,StrP,name)
  955. return res
  956. }
  957. GetPlayerIdByName(name)
  958. {
  959. global GetPlayerIdByName_func
  960. res := DllCall(GetPlayerIdByName_func,Str,name)
  961. return res
  962. }
  963. DecimalToHex(Var){
  964. SetFormat, IntegerFast, hex
  965. Dec2Hex += Var
  966. Dec2Hex .= ""
  967. SetFormat, IntegerFast, d
  968. StringTrimLeft, Dec2Hex, Dec2Hex, 2
  969. StringUpper, Dec2Hex, Dec2Hex
  970. sDec2Hex .= Dec2Hex
  971. return sDec2Hex
  972. }
  973. RelToAbs(root, dir, s = "\") {
  974. pr := SubStr(root, 1, len := InStr(root, s, "", InStr(root, s . s) + 2) - 1)
  975. , root := SubStr(root, len + 1), sk := 0
  976. If InStr(root, s, "", 0) = StrLen(root)
  977. StringTrimRight, root, root, 1
  978. If InStr(dir, s, "", 0) = StrLen(dir)
  979. StringTrimRight, dir, dir, 1
  980. Loop, Parse, dir, %s%
  981. {
  982. If A_LoopField = ..
  983. StringLeft, root, root, InStr(root, s, "", 0) - 1
  984. Else If A_LoopField =
  985. root =
  986. Else If A_LoopField != .
  987. Continue
  988. StringReplace, dir, dir, %A_LoopField%%s%
  989. }
  990. Return, pr . root . s . dir
  991. }
  992. PATH_OVERLAY := RelToAbs(A_ScriptDir, "dx9_overlay.dll")
  993. h2Module := DllCall("LoadLibrary", Str, PATH_OVERLAY)
  994. if(h2Module == -1 || h2Module == 0)
  995. {
  996. MsgBox, 48, Error, Die dx9_overlay.dll konnte nicht gefunden werden. `nDer Keybinder wird nun beendet.
  997. ExitApp
  998. }
  999. Init_func := DllCall("GetProcAddress", UInt, h2Module, Str, "Init")
  1000. SetParam_func := DllCall("GetProcAddress", UInt, h2Module, Str, "SetParam")
  1001. TextCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextCreate")
  1002. TextDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextDestroy")
  1003. TextSetShadow_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetShadow")
  1004. TextSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetShown")
  1005. TextSetColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetColor")
  1006. TextSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetPos")
  1007. TextSetString_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetString")
  1008. TextUpdate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextUpdate")
  1009. BoxCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxCreate")
  1010. BoxDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxDestroy")
  1011. BoxSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetShown")
  1012. BoxSetBorder_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetBorder")
  1013. BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetBorderColor")
  1014. BoxSetColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetColor")
  1015. BoxSetHeight_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetHeight")
  1016. BoxSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetPos")
  1017. BoxSetWidth_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetWidth")
  1018. LineCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineCreate")
  1019. LineDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineDestroy")
  1020. LineSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetShown")
  1021. LineSetColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetColor")
  1022. LineSetWidth_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetWidth")
  1023. LineSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetPos")
  1024. ImageCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageCreate")
  1025. ImageDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageDestroy")
  1026. ImageSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetShown")
  1027. ImageSetAlign_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetAlign")
  1028. ImageSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetPos")
  1029. ImageSetRotation_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetRotation")
  1030. DestroyAllVisual_func := DllCall("GetProcAddress", UInt, h2Module, Str, "DestroyAllVisual")
  1031. ShowAllVisual_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ShowAllVisual")
  1032. HideAllVisual_func := DllCall("GetProcAddress", UInt, h2Module, Str, "HideAllVisual")
  1033. GetFrameRate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "GetFrameRate")
  1034. GetScreenSpecs_func := DllCall("GetProcAddress", UInt, h2Module, Str, "GetScreenSpecs")
  1035. Init()
  1036. {
  1037. global Init_func
  1038. res := DllCall(Init_func)
  1039. return res
  1040. }
  1041. SetParam(str_Name, str_Value)
  1042. {
  1043. global SetParam_func
  1044. res := DllCall(SetParam_func, Str, str_Name, Str, str_Value)
  1045. return res
  1046. }
  1047. TextCreate(Font, fontsize, bold, italic, x, y, color, text, shadow, show)
  1048. {
  1049. global TextCreate_func
  1050. res := DllCall(TextCreate_func,Str,Font,Int,fontsize,UChar,bold,UChar,italic,Int,x,Int,y,UInt,color,Str,text,UChar,shadow,UChar,show)
  1051. return res
  1052. }
  1053. TextDestroy(id)
  1054. {
  1055. global TextDestroy_func
  1056. res := DllCall(TextDestroy_func,Int,id)
  1057. return res
  1058. }
  1059. TextSetShadow(id, shadow)
  1060. {
  1061. global TextSetShadow_func
  1062. res := DllCall(TextSetShadow_func,Int,id,UChar,shadow)
  1063. return res
  1064. }
  1065. TextSetShown(id, show)
  1066. {
  1067. global TextSetShown_func
  1068. res := DllCall(TextSetShown_func,Int,id,UChar,show)
  1069. return res
  1070. }
  1071. TextSetColor(id,color)
  1072. {
  1073. global TextSetColor_func
  1074. res := DllCall(TextSetColor_func,Int,id,UInt,color)
  1075. return res
  1076. }
  1077. TextSetPos(id,x,y)
  1078. {
  1079. global TextSetPos_func
  1080. res := DllCall(TextSetPos_func,Int,id,Int,x,Int,y)
  1081. return res
  1082. }
  1083. TextSetString(id,Text)
  1084. {
  1085. global TextSetString_func
  1086. res := DllCall(TextSetString_func,Int,id,Str,Text)
  1087. return res
  1088. }
  1089. TextUpdate(id,Font,Fontsize,bold,italic)
  1090. {
  1091. global TextUpdate_func
  1092. res := DllCall(TextUpdate_func,Int,id,Str,Font,int,Fontsize,UChar,bold,UChar,italic)
  1093. return res
  1094. }
  1095. BoxCreate(x,y,width,height,Color,show)
  1096. {
  1097. global BoxCreate_func
  1098. res := DllCall(BoxCreate_func,Int,x,Int,y,Int,width,Int,height,UInt,Color,UChar,show)
  1099. return res
  1100. }
  1101. BoxDestroy(id)
  1102. {
  1103. global BoxDestroy_func
  1104. res := DllCall(BoxDestroy_func,Int,id)
  1105. return res
  1106. }
  1107. BoxSetShown(id,Show)
  1108. {
  1109. global BoxSetShown_func
  1110. res := DllCall(BoxSetShown_func,Int,id,UChar,Show)
  1111. return res
  1112. }
  1113. BoxSetBorder(id,height,Show)
  1114. {
  1115. global BoxSetBorder_func
  1116. res := DllCall(BoxSetBorder_func,Int,id,Int,height,Int,Show)
  1117. return res
  1118. }
  1119. BoxSetBorderColor(id,Color)
  1120. {
  1121. global BoxSetBorderColor_func
  1122. res := DllCall(BoxSetBorderColor_func,Int,id,UInt,Color)
  1123. return res
  1124. }
  1125. BoxSetColor(id,Color)
  1126. {
  1127. global BoxSetColor_func
  1128. res := DllCall(BoxSetColor_func,Int,id,UInt,Color)
  1129. return res
  1130. }
  1131. BoxSetHeight(id,height)
  1132. {
  1133. global BoxSetHeight_func
  1134. res := DllCall(BoxSetHeight_func,Int,id,Int,height)
  1135. return res
  1136. }
  1137. BoxSetPos(id,x,y)
  1138. {
  1139. global BoxSetPos_func
  1140. res := DllCall(BoxSetPos_func,Int,id,Int,x,Int,y)
  1141. return res
  1142. }
  1143. BoxSetWidth(id,width)
  1144. {
  1145. global BoxSetWidth_func
  1146. res := DllCall(BoxSetWidth_func,Int,id,Int,width)
  1147. return res
  1148. }
  1149. LineCreate(x1,y1,x2,y2,width,color,show)
  1150. {
  1151. global LineCreate_func
  1152. res := DllCall(LineCreate_func,Int,x1,Int,y1,Int,x2,Int,y2,Int,Width,UInt,color,UChar,show)
  1153. return res
  1154. }
  1155. LineDestroy(id)
  1156. {
  1157. global LineDestroy_func
  1158. res := DllCall(LineDestroy_func,Int,id)
  1159. return res
  1160. }
  1161. LineSetShown(id,show)
  1162. {
  1163. global LineSetShown_func
  1164. res := DllCall(LineSetShown_func,Int,id,UChar,show)
  1165. return res
  1166. }
  1167. LineSetColor(id,color)
  1168. {
  1169. global LineSetColor_func
  1170. res := DllCall(LineSetColor_func,Int,id,UInt,color)
  1171. return res
  1172. }
  1173. LineSetWidth(id, width)
  1174. {
  1175. global LineSetWidth_func
  1176. res := DllCall(LineSetWidth_func,Int,id,Int,width)
  1177. return res
  1178. }
  1179. LineSetPos(id,x1,y1,x2,y2)
  1180. {
  1181. global LineSetPos_func
  1182. res := DllCall(LineSetPos_func,Int,id,Int,x1,Int,y1,Int,x2,Int,y2)
  1183. return res
  1184. }
  1185. ImageCreate(path, x, y, rotation, align, show)
  1186. {
  1187. global ImageCreate_func
  1188. res := DllCall(ImageCreate_func, Str, path, Int, x, Int, y, Int, rotation, Int, align, UChar, show)
  1189. return res
  1190. }
  1191. ImageDestroy(id)
  1192. {
  1193. global ImageDestroy_func
  1194. res := DllCall(ImageDestroy_func,Int,id)
  1195. return res
  1196. }
  1197. ImageSetShown(id,show)
  1198. {
  1199. global ImageSetShown_func
  1200. res := DllCall(ImageSetShown_func,Int,id,UChar,show)
  1201. return res
  1202. }
  1203. ImageSetAlign(id,align)
  1204. {
  1205. global ImageSetAlign_func
  1206. res := DllCall(ImageSetAlign_func,Int,id,Int,align)
  1207. return res
  1208. }
  1209. ImageSetPos(id, x, y)
  1210. {
  1211. global ImageSetPos_func
  1212. res := DllCall(ImageSetPos_func,Int,id,Int,x, Int, y)
  1213. return res
  1214. }
  1215. ImageSetRotation(id, rotation)
  1216. {
  1217. global ImageSetRotation_func
  1218. res := DllCall(ImageSetRotation_func,Int,id,Int, rotation)
  1219. return res
  1220. }
  1221. DestroyAllVisual()
  1222. {
  1223. global DestroyAllVisual_func
  1224. res := DllCall(DestroyAllVisual_func)
  1225. return res
  1226. }
  1227. ShowAllVisual()
  1228. {
  1229. global ShowAllVisual_func
  1230. res := DllCall(ShowAllVisual_func)
  1231. return res
  1232. }
  1233. HideAllVisual()
  1234. {
  1235. global HideAllVisual_func
  1236. res := DllCall(HideAllVisual_func )
  1237. return res
  1238. }
  1239. GetFrameRate()
  1240. {
  1241. global GetFrameRate_func
  1242. res := DllCall(GetFrameRate_func )
  1243. return res
  1244. }
  1245. GetScreenSpecs(ByRef width, ByRef height)
  1246. {
  1247. global GetScreenSpecs_func
  1248. res := DllCall(GetScreenSpecs_func, IntP, width, IntP, height)
  1249. return res
  1250. }
  1251.  
  1252. SetParam("use_window", "1")
  1253. SetParam("window", "GTA:SA:MP")
  1254.  
  1255.  
  1256. IniRead, Fraktion, settings.ini, Daten, Fraktion
  1257. if(Fraktion == "" || Fraktion = "ERROR")
  1258. {
  1259. Fraktion := "SAPD"
  1260. IniWrite, %Fraktion%, settings.ini, Daten, Fraktion
  1261. }
  1262. IniRead, Abteilung, settings.ini, Daten, Abteilung
  1263. if(Abteilung = "ERROR")
  1264. {
  1265. Abteilung := ""
  1266. IniWrite, %Abteilung%, settings.ini, Daten, Abteilung
  1267. }
  1268. IniRead, Swatabteilung, settings.ini, Daten, Swatabteilung
  1269. if(Swatabteilung = "ERROR")
  1270. {
  1271. Swatabteilung := ""
  1272. IniWrite, %Swatabteilung%, settings.ini, Daten, Swatabteilung
  1273. }
  1274. IniRead, Laptop, settings.ini, Daten, Laptop
  1275. IniRead, Lock, settings.ini, Daten, Lock
  1276. IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
  1277. IniRead, TankZoll, settings.ini, Daten, TankZoll
  1278.  
  1279. IniRead, CheckCall, settings.ini, Sounds, CheckCall
  1280. IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
  1281. IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
  1282. IniRead, CheckBK, settings.ini, Sounds, CheckBK
  1283. IniRead, Callsound, settings.ini, Sounds, Callsound
  1284. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  1285. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  1286. IniRead, BKsound, settings.ini, Sounds, BKsound
  1287.  
  1288. IniRead, Profil1_1, settings.ini, Ausruesten, Profil1_1
  1289. IniRead, Profil1_2, settings.ini, Ausruesten, Profil1_2
  1290. IniRead, Profil1_3, settings.ini, Ausruesten, Profil1_3
  1291. IniRead, Profil1_4, settings.ini, Ausruesten, Profil1_4
  1292. IniRead, Profil1_5, settings.ini, Ausruesten, Profil1_5
  1293. IniRead, Profil1_6, settings.ini, Ausruesten, Profil1_6
  1294. IniRead, Profil1_7, settings.ini, Ausruesten, Profil1_7
  1295.  
  1296. IniRead, Profil2_1, settings.ini, Ausruesten, Profil2_1
  1297. IniRead, Profil2_2, settings.ini, Ausruesten, Profil2_2
  1298. IniRead, Profil2_3, settings.ini, Ausruesten, Profil2_3
  1299. IniRead, Profil2_4, settings.ini, Ausruesten, Profil2_4
  1300. IniRead, Profil2_5, settings.ini, Ausruesten, Profil2_5
  1301. IniRead, Profil2_6, settings.ini, Ausruesten, Profil2_6
  1302. IniRead, Profil2_7, settings.ini, Ausruesten, Profil2_7
  1303.  
  1304. IniRead, Profil3_1, settings.ini, Ausruesten, Profil3_1
  1305. IniRead, Profil3_2, settings.ini, Ausruesten, Profil3_2
  1306. IniRead, Profil3_3, settings.ini, Ausruesten, Profil3_3
  1307. IniRead, Profil3_4, settings.ini, Ausruesten, Profil3_4
  1308. IniRead, Profil3_5, settings.ini, Ausruesten, Profil3_5
  1309. IniRead, Profil3_6, settings.ini, Ausruesten, Profil3_6
  1310. IniRead, Profil3_7, settings.ini, Ausruesten, Profil3_7
  1311. IniRead, UCSkin, settings.ini, Ausruesten, UCSkin
  1312. IniRead, Schutzweste, settings.ini, Ausruesten, Schutzweste
  1313.  
  1314. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  1315.  
  1316. IniRead, xBind1, %Hotkeys%, Maus, xBind1, %A_Space%
  1317. IniRead, xBind2, %Hotkeys%, Maus, xBind2, %A_Space%
  1318. IniRead, wBind1, %Hotkeys%, Maus, wBind1, %A_Space%
  1319. IniRead, wBind2, %Hotkeys%, Maus, wBind2, %A_Space%
  1320.  
  1321. loop, %Binds%
  1322. {
  1323. IniRead, Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%, %A_Space%
  1324. IniRead, Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%, %A_Space%
  1325.  
  1326. IfNotEqual, Key%A_Index%,, Hotkey, % Key%A_Index%, Key%A_Index%
  1327.  
  1328. IniRead, SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%, 0
  1329. }
  1330.  
  1331. IniRead, Overlay_size, Overlay.ini, Status Overlay, Overlay_size, 7
  1332. IniRead, Overlay_posx, Overlay.ini, Status Overlay, Overlay_posx, 18
  1333. IniRead, Overlay_posy, Overlay.ini, Status Overlay, Overlay_posy, 265
  1334.  
  1335. IniRead, HP_size, Overlay.ini, HP Overlay, HP_size, 8
  1336. IniRead, HP_posx, Overlay.ini, HP Overlay, HP_posx, 715
  1337. IniRead, HP_posy, Overlay.ini, HP Overlay, HP_posy, 88
  1338.  
  1339. IniRead, AP_size, Overlay.ini, AP Overlay, AP_size, 8
  1340. IniRead, AP_posx, Overlay.ini, AP Overlay, AP_posx, 715
  1341. IniRead, AP_posy, Overlay.ini, AP Overlay, AP_posy, 59
  1342.  
  1343. IniRead, HPAnzeige, Overlay.ini, HP Overlay, HPAnzeige, 1
  1344. IniRead, APAnzeige, Overlay.ini, AP Overlay, APAnzeige, 1
  1345.  
  1346. SynchronizeLaptop(Laptop)
  1347. Gui, Add, Text, x5 y485 w500 h20 gDanksagung, caLi Edit
  1348. Gui, Add, Tab2, x0 y0 w500 h482, Allgemein|Belegung|Vergaben|Laptop-Modus|Admin-Befehle|Settings
  1349. Gui, Tab, Allgemein
  1350. Gui, Add, Picture, x115 y40 w175 h175, %Pictures%\SAPDLogo.png
  1351. Gui, Add, Text, x12 y220 w380 h110, Herzlich Willkommen, `nich freue mich, dass du dich für meinen CaliBinder-Keybinder entschieden hast. Ich habe mir das Ziel gesetzt dich bei deiner Tätigkeit als Beamter bestmöglich zu unterstützen und dir mit zusätzlichen Hilfen unter die Arme zugreifen. `nSolltest du Fragen, Probleme, Kritik oder Anregungen haben, dann teile mir diese doch bitte im Thread des Keybinders mit oder kontaktiere mich privat. `nIch wünsche dir nun viel Erfolg und Spaß bei deiner Tätigkeit als Staatsbeamter!
  1352. Gui, Add, Groupbox, x12 y340 w380 h130, Neuigkeiten
  1353. URLDownloadToFile, http://www.rpg-ausbildung.de/keybinder/daily.txt, daily.txt
  1354. FileRead, DailyMessage, daily.txt
  1355. FileDelete, daily.txt
  1356. Gui, Add, Text, x18 y360 w360 h100, %DailyMessage%
  1357. Gui, Tab, Belegung
  1358. Belegungen =
  1359. (
  1360. Keybinds
  1361. ___________________________________________________________
  1362. 1 - Motor, Licht, Lock (wenn das Lock-System aktiviert ist)
  1363. Shift + 1 - /licht
  1364. 2 - Dürfen wir Sie auf Drogen / Waffenbesitz überprüfen?
  1365. 3 - Zeigen Sie mir Ihre Scheine
  1366. 4 - Vielen Dank für Ihre Kooperation
  1367. 5 - Steigen Sie bitte aus Ihrem Fahrzeug
  1368. 6 - Sie sind festgenommen (in den Dienstwagen)
  1369. 7 - Sie sind festgenommen (zu den Zellen)
  1370. 8 - /ram
  1371. 9 /grab
  1372. 0 - /carinfo
  1373. ä - Wiederholt die letzte Eingabe
  1374. Y - /lock
  1375. B - /uclight
  1376. J - /policelight
  1377. m - /members
  1378. P - Anzeigen der Position im /hq
  1379. STRG+P - Anzeigen der aktuellen Position im /r
  1380. STRG+ALT+P - Anzeigen der Position im /d
  1381. K - Kontrolliert einen Spieler
  1382. I - Bitte stecken Sie umgehend Ihre Waffen ein
  1383. U - /uncuff
  1384. ´ - /hq Übernimmt den Auftrag
  1385. ALT + ` - /hq Auftrag ausgeführt
  1386. STRG + ´ - /d Übernimmt den Auftrag
  1387. STRG+Alt+´ - /d Hat den Auftrag ausgeführt
  1388. ALT + C - Zoll schließen bitte
  1389. ALT + C - /eject
  1390. ALT + Y - Isst einen Fisch
  1391. Alt + X - erstehilfe
  1392. - - /clear
  1393. ^ - Notruf-Annahme
  1394. Shift + ^ - Manuelle Notrufannahme
  1395. , - Startet die Stoppuhr
  1396.  
  1397. END - Startet einen Countdown
  1398. Windows - /wanted
  1399. Windows&1 - /wanted ls
  1400. Windows&2 - /wanted sf
  1401. Windows&3 - /wanted lv
  1402.  
  1403. F1 - /tog -> Phone
  1404. F3 - /erstehilfe
  1405. F4 - /ausruesten (Profil I - Streife)
  1406. F5 - /ausruesten (Profil II - Streife)
  1407. F6 - /ausruesten (Profil III - UC Streife)
  1408. ALT+F4 - /ausruesten
  1409. STRG+F4 - /heal
  1410.  
  1411. NumPad
  1412. ___________________________________________________________
  1413. NumPad, - /m Bitte halten Sie sich an die StVO
  1414. NumPad0 - /m Folgen Sie dem Wagen
  1415. NumPad1 - /m Straßenverkehrskontrolle
  1416. NumPad2 - /m Halten Sie sofort an
  1417. NumPad3 - /m Unterlassen Sie die verfolgung
  1418. NumPad4 - /m Steigen Sie aus Ihrem Fahrzeug
  1419. NumPad5 - /m Räumen Sie die Straße
  1420. NumPad6 - /m Legen Sie Ihre Waffen nieder
  1421. NumPad7 - /cuff, /frisk
  1422. NumPad8 - /arrest
  1423. NumPad9 - /m Verlassen Sie dieses Gelände
  1424. Alt+NumpadEnter - /m Unterlassen Sie die Verfolgung
  1425.  
  1426. Num/ - Zoll schließen
  1427. ALT+Num/ - Zoll öffnen
  1428. Num* - /gov Die Zollstationen sind geschlossen
  1429. ALT+Num* - /gov Zollstation geöffnet
  1430. Num+ - Benötige Verstärkung
  1431. ALT+Num+ - Verstärkung nicht mehr benötigt
  1432.  
  1433. Befehle
  1434. ___________________________________________________________
  1435. /op - Offline Prison
  1436. /oa - Offline Knast
  1437. /dp - Death Prison
  1438. /da - Death Knast `
  1439.  
  1440. /codes - Zeigt alle Chatcodes an
  1441. /cr - Code im /r
  1442. /cd - Code im /d
  1443. /ch - Code im /hq
  1444. /streife - Startet einen Streifendienst
  1445. /setEinheit - Einstellung der Streifeneinheit
  1446. /setNummer - Einstellungen der Streifennummer
  1447. /setPersonen - Einstellungen der Personen im Fahrzeug
  1448. /kennung - Zeigt deine aktuelle Streifenkennung an
  1449.  
  1450. /partner1 - Trägt einen einen Streifenpartner ein
  1451. /partner2 - Trägt einen zweiten Streifenpartner ein
  1452. /partner3 - Trägt einen dritten Streifenpartner ein
  1453. /partners - Zeigt alle eingetragenen Streifenpartner an
  1454. /updatesteuersatz - Aktualisiert den Steuersatz
  1455. /settax - Manuelle Eingabe des Steuersatzes
  1456.  
  1457. /water- Aktiviert den Wassermodus
  1458. /swat - Aktiviert den SWAT-Modus (nur FBI)
  1459.  
  1460. /tasks - Zeigt alle noch zu erledigenden Aufgaben an
  1461. /addtask - Fügt eine Aufgabe hinzu
  1462. /deletetask - Löscht eine Aufgabe
  1463.  
  1464. /gk - Zeigt den gesuchten Gk
  1465.  
  1466. /addts - Fügt eine Todesstrafe hinzu
  1467. /deletets - Entfernt eine Todesstrafe
  1468. ALT+T - Zeigt die akuellen Todesstrafen
  1469.  
  1470. /hm - Zeigt die Hitmanliste
  1471. /toghm - (De-)aktiviert das Hitman-Overlay
  1472. /copstats - Zeigt die aktuelle Statstik an
  1473. /overlay - (De-)aktiviert das Status-Overlay
  1474. /move overlay - Ermöglicht das Verschieben des Overlays
  1475.  
  1476. /forum - Forum messages aktivieren
  1477.  
  1478.  
  1479. # - Auto-Arrest
  1480. ALT+# - Zeigt alle in der Arrestliste
  1481. F9 - Resettet die Arrestliste
  1482.  
  1483. /afind - Automatisches Suchen
  1484. /af - Automatisches Suchen
  1485. /as - Automatisches Zeigen
  1486. /pos - Automatisches Zeigen für Fahrer / Partner
  1487. /dshow - Showpos im /d
  1488. /fshow - Showpos im /f
  1489. /rshow - Showpos im /r
  1490. < - Jeweils zum Beenden
  1491. /fahrer - Eintragen des Fahrers (Wird vor Partner1, Partner2, Partner3 genutzt)
  1492.  
  1493. /vf - /r Verfolge Verbrecher
  1494. /verfolgung - Erbitte Unterstützung bei der Verfolgung
  1495. /ort - Letzter bekannter Aufenthaltsort
  1496. /luft - Fordere Luftüberwachung an
  1497.  
  1498. /jas - Ja Sir
  1499. /jam - Ja Madam
  1500. /ja - Ja, was kann ich für Sie tun?
  1501. /tag - Guten Tag
  1502. /bye - Auf Wiedershen
  1503.  
  1504. /beweise - Haben Sie Beweise
  1505. /passieren - Sie dürfen passieren
  1506. /warten - Bitte warten Sie einen Augenblick
  1507. /rechte - Vorlesen der Rechte
  1508. /ruhe - Sie haben das Recht zu schweigen
  1509. /runter - Steigen Sie vom Fahrzeug
  1510. /ende - Startet einen Countdown
  1511.  
  1512. /on - /pdmarker, /hitsound, /tog -> Phone
  1513. /uc - /undercover
  1514. /auc - /undercover mit zufälligem Skin
  1515. /sb - /showbadge
  1516.  
  1517. /abholung - Benötige Abholung
  1518. /kabholung - Abholung nicht mehr benötigt
  1519. /razzia - Razzia
  1520. /rz - Razzia (S.W.A.T.)
  1521.  
  1522. /stvo - Möchten Sie Punkte oder ein Ticket
  1523. /apunkte - Stellt nach /stvo automatisch Strafpunkte aus
  1524. /aticket - Stellt nach /stvo automatisch ein Ticket aus
  1525. /stvo[1-5] - Punkte oder Ticket?
  1526. /stvof - Ticket oder Flugscheinentzug?
  1527. /pot - Ticket oder Punkte?
  1528. /kontrolle - Kontrolliert einen Spieler
  1529. /tst - Take Strafpunkt
  1530. /tw - Take Waffen
  1531. /tws - Take Waffenschein
  1532. /tfs - Take Flugschein
  1533. /td - Take Drogen
  1534. /tm - Take Materialien
  1535. /tall - Take alles
  1536.  
  1537. /ver - /HQ Habe verstanden
  1538. /dver - /d Habe verstanden
  1539. /fver - /f Habe verstanden
  1540. /rver - /r Habe verstanden
  1541. /wo - Wo befindet ihr euch?
  1542. /needbk - Wird Verstärkung weiterhin benötigt?
  1543. /repos - Neu formieren in ...
  1544. /go - /HQ Zugriff
  1545. /rgo - /r Zugriff
  1546. /dgo - /d Zugriff
  1547. /fgo - /f Zugriff
  1548.  
  1549. /rstreife - Suche Streifenpartner im /r
  1550. /dstreife - Suche Streifenpartner im /d
  1551. /fstreife - Suche Streifenpartner im /f
  1552. /afk - /f Melde mich für die nächsten Minuten ab
  1553.  
  1554. /rb - Straßensperre setzen
  1555. /db - Straßensperre entfernen
  1556. /dba - Alle Straßensperren entfernen
  1557.  
  1558. /an - Nimmt einen Anruf entgegen
  1559. /ab - Anrufbeantworter
  1560. /danke - Danke für Ihren Anruf (+/h)
  1561. /re - Antwort auf die letzte SMS
  1562. /read - Antwort auf die letzte AD
  1563. /kcall - Call by Name
  1564. /ksms - SMS by Name
  1565.  
  1566. /fischen - Automatisches Fischen
  1567. /kochen - Kocht alle Fische
  1568. /cf - Kocht alle Fische
  1569. /hp - Zeigt die HP aller Fische an
  1570. /fische - Zeigt Informationen über die gefangenen Fische an
  1571.  
  1572. STRG + T - Tempomat aktivieren
  1573. /tempo - Tempomat aktivieren (Geschwindigkeit einstellbar)
  1574. L - Tempomat: Geschwindigkeit um 5 KM/H senken
  1575. Ö - Tempomat: Geschwindigkeit um 5 KM/h erhöhen
  1576.  
  1577. /fg - Legt Festgeld an
  1578. /ap - Nimmt ein Paket an
  1579. /paket - Nimmt ein Paket an
  1580. /tanken - Betankt das Fahrzeug
  1581. /savestats - Speichert die aktuellen Stats
  1582. /relog - Führt einen Relog durch
  1583. /fan - Gibt einem Spieler ein Autogramm
  1584. /minuten - Rechnet Sekunden in Minuten um
  1585. /chat - Cleat den Chat
  1586. /alotto - /lotto mit zufälliger Zahl
  1587. /user - Zeigt die Statistik eines Users
  1588. /auto - Zeigt allgemeine Informationen zu einem Fahrzeug
  1589. /rmpos - Benennt die Position des Redmarkers
  1590. )
  1591. Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %Belegungen%
  1592. Gui, Tab, Vergaben
  1593. Vergaben =
  1594. (
  1595. Wantedvergaben
  1596. ___________________________________________________________
  1597. ALT+Num1 - Angriff/Beschuss auf Beamte/Zivilisten
  1598. ALT+Num2 - Flucht/Fluchtversuch
  1599. ALT+Num3 - Verweigerung
  1600. ALT+Num4 - Behinderung der Justiz
  1601. ALT+Num5 - Besitz von Materialien
  1602. ALT+Num6 - Besitz von Drogen
  1603. ALT+Num7 - Beihilfe zur Flucht
  1604. ALT+Num8 - Illegaler Handel mit Materialien/Drogen
  1605. ALT+Num9 - Einbruch
  1606. ALT+N - Notruf-Missbrauch
  1607. /na - Notruf Missbrauch
  1608. ALT+Z - Zollflucht
  1609. /zf - Zollflucht
  1610. ALT+J - Absichtliches Anfahren
  1611. ALT+K - Fahrzeugdiebstahl
  1612. ALT+L - Staatsfahrzeugdiebstahl
  1613. ALT+Ö - Diebstahl von bewaffneten Fahrzeugen
  1614. ALT+O - Beamtenbeleidigung
  1615. ALT+I - Waffengebrauch i.d.Ö.
  1616. ALT+B - Beamtenbestechung
  1617. ALT+G - Straßenverkehrsgefährdung
  1618.  
  1619.  
  1620.  
  1621. Punktevergaben
  1622. ___________________________________________________________
  1623. STRG+Num0 - Rote Ampel missachtet
  1624. STRG+Num1 - Straßenverkehrsgefährdung
  1625. STRG+Num2 - Fahren auf falscher Seite
  1626. STRG+Num3 - Fahren mit überhöhter Geschwindigkeit
  1627. STRG+Num4 - Missachtung der Vorfahrt
  1628. STRG+Num5 - Fahren abseits der Straße
  1629. STRG+Num6 - Fahren ohne Licht
  1630. STRG+Num7 - Parken im Parkverbot
  1631. STRG+Num8 - Straßenverkehrsbehinderung
  1632. STRG+Num9 - Fahren unter Alkoholeinfluss
  1633. )
  1634. Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %Vergaben%
  1635. Gui, Tab, Laptop-Modus
  1636. LaptopModus =
  1637. (
  1638. Allgemein
  1639. ___________________________________________________________
  1640. + - Benötige Verstärkung
  1641. ALT&+ - Benötige keine Verstärkung
  1642.  
  1643. ALT&STRG&0 - Folgen Sie dem Wagen
  1644. ALT&STRG&1 - Straßenverkehrskontrolle
  1645. ALT&STRG&2 - Halten Sie sofort an
  1646. ALT&STRG&3 - Letzte Warnung
  1647. ALT&STRG&4 - Steigen Sie aus Ihrem Fahrzeug
  1648. ALT&STRG&5 - Räumen Sie die Straße
  1649. ALT&STRG&6 - Legen Sie Ihre Waffen nieder
  1650. ALT&STRG&7 - /cuff, /frisk
  1651. ALT&STRG&8 - /arrest
  1652. ALT&STRG&9 - Verlassen Sie dieses Gelände
  1653.  
  1654. Wantedvergabe
  1655. ___________________________________________________________
  1656. ALT&1 - Angriff/Beschuss auf Beamte/Zivilisten
  1657. ALT&2 - Flucht/Fluchtversuch
  1658. ALT&3 - Verweigerung
  1659. ALT&4 - Behinderung der Justiz
  1660. ALT&5 - Besitz von Materialien
  1661. ALT&6 - Besitz von Drogen
  1662. ALT&7 - Beihilfe zur Flucht
  1663. ALT&8 - Illegaler Handel mit Materialien/Drogen
  1664. ALT&9 - Einbruch
  1665.  
  1666. Punktevergabe
  1667. ___________________________________________________________
  1668. STRG&0 - Rote Ampel missachtet
  1669. STRG&1 - Straßenverkehrsgefährdung
  1670. STRG&2 - Fahren auf falscher Seite
  1671. STRG&3 - Fahren mit überhöhter Geschwindigkeit
  1672. STRG&4 - Missachtung der Vorfahrt
  1673. STRG&5 - Fahren abseits der Straße
  1674. STRG&6 - Fahren ohne Licht
  1675. STRG&7 - Parken im Parkverbot
  1676. STRG&8 - Straßenverkehrsbehinderung
  1677. STRG&9 - Fahren unter Alkoholeinfluss
  1678. )
  1679. Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %LaptopModus%
  1680. Gui, Tab, Admin-Befehle
  1681. AdminBefehle =
  1682. (
  1683. Ticket-System
  1684. ___________________________________________________________
  1685. /tt - Ticket annehmen
  1686. /dt - Ticket schließen
  1687. /gt - Ticket weiterleiten
  1688. /grund - Warum soll ich Sie weiterleiten?
  1689. /fragen - Weitere Fragen?
  1690. /tafk - Ticket wegen AFK schließen
  1691.  
  1692. /tickets - Zeigt die aktuelle Ticketstatistik (ENB geeignet)
  1693. /togtickets - (De-)aktiviert das TicketOverlay (nicht für ENB)
  1694.  
  1695. Nützliches
  1696. ___________________________________________________________
  1697. /meldungen - Info über /sup und /a
  1698. /hacker - Zeigt alle Level 1er / potentielle Hacker
  1699. /rc - /respawncar
  1700.  
  1701. Sanktionen
  1702. ___________________________________________________________
  1703. /adabuse - AD-Abuse
  1704. /aabuse - /a - Abuse
  1705. /spam - /mute Spam
  1706.  
  1707. /sdm - Prison wegen SDM
  1708. /bansdm - /ban wegen SDM
  1709. /nodm - /prison DM in No DM Zone
  1710. /jobstörung - /prison Jobstörung `
  1711. jobdm - /prison Job Deathmatch
  1712. /intflucht - /prison Interrior-Flucht
  1713. /escflucht - /prison ESC-Flucht
  1714. /offflucht - /prison Offline-Flucht
  1715. /cardm - /prison Carsurf Dm
  1716. /anfahren - /prison Absichtliches Anfahren
  1717.  
  1718. /esccp - /kick ESC im Checkpoint
  1719. /afkp - AFK im Paintball
  1720. )
  1721. Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %AdminBefehle%
  1722. Gui, Tab, Settings
  1723. Gui, Add, Text, x10 y40 w120 h20 , Fraktion
  1724. Gui, Add, DropDownList, x170 y40 w150 h80 vFraktion, SAPD|FBI|Al Quaida|Kuschelhäschen
  1725. GuiControl, Choose, Fraktion, %Fraktion%
  1726. Gui, Add, Text, x10 y70 w120 h20 , Abteilung
  1727. Gui, Add, Text, x10 y85 w120 h20, Swatabteilung
  1728. Gui, Add, Edit, x170 y60 w150 h20 vAbteilung, %Abteilung%
  1729. Gui, Add, Edit, x170 y80 w150 h20 vSwatabteilung, %Swatabteilung%
  1730. Gui, Add, Checkbox, x10 y100 w220 h20 vLock Checked%Lock%, Lock-System aktivieren?
  1731. Gui, Add, Checkbox, x10 y130 w220 h20 vChatlogsaver Checked%Chatlogsaver%, Chatlogsaver aktivieren?
  1732. Gui, Add, Checkbox, x10 y160 w390 h20 vLaptop Checked%Laptop%, Laptopmodus aktivieren? (NumPadBinds werden auf ALT-Tasten verlegt)
  1733. Gui, Add, Checkbox, x10 y190 w220 h20 vTankZoll Checked%TankZoll%, Easy Tank- und Zoll-System aktivieren?
  1734. Gui, Add, Button, x125 y225 w150 h40 gSpeichern, Speichern
  1735. Gui, Add, Button, x215 y285 w150 h40 gSounds, Sounds
  1736. Gui, Add, Button, x35 y285 w150 h40 gAusruesten, Ausrüsten
  1737. Gui, Add, Button, x35 y345 w150 h40 gOverlayGUI, Overlay
  1738. Gui, Add, Button, x215 y345 w150 h40 gCustomBindsGUI, Eigene Binds
  1739. Gui, Add, Button, x35 y405 w150 h40 gUpdate, News und Updates
  1740. Gui, Add, Button, x215 y405 w150 h40 gDruck, Druckversion
  1741. Gui, Show, w400 h500, CaliBinderkeybinder (Version %Version%)
  1742.  
  1743. IniRead, Punkte, Statistik.ini, Vergaben, Punkte
  1744. IniRead, Tickets, Statistik.ini, Vergaben, Tickets
  1745. IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
  1746. IniRead, Tazer, Statistik.ini, Tazer, Tazer
  1747. IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
  1748. IniRead, Arrest, Statistik.ini, Arrests, Arrest
  1749. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  1750. IniRead, Kills, Statistik.ini, Kills, Kills
  1751. IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
  1752. IniRead, Money, Statistik.ini, Arrests, Money
  1753. IniRead, Flugschein, Statistik.ini, Scheine, Flugschein
  1754. IniRead, Waffenschein, Statistik.ini, Scheine, Waffenschein
  1755. IniRead, Bootschein, Statistik.ini, Scheine, Bootschein
  1756.  
  1757.  
  1758.  
  1759. if(Punkte = "ERROR" || Punkte = "")
  1760. {
  1761. Punkte = 0
  1762. IniWrite, %Punkte%, Statistik.ini, Vergaben, Punkte
  1763. }
  1764. if(Tickets = "ERROR" || Tickets = "")
  1765. {
  1766. Tickets = 0
  1767. IniWrite, %Tickets%, Statistik.ini, Vergaben, Tickets
  1768. }
  1769. if(TicketGeld = "ERROR" || TicketGeld = "")
  1770. {
  1771. TicketGeld = 0
  1772. IniWrite, %TicketGeld%, Statistik.ini, Vergaben, TicketGeld
  1773. }
  1774. if(Tazer = "ERROR" || Tazer = "")
  1775. {
  1776. Tazer = 0
  1777. IniWrite, %Tazer%, Statistik.ini, Tazer, Tazer
  1778. }
  1779. if(OffArrest = "ERROR" || OffArrest = "")
  1780. {
  1781. OffArrest = 0
  1782. IniWrite, %OffArrest%, Statistik.ini, Arrests, OffArrest
  1783. }
  1784. if(Arrest = "ERROR" || Arrest = "")
  1785. {
  1786. Arrest = 0
  1787. IniWrite, %Arrest%, Statistik.ini, Arrests, Arrest
  1788. }
  1789. if(DeathArrest = "ERROR" || DeathArrest = "")
  1790. {
  1791. DeathArrest = 0
  1792. IniWrite, %DeathArrest%, Statistik.ini, Arrests, DeathArrest
  1793. }
  1794. if(Wanted = "ERROR" || Wanted = "")
  1795. {
  1796. Wanted = 0
  1797. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  1798. }
  1799. if(Kills = "ERROR" || Kills = "")
  1800. {
  1801. Kills = 0
  1802. IniWrite, %Kills%, Statistik.ini, Kills, Kills
  1803. }
  1804. if(Money = "ERROR" || Money = "")
  1805. {
  1806. Money = 0
  1807. IniWrite, %Money%, Statistik.ini, Arrests, Money
  1808. }
  1809. if(Flugschein = "ERROR" || Flugschein = "")
  1810. {
  1811. Flugschein = 0
  1812. IniWrite, %Flugschein%, Statistik.ini, Scheine, Flugschein
  1813. }
  1814. if(Waffenschein = "ERROR" || Waffenschein = "")
  1815. {
  1816. Waffenschein = 0
  1817. IniWrite, %Waffenschein%, Statistik.ini, Scheine, Waffenschein
  1818. }
  1819. if(Bootschein = "ERROR" || Bootschein = "")
  1820. {
  1821. Bootschein = 0
  1822. IniWrite, %Bootschein%, Statistik.ini, Scheine, Bootschein
  1823. }
  1824.  
  1825. IniRead, VolCall, settings.ini, Sounds, VolCall
  1826. IniRead, VolSMS, settings.ini, Sounds, VolSMS
  1827. IniRead, VolLowHP, settings.ini, Sounds, VolLowHP
  1828. IniRead, VolBK, settings.ini, Sounds, VolBk
  1829.  
  1830. IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
  1831. if (Chatlogsaver == 1)
  1832. {
  1833. SetTimer, chatlog, 500
  1834. }
  1835. else
  1836. {
  1837. SetTimer, chatlog, off
  1838. }
  1839.  
  1840. GtaCheckTrue=0
  1841. SetTimer, _GtaCheck, 1000
  1842. return
  1843.  
  1844.  
  1845. GuiClose:
  1846. DestroyAllVisual()
  1847. ExitApp
  1848.  
  1849. OverlayGUI:
  1850. Gui, 7: Submit
  1851. Gui, 7: Destroy
  1852. Gui, 7: Add, CheckBox, x32 y19 w150 h20 vHPAnzeige Checked%HPAnzeige%, HP Anzeige aktivieren
  1853. Gui, 7: Add, CheckBox, x32 y49 w150 h20 vAPAnzeige Checked%APAnzeige%, Armor Anzeige aktivieren
  1854. Gui, 7: Add, Button, x32 y89 w150 h30 gSpeichern, Speichern
  1855. Gui, 7: Show, w226 h147, Overlay Einstellungen
  1856. return
  1857.  
  1858.  
  1859. Danksagung:
  1860. Gui, 30: Add, Text, x15 y150 w620 h150, Dieser Keybinder wird von mir komplett kostenlos allen Staatsbeamten zur Verfügung gestellt. Zum Gelingen dieses Keybinder bedanke ich mich recht herzlich bei `n`n-Valle und Tonyalva, welche das Grundkonzept der heute verwendeten GUI erfunden haben `n-John und Dean_Hunter, welche mir das Grundscript zur Verfügung gestellt haben `n-Tom.Perry für kleinere Unterstützungen beim Scripten
  1861. Gui, 30: Font, s25 cblack, Georgia
  1862. Gui, 30: Add, Text, x15 y19 w620 h70 +center, CaliBinderkeybinder
  1863. Gui, 30: Font, s14 cblack, Georgia
  1864. Gui, 30: Add, Text, x405 y79 w230 h50, Keybinder V. f. sean.cali
  1865. Gui, 30: Show, w650 h280, CaliBinderkeybinder - Danksagung
  1866. return
  1867.  
  1868. Sounds:
  1869. IniRead, Callsound, settings.ini, Sounds, Callsound
  1870. if(Callsound == "" || Callsound == "ERROR")
  1871. {
  1872. Callsound := "" . Sounds . "\Call.mp3"
  1873. IniWrite, %Callsound%, settings.ini, Sounds, Callsound
  1874. }
  1875. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  1876. if(SMSsound = "" || SMSsound = "ERROR")
  1877. {
  1878. SMSsound := "" . Sounds . "\SMS.mp3"
  1879. IniWrite, %SMSsound%, settings.ini, Sounds, SMSsound
  1880. }
  1881. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  1882. if(LowHPsound = "" || LowHPsound = "ERROR")
  1883. {
  1884. LowHPsound := "" . Sounds . "\LowHP.mp3"
  1885. IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
  1886. }
  1887. IniRead, BKsound, settings.ini, Sounds, BKsound
  1888. if(BKsound = "" || BKsound == "ERROR")
  1889. {
  1890. BKsound := "" . Sounds . "\BK.mp3"
  1891. IniWrite, %BKsound%, settings.ini, Sounds, BKsound
  1892. }
  1893. Gui, 4: Destroy
  1894. Gui, 4: Font, s10, bold
  1895. Gui, 4:Add, GroupBox, x36 y10 w700 h110 cwhite, Informationen
  1896. 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.
  1897. Gui, 4:Add, Checkbox, x52 y163 w13 h13 gCheckCall Checked%CheckCall% vCheckCall,
  1898. Gui, 4:Add, Checkbox, x52 y193 w13 h13 gCheckSMS Checked%CheckSMS% vCheckSMS,
  1899. Gui, 4:Add, Checkbox, x52 y223 w13 h13 gCheckLowHP Checked%CheckLowHP% vCheckLowHP,
  1900. Gui, 4:Add, Checkbox, x52 y253 w13 h13 gCheckBK Checked%CheckBK% vCheckBK,
  1901. Gui, 4:Add, GroupBox, x36 y130 w700 h160 cwhite, Sounds
  1902. Gui, 4:Add, Text, x76 y160 w60 h20 cwhite +center, Anruf:
  1903. Gui, 4:Add, Text, x76 y190 w60 h20 cwhite +center, SMS:
  1904. Gui, 4:Add, Text, x76 y220 w60 h20 cwhite +center, Low-HP:
  1905. Gui, 4:Add, Text, x76 y250 w60 h20 cwhite +center, BK:
  1906. Gui, 4:Add, Text, x156 y160 w540 h20 cwhite +0x200 +E0x20210 +center gCallAuswahl vCallAuswahl, %Callsound%
  1907. Gui, 4:Add, Text, x156 y190 w540 h20 cwhite +0x200 +E0x20210 +center gSMSAuswahl vSMSAuswahl, %SMSsound%
  1908. Gui, 4:Add, Text, x156 y220 w540 h20 cwhite +0x200 +E0x20210 +center gLowHPAuswahl vLowHPAuswahl, %LowHPsound%
  1909. Gui, 4:Add, Text, x156 y250 w540 h20 cwhite +0x200 +E0x20210 +center gBKAuswahl vBKAuswahl, %BKsound%
  1910. Gui, 4:Add, Picture, x705 y160 w20 h20 +BackgroundTrans gEinstellCall, %Pictures%\soundwahl.png
  1911. Gui, 4:Add, Picture, x705 y190 w20 h20 +BackgroundTrans gEinstellSMS, %Pictures%\soundwahl.png
  1912. Gui, 4:Add, Picture, x705 y220 w20 h20 +BackgroundTrans gEinstellLowHP, %Pictures%\soundwahl.png
  1913. Gui, 4:Add, Picture, x705 y250 w20 h20 +BackgroundTrans gEinstellBK, %Pictures%\soundwahl.png
  1914.  
  1915.  
  1916.  
  1917. IniRead, CheckCall, settings.ini, Sounds, CheckCall
  1918. IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
  1919. IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
  1920. IniRead, CheckBK, settings.ini, Sounds, CheckBK
  1921. IniRead, Callsound, settings.ini, Sounds, Callsound
  1922. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  1923. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  1924. IniRead, BKsound, settings.ini, Sounds, BKsound
  1925. GuiControl, 4: , CheckCall, %CheckCall%
  1926. GuiControl, 4: , CheckSMS, %CheckSMS%
  1927. GuiControl, 4: , CheckLowHP, %CheckLowHP%
  1928. GuiControl, 4: , CheckBK, %CheckBK%
  1929. GuiControl, 4: , CallAuswahl, %CallSound%
  1930. GuiControl, 4: , SMSAuswahl, %SMSSound%
  1931. GuiControl, 4: , LowHPAuswahl, %LowHPSound%
  1932. GuiControl, 4: , BKAuswahl, %BKSound%
  1933. Gui, 4: Add, Button, x296 y300 w180 h50 gZurück, Zurück
  1934. Gui, 4:Color, 292929
  1935. Gui, 4:Show, w780 h372, Sounds
  1936.  
  1937. IniRead, VolCall, settings.ini, Sounds, VolCall
  1938. IniRead, VolSMS, settings.ini, Sounds, VolSMS
  1939. IniRead, VolLowHP, settings.ini, Sounds, VolLowHP
  1940. IniRead, VolBK, settings.ini, Sounds, VolBK
  1941.  
  1942. if(VolCall = "" || VolCall = "ERROR")
  1943. {
  1944. VolCall := 100
  1945. IniWrite, %VolCall%, settings.ini, Sounds, VolCall
  1946. }
  1947. if(VolSMS = "" || VolSMS = "ERROR")
  1948. {
  1949. VolSMS := 100
  1950. IniWrite, %VolSMS%, settings.ini, Sounds, VolSMS
  1951. }
  1952. if(VolLowHP = "" || VolLowHP = "ERROR")
  1953. {
  1954. VolLowHP := 100
  1955. IniWrite, %VolLowHP%, settings.ini, Sounds, VolLowHP
  1956. }
  1957. if(VolBK = "" || VolBK = "ERROR")
  1958. {
  1959. VolBK := 100
  1960. IniWrite, %VolBK%, settings.ini, Sounds, VolBK
  1961. }
  1962. SetParam("use_window", "1")
  1963. SetParam("window", "GTA:SA:MP")
  1964. return
  1965.  
  1966. Zurück:
  1967. 4GuiClose:
  1968. Gui, 4: Destroy
  1969. return
  1970.  
  1971. CallAuswahl:
  1972. if(CheckCall = 1)
  1973. {
  1974. FileSelectFile, Callsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1975. if(Callsoundx != "")
  1976. {
  1977. Callsound := Callsoundx
  1978. IniWrite, %Callsound%, settings.ini, Sounds, Callsound
  1979. GuiControl, 4: , CallAuswahl, %CallSound%
  1980. if(A_OSVersion != "WIN_XP")
  1981. {
  1982. SoundSetWaveVolume, %VolCall%
  1983. }
  1984. SoundPlay, %CallSound%
  1985. }
  1986. }
  1987. return
  1988.  
  1989. SMSAuswahl:
  1990. if(CheckSMS = 1)
  1991. {
  1992. FileSelectFile, SMSsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1993. if(SMSsoundx != "")
  1994. {
  1995. SMSsound := SMSsoundx
  1996. IniWrite, %SMSsound%, settings.ini, Sounds, SMSsound
  1997. GuiControl, 4: , SMSAuswahl, %SMSSound%
  1998. if(A_OSVersion != "WIN_XP")
  1999. {
  2000. SoundSetWaveVolume, %VolCall%
  2001. }
  2002. SoundPlay, %SMSSound%
  2003. }
  2004. }
  2005. return
  2006.  
  2007. LowHPAuswahl:
  2008. if(CheckLowHP = 1)
  2009. {
  2010. FileSelectFile, LowHPsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  2011. if(LowHPsoundx != "")
  2012. {
  2013. LowHPsound := LowHPsoundx
  2014. IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
  2015. GuiControl, 4: , LowHPAuswahl, %LowHPSound%
  2016. if(A_OSVersion != "WIN_XP")
  2017. {
  2018. SoundSetWaveVolume, %VolCall%
  2019. }
  2020. SoundPlay, %LowHPSound%
  2021. }
  2022. }
  2023. return
  2024.  
  2025. BKAuswahl:
  2026. if(CheckBK = 1)
  2027. {
  2028. FileSelectFile, BKsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  2029. if(BKsoundx != "")
  2030. {
  2031. BKsound := BKsoundx
  2032. IniWrite, %BKsound%, settings.ini, Sounds, BKsound
  2033. GuiControl, 4: , BKAuswahl, %BKSound%
  2034. if(A_OSVersion != "WIN_XP")
  2035. {
  2036. SoundSetWaveVolume, %VolCall%
  2037. }
  2038. SoundPlay, %BKSound%
  2039. }
  2040. }
  2041. return
  2042.  
  2043. CheckCall:
  2044. Gui, 4: Submit, NoHide
  2045. IniWrite, %CheckCall%, settings.ini, Sounds, CheckCall
  2046. return
  2047.  
  2048. CheckSMS:
  2049. Gui, 4: Submit, NoHide
  2050. IniWrite, %CheckSMS%, settings.ini, Sounds, CheckSMS
  2051. GuiControl, 4: Choose, CheckSMS, %CheckSMS%
  2052. return
  2053.  
  2054. CheckLowHP:
  2055. Gui, 4: Submit, NoHide
  2056. IniWrite, %CheckLowHP%, settings.ini, Sounds, CheckLowHP
  2057. GuiControl, 4: Choose, CheckLowHP, %CheckLowHP%
  2058. return
  2059.  
  2060. CheckBK:
  2061. Gui, 4: Submit, NoHide
  2062. IniWrite, %CheckBK%, settings.ini, Sounds, CheckBK
  2063. GuiControl, 4: Choose, CheckBK, %CheckBK%
  2064. return
  2065.  
  2066. EinstellCall:
  2067. if(CheckCall = 1)
  2068. {
  2069. if(A_OSVersion != "WIN_XP")
  2070. {
  2071. Gui, 41: Destroy
  2072. Gui, 41: Add, Text, x15 y10 w60 h20, Lautstärke:
  2073. Gui, 41: Add, Slider, x5 y30 w310 h30 AltSubmit vVolCall gVolCall, %VolCall%
  2074. Gui, 41: Add, Text, x15 y60 w30 h20 +center, Min
  2075. Gui, 41: Add, Text, x285 y60 w30 h20 +center, Max
  2076. VolCallProz := "" . VolCall . "%"
  2077. Gui, 41: Add, Text, x40 y60 w240 h20 +center vVolCallProz, %VolCallProz%
  2078. Gui, 41: Show
  2079. }
  2080. else
  2081. {
  2082. 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.
  2083. }
  2084. }
  2085. return
  2086.  
  2087. EinstellSMS:
  2088. if(CheckSMS = 1)
  2089. {
  2090. if(A_OSVersion != "WIN_XP")
  2091. {
  2092. Gui, 42: Destroy
  2093. Gui, 42: Add, Text, x15 y10 w60 h20, Lautstärke:
  2094. Gui, 42: Add, Slider, x5 y30 w310 h30 AltSubmit vVolSMS gVolSMS, %VolSMS%
  2095. Gui, 42: Add, Text, x15 y60 w30 h20 +center, Min
  2096. Gui, 42: Add, Text, x285 y60 w30 h20 +center, Max
  2097. VolSMSProz := "" . VolSMS . "%"
  2098. Gui, 42: Add, Text, x40 y60 w240 h20 +center vVolSMSProz, %VolSMSProz%
  2099. Gui, 42: Show
  2100. }
  2101. else
  2102. {
  2103. 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.
  2104. }
  2105. }
  2106. return
  2107.  
  2108. EinstellLowHP:
  2109. if(CheckLowHP = 1)
  2110. {
  2111. if(A_OSVersion != "WIN_XP")
  2112. {
  2113. Gui, 43: Destroy
  2114. Gui, 43: Add, Text, x15 y10 w60 h20, Lautstärke:
  2115. Gui, 43: Add, Slider, x5 y30 w310 h30 AltSubmit vVolLowHP gVolLowHP, %VolLowHP%
  2116. Gui, 43: Add, Text, x15 y60 w30 h20 +center, Min
  2117. Gui, 43: Add, Text, x285 y60 w30 h20 +center, Max
  2118. VolLowHPProz := "" . VolLowHP . "%"
  2119. Gui, 43: Add, Text, x40 y60 w240 h20 +center vVolLowHPProz, %VolLowHPProz%
  2120. Gui, 43: Show
  2121. }
  2122. else
  2123. {
  2124. 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.
  2125. }
  2126. }
  2127. return
  2128.  
  2129. EinstellBK:
  2130. if(CheckBK = 1)
  2131. {
  2132. if(A_OSVersion != "WIN_XP")
  2133. {
  2134. Gui, 44: Destroy
  2135. Gui, 44: Add, Text, x15 y10 w60 h20, Lautstärke:
  2136. Gui, 44: Add, Slider, x5 y30 w310 h30 AltSubmit vVolBK gVolBK, %VolBK%
  2137. Gui, 44: Add, Text, x15 y60 w30 h20 +center, Min
  2138. Gui, 44: Add, Text, x285 y60 w30 h20 +center, Max
  2139. VolBKProz := "" . VolBK . "%"
  2140. Gui, 44: Add, Text, x40 y60 w240 h20 +center vVolBKProz, %VolBKProz%
  2141. Gui, 44: Show
  2142. }
  2143. else
  2144. {
  2145. MsgBox, 48, Einstellung BKsound, 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.
  2146. }
  2147. }
  2148. return
  2149.  
  2150. VolCall:
  2151. GuiControlGet MemVol,, VolCall
  2152. VolCallProz := "" . VolCall . "%"
  2153. GuiControl,,VolCallProz, %VolCallProz%
  2154. SoundSetWaveVolume %MemVol%
  2155. SoundPlay, %Callsound%
  2156. IniWrite, %VolCall%, settings.ini, Sounds, VolCall
  2157. return
  2158.  
  2159.  
  2160. VolSMS:
  2161. GuiControlGet MemVol,, VolSMS
  2162. VolSMSProz := "" . VolSMS . "%"
  2163. GuiControl,,VolSMSProz, %VolSMSProz%
  2164. SoundSetWaveVolume %MemVol%
  2165. SoundPlay, %SMSsound%
  2166. IniWrite, %VolSMS%, settings.ini, Sounds, VolSMS
  2167. return
  2168.  
  2169. VolLowHP:
  2170. GuiControlGet MemVol,, VolLowHP
  2171. VolLowHPProz := "" . VolLowHP . "%"
  2172. GuiControl,,VolLowHPProz, %VolLowHPProz%
  2173. SoundSetWaveVolume %MemVol%
  2174. SoundPlay, %LowHPsound%
  2175. IniWrite, %VolLowHP%, settings.ini, Sounds, VolLowHP
  2176. return
  2177.  
  2178. VolBK:
  2179. GuiControlGet MemVol,, VolBK
  2180. VolBkProz := "" . VolBk . "%"
  2181. GuiControl,,VolBKProz, %VolBKProz%
  2182. SoundSetWaveVolume %MemVol%
  2183. SoundPlay, %Bksound%
  2184. IniWrite, %VolBK%, settings.ini, Sounds, VolBK
  2185. return
  2186.  
  2187. 41GuiClose:
  2188. Soundplay, avixa.avi
  2189. Gui, 41: Destroy
  2190. return
  2191.  
  2192. 42GuiClose:
  2193. Soundplay, avixa.avi
  2194. Gui, 42: Destroy
  2195. return
  2196.  
  2197. 43GuiClose:
  2198. Soundplay, avixa.avi
  2199. Gui, 43: Destroy
  2200. return
  2201.  
  2202. 44GuiClose:
  2203. Soundplay, avixa.avi
  2204. Gui, 44: Destroy
  2205. return
  2206.  
  2207. Ausruesten:
  2208. Gui, 3: Destroy
  2209. IniRead, Profil1_1, settings.ini, Ausruesten, Profil1_1
  2210. IniRead, Profil1_2, settings.ini, Ausruesten, Profil1_2
  2211. IniRead, Profil1_3, settings.ini, Ausruesten, Profil1_3
  2212. IniRead, Profil1_4, settings.ini, Ausruesten, Profil1_4
  2213. IniRead, Profil1_5, settings.ini, Ausruesten, Profil1_5
  2214. IniRead, Profil1_6, settings.ini, Ausruesten, Profil1_6
  2215. IniRead, Profil1_7, settings.ini, Ausruesten, Profil1_7
  2216.  
  2217. IniRead, Profil2_1, settings.ini, Ausruesten, Profil2_1
  2218. IniRead, Profil2_2, settings.ini, Ausruesten, Profil2_2
  2219. IniRead, Profil2_3, settings.ini, Ausruesten, Profil2_3
  2220. IniRead, Profil2_4, settings.ini, Ausruesten, Profil2_4
  2221. IniRead, Profil2_5, settings.ini, Ausruesten, Profil2_5
  2222. IniRead, Profil2_6, settings.ini, Ausruesten, Profil2_6
  2223. IniRead, Profil2_7, settings.ini, Ausruesten, Profil2_7
  2224.  
  2225. IniRead, Profil3_1, settings.ini, Ausruesten, Profil3_1
  2226. IniRead, Profil3_2, settings.ini, Ausruesten, Profil3_2
  2227. IniRead, Profil3_3, settings.ini, Ausruesten, Profil3_3
  2228. IniRead, Profil3_4, settings.ini, Ausruesten, Profil3_4
  2229. IniRead, Profil3_5, settings.ini, Ausruesten, Profil3_5
  2230. IniRead, Profil3_6, settings.ini, Ausruesten, Profil3_6
  2231. IniRead, Profil3_7, settings.ini, Ausruesten, Profil3_7
  2232. IniRead, UCSkin, settings.ini, Ausruesten, UCSkin
  2233. IniRead, Schutzweste, settings.ini, Ausruesten, Schutzweste
  2234.  
  2235. If(UCSkin == "ERROR")
  2236. {
  2237. UCSkin := ""
  2238. }
  2239.  
  2240. Gui, 3: Add, Text, x22 y29 w810 h70 , Hier kannst du dir drei Ausrüsten-Profile zusammenstellen und direkt ingame abrufen. Die ersten beiden Profile sind für den normalen Streifendienst gedacht und können mit F4 bzw. F5 ausgewählt werden. Im dritten Profil kann zusätzlich ein UC-Skin gewählt werden und du kannst entscheiden, ob du mit einer Schutzweste auf Streife gehen möchtest oder nicht. Die UC-Streife kannst du mit F6 auswählen. `nGehealt wirst du aber in jedem Fall. `nWICHTIG: Die erste Waffe darf nicht leer sein!
  2241. Gui, 3: Add, GroupBox, x12 y9 w830 h90 , Information
  2242. Gui, 3: Add, GroupBox, x12 y108 w830 h98 , Normale Streife
  2243. Gui, 3: Add, GroupBox, x12 y209 w830 h90 , Undercover Streife
  2244. Gui, 3: Add, Text, x22 y129 w110 h20 , Ausrüsten Profil I (F4):
  2245. Gui, 3: Add, DropDownList, x142 y127 w90 h110 vProfil1_1, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2246. Gui, 3: Add, DropDownList, x242 y127 w90 h110 vProfil1_2, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2247. Gui, 3: Add, DropDownList, x342 y127 w90 h110 vProfil1_3, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2248. Gui, 3: Add, DropDownList, x442 y127 w90 h110 vProfil1_4, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2249. Gui, 3: Add, DropDownList, x542 y127 w90 h110 vProfil1_5, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2250. Gui, 3: Add, DropDownList, x642 y127 w90 h110 vProfil1_6, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2251. Gui, 3: Add, DropDownList, x742 y127 w90 h110 vProfil1_7, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2252. GuiControl, 3: Choose, Profil1_1, %Profil1_1%
  2253. GuiControl, 3: Choose, Profil1_2, %Profil1_2%
  2254. GuiControl, 3: Choose, Profil1_3, %Profil1_3%
  2255. GuiControl, 3: Choose, Profil1_4, %Profil1_4%
  2256. GuiControl, 3: Choose, Profil1_5, %Profil1_5%
  2257. GuiControl, 3: Choose, Profil1_6, %Profil1_6%
  2258. GuiControl, 3: Choose, Profil1_7, %Profil1_7%
  2259. Gui, 3: Add, Text, x22 y179 w110 h20 , Ausrüsten Profil II (F5):
  2260. Gui, 3: Add, DropDownList, x142 y177 w90 h110 vProfil2_1, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2261. Gui, 3: Add, DropDownList, x242 y177 w90 h110 vProfil2_2, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2262. Gui, 3: Add, DropDownList, x342 y177 w90 h110 vProfil2_3, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2263. Gui, 3: Add, DropDownList, x442 y177 w90 h110 vProfil2_4, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2264. Gui, 3: Add, DropDownList, x542 y177 w90 h110 vProfil2_5, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2265. Gui, 3: Add, DropDownList, x642 y177 w90 h110 vProfil2_6, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2266. Gui, 3: Add, DropDownList, x742 y177 w90 h110 vProfil2_7, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2267. GuiControl, 3: Choose, Profil2_1, %Profil2_1%
  2268. GuiControl, 3: Choose, Profil2_2, %Profil2_2%
  2269. GuiControl, 3: Choose, Profil2_3, %Profil2_3%
  2270. GuiControl, 3: Choose, Profil2_4, %Profil2_4%
  2271. GuiControl, 3: Choose, Profil2_5, %Profil2_5%
  2272. GuiControl, 3: Choose, Profil2_6, %Profil2_6%
  2273. GuiControl, 3: Choose, Profil2_7, %Profil2_7%
  2274. Gui, 3: Add, Text, x22 y229 w110 h20 , UC-Profil (F6):
  2275. Gui, 3: Add, DropDownList, x142 y227 w90 h110 vProfil3_1, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2276. Gui, 3: Add, DropDownList, x242 y227 w90 h110 vProfil3_2, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2277. Gui, 3: Add, DropDownList, x342 y227 w90 h110 vProfil3_3, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2278. Gui, 3: Add, DropDownList, x442 y227 w90 h110 vProfil3_4, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2279. Gui, 3: Add, DropDownList, x542 y227 w90 h110 vProfil3_5, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2280. Gui, 3: Add, DropDownList, x642 y227 w90 h110 vProfil3_6, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2281. Gui, 3: Add, DropDownList, x742 y227 w90 h110 vProfil3_7, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2282. GuiControl, 3: Choose, Profil3_1, %Profil3_1%
  2283. GuiControl, 3: Choose, Profil3_2, %Profil3_2%
  2284. GuiControl, 3: Choose, Profil3_3, %Profil3_3%
  2285. GuiControl, 3: Choose, Profil3_4, %Profil3_4%
  2286. GuiControl, 3: Choose, Profil3_5, %Profil3_5%
  2287. GuiControl, 3: Choose, Profil3_6, %Profil3_6%
  2288. GuiControl, 3: Choose, Profil3_7, %Profil3_7%
  2289. Gui, 3: Add, Text, x142 y269 w90 h20 , UC-Skin (1-XX):
  2290. Gui, 3: Add, Edit, x242 y267 w110 h20 vUCSkin, %UCSkin%
  2291. Gui, 3: Add, CheckBox, x402 y267 w120 h20 vSchutzweste Checked%Schutzweste%, Schutzweste?
  2292. Gui, 3: Add, Button, x358 y305 w150 h40 gSpeichern2, Speichern
  2293. Gui, 3: Show, w867 h358, Ausrüsten
  2294. return
  2295.  
  2296. Speichern2:
  2297. GuiControlGet, Profil1_1
  2298. GuiControlGet, Profil1_2
  2299. GuiControlGet, Profil1_3
  2300. GuiControlGet, Profil1_4
  2301. GuiControlGet, Profil1_5
  2302. GuiControlGet, Profil1_6
  2303. GuiControlGet, Profil1_7
  2304.  
  2305. GuiControlGet, Profil2_1
  2306. GuiControlGet, Profil2_2
  2307. GuiControlGet, Profil2_3
  2308. GuiControlGet, Profil2_4
  2309. GuiControlGet, Profil2_5
  2310. GuiControlGet, Profil2_6
  2311. GuiControlGet, Profil2_7
  2312.  
  2313. GuiControlGet, Profil3_1
  2314. GuiControlGet, Profil3_2
  2315. GuiControlGet, Profil3_3
  2316. GuiControlGet, Profil3_4
  2317. GuiControlGet, Profil3_5
  2318. GuiControlGet, Profil3_6
  2319. GuiControlGet, Profil3_7
  2320.  
  2321. GuiControlGet, UCSkin
  2322. GuiControlGet, Schutzweste
  2323.  
  2324. IniWrite, %Profil1_1%, settings.ini, Ausruesten, Profil1_1
  2325. IniWrite, %Profil1_2%, settings.ini, Ausruesten, Profil1_2
  2326. IniWrite, %Profil1_3%, settings.ini, Ausruesten, Profil1_3
  2327. IniWrite, %Profil1_4%, settings.ini, Ausruesten, Profil1_4
  2328. IniWrite, %Profil1_5%, settings.ini, Ausruesten, Profil1_5
  2329. IniWrite, %Profil1_6%, settings.ini, Ausruesten, Profil1_6
  2330. IniWrite, %Profil1_7%, settings.ini, Ausruesten, Profil1_7
  2331.  
  2332. IniWrite, %Profil2_1%, settings.ini, Ausruesten, Profil2_1
  2333. IniWrite, %Profil2_2%, settings.ini, Ausruesten, Profil2_2
  2334. IniWrite, %Profil2_3%, settings.ini, Ausruesten, Profil2_3
  2335. IniWrite, %Profil2_4%, settings.ini, Ausruesten, Profil2_4
  2336. IniWrite, %Profil2_5%, settings.ini, Ausruesten, Profil2_5
  2337. IniWrite, %Profil2_6%, settings.ini, Ausruesten, Profil2_6
  2338. IniWrite, %Profil2_7%, settings.ini, Ausruesten, Profil2_7
  2339.  
  2340. IniWrite, %Profil3_1%, settings.ini, Ausruesten, Profil3_1
  2341. IniWrite, %Profil3_2%, settings.ini, Ausruesten, Profil3_2
  2342. IniWrite, %Profil3_3%, settings.ini, Ausruesten, Profil3_3
  2343. IniWrite, %Profil3_4%, settings.ini, Ausruesten, Profil3_4
  2344. IniWrite, %Profil3_5%, settings.ini, Ausruesten, Profil3_5
  2345. IniWrite, %Profil3_6%, settings.ini, Ausruesten, Profil3_6
  2346. IniWrite, %Profil3_7%, settings.ini, Ausruesten, Profil3_7
  2347.  
  2348. IniWrite, %UCSkin%, settings.ini, Ausruesten, UCSkin
  2349. IniWrite, %Schutzweste%, settings.ini, Ausruesten, Schutzweste
  2350.  
  2351. IniRead, Profil1_1, settings.ini, Ausruesten, Profil1_1
  2352. IniRead, Profil1_2, settings.ini, Ausruesten, Profil1_2
  2353. IniRead, Profil1_3, settings.ini, Ausruesten, Profil1_3
  2354. IniRead, Profil1_4, settings.ini, Ausruesten, Profil1_4
  2355. IniRead, Profil1_5, settings.ini, Ausruesten, Profil1_5
  2356. IniRead, Profil1_6, settings.ini, Ausruesten, Profil1_6
  2357. IniRead, Profil1_7, settings.ini, Ausruesten, Profil1_7
  2358.  
  2359. IniRead, Profil2_1, settings.ini, Ausruesten, Profil2_1
  2360. IniRead, Profil2_2, settings.ini, Ausruesten, Profil2_2
  2361. IniRead, Profil2_3, settings.ini, Ausruesten, Profil2_3
  2362. IniRead, Profil2_4, settings.ini, Ausruesten, Profil2_4
  2363. IniRead, Profil2_5, settings.ini, Ausruesten, Profil2_5
  2364. IniRead, Profil2_6, settings.ini, Ausruesten, Profil2_6
  2365. IniRead, Profil2_7, settings.ini, Ausruesten, Profil2_7
  2366.  
  2367. IniRead, Profil3_1, settings.ini, Ausruesten, Profil3_1
  2368. IniRead, Profil3_2, settings.ini, Ausruesten, Profil3_2
  2369. IniRead, Profil3_3, settings.ini, Ausruesten, Profil3_3
  2370. IniRead, Profil3_4, settings.ini, Ausruesten, Profil3_4
  2371. IniRead, Profil3_5, settings.ini, Ausruesten, Profil3_5
  2372. IniRead, Profil3_6, settings.ini, Ausruesten, Profil3_6
  2373. IniRead, Profil3_7, settings.ini, Ausruesten, Profil3_7
  2374. IniRead, UCSkin, settings.ini, Ausruesten, UCSkin
  2375. IniRead, Schutzweste, settings.ini, Ausruesten, Schutzweste
  2376.  
  2377. MsgBox, 64, , Gespeichert.
  2378. Gui, 3: Destroy
  2379. return
  2380.  
  2381.  
  2382. Speichern:
  2383. GuiControlGet, Fraktion
  2384. GuiControlGet, Abteilung
  2385. GuiControlGet, Swatabteilung
  2386. GuiControlGet, Laptop
  2387. GuiControlGet, Lock
  2388. GuiControlGet, Chatlogsaver
  2389. GuiControlGet, TankZoll
  2390. Gui, 5: Submit
  2391. Gui, 7: Submit
  2392. if(Chatlogsaver == 1)
  2393. {
  2394. SetTimer, Chatlog, Off
  2395. SetTimer, Chatlog, 500
  2396. }
  2397.  
  2398. IniWrite, %Fraktion%, settings.ini, Daten, Fraktion
  2399. IniWrite, %Abteilung%, settings.ini, Daten, Abteilung
  2400. IniWrite, %Swatabteilung%, settings.ini, Daten, Swatabteilung
  2401. IniWrite, %Laptop%, settings.ini, Daten, Laptop
  2402. IniWrite, %Lock%, settings.ini, Daten, Lock
  2403. IniWrite, %Chatlogsaver%, settings.ini, Daten, Chatlogsaver
  2404. IniWrite, %TankZoll%, settings.ini, Daten, TankZoll
  2405.  
  2406. IniRead, Fraktion, settings.ini, Daten, Fraktion
  2407. IniRead, Abteilung, settings.ini, Daten, Abteilung
  2408. IniRead, Swatabteilung, settings.ini, Daten, Swatabteilung
  2409. IniRead, Laptop, settings.ini, Daten, Laptop
  2410. IniRead, Lock, settings.ini, Daten, Lock
  2411. IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
  2412. IniRead, TankZoll, settings.ini, Daten, TankZoll
  2413.  
  2414. IniRead, CheckCall, settings.ini, Sounds, CheckCall
  2415. IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
  2416. IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
  2417. IniRead, CheckBK, settings.ini, Sounds, CheckBK
  2418. IniRead, Callsound, settings.ini, Sounds, Callsound
  2419. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  2420. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  2421. IniRead, BKsound, settings.ini, Sounds, BKsound
  2422.  
  2423. IniRead, VolCall, settings.ini, Sounds, VolCall
  2424. IniRead, VolSMS, settings.ini, Sounds, VolSMS
  2425. IniRead, VolLowHP,settings.ini, Sounds, VolLowHP
  2426. IniRead, VolBk, settings.ini, Sounds, VolBK
  2427.  
  2428. loop, %Binds%
  2429. {
  2430. IniWrite, % Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%
  2431. IniWrite, % Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%
  2432.  
  2433. IniWrite, % SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%
  2434. }
  2435. IniWrite, %xBind1%, %Hotkeys%, Maus, xBind1
  2436. IniWrite, %xBind2%, %Hotkeys%, Maus, xBind2
  2437. IniWrite, %wBind1%, %Hotkeys%, Maus, wBind1
  2438. IniWrite, %wBind2%, %Hotkeys%, Maus, wBind2
  2439.  
  2440. IniRead, xBind1, %Hotkeys%, Maus, xBind1, %A_Space%
  2441. IniRead, xBind2, %Hotkeys%, Maus, xBind2, %A_Space%
  2442. IniRead, wBind1, %Hotkeys%, Maus, wBind1, %A_Space%
  2443. IniRead, wBind2, %Hotkeys%, Maus, wBind2, %A_Space%
  2444.  
  2445. loop, %Binds%
  2446. {
  2447. IniRead, Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%, %A_Space%
  2448. IniRead, Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%, %A_Space%
  2449.  
  2450. IfNotEqual, Key%A_Index%,, Hotkey, % Key%A_Index%, Key%A_Index%
  2451.  
  2452. IniRead, SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%, 0
  2453. }
  2454.  
  2455. IniWrite, %HPAnzeige%, Overlay.ini, HP Overlay, HPAnzeige
  2456. IniWrite, %APAnzeige%, Overlay.ini, AP Overlay, APAnzeige
  2457.  
  2458. SynchronizeLaptop(Laptop)
  2459.  
  2460. MsgBox, 64, , Gespeichert.
  2461. return
  2462.  
  2463. CustomBindsGui:
  2464. Gui, 5: Submit
  2465. Gui, 5: Destroy
  2466. IniRead, xBind1, %Hotkeys%, Maus, xBind1, %A_Space%
  2467. IniRead, xBind2, %Hotkeys%, Maus, xBind2, %A_Space%
  2468. IniRead, wBind1, %Hotkeys%, Maus, wBind1, %A_Space%
  2469. IniRead, wBind2, %Hotkeys%, Maus, wBind2, %A_Space%
  2470.  
  2471. loop, %Binds%
  2472. {
  2473. IniRead, Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%, %A_Space%
  2474. IniRead, Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%, %A_Space%
  2475.  
  2476. IfNotEqual, Key%A_Index%,, Hotkey, % Key%A_Index%, Key%A_Index%
  2477.  
  2478. IniRead, SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%, 0
  2479. }
  2480.  
  2481. Gui, 5: Add, Tab2, x5 y5 h375 w655 +Theme -Background -Wrap, Hotkeys|Maustasten
  2482. Gui, 5:Tab, Hotkeys
  2483. Gui, 5:Add, GroupBox, x325 y50 h200 w1
  2484. Gui, 5:Font, underline
  2485. Gui, 5:Add, Text, x10 y30 h20, Taste
  2486. Gui, 5:Add, Text, x140 y30 h20, Aktion
  2487. Gui, 5:Add, Text, x340 y30 h20, Taste
  2488. Gui, 5:Add, Text, x470 y30 h20, Aktion
  2489. Gui, 5: Add, Text, x245 y30 h20, Direkt Senden
  2490. Gui, 5: Add, Text, x580 y30 h20, Direkt Senden
  2491. Gui, 5: Font
  2492.  
  2493. Gui, 5: Add, Hotkey, x10 y50 w120 h20 vKey1 Checked%Key1%, %Key1%
  2494. Gui, 5: Add, Edit, x140 y50 w120 h20 vBind1, %Bind1%
  2495. Gui, 5: Add, Hotkey, x10 y75 w120 h20 vKey2 Checked%Key2%, %Key2%
  2496. Gui, 5: Add, Edit, x140 y75 w120 h20 vBind2, %Bind2%
  2497. Gui, 5: Add, Hotkey, x10 y100 w120 h20 vKey3 Checked%Key3%, %Key3%
  2498. Gui, 5: Add, Edit, x140 y100 w120 h20 vBind3, %Bind3%
  2499. Gui, 5: Add, Hotkey, x10 y125 w120 h20 vKey4 Checked%Key4%, %Key4%
  2500. Gui, 5: Add, Edit, x140 y125 w120 h20 vBind4, %Bind4%
  2501. Gui, 5: Add, Hotkey, x10 y150 w120 h20 vKey5 Checked%Key5%, %Key5%
  2502. Gui, 5: Add, Edit, x140 y150 w120 h20 vBind5, %Bind5%
  2503. Gui, 5: Add, Hotkey, x10 y175 w120 h20 vKey6 Checked%Ke6%, %Key6%
  2504. Gui, 5: Add, Edit, x140 y175 w120 h20 vBind6, %Bind6%
  2505. Gui, 5: Add, Hotkey, x10 y200 w120 h20 vKey7 Checked%Key7%, %Key7%
  2506. Gui, 5: Add, Edit, x140 y200 w120 h20 vBind7, %Bind7%
  2507. Gui, 5: Add, Hotkey, x10 y225 w120 h20 vKey8 Checked%Key8%, %Key8%
  2508. Gui, 5: Add, Edit, x140 y225 w120 h20 vBind8, %Bind8%
  2509. Gui, 5: Add, Hotkey, x10 y250 w120 h20 vKey9 Checked%Key9%, %Key9%
  2510. Gui, 5: Add, Edit, x140 y250 w120 h20 vBind9, %Bind9%
  2511. Gui, 5: Add, Hotkey, x10 y275 w120 h20 vKey10 Checked%Key10%, %Key10%
  2512. Gui, 5: Add, Edit, x140 y275 w120 h20 vBind10, %Bind10%
  2513. Gui, 5: Add, Hotkey, x10 y300 w120 h20 vKey11 Checked%Key11%, %Key11%
  2514. Gui, 5: Add, Edit, x140 y300 w120 h20 vBind11, %Bind111%
  2515. Gui, 5: Add, Hotkey, x10 y325 w120 h20 vKey12 Checked%Key12%, %Key12%
  2516. Gui, 5: Add, Edit, x140 y325 w120 h20 vBind12, %Bind12%
  2517. Gui, 5: Add, Hotkey, x10 y350 w120 h20 vKey13 Checked%Key13%, %Key13%
  2518. Gui, 5: Add, Edit, x140 y350 w120 h20 vBind13, %Bind13%
  2519.  
  2520. Gui, 5: Add, Hotkey, x340 y50 w120 h20 vKey14 Checked%Key14%, %Key14%
  2521. Gui, 5: Add, Edit, x470 y50 w120 h20 vBind14, %Bind14%
  2522. Gui, 5: Add, Hotkey, x340 y75 w120 h20 vKey15 Checked%Key15%, %Key15%
  2523. Gui, 5: Add, Edit, x470 y75 w120 h20 vBind15, %Bind15%
  2524. Gui, 5: Add, Hotkey, x340 y100 w120 h20 vKey16 Checked%Key16%, %Key16%
  2525. Gui, 5: Add, Edit, x470 y100 w120 h20 vBind16, %Bind16%
  2526. Gui, 5: Add, Hotkey, x340 y125 w120 h20 vKey17 Checked%Key17%, %Key17%
  2527. Gui, 5: Add, Edit, x470 y125 w120 h20 vBind17, %Bind17%
  2528. Gui, 5: Add, Hotkey, x340 y150 w120 h20 vKey18 Checked%Key18%, %Key18%
  2529. Gui, 5: Add, Edit, x470 y150 w120 h20 vBind18, %Bind18%
  2530. Gui, 5: Add, Hotkey, x340 y175 w120 h20 vKey19 Checked%Key19%, %Key19%
  2531. Gui, 5: Add, Edit, x470 y175 w120 h20 vBind19, %Bind19%
  2532. Gui, 5: Add, Hotkey, x340 y200 w120 h20 vKey20 Checked%Key20%, %Key20%
  2533. Gui, 5: Add, Edit, x470 y200 w120 h20 vBind20, %Bind20%
  2534. Gui, 5: Add, Hotkey, x340 y225 w120 h20 vKey21 Checked%Key21%, %Key21%
  2535. Gui, 5: Add, Edit, x470 y225 w120 h20 vBind21, %Bind21%
  2536. Gui, 5: Add, Hotkey, x340 y250 w120 h20 vKey22 Checked%Key22%, %Key22%
  2537. Gui, 5: Add, Edit, x470 y250 w120 h20 vBind22, %Bind22%
  2538. Gui, 5: Add, Hotkey, x340 y275 w120 h20 vKey23 Checked%Key23%, %Key23%
  2539. Gui, 5: Add, Edit, x470 y275 w120 h20 vBind23, %Bind23%
  2540. Gui, 5: Add, Hotkey, x340 y300 w120 h20 vKey24 Checked%Key24%, %Key24%
  2541. Gui, 5: Add, Edit, x470 y300 w120 h20 vBind24, %Bind22%
  2542. Gui, 5: Add, Hotkey, x340 y325 w120 h20 vKey25 Checked%Key25%, %Key25%
  2543. Gui, 5: Add, Edit, x470 y325 w120 h20 vBind25, %Bind25%
  2544. Gui, 5: Add, Hotkey, x340 y350 w120 h20 vKey26 Checked%Key26%, %Key26%
  2545. Gui, 5: Add, Edit, x470 y350 w120 h20 vBind26, %Bind26%
  2546.  
  2547. Gui, 5: Font, norm
  2548. Gui, 5: Add, CheckBox, x270 y52 +BackgroundTrans vSendenKey1 Checked%SendenKey1%,
  2549. Gui, 5: Add, CheckBox, x270 y77 +BackgroundTrans vSendenKey2 Checked%SendenKey2%,
  2550. Gui, 5: Add, CheckBox, x270 y102 +BackgroundTrans vSendenKey3 Checked%SendenKey3%,
  2551. Gui, 5: Add, CheckBox, x270 y127 +BackgroundTrans vSendenKey4 Checked%SendenKey4%,
  2552. Gui, 5: Add, CheckBox, x270 y152 +BackgroundTrans vSendenKey5 Checked%SendenKey5%,
  2553. Gui, 5: Add, CheckBox, x270 y177 +BackgroundTrans vSendenKey6 Checked%SendenKey6%,
  2554. Gui, 5: Add, CheckBox, x270 y202 +BackgroundTrans vSendenKey7 Checked%SendenKey7%,
  2555. Gui, 5: Add, CheckBox, x270 y227 +BackgroundTrans vSendenKey8 Checked%SendenKey8%,
  2556. Gui, 5: Add, CheckBox, x270 y252 +BackgroundTrans vSendenKey9 Checked%SendenKey9%,
  2557. Gui, 5: Add, CheckBox, x270 y277 +BackgroundTrans vSendenKey10 Checked%SendenKey10%,
  2558. Gui, 5: Add, CheckBox, x270 y302 +BackgroundTrans vSendenKey11 Checked%SendenKey11%,
  2559. Gui, 5: Add, CheckBox, x270 y327 +BackgroundTrans vSendenKey12 Checked%SendenKey12%,
  2560. Gui, 5: Add, CheckBox, x270 y352 +BackgroundTrans vSendenKey13 Checked%SendenKey13%,
  2561.  
  2562. Gui, 5: Add, CheckBox, x600 y52 +BackgroundTrans vSendenKey14 Checked%SendenKey14%,
  2563. Gui, 5: Add, CheckBox, x600 y77 +BackgroundTrans vSendenKey15 Checked%SendenKey15%,
  2564. Gui, 5: Add, CheckBox, x600 y102 +BackgroundTrans vSendenKey16 Checked%SendenKey16%,
  2565. Gui, 5: Add, CheckBox, x600 y127 +BackgroundTrans vSendenKey17 Checked%SendenKey17%,
  2566. Gui, 5: Add, CheckBox, x600 y152 +BackgroundTrans vSendenKey18 Checked%SendenKey18%,
  2567. Gui, 5: Add, CheckBox, x600 y177 +BackgroundTrans vSendenKey19 Checked%SendenKey19%,
  2568. Gui, 5: Add, CheckBox, x600 y202 +BackgroundTrans vSendenKey20 Checked%SendenKey20%,
  2569. Gui, 5: Add, CheckBox, x600 y227 +BackgroundTrans vSendenKey21 Checked%SendenKey21%,
  2570. Gui, 5: Add, CheckBox, x600 y252 +BackgroundTrans vSendenKey22 Checked%SendenKey22%,
  2571. Gui, 5: Add, CheckBox, x600 y277 +BackgroundTrans vSendenKey23 Checked%SendenKey23%,
  2572. Gui, 5: Add, CheckBox, x600 y302 +BackgroundTrans vSendenKey24 Checked%SendenKey24%,
  2573. Gui, 5: Add, CheckBox, x600 y327 +BackgroundTrans vSendenKey25 Checked%SendenKey25%,
  2574. Gui, 5: Add, CheckBox, x600 y352 +BackgroundTrans vSendenKey26 Checked%SendenKey26%,
  2575.  
  2576.  
  2577.  
  2578. Gui, 5: Tab, Maustasten
  2579. Gui, 5: Font, underline
  2580. Gui, 5: Add, Text, x10 y30 h20, Taste
  2581. Gui, 5: Add, Text, x140 y30 h20, Aktion
  2582. Gui, 5: Add, Text, x300 y30 h20, Taste
  2583. Gui, 5: Add, Text, x430 y30 h20, Aktion
  2584. Gui, 5: Font
  2585. Gui, 5: Add, Text, x10 y50, Maustaste 4
  2586. Gui, 5: Add, Edit, x140 y50 w130 h20 vxBind1, %xBind1%
  2587. Gui, 5: Add, Text, x300 y50, Maustaste 5
  2588. Gui, 5: Add, Edit, x430 y50 w130 h20 vxBind2, %xBind2%
  2589. Gui, 5: Add, Text, x10 y75, Mausrad links kippen
  2590. Gui, 5: Add, Edit, x140 y75 w130 h20 vwBind1, %wBind1%
  2591. Gui, 5: Add, Text, x300 y75, Mausrad rechts kippen
  2592. Gui, 5: Add, Edit, x430 y75 w130 h20 vwBind2, %wBind2%
  2593. Menu, MenuBar, Add, &Speichern, Speichern
  2594. Menu, MenuBar, Add, &Informationen, Hotkeys_Informationen
  2595. Gui, 5: Menu, MenuBar
  2596. Gui, 5: Show,, Staatsgewaltkeybinder: Eigene Binds
  2597. return
  2598.  
  2599. Hotkeys_Informationen:
  2600. MsgBox, 64, Staatsgewaltkeybinder: Informationen zu den eigenen Binds, 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. Du kannst selbst entscheiden`, ob der Befehl direkt gesendet werden soll oder ob der eingegebene Befehl / Text erst im Chatfenster bestätigt werden muss. Bei der zweiten Variante kannst mit folgender Kombination {left XY} den Cursor um XY Zeichen nach lanks bewegen. Verwendest du {space} am Ende`, kannst du nach dem Befehl / Text diesen weiter ergänzen.`n`nFolgende "Kürzel" habenin beiden Fällen 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<einheit> = Wird ersetzt durch die aktuelle Streifeneinheit
  2601. return
  2602.  
  2603.  
  2604.  
  2605. Druck:
  2606. IfExist, Druckversion.txt
  2607. {
  2608. FileDelete, Druckversion.txt
  2609. }
  2610.  
  2611. FileAppend, Belegungen`n %Belegungen%`n`n%Vergaben%`n`nLaptopModus `n%LaptopModus%`n`nAdmin-Befehle `n%AdminBefehle%, Druckversion.txt
  2612. MsgBox, 64, Druckversion, Die Druckversion befindet sich nun im Ordner des Keybinders.
  2613. return
  2614.  
  2615. Update:
  2616. URLDownloadToFile, http://www.rpg-ausbildung.de/keybinder/Patchlist.txt, %A_AppData%/Patchlist.txt
  2617. FileRead, Patchlist, %A_AppData%/Patchlist.txt
  2618. Gui, 2:Add, Edit, x0 y0 w300 h300, %Patchlist%
  2619. Gui, 2:Show, x152 y112 w300 h300, News und Updates
  2620. return
  2621.  
  2622. chatlog:
  2623. WinWait, GTA:SA:MP
  2624. WinWaitClose, GTA:SA:MP
  2625. FileCreateDir, %A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups
  2626. FormatTime, zeit,%A_Now%,dd.MM HH_mm
  2627. FileCopy,%A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog.txt,%A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups\Chatlog_%zeit%.txt,0
  2628. return
  2629.  
  2630.  
  2631. _GtaCheck:
  2632. Process , exist, gta_sa.exe
  2633. GtaPid := ErrorLevel
  2634. if (GtaPid != 0)
  2635. {
  2636. if(GtaCheckTrue == "0")
  2637. {
  2638. GtaCheckTrue := "1"
  2639. SetTimer, Systeme, off
  2640. SetTimer, Systeme, 500
  2641. SetTimer, NameCheck, off
  2642. SetTimer, NameCheck, 1000
  2643. if (Chatlogsaver == 1)
  2644. {
  2645. SetTimer, chatlog, off
  2646. SetTimer, chatlog, 500
  2647. }
  2648. else
  2649. {
  2650. SetTimer, chatlog, off
  2651. }
  2652. }
  2653. }
  2654. else
  2655. {
  2656. SetTimer, Systeme, off
  2657. GtaCheckTrue := "0"
  2658. }
  2659. return
  2660.  
  2661.  
  2662.  
  2663.  
  2664. ChatLine(firstline, instr, lines=5){
  2665. loop, %lines%
  2666. {
  2667. GetChatLine(firstline + (A_Index - 1), chat)
  2668. if(InStr(chat, instr))
  2669. return chat
  2670. }
  2671. return
  2672. }
  2673.  
  2674.  
  2675. IsPlayerInRangeOfPoint_fast(x, y, z, r)
  2676. {
  2677. static pos_x, pos_y, pos_z, lastcalled
  2678. if(lastcalled < A_TickCount - 150){
  2679. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  2680. lastcalled := A_TickCount
  2681. }
  2682. d := sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  2683. if(d < r)
  2684. return 1
  2685. return 0
  2686. }
  2687.  
  2688. IsPlayerInRangeOfPoint2D_fast(x, y, r){
  2689. static pos_x, pos_y, lastcalled
  2690. if(lastcalled < A_TickCount - 150){
  2691. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  2692. lastcalled := A_TickCount
  2693. }
  2694. d := sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
  2695. if(d < r)
  2696. return 1
  2697. return 0
  2698. }
  2699.  
  2700. GetDistanceFromPoint(x, y, z)
  2701. {
  2702. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  2703. return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  2704. }
  2705.  
  2706. GetDistancebetween(x, y, z, pos_x, pos_y, pos_z)
  2707. {
  2708. return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  2709. }
  2710.  
  2711.  
  2712. GetDistanceFromPoint2D(x, y){
  2713. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  2714. return sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
  2715. }
  2716.  
  2717.  
  2718. +T::
  2719. ~t::
  2720. Suspend On
  2721. Hotkey, Enter, On
  2722. Hotkey, Escape, On
  2723. Hotkey, t, Off
  2724. if(SpeedCheckStatus == 1)
  2725. {
  2726. Send {backspace}
  2727. Send {backspace}
  2728. }
  2729. return
  2730.  
  2731. ~Enter::
  2732. ~NumpadEnter::
  2733. Suspend Permit
  2734. Suspend Off
  2735. Hotkey, t, On
  2736. Hotkey, Enter, Off
  2737. Hotkey, Escape, Off
  2738.  
  2739. if(IsChatOpen() == 1 || IsDialogOpen == 1)
  2740. return
  2741. if(Menu_Overlay || Menu_HP || Menu_AP)
  2742. {
  2743. if Switcher = 6
  2744. {
  2745. IniWrite, %Overlay_size%, Overlay.ini, Status Overlay, Overlay_size
  2746. IniWrite, %Overlay_posx%, Overlay.ini, Status Overlay, Overlay_posx
  2747. IniWrite, %Overlay_posy%, Overlay.ini, Status Overlay, Overlay_posy
  2748.  
  2749. IniWrite, %HP_size%, Overlay.ini, HP Overlay, HP_size
  2750. IniWrite, %HP_posx%, Overlay.ini, HP Overlay, HP_posx
  2751. IniWrite, %HP_posy%, Overlay.ini, HP Overlay, HP_posy
  2752.  
  2753. IniWrite, %AP_size%, Overlay.ini, AP Overlay, AP_size
  2754. IniWrite, %AP_posx%, Overlay.ini, AP Overlay, AP_posx
  2755. IniWrite, %AP_posy%, Overlay.ini, AP Overlay, AP_posy
  2756.  
  2757. SetTimer, Ov_Update, off
  2758.  
  2759. TextSetString(boxtext6,"Einstellungen gespeichert")
  2760. TextSetColor(boxtext6,0xFF4DFF55)
  2761. sleep 1000
  2762.  
  2763. Menu_Overlay := 0
  2764. Menu_HP := 0
  2765. Menu_AP := 0
  2766. Loop 6
  2767. {
  2768. BoxSetShown(Box%A_INDex%, false)
  2769. TextSetShown(boxtext%A_index%,false)
  2770. }
  2771. TextSetColor(boxtext6,0x00BFFFFF)
  2772.  
  2773. Settimer, Ov_Update, 1500
  2774. }
  2775. }
  2776. return
  2777.  
  2778. ~Escape::
  2779. Suspend Permit
  2780. Suspend Off
  2781. SendInput {Escape}
  2782. Hotkey, t, On
  2783. Hotkey, Enter, Off
  2784. Hotkey, Escape, Off
  2785. return
  2786.  
  2787. SynchronizeLaptop(Integer)
  2788. {
  2789. if(!integer)
  2790. {
  2791. HotKey, !^0, off
  2792. HotKey, !^1, off
  2793. HotKey, !^2, off
  2794. HotKey, !^3, off
  2795. HotKey, !^4, off
  2796. HotKey, !^5, off
  2797. HotKey, !^6, off
  2798. HotKey, !^7, off
  2799. HotKey, !^8, off
  2800. HotKey, !^9, off
  2801. HotKey, !1, off
  2802. HotKey, !2, off
  2803. HotKey, !3, off
  2804. HotKey, !4, off
  2805. HotKey, !5, off
  2806. HotKey, !6, off
  2807. HotKey, !7, off
  2808. HotKey, !8, off
  2809. HotKey, !9, off
  2810. HotKey, ^0, off
  2811. HotKey, ^1, off
  2812. HotKey, ^2, off
  2813. HotKey, ^3, off
  2814. HotKey, ^4, off
  2815. HotKey, ^5, off
  2816. HotKey, ^6, off
  2817. HotKey, ^7, off
  2818. HotKey, ^8, off
  2819. HotKey, ^9, off
  2820. HotKey, +, off
  2821. HotKey, !+, off
  2822. }
  2823. else
  2824. {
  2825. HotKey, !^0, on
  2826. HotKey, !^1, on
  2827. HotKey, !^2, on
  2828. HotKey, !^3, on
  2829. HotKey, !^4, on
  2830. HotKey, !^5, on
  2831. HotKey, !^6, on
  2832. HotKey, !^7, on
  2833. HotKey, !^8, on
  2834. HotKey, !^9, on
  2835. HotKey, !1, on
  2836. HotKey, !2, on
  2837. HotKey, !3, on
  2838. HotKey, !4, on
  2839. HotKey, !5, on
  2840. HotKey, !6, on
  2841. HotKey, !7, on
  2842. HotKey, !8, on
  2843. HotKey, !9, on
  2844. HotKey, ^0, on
  2845. HotKey, ^1, on
  2846. HotKey, ^2, on
  2847. HotKey, ^3, on
  2848. HotKey, ^4, on
  2849. HotKey, ^5, on
  2850. HotKey, ^6, on
  2851. HotKey, ^7, on
  2852. HotKey, ^8, on
  2853. HotKey, ^9, on
  2854. HotKey, +, on
  2855. HotKey, !+, on
  2856. }
  2857. return
  2858. }
  2859.  
  2860.  
  2861. PlayerInput(text)
  2862. {
  2863. s := A_IsSuspended
  2864. Suspend On
  2865. KeyWait Enter
  2866. SendInput t^a{backspace}%text%
  2867. Input, var, v, {enter}
  2868. SendInput ^a{backspace}{enter}
  2869. if(!s)
  2870. Suspend Off
  2871. return var
  2872. }
  2873.  
  2874. NameCheck:
  2875. if(WinExist("GTA:SA:MP"))
  2876. GetServerIP(serverip)
  2877. if(serverip != "37.187.135.201")
  2878. {
  2879. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht auf RPG-City verbunden.")
  2880. ExitApp
  2881. }
  2882. SetTimer, NameCheck, off
  2883. Sleep, 750
  2884. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  2885. if(Passwort != "" && Passwort != " " && Passwort != "ERROR")
  2886. {
  2887. query = http://ni31914_3.vweb16.nitrado.net/keybinder/checkPassword.php?password=%Passwort%
  2888. result := UrlDownloadToVar(query)
  2889. Sleep, 100
  2890. StringTrimRight, result, result, 1
  2891. if(result != "True")
  2892. {
  2893. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dein Authentifizierungspasswort für alle Online-Features ist nicht korrekt.")
  2894. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Bitte benutze {FFBF00}/passwort{FFFFFF}, um das neue Passwort einzugeben (zu finden im Keybinder-Thread).")
  2895. }
  2896. }
  2897. else
  2898. {
  2899. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Um alle Online-Features nutzen zu können, musst du dich mit einem Passwort authentifizieren.")
  2900. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Bitte benutze {FFBF00}/passwort{FFFFFF}, um das neue Passwort einzugeben (zu finden im Keybinder-Thread).")
  2901. }
  2902. return
  2903. :?:/passwort::
  2904. Suspend Permit
  2905. SendInput Authentifizierungs-Passwort:{space}
  2906. Input,Passwort,V I M,{enter}{escape}{space}
  2907. if(errorlevel == "EndKey:Escape")
  2908. return
  2909. SendInput ^a{delete}{enter}
  2910. Send {enter}
  2911. Sleep, 100
  2912. if(Passwort != "" && Passwort != " ")
  2913. {
  2914. query = http://ni31914_3.vweb16.nitrado.net/keybinder/checkPassword.php?password=%Passwort%
  2915. result := UrlDownloadToVar(query)
  2916. Sleep, 100
  2917. StringTrimRight, result, result, 1
  2918. if(result != "True")
  2919. {
  2920. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das eingegebene Passwort war {FF0000}falsch!")
  2921. }
  2922. else
  2923. {
  2924. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das Passwort war korrekt und wird für die nächste Verwendung gespeichert.")
  2925. IniWrite, %Passwort%, settings.ini, Sonstiges, Passwort
  2926. }
  2927. }
  2928. return
  2929. Systeme:
  2930. If not WinActive("GTA:SA:MP")
  2931. {
  2932. return
  2933. }
  2934. GetChatLine(0, Line0)
  2935. GetChatLine(1, Line1)
  2936. GetChatLine(2, Line2)
  2937. GetPlayerName(Name)
  2938. HP := GetPlayerHealth()
  2939. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2940. {
  2941. last_line := A_LoopReadLine
  2942. }
  2943. IfInString, last_line, %Name%'s Handy klingelt
  2944. {
  2945. if(CheckCall = 1)
  2946. {
  2947. IniRead, Callsound, settings.ini, Sounds, Callsound
  2948. if(A_OSVersion != "WIN_XP")
  2949. {
  2950. SoundSetWaveVolume, %VolCall%
  2951. }
  2952. Soundplay, %CallSound%
  2953. Sleep 1000
  2954. FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2955. }
  2956. }
  2957. IfInString, last_line, Sender:
  2958. {
  2959. if not InStr(last_line, "Sender: " Name)
  2960. {
  2961. if(CheckSMS = 1)
  2962. {
  2963. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  2964. if(A_OSVersion != "WIN_XP")
  2965. {
  2966. SoundSetWaveVolume, %VolSMS%
  2967. }
  2968. Soundplay, %SMSsound%
  2969. Sleep 1000
  2970. FileAppend, Zeile fur Keybinder ,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2971. }
  2972. }
  2973. }
  2974. If ((InStr(last_line, "benötigt Verstärkung in") && not InStr(last_line, "" . Name . " benötigt Verstärkung in ")) || (InStr(Line1, "benötigt Verstärkung in") && not InStr(last_line, "" . Name . " benötigt Verstärkung in")))
  2975. {
  2976. If(CheckBK = 1)
  2977. {
  2978. if(BKsoundan == 0)
  2979. {
  2980. IniRead, BKsound, settings.ini, Sounds, BKsound
  2981. if(A_OSVersion != "WIN_XP")
  2982. {
  2983. SoundSetWaveVolume, %VolBK%
  2984. }
  2985. SoundPlay, %BKsound%
  2986. Sleep, 500
  2987. FileAppend, Zeile fur Keybinder ,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2988. BKsoundan := 1
  2989. BKCountdown := 14
  2990. }
  2991. }
  2992. }
  2993. if(BKsoundan == 1)
  2994. {
  2995. BKCountdown--
  2996. if(BKCountdown < 1)
  2997. {
  2998. BKsoundan := 0
  2999. }
  3000. }
  3001. 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!"))
  3002. {
  3003. BlockChatInput(True)
  3004. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}AntiSpamKick-System {00FF00}aktiv{00FF00}.")
  3005. Sleep, 1500
  3006. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}AntiSpamKick-System {FF0000}inaktiv{FF0000}.")
  3007. BlockChatInput(False)
  3008. }
  3009. If (InStr(Line0, "Der Gesprächspartner hat aufgelegt"))
  3010. {
  3011. Soundplay, avixa.avi
  3012. }
  3013. if(CheckLowHP = 1)
  3014. {
  3015. if(LowHPsoundan = 0)
  3016. {
  3017. if(HP < 47.0 && HP != -1)
  3018. {
  3019. AddChatMessage(0xDF0101, "[Calibinder] {FF0000}WARNUNG: {FFFFFF}Du hast nur noch {FFBF00}" GetPlayerHealth() " HP{FFFFFF}. Heil dich schnell!")
  3020. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  3021. if(A_OSVersion != "WIN_XP")
  3022. {
  3023. SoundSetWaveVolume, %VolLowHP%
  3024. }
  3025. SoundPlay, %LowHPsound%
  3026. LowHPsoundan := 1
  3027. }
  3028. }
  3029. }
  3030. if(LowHPsoundan = 1)
  3031. {
  3032. if(HP > 47)
  3033. {
  3034. LowHPsoundan := 0
  3035. SoundPlay, avixa.avi
  3036. }
  3037. }
  3038. if(HP == 0)
  3039. {
  3040. bkon = 0
  3041. swatmode := 0
  3042. }
  3043.  
  3044. If (InStr(Line0, "|=================||============||=================|") || InStr(Line1, "|=================||============||=================|"))
  3045. {
  3046. if(InStr(Line0, "|Gehaltscheck|"))
  3047. {
  3048. return
  3049. }
  3050. Loop
  3051. {
  3052. GetChatLine(A_Index - 1, chat)
  3053. if(InStr(chat, "KFZ Steuer:"))
  3054. {
  3055. RegExMatch(chat, "KFZ Steuer: -(.*)\$", kfz)
  3056. }
  3057. if(InStr(chat, "Lohn: "))
  3058. {
  3059. RegExMatch(chat, "Lohn: (.*)\$ Miete: -(.*)\$ Lohnsteuer: -(.*)\$", rest)
  3060. }
  3061. if(InStr(chat, "Stromrechnung: "))
  3062. {
  3063. RegExMatch(chat, "Stromrechnung: -(.*)\$", strom)
  3064. }
  3065. if(Instr(chat, "|================| Gehalts-Check |================|"))
  3066. {
  3067. break
  3068. }
  3069. }
  3070. Gehalt=%rest1%
  3071. Gehalt-=%rest2%
  3072. Gehalt-=%rest3%
  3073. Gehalt-=%kfz1%
  3074. Gehalt-=%strom1%
  3075. sleep, 250
  3076. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}{15A170}[Gehaltscheck]{FFFFFF} Du hast {FFBF00}" . Gehalt . "{FFFFFF}$ verdient.")
  3077. }
  3078.  
  3079.  
  3080. if(SpeedCheckStatus == "1")
  3081. {
  3082. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3083. {
  3084. return
  3085. }
  3086. VehSpeed := GetPlayerSpeed()
  3087. if(IsPlayerDriver() == 1)
  3088. {
  3089. if (VehSpeed <= VehSpeedMax)
  3090. {
  3091. SendInput, {W Down}
  3092. }
  3093. else if (VehSpeed > VehSpeedMax)
  3094. {
  3095. SendInput, {W Up}
  3096. }
  3097. }
  3098. else
  3099. {
  3100. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges. Der Tempomat wurde deaktiviert.")
  3101. SpeedCheckStatus := "0"
  3102. SpeedOnOff := "0"
  3103. Sleep, 250
  3104. SendInput {W up}
  3105. }
  3106. }
  3107.  
  3108.  
  3109.  
  3110. if(InStr(line0, "Strafpunkte eingetragen, Grund: ") && InStr(line0, "" . name . " hat "))
  3111. {
  3112. RegExMatch(line0, "hat (.*) (.*) Strafpunkte eingetragen, Grund\: (.*)", params)
  3113. if(params1 != Name)
  3114. {
  3115. IniRead, Punkte, Statistik.ini, Vergaben, Punkte
  3116. Punkte += params2
  3117. IniWrite, %Punkte%, Statistik.ini, Vergaben, Punkte
  3118. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" Punkte "{FFFFFF} Punkte vergeben.")
  3119. }
  3120. }
  3121.  
  3122.  
  3123. if(InStr(line0, "* Du hast ") && InStr(line0, "ein Ticket für") && InStr(line0, "$ gegeben, Grund:"))
  3124. {
  3125. IniRead, Tickets, Statistik.ini, Vergaben, Tickets
  3126. Tickets++
  3127. IniWrite, %Tickets%, Statistik.ini, Vergaben, Tickets
  3128. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" Tickets "{FFFFFF} Tickets ausgestellt.")
  3129. }
  3130.  
  3131.  
  3132. if(InStr(line0, "hat dein") && InStr(line0, "$ bezahlt."))
  3133. {
  3134. RegExMatch(line0, "\* (.*) hat dein (.*)\$ bezahlt.", verdientesGeld)
  3135. if(verdientesGeld2 > 0 && verdientesGeld2 != "" && verdientesGeld2 != " ")
  3136. {
  3137. IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
  3138. TicketGeld += verdientesGeld2
  3139. IniWrite, %TicketGeld%, Statistik.ini, Vergaben, TicketGeld
  3140. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" TicketGeld "{FFFFFF}$ durch Tickets verdient.")
  3141. }
  3142. }
  3143.  
  3144. if(InStr(line0, "schießt mit seinen Elektroschocker auf"))
  3145. {
  3146. RegExMatch(line0, "\* (.*) schießt mit seinen Elektroschocker auf (.*) und setzt ihn unter Strom.", params)
  3147. GetPlayerName(name)
  3148. if(params1 == name)
  3149. {
  3150. IniRead, Tazer, Statistik.ini, Tazer, Tazer
  3151. Tazer++
  3152. IniWrite, %Tazer%, Statistik.ini, Tazer, Tazer
  3153. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" Tazer "{FFFFFF} Personen getazert.")
  3154. }
  3155. }
  3156.  
  3157. if(InStr(line1, " " . Name . " hat den Verdächtigen") && InStr(line1, "offline eingesperrt."))
  3158. {
  3159. RegExMatch(line1, " " Name " hat den Verdächtigen (.*) offline eingesperrt.", Spieler)
  3160. IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
  3161. OffArrest++
  3162. IniWrite, %OffArrest%, Statistik.ini, Arrests, OffArrest
  3163. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast {FFBF00}" Spieler1 "{FFFFFF} Off-Arrestet. Off Arrest Nummer {FFBF00}" OffArrest ".")
  3164. Sleep, 250
  3165. }
  3166.  
  3167.  
  3168. if(Instr(line1, "[HQ]:") && InStr(line1, " " . Name . " hat den Verdächtigen") && InStr(line1, "getötet."))
  3169. {
  3170. RegExMatch(line1, " " Name " hat den Verdächtigen (.*) getötet.", Spieler)
  3171. IniRead, Kills, Statistik.ini, Kills, Kills
  3172. Kills++
  3173. IniWrite, %Kills%, Statistik.ini, Kills, Kills
  3174. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast {FFBF00}" Spieler1 " getötet, Kill Nummer {FF0000}" Kills "{FFFFFF}.")
  3175. }
  3176.  
  3177.  
  3178. if(InStr(line1, " " . name . " hat den Verdächtigen ") && InStr(line1, "eingesperrt."))
  3179. {
  3180. RegExMatch(line0, "Haftzeit: (.*) Minuten, Geldstrafe: (.*)\$.", param) && RegExMatch(line1, " " Name " hat den Verdächtigen (.*) eingesperrt.", Spieler)
  3181. if(param2 != 0 && param2 > 0)
  3182. {
  3183. IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
  3184. DeathArrest++
  3185. IniWrite, %DeathArrest%, Statistik.ini, Arrests, DeathArrest
  3186. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast {FFBF00}" Spieler1 "{FFFFFF} Tot eingesperrt. Death-Arrest Nummer {FFBF00}" DeathArrest ".")
  3187. Sleep, 250
  3188. }
  3189. }
  3190.  
  3191. if(InStr(Line0,"Der Spieler befindet sich in Gebäudekomplex"))
  3192. {
  3193. RegExMatch(Line0,"Der Spieler befindet sich in Gebäudekomplex (.*)", params)
  3194. if(params1 != altergk)
  3195. {
  3196. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  3197. getgk = http://ni31914_3.vweb16.nitrado.net/keybinder/GK/getalldata.php?gkID=%params1%&password=%Passwort%
  3198. success := UrlDownloadToVar(getgk)
  3199. altergk := params1
  3200. if(success == "ERROR_BAD_LINK")
  3201. {
  3202. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
  3203. }
  3204. else if(success == "ERROR_ACCESS_DENIED")
  3205. {
  3206. AddChatMessage(0xDF0101, "[Calibinder] {FF0000}ACHTUNG: {FFFFFF}Zugriff verweigert, das Passwort ist falsch!")
  3207. }
  3208. else if(success == "ERROR_PARAMETER_NO_NUMBER")
  3209. {
  3210. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Eine Zahl wird vorausgesetzt.")
  3211. }
  3212. else if(success == "ERROR_NOT_FOUND")
  3213. {
  3214. AddChatMessage(0xDF0101, "[Calibinder] {FF0000}FEHLER:{FFFFFF} Komplex wurde nicht in der Datenbank gefunden.")
  3215. }
  3216. else
  3217. {
  3218. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Gebäudekomplex " params1 ":")
  3219. Loop, Parse, success, ~
  3220. {
  3221. AddChatMessage(0xFFFFFF,A_LoopField)
  3222. }
  3223. }
  3224. }
  3225. }
  3226. if(InStr(Line1,"Der Spieler befindet sich in Gebäudekomplex"))
  3227. {
  3228. RegExMatch(Line1,"Der Spieler befindet sich in Gebäudekomplex (.*)", params)
  3229. if(params1 != altergk)
  3230. {
  3231. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  3232. getgk = http://ni31914_3.vweb16.nitrado.net/keybinder/GK/getalldata.php?gkID=%params1%&password=%Passwort%
  3233. success := UrlDownloadToVar(getgk)
  3234. altergk := params1
  3235. if(success == "ERROR_BAD_LINK")
  3236. {
  3237. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
  3238. }
  3239. else if(success == "ERROR_ACCESS_DENIED")
  3240. {
  3241. AddChatMessage(0xDF0101, "[Calibinder] {FF0000}ACHTUNG: {FFFFFF}Zugriff verweigert, das Passwort ist falsch!")
  3242. }
  3243. else if(success == "ERROR_PARAMETER_NO_NUMBER")
  3244. {
  3245. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Eine Zahl wird vorausgesetzt.")
  3246. }
  3247. else if(success == "ERROR_NOT_FOUND")
  3248. {
  3249. AddChatMessage(0xDF0101, "[Calibinder] {FF0000}FEHLER:{FFFFFF} Komplex wurde nicht in der Datenbank gefunden.")
  3250. }
  3251. else
  3252. {
  3253. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Gebäudekomplex " params1 ":")
  3254. Loop, Parse, success, ~
  3255. {
  3256. AddChatMessage(0xFFFFFF,A_LoopField)
  3257. }
  3258. }
  3259. }
  3260. }
  3261.  
  3262. Flugschein:
  3263. IfWinNotActive, GTA:SA:MP
  3264. return
  3265. GetChatLine(0, Chat1)
  3266. If(InStr(Chat1, "Du hast ") && InStr(Chat1, " seinen ") && InStr(Chat1, "Flugschein weggenommen."))
  3267. {
  3268. RegExMatch(Chat1, "Du hast (.*) seinen Flugschein weggenommen.", Name)
  3269. IniRead, Flugschein, Statistik.ini, Scheine, Flugschein
  3270. Flugschein++
  3271. IniWrite, %Flugschein%, Statistik.ini, Scheine, Flugschein
  3272. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FF0000} " . Flugschein . " {FFFFFF} Flugscheine getakt.")
  3273. }
  3274. return
  3275.  
  3276.  
  3277. Bootschein:
  3278. IfWinNotActive, GTA:SA:MP
  3279. return
  3280. GetChatLine(0, Chat1)
  3281. If(InStr(Chat1, "Du hast ") && InStr(Chat1, " seinen ") && InStr(Chat1, "Bootschein weggenommen."))
  3282. {
  3283. RegExMatch(Chat1, "Du hast (.*) seinen Bootschein weggenommen.", Name)
  3284. IniRead, Bootschein, Statistik.ini, Scheine, Bootschein
  3285. Bootschein++
  3286. IniWrite, %Bootschein%, Statistik.ini, Scheine, Bootschein
  3287. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] Du hast bereits {FF0000} " . Bootschein . "{FFFFFF} Bootscheine getakt.")
  3288. }
  3289. return
  3290.  
  3291.  
  3292. Waffenschein:
  3293. IfWinNotActive, GTA:SA:MP
  3294. return
  3295. GetChatLine(0, Chat1)
  3296. If(InStr(Chat1, "Du hast ") && InStr(Chat1, " seinen ") && InStr(Chat1, "Waffenschein weggenommen."))
  3297. {
  3298. RegExMatch(Chat1, "Du hast (.*) seinen Waffenschein weggenommen.", Name)
  3299. IniRead, Waffenschein, Statistik.ini, Scheine, Waffenschein
  3300. IniRead, W_Schaden, Statistik.ini, Scheine, W_Schaden
  3301. Waffenschein++
  3302. W_Schaden+=36000
  3303. IniWrite, %Waffenschein%, Statistik.ini, Scheine, Waffenschein
  3304. IniWrite, %W_Schaden%, Statistik.ini, Scheine, W_Schaden
  3305. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" . Waffenschein . " {FFFFFF} Waffenscheine getakt.")
  3306. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Geldsumme beläuft sich auf {FFBF00}" W_Schaden "{FFFFFF}$.")
  3307. }
  3308. return
  3309.  
  3310. if(TankZoll == 1)
  3311. {
  3312. goto, TankstelleZoll
  3313. }
  3314. return
  3315.  
  3316. if(TankZoll == 1)
  3317. {
  3318. goto, TankstelleZoll
  3319. }
  3320. return
  3321.  
  3322. TankstelleZoll:
  3323. if(Freigabe == 1)
  3324. {
  3325. if(IsPlayerInAnyVehicle() && IsPlayerDriver())
  3326. {
  3327. if(IsPlayerInRangeOfPoint_fast(614.7936,1689.5481,6.5567, 10) || IsPlayerInRangeOfPoint_fast(-1328.5437,2677.2109,49.6285, 10) || IsPlayerInRangeOfPoint_fast(1595.7455,2198.9319,10.3875, 10) || IsPlayerInRangeOfPoint_fast(2202.3479,2473.9041,10.3849, 10) || IsPlayerInRangeOfPoint_fast(2113.8887,920.1363,10.3840, 10) || IsPlayerInRangeOfPoint_fast(-2408.7478,975.8612,44.8655, 10) || IsPlayerInRangeOfPoint_fast(-2029.3025,156.4132,28.4108, 10) || IsPlayerInRangeOfPoint_fast(-1676.3165,414.2832,6.7490, 10) || IsPlayerInRangeOfPoint_fast(1004.1802,-939.2733,41.7504, 10) || IsPlayerInRangeOfPoint_fast(1944.1013,-1772.9907,12.9622, 10) || IsPlayerInRangeOfPoint_fast(-90.6283,-1169.5378,1.9707, 10) || IsPlayerInRangeOfPoint_fast(-1605.3982,-2714.4424,48.5335, 10) || IsPlayerInRangeOfPoint_fast(-2243.8896,-2560.5569,31.9219, 10) || IsPlayerInRangeOfPoint_fast(1380.9418,457.1429,19.4861, 10) || IsPlayerInRangeOfPoint_fast(70.4341,1218.6842,18.3743, 10) || IsPlayerInRangeOfPoint_fast(1555.4310,-1605.5901,13.1827, 10))
  3328. {
  3329. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du kannst jetzt dein Fahrzeug betanken. Drück '{FFBF00}X{FFFFFF}' zum bestätigen.")
  3330. KeyWait, X, D, T10
  3331. if !Errorlevel
  3332. {
  3333. Freigabe := 0
  3334. if(IsVehicleEngineEnabled() == 1)
  3335. {
  3336. SendChat("/motor")
  3337. }
  3338. SendChat("/fill")
  3339. Sleep, 10000
  3340. SendChat("/motor")
  3341. Sleep, 2600
  3342. SendChat("/licht")
  3343. SetTimer, Zähler, 5000
  3344. Var := 0
  3345. }
  3346. else
  3347. {
  3348. Freigabe := 1
  3349. }
  3350. }
  3351. else if(IsPlayerInRangeOfPoint_fast(1733.4684,546.3726,26.2758, 10) || IsPlayerInRangeOfPoint_fast(1741.1063,543.4731,26.3013, 10) || IsPlayerInRangeOfPoint_fast(1744.0303,523.6337,27.3567, 10) || IsPlayerInRangeOfPoint_fast(1752.7092,521.6908,27.3102, 10) || IsPlayerInRangeOfPoint_fast(512.5435,476.6207,18.4921, 10) || IsPlayerInRangeOfPoint_fast(529.2228,467.2050,18.5020, 10) || IsPlayerInRangeOfPoint_fast(-159.7899,414.1762,11.6441, 10) || IsPlayerInRangeOfPoint_fast(-157.4410,392.2368,11.6423, 10) || IsPlayerInRangeOfPoint_fast(-1408.2322,824.1868,46.9611, 10) || IsPlayerInRangeOfPoint_fast(-1414.7716,803.5920,46.8070, 10) || IsPlayerInRangeOfPoint_fast(-2695.0493,1284.6304,54.9936, 10) || IsPlayerInRangeOfPoint_fast(-2686.3394,1284.2363,54.9928, 10) || IsPlayerInRangeOfPoint_fast(-2676.6162,1265.3683,54.9934, 10) || IsPlayerInRangeOfPoint_fast(-2668.1848,1264.9076,54.9993, 10) || IsPlayerInRangeOfPoint_fast(-963.0773,-343.0494,35.6944, 10) || IsPlayerInRangeOfPoint_fast(-967.9983,-322.3340,35.9383, 10) || IsPlayerInRangeOfPoint_fast(-71.7615,-892.4689,15.3092, 10) || IsPlayerInRangeOfPoint_fast(-68.7422,-867.9615,14.0653, 10) || IsPlayerInRangeOfPoint_fast(100.1979,-1284.3651,13.6976, 10) || IsPlayerInRangeOfPoint_fast(94.4024,-1277.8165,13.6380, 10) || IsPlayerInRangeOfPoint_fast(97.1871,-1254.1139,14.2317, 10) || IsPlayerInRangeOfPoint_fast(94.6934,-1245.5920,14.2429, 10) || IsPlayerInRangeOfPoint_fast(42.7052,-1537.9767,4.7632, 10) || IsPlayerInRangeOfPoint_fast(58.0220,-1524.9335,4.5461, 10))
  3352. {
  3353. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Möchtest du den Zoll jetzt öffnen? Zum öffnen '{FFBF00}X{FFFFFF}' drücken.")
  3354. KeyWait, X, D, T10
  3355. if !ErrorLevel
  3356. {
  3357. Freigabe := 0
  3358. Sleep, 100
  3359. SendChat("/zoll")
  3360. SetTimer, Zähler, 5000
  3361. Var := 0
  3362.  
  3363. Sleep, 200
  3364. GetChatLine(0, chat)
  3365. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  3366. {
  3367. Sleep, 800
  3368. SendChat("/zoll")
  3369. }
  3370. }
  3371. }
  3372. }
  3373. }
  3374. return
  3375.  
  3376. Zähler:
  3377. var++
  3378. if(var = 4 || var > 4)
  3379. {
  3380. SetTimer, Zähler, off
  3381. Freigabe := 1
  3382. }
  3383. return
  3384.  
  3385.  
  3386.  
  3387. Partner:
  3388. countdown--
  3389. if(countdown == 0)
  3390. {
  3391. SetTimer, Partner, off
  3392. }
  3393. else
  3394. {
  3395. FormatTime, Monat,,MM
  3396. GetChatLine(0, ChatLine0)
  3397. GetChatLine(1, ChatLine1)
  3398. GetPlayerName(name)
  3399. if(InStr(ChatLine1, " " . name . " hat den Verdächtigen ") && InStr(ChatLine1, "eingesperrt."))
  3400. {
  3401. RegExMatch(ChatLine1, "" . Name . " hat den Verdächtigen (.*) eingesperrt.", Opfer)
  3402. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  3403. SetTimer, #Partner, off
  3404. RegExMatch(ChatLine0, "Haftzeit: (.*) Minuten, Geldstrafe: 0\$.", zeit)
  3405.  
  3406.  
  3407. if(zeit1 > 104)
  3408. {
  3409. Wanted = 104
  3410. }
  3411. else
  3412. {
  3413. Wanted = %zeit1%
  3414. }
  3415. Wanted /= 4
  3416. Wanted *= 750
  3417. Geld = %Wanted%
  3418. Geld *= %Steuersatz%
  3419. Geld := Floor(Geld)
  3420.  
  3421.  
  3422. if(Partner1 > -1 && Partner2 > -1 && Partner3 > -1)
  3423. {
  3424. Geld /= 4
  3425. Geld := Floor(Geld)
  3426. SendChat("/pay " . Partner1 . " " . Geld . "")
  3427. Sleep, 500
  3428. SendChat("/pay " . Partner2 . " " . Geld . "")
  3429. Sleep, 500
  3430. SendChat("/pay " . Partner3 . " " . Geld . "")
  3431. }
  3432. else if(Partner1 > -1 && Partner2 > -1 && Partner3 == -1)
  3433. {
  3434. Geld /= 3
  3435. Geld := Floor(Geld)
  3436. SendChat("/pay " . Partner1 . " " . Geld . "")
  3437. SendChat("/pay " . Partner2 . " " . Geld . "")
  3438. }
  3439. else if(Partner1 > -1 && Partner2 == -1 && Partner3 > -1)
  3440. {
  3441. Geld /= 3
  3442. Geld := Floor(Geld)
  3443. SendChat("/pay " . Partner1 . " " . Geld . "")
  3444. SendChat("/pay " . Partner3 . " " . Geld . "")
  3445. }
  3446. else if(Partner1 > -1 && Partner2 == -1 && Partner3 == -1)
  3447. {
  3448. Geld /= 2
  3449. Geld := Floor(Geld)
  3450. SendChat("/pay " . Partner1 . " " . Geld . "")
  3451. }
  3452. else if(Partner1 == -1 && Partner2 > -1 && Partner3 > -1)
  3453. {
  3454. Geld /= 3
  3455. Geld := Floor(Geld)
  3456. SendChat("/pay " . Partner2 . " " . Geld . "")
  3457. SendChat("/pay " . Partner3 . " " . Geld . "")
  3458. }
  3459. else if(Partner1 == -1 && Partner2 > -1 && Partner3 == -1)
  3460. {
  3461. Geld /= 2
  3462. Geld := Floor(Geld)
  3463. SendChat("/pay " . Partner2 . " " . Geld . "")
  3464. }
  3465. else if(Partner1 == -1 && Partner2 == -1 && Partner3 > -1)
  3466. {
  3467. Geld /= 2
  3468. Geld := Floor(Geld)
  3469. SendChat("/pay " . Partner3 . " " . Geld . "")
  3470. }
  3471.  
  3472. Sleep, 200
  3473. IniRead, Arrest, Statistik.ini, Arrests, Arrest
  3474. IniRead, Arrests, Statistik.ini, %A_MM%, Arrests
  3475. Arrest++
  3476. Arrests++
  3477. IniWrite, %Arrest%, Statistik.ini, Arrests, Arrest
  3478. IniWrite, %Arrests%, Statistik.ini, %A_MM%, Monat
  3479. IniRead, Money, Statistik.ini, Arrests, Money
  3480. Money += Geld
  3481. IniWrite, %Money%, Statistik.ini, Arrests, Money
  3482. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Gesamt eingesperrte Verbrecher: {FFBF00}" Arrest "{FFFFFF}.")
  3483. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Durch Festnahmen erworbener gesamt Lohn: {FFBF00}" Money "{FFFFFF}.")
  3484. SendChat("/f " Opfer1 "'s Akte wurde zurückgesetzt. Der Spieler wurde arrest, Verhaftung Nr. " Arrest ".")
  3485.  
  3486.  
  3487. sleep, 250
  3488. }
  3489. Sleep 200
  3490. SetTimer, Partner, off
  3491. }
  3492. return
  3493.  
  3494. :?:/test::
  3495. Suspend Permit
  3496. AddChatMessage(0x00BFFF, "[HQ]: Special Agent II " Name " hat den Verdächtigen Jack_Dublin eingeperrt.")
  3497. AddChatMessage(0x00BFFF, "[HQ]: Haftzeit: 8 Minuten, Geldstrafe: 0$.")
  3498. return
  3499.  
  3500.  
  3501. CheckHealth:
  3502. HP := GetPlayerHealth()
  3503. if(HP > 30)
  3504. {
  3505. LowHPsoundan := 0
  3506. SetTimer, CheckHealth, off
  3507. SoundPlay, avixa.avi
  3508. }
  3509. return
  3510.  
  3511. ;~ ----------------- SAPD Codes by Alva ---------------------
  3512.  
  3513. ; Code-System für das SAPD, entwickelt von tonyalva (rpg-city.de).
  3514.  
  3515.  
  3516.  
  3517. RestartCodes()
  3518. {
  3519. global
  3520. Loop, %MAX_CODES%
  3521. {
  3522. if(CodeVars_Code%A_Index% != "-1")
  3523. {
  3524. CodeVars_Code%A_Index% := "-1"
  3525. CodeVars_Text%A_Index% := "Empty"
  3526. CodeVars_Write%A_Index% := 0
  3527. }
  3528. }
  3529. InitializeCodes()
  3530. }
  3531. return
  3532.  
  3533. GetTextByCode(Code)
  3534. {
  3535. global
  3536. found := 0
  3537. Loop, %MAX_CODES%
  3538. {
  3539. if(CodeVars_Code%A_Index% == Code) {
  3540. found := 1
  3541. a := "(" . CodeVars_Code%A_Index% . ") " . CodeVars_Text%A_Index% . ""
  3542. ;~ a := "" . CodeVars_Text%A_Index% . ""
  3543. return a
  3544. }
  3545. }
  3546. if(found == 0)
  3547. return -1
  3548. }
  3549.  
  3550. GetTextByCodeWithoutCode(Code)
  3551. {
  3552. global
  3553. found := 0
  3554. Loop, %MAX_CODES%
  3555. {
  3556. if(CodeVars_Code%A_Index% == Code) {
  3557. found := 1
  3558. a := "" . CodeVars_Text%A_Index% . ""
  3559. return a
  3560. }
  3561. }
  3562. if(found == 0)
  3563. return -1
  3564. }
  3565.  
  3566. GetWriteByCode(Code)
  3567. {
  3568. global
  3569. found := 0
  3570. Loop, %MAX_CODES%
  3571. {
  3572. if(CodeVars_Code%A_Index% == Code)
  3573. {
  3574. found := 1
  3575. return CodeVars_Write%A_Index%
  3576. }
  3577. }
  3578. if(found == 0)
  3579. return -1
  3580. }
  3581.  
  3582.  
  3583. GetNextCodeID()
  3584. {
  3585. global
  3586. found := 0
  3587. Loop, %MAX_CODES%
  3588. {
  3589. if(CodeVars_Text%A_Index% == "Empty")
  3590. {
  3591. found := 1
  3592. return A_Index
  3593. }
  3594. }
  3595. if(found == 0)
  3596. return -1
  3597. }
  3598.  
  3599. CreateDialogByCodes()
  3600. {
  3601. global
  3602. string := ""
  3603. Loop, %MAX_CODES%
  3604. {
  3605. if(CodeVars_Code%A_Index% != "-1")
  3606. {
  3607. string .= "Code: " . CodeVars_Code%A_Index% . " - " . CodeVars_Text%A_Index% . "`n"
  3608. }
  3609. }
  3610. return string
  3611. }
  3612.  
  3613. AddCode(Write, Code, Text)
  3614. {
  3615. global
  3616. cID := GetNextCodeID()
  3617. if(cID == -1)
  3618. {
  3619. cID := 0
  3620. }
  3621. CodeVars_Code%cID% := Code
  3622. CodeVars_Text%cID% := Text
  3623. CodeVars_Write%cID% := Write
  3624. }
  3625. return
  3626.  
  3627. InitializeCodes()
  3628. {
  3629. global
  3630. GetZoneName(zone)
  3631. GetCityName(city)
  3632. AddCode(1,"10-90", "Alle Einheiten, neu positionieren in:")
  3633. AddCode(0,"10-4-1", "Einheit " . PoliceID . ": Verstanden und bestätigt")
  3634. AddCode(0,"10-4-2", "Einheit " . PoliceID . ": übernimmt den Auftrag")
  3635. AddCode(0,"10-4-3", "Einheit " . PoliceID . ": hat den Auftrag ausgeführt")
  3636. AddCode(0,"10-5", "Einheit " . PoliceID . ": Wiederhole die letzte Durchsage")
  3637. AddCode(0,"10-6", "Einheit " . PoliceID . ": Ignoriert die letzte Durchsage")
  3638. AddCode(0,"10-8", "Einheit " . PoliceID . " ist zurzeit beschäftigt")
  3639. AddCode(0,"10-14-1", "Einheit " . PoliceID . " erbittet Abholung in " . zone . ", " . city . "")
  3640. AddCode(0,"10-14-2", "Einheit " . PoliceID . " benötigt keine Abholung mehr")
  3641. AddCode(0,"10-15", "Einheit " . PoliceID . ": Verdächtige Person wird verhaftet")
  3642. AddCode(0,"10-18", "Einheit " . PoliceID . ": Wird Verstärkung weiterhin benötigt?")
  3643. AddCode(0,"10-20", "Einheit " . PoliceID . " befindet sich in " . zone . ", " . city . "")
  3644. AddCode(1,"10-21", "Einheit " . PoliceID . ": Mein Status ist")
  3645. AddCode(0,"10-40", "Einheit " . PoliceID . ": Viele Person in " . zone . ", " . city . "")
  3646. AddCode(0,"10-40", "Einheit " . PoliceID . ": Verdacht auf illegale Aktivitäten")
  3647. AddCode(0,"10-46", "Einheit " . PoliceID . " befindet sich in einer Durchsuchung")
  3648. AddCode(0,"10-50", "Einheit " . PoliceID . " befindet sich außerhalb des Fahrzeuges für Untersuchungen")
  3649. AddCode(0,"10-55", "Einheit " . PoliceID . " befindet sich in einer Kontrolle")
  3650. AddCode(0,"10-57", "Einheit " . PoliceID . " befindet sich außerhalb des Fahrzeuges für Untersuchungen")
  3651. AddCode(0,"10-57-1", "Einheit " . PoliceID . " verfolgt flüchtiges Fahrzeug")
  3652. AddCode(0,"10-57-2", "Einheit " . PoliceID . " verfolgt flüchtigen Straftäter")
  3653. AddCode(1,"10-60", "Einheit " . PoliceID . ": Das gesuchte Fahrzeug ist")
  3654. AddCode(1,"10-61", "Einheit " . PoliceID . ": Der gesuchte Täter ist")
  3655. AddCode(0,"10-70-1", "Einheit " . PoliceID . " benötigt Verstärkung")
  3656. AddCode(0,"10-70-2", "Einheit " . PoliceID . " benötigt Verstärkung")
  3657. AddCode(0,"10-70-3", "Einheit " . PoliceID . " benötigt Verstärkung")
  3658. AddCode(0,"10-71", "Einheit " . PoliceID . " benötigt einen Sanitäter")
  3659. AddCode(0,"10-98", "Einheit " . PoliceID . " benötigt keine Verstärkung mehr")
  3660. AddCode(0,"10-99", "Einheit " . PoliceID . ": Situation geklärt")
  3661. }
  3662. return
  3663.  
  3664. :?:/codes::
  3665. Suspend Permit
  3666. SendInput ^a{delete}{enter}
  3667. RestartCodes()
  3668. sleep 100
  3669. a := CreateDialogByCodes()
  3670. ShowDialog(0, "HQ-Codes:", a, "Schließen")
  3671. return
  3672.  
  3673.  
  3674.  
  3675. :?:/cr::
  3676. Suspend Permit
  3677. RestartCodes()
  3678. SendInput Status:{space}
  3679. Input,CodeID,V I M,{enter}{escape}{space}
  3680. if(errorlevel == "EndKey:Escape")
  3681. return
  3682. SendInput ^a{delete}{enter}
  3683. Send {enter}
  3684. Sleep, 100
  3685. write := GetWriteByCode(CodeID)
  3686. text := GetTextByCode(CodeID)
  3687. if(text == -1)
  3688. {
  3689. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der angegebene Code {FF0000}" . CodeID . "{FFFFFF} wurde nicht gefunden.")
  3690. return
  3691. }
  3692. if(write == 1)
  3693. {
  3694. SendInput t/r %text%{space}
  3695. }
  3696. else
  3697. {
  3698. SendChat("/r " . text . "")
  3699. }
  3700. return
  3701.  
  3702.  
  3703.  
  3704. :?:/cd::
  3705. Suspend Permit
  3706. RestartCodes()
  3707. SendInput Status:{space}
  3708. Input,CodeID,V I M,{enter}{escape}{space}
  3709. if(errorlevel == "EndKey:Escape")
  3710. return
  3711. SendInput ^a{delete}{enter}
  3712. Send {enter}
  3713. Sleep, 100
  3714. write := GetWriteByCode(CodeID)
  3715. text := GetTextByCode(CodeID)
  3716. if(text == -1)
  3717. {
  3718. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der angegebene Code {FF0000}" . CodeID . "{FFFFFF} wurde nicht gefunden.")
  3719. return
  3720. }
  3721. if(write == 1)
  3722. {
  3723. SendInput t/d %text%{space}
  3724. }
  3725. else
  3726. {
  3727. SendChat("/d " . text . "")
  3728. }
  3729. return
  3730.  
  3731.  
  3732. :?:/ch::
  3733. Suspend Permit
  3734. RestartCodes()
  3735. SendInput Status:{space}
  3736. Input,CodeID,V I M,{enter}{escape}{space}
  3737. if(errorlevel == "EndKey:Escape")
  3738. return
  3739. SendInput ^a{delete}{enter}
  3740. Send {enter}
  3741. Sleep, 100
  3742. write := GetWriteByCode(CodeID)
  3743. text := GetTextByCode(CodeID)
  3744. if(text == -1)
  3745. {
  3746. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der angegebene Code {FF0000}" . CodeID . "{FFFFFF} wurde nicht gefunden.")
  3747. return
  3748. }
  3749. if(write == 1)
  3750. {
  3751. SendInput t/hq %text%{space}
  3752. }
  3753. else
  3754. {
  3755. SendChat("/hq " . text . "")
  3756. }
  3757. return
  3758.  
  3759. :?:/sani::
  3760. Suspend Permit
  3761. SendInput ^a{delete}{enter}
  3762.  
  3763. if(PoliceID != "X")
  3764. {
  3765. RestartCodes()
  3766. text := GetTextByCodeWithoutCode("10-71")
  3767. if(text != "-1")
  3768. {
  3769. SendChat("/hq " . text . "")
  3770. }
  3771. }
  3772. else
  3773. {
  3774. SendChat("/d Ich benötige DRINGEND einen Sanitäter.")
  3775. }
  3776. SendChat("/service")
  3777. Sleep, 250
  3778. SendInput {Enter}
  3779. return
  3780.  
  3781.  
  3782.  
  3783. ErmittelPartnerZahl()
  3784. {
  3785. global
  3786. AnzahlPartner := 0
  3787. if(Partner1 > -1)
  3788. {
  3789. AnzahlPartner++
  3790. }
  3791. if(Partner2 > -1)
  3792. {
  3793. AnzahlPartner++
  3794. }
  3795. if(Partner3 > -1)
  3796. {
  3797. AnzahlPartner++
  3798. }
  3799. return AnzahlPartner
  3800. }
  3801.  
  3802.  
  3803. :?:/streife::
  3804. Suspend Permit
  3805. if(streife == 0)
  3806. {
  3807. Einheit := PlayerInput("Deine Einheit: ")
  3808. if(Einheit == "" || Einheit == " ")
  3809. {
  3810. return
  3811. }
  3812. else if(Einheit != "JOHN" && Einheit != "TOM" && Einheit != "HENRY" && Einheit != "ROBERT" && Einheit != "OMEGA" && Einheit != "DELTA" && != "GEORGE" && Einheit != "ALPHA")
  3813. {
  3814. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Bitte verwende eine gültige Einheit (ALPHA, OMEGA, DELTA, JOHN, TOM, HENRY, ROBERT oder GEORGE).")
  3815. return
  3816. }
  3817. StringUpper, Einheit, Einheit
  3818. Streifennummer := PlayerInput("Deine Streifennummer: ")
  3819. if(Streifennummer == "" || Streifennummer == " ")
  3820. {
  3821. return
  3822. }
  3823. AnzahlPartner := ErmittelPartnerZahl()
  3824. AnzahlPersonen := 1 + AnzahlPartner
  3825.  
  3826. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  3827. SendChat("/f Einheit " . PoliceID . ": Start of Watch")
  3828. streife := 1
  3829. }
  3830. else
  3831. {
  3832. SendChat("/f Einheit " . PoliceID . ": End of Watch")
  3833. streife := 0
  3834. PoliceID := "X"
  3835. Einheit := ""
  3836. Streifennummer := ""
  3837. }
  3838. return
  3839.  
  3840. :?:/setEinheit::
  3841. Suspend Permit
  3842. if(streife == 0)
  3843. {
  3844. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Starte vorher bitte eine Streife mit {FF0000}/streife{FFFFFF}.")
  3845. return
  3846. }
  3847. Einheit := PlayerInput("Wähle deine neue Einheit aus: ")
  3848. if(Einheit == "" || Einheit == " ")
  3849. {
  3850. return
  3851. }
  3852. else if(Einheit != "JOHN" && Einheit != "TOM" && Einheit != "HENRY" && Einheit != "ROBERT" && Einheit != "OMEGA" && != "DELTA" && != "GEORGE" && Einheit != "ALPHA")
  3853. {
  3854. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Bitte verwende eine gültige Einheit (ALPHA, OMEGA, DELTA, JOHN, TOM, HENRY, ROBERT oder GEORGE).")
  3855. return
  3856. }
  3857. StringUpper, Einheit, Einheit
  3858. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  3859. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Neue Streifenkennung: {FF0000}" PoliceID "")
  3860. return
  3861.  
  3862. :?:/setNummer::
  3863. Suspend Permit
  3864. if(streife == 0)
  3865. {
  3866. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Starte vorher bitte eine Streife mit {FF0000}/streife{FFFFFF}.")
  3867. return
  3868. }
  3869. Streifennummer := PlayerInput("Deine Streifennummer: ")
  3870. if(Streifennummer == "" || Streifennummer == " ")
  3871. {
  3872. return
  3873. }
  3874. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  3875. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Neue Streifenkennung: {FF0000}" PoliceID "")
  3876. return
  3877.  
  3878. :?:/setPersonen::
  3879. Suspend Permit
  3880. if(streife == 0)
  3881. {
  3882. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Starte vorher bitte eine Streife mit {FF0000}/streife{FFFFFF}.")
  3883. return
  3884. }
  3885. AnzahlPersonen := PlayerInput("Anzahl deiner Partner: ")
  3886. if(AnzahlPersonen == "" || AnzahlPersonen == " ")
  3887. {
  3888. return
  3889. }
  3890. AnzahlPersonen++
  3891. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  3892. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Neue Streifenkennung: {FF0000}" PoliceID "")
  3893. return
  3894.  
  3895. :?:/kennung::
  3896. Suspend Permit
  3897. if(Streife == 0)
  3898. {
  3899. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast noch keine Streife gestartet.")
  3900. }
  3901. else
  3902. {
  3903. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Deine aktuelle Streifenkennung lautet: {FF0000}" PoliceID "")
  3904. }
  3905. return
  3906.  
  3907.  
  3908.  
  3909. WheelRight::
  3910. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3911. {
  3912. return
  3913. }
  3914. if(wBind1 != "" || wBind1 != """" || wBind1 != "ERROR")
  3915. {
  3916. FormatTime, Zeit,,HH:mm
  3917. FormatTime, Datum,,dd.MM.yyyy
  3918. ;~ GetPlayerName(MyName)
  3919. ;~ HP := GetPlayerHealth()
  3920. Car := GetVehicleHealth()
  3921. StringReplace, wBind1, wBind1, <name>, %Name%, All
  3922. StringReplace, wBind1, wBind1, <hp>, %HP%, All
  3923. StringReplace, wBind1, wBind1, <car>, %Car%, All
  3924. StringReplace, wBind1, wBind1, <time>, %Zeit%, All
  3925. StringReplace, wBind1, wBind1, <date>, %Datum%, All
  3926. StringReplace, wBind1, wBind1, <einheit>, "Einheit: " . PoliceID . "", All
  3927. GetZoneName(Zone)
  3928. GetCityName(City)
  3929. Position := "" Zone ", " City
  3930. StringReplace, wBind1, wBind1, <pos>, %Position%, All
  3931.  
  3932. wBind1_1 := ""
  3933. wBind1_2 := ""
  3934. wBind1_3 := ""
  3935. StringSplit, wBind1_, wBind1, #
  3936. if(wBind1_1 != "")
  3937. {
  3938. SendChat("" wBind1_1 "")
  3939. Sleep, 100
  3940. }
  3941. if(wBind1_2 != "")
  3942. {
  3943. SendChat("" wBind1_2 "")
  3944. Sleep, 100
  3945. }
  3946. if(wBind1_3 != "")
  3947. {
  3948. SendChat("" wBind1_3 "")
  3949. }
  3950. }
  3951. return
  3952.  
  3953. WheelLeft::
  3954. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3955. {
  3956. return
  3957. }
  3958. if(wBind2 != "" || wBind2 != """" || wBind2 != "ERROR")
  3959. {
  3960. FormatTime, Zeit,,HH:mm
  3961. FormatTime, Datum,,dd.MM.yyyy
  3962. ;~ GetPlayerName(MyName)
  3963. ;~ HP := GetPlayerHealth()
  3964. Car := GetVehicleHealth()
  3965. StringReplace, wBind2, wBind2, <name>, %Name%, All
  3966. StringReplace, wBind2, wBind2, <hp>, %HP%, All
  3967. StringReplace, wBind2, wBind2, <car>, %Car%, All
  3968. StringReplace, wBind2, wBind2, <time>, %Zeit%, All
  3969. StringReplace, wBind2, wBind2, <date>, %Datum%, All
  3970. StringReplace, wBind2, wBind2, <einheit>, "Einheit: " . PoliceID . "", All
  3971. GetZoneName(Zone)
  3972. GetCityName(City)
  3973. Position := "" Zone ", " City
  3974. StringReplace, wBind2, wBind2, <pos>, %Position%, All
  3975.  
  3976. wBind2_1 := ""
  3977. wBind2_2 := ""
  3978. wBind2_3 := ""
  3979. StringSplit, wBind2_, wBind2, #
  3980. if(wBind2_1 != "")
  3981. {
  3982. SendChat("" wBind2_1 "")
  3983. Sleep, 100
  3984. }
  3985. if(wBind2_2 != "")
  3986. {
  3987. SendChat("" wBind2_2 "")
  3988. Sleep, 100
  3989. }
  3990. if(wBind2_3 != "")
  3991. {
  3992. SendChat("" wBind2_3 "")
  3993. }
  3994. }
  3995. return
  3996.  
  3997. XButton1::
  3998. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  3999. {
  4000. return
  4001. }
  4002. if(xBind1 != "" || xBind1 != """" || xBind1 != "ERROR")
  4003. {
  4004. FormatTime, Zeit,,HH:mm
  4005. FormatTime, Datum,,dd.MM.yyyy
  4006. ;~ GetPlayerName(MyName)
  4007. ;~ HP := GetPlayerHealth()
  4008. Car := GetVehicleHealth()
  4009. StringReplace, xBind1, xBind1, <name>, %Name%, All
  4010. StringReplace, xBind1, xBind1, <hp>, %HP%, All
  4011. StringReplace, xBind1, xBind1, <car>, %Car%, All
  4012. StringReplace, xBind1, xBind1, <time>, %Zeit%, All
  4013. StringReplace, xBind1, xBind1, <date>, %Datum%, All
  4014. StringReplace, xBind1, xBind1, <einheit>, "Einheit: " . PoliceID . "", All
  4015. GetZoneName(Zone)
  4016. GetCityName(City)
  4017. Position := "" Zone ", " City
  4018. StringReplace, xBind1, xBind1, <pos>, %Position%, All
  4019.  
  4020. xBind1_1 := ""
  4021. xBind1_2 := ""
  4022. xBind1_3 := ""
  4023. StringSplit, xBind1_, xBind1, #
  4024. if(xBind1_1 != "")
  4025. {
  4026. SendChat("" xBind1_1 "")
  4027. Sleep, 100
  4028. }
  4029. if(xBind1_2 != "")
  4030. {
  4031. SendChat("" xBind1_2 "")
  4032. Sleep, 100
  4033. }
  4034. if(xBind1_3 != "")
  4035. {
  4036. SendChat("" xBind1_3 "")
  4037. }
  4038. }
  4039. return
  4040.  
  4041. XButton2::
  4042. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4043. {
  4044. return
  4045. }
  4046. if(wBind2 != "" || wBind2 != """" || wBind2 != "ERROR")
  4047. {
  4048. FormatTime, Zeit,,HH:mm
  4049. FormatTime, Datum,,dd.MM.yyyy
  4050. ;~ GetPlayerName(MyName)
  4051. ;~ HP := GetPlayerHealth()
  4052. Car := GetVehicleHealth()
  4053. StringReplace, wBind2, wBind2, <name>, %Name%, All
  4054. StringReplace, wBind2, wBind2, <hp>, %HP%, All
  4055. StringReplace, wBind2, wBind2, <car>, %Car%, All
  4056. StringReplace, wBind2, wBind2, <time>, %Zeit%, All
  4057. StringReplace, wBind2, wBind2, <date>, %Datum%, All
  4058. StringReplace, wBind2, wBind2, <einheit>, "Einheit: " . PoliceID . "", All
  4059. GetZoneName(Zone)
  4060. GetCityName(City)
  4061. Position := "" Zone ", " City
  4062. StringReplace, wBind2, wBind2, <pos>, %Position%, All
  4063.  
  4064. wBind2_1 := ""
  4065. wBind2_2 := ""
  4066. wBind2_3 := ""
  4067. StringSplit, wBind2_, wBind2, #
  4068. if(wBind2_1 != "")
  4069. {
  4070. SendChat("" wBind2_1 "")
  4071. Sleep, 100
  4072. }
  4073. if(wBind2_2 != "")
  4074. {
  4075. SendChat("" wBind2_2 "")
  4076. Sleep, 100
  4077. }
  4078. if(wBind2_3 != "")
  4079. {
  4080. SendChat("" wBind2_3 "")
  4081. }
  4082. }
  4083. return
  4084.  
  4085. Key1:
  4086. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4087. {
  4088. return
  4089. }
  4090. if(Bind1 != "" || Bind1 != """" || Bind1 != "ERROR")
  4091. {
  4092. FormatTime, Zeit,,HH:mm
  4093. FormatTime, Datum,,dd.MM.yyyy
  4094. ;~ GetPlayerName(MyName)
  4095. ;~ HP := GetPlayerHealth()
  4096. Car := GetVehicleHealth()
  4097. StringReplace, Bind1, Bind1, <name>, %Name%, All
  4098. StringReplace, Bind1, Bind1, <hp>, %HP%, All
  4099. StringReplace, Bind1, Bind1, <car>, %Car%, All
  4100. StringReplace, Bind1, Bind1, <time>, %Zeit%, All
  4101. StringReplace, Bind1, Bind1, <date>, %Datum%, All
  4102. StringReplace, Bind1, Bind1, <einheit>, "Einheit: " . PoliceID . "", All
  4103. GetZoneName(Zone)
  4104. GetCityName(City)
  4105. Position := "" Zone ", " City
  4106. StringReplace, Bind1, Bind1, <pos>, %Position%, All
  4107.  
  4108. if(SendenKey1 == 1)
  4109. {
  4110. Bind1_1 := ""
  4111. Bind1_2 := ""
  4112. Bind1_3 := ""
  4113. StringSplit, Bind1_, Bind1, #
  4114. if(Bind1_1 != "")
  4115. {
  4116. SendChat("" Bind1_1 "")
  4117. Sleep, 100
  4118. }
  4119. if(Bind1_2 != "")
  4120. {
  4121. SendChat("" Bind1_2 "")
  4122. Sleep, 100
  4123. }
  4124. if(Bind1_3 != "")
  4125. {
  4126. SendChat("" Bind1_3 "")
  4127. }
  4128. }
  4129. else
  4130. {
  4131. SendInput, t%Bind1%
  4132. }
  4133. }
  4134. return
  4135.  
  4136. Key2:
  4137. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4138. {
  4139. return
  4140. }
  4141. if(Bind2 != "" || Bind2 != """" || Bind2 != "ERROR")
  4142. {
  4143. FormatTime, Zeit,,HH:mm
  4144. FormatTime, Datum,,dd.MM.yyyy
  4145. ;~ GetPlayerName(MyName)
  4146. ;~ HP := GetPlayerHealth()
  4147. Car := GetVehicleHealth()
  4148. StringReplace, Bind2, Bind2, <name>, %Name%, All
  4149. StringReplace, Bind2, Bind2, <hp>, %HP%, All
  4150. StringReplace, Bind2, Bind2, <car>, %Car%, All
  4151. StringReplace, Bind2, Bind2, <time>, %Zeit%, All
  4152. StringReplace, Bind2, Bind2, <date>, %Datum%, All
  4153. StringReplace, Bind2, Bind2, <einheit>, "Einheit: " . PoliceID . "", All
  4154. GetZoneName(Zone)
  4155. GetCityName(City)
  4156. Position := "" Zone ", " City
  4157. StringReplace, Bind2, Bind2, <pos>, %Position%, All
  4158.  
  4159. if(SendenKey2 == 1)
  4160. {
  4161. Bind2_1 := ""
  4162. Bind2_2 := ""
  4163. Bind2_3 := ""
  4164. StringSplit, Bind2_, Bind2, #
  4165. if(Bind2_1 != "")
  4166. {
  4167. SendChat("" Bind2_1 "")
  4168. Sleep, 100
  4169. }
  4170. if(Bind2_2 != "")
  4171. {
  4172. SendChat("" Bind2_2 "")
  4173. Sleep, 100
  4174. }
  4175. if(Bind2_3 != "")
  4176. {
  4177. SendChat("" Bind2_3 "")
  4178. }
  4179. }
  4180. else
  4181. {
  4182. SendInput, t%Bind2%
  4183. }
  4184. }
  4185. return
  4186.  
  4187. Key3:
  4188. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4189. {
  4190. return
  4191. }
  4192. if(Bind3 != "" || Bind3 != """" || Bind3 != "ERROR")
  4193. {
  4194. FormatTime, Zeit,,HH:mm
  4195. FormatTime, Datum,,dd.MM.yyyy
  4196. ;~ GetPlayerName(Name)
  4197. ;~ HP := GetPlayerHealth()
  4198. Car := GetVehicleHealth()
  4199. StringReplace, Bind3, Bind3, <name>, %Name%, All
  4200. StringReplace, Bind3, Bind3, <hp>, %HP%, All
  4201. StringReplace, Bind3, Bind3, <car>, %Car%, All
  4202. StringReplace, Bind3, Bind3, <time>, %Zeit%, All
  4203. StringReplace, Bind3, Bind3, <date>, %Datum%, All
  4204. StringReplace, Bind3, Bind3, <einheit>, "Einheit: " . PoliceID . "", All
  4205. GetZoneName(Zone)
  4206. GetCityName(City)
  4207. Position := "" Zone ", " City
  4208. StringReplace, Bind3, Bind3, <pos>, %Position%, All
  4209.  
  4210. if(SendenKey3 == 1)
  4211. {
  4212. Bind3_1 := ""
  4213. Bind3_2 := ""
  4214. Bind3_3 := ""
  4215. StringSplit, Bind3_, Bind3, #
  4216. if(Bind3_1 != "")
  4217. {
  4218. SendChat("" Bind3_1 "")
  4219. Sleep, 100
  4220. }
  4221. if(Bind3_2 != "")
  4222. {
  4223. SendChat("" Bind3_2 "")
  4224. Sleep, 100
  4225. }
  4226. if(Bind3_3 != "")
  4227. {
  4228. SendChat("" Bind3_3 "")
  4229. }
  4230. }
  4231. else
  4232. {
  4233. SendInput, t%Bind3%
  4234. }
  4235. }
  4236. return
  4237.  
  4238. Key4:
  4239. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4240. {
  4241. return
  4242. }
  4243. if(Bind4 != "" || Bind4 != """" || Bind4 != "ERROR")
  4244. {
  4245. FormatTime, Zeit,,HH:mm
  4246. FormatTime, Datum,,dd.MM.yyyy
  4247. ;~ GetPlayerName(Name)
  4248. ;~ HP := GetPlayerHealth()
  4249. Car := GetVehicleHealth()
  4250. StringReplace, Bind4, Bind4, <name>, %Name%, All
  4251. StringReplace, Bind4, Bind4, <hp>, %HP%, All
  4252. StringReplace, Bind4, Bind4, <car>, %Car%, All
  4253. StringReplace, Bind4, Bind4, <time>, %Zeit%, All
  4254. StringReplace, Bind4, Bind4, <date>, %Datum%, All
  4255. StringReplace, Bind4, Bind4, <einheit>, "Einheit: " . PoliceID . "", All
  4256. GetZoneName(Zone)
  4257. GetCityName(City)
  4258. Position := "" Zone ", " City
  4259. StringReplace, Bind4, Bind4, <pos>, %Position%, All
  4260.  
  4261. if(SendenKey4 == 1)
  4262. {
  4263. Bind4_1 := ""
  4264. Bind4_2 := ""
  4265. Bind4_3 := ""
  4266. StringSplit, Bind4_, Bind4, #
  4267. if(Bind4_1 != "")
  4268. {
  4269. SendChat("" Bind4_1 "")
  4270. Sleep, 100
  4271. }
  4272. if(Bind4_2 != "")
  4273. {
  4274. SendChat("" Bind4_2 "")
  4275. Sleep, 100
  4276. }
  4277. if(Bind4_3 != "")
  4278. {
  4279. SendChat("" Bind4_3 "")
  4280. }
  4281. }
  4282. else
  4283. {
  4284. SendInput, t%Bind4%
  4285. }
  4286. }
  4287. return
  4288.  
  4289. Key5:
  4290. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4291. {
  4292. return
  4293. }
  4294. if(Bind5 != "" || Bind5 != """" || Bind5 != "ERROR")
  4295. {
  4296. FormatTime, Zeit,,HH:mm
  4297. FormatTime, Datum,,dd.MM.yyyy
  4298. ;~ GetPlayerName(Name)
  4299. ;~ HP := GetPlayerHealth()
  4300. Car := GetVehicleHealth()
  4301. StringReplace, Bind5, Bind5, <name>, %Name%, All
  4302. StringReplace, Bind5, Bind5, <hp>, %HP%, All
  4303. StringReplace, Bind5, Bind5, <car>, %Car%, All
  4304. StringReplace, Bind5, Bind5, <time>, %Zeit%, All
  4305. StringReplace, Bind5, Bind5, <date>, %Datum%, All
  4306. StringReplace, Bind5, Bind5, <einheit>, "Einheit: " . PoliceID . "", All
  4307. GetZoneName(Zone)
  4308. GetCityName(City)
  4309. Position := "" Zone ", " City
  4310. StringReplace, Bind5, Bind5, <pos>, %Position%, All
  4311.  
  4312. if(SendenKey5 == 1)
  4313. {
  4314. Bind5_1 := ""
  4315. Bind5_2 := ""
  4316. Bind5_3 := ""
  4317. StringSplit, Bind5_, Bind5, #
  4318. if(Bind5_1 != "")
  4319. {
  4320. SendChat("" Bind5_1 "")
  4321. Sleep, 100
  4322. }
  4323. if(Bind5_2 != "")
  4324. {
  4325. SendChat("" Bind5_2 "")
  4326. Sleep, 100
  4327. }
  4328. if(Bind5_3 != "")
  4329. {
  4330. SendChat("" Bind5_3 "")
  4331. }
  4332. }
  4333. else
  4334. {
  4335. SendInput, t%Bind5%
  4336. }
  4337. }
  4338. return
  4339.  
  4340. Key6:
  4341. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4342. {
  4343. return
  4344. }
  4345. if(Bind6 != "" || Bind6 != """" || Bind6 != "ERROR")
  4346. {
  4347. FormatTime, Zeit,,HH:mm
  4348. FormatTime, Datum,,dd.MM.yyyy
  4349. ;~ GetPlayerName(Name)
  4350. ;~ HP := GetPlayerHealth()
  4351. Car := GetVehicleHealth()
  4352. StringReplace, Bind6, Bind6, <name>, %Name%, All
  4353. StringReplace, Bind6, Bind6, <hp>, %HP%, All
  4354. StringReplace, Bind6, Bind6, <car>, %Car%, All
  4355. StringReplace, Bind6, Bind6, <time>, %Zeit%, All
  4356. StringReplace, Bind6, Bind6, <date>, %Datum%, All
  4357. StringReplace, Bind6, Bind6, <einheit>, "Einheit: " . PoliceID . "", All
  4358. GetZoneName(Zone)
  4359. GetCityName(City)
  4360. Position := "" Zone ", " City
  4361. StringReplace, Bind6, Bind6, <pos>, %Position%, All
  4362.  
  4363. if(SendenKey6 == 1)
  4364. {
  4365. Bind6_1 := ""
  4366. Bind6_2 := ""
  4367. Bind6_3 := ""
  4368. StringSplit, Bind6_, Bind6, #
  4369. if(Bind6_1 != "")
  4370. {
  4371. SendChat("" Bind6_1 "")
  4372. Sleep, 100
  4373. }
  4374. if(Bind6_2 != "")
  4375. {
  4376. SendChat("" Bind6_2 "")
  4377. Sleep, 100
  4378. }
  4379. if(Bind6_3 != "")
  4380. {
  4381. SendChat("" Bind6_3 "")
  4382. }
  4383. }
  4384. else
  4385. {
  4386. SendInput, t%Bind6%
  4387. }
  4388. }
  4389. return
  4390.  
  4391. Key7:
  4392. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4393. {
  4394. return
  4395. }
  4396. if(Bind7 != "" || Bind7 != """" || Bind7 != "ERROR")
  4397. {
  4398. FormatTime, Zeit,,HH:mm
  4399. FormatTime, Datum,,dd.MM.yyyy
  4400. ;~ GetPlayerName(Name)
  4401. ;~ HP := GetPlayerHealth()
  4402. Car := GetVehicleHealth()
  4403. StringReplace, Bind7, Bind7, <name>, %Name%, All
  4404. StringReplace, Bind7, Bind7, <hp>, %HP%, All
  4405. StringReplace, Bind7, Bind7, <car>, %Car%, All
  4406. StringReplace, Bind7, Bind7, <time>, %Zeit%, All
  4407. StringReplace, Bind7, Bind7, <date>, %Datum%, All
  4408. StringReplace, Bind7, Bind7, <einheit>, "Einheit: " . PoliceID . "", All
  4409. GetZoneName(Zone)
  4410. GetCityName(City)
  4411. Position := "" Zone ", " City
  4412. StringReplace, Bind7, Bind7, <pos>, %Position%, All
  4413.  
  4414. if(SendenKey7 == 1)
  4415. {
  4416. Bind7_1 := ""
  4417. Bind7_2 := ""
  4418. Bind7_3 := ""
  4419. StringSplit, Bind7_, Bind7, #
  4420. if(Bind7_1 != "")
  4421. {
  4422. SendChat("" Bind7_1 "")
  4423. Sleep, 100
  4424. }
  4425. if(Bind7_2 != "")
  4426. {
  4427. SendChat("" Bind7_2 "")
  4428. Sleep, 100
  4429. }
  4430. if(Bind7_3 != "")
  4431. {
  4432. SendChat("" Bind7_3 "")
  4433. }
  4434. }
  4435. else
  4436. {
  4437. SendInput, t%Bind7%
  4438. }
  4439. }
  4440. return
  4441.  
  4442. Key8:
  4443. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4444. {
  4445. return
  4446. }
  4447. if(Bind8 != "" || Bind8 != """" || Bind8 != "ERROR")
  4448. {
  4449. FormatTime, Zeit,,HH:mm
  4450. FormatTime, Datum,,dd.MM.yyyy
  4451. ;~ GetPlayerName(Name)
  4452. ;~ HP := GetPlayerHealth()
  4453. Car := GetVehicleHealth()
  4454. StringReplace, Bind8, Bind8, <name>, %Name%, All
  4455. StringReplace, Bind8, Bind8, <hp>, %HP%, All
  4456. StringReplace, Bind8, Bind8, <car>, %Car%, All
  4457. StringReplace, Bind8, Bind8, <time>, %Zeit%, All
  4458. StringReplace, Bind8, Bind8, <date>, %Datum%, All
  4459. StringReplace, Bind8, Bind8, <einheit>, "Einheit: " . PoliceID . "", All
  4460. GetZoneName(Zone)
  4461. GetCityName(City)
  4462. Position := "" Zone ", " City
  4463. StringReplace, Bind8, Bind8, <pos>, %Position%, All
  4464.  
  4465. if(SendenKey8 == 1)
  4466. {
  4467. Bind8_1 := ""
  4468. Bind8_2 := ""
  4469. Bind8_3 := ""
  4470. StringSplit, Bind8_, Bind8, #
  4471. if(Bind8_1 != "")
  4472. {
  4473. SendChat("" Bind8_1 "")
  4474. Sleep, 100
  4475. }
  4476. if(Bind8_2 != "")
  4477. {
  4478. SendChat("" Bind8_2 "")
  4479. Sleep, 100
  4480. }
  4481. if(Bind8_3 != "")
  4482. {
  4483. SendChat("" Bind8_3 "")
  4484. }
  4485. }
  4486. else
  4487. {
  4488. SendInput, t%Bind8%
  4489. }
  4490. }
  4491. return
  4492.  
  4493. Key9:
  4494. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4495. {
  4496. return
  4497. }
  4498. if(Bind9 != "" || Bind9 != """" || Bind9 != "ERROR")
  4499. {
  4500. FormatTime, Zeit,,HH:mm
  4501. FormatTime, Datum,,dd.MM.yyyy
  4502. ;~ GetPlayerName(Name)
  4503. ;~ HP := GetPlayerHealth()
  4504. Car := GetVehicleHealth()
  4505. StringReplace, Bind9, Bind9, <name>, %Name%, All
  4506. StringReplace, Bind9, Bind9, <hp>, %HP%, All
  4507. StringReplace, Bind9, Bind9, <car>, %Car%, All
  4508. StringReplace, Bind9, Bind9, <time>, %Zeit%, All
  4509. StringReplace, Bind9, Bind9, <date>, %Datum%, All
  4510. StringReplace, Bind9, Bind9, <einheit>, "Einheit: " . PoliceID . "", All
  4511. GetZoneName(Zone)
  4512. GetCityName(City)
  4513. Position := "" Zone ", " City
  4514. StringReplace, Bind9, Bind9, <pos>, %Position%, All
  4515.  
  4516. if(SendenKey9 == 1)
  4517. {
  4518. Bind9_1 := ""
  4519. Bind9_2 := ""
  4520. Bind9_3 := ""
  4521. StringSplit, Bind9_, Bind9, #
  4522. if(Bind9_1 != "")
  4523. {
  4524. SendChat("" Bind9_1 "")
  4525. Sleep, 100
  4526. }
  4527. if(Bind9_2 != "")
  4528. {
  4529. SendChat("" Bind9_2 "")
  4530. Sleep, 100
  4531. }
  4532. if(Bind9_3 != "")
  4533. {
  4534. SendChat("" Bind9_3 "")
  4535. }
  4536. }
  4537. else
  4538. {
  4539. SendInput, t%Bind9%
  4540. }
  4541. }
  4542. return
  4543.  
  4544. Key10:
  4545. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4546. {
  4547. return
  4548. }
  4549. if(Bind10 != "" || Bind10 != """" || Bind10 != "ERROR")
  4550. {
  4551. FormatTime, Zeit,,HH:mm
  4552. FormatTime, Datum,,dd.MM.yyyy
  4553. ;~ GetPlayerName(Name)
  4554. ;~ HP := GetPlayerHealth()
  4555. Car := GetVehicleHealth()
  4556. StringReplace, Bind10, Bind10, <name>, %Name%, All
  4557. StringReplace, Bind10, Bind10, <hp>, %HP%, All
  4558. StringReplace, Bind10, Bind10, <car>, %Car%, All
  4559. StringReplace, Bind10, Bind10, <time>, %Zeit%, All
  4560. StringReplace, Bind10, Bind10, <date>, %Datum%, All
  4561. StringReplace, Bind10, Bind10, <einheit>, "Einheit: " . PoliceID . "", All
  4562. GetZoneName(Zone)
  4563. GetCityName(City)
  4564. Position := "" Zone ", " City
  4565. StringReplace, Bind10, Bind10, <pos>, %Position%, All
  4566.  
  4567. if(SendenKey10 == 1)
  4568. {
  4569. Bind10_1 := ""
  4570. Bind10_2 := ""
  4571. Bind10_3 := ""
  4572. StringSplit, Bind10_, Bind10, #
  4573. if(Bind10_1 != "")
  4574. {
  4575. SendChat("" Bind10_1 "")
  4576. Sleep, 100
  4577. }
  4578. if(Bind10_2 != "")
  4579. {
  4580. SendChat("" Bind10_2 "")
  4581. Sleep, 100
  4582. }
  4583. if(Bind10_3 != "")
  4584. {
  4585. SendChat("" Bind10_3 "")
  4586. }
  4587. }
  4588. else
  4589. {
  4590. SendInput, t%Bind10%
  4591. }
  4592. }
  4593. return
  4594.  
  4595. Key11:
  4596. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4597. {
  4598. return
  4599. }
  4600. if(Bind11 != "" || Bind11 != """" || Bind11 != "ERROR")
  4601. {
  4602. FormatTime, Zeit,,HH:mm
  4603. FormatTime, Datum,,dd.MM.yyyy
  4604. ;~ GetPlayerName(Name)
  4605. ;~ HP := GetPlayerHealth()
  4606. Car := GetVehicleHealth()
  4607. StringReplace, Bind11, Bind11, <name>, %Name%, All
  4608. StringReplace, Bind11, Bind11, <hp>, %HP%, All
  4609. StringReplace, Bind11, Bind11, <car>, %Car%, All
  4610. StringReplace, Bind11, Bind11, <time>, %Zeit%, All
  4611. StringReplace, Bind11, Bind11, <date>, %Datum%, All
  4612. StringReplace, Bind11, Bind11, <einheit>, "Einheit: " . PoliceID . "", All
  4613. GetZoneName(Zone)
  4614. GetCityName(City)
  4615. Position := "" Zone ", " City
  4616. StringReplace, Bind11, Bind11, <pos>, %Position%, All
  4617.  
  4618. if(SendenKey11 == 1)
  4619. {
  4620. Bind11_1 := ""
  4621. Bind11_2 := ""
  4622. Bind11_3 := ""
  4623. StringSplit, Bind11_, Bind11, #
  4624. if(Bind11_1 != "")
  4625. {
  4626. SendChat("" Bind11_1 "")
  4627. Sleep, 100
  4628. }
  4629. if(Bind11_2 != "")
  4630. {
  4631. SendChat("" Bind11_2 "")
  4632. Sleep, 100
  4633. }
  4634. if(Bind11_3 != "")
  4635. {
  4636. SendChat("" Bind11_3 "")
  4637. }
  4638. }
  4639. else
  4640. {
  4641. SendInput, t%Bind11%
  4642. }
  4643. }
  4644. return
  4645.  
  4646. Key12:
  4647. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4648. {
  4649. return
  4650. }
  4651. if(Bind12 != "" || Bind12 != """" || Bind12 != "ERROR")
  4652. {
  4653. FormatTime, Zeit,,HH:mm
  4654. FormatTime, Datum,,dd.MM.yyyy
  4655. ;~ GetPlayerName(Name)
  4656. ;~ HP := GetPlayerHealth()
  4657. Car := GetVehicleHealth()
  4658. StringReplace, Bind12, Bind12, <name>, %Name%, All
  4659. StringReplace, Bind12, Bind12, <hp>, %HP%, All
  4660. StringReplace, Bind12, Bind12, <car>, %Car%, All
  4661. StringReplace, Bind12, Bind12, <time>, %Zeit%, All
  4662. StringReplace, Bind12, Bind12, <date>, %Datum%, All
  4663. StringReplace, Bind12, Bind12, <einheit>, "Einheit: " . PoliceID . "", All
  4664. GetZoneName(Zone)
  4665. GetCityName(City)
  4666. Position := "" Zone ", " City
  4667. StringReplace, Bind12, Bind12, <pos>, %Position%, All
  4668.  
  4669. if(SendenKey12 == 1)
  4670. {
  4671. Bind12_1 := ""
  4672. Bind12_2 := ""
  4673. Bind12_3 := ""
  4674. StringSplit, Bind12_, Bind12, #
  4675. if(Bind12_1 != "")
  4676. {
  4677. SendChat("" Bind12_1 "")
  4678. Sleep, 100
  4679. }
  4680. if(Bind12_2 != "")
  4681. {
  4682. SendChat("" Bind12_2 "")
  4683. Sleep, 100
  4684. }
  4685. if(Bind12_3 != "")
  4686. {
  4687. SendChat("" Bind12_3 "")
  4688. }
  4689. }
  4690. else
  4691. {
  4692. SendInput, t%Bind12%
  4693. }
  4694. }
  4695. return
  4696.  
  4697. Key13:
  4698. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4699. {
  4700. return
  4701. }
  4702. if(Bind13 != "" || Bind13 != """" || Bind13 != "ERROR")
  4703. {
  4704. FormatTime, Zeit,,HH:mm
  4705. FormatTime, Datum,,dd.MM.yyyy
  4706. ;~ GetPlayerName(Name)
  4707. ;~ HP := GetPlayerHealth()
  4708. Car := GetVehicleHealth()
  4709. StringReplace, Bind13, Bind13, <name>, %Name%, All
  4710. StringReplace, Bind13, Bind13, <hp>, %HP%, All
  4711. StringReplace, Bind13, Bind13, <car>, %Car%, All
  4712. StringReplace, Bind13, Bind13, <time>, %Zeit%, All
  4713. StringReplace, Bind13, Bind13, <date>, %Datum%, All
  4714. StringReplace, Bind13, Bind13, <einheit>, "Einheit: " . PoliceID . "", All
  4715. GetZoneName(Zone)
  4716. GetCityName(City)
  4717. Position := "" Zone ", " City
  4718. StringReplace, Bind13, Bind13, <pos>, %Position%, All
  4719.  
  4720. if(SendenKey13 == 1)
  4721. {
  4722. Bind13_1 := ""
  4723. Bind13_2 := ""
  4724. Bind13_3 := ""
  4725. StringSplit, Bind13_, Bind13, #
  4726. if(Bind13_1 != "")
  4727. {
  4728. SendChat("" Bind13_1 "")
  4729. Sleep, 100
  4730. }
  4731. if(Bind13_2 != "")
  4732. {
  4733. SendChat("" Bind13_2 "")
  4734. Sleep, 100
  4735. }
  4736. if(Bind13_3 != "")
  4737. {
  4738. SendChat("" Bind13_3 "")
  4739. }
  4740. }
  4741. else
  4742. {
  4743. SendInput, t%Bind13%
  4744. }
  4745. }
  4746. return
  4747.  
  4748. Key14:
  4749. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4750. {
  4751. return
  4752. }
  4753. if(Bind14 != "" || Bind14 != """" || Bind14 != "ERROR")
  4754. {
  4755. FormatTime, Zeit,,HH:mm
  4756. FormatTime, Datum,,dd.MM.yyyy
  4757. ;~ GetPlayerName(Name)
  4758. ;~ HP := GetPlayerHealth()
  4759. Car := GetVehicleHealth()
  4760. StringReplace, Bind14, Bind14, <name>, %Name%, All
  4761. StringReplace, Bind14, Bind14, <hp>, %HP%, All
  4762. StringReplace, Bind14, Bind14, <car>, %Car%, All
  4763. StringReplace, Bind14, Bind14, <time>, %Zeit%, All
  4764. StringReplace, Bind14, Bind14, <date>, %Datum%, All
  4765. StringReplace, Bind14, Bind14, <einheit>, "Einheit: " . PoliceID . "", All
  4766. GetZoneName(Zone)
  4767. GetCityName(City)
  4768. Position := "" Zone ", " City
  4769. StringReplace, Bind14, Bind14, <pos>, %Position%, All
  4770.  
  4771. if(SendenKey14 == 1)
  4772. {
  4773. Bind14_1 := ""
  4774. Bind14_2 := ""
  4775. Bind14_3 := ""
  4776. StringSplit, Bind14_, Bind14, #
  4777. if(Bind14_1 != "")
  4778. {
  4779. SendChat("" Bind14_1 "")
  4780. Sleep, 100
  4781. }
  4782. if(Bind14_2 != "")
  4783. {
  4784. SendChat("" Bind14_2 "")
  4785. Sleep, 100
  4786. }
  4787. if(Bind14_3 != "")
  4788. {
  4789. SendChat("" Bind14_3 "")
  4790. }
  4791. }
  4792. else
  4793. {
  4794. SendInput, t%Bind14%
  4795. }
  4796. }
  4797. return
  4798.  
  4799. Key15:
  4800. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4801. {
  4802. return
  4803. }
  4804. if(Bind15 != "" || Bind15 != """" || Bind15 != "ERROR")
  4805. {
  4806. FormatTime, Zeit,,HH:mm
  4807. FormatTime, Datum,,dd.MM.yyyy
  4808. ;~ GetPlayerName(Name)
  4809. ;~ HP := GetPlayerHealth()
  4810. Car := GetVehicleHealth()
  4811. StringReplace, Bind15, Bind15, <name>, %Name%, All
  4812. StringReplace, Bind15, Bind15, <hp>, %HP%, All
  4813. StringReplace, Bind15, Bind15, <car>, %Car%, All
  4814. StringReplace, Bind15, Bind15, <time>, %Zeit%, All
  4815. StringReplace, Bind15, Bind15, <date>, %Datum%, All
  4816. StringReplace, Bind15, Bind15, <einheit>, "Einheit: " . PoliceID . "", All
  4817. GetZoneName(Zone)
  4818. GetCityName(City)
  4819. Position := "" Zone ", " City
  4820. StringReplace, Bind15, Bind15, <pos>, %Position%, All
  4821.  
  4822. if(SendenKey15 == 1)
  4823. {
  4824. Bind15_1 := ""
  4825. Bind15_2 := ""
  4826. Bind15_3 := ""
  4827. StringSplit, Bind15_, Bind15, #
  4828. if(Bind15_1 != "")
  4829. {
  4830. SendChat("" Bind15_1 "")
  4831. Sleep, 100
  4832. }
  4833. if(Bind15_2 != "")
  4834. {
  4835. SendChat("" Bind15_2 "")
  4836. Sleep, 100
  4837. }
  4838. if(Bind15_3 != "")
  4839. {
  4840. SendChat("" Bind15_3 "")
  4841. }
  4842. }
  4843. else
  4844. {
  4845. SendInput, t%Bind15%
  4846. }
  4847. }
  4848. return
  4849.  
  4850. Key16:
  4851. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4852. {
  4853. return
  4854. }
  4855. if(Bind16 != "" || Bind16 != """" || Bind16 != "ERROR")
  4856. {
  4857. FormatTime, Zeit,,HH:mm
  4858. FormatTime, Datum,,dd.MM.yyyy
  4859. ;~ GetPlayerName(Name)
  4860. ;~ HP := GetPlayerHealth()
  4861. Car := GetVehicleHealth()
  4862. StringReplace, Bind16, Bind16, <name>, %Name%, All
  4863. StringReplace, Bind16, Bind16, <hp>, %HP%, All
  4864. StringReplace, Bind16, Bind16, <car>, %Car%, All
  4865. StringReplace, Bind16, Bind16, <time>, %Zeit%, All
  4866. StringReplace, Bind16, Bind16, <date>, %Datum%, All
  4867. StringReplace, Bind16, Bind16, <einheit>, "Einheit: " . PoliceID . "", All
  4868. GetZoneName(Zone)
  4869. GetCityName(City)
  4870. Position := "" Zone ", " City
  4871. StringReplace, Bind16, Bind16, <pos>, %Position%, All
  4872.  
  4873. if(SendenKey16 == 1)
  4874. {
  4875. Bind16_1 := ""
  4876. Bind16_2 := ""
  4877. Bind16_3 := ""
  4878. StringSplit, Bind16_, Bind16, #
  4879. if(Bind16_1 != "")
  4880. {
  4881. SendChat("" Bind16_1 "")
  4882. Sleep, 100
  4883. }
  4884. if(Bind16_2 != "")
  4885. {
  4886. SendChat("" Bind16_2 "")
  4887. Sleep, 100
  4888. }
  4889. if(Bind16_3 != "")
  4890. {
  4891. SendChat("" Bind16_3 "")
  4892. }
  4893. }
  4894. else
  4895. {
  4896. SendInput, t%Bind16%
  4897. }
  4898. }
  4899. return
  4900.  
  4901. Key17:
  4902. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4903. {
  4904. return
  4905. }
  4906. if(Bind17 != "" || Bind17 != """" || Bind17 != "ERROR")
  4907. {
  4908. FormatTime, Zeit,,HH:mm
  4909. FormatTime, Datum,,dd.MM.yyyy
  4910. ;~ GetPlayerName(Name)
  4911. ;~ HP := GetPlayerHealth()
  4912. Car := GetVehicleHealth()
  4913. StringReplace, Bind17, Bind17, <name>, %Name%, All
  4914. StringReplace, Bind17, Bind17, <hp>, %HP%, All
  4915. StringReplace, Bind17, Bind17, <car>, %Car%, All
  4916. StringReplace, Bind17, Bind17, <time>, %Zeit%, All
  4917. StringReplace, Bind17, Bind17, <date>, %Datum%, All
  4918. StringReplace, Bind17, Bind17, <einheit>, "Einheit: " . PoliceID . "", All
  4919. GetZoneName(Zone)
  4920. GetCityName(City)
  4921. Position := "" Zone ", " City
  4922. StringReplace, Bind17, Bind17, <pos>, %Position%, All
  4923.  
  4924. if(SendenKey17 == 1)
  4925. {
  4926. Bind17_1 := ""
  4927. Bind17_2 := ""
  4928. Bind17_3 := ""
  4929. StringSplit, Bind17_, Bind17, #
  4930. if(Bind17_1 != "")
  4931. {
  4932. SendChat("" Bind17_1 "")
  4933. Sleep, 100
  4934. }
  4935. if(Bind17_2 != "")
  4936. {
  4937. SendChat("" Bind17_2 "")
  4938. Sleep, 100
  4939. }
  4940. if(Bind17_3 != "")
  4941. {
  4942. SendChat("" Bind17_3 "")
  4943. }
  4944. }
  4945. else
  4946. {
  4947. SendInput, t%Bind17%
  4948. }
  4949. }
  4950. return
  4951.  
  4952. Key18:
  4953. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4954. {
  4955. return
  4956. }
  4957. if(Bind18 != "" || Bind18 != """" || Bind18 != "ERROR")
  4958. {
  4959. FormatTime, Zeit,,HH:mm
  4960. FormatTime, Datum,,dd.MM.yyyy
  4961. ;~ GetPlayerName(Name)
  4962. ;~ HP := GetPlayerHealth()
  4963. Car := GetVehicleHealth()
  4964. StringReplace, Bind18, Bind18, <name>, %Name%, All
  4965. StringReplace, Bind18, Bind18, <hp>, %HP%, All
  4966. StringReplace, Bind18, Bind18, <car>, %Car%, All
  4967. StringReplace, Bind18, Bind18, <time>, %Zeit%, All
  4968. StringReplace, Bind18, Bind18, <date>, %Datum%, All
  4969. StringReplace, Bind18, Bind18, <einheit>, "Einheit: " . PoliceID . "", All
  4970. GetZoneName(Zone)
  4971. GetCityName(City)
  4972. Position := "" Zone ", " City
  4973. StringReplace, Bind18, Bind18, <pos>, %Position%, All
  4974.  
  4975. if(SendenKey18 == 1)
  4976. {
  4977. Bind18_1 := ""
  4978. Bind18_2 := ""
  4979. Bind18_3 := ""
  4980. StringSplit, Bind18_, Bind18, #
  4981. if(Bind18_1 != "")
  4982. {
  4983. SendChat("" Bind18_1 "")
  4984. Sleep, 100
  4985. }
  4986. if(Bind18_2 != "")
  4987. {
  4988. SendChat("" Bind18_2 "")
  4989. Sleep, 100
  4990. }
  4991. if(Bind18_3 != "")
  4992. {
  4993. SendChat("" Bind18_3 "")
  4994. }
  4995. }
  4996. else
  4997. {
  4998. SendInput, t%Bind18%
  4999. }
  5000. }
  5001. return
  5002.  
  5003. Key19:
  5004. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5005. {
  5006. return
  5007. }
  5008. if(Bind19 != "" || Bind19 != """" || Bind19 != "ERROR")
  5009. {
  5010. FormatTime, Zeit,,HH:mm
  5011. FormatTime, Datum,,dd.MM.yyyy
  5012. ;~ GetPlayerName(Name)
  5013. ;~ HP := GetPlayerHealth()
  5014. Car := GetVehicleHealth()
  5015. StringReplace, Bind19, Bind19, <name>, %Name%, All
  5016. StringReplace, Bind19, Bind19, <hp>, %HP%, All
  5017. StringReplace, Bind19, Bind19, <car>, %Car%, All
  5018. StringReplace, Bind19, Bind19, <time>, %Zeit%, All
  5019. StringReplace, Bind19, Bind19, <date>, %Datum%, All
  5020. StringReplace, Bind19, Bind19, <einheit>, "Einheit: " . PoliceID . "", All
  5021. GetZoneName(Zone)
  5022. GetCityName(City)
  5023. Position := "" Zone ", " City
  5024. StringReplace, Bind19, Bind19, <pos>, %Position%, All
  5025.  
  5026. if(SendenKey19 == 1)
  5027. {
  5028. Bind19_1 := ""
  5029. Bind19_2 := ""
  5030. Bind19_3 := ""
  5031. StringSplit, Bind19_, Bind19, #
  5032. if(Bind19_1 != "")
  5033. {
  5034. SendChat("" Bind19_1 "")
  5035. Sleep, 100
  5036. }
  5037. if(Bind19_2 != "")
  5038. {
  5039. SendChat("" Bind19_2 "")
  5040. Sleep, 100
  5041. }
  5042. if(Bind19_3 != "")
  5043. {
  5044. SendChat("" Bind19_3 "")
  5045. }
  5046. }
  5047. else
  5048. {
  5049. SendInput, t%Bind19%
  5050. }
  5051. }
  5052. return
  5053.  
  5054. Key20:
  5055. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5056. {
  5057. return
  5058. }
  5059. if(Bind20 != "" || Bind20 != """" || Bind20 != "ERROR")
  5060. {
  5061. FormatTime, Zeit,,HH:mm
  5062. FormatTime, Datum,,dd.MM.yyyy
  5063. ;~ GetPlayerName(Name)
  5064. ;~ HP := GetPlayerHealth()
  5065. Car := GetVehicleHealth()
  5066. StringReplace, Bind20, Bind20, <name>, %Name%, All
  5067. StringReplace, Bind20, Bind20, <hp>, %HP%, All
  5068. StringReplace, Bind20, Bind20, <car>, %Car%, All
  5069. StringReplace, Bind20, Bind20, <time>, %Zeit%, All
  5070. StringReplace, Bind20, Bind20, <date>, %Datum%, All
  5071. StringReplace, Bind20, Bind20, <einheit>, "Einheit: " . PoliceID . "", All
  5072. GetZoneName(Zone)
  5073. GetCityName(City)
  5074. Position := "" Zone ", " City
  5075. StringReplace, Bind20, Bind20, <pos>, %Position%, All
  5076.  
  5077. if(SendenKey20 == 1)
  5078. {
  5079. Bind20_1 := ""
  5080. Bind20_2 := ""
  5081. Bind20_3 := ""
  5082. StringSplit, Bind20_, Bind20, #
  5083. if(Bind20_1 != "")
  5084. {
  5085. SendChat("" Bind20_1 "")
  5086. Sleep, 100
  5087. }
  5088. if(Bind20_2 != "")
  5089. {
  5090. SendChat("" Bind20_2 "")
  5091. Sleep, 100
  5092. }
  5093. if(Bind20_3 != "")
  5094. {
  5095. SendChat("" Bind20_3 "")
  5096. }
  5097. }
  5098. else
  5099. {
  5100. SendInput, t%Bind20%
  5101. }
  5102. }
  5103. return
  5104.  
  5105. Key21:
  5106. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5107. {
  5108. return
  5109. }
  5110. if(Bind21 != "" || Bind21 != """" || Bind21 != "ERROR")
  5111. {
  5112. FormatTime, Zeit,,HH:mm
  5113. FormatTime, Datum,,dd.MM.yyyy
  5114. ;~ GetPlayerName(Name)
  5115. ;~ HP := GetPlayerHealth()
  5116. Car := GetVehicleHealth()
  5117. StringReplace, Bind21, Bind21, <name>, %Name%, All
  5118. StringReplace, Bind21, Bind21, <hp>, %HP%, All
  5119. StringReplace, Bind21, Bind21, <car>, %Car%, All
  5120. StringReplace, Bind21, Bind21, <time>, %Zeit%, All
  5121. StringReplace, Bind21, Bind21, <date>, %Datum%, All
  5122. StringReplace, Bind21, Bind21, <einheit>, "Einheit: " . PoliceID . "", All
  5123. GetZoneName(Zone)
  5124. GetCityName(City)
  5125. Position := "" Zone ", " City
  5126. StringReplace, Bind21, Bind21, <pos>, %Position%, All
  5127.  
  5128. if(SendenKey21 == 1)
  5129. {
  5130. Bind21_1 := ""
  5131. Bind21_2 := ""
  5132. Bind21_3 := ""
  5133. StringSplit, Bind21_, Bind21, #
  5134. if(Bind21_1 != "")
  5135. {
  5136. SendChat("" Bind21_1 "")
  5137. Sleep, 100
  5138. }
  5139. if(Bind21_2 != "")
  5140. {
  5141. SendChat("" Bind21_2 "")
  5142. Sleep, 100
  5143. }
  5144. if(Bind21_3 != "")
  5145. {
  5146. SendChat("" Bind21_3 "")
  5147. }
  5148. }
  5149. else
  5150. {
  5151. SendInput, t%Bind21%
  5152. }
  5153. }
  5154. return
  5155.  
  5156. Key22:
  5157. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5158. {
  5159. return
  5160. }
  5161. if(Bind22 != "" || Bind22 != """" || Bind22 != "ERROR")
  5162. {
  5163. FormatTime, Zeit,,HH:mm
  5164. FormatTime, Datum,,dd.MM.yyyy
  5165. ;~ GetPlayerName(Name)
  5166. ;~ HP := GetPlayerHealth()
  5167. Car := GetVehicleHealth()
  5168. StringReplace, Bind22, Bind22, <name>, %Name%, All
  5169. StringReplace, Bind22, Bind22, <hp>, %HP%, All
  5170. StringReplace, Bind22, Bind22, <car>, %Car%, All
  5171. StringReplace, Bind22, Bind22, <time>, %Zeit%, All
  5172. StringReplace, Bind22, Bind22, <date>, %Datum%, All
  5173. StringReplace, Bind22, Bind22, <einheit>, "Einheit: " . PoliceID . "", All
  5174. GetZoneName(Zone)
  5175. GetCityName(City)
  5176. Position := "" Zone ", " City
  5177. StringReplace, Bind22, Bind22, <pos>, %Position%, All
  5178.  
  5179. if(SendenKey22 == 1)
  5180. {
  5181. Bind22_1 := ""
  5182. Bind22_2 := ""
  5183. Bind22_3 := ""
  5184. StringSplit, Bind22_, Bind22, #
  5185. if(Bind22_1 != "")
  5186. {
  5187. SendChat("" Bind22_1 "")
  5188. Sleep, 100
  5189. }
  5190. if(Bind22_2 != "")
  5191. {
  5192. SendChat("" Bind22_2 "")
  5193. Sleep, 100
  5194. }
  5195. if(Bind22_3 != "")
  5196. {
  5197. SendChat("" Bind22_3 "")
  5198. }
  5199. }
  5200. else
  5201. {
  5202. SendInput, t%Bind22%
  5203. }
  5204. }
  5205. return
  5206.  
  5207. Key23:
  5208. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5209. {
  5210. return
  5211. }
  5212. if(Bind23 != "" || Bind23 != """" || Bind23 != "ERROR")
  5213. {
  5214. FormatTime, Zeit,,HH:mm
  5215. FormatTime, Datum,,dd.MM.yyyy
  5216. ;~ GetPlayerName(Name)
  5217. ;~ HP := GetPlayerHealth()
  5218. Car := GetVehicleHealth()
  5219. StringReplace, Bind23, Bind23, <name>, %Name%, All
  5220. StringReplace, Bind23, Bind23, <hp>, %HP%, All
  5221. StringReplace, Bind23, Bind23, <car>, %Car%, All
  5222. StringReplace, Bind23, Bind23, <time>, %Zeit%, All
  5223. StringReplace, Bind23, Bind23, <date>, %Datum%, All
  5224. StringReplace, Bind23, Bind23, <einheit>, "Einheit: " . PoliceID . "", All
  5225. GetZoneName(Zone)
  5226. GetCityName(City)
  5227. Position := "" Zone ", " City
  5228. StringReplace, Bind23, Bind23, <pos>, %Position%, All
  5229.  
  5230. if(SendenKey23 == 1)
  5231. {
  5232. Bind23_1 := ""
  5233. Bind23_2 := ""
  5234. Bind23_3 := ""
  5235. StringSplit, Bind23_, Bind23, #
  5236. if(Bind23_1 != "")
  5237. {
  5238. SendChat("" Bind23_1 "")
  5239. Sleep, 100
  5240. }
  5241. if(Bind23_2 != "")
  5242. {
  5243. SendChat("" Bind23_2 "")
  5244. Sleep, 100
  5245. }
  5246. if(Bind23_3 != "")
  5247. {
  5248. SendChat("" Bind23_3 "")
  5249. }
  5250. }
  5251. else
  5252. {
  5253. SendInput, t%Bind23%
  5254. }
  5255. }
  5256. return
  5257.  
  5258. Key24:
  5259. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5260. {
  5261. return
  5262. }
  5263. if(Bind24 != "" || Bind24 != """" || Bind24 != "ERROR")
  5264. {
  5265. FormatTime, Zeit,,HH:mm
  5266. FormatTime, Datum,,dd.MM.yyyy
  5267. ;~ GetPlayerName(Name)
  5268. ;~ HP := GetPlayerHealth()
  5269. Car := GetVehicleHealth()
  5270. StringReplace, Bind24, Bind24, <name>, %Name%, All
  5271. StringReplace, Bind24, Bind24, <hp>, %HP%, All
  5272. StringReplace, Bind24, Bind24, <car>, %Car%, All
  5273. StringReplace, Bind24, Bind24, <time>, %Zeit%, All
  5274. StringReplace, Bind24, Bind24, <date>, %Datum%, All
  5275. StringReplace, Bind24, Bind24, <einheit>, "Einheit: " . PoliceID . "", All
  5276. GetZoneName(Zone)
  5277. GetCityName(City)
  5278. Position := "" Zone ", " City
  5279. StringReplace, Bind24, Bind24, <pos>, %Position%, All
  5280.  
  5281. if(SendenKey24 == 1)
  5282. {
  5283. Bind24_1 := ""
  5284. Bind24_2 := ""
  5285. Bind24_3 := ""
  5286. StringSplit, Bind24_, Bind24, #
  5287. if(Bind24_1 != "")
  5288. {
  5289. SendChat("" Bind24_1 "")
  5290. Sleep, 100
  5291. }
  5292. if(Bind24_2 != "")
  5293. {
  5294. SendChat("" Bind24_2 "")
  5295. Sleep, 100
  5296. }
  5297. if(Bind24_3 != "")
  5298. {
  5299. SendChat("" Bind24_3 "")
  5300. }
  5301. }
  5302. else
  5303. {
  5304. SendInput, t%Bind24%
  5305. }
  5306. }
  5307. return
  5308.  
  5309. Key25:
  5310. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5311. {
  5312. return
  5313. }
  5314. if(Bind25 != "" || Bind25 != """" || Bind25 != "ERROR")
  5315. {
  5316. FormatTime, Zeit,,HH:mm
  5317. FormatTime, Datum,,dd.MM.yyyy
  5318. ;~ GetPlayerName(Name)
  5319. ;~ HP := GetPlayerHealth()
  5320. Car := GetVehicleHealth()
  5321. StringReplace, Bind25, Bind25, <name>, %Name%, All
  5322. StringReplace, Bind25, Bind25, <hp>, %HP%, All
  5323. StringReplace, Bind25, Bind25, <car>, %Car%, All
  5324. StringReplace, Bind25, Bind25, <time>, %Zeit%, All
  5325. StringReplace, Bind25, Bind25, <date>, %Datum%, All
  5326. StringReplace, Bind25, Bind25, <einheit>, "Einheit: " . PoliceID . "", All
  5327. GetZoneName(Zone)
  5328. GetCityName(City)
  5329. Position := "" Zone ", " City
  5330. StringReplace, Bind25, Bind25, <pos>, %Position%, All
  5331.  
  5332. if(SendenKey25 == 1)
  5333. {
  5334. Bind25_1 := ""
  5335. Bind25_2 := ""
  5336. Bind25_3 := ""
  5337. StringSplit, Bind25_, Bind25, #
  5338. if(Bind25_1 != "")
  5339. {
  5340. SendChat("" Bind25_1 "")
  5341. Sleep, 100
  5342. }
  5343. if(Bind25_2 != "")
  5344. {
  5345. SendChat("" Bind25_2 "")
  5346. Sleep, 100
  5347. }
  5348. if(Bind25_3 != "")
  5349. {
  5350. SendChat("" Bind25_3 "")
  5351. }
  5352. }
  5353. else
  5354. {
  5355. SendInput, t%Bind25%
  5356. }
  5357. }
  5358. return
  5359.  
  5360. Key26:
  5361. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5362. {
  5363. return
  5364. }
  5365. if(Bind26 != "" || Bind26 != """" || Bind26 != "ERROR")
  5366. {
  5367. FormatTime, Zeit,,HH:mm
  5368. FormatTime, Datum,,dd.MM.yyyy
  5369. ;~ GetPlayerName(Name)
  5370. ;~ HP := GetPlayerHealth()
  5371. Car := GetVehicleHealth()
  5372. StringReplace, Bind26, Bind26, <name>, %Name%, All
  5373. StringReplace, Bind26, Bind26, <hp>, %HP%, All
  5374. StringReplace, Bind26, Bind26, <car>, %Car%, All
  5375. StringReplace, Bind26, Bind26, <time>, %Zeit%, All
  5376. StringReplace, Bind26, Bind26, <date>, %Datum%, All
  5377. StringReplace, Bind26, Bind26, <einheit>, "Einheit: " . PoliceID . "", All
  5378. GetZoneName(Zone)
  5379. GetCityName(City)
  5380. Position := "" Zone ", " City
  5381. StringReplace, Bind26, Bind26, <pos>, %Position%, All
  5382.  
  5383. if(SendenKey26 == 1)
  5384. {
  5385. Bind26_1 := ""
  5386. Bind26_2 := ""
  5387. Bind26_3 := ""
  5388. StringSplit, Bind26_, Bind26, #
  5389. if(Bind26_1 != "")
  5390. {
  5391. SendChat("" Bind26_1 "")
  5392. Sleep, 100
  5393. }
  5394. if(Bind26_2 != "")
  5395. {
  5396. SendChat("" Bind26_2 "")
  5397. Sleep, 100
  5398. }
  5399. if(Bind26_3 != "")
  5400. {
  5401. SendChat("" Bind26_3 "")
  5402. }
  5403. }
  5404. else
  5405. {
  5406. SendInput, t%Bind26%
  5407. }
  5408. }
  5409. return
  5410.  
  5411. ;~ ---------------------------------------------------------------------------------------------------------
  5412.  
  5413.  
  5414. :?:/id::
  5415. Suspend Permit
  5416. Suspend On
  5417. SendInput, /id{space}
  5418. Input, CID, V I M,{enter}
  5419. Send {enter}
  5420. SendChat("/number " . CID . "")
  5421. Suspend Off
  5422. return
  5423.  
  5424.  
  5425. :?:/afind::
  5426. Suspend Permit
  5427. Suspend On
  5428. SendInput, /find{space}
  5429. Input, AID, V I M,{enter}
  5430. Send {enter}
  5431. SetTimer, Find, 6000
  5432. Suspend Off
  5433. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das automatische Suchen können Sie mit der Taste '<' deaktivieren.")
  5434. return
  5435.  
  5436. :?:/af::
  5437. Suspend Permit
  5438. Suspend On
  5439. SendInput, /find{space}
  5440. Input, AID, V I M,{enter}
  5441. Send {enter}
  5442. SetTimer, Find, 6000
  5443. Suspend Off
  5444. return
  5445.  
  5446. Find:
  5447. SendChat("/find " . AID)
  5448. return
  5449.  
  5450. :?:/ashowpos::
  5451. Suspend Permit
  5452. Suspend On
  5453. SendInput, /showpos{space}
  5454. Input, AID, V I M,{enter}
  5455. Send {enter}
  5456. SetTimer, Show, 6000
  5457. Suspend Off
  5458. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das automatische Zeigen können Sie mit der Taste '<' deaktivieren.")
  5459. return
  5460.  
  5461. :?:/as::
  5462. Suspend Permit
  5463. Suspend On
  5464. SendInput, /showpos{space}
  5465. Input, AID, V I M,{enter}
  5466. Send {enter}
  5467. SetTimer, Show, 6000
  5468. Suspend Off
  5469. return
  5470.  
  5471. Show:
  5472. SendChat("/showpos " . AID)
  5473. return
  5474.  
  5475. :?:/pos::
  5476. Suspend Permit
  5477. if(Fahrer > -1)
  5478. {
  5479. pFahrer := Fahrer
  5480. }
  5481. else if(Partner1 > -1)
  5482. {
  5483. pFahrer := Partner1
  5484. }
  5485. else if(Partner2 > -1)
  5486. {
  5487. pFahrer := Partner2
  5488. }
  5489. else if(Partner3 > -1)
  5490. {
  5491. pFahrer := Partner3
  5492. }
  5493. else
  5494. {
  5495. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es ist kein Partner / Fahrer eingetragen.")
  5496. return
  5497. }
  5498.  
  5499. Suspend On
  5500. SendInput, /showpos %pFahrer%{space}
  5501. Input, SID, V I M,{enter}
  5502. Send {enter}
  5503. SetTimer, PShow, 6000
  5504. Suspend Off
  5505. return
  5506.  
  5507. PShow:
  5508. SendChat("/showpos " . pFahrer . " " SID "")
  5509. return
  5510.  
  5511. :?:/dshow::
  5512. Suspend Permit
  5513. FindID := PlayerInput("Spieler ID / Name: ")
  5514. chatart := "d"
  5515. SetTimer, show_dete, 6000
  5516. SendChat("/find " FindID "")
  5517. Sleep, 200
  5518. GetChatLine(0, chatline_dete)
  5519. if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
  5520. {
  5521. SendChat("/d Spieler " FindID " kann nicht gesucht werden.")
  5522. }
  5523. else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
  5524. {
  5525. SendChat("/d Spieler " FindID " ist nicht online.")
  5526. }
  5527. else
  5528. {
  5529. RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
  5530. SendChat("/d Spieler " FindID " befindet sich in " Ort1 ".")
  5531. }
  5532. return
  5533.  
  5534. :?:/fshow::
  5535. Suspend Permit
  5536. FindID := PlayerInput("Spieler ID / Name: ")
  5537. chatart := "f"
  5538. SetTimer, show_dete, 6000
  5539. SendChat("/find " FindID "")
  5540. Sleep, 200
  5541. GetChatLine(0, chatline_dete)
  5542. if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
  5543. {
  5544. SendChat("/f Spieler " FindID " kann nicht gesucht werden.")
  5545. }
  5546. else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
  5547. {
  5548. SendChat("/f Spieler " FindID " ist nicht online.")
  5549. }
  5550. else
  5551. {
  5552. RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
  5553. SendChat("/f Spieler " FindID " befindet sich in " Ort1 ".")
  5554. }
  5555. return
  5556.  
  5557. :?:/rshow::
  5558. Suspend Permit
  5559. FindID := PlayerInput("Spieler ID / Name: ")
  5560. chatart := "r"
  5561. SetTimer, show_dete, 6000
  5562. SendChat("/find " FindID "")
  5563. Sleep, 200
  5564. GetChatLine(0, chatline_dete)
  5565. if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
  5566. {
  5567. SendChat("/r Spieler " FindID " kann nicht gesucht werden.")
  5568. }
  5569. else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
  5570. {
  5571. SendChat("/r Spieler " FindID " ist nicht online.")
  5572. }
  5573. else
  5574. {
  5575. RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
  5576. SendChat("/r Spieler " FindID " befindet sich in " Ort1 ".")
  5577. }
  5578. return
  5579.  
  5580.  
  5581. show_dete:
  5582. SendChat("/find " FindID "")
  5583. Sleep, 200
  5584. GetChatLine(0, chatline_dete)
  5585. if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
  5586. {
  5587. SendChat("/" chatart " Spieler " FindID " kann nicht gesucht werden.")
  5588. }
  5589. else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
  5590. {
  5591. SendChat("/" chatart " Spieler " FindID " ist nicht online.")
  5592. }
  5593. else
  5594. {
  5595. RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
  5596. SendChat("/" chatart " Spieler " FindID " befindet sich in " Ort1 ".")
  5597. }
  5598. return
  5599.  
  5600. :?:/kh::
  5601. Suspend Permit
  5602. exe := OpenMemoryfromTitle_("GTA:SA:MP")
  5603. posX := ReadMemory_(exe,0xC7DEC8,"Float")
  5604. posY := ReadMemory_(exe,0xC7DECC,"Float")
  5605. posZ := ReadMemory_(exe, 0xC7DED0,"Float")
  5606. CloseMemory_(exe)
  5607. posX := Floor(posX)
  5608. posY := Floor(posY)
  5609. posZ := Floor(posZ)
  5610. if(GetDistancebetween(1163.2358,-1323.2552,15.3945, posX, posY, posZ) <= 3)
  5611. {
  5612. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Spieler befindet sich im Krankenhaus.")
  5613. }
  5614. else
  5615. {
  5616. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Spieler befindet sich NICHT im Krankenhaus.")
  5617. }
  5618. return
  5619.  
  5620.  
  5621.  
  5622.  
  5623. :?:/fahrer::
  5624. Suspend Permit
  5625. if(Fahrer == -1)
  5626. {
  5627. SendInput, Gebe die ID deines Fahrers ein:{Space}
  5628. Input, caID, V I M,{Enter}
  5629. SendInput {end}+{home}{Del}{Esc}
  5630. Fahrer=%caID%
  5631. ;~ UpdateServerData()
  5632.  
  5633. if(Fahrer < 0 || Fahrer > 400)
  5634. {
  5635. caID := GetPlayerIDByName(Fahrer)
  5636. Fahrer=%caID%
  5637. }
  5638. GetPlayerNameById(caID, fahrername)
  5639. if(fahrername == -1)
  5640. {
  5641. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
  5642. }
  5643. else
  5644. {
  5645. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}" . fahrername . " wurde als Fahrer eingetragen.")
  5646. }
  5647. }
  5648. else
  5649. {
  5650. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Fahrer wurde entfernt.")
  5651. Fahrer=-1
  5652. }
  5653. return
  5654.  
  5655.  
  5656.  
  5657. ~<::
  5658. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5659. {
  5660. return
  5661. }
  5662. SetTimer, Find, Off
  5663. SetTimer, Show, Off
  5664. SetTimer, PShow, Off
  5665. SetTimer, show_dete, off
  5666. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Automatische Suchsysteme deaktiviert.")
  5667. return
  5668.  
  5669.  
  5670. flucht:
  5671. fluchtName := ""
  5672. SetTimer, flucht, off
  5673.  
  5674. if fluchtID is number
  5675. {
  5676. UpdateServerData()
  5677. GetPlayerNameByID(fluchtID, fluchtName)
  5678. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du darfst nun wieder zwei Flucht-Wanteds bei {FF0000}" . fluchtName . "{FFFFFF} vergeben, sofern du ihn noch verfolgst.")
  5679. }
  5680. else
  5681. {
  5682. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du darfst nun wieder zwei Flucht-Wanteds bei {FF0000}" . fluchtID . "{FFFFFF} vergeben, sofern du ihn noch verfolgst.")
  5683. }
  5684.  
  5685. fluchtID := -1
  5686. return
  5687.  
  5688.  
  5689.  
  5690. ~LControl & ~t::
  5691. Suspend Permit
  5692. If (IsPlayerinAnyVehicle() == 0)
  5693. {
  5694. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug!")
  5695. return
  5696. }
  5697. If (IsPlayerDriver() == 0)
  5698. {
  5699. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht der Fahrer!")
  5700. return
  5701. }
  5702. SpeedOnOff := !SpeedOnOff
  5703. if(SpeedOnOff == 1)
  5704. {
  5705. VehSpeedMax := GetPlayerSpeed()
  5706. SpeedCheckStatus := "1"
  5707. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
  5708. }
  5709. else
  5710. {
  5711.  
  5712. SpeedCheckStatus := "0"
  5713. Sleep, 250
  5714. SendInput {W up}
  5715. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  5716. SendInput {W Up}
  5717. VehSpeedMax := 0
  5718. }
  5719. return
  5720.  
  5721.  
  5722. :?:/tempo::
  5723. Suspend Permit
  5724. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Diese Funktion ist derzeit deaktiviert.")
  5725. If (IsPlayerinAnyVehicle() == 0)
  5726. {
  5727. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug!")
  5728. return
  5729. }
  5730. If (IsPlayerDriver() == 0)
  5731. {
  5732. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht der Fahrer!")
  5733. return
  5734. }
  5735. tempo := PlayerInput("Bitte gebe deine gewünschte Geschwindigkeit an: ")
  5736. VehSpeedMax := tempo
  5737. SpeedCheckStatus := "1"
  5738. SpeedOnOff := "1"
  5739. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({0x00BFFF}~ " VehSpeedMax " {FFFFFF}KM/H)")
  5740. return
  5741.  
  5742. ~ö::
  5743. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5744. {
  5745. return
  5746. }
  5747. if (SpeedCheckStatus == 1)
  5748. {
  5749. VehSpeedMax := VehSpeedMax + 5
  5750. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde auf {FF0000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
  5751. }
  5752. return
  5753.  
  5754. ~L::
  5755. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5756. {
  5757. return
  5758. }
  5759. if (SpeedCheckStatus == 1)
  5760. {
  5761. VehSpeedMax := VehSpeedMax - 5
  5762. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde auf {FFA000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
  5763. }
  5764. return
  5765.  
  5766.  
  5767. ~W::
  5768. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5769. {
  5770. return
  5771. }
  5772. if (SpeedCheckStatus == 1)
  5773. {
  5774. SpeedCheckStatus := "0"
  5775. SpeedOnOff := "0"
  5776. Sleep, 250
  5777. SendInput {W up}
  5778. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  5779. SendInput {W Up}
  5780. VehSpeedMax := 0
  5781. }
  5782. ;~ if(Lock = 1)
  5783. ;~ {
  5784. ;~ if(IsPlayerDriver() && IsVehicleEngineEnabled() == 0)
  5785. ;~ {
  5786. ;~ SendChat("/motor")
  5787. ;~ Sleep, 2600
  5788. ;~ if(IsVehicleEngineEnabled() == 1)
  5789. ;~ {
  5790. ;~ if(IsVehicleLocked() == 0)
  5791. ;~ {
  5792. ;~ SendChat("/lock")
  5793. ;~ }
  5794. ;~ }
  5795.  
  5796. ;~ if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
  5797. ;~ {
  5798. ;~ SendChat("/licht")
  5799. ;~ }
  5800. ;~ }
  5801. ;~ }
  5802. return
  5803.  
  5804. ~S::
  5805. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  5806. {
  5807. return
  5808. }
  5809. if (SpeedCheckStatus == 1)
  5810. {
  5811. SpeedCheckStatus := "0"
  5812. SpeedOnOff := "0"
  5813. Sleep, 250
  5814. SendInput {W up}
  5815. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  5816. SendInput {W Up}
  5817. VehSpeedMax := 0
  5818. }
  5819. return
  5820.  
  5821. :?:/kcall::
  5822. Suspend Permit
  5823. pinput := PlayerInput("Name: ")
  5824. Sleep, 250
  5825. SendChat("/number " . pinput . "")
  5826. Loop,
  5827. {
  5828. GetChatLine(0, line)
  5829. if(InStr(line, "Name: "))
  5830. {
  5831. RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
  5832. SendChat("/call " . Output2)
  5833. return
  5834. }
  5835. else If(InStr(line, "Diesen Spieler gibt es nicht!"))
  5836. {
  5837. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Anruf fehlgeschlagen!")
  5838. return
  5839. }
  5840. else
  5841. {
  5842. continue
  5843. }
  5844. }
  5845. return
  5846.  
  5847. :?:/ksms::
  5848. Suspend Permit
  5849. pinput := PlayerInput("Name: ")
  5850. SendChat("/number " . pinput . "")
  5851. Loop,
  5852. {
  5853. GetChatLine(0, line)
  5854. if(InStr(line, "Name: "))
  5855. {
  5856. RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
  5857. SendInput, t/sms %Output2%{space}
  5858. return
  5859. }
  5860. else If(InStr(line, "Diesen Spieler gibt es nicht!"))
  5861. {
  5862. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Versendung nicht möglich!")
  5863. return
  5864. }
  5865. else
  5866. {
  5867. continue
  5868. }
  5869. }
  5870. return
  5871.  
  5872. :?:/p::
  5873. Suspend Permit
  5874. SendChat("/p")
  5875. SoundPlay, avixa.avi
  5876. return
  5877.  
  5878. :?:/pickup::
  5879. Suspend Permit
  5880. SendChat("/p")
  5881. SoundPlay, avixa.avi
  5882. return
  5883.  
  5884.  
  5885. :?:/hp::
  5886. Suspend Permit
  5887. SendChat("/cooked")
  5888. Sleep 250
  5889. GetChatLine(5, fish1)
  5890. GetChatLine(4, fish2)
  5891. GetChatLine(3, fish3)
  5892. GetChatLine(2, fish4)
  5893. GetChatLine(1, fish5)
  5894. RegExMatch(fish1, "\*\* \(1\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch1_)
  5895. RegExMatch(fish2, "\*\* \(2\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch2_)
  5896. RegExMatch(fish3, "\*\* \(3\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch3_)
  5897. RegExMatch(fish4, "\*\* \(4\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch4_)
  5898. RegExMatch(fish5, "\*\* \(5\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch5_)
  5899. HP1 = %fisch1_2%
  5900. HP1/=3
  5901. HP1 := Floor(HP1)
  5902. HP2 = %fisch2_2%
  5903. HP2/=3
  5904. HP2 := Floor(HP2)
  5905. HP3 = %fisch3_2%
  5906. HP3/=3
  5907. HP3 := Floor(HP3)
  5908. HP4 = %fisch4_2%
  5909. HP4/=3
  5910. HP4 := Floor(HP4)
  5911. HP5 = %fisch5_2%
  5912. HP5/=3
  5913. HP5 := Floor(HP5)
  5914. Gesamt=0
  5915. Gesamt+=%HP1%
  5916. Gesamt+=%HP2%
  5917. Gesamt+=%HP3%
  5918. Gesamt+=%HP4%
  5919. Gesamt+=%HP5%
  5920. AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch1_1 . " (" . fisch1_2 . " LBS) - {FFBF00} " . HP1 . " HP")
  5921. AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch2_1 . " (" . fisch2_2 . " LBS) - {FFBF00} " . HP2 . " HP")
  5922. AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch3_1 . " (" . fisch3_2 . " LBS) - {FFBF00} " . HP3 . " HP")
  5923. AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch4_1 . " (" . fisch4_2 . " LBS) - {FFBF00} " . HP4 . " HP")
  5924. AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch5_1 . " (" . fisch5_2 . " LBS) - {FFA000} " . HP5 . " HP")
  5925. AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}-----------------------------------------------")
  5926. AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}Gesamt: {FFBF00}" . Gesamt . " HP")
  5927. return
  5928.  
  5929.  
  5930.  
  5931. :?:/fische::
  5932. Suspend Permit
  5933. SendChat("/fishes")
  5934. Sleep 250
  5935. GetChatLine(5, fische1)
  5936. GetChatLine(4, fische2)
  5937. GetChatLine(3, fische3)
  5938. GetChatLine(2, fische4)
  5939. GetChatLine(1, fische5)
  5940. RegExMatch(fische1, "\*\* \(1\) Fisch: (.*) \((.*) LBS\)", fische1_)
  5941. RegExMatch(fische2, "\*\* \(2\) Fisch: (.*) \((.*) LBS\)", fische2_)
  5942. RegExMatch(fische3, "\*\* \(3\) Fisch: (.*) \((.*) LBS\)", fische3_)
  5943. RegExMatch(fische4, "\*\* \(4\) Fisch: (.*) \((.*) LBS\)", fische4_)
  5944. RegExMatch(fische5, "\*\* \(5\) Fisch: (.*) \((.*) LBS\)", fische5_)
  5945. if(fische1_1 == "Makrele")
  5946. {
  5947. Multiplier1 := 8
  5948. }
  5949. else if(fische1_1 == "Zackenbarsch")
  5950. {
  5951. Multiplier1 := 3
  5952. }
  5953. else if(fische1_1 == "Bernfisch")
  5954. {
  5955. Multiplier1 := 1
  5956. }
  5957. else if(fische1_1 == "Schwertfisch")
  5958. {
  5959. Multiplier1 := 3
  5960. }
  5961. else if(fische1_1 == "Roter Schnapper")
  5962. {
  5963. Multiplier1 := 3
  5964. }
  5965. else if(fische1_1 == "Blauer Fächerfisch")
  5966. {
  5967. Multiplier1 := 2
  5968. }
  5969. else if(fische1_1 == "Thunfisch")
  5970. {
  5971. Multiplier1 := 12
  5972. }
  5973. else if(fische1_1 == "Wolfbarsch")
  5974. {
  5975. Multiplier1 := 12
  5976. }
  5977. else if(fische1_1 == "Segelfisch")
  5978. {
  5979. Multiplier1 := 7
  5980. }
  5981. else if(fische1_1 == "Hai")
  5982. {
  5983. Multiplier1 := 7
  5984. }
  5985. else if(fische1_1 == "Delphin")
  5986. {
  5987. Multiplier1 := 7
  5988. }
  5989. else if(fische1_1 == "Katzenfisch")
  5990. {
  5991. Multiplier1 := 4
  5992. }
  5993. else if(fische1_1 == "Hecht")
  5994. {
  5995. Multiplier1 := 9
  5996. }
  5997. else if(fische1_1 == "Aal")
  5998. {
  5999. Multiplier1 := 9
  6000. }
  6001. else if(fische1_1 == "Schildkröte")
  6002. {
  6003. Multiplier1 := 10
  6004. }
  6005. else if(fische1_1 == "Forelle")
  6006. {
  6007. Multiplier1 := 5
  6008. }
  6009. else if(fische1_1 == "Nichts")
  6010. {
  6011. Multiplier1 := 0
  6012. }
  6013. if(fische2_1 == "Makrele")
  6014. {
  6015. Multiplier2 := 8
  6016. }
  6017. else if(fische2_1 == "Bernfisch")
  6018. {
  6019. Multiplier2 := 1
  6020. }
  6021. else if(fische2_1 == "Zackenbarsch")
  6022. {
  6023. Multiplier2 := 3
  6024. }
  6025. else if(fische2_1 == "Schwertfisch")
  6026. {
  6027. Multiplier2 := 3
  6028. }
  6029. else if(fische2_1 == "Roter Schnapper")
  6030. {
  6031. Multiplier2 := 3
  6032. }
  6033. else if(fische2_1 == "Blauer Fächerfisch")
  6034. {
  6035. Multiplier2 := 2
  6036. }
  6037. else if(fische2_1 == "Thunfisch")
  6038. {
  6039. Multiplier2 := 12
  6040. }
  6041. else if(fische2_1 == "Wolfbarsch")
  6042. {
  6043. Multiplier2 := 12
  6044. }
  6045. else if(fische2_1 == "Segelfisch")
  6046. {
  6047. Multiplier2 := 7
  6048. }
  6049. else if(fische2_1 == "Hai")
  6050. {
  6051. Multiplier2 := 7
  6052. }
  6053. else if(fische2_1 == "Delphin")
  6054. {
  6055. Multiplier2 := 7
  6056. }
  6057. else if(fische2_1 == "Katzenfisch")
  6058. {
  6059. Multiplier2 := 4
  6060. }
  6061. else if(fische2_1 == "Hecht")
  6062. {
  6063. Multiplier2 := 9
  6064. }
  6065. else if(fische2_1 == "Aal")
  6066. {
  6067. Multiplier2 := 9
  6068. }
  6069. else if(fische2_1 == "Schildkröte")
  6070. {
  6071. Multiplier2 := 10
  6072. }
  6073. else if(fische2_1 == "Forelle")
  6074. {
  6075. Multiplier2 := 5
  6076. }
  6077. else if(fische2_1 == "Nichts")
  6078. {
  6079. Multiplier2 := 0
  6080. }
  6081. if(fische3_1 == "Makrele")
  6082. {
  6083. Multiplier3 := 8
  6084. }
  6085. else if(fische3_1 == "Zackenbarsch")
  6086. {
  6087. Multiplier3 := 3
  6088. }
  6089. else if(fische3_1 == "Bernfisch")
  6090. {
  6091. Multiplier3 := 1
  6092. }
  6093. else if(fische3_1 == "Schwertfisch")
  6094. {
  6095. Multiplier3 := 3
  6096. }
  6097. else if(fische3_1 == "Roter Schnapper")
  6098. {
  6099. Multiplier3 := 3
  6100. }
  6101. else if(fische3_1 == "Blauer Fächerfisch")
  6102. {
  6103. Multiplier3 := 2
  6104. }
  6105. else if(fische3_1 == "Thunfisch")
  6106. {
  6107. Multiplier3 := 12
  6108. }
  6109. else if(fische3_1 == "Wolfbarsch")
  6110. {
  6111. Multiplier3 := 12
  6112. }
  6113. else if(fische3_1 == "Segelfisch")
  6114. {
  6115. Multiplier3 := 7
  6116. }
  6117. else if(fische3_1 == "Hai")
  6118. {
  6119. Multiplier3 := 7
  6120. }
  6121. else if(fische3_1 == "Delphin")
  6122. {
  6123. Multiplier3 := 7
  6124. }
  6125. else if(fische3_1 == "Katzenfisch")
  6126. {
  6127. Multiplier3 := 4
  6128. }
  6129. else if(fische3_1 == "Hecht")
  6130. {
  6131. Multiplier3 := 9
  6132. }
  6133. else if(fische3_1 == "Aal")
  6134. {
  6135. Multiplier3 := 9
  6136. }
  6137. else if(fische3_1 == "Schildkröte")
  6138. {
  6139. Multiplier3 := 10
  6140. }
  6141. else if(fische3_1 == "Forelle")
  6142. {
  6143. Multiplier3 := 5
  6144. }
  6145. else if(fische3_1 == "Nichts")
  6146. {
  6147. Multiplier3 := 0
  6148. }
  6149. if(fische4_1 == "Makrele")
  6150. {
  6151. Multiplier4 := 8
  6152. }
  6153. else if(fische4_1 == "Zackenbarsch")
  6154. {
  6155. Multiplier4 := 3
  6156. }
  6157. else if(fische4_1 == "Schwertfisch")
  6158. {
  6159. Multiplier4 := 3
  6160. }
  6161. else if(fische4_1 == "Roter Schnapper")
  6162. {
  6163. Multiplier4 := 3
  6164. }
  6165. else if(fische4_1 == "Bernfisch")
  6166. {
  6167. Multiplier4 := 1
  6168. }
  6169. else if(fische4_1 == "Blauer Fächerfisch")
  6170. {
  6171. Multiplier4 := 2
  6172. }
  6173. else if(fische4_1 == "Thunfisch")
  6174. {
  6175. Multiplier4 := 12
  6176. }
  6177. else if(fische4_1 == "Wolfbarsch")
  6178. {
  6179. Multiplier4 := 12
  6180. }
  6181. else if(fische4_1 == "Segelfisch")
  6182. {
  6183. Multiplier4 := 7
  6184. }
  6185. else if(fische4_1 == "Hai")
  6186. {
  6187. Multiplier4 := 7
  6188. }
  6189. else if(fische4_1 == "Delphin")
  6190. {
  6191. Multiplier4 := 7
  6192. }
  6193. else if(fische4_1 == "Katzenfisch")
  6194. {
  6195. Multiplier4 := 4
  6196. }
  6197. else if(fische4_1 == "Hecht")
  6198. {
  6199. Multiplier4 := 9
  6200. }
  6201. else if(fische4_1 == "Aal")
  6202. {
  6203. Multiplier4 := 9
  6204. }
  6205. else if(fische4_1 == "Schildkröte")
  6206. {
  6207. Multiplier4 := 10
  6208. }
  6209. else if(fische4_1 == "Forelle")
  6210. {
  6211. Multiplier4 := 5
  6212. }
  6213. else if(fische4_1 == "Nichts")
  6214. {
  6215. Multiplier4 := 0
  6216. }
  6217. if(fische5_1 == "Makrele")
  6218. {
  6219. Multiplier5 := 8
  6220. }
  6221. else if(fische5_1 == "Zackenbarsch")
  6222. {
  6223. Multiplier5 := 3
  6224. }
  6225. else if(fische5_1 == "Schwertfisch")
  6226. {
  6227. Multiplier5 := 3
  6228. }
  6229. else if(fische5_1 == "Bernfisch")
  6230. {
  6231. Multiplier5 := 1
  6232. }
  6233. else if(fische5_1 == "Roter Schnapper")
  6234. {
  6235. Multiplier5 := 3
  6236. }
  6237. else if(fische5_1 == "Blauer Fächerfisch")
  6238. {
  6239. Multiplier5 := 2
  6240. }
  6241. else if(fische5_1 == "Thunfisch")
  6242. {
  6243. Multiplier5 := 12
  6244. }
  6245. else if(fische5_1 == "Wolfbarsch")
  6246. {
  6247. Multiplier5 := 12
  6248. }
  6249. else if(fische5_1 == "Segelfisch")
  6250. {
  6251. Multiplier5 := 7
  6252. }
  6253. else if(fische5_1 == "Hai")
  6254. {
  6255. Multiplier5 := 7
  6256. }
  6257. else if(fische5_1 == "Delphin")
  6258. {
  6259. Multiplier5 := 7
  6260. }
  6261. else if(fische5_1 == "Katzenfisch")
  6262. {
  6263. Multiplier5 := 4
  6264. }
  6265. else if(fische5_1 == "Hecht")
  6266. {
  6267. Multiplier5 := 9
  6268. }
  6269. else if(fische5_1 == "Aal")
  6270. {
  6271. Multiplier5 := 9
  6272. }
  6273. else if(fische5_1 == "Schildkröte")
  6274. {
  6275. Multiplier5 := 10
  6276. }
  6277. else if(fische5_1 == "Forelle")
  6278. {
  6279. Multiplier5 := 5
  6280. }
  6281. else if(fische5_1 == "Nichts")
  6282. {
  6283. Multiplier5 := 0
  6284. }
  6285. Geld1 = %fische1_2%
  6286. Geld1_2 := Multiplier1
  6287. Geld1*= Geld1_2
  6288. Geld1 := Floor(Geld1)
  6289. Geld2 = %fische2_2%
  6290. Geld2_2 := Multiplier2
  6291. Geld2*= Geld2_2
  6292. Geld2 := Floor(Geld2)
  6293. Geld3 = %fische3_2%
  6294. Geld3_2 := Multiplier3
  6295. Geld3*= Geld3_2
  6296. Geld3 := Floor(Geld3)
  6297. Geld4 = %fische4_2%
  6298. Geld4_2 := Multiplier4
  6299. Geld4*= Geld4_2
  6300. Geld4 := Floor(Geld4)
  6301. Geld5 = %fische5_2%
  6302. Geld5_2 := Multiplier5
  6303. Geld5*= Geld5_2
  6304. Geld5 := Floor(Geld5)
  6305. HP1_2 = %fische1_2%
  6306. HP1 := Round(HP1_2*0.3,0)
  6307. HP1 := Floor(HP1)
  6308. HP2_2 = %fische2_2%
  6309. HP2 := Round(HP2_2*0.3,0)
  6310. HP2 := Floor(HP2)
  6311. HP3_2 = %fische3_2%
  6312. HP3 := Round(HP3_2*0.3,0)
  6313. HP3 := Floor(HP3)
  6314. HP4_2 = %fische4_2%
  6315. HP4 := Round(HP4_2*0.3,0)
  6316. HP4 := Floor(HP4)
  6317. HP5_2 = %fische5_2%
  6318. HP5 := Round(HP5_2*0.3,0)
  6319. HP5 := Floor(HP5)
  6320. Gesamt := 0
  6321. Gesamt2 := 0
  6322. Gesamt3 := 0
  6323. Gesamt+=%Geld1%
  6324. Gesamt+=%Geld2%
  6325. Gesamt+=%Geld3%
  6326. Gesamt+=%Geld4%
  6327. Gesamt+=%Geld5%
  6328. Gesamt2+=%HP1%
  6329. Gesamt2+=%HP2%
  6330. Gesamt2+=%HP3%
  6331. Gesamt2+=%HP4%
  6332. Gesamt2+=%HP5%
  6333. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" . fische1_1 . " (" . fische1_2 . " LBS) - {009AFF} " . Geld1 . " $ - " . HP1 . " HP")
  6334. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" . fische2_1 . " (" . fische2_2 . " LBS) - {009AFF} " . Geld2 . " $ - " . HP2 . " HP")
  6335. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" . fische3_1 . " (" . fische3_2 . " LBS) - {009AFF} " . Geld3 . " $ - " . HP3 . " HP")
  6336. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" . fische4_1 . " (" . fische4_2 . " LBS) - {009AFF} " . Geld4 . " $ - " . HP4 . " HP")
  6337. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}: {FFFFFF}" . fische5_1 . " (" . fische5_2 . " LBS) - {009AFF} " . Geld5 . " $ - " . HP5 . " HP")
  6338. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}: {FFFFFF}-----------------------------------------------")
  6339. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}: {FFFFFF}Gesamt: {009AFF}" . Gesamt . " $ - " . Gesamt2 . " HP")
  6340. return
  6341.  
  6342.  
  6343.  
  6344. :?:/minuten::
  6345. Suspend Permit
  6346. Sekunden := PlayerInput("Anzahl der Sekunden: ")
  6347. if(Sekunden != "" && Sekunden != " " && Sekunden != 0)
  6348. {
  6349. Minuten := Sekunden / 60
  6350. Minuten := round(Minuten, 2)
  6351. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}{3ADF00}" Sekunden "{FFFFFF} Sekunden sind {3ADF00}" Minuten "{FFFFFF} Minuten.")
  6352. }
  6353. return
  6354.  
  6355.  
  6356.  
  6357. :?:/kaution::
  6358. Suspend Permit
  6359. caID := PlayerInput("Klient-Name: ")
  6360. UpdateServerData()
  6361. Klient=%caID%
  6362. if(Klient < 0 || Klient > 400)
  6363. {
  6364. caID := GetPlayerIDByName(Klient)
  6365. Klient=%caID%
  6366. }
  6367. GetPlayerNameByID(caID, Klientname)
  6368. SendChat("/freeinfo")
  6369. Sleep, 700
  6370. Loop
  6371. {
  6372. GetChatLine(A_Index - 1, chat)
  6373. if(InStr(chat, Klientname))
  6374. {
  6375. RegExMatch(chat, "" Klientname " {FFA600}(.*) Minuten {00B7FF}(.*)\$ {A30000}SAPD", kaution)
  6376. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dein Klient {3ADF00}" Klientname "{FFFFFF} hat eine Kaution von {3ADF00}" kaution2 "{FFFFFF}$.")
  6377. break
  6378. }
  6379. if(Instr(chat, "{55FF00}Name {FFA600}Haftzeit {00B7FF}Kaution {A30000}Standort"))
  6380. {
  6381. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Klient nicht gefunden.")
  6382. break
  6383. }
  6384. if(InStr(chat, "Du bist nicht in der Polizei Station."))
  6385. {
  6386. break
  6387. }
  6388. }
  6389. return
  6390.  
  6391.  
  6392. :?:/fg::
  6393. Suspend Permit
  6394. SendChat("/festgeld 1250000")
  6395. return
  6396.  
  6397. :?:/ap::
  6398. Suspend Permit
  6399. SendChat("/accept Paket")
  6400. return
  6401.  
  6402. :?:/paket::
  6403. Suspend Permit
  6404. SendChat("/accept Paket")
  6405. return
  6406.  
  6407. :?:/tanken::
  6408. Suspend Permit
  6409. if(IsPlayerInAnyVehicle() == "0")
  6410. {
  6411. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
  6412. return
  6413. }
  6414. if(IsVehicleEngineEnabled() == 1)
  6415. {
  6416. SendChat("/motor")
  6417. }
  6418. SendChat("/fill")
  6419. Sleep, 10000
  6420. SendChat("/motor")
  6421. Sleep, 2600
  6422. SendChat("/licht")
  6423. return
  6424.  
  6425. :?:/sb::
  6426. Suspend Permit
  6427. id := PlayerInput("/showbadge ")
  6428. SendChat("/showbadge " id)
  6429. return
  6430.  
  6431.  
  6432. ~1::
  6433. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6434. {
  6435. SendInput, {A_ThisHotkey}
  6436. return
  6437. }
  6438.  
  6439. if(IsPlayerInAnyVehicle() == "0")
  6440. {
  6441. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
  6442. }
  6443. else
  6444. {
  6445. If(IsPlayerDriver() == 0)
  6446. {
  6447. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges.")
  6448. }
  6449. else
  6450. {
  6451. SendChat("/motor")
  6452. Sleep, 200
  6453. IniRead, Lock, settings.ini, Daten, Lock
  6454. if(Lock = 1)
  6455. {
  6456. ;~ if(IsVehicleEngineEnabled() == 1)
  6457. ;~ {
  6458. if(IsVehicleLocked() == 0)
  6459. {
  6460. SendChat("/lock")
  6461. }
  6462. ;~ }
  6463. }
  6464. SetTimer, LichtEinschalten, 2400
  6465. Sleep, 2400
  6466. if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
  6467. {
  6468. SendChat("/licht")
  6469. }
  6470. }
  6471. }
  6472. return
  6473.  
  6474. LichtEinschalten:
  6475. ;~ Sleep, 2400
  6476. if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
  6477. {
  6478. SendChat("/licht")
  6479. }
  6480. SetTimer, LichtEinschalten, off
  6481. return
  6482.  
  6483. ~+1::
  6484. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6485. {
  6486. return
  6487. }
  6488. if(IsPlayerInAnyVehicle() == "0")
  6489. {
  6490. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
  6491. }
  6492. else
  6493. {
  6494. SendChat("/licht")
  6495. }
  6496. return
  6497.  
  6498.  
  6499. ~F::
  6500. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6501. {
  6502. return
  6503. }
  6504. IniRead, Lock, settings.ini, Daten, Lock
  6505. if(Lock = 1)
  6506. {
  6507. if(IsPlayerInAnyVehicle() == "0")
  6508. {
  6509. Loop,
  6510. if(IsPlayerDriver() == 1)
  6511. {
  6512. ;~ Sleep, 250
  6513. if(IsVehicleLocked() == 0)
  6514. {
  6515. Sleep, 200
  6516. SendChat("/lock")
  6517. return
  6518. }
  6519. }
  6520. }
  6521. else
  6522. {
  6523. if(IsPlayerDriver() == 1)
  6524. {
  6525. if (IsVehicleEngineEnabled() == 1)
  6526. {
  6527. SendChat("/motor")
  6528. Sleep 700
  6529. Send F
  6530. return
  6531. }
  6532. return
  6533. }
  6534. }
  6535. }
  6536. return
  6537.  
  6538. ~Y::
  6539. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6540. {
  6541. return
  6542. }
  6543. if(IsPlayerInAnyVehicle() == "0")
  6544. {
  6545. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
  6546. }
  6547. else
  6548. {
  6549. SendChat("/lock")
  6550. }
  6551. return
  6552.  
  6553. !Y::
  6554. SendChat("/eat " . fischers . "")
  6555. fischers++
  6556. if(fischers == "6")
  6557. {
  6558. fischers=1
  6559. }
  6560. return
  6561.  
  6562.  
  6563. ~F2::
  6564. SendChat("/eat " . fischers . "")
  6565. fischers++
  6566. if(fischers == "6")
  6567. {
  6568. fischers=1
  6569. }
  6570. return
  6571.  
  6572.  
  6573. !X::
  6574. SendChat("/erstehilfe")
  6575. return
  6576.  
  6577.  
  6578.  
  6579. :?:/an::
  6580. Suspend Permit
  6581. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6582. {
  6583. if InStr(A_LoopReadLine, "Dein Handy klingelt. Tippe /pickup. Anrufer-ID: ")
  6584. {
  6585. RegExMatch(A_LoopReadLine, "Dein Handy klingelt\. Tippe /pickup\. Anrufer\-ID\: (.*)", var)
  6586. }
  6587. }
  6588. SendChat("/p")
  6589. SoundPlay, avixa.avi
  6590. if(var1 == "" || var1 == " " || var1 == " " || var1 == "-1")
  6591. {
  6592. var1 := "Sir "
  6593. }
  6594. GetPlayerName(Name)
  6595. StringTrimRight Anrufer, var1, 1
  6596. SendChat("Guten Tag " . Anrufer . ", Sie sprechen mit " . Name ".")
  6597. SendChat("Wie kann ich Ihnen behilflich sein?")
  6598. return
  6599.  
  6600.  
  6601. :?:/ab::
  6602. Suspend Permit
  6603. SoundPlay, xavi.avi
  6604. GetPlayerName(Name)
  6605. SendChat("/p")
  6606. SendChat("Guten Tag, Sie sind verbunden mit dem Anrufbeantworter von " . Name . ".")
  6607. Sleep 1000
  6608. SendChat("Leider habe ich keine Zeit, bitte versuchen Sie es später erneut.")
  6609. Sleep, 1000
  6610. SendChat("Auf Wiederhören.")
  6611. SendChat("/h")
  6612. return
  6613.  
  6614. :?:/jas::
  6615. Suspend Permit
  6616. SendChat("Ja Sir, was kann ich für Sie tun?")
  6617. return
  6618.  
  6619. :?:/jam::
  6620. Suspend Permit
  6621. SendChat("Ja Madam, was kann ich für Sie tun?")
  6622. return
  6623.  
  6624. :?:/ja::
  6625. SendChat("Ja, was kann ich für Sie tun?")
  6626. return
  6627.  
  6628. :?:/danke::
  6629. Suspend Permit
  6630. SendChat("Vielen Dank für Ihren Anruf. Schönen Tag noch.")
  6631. SendChat("/h")
  6632. return
  6633.  
  6634. :?:/tag::
  6635. Suspend Permit
  6636. FormatTime, Uhrzeit,, HH
  6637. if (Uhrzeit >= 12 && Uhrzeit < 20)
  6638. {
  6639. SendChat("Guten Tag, wie kann ich Ihnen behilflich sein?")
  6640. }
  6641. if (Uhrzeit >= 20 || Uhrzeit == 0)
  6642. {
  6643. SendChat("Guten Abend, wie kann ich Ihnen behilflich sein?")
  6644. }
  6645. if (Uhrzeit >= 1 && Uhrzeit < 12)
  6646. {
  6647. SendChat("Guten Morgen, wie kann ich Ihnen behilflich sein?")
  6648. }
  6649. return
  6650.  
  6651. :?:/bye::
  6652. Suspend Permit
  6653. FormatTime, Uhrzeit,, HH
  6654. if (Uhrzeit >= 12 && Uhrzeit < 20)
  6655. {
  6656. SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
  6657. }
  6658. if (Uhrzeit >= 20 || Uhrzeit == 0)
  6659. {
  6660. SendChat("Ich wünsche Ihnen noch einen schönen Abend. Auf Wiedersehen.")
  6661. }
  6662. if (Uhrzeit >= 1 && Uhrzeit < 12)
  6663. {
  6664. SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
  6665. }
  6666. return
  6667.  
  6668. :?:/on::
  6669. Suspend Permit
  6670. GetPlayerName(Name)
  6671. Titel = ""
  6672. IniRead, Fraktion, settings.ini, Daten, Fraktion
  6673. if(Fraktion == "SAPD" || Fraktion == "LSPD" || Fraktion == "LVPD")
  6674. {
  6675. Titel := "Officer"
  6676. SendChat("/hq " Titel " " Name " meldet sich zum Dienst.")
  6677. }
  6678. else if(Fraktion == "FBI")
  6679. {
  6680. Titel := "Agent"
  6681. SendChat("/hq " Titel " " Name " meldet sich zum Dienst.")
  6682. }
  6683. else
  6684. {
  6685. Titel := ""
  6686. SendChat("/hq " Name " meldet sich zum Dienst.")
  6687. }
  6688. SendChat("/hitsound")
  6689. SendChat("/pdmarker")
  6690. Sleep, 850
  6691. SendChat("/tog")
  6692. Sleep, 200
  6693. SendInput {enter}
  6694. return
  6695.  
  6696. ~m::
  6697. if(IsChatOpen() || IsDialogOpen() || IsMenuOpen())
  6698. return
  6699. SendChat("/members")
  6700. sleep 100
  6701. Zähler := 0
  6702. Loop, 100
  6703. {
  6704. GetChatLine(Zähler, Chat)
  6705. If(InStr(Chat, "Rang") || InStr(Chat, "Leader") || InStr(Chat, "Menba"))
  6706. Zähler++
  6707. else
  6708. {
  6709. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Von deiner Fraktion sind {FFBF00}" Zähler "{FFFFFF} Spieler online.")
  6710. return
  6711. }
  6712. }
  6713. return
  6714.  
  6715. :?:/members::
  6716. Suspend Permit
  6717. SendChat("/members")
  6718. sleep 100
  6719. Zähler := 0
  6720. Loop, 100
  6721. {
  6722. GetChatLine(Zähler, Chat)
  6723. If(InStr(Chat, "Rang") || InStr(Chat, "Leader") || InStr(Chat, "Menba"))
  6724. Zähler++
  6725. else
  6726. {
  6727. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es sind {FF8000}" Zähler "{FFFFFF} Beamte online.")
  6728. return
  6729. }
  6730. }
  6731. return
  6732. :?:/savestats::
  6733. Suspend Permit
  6734. FormatTime, StatsZeit, dd.MM.yyyy
  6735. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Statistiken werden gespeichert, Datum " StatsZeit)
  6736. SendChat("/time")
  6737. Sleep, 250
  6738. SendChat("/stats")
  6739. Sleep, 250
  6740. Send {F8}
  6741. Sleep, 250
  6742. Send {ESC}
  6743. return
  6744.  
  6745. :?:/relog::
  6746. Suspend Permit
  6747. SendInput /q{enter}
  6748. Sleep 3000
  6749. Suspend Off
  6750. RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\samp, gta_sa_exe
  6751. SplitPath, GTA_SA_EXE,, PFAD
  6752. run %PFAD%\samp.exe 37.187.135.201:7777, %PFAD%
  6753. return
  6754.  
  6755. :?:/fan::
  6756. Suspend Permit
  6757. Fan := PlayerInput("Fan-ID: ")
  6758.  
  6759. GetPlayerNameById(Fan, name)
  6760. SendChat("/me gibt " name " ein Autogramm.")
  6761. SendChat("/showbadge " Fan "")
  6762. return
  6763.  
  6764.  
  6765.  
  6766.  
  6767. :?:/cf::
  6768. Suspend Permit
  6769. SendChat("/cook fish 1")
  6770. Sleep,1000
  6771. SendChat("/cook fish 2")
  6772. Sleep,1000
  6773. SendChat("/cook fish 3")
  6774. Sleep,1000
  6775. SendChat("/cook fish 4")
  6776. Sleep,1000
  6777. SendChat("/cook fish 5")
  6778. Sleep,1000
  6779. return
  6780.  
  6781. :?:/re::
  6782. Suspend Permit
  6783. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6784. {
  6785. if InStr(A_LoopReadLine, ", Sender: " . Name)
  6786. continue
  6787. {
  6788. if InStr(A_LoopReadLine, ", Sender: ")
  6789. {
  6790. RegExMatch(A_LoopReadLine, ", Sender: .* \((.*)\)" ,SMS)
  6791. }
  6792. }
  6793. }
  6794. SendInput /sms %SMS1%{space}
  6795. return
  6796.  
  6797. :?:/read::
  6798. Suspend Permit
  6799. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6800. {
  6801. if InStr(A_LoopReadLine, "[Werbung] ")
  6802. {
  6803. RegExMatch(A_LoopReadLine, "\[Werbung\] (.*)\, (.*) \((.*)\)" ,AD)
  6804. }
  6805. }
  6806. SendInput /sms %AD3%{space}
  6807. return
  6808.  
  6809. ~,::
  6810. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6811. {
  6812. return
  6813. }
  6814. SendChat("Stoppuhr gestartet!")
  6815. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Um die Stoppuhr zu beenden, drücke '.'")
  6816. zeit=0
  6817. Loop,
  6818. {
  6819. zeit++
  6820. KeyWait, ., D T1
  6821. If !ErrorLevel
  6822. {
  6823. If ( Prüfungszeit < 1000)
  6824. {
  6825. minuten=%zeit%
  6826. minuten/=60
  6827. minuten1=%minuten%
  6828. minuten1*=60
  6829. sekunden=%zeit%
  6830. sekunden-=%minuten1%
  6831. SendChat("Stoppuhr gestoppt. Minute: " . minuten . " Sekunden: " . Sekunden)
  6832. SendChat("Gesamt: " . zeit . " Sekunden")
  6833. break
  6834. }
  6835. }
  6836. }
  6837. return
  6838.  
  6839.  
  6840. :?:/fischen::
  6841. Suspend Permit
  6842. If (IsPlayerinAnyInterior() == 1)
  6843. {
  6844.  
  6845. Geld_vorher := GetPlayerMoney()
  6846. SendChat("/sell fish 1")
  6847. sleep 200
  6848. GetChatLine(0, chat)
  6849. if(InStr(chat, "Du bist in keinem 24-7!"))
  6850. {
  6851. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Verkaufen abgebrochen. Bitte gehe in einen 24-7 Shop.")
  6852. return
  6853. }
  6854. Sleep, 300
  6855. SendChat("/sell fish 2")
  6856. sleep 500
  6857. SendChat("/sell fish 3")
  6858. sleep 500
  6859. SendChat("/sell fish 4")
  6860. sleep 500
  6861. SendChat("/sell fish 5")
  6862. sleep 500
  6863. Geld_nachher := GetPlayerMoney()
  6864. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Deine Fische wurden verkauft, du hast insgesamt {3ADF00}" Geld_nachher - Geld_vorher "{FFFFFF}$ verdient.")
  6865. return
  6866. }
  6867. else
  6868. {
  6869.  
  6870. Loop
  6871. {
  6872. Sleep, 600
  6873. SendChat("/fish")
  6874. ;~ sleep, 800
  6875. Sleep, 200
  6876. GetChatLine(0, chat)
  6877. 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."))
  6878. {
  6879. if(InStr(chat, "Du kannst momentan nicht Angeln. Bitte warte einige Minuten."))
  6880. {
  6881. SetTimer, Fischen, 1200000 ;20 Minuten
  6882.  
  6883. }
  6884.  
  6885. Loop 25
  6886. {
  6887. fischges += fisch%A_Index%
  6888. }
  6889. if(fischges > 0)
  6890. {
  6891. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du würdest für deine Fische {3ADF00}" fischges "{FFFFFF}$ bekommen.")
  6892. fischLBS := fischLBSGesamt / 3
  6893. fischLBS := Round(fischLBS, 0)
  6894. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du würdest mit deinen Fischen {3ADF00}" fischLBS "{FFFFFF} HP generieren.")
  6895. Loop 25
  6896. {
  6897. fisch%A_Index% := 0
  6898. }
  6899. fischges := 0
  6900. fischLBS := 0
  6901. fischLBSGesamt := 0
  6902. }
  6903.  
  6904. break
  6905. }
  6906. if(InStr(chat, "Du hast ein/e ") AND RegExMatch(chat, "Du hast ein/e (.*) mit (.*) LBS gefangen.", chat))
  6907. {
  6908. if(chat1 == "Bernfisch")
  6909. {
  6910. fischLBSGesamt += chat2
  6911. fisch%A_Index% := chat2 * 1
  6912. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6913. }
  6914. else if(chat1 == "Blauer Fächerfisch")
  6915. {
  6916. fischLBSGesamt += chat2
  6917. fisch%A_Index% := chat2 * 2
  6918. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6919. }
  6920. else if(chat1 == "Zackenbarsch")
  6921. {
  6922. fischLBSGesamt += chat2
  6923. fisch%A_Index% := chat2 * 3
  6924. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6925. }
  6926. else if(chat1 == "Schwertfisch")
  6927. {
  6928. fischLBSGesamt += chat2
  6929. fisch%A_Index% := chat2 * 3
  6930. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6931. }
  6932. else if(chat1 == "Roter Schnapper")
  6933. {
  6934. fischLBSGesamt += chat2
  6935. fisch%A_Index% := chat2 * 3
  6936. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6937. }
  6938. else if(chat1 == "Katzenfisch")
  6939. {
  6940. fischLBSGesamt += chat2
  6941. fisch%A_Index% := chat2 * 4
  6942. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6943. }
  6944. else if(chat1 == "Forelle")
  6945. {
  6946. fischLBSGesamt += chat2
  6947. fisch%A_Index% := chat2 * 5
  6948. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6949. }
  6950. else if(chat1 == "Segelfisch")
  6951. {
  6952. fischLBSGesamt += chat2
  6953. fisch%A_Index% := chat2 * 7
  6954. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6955. }
  6956. else if(chat1 == "Hai")
  6957. {
  6958. fischLBSGesamt += chat2
  6959. fisch%A_Index% := chat2 * 7
  6960. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6961. }
  6962. else if(chat1 == "Delphin")
  6963. {
  6964. fischLBSGesamt += chat2
  6965. fisch%A_Index% := chat2 * 7
  6966. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6967. }
  6968. else if(chat1 == "Makrele")
  6969. {
  6970. fischLBSGesamt += chat2
  6971. fisch%A_Index% := chat2 * 8
  6972. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6973. }
  6974. else if(chat1 == "Hecht")
  6975. {
  6976. fischLBSGesamt += chat2
  6977. fisch%A_Index% := chat2 * 9
  6978. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6979. }
  6980. else if(chat1 == "Aal")
  6981. {
  6982. fischLBSGesamt += chat2
  6983. fisch%A_Index% := chat2 * 9
  6984. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6985. }
  6986. else if(chat1 == "Schildkröte")
  6987. {
  6988. fischLBSGesamt += chat2
  6989. fisch%A_Index% := chat2 * 10
  6990. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6991. }
  6992. else if(chat1 == "Thunfisch")
  6993. {
  6994. fischLBSGesamt += chat2
  6995. fisch%A_Index% := chat2 * 12
  6996. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  6997. }
  6998. else if(chat1 == "Wolfbarsch")
  6999. {
  7000. fischLBSGesamt += chat2
  7001. fisch%A_Index% := chat2 * 12
  7002. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
  7003. }
  7004. ;~ sleep 850
  7005. continue
  7006. }
  7007. ;~ else
  7008. ;~ {
  7009. ;~ sleep 200
  7010. ;~ }
  7011. }
  7012. }
  7013. return
  7014.  
  7015. Fischen:
  7016. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du kannst nun wieder am Angelsteg angeln.")
  7017. SetTimer, Fischen, off
  7018. return
  7019.  
  7020. :?:/chat::
  7021. Suspend Permit
  7022. AddChatMessage(0xFFFFFF, " ")
  7023. AddChatMessage(0xFFFFFF, " ")
  7024. AddChatMessage(0xFFFFFF, " ")
  7025. AddChatMessage(0xFFFFFF, " ")
  7026. AddChatMessage(0xFFFFFF, " ")
  7027. AddChatMessage(0xFFFFFF, " ")
  7028. AddChatMessage(0xFFFFFF, " ")
  7029. AddChatMessage(0xFFFFFF, " ")
  7030. AddChatMessage(0xFFFFFF, " ")
  7031. AddChatMessage(0xFFFFFF, " ")
  7032. AddChatMessage(0xFFFFFF, " ")
  7033. AddChatMessage(0xFFFFFF, " ")
  7034. AddChatMessage(0xFFFFFF, " ")
  7035. AddChatMessage(0xFFFFFF, " ")
  7036. AddChatMessage(0xFFFFFF, " ")
  7037. AddChatMessage(0xFFFFFF, " ")
  7038. AddChatMessage(0xFFFFFF, " ")
  7039. AddChatMessage(0xFFFFFF, " ")
  7040. AddChatMessage(0xFFFFFF, " ")
  7041. AddChatMessage(0xFFFFFF, " ")
  7042. AddChatMessage(0xFFFFFF, " ")
  7043. AddChatMessage(0xFFFFFF, " ")
  7044. return
  7045.  
  7046. :?:/alotto::
  7047. Suspend Permit
  7048. Random, rand, 1, 200
  7049. SendChat("/lotto " rand)
  7050. return
  7051.  
  7052. ;------------------------------------------------------------------------------------------
  7053. ~P::
  7054. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7055. {
  7056. return
  7057. }
  7058. if(PoliceID != "X")
  7059. {
  7060. RestartCodes()
  7061. text := GetTextByCodeWithoutCode("10-20")
  7062. if(text != "-1")
  7063. {
  7064. SendChat("/hq " . text . "")
  7065. }
  7066. }
  7067. else
  7068. {
  7069. GetCityName(city)
  7070. GetZoneName(zone)
  7071. If (city == "" || city == "Unbekannt")
  7072. {
  7073. SendChat("/hq Ich befinde mich derzeit in " zone ".")
  7074. }
  7075. else
  7076. {
  7077. SendChat("/hq Ich befinde mich derzeit in " zone ", " city ".")
  7078. }
  7079. }
  7080. return
  7081.  
  7082.  
  7083. ^P::
  7084. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7085. {
  7086. return
  7087. }
  7088. if(PoliceID != "X")
  7089. {
  7090. RestartCodes()
  7091. text := GetTextByCodeWithoutCode("10-20")
  7092. if(text != "-1")
  7093. {
  7094. SendChat("/d " . text . "")
  7095. }
  7096. }
  7097. else
  7098. {
  7099. GetCityName(city)
  7100. GetZoneName(zone)
  7101. If (city == "" || city == "Unbekannt")
  7102. {
  7103. SendChat("/d HQ: Ich befinde mich derzeit in " zone ".")
  7104. }
  7105. else
  7106. {
  7107. SendChat("/d HQ: Ich befinde mich derzeit in " zone ", " city "")
  7108. }
  7109. }
  7110. return
  7111.  
  7112. !^P::
  7113. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7114. {
  7115. return
  7116. }
  7117. if(PoliceID != "X")
  7118. {
  7119. RestartCodes()
  7120. text := GetTextByCodeWithoutCode("10-20")
  7121. if(text != "-1")
  7122. {
  7123. SendChat("/r " . text . "")
  7124. }
  7125. }
  7126. else
  7127. {
  7128. GetCityName(city)
  7129. GetZoneName(zone)
  7130. If (city == "" || city == "Unbekannt")
  7131. {
  7132. SendChat("/r HQ: Ich befinde mich derzeit in " zone ".")
  7133. }
  7134. else
  7135. {
  7136. SendChat("/r HQ: Ich befinde mich derzeit in " zone ", " city "")
  7137. }
  7138. }
  7139. return
  7140.  
  7141.  
  7142.  
  7143. :?:/abholung::
  7144. Suspend Permit
  7145. if(PoliceID != "X")
  7146. {
  7147. RestartCodes()
  7148. text := GetTextByCodeWithoutCode("10-14-1")
  7149. if(text != "-1")
  7150. {
  7151. SendChat("/hq " . text . "")
  7152. }
  7153. }
  7154. else
  7155. {
  7156. GetZoneName(MyZone)
  7157. GetCityName(City)
  7158. If (city == "" || city == "Unbekannt")
  7159. {
  7160. SendChat("/hq Erbitte Abholung in " MyZone ".")
  7161. }
  7162. else
  7163. {
  7164. SendChat("/hq Erbitte Abholung in "MyZone ", " city ".")
  7165. }
  7166. }
  7167. return
  7168.  
  7169. :?:/kabholung::
  7170. Suspend Permit
  7171. if(PoliceID != "X")
  7172. {
  7173. RestartCodes()
  7174. text := GetTextByCodeWithoutCode("10-14-2")
  7175. if(text != "-1")
  7176. {
  7177. SendChat("/hq " . text . "")
  7178. }
  7179. }
  7180. else
  7181. {
  7182. SendChat("/hq Eine Abholung wird nicht mehr benötigt.")
  7183. }
  7184. return
  7185.  
  7186. :?:/stw::
  7187. Suspend Permit
  7188. GetZoneName(MyZone)
  7189. GetCityName(City)
  7190. If (city == "" || city == "Unbekannt")
  7191. {
  7192. SendChat("/d HQ: Ich benötige einen Streifenwagen in " MyZone ".")
  7193. }
  7194. else
  7195. {
  7196. SendChat("/d HQ: Ich benötige einen Streifenwagen in "MyZone ", " city ".")
  7197. }
  7198. return
  7199.  
  7200. :?:/beweise::
  7201. Suspend Permit
  7202. SendChat("Haben Sie Beweise dafür, z.B. einen Screenshot?")
  7203. return
  7204.  
  7205. :?:/uc::
  7206. Suspend Permit
  7207. SendInput, /undercover{space}
  7208. return
  7209.  
  7210. :?:/auc::
  7211. Suspend Permit
  7212. Random, skin,1,34
  7213. SendChat("/undercover " skin)
  7214. return
  7215.  
  7216.  
  7217.  
  7218. ;~ :?:/search::
  7219. ;~ Suspend Permit
  7220. ;~ if(pOn == 1)
  7221. ;~ {
  7222. ;~ if(sOn == 0)
  7223. ;~ {
  7224. ;~ SendInput, Gebe die Verbrecher ID ein:{Space}
  7225. ;~ Input, caID, V I M,{Enter}
  7226. ;~ SendInput {end}+{home}{Del}{Esc}
  7227. ;~
  7228. ;~ GetPlayerNameById(caID, Verbrechername)
  7229. ;~ GetPlayerNameById(Partner, partnername)
  7230. ;~ if(partnername == -1)
  7231. ;~ {
  7232. ;~ AddChatMessage(0xFFFFFF, "Dieser Spieler ist nicht Online.")
  7233. ;~ }
  7234. ;~ else
  7235. ;~ {
  7236. ;~ SendChat("/d HQ: " . partnername . " und ich übernehmen die Verfolgung von " . Verbrechername . ".")
  7237. ;~ sOn=1
  7238. ;~ }
  7239. ;~ }
  7240. ;~ else
  7241. ;~ {
  7242. ;~ SendChat("/d HQ: Wir haben die Verfolgung beendet!")
  7243. ;~ sOn=0
  7244. ;~ }
  7245. ;~ }
  7246. ;~ else
  7247. ;~ {
  7248. ;~ if(sOn == 0)
  7249. ;~ {
  7250. ;~ SendInput, Gebe die Verbrecher ID ein:{Space}
  7251. ;~ Input, caID, V I M,{Enter}
  7252. ;~ SendInput {end}+{home}{Del}{Esc}
  7253. ;~
  7254. ;~ GetPlayerNameById(caID, Verbrechername)
  7255. ;~ if(partnername == -1)
  7256. ;~ {
  7257. ;~ AddChatMessage(0xFFFFFF, "Dieser Spieler ist nicht Online.")
  7258. ;~ }
  7259. ;~ else
  7260. ;~ {
  7261. ;~ SendChat("/d HQ: Ich übernehmen die Verfolgung von " . Verbrechername . ".")
  7262. ;~ sOn=1
  7263. ;~ }
  7264. ;~ }
  7265. ;~ else
  7266. ;~ {
  7267. ;~ SendChat("/d HQ: Ich haben die Verfolgung beendet!")
  7268. ;~ sOn=0
  7269. ;~ }
  7270. ;~ }
  7271. ;~ return
  7272.  
  7273. :?:/vf::
  7274. Suspend Permit
  7275. if(PoliceID != "X")
  7276. {
  7277. RestartCodes()
  7278. text := GetTextByCodeWithoutCode("10-57-1")
  7279. if(text != "-1")
  7280. {
  7281. SendChat("/f " . text . "")
  7282. }
  7283. }
  7284. else
  7285. {
  7286. GetPlayerName(myName)
  7287. id := PlayerInput("Verbrecher-ID: ")
  7288. if(IsNumeric(id))
  7289. {
  7290. GetPlayerNameByID(id, Verbrechername)
  7291. }
  7292. SendChat("/r " myName " verfolgt nun " Verbrechername)
  7293.  
  7294. if(id != "")
  7295. {
  7296. SetTimer, Find,Off
  7297. findid := id
  7298. SendChat("/find " findid)
  7299. SetTimer, Find,6000
  7300. }
  7301. }
  7302. return
  7303.  
  7304. :?:/verfolgung::
  7305. Suspend Permit
  7306. verbrecher := PlayerInput("Verbrecher-ID | Voller Name: ")
  7307. if(verbrecher < 0 || verbrecher > 400)
  7308. {
  7309. caID := GetPlayerIDByName(verbrecher)
  7310. verbrecher=%caID%
  7311. }
  7312. GetPlayerNameById(caID, Verbrechername)
  7313. if(verbrechername == -1)
  7314. {
  7315. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
  7316. }
  7317. else
  7318. {
  7319. SendChat("/r HQ: Erbitte Unterstützung bei der Verfolgung von " verbrechername " (" verbrecher ").")
  7320. }
  7321. return
  7322.  
  7323. :?:/ort::
  7324. Suspend Permit
  7325. ort := PlayerInput("Letzter bekannter Aufenthaltsort: ")
  7326. SendChat("/r Letzter bekannter Aufenthaltsort: " ort ".")
  7327. return
  7328.  
  7329. :?:/luft::
  7330. Suspend Permit
  7331. GetZoneName(MyZone)
  7332. GetCityName(City)
  7333. If (city == "" || city == "Unbekannt")
  7334. {
  7335. SendChat("/r HQ: Fordere Luftüberwachung im Sektor "MyZone " an.")
  7336. }
  7337. else
  7338. {
  7339. SendChat("/r HQ: Fordere Luftüberwachung im Sektor "MyZone ", " city " an.")
  7340. }
  7341. return
  7342.  
  7343.  
  7344. :?:/settax::
  7345. Suspend Permit
  7346. SendCHat("/tax")
  7347. Sleep 250
  7348. GetChatLine(0, chat1)
  7349. RegExMatch(chat1, "{00FF33}Steuerklasse 4: (.*) Prozent", haha)
  7350. Steuersatz=100
  7351. Steuersatz-=%haha1%
  7352. Steuerlappen=0.%Steuersatz%
  7353. IniWrite, %Steuerlappen%, settings.ini, Steuern, Steuersatz
  7354. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Steuersatz hat sich auf {FF8000}" . haha1 . "{FFFFFF} Prozent gesetzt.")
  7355. return
  7356.  
  7357.  
  7358.  
  7359. :?:/partner1::
  7360. Suspend Permit
  7361. if(Partner1 == -1)
  7362. {
  7363. SendInput, Gebe deine Partner ID ein:{Space}
  7364. Input, caID, V I M,{Enter}
  7365. SendInput {end}+{home}{Del}{Esc}
  7366. Partner1=%caID%
  7367.  
  7368. if(Partner1 < 0 || Partner1 > 400)
  7369. {
  7370. caID := GetPlayerIDByName(Partner1)
  7371. Partner1=%caID%
  7372. }
  7373. GetPlayerNameById(caID, partnername1)
  7374. if(partnername1 == "" || partnername1 == " ")
  7375. {
  7376. partnername1 := "ID " . caID . ""
  7377. }
  7378. if(partnername1 == -1)
  7379. {
  7380. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
  7381. Partner1 := -1
  7382. }
  7383. else
  7384. {
  7385. SendChat("/d " . partnername1 . " wurde als Streifenpartner [1] eingetragen.")
  7386. AddChatMessage(0xDF0101, "[Calibinder] {FFBF00}" partnername1 "{FFFFFF} wurde als Streifenpartner (1) eingetragen.")
  7387. Sleep, 200
  7388. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  7389. if(Steuersatz < 0 || Steuersatz > 1)
  7390. {
  7391. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es wurde noch kein Steuersatz eingetragen, nutze bitte {FF8000}/settax{FFFFFF} oder {FF8000}/updatesteuersatz")
  7392. }
  7393.  
  7394. }
  7395. }
  7396. else
  7397. {
  7398. ;~ pOn = 0
  7399. SendChat("/d Der Streifenpartner [1] wurde entfernt.")
  7400. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Streifenpartner (1) wurde entfernt.")
  7401. Partner1 := -1
  7402. Partnername := -1
  7403. }
  7404.  
  7405. if(Streife == 1)
  7406. {
  7407. AnzahlPersonen := 1
  7408. AnzahlPersonen += ErmittelPartnerZahl()
  7409. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  7410. }
  7411. return
  7412.  
  7413. :?:/partner2::
  7414. Suspend Permit
  7415. if(Partner2 == -1)
  7416. {
  7417. SendInput, Gebe deine Partner ID ein:{Space}
  7418. Input, caID, V I M,{Enter}
  7419. SendInput {end}+{home}{Del}{Esc}
  7420. Partner2=%caID%
  7421.  
  7422. if(Partner2 < 0 || Partner2 > 400)
  7423. {
  7424. caID := GetPlayerIDByName(Partner2)
  7425. Partner2=%caID%
  7426. }
  7427. GetPlayerNameById(caID, partnername2)
  7428. if(partnername2 == "" || partnername2 == " ")
  7429. {
  7430. partnername2 := "ID " . caID . ""
  7431. }
  7432. if(partnername2 == -1)
  7433. {
  7434. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
  7435. Partner2 := -1
  7436. }
  7437. else
  7438. {
  7439. SendChat("/hq " . partnername2 . " wurde als Streifenpartner (2) eingetragen.")
  7440. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" partnername2 "{FFFFFF} wurde als Streifenpartner (2) eingetragen.")
  7441. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  7442. if(Steuersatz < 0 || Steuersatz > 1)
  7443. {
  7444. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es wurde noch kein Steuersatz eingetragen, nutze bitte {FF8000}/settax{FFFFFF} oder {FF8000}/updatesteuersatz{FFFFFF}.")
  7445. }
  7446. }
  7447. }
  7448. else
  7449. {
  7450. SendChat("/hq Der Streifenpartner (2) wurde entfernt.")
  7451. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Streifenpartner (2) wurde entfernt.")
  7452. Partner2 := -1
  7453. Partnername := -1
  7454. }
  7455. if(Streife == 1)
  7456. {
  7457. AnzahlPersonen := 1
  7458. AnzahlPersonen += ErmittelPartnerZahl()
  7459. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  7460. }
  7461. return
  7462.  
  7463. :?:/partner3::
  7464. Suspend Permit
  7465. if(Partner3 == -1)
  7466. {
  7467. SendInput, Gebe deine Partner ID ein:{Space}
  7468. Input, caID, V I M,{Enter}
  7469. SendInput {end}+{home}{Del}{Esc}
  7470. Partner3=%caID%
  7471.  
  7472. if(Partner3 < 0 || Partner3 > 400)
  7473. {
  7474. caID := GetPlayerIDByName(Partner3)
  7475. Partner1=%caID%
  7476. }
  7477. GetPlayerNameById(caID, partnername3)
  7478. if(partnername3 == "" || partnername3 == " ")
  7479. {
  7480. partnername3 := "ID " . caID . ""
  7481. }
  7482. if(partnername3 == -1)
  7483. {
  7484. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
  7485. Partner3 := -1
  7486. }
  7487. else
  7488. {
  7489. SendChat("/hq " . partnername3 . " wurde als Streifenpartner (3) eingetragen.")
  7490. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" partnername3 "{FFFFFF} wurde als Streifenpartner (3) eingetragen.")
  7491. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  7492. if(Steuersatz < 0 || Steuersatz > 1)
  7493. {
  7494. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es wurde noch kein Steuersatz eingetragen, nutze bitte {FF8000}/settax{FFFFFF} oder {FF8000}/updatesteuersatz{FFFFFF}.")
  7495. }
  7496.  
  7497. }
  7498. }
  7499. else
  7500. {
  7501. SendChat("/hq Der Streifenpartner (3) wurde entfernt.")
  7502. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Streifenpartner (3) wurde entfernt.")
  7503. Partner3 := -1
  7504. Partnername := -1
  7505. }
  7506. if(Streife == 1)
  7507. {
  7508. AnzahlPersonen := 1
  7509. AnzahlPersonen += ErmittelPartnerZahl()
  7510. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  7511. }
  7512. return
  7513.  
  7514. :?:/partners::
  7515. Suspend Permit
  7516.  
  7517.  
  7518. If(Partner1 > -1)
  7519. {
  7520. GetPlayerNameByID(Partner1, partnername1_temp)
  7521. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}1. Streifenpartner: " partnername1_temp " [ID: " Partner1 "]")
  7522. }
  7523. else
  7524. {
  7525. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}1. Streifenpartner: / ")
  7526. }
  7527.  
  7528. if(Partner2 > -1)
  7529. {
  7530. GetPlayerNameByID(Partner2, partnername2_temp)
  7531. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}2. Streifenpartner: " partnername2_temp " [ID: " Partner2 "]")
  7532. }
  7533. else
  7534. {
  7535. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}2. Streifenpartner: / ")
  7536. }
  7537.  
  7538. if(Partner3 > -1)
  7539. {
  7540. GetPlayerNameByID(partner3, partnername3_temp)
  7541. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}3. Streifenpartner: " partnername3_temp " [ID: " Partner3 "]")
  7542. }
  7543. else
  7544. {
  7545. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}3. Streifenpartner: / ")
  7546. }
  7547. return
  7548.  
  7549.  
  7550. :?:/wt::
  7551. Suspend Permit
  7552. ID := PlayerInput("Spieler-ID: ")
  7553. if(ID != "" && ID != " ")
  7554. {
  7555. Grund := PlayerInput("Wantedgrund: ")
  7556. if(Grund != "" && Grund != " ")
  7557. {
  7558. SendChat("/d HQ: Bitte ID " ID " Wanteds eintragen, Grund: " Grund ".")
  7559. }
  7560. }
  7561. return
  7562.  
  7563. :?:/kontrolle::
  7564. Suspend Permit
  7565. SendInput, /frisk{Space}
  7566. Input, caID, V I M,{Enter}
  7567. Send {Enter}
  7568. SendChat("/waffen " . caID . "")
  7569. Sleep 2000
  7570. SendChat("/alktest " . caID . "")
  7571. return
  7572.  
  7573.  
  7574. :?:/warten::
  7575. Suspend Permit
  7576. SendChat("/l Bitte warten Sie einen Moment, ich überprüfe die Gültigkeit Ihrer Dokumente.")
  7577. return
  7578.  
  7579. :?:/rechte::
  7580. Suspend Permit
  7581. SendChat("Sie haben das Recht zu schweigen. Alles was Sie sagen, kann und wird gegen Sie verwendet werden.")
  7582. Sleep, 1500
  7583. SendChat("Sie haben das Recht einen Verteidiger hinzuziehen.")
  7584. Sleep, 2000
  7585. SendChat("Haben Sie die Rechte verstanden, die ich Ihnen soeben vorgelesen habe?")
  7586. return
  7587.  
  7588. :?:/passieren::
  7589. Suspend Permit
  7590. SendChat("Sie dürfen passieren.")
  7591. SendChat("Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
  7592. return
  7593.  
  7594. :?:/runter::
  7595. Suspend Permit
  7596. SendChat("/l Steigen Sie bitte umgehend vom Fahrzeug.")
  7597. Sleep, 750
  7598. SendChat("/l Ansonsten sind wir gezwungen Sie wegen Verweigerung zu verhaften.")
  7599. return
  7600.  
  7601. ~2::
  7602. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7603. {
  7604. SendInput, {A_ThisHotkey}
  7605. return
  7606. }
  7607. SendChat("/l Guten Tag Sir, dürfen wir Sie auf Drogen und Waffenbesitz überprüfen?")
  7608. SendChat("/l Sollten Sie sich weigern, bekommen Sie ein Wanted und werden verhaftet!")
  7609. Sleep, 850
  7610. SendChat("/l Bitte antworten Sie mit 'Ja' oder 'Nein'.")
  7611. return
  7612.  
  7613.  
  7614. ~3::
  7615. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7616. {
  7617. SendInput, {A_ThisHotkey}
  7618. return
  7619. }
  7620. playerid := GetPlayerID()
  7621. if(playerid == "" || playerid == " " || playerid == "65535")
  7622. {
  7623. UpdateServerData()
  7624. playerid := GetPlayerID()
  7625. if(playerid == "" || playerid == " " || playerid == "65535")
  7626. {
  7627. playerid := name
  7628. }
  7629. }
  7630. SendChat("/l Bitte zeigen Sie mir Ihre Scheine. (/scheine " . playerid . ")")
  7631. return
  7632.  
  7633. ~4::
  7634. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7635. {
  7636. SendInput, {A_ThisHotkey}
  7637. return
  7638. }
  7639. SendChat("Vielen Dank für Ihre Kooperation.")
  7640. return
  7641.  
  7642. ~5::
  7643. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7644. {
  7645. SendInput, {A_ThisHotkey}
  7646. return
  7647. }
  7648. SendChat("/l Steigen Sie bitte aus Ihrem Fahrzeug.")
  7649. return
  7650.  
  7651. ~6::
  7652. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7653. {
  7654. SendInput, {A_ThisHotkey}
  7655. return
  7656. }
  7657. SendChat("/l Sie sind vorläufig festgenommen, steigen Sie bitte in das Dienstfahrzeug.")
  7658. return
  7659.  
  7660. ~7::
  7661. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7662. {
  7663. SendInput, {A_ThisHotkey}
  7664. return
  7665. }
  7666. SendChat("/l Sie sind vorläufig festgenommen, bitte laufen Sie zu den Zellen des Police Departments.")
  7667. return
  7668.  
  7669. ~8::
  7670. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7671. {
  7672. SendInput, {A_ThisHotkey}
  7673. return
  7674. }
  7675. SendChat("/ram")
  7676. return
  7677.  
  7678. ~9::
  7679. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7680. {
  7681. SendInput, {A_ThisHotkey}
  7682. return
  7683. }
  7684. id := PlayerInput("Grab: ")
  7685. SendChat("/grab " id)
  7686. return
  7687.  
  7688. ;~ !9::
  7689. ;~ if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7690. ;~ {
  7691. ;~ return
  7692. ;~ }
  7693. ;~ SendInput, t/ungrab{space}
  7694. ;~ return
  7695.  
  7696. ~B::
  7697. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7698. {
  7699. return
  7700. }
  7701. if(IsPlayerInAnyVehicle() == "0")
  7702. {
  7703. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
  7704. }
  7705. else
  7706. {
  7707. SendChat("/uclight")
  7708. }
  7709. return
  7710.  
  7711. ~J::
  7712. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7713. {
  7714. return
  7715. }
  7716. if(IsPlayerInAnyVehicle() == "0")
  7717. {
  7718. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
  7719. }
  7720. else
  7721. {
  7722. SendChat("/policelight")
  7723. }
  7724. return
  7725.  
  7726.  
  7727. ~I::
  7728. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7729. {
  7730. return
  7731. }
  7732. SendChat("/l Bitte stecken Sie umgehend Ihre Waffen ein.")
  7733. return
  7734.  
  7735. !E::
  7736. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7737. {
  7738. return
  7739. }
  7740. SendInput, t/eject{space}
  7741. return
  7742.  
  7743. ~ä::
  7744. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7745. {
  7746. return
  7747. }
  7748. SendInput t{up}{enter}
  7749. return
  7750.  
  7751.  
  7752.  
  7753.  
  7754.  
  7755.  
  7756.  
  7757. ^Numpad0::
  7758. id := PlayerInput("Rote Ampel missachtet: ")
  7759. SendChat("/punkte " id " 2 Missachtung roter Ampeln")
  7760. return
  7761.  
  7762. ^Numpad1::
  7763. id := PlayerInput("SVG: ")
  7764. SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
  7765. return
  7766.  
  7767. ^Numpad2::
  7768. id := PlayerInput("Falsche Seite: ")
  7769. SendChat("/punkte " id " 2 Fahren auf der falschen Straßenseite")
  7770. return
  7771.  
  7772. ^Numpad3::
  7773. id := PlayerInput("Zu schnell: ")
  7774. SendChat("/punkte " id " 2 Überschreitung der Höchstgeschwindigkeit")
  7775. return
  7776.  
  7777. ^Numpad4::
  7778. id := PlayerInput("Vorfahrt: ")
  7779. SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
  7780. return
  7781.  
  7782. ^Numpad5::
  7783. id := PlayerInput("Abseits: ")
  7784. SendChat("/punkte " id " 2 Fahren abseits der Straße")
  7785. return
  7786.  
  7787. ^Numpad6::
  7788. id := PlayerInput("Ohne Licht: ")
  7789. SendChat("/punkte " id " 1 Fahren ohne Licht")
  7790. return
  7791.  
  7792. ^Numpad7::
  7793. GetZoneName(MyZone)
  7794. id := PlayerInput("Parkverbot: ")
  7795. SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
  7796. return
  7797.  
  7798. ^Numpad8::
  7799. id := PlayerInput("SVB: ")
  7800. SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
  7801. return
  7802.  
  7803. ^Numpad9::
  7804. id := PlayerInput("Alkoholeinfluss: ")
  7805. SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
  7806. return
  7807.  
  7808.  
  7809.  
  7810. ~NumpadDot::
  7811. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7812. {
  7813. return
  7814. }
  7815. SendChat("/m >> Bitte halten Sie sich an die Straßenverkehrsordnung <<")
  7816. return
  7817.  
  7818.  
  7819. ~Numpad0::
  7820. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7821. {
  7822. return
  7823. }
  7824. if(watermode == 1)
  7825. {
  7826. SendChat("/m >> Küstenwache, bitte folgen Sie dem Boot <<")
  7827. }
  7828. else if(swatmode == 1)
  7829. {
  7830. SendChat("/m >> SWAT, " . Swatabteilung . " bitte folgen Sie dem Einsatzfahrzeug <<")
  7831. }
  7832. else
  7833. {
  7834. If(Abteilung = "" || Abteilung = "ERROR")
  7835. {
  7836. SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen <<")
  7837. }
  7838. else
  7839. {
  7840. SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen <<")
  7841. }
  7842. }
  7843. return
  7844.  
  7845. ~Numpad1::
  7846. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7847. {
  7848. SendInput, {A_ThisHotkey}
  7849. return
  7850. }
  7851. if(watermode == 1)
  7852. {
  7853. SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an <<")
  7854. }
  7855. else if(swatmode == 1)
  7856. {
  7857. SendChat("/m >> SWAT, " . Swatabteilung . " Straßenverkehrskontrolle. Fahren Sie SOFORT rechts ran! <<")
  7858. }
  7859. else
  7860. {
  7861. If(Abteilung = "" || Abteilung = "ERROR")
  7862. {
  7863. SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
  7864. }
  7865. else
  7866. {
  7867. SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
  7868. }
  7869. }
  7870. return
  7871.  
  7872. ~Numpad2::
  7873. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7874. {
  7875. SendInput, {A_ThisHotkey}
  7876. return
  7877. }
  7878. if(watermode == 1)
  7879. {
  7880. SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot! <<")
  7881. }
  7882. else if(swatmode == 1)
  7883. {
  7884. SendChat("/m >> SWAT, " . Swatabteilung . " halten Sie SOFORT an!<<")
  7885. }
  7886. else
  7887. {
  7888. If(Abteilung = "" || Abteilung = "ERROR")
  7889. {
  7890. SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an! <<")
  7891. }
  7892. else
  7893. {
  7894. SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an!<<")
  7895. }
  7896. SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen! <<")
  7897.  
  7898.  
  7899. }
  7900. return
  7901.  
  7902. ~Numpad3::
  7903. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7904. {
  7905. SendInput, {A_ThisHotkey}
  7906. return
  7907. }
  7908. SendChat("/m >> Unterlassen Sie umgehend die Verfolgung <<")
  7909. return
  7910.  
  7911. ~Numpad4::
  7912. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7913. {
  7914. SendInput, {A_ThisHotkey}
  7915. return
  7916. }
  7917. SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug! <<")
  7918. return
  7919.  
  7920. ~Numpad5::
  7921. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7922. {
  7923. SendInput, {A_ThisHotkey}
  7924. return
  7925. }
  7926. if(watermode == 1)
  7927. {
  7928. SendChat("/m >> Küstenwache, fahren Sie SOFORT zur Seite! <<")
  7929. }
  7930. else if(swatmode == 1)
  7931. {
  7932. SendChat("/m >> SWAT, " . Swatabteilung . " räumen Sie SOFORT die Straße! <<")
  7933. }
  7934. else
  7935. {
  7936. If(Abteilung = "" || Abteilung = "ERROR")
  7937. {
  7938. SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße! <<")
  7939. }
  7940. else
  7941. {
  7942. SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße! <<")
  7943. }
  7944. }
  7945. return
  7946.  
  7947. ~Numpad6::
  7948. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7949. {
  7950. SendInput, {A_ThisHotkey}
  7951. return
  7952. }
  7953. if(swatmode == 1)
  7954. {
  7955. SendChat("/m >> SWAT, " . Swatabteilung . " Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
  7956. }
  7957. else
  7958. {
  7959. SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
  7960. }
  7961. return
  7962.  
  7963. ~Numpad9::
  7964. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7965. {
  7966. SendInput, {A_ThisHotkey}
  7967. return
  7968. }
  7969. SendChat("/m >> Verlassen Sie SOFORT dieses Gelände! <<")
  7970. return
  7971.  
  7972. ~ß::
  7973. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7974. {
  7975. return
  7976. }
  7977. SendChat("/m >> Verlassen Sie SOFORT dieses Gebäude! <<")
  7978. return
  7979.  
  7980. ~Numpad7::
  7981. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7982. {
  7983. return
  7984. }
  7985. SendInput, t/waffen{Space}
  7986. Input, SID, V I M,{Enter}
  7987. Send {Enter}
  7988. SendInput t/frisk %SID%{Enter}
  7989. SendInput t/cuff %SID%{Enter}
  7990.  
  7991.  
  7992. ;~ name := GetPlayerNameByID(SID)
  7993. ;~ if(name != -1)
  7994. ;~ {
  7995.  
  7996. if(arrest1 == -1)
  7997. {
  7998. arrest1 := SID
  7999. return
  8000. }
  8001. else if(arrest2 == -1)
  8002. {
  8003. arrest2 := SID
  8004. return
  8005. }
  8006. else if(arrest3 == -1)
  8007. {
  8008. arrest3 := SID
  8009. return
  8010. }
  8011. else if(arrest4 == -1)
  8012. {
  8013. arrest4 := SID
  8014. return
  8015. }
  8016. else if(arrest5 == -1)
  8017. {
  8018. arrest5 := SID
  8019. return
  8020. }
  8021. else
  8022. {
  8023. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F9 zum Resetten)")
  8024. return
  8025. }
  8026. ;~ }
  8027. return
  8028.  
  8029.  
  8030. ~F9::
  8031. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  8032. {
  8033. return
  8034. }
  8035. arrest1 := -1
  8036. arrest2 := -1
  8037. arrest3 := -1
  8038. arrest4 := -1
  8039. arrest5 := -1
  8040. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Arrestslots zurückgesetzt")
  8041. return
  8042.  
  8043.  
  8044. :?:/uncuff::
  8045. Suspend Permit
  8046. id := PlayerInput("/uncuff ")
  8047. SendChat("/uncuff " id)
  8048. if(arrest1 == id)
  8049. {
  8050. arrest1 = -1
  8051. return
  8052. }
  8053. else if(arrest2 == id)
  8054. {
  8055. arrest2 = -1
  8056. return
  8057. }
  8058. else if(arrest3 == id)
  8059. {
  8060. arrest3 = -1
  8061. return
  8062. }
  8063. else if(arrest4 == id)
  8064. {
  8065. arrest4 = -1
  8066. return
  8067. }
  8068. else if(arrest5 == id)
  8069. {
  8070. arrest5 = -1
  8071. return
  8072. }
  8073. return
  8074.  
  8075. ~U::
  8076. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8077. {
  8078. return
  8079. }
  8080. id := PlayerInput("/uncuff ")
  8081. SendChat("/uncuff " id)
  8082. if(arrest1 == id)
  8083. {
  8084. arrest1 = -1
  8085. return
  8086. }
  8087. else if(arrest2 == id)
  8088. {
  8089. arrest2 = -1
  8090. return
  8091. }
  8092. else if(arrest3 == id)
  8093. {
  8094. arrest3 = -1
  8095. return
  8096. }
  8097. else if(arrest4 == id)
  8098. {
  8099. arrest4 = -1
  8100. return
  8101. }
  8102. else if(arrest5 == id)
  8103. {
  8104. arrest5 = -1
  8105. return
  8106. }
  8107. return
  8108.  
  8109. ^!Numpad7::
  8110. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8111. {
  8112. return
  8113. }
  8114. id := PlayerInput("/uncuff ")
  8115. SendChat("/uncuff " id)
  8116. if(arrest1 == id)
  8117. {
  8118. arrest1 = -1
  8119. return
  8120. }
  8121. else if(arrest2 == id)
  8122. {
  8123. arrest2 = -1
  8124. return
  8125. }
  8126. else if(arrest3 == id)
  8127. {
  8128. arrest3 = -1
  8129. return
  8130. }
  8131. else if(arrest4 == id)
  8132. {
  8133. arrest4 = -1
  8134. return
  8135. }
  8136. else if(arrest5 == id)
  8137. {
  8138. arrest5 = -1
  8139. return
  8140. }
  8141. return
  8142.  
  8143. ~Numpad8::
  8144. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8145. {
  8146. return
  8147. }
  8148. Suspend on
  8149. Random, rand, 1, 3
  8150. SendInput, t/arrest %rand%{left 2}
  8151. Input, SID, V I M,{Enter}
  8152. Send {Enter}
  8153. Suspend off
  8154. Countdown := 200
  8155. SetTimer, Partner, 100
  8156. if(arrest1 == SID)
  8157. {
  8158. arrest1 = -1
  8159. return
  8160. }
  8161. else if(arrest2 == SID)
  8162. {
  8163. arrest2 = -1
  8164. return
  8165. }
  8166. else if(arrest3 == SID)
  8167. {
  8168. arrest3 = -1
  8169. return
  8170. }
  8171. else if(arrest4 == SID)
  8172. {
  8173. arrest4 = -1
  8174. return
  8175. }
  8176. else if(arrest5 == SID)
  8177. {
  8178. arrest5 = -1
  8179. return
  8180. }
  8181. return
  8182.  
  8183.  
  8184.  
  8185. ~#::
  8186. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8187. {
  8188. return
  8189. }
  8190. if(IsPlayerInRangeOfPoint(1564.6409,-1694.5798,5.8906,2.5) || IsPlayerInRangeOfPoint(-1589.4081,715.9786,-5.2422,2.5) || IsPlayerInRangeOfPoint(2281.5886,2431.0747,3.2734,2.5))
  8191. {
  8192. gesamtgeld := 0
  8193. Random, rand, 1, 3
  8194. if (arrest1 != -1)
  8195. {
  8196. SendChat("/arrest " arrest1 " " rand "")
  8197. ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
  8198. ;~ {
  8199. Countdown := 200
  8200. SetTimer, #Partner, 100
  8201. ;~ }
  8202. arrest1 := -1
  8203. Sleep, 500
  8204. }
  8205. if (arrest2 != -1)
  8206. {
  8207. SendChat("/arrest " arrest2 " " rand "")
  8208. ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
  8209. ;~ {
  8210. Countdown := 200
  8211. SetTimer, #Partner, 100
  8212. ;~ }
  8213. arrest2 := -1
  8214. Sleep, 500
  8215. }
  8216. if (arrest3 != -1)
  8217. {
  8218. SendChat("/arrest " arrest3 " " rand "")
  8219. ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
  8220. ;~ {
  8221. Countdown := 200
  8222. SetTimer, #Partner, 100
  8223. ;~ }
  8224. arrest3 := -1
  8225. Sleep, 500
  8226. }
  8227. Sleep, 1000
  8228. if (arrest4 != -1)
  8229. {
  8230. SendChat("/arrest " arrest4 " " rand "")
  8231. ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
  8232. ;~ {
  8233. Countdown := 200
  8234. SetTimer, #Partner, 100
  8235. ;~ }
  8236. arrest4 := -1
  8237. Sleep, 500
  8238. }
  8239. if (arrest5 != -1)
  8240. {
  8241. SendChat("/arrest " arrest5 " " rand "")
  8242. ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
  8243. ;~ {
  8244. Countdown := 200
  8245. SetTimer, #Partner, 100
  8246. ;~ }
  8247. arrest5 := -1
  8248. }
  8249.  
  8250. Sleep, 2000
  8251. if(Partner1 > -1 && Partner2 > -1 && Partner3 > -1)
  8252. {
  8253. gesamtgeld /= 4
  8254. gesamtgeld := Floor(gesamtgeld)
  8255. SendChat("/pay " . Partner1 . " " . gesamtgeld . "")
  8256. Sleep, 500
  8257. SendChat("/pay " . Partner2 . " " . gesamtgeld . "")
  8258. Sleep, 500
  8259. SendChat("/pay " . Partner3 . " " . gesamtgeld . "")
  8260. }
  8261. else if(Partner1 > -1 && Partner2 > -1 && Partner3 == -1)
  8262. {
  8263. gesamtgeld /= 3
  8264. gesamtgeld := Floor(gesamtgeld)
  8265. SendChat("/pay " . Partner1 . " " . gesamtgeld . "")
  8266. SendChat("/pay " . Partner2 . " " . gesamtgeld . "")
  8267. }
  8268. else if(Partner1 > -1 && Partner2 == -1 && Partner3 > -1)
  8269. {
  8270. gesamtgeld /= 3
  8271. gesamtgeld := Floor(gesamtgeld)
  8272. SendChat("/pay " . Partner1 . " " . gesamtgeld . "")
  8273. SendChat("/pay " . Partner3 . " " . gesamtgeld . "")
  8274. }
  8275. else if(Partner1 > -1 && Partner2 == -1 && Partner3 == -1)
  8276. {
  8277. gesamtgeld /= 2
  8278. gesamtgeld := Floor(gesamtgeld)
  8279. SendChat("/pay " . Partner1 . " " . gesamtgeld . "")
  8280. }
  8281. else if(Partner1 == -1 && Partner2 > -1 && Partner3 > -1)
  8282. {
  8283. gesamtgeld /= 3
  8284. gesamtgeld := Floor(gesamtgeld)
  8285. SendChat("/pay " . Partner2 . " " . gesamtgeld . "")
  8286. SendChat("/pay " . Partner3 . " " . gesamtgeld . "")
  8287. }
  8288. else if(Partner1 == -1 && Partner2 > -1 && Partner3 == -1)
  8289. {
  8290. gesamtgeld /= 2
  8291. gesamtgeld := Floor(gesamtgeld)
  8292. SendChat("/pay " . Partner2 . " " . gesamtgeld . "")
  8293. }
  8294. else if(Partner1 == -1 && Partner2 == -1 && Partner3 > -1)
  8295. {
  8296. gesamtgeld /= 2
  8297. gesamtgeld := Floor(gesamtgeld)
  8298. SendChat("/pay " . Partner3 . " " . gesamtgeld . "")
  8299. }
  8300.  
  8301. IniRead, Money, Statistik.ini, Arrests, Money
  8302. Money += gesamtgeld
  8303. IniWrite, %Money%, Statistik.ini, Arrests, Money
  8304. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FF0000}" Money "{FFFFFF}$ durch Festnahmen verdient.")
  8305.  
  8306. }
  8307. else
  8308. {
  8309. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist an keinem Arrestpoint.")
  8310. }
  8311.  
  8312. return
  8313.  
  8314.  
  8315.  
  8316. #Partner:
  8317. countdown--
  8318. if(countdown == 0)
  8319. {
  8320. SetTimer, #Partner, off
  8321. }
  8322. else
  8323. {
  8324. GetChatLine(0, ChatLine0)
  8325. GetChatLine(1, ChatLine1)
  8326. GetPlayerName(name)
  8327. if(InStr(ChatLine1, " " . name . " hat den Verdächtigen ") && InStr(ChatLine1, "eingesperrt."))
  8328. {
  8329. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  8330. ;~ if(InStr(ChatLine1, "" . name . " hat den Auftrag ausgeführt."))
  8331. ;~ {
  8332. SetTimer, #Partner, off
  8333. RegExMatch(ChatLine0, "Haftzeit: (.*) Minuten, Geldstrafe: 0\$.", zeit)
  8334. if(zeit1 > 104) ; / 56 / 80
  8335. {
  8336. Wanted = 104 ; / 56 / 104
  8337. }
  8338. else
  8339. {
  8340. Wanted = %zeit1%
  8341. }
  8342. Wanted /= 4
  8343. Wanted *= 750
  8344. Geld = %Wanted%
  8345. Geld *= %Steuersatz%
  8346. Geld := Floor(Geld)
  8347.  
  8348. gesamtgeld += Geld
  8349.  
  8350. Sleep, 200
  8351. IniRead, Arrest, Statistik.ini, Arrests, Arrest
  8352. Arrest++
  8353. IniWrite, %Arrest%, Statistik.ini, Arrests, Arrest
  8354. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FF0000}" Arrest "{FFFFFF} Verbrecher eingesperrt.")
  8355. ;~ }
  8356. Sleep 200
  8357. SetTimer, #Partner, off
  8358. }
  8359. }
  8360. return
  8361.  
  8362. !#::
  8363. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Verbrecher in der Arrestliste:")
  8364. ;~ UpdateServerData()
  8365. if(arrest1 != -1)
  8366. {
  8367.  
  8368. GetPlayerNameByID(arrest1, name)
  8369. AddChatMessage(0xFFFFFF, name)
  8370. }
  8371.  
  8372. if(arrest2 != -1)
  8373. {
  8374.  
  8375. GetPlayerNameByID(arrest2, name)
  8376. AddChatMessage(0xFFFFFF, name)
  8377. }
  8378.  
  8379. if(arrest3 != -1)
  8380. {
  8381.  
  8382. GetPlayerNameByID(arrest3, name)
  8383. AddChatMessage(0xFFFFFF, name)
  8384. }
  8385.  
  8386. if(arrest4 != -1)
  8387. {
  8388.  
  8389. GetPlayerNameByID(arrest4, name)
  8390. AddChatMessage(0xFFFFFF, name)
  8391. }
  8392.  
  8393. if(arrest5 != -1)
  8394. {
  8395.  
  8396. GetPlayerNameByID(arrest5, name)
  8397. AddChatMessage(0xFFFFFF, name)
  8398. }
  8399. return
  8400.  
  8401. :?:/rstreife::
  8402. Suspend Permit
  8403. SendChat("/r Suche Streifenpartner.")
  8404. return
  8405.  
  8406. :?:/fstreife::
  8407. Suspend Permit
  8408. SendChat("/f Suche Streifenpartner.")
  8409. return
  8410.  
  8411. :?:/dstreife::
  8412. Suspend Permit
  8413. SendChat("/d Suche Streifenpartner.")
  8414. return
  8415.  
  8416.  
  8417. ~´::
  8418. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  8419. {
  8420. return
  8421. }
  8422. if(PoliceID != "X")
  8423. {
  8424. RestartCodes()
  8425. text := GetTextByCodeWithoutCode("10-4-2")
  8426. if(text != "-1")
  8427. {
  8428. SendChat("/hq " . text . "")
  8429. }
  8430. }
  8431. else
  8432. {
  8433. GetPlayerName(name)
  8434. SendChat("/hq " name " übernimmt den Auftrag.")
  8435. }
  8436. Soundplay, avixa.avi
  8437. return
  8438.  
  8439. !´::
  8440. if(PoliceID != "X")
  8441. {
  8442. GetPlayerName(name)
  8443. RestartCodes()
  8444. text := GetTextByCodeWithoutCode("10-4-3")
  8445. if(text != "-1")
  8446. {
  8447. SendChat("/hq " . text . "")
  8448. }
  8449. }
  8450. else
  8451. {
  8452. GetPlayerName(name)
  8453. SendChat("/hq " name " hat den Auftrag ausgeführt.")
  8454. }
  8455. return
  8456.  
  8457. ^´::
  8458. if(PoliceID != "X")
  8459. {
  8460. RestartCodes()
  8461. text := GetTextByCodeWithoutCode("10-4-2")
  8462. if(text != "-1")
  8463. {
  8464. SendChat("/d " . text . "")
  8465. }
  8466. }
  8467. else
  8468. {
  8469. SendChat("/d HQ: " name " übernimmt den Auftrag")
  8470. }
  8471. return
  8472.  
  8473. !^´::
  8474. if(PoliceID != "X")
  8475. {
  8476. RestartCodes()
  8477. text := GetTextByCodeWithoutCode("10-4-3")
  8478. if(text != "-1")
  8479. {
  8480. SendChat("/d " . text . "")
  8481. }
  8482. }
  8483. else
  8484. {
  8485. GetPlayerName(name)
  8486. SendChat("/d HQ: " name " hat den Auftrag ausgeführt")
  8487. }
  8488. return
  8489.  
  8490. :?:/razzia::
  8491. Suspend Permit
  8492. If(Abteilung = "" || Abteilung = "ERROR")
  8493. {
  8494. SendChat("/m >> " . Fraktion . ", dies ist eine Razzia! <<")
  8495. }
  8496. else
  8497. {
  8498. SendChat("/m >> " . Abteilung . ", dies ist eine Razzia! <<")
  8499. }
  8500. SendChat("/m >> Nehmen Sie SOFORT die Hände hoch oder wir schießen! <<")
  8501. return
  8502.  
  8503. :?:/rz::
  8504. Suspend Permit
  8505.  
  8506. ;~ if(GetPlayerSkin() == 285)
  8507. if(swatmode == 1)
  8508. {
  8509. SendChat("/m >> S.W.A.T., Dies ist eine Razzia! <<")
  8510. SendChat("/m >> Nehmen Sie SOFORT die Hände hoch oder Sie werden erschossen! <<")
  8511. Sleep, 2000
  8512. SendChat("/m >>5<<")
  8513. Sleep, 1000
  8514. SendChat("/m >>4<<")
  8515. Sleep, 1000
  8516. SendChat("/m >>3<<")
  8517. Sleep, 1000
  8518. SendChat("/m >>2<<")
  8519. Sleep, 1000
  8520. SendChat("/m >>1<<")
  8521. Sleep, 1000
  8522. SendChat("/m >>Letzte Warnung!<<")
  8523. }
  8524. else
  8525. {
  8526. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht im SWAT-Modus.")
  8527. }
  8528. return
  8529.  
  8530. :?:/ruhe::
  8531. Suspend Permit
  8532. SendChat("Sie haben das Recht zu schweigen!")
  8533. SendChat("Später können Sie eventuell einen Anwalt gestellt bekommen!")
  8534. return
  8535.  
  8536.  
  8537. :?:/wo::
  8538. Suspend Permit
  8539. SendChat("/d Wo befindet ihr euch und was ist das Problem?")
  8540. return
  8541.  
  8542. :?:/ver::
  8543. Suspend Permit
  8544. if(PoliceID != "X")
  8545. {
  8546. RestartCodes()
  8547. text := GetTextByCodeWithoutCode("10-4-1")
  8548. if(text != "-1")
  8549. {
  8550. SendChat("/hq " . text . "")
  8551. }
  8552. }
  8553. else
  8554. {
  8555. SendChat("/hq Habe verstanden.")
  8556. }
  8557. return
  8558.  
  8559. :?:/dver::
  8560. Suspend Permit
  8561. if(PoliceID != "X")
  8562. {
  8563. RestartCodes()
  8564. text := GetTextByCodeWithoutCode("10-4-1")
  8565. if(text != "-1")
  8566. {
  8567. SendChat("/d " . text . "")
  8568. }
  8569. }
  8570. else
  8571. {
  8572. SendChat("/d HQ: Habe verstanden.")
  8573. }
  8574. return
  8575.  
  8576. :?:/rver::
  8577. Suspend Permit
  8578. if(PoliceID != "X")
  8579. {
  8580. RestartCodes()
  8581. text := GetTextByCodeWithoutCode("10-4-1")
  8582. if(text != "-1")
  8583. {
  8584. SendChat("/r " . text . "")
  8585. }
  8586. }
  8587. else
  8588. {
  8589. SendChat("/r HQ: Habe verstanden.")
  8590. }
  8591. return
  8592.  
  8593. :?:/fver::
  8594. Suspend Permit
  8595. SendChat("/f HQ: Habe verstanden.")
  8596. return
  8597.  
  8598. :?:/needbk::
  8599. Suspend Permit
  8600. if(PoliceID != "X")
  8601. {
  8602. RestartCodes()
  8603. text := GetTextByCodeWithoutCode("10-18")
  8604. if(text != "-1")
  8605. {
  8606. SendChat("/r " . text . "")
  8607. }
  8608. }
  8609. else
  8610. {
  8611. SendChat("/r Wird Verstärkung weiterhin benötigt?")
  8612. }
  8613. return
  8614.  
  8615. :?:/repos::
  8616. Suspend Permit
  8617. RestartCodes()
  8618. text := GetTextByCodeWithoutCode("10-18")
  8619. if(text != "-1")
  8620. {
  8621. SendInput t/r %text%{space}
  8622. }
  8623. return
  8624.  
  8625. :?:/dgo::
  8626. Suspend Permit
  8627. SendChat("/d Einsatzleiter erlaubt Zugriff, GOGOGO!")
  8628. return
  8629.  
  8630. :?:/go::
  8631. Suspend Permit
  8632. SendChat("/hq Einsatzleiter erlaubt Zugriff, GOGOGO!")
  8633. return
  8634.  
  8635. :?:/rgo::
  8636. Suspend Permit
  8637. SendChat("/r Einsatzleiter erlaubt Zugriff, GOGOGO!")
  8638. return
  8639.  
  8640. :?:/fgo::
  8641. Suspend Permit
  8642. SendChat("/f Einsatzleiter erlaubt Zugriff, GOGOGO!")
  8643. return
  8644.  
  8645. :?:/afk::
  8646. Suspend Permit
  8647. Zeit := PlayerInput("Zeit: ")
  8648. SendChat("/f Ich melde mich AFK, Zeit: " Zeit " ")
  8649. return
  8650.  
  8651.  
  8652. :?:/tw::
  8653. Suspend Permit
  8654. SendInput, /take Waffen{space}
  8655. return
  8656.  
  8657. :?:/tws::
  8658. Suspend Permit
  8659. SendInput, /take Waffenschein{space}
  8660. return
  8661.  
  8662. :?:/twl::
  8663. Suspend Permit
  8664. SendInput, /take Waffenschein{space}
  8665. return
  8666.  
  8667. :?:/tfl::
  8668. Suspend Permit
  8669. SendInput, /take Flugschein{space}
  8670. return
  8671.  
  8672. :?:/tfs::
  8673. Suspend Permit
  8674. SendInput, /take Flugschein{space}
  8675. return
  8676.  
  8677. :?:/td::
  8678. Suspend Permit
  8679. SendInput, /take Drogen{space}
  8680. return
  8681.  
  8682. :?:/tm::
  8683. Suspend Permit
  8684. SendInput, /take Materialien{space}
  8685. return
  8686.  
  8687. :?:/tall::
  8688. Suspend Permit
  8689. SendInput, /take Waffen{Space}
  8690. Input, SID, V I M,{Enter}
  8691. Send {Enter}
  8692. SendInput t/take Materialien %SID%{Enter}
  8693. Send {Enter}
  8694. SendInput, t/take Drogen %SID%{enter}
  8695. Suspend Off
  8696. return
  8697.  
  8698. :?:/tst::
  8699. Suspend Permit
  8700. Tid := PlayerInput("Spieler Name / ID: ")
  8701. anzahl := PlayerInput("Anzahl: ")
  8702. SendChat("/licunban " Tid " points " anzahl)
  8703. return
  8704.  
  8705. :?:/clearpoints::
  8706. Suspend Permit
  8707. Tid := PlayerInput("Spieler Name / ID: ")
  8708. anzahl := PlayerInput("Anzahl: ")
  8709. SendChat("/licunban " Tid " points " anzahl)
  8710. return
  8711.  
  8712. ~-::
  8713. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  8714. {
  8715. return
  8716. }
  8717. id := PlayerInput("/clear ")
  8718.  
  8719. SendChat("/clear " id)
  8720. return
  8721.  
  8722. :?:/op::
  8723. Suspend Permit
  8724. SendInput, /offlinearrest 1{left 2}
  8725. return
  8726.  
  8727. :?:/oa::
  8728. Suspend Permit
  8729. SendInput, /offlinearrest 0{left 2}
  8730. return
  8731.  
  8732. :?:/dp::
  8733. Suspend Permit
  8734. SendInput, /deatharrest 1{left 2}
  8735. return
  8736.  
  8737. :?:/da::
  8738. Suspend Permit
  8739. SendInput, /deatharrest 0{left 2}
  8740. return
  8741.  
  8742.  
  8743. :?:/danke::
  8744. Suspend Permit
  8745. SendChat("Vielen Dank für ihren Anruf. Schönen Tag noch.")
  8746. SendChat("/h")
  8747. return
  8748.  
  8749.  
  8750.  
  8751. ~^::
  8752. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8753. {
  8754. return
  8755. }
  8756. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8757. {
  8758. If InStr(beforeline, "|____________________Notruf____________________|")
  8759. {
  8760. RegExMAtch(A_LoopReadLine, "Anrufer\: (.*) \(\/notruf" , notruf)
  8761. }
  8762. beforeline = %A_LoopReadLine%
  8763. }
  8764. SendChat("/notruf " notruf1 "")
  8765. return
  8766.  
  8767.  
  8768.  
  8769.  
  8770.  
  8771. ~+^::
  8772. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8773. {
  8774. return
  8775. }
  8776. SendInput, t/notruf{space}
  8777. return
  8778.  
  8779.  
  8780. :?:/stvo::
  8781. Suspend Permit
  8782. anzahl := 0
  8783. rsn := ""
  8784. anzahl := PlayerInput("Anzahl der möglichen Punkte: ")
  8785. rsn := PlayerInput("Grund: ")
  8786.  
  8787. if(anzahl != 0 && rsn != "")
  8788. {
  8789. ticket := anzahl * 2000
  8790. FormatTime, Uhrzeit,, HH
  8791. if (Uhrzeit >= 12 && Uhrzeit < 20)
  8792. {
  8793. SendChat("Guten Tag, Sie haben gegen die StVo verstoßen.")
  8794. }
  8795. else if (Uhrzeit >= 20 || Uhrzeit == 0)
  8796. {
  8797. SendChat("Guten Abend, Sie haben gegen die StVo verstoßen.")
  8798. }
  8799. else if (Uhrzeit >= 1 && Uhrzeit < 12)
  8800. {
  8801. SendChat("Guten Morgen, Sie haben gegen die StVo verstoßen.")
  8802. }
  8803. SendChat("Ihre Vergehen: " rsn)
  8804. SendChat("Möchten Sie ein Ticket in Höhe von " ticket "$ oder " anzahl " Strafpunkte?")
  8805. Sleep, 1000
  8806. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Benutze nun {3ADF00}/aticket{FFFFFF} oder {3ADF00}/apunkte{FFFFFF}, um ein Ticket oder Punkte auszustellen.")
  8807. }
  8808. return
  8809.  
  8810. :?:/aticket::
  8811. Suspend Permit
  8812. if(rsn != "" && ticket != "")
  8813. {
  8814. ID := PlayerInput("ID / Name des Spielers: ")
  8815. SendChat("/ticket " . ID . " " . ticket . " " . rsn . "")
  8816. anzahl := 0
  8817. rsn := ""
  8818. ticket := ""
  8819. }
  8820. else
  8821. {
  8822. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Nutze vorher {3ADF00}/stvo{FFFFFF}, bevor du ein Ticket ausstellst.")
  8823. }
  8824. return
  8825.  
  8826. :?:/apunkte::
  8827. Suspend Permit
  8828. if(rsn != "" && anzahl != "")
  8829. {
  8830. ID := PlayerInput("ID / Name des Spielers: ")
  8831. SendChat("/punkte " . ID . " " . anzahl . " " . rsn . "")
  8832. anzahl := 0
  8833. rsn := ""
  8834. ticket := ""
  8835. }
  8836. else
  8837. {
  8838. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Nutze vorher {3ADF00}/stvo{FFFFFF}, bevor du Strafpunkte ausstellst.")
  8839. }
  8840. return
  8841.  
  8842. :?:/pot::
  8843. Suspend Permit
  8844. SendChat("/l Möchten Sie nun ein Ticket oder die Strafpunkte?")
  8845. return
  8846.  
  8847. :?:/fahrt::
  8848. Suspend Permit
  8849. SendChat("/l Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
  8850. return
  8851.  
  8852. LWin::
  8853. SendChat("/wanted")
  8854. return
  8855.  
  8856. LWin & 1::
  8857. SendChat("/wanted ls")
  8858. return
  8859.  
  8860. LWin & 2::
  8861. SendChat("/wanted sf")
  8862. return
  8863.  
  8864. LWin & 3::
  8865. SendChat("/wanted lv")
  8866. return
  8867.  
  8868. :?:/ende::
  8869. Suspend Permit
  8870. SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
  8871. Sleep 1500
  8872. SendChat(">>5<<")
  8873. KeyWait, <, D T1
  8874. If !ErrorLevel
  8875. {
  8876. return
  8877. }
  8878. SendChat(">>4<<")
  8879. KeyWait, <, D T1
  8880. If !ErrorLevel
  8881. {
  8882. return
  8883. }
  8884. SendChat(">>3<<")
  8885. KeyWait, <, D T1
  8886. If !ErrorLevel
  8887. {
  8888. return
  8889. }
  8890. SendChat(">>2<<")
  8891. KeyWait, <, D T1
  8892. If !ErrorLevel
  8893. {
  8894. return
  8895. }
  8896. SendChat(">>1<<")
  8897. KeyWait, <, D T1
  8898. If !ErrorLevel
  8899. {
  8900. return
  8901. }
  8902. SendChat("Letzte Warnung!")
  8903. Sleep, 2000
  8904. AddChatMessage(0xFFFFFF,"Freigegeben")
  8905. return
  8906.  
  8907.  
  8908. End::
  8909. SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
  8910. Sleep 1500
  8911. SendChat(">>5<<")
  8912. KeyWait, <, D T1
  8913. If !ErrorLevel
  8914. {
  8915. return
  8916. }
  8917. SendChat(">>4<<")
  8918. KeyWait, <, D T1
  8919. If !ErrorLevel
  8920. {
  8921. return
  8922. }
  8923. SendChat(">>3<<")
  8924. KeyWait, <, D T1
  8925. If !ErrorLevel
  8926. {
  8927. return
  8928. }
  8929. SendChat(">>2<<")
  8930. KeyWait, <, D T1
  8931. If !ErrorLevel
  8932. {
  8933. return
  8934. }
  8935. SendChat(">>1<<")
  8936. KeyWait, <, D T1
  8937. If !ErrorLevel
  8938. {
  8939. return
  8940. }
  8941. SendChat("Letzte Warnung!")
  8942. Sleep, 2000
  8943. AddChatMessage(0xFFFFFF,"Freigegeben")
  8944. return
  8945.  
  8946. !End::
  8947. SendChat("Sie haben nun folgende Möglichkeiten:")
  8948. Sleep 1000
  8949. SendChat("1. Sie versuchen zu flüchten, erhalten Wanteds und wir wenden Gewalt an.")
  8950. Sleep 1000
  8951. SendChat("2. Sie stellen sich und können einen Anwalt beauftragen.")
  8952. Sleep 1000
  8953. SendChat("3. Sie verweigern, erhalten Wanteds und wir wenden Gewalt an.")
  8954. Sleep 1000
  8955. SendChat("Sie haben die Wahl!")
  8956. return
  8957.  
  8958. !c::
  8959. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8960. {
  8961. return
  8962. }
  8963. zoll := PlayerInput("Zoll schließen lassen - Zoll-ID: ")
  8964. if(zoll != "" && zoll != " ")
  8965. {
  8966. SendChat("/hq Erbitte Schließung von Zollstation " zoll ".")
  8967. }
  8968. return
  8969. ;------------------------------------------------------------
  8970. NumpadDiv::
  8971. SendInput, t/zollcontrol zu{left}{left}{left}
  8972. return
  8973.  
  8974. !NumpadDiv::
  8975. SendInput, t/zollcontrol auf{left}{left}{left}{left}
  8976. return
  8977.  
  8978. NumpadMult::
  8979. SendInput, t/gov Die Zollstationen sind zurzeit geschlossen.{left 26}
  8980. return
  8981.  
  8982. !NumpadMult::
  8983. SendInput, t/gov Die Zollstationen sind nicht mehr geschlossen.{left 29}
  8984. return
  8985.  
  8986. NumpadSub::
  8987. SendChat("/auf")
  8988. return
  8989.  
  8990. !NumpadSub::
  8991. SendChat("/zoll")
  8992. return
  8993.  
  8994. NumpadAdd::
  8995. If (IsChatOpen() == 1 || IsDialogOpen() == 1)
  8996. {
  8997. SendInput, {%A_ThisHotkey%}
  8998. return
  8999. }
  9000. if(bkon == 0)
  9001. {
  9002. SendChat("/bk")
  9003. bkon := 1
  9004. }
  9005. else if(bkon == 1)
  9006. {
  9007. GetCityName(city)
  9008. GetZoneName(zone)
  9009. if(PoliceID != "X")
  9010. {
  9011. RestartCodes()
  9012. text := GetTextByCodeWithoutCode("10-70-1")
  9013. if(text != "-1")
  9014. {
  9015. SendChat("/hq " . text . " in " zone ", " city ".")
  9016. }
  9017. }
  9018. else
  9019. {
  9020. If (city == "" || city == "Unbekannt")
  9021. {
  9022. SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ".")
  9023. }
  9024. else
  9025. {
  9026. SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ", " city ".")
  9027. }
  9028. }
  9029. }
  9030. return
  9031.  
  9032. !NumpadAdd::
  9033. if(PoliceID != "X")
  9034. {
  9035. RestartCodes()
  9036. text := GetTextByCodeWithoutCode("10-98")
  9037. if(text != "-1")
  9038. {
  9039. SendChat("/hq " . text . "")
  9040. }
  9041. if(bkon == 1)
  9042. {
  9043. SendChat("/bk")
  9044. bkon := 0
  9045. }
  9046. }
  9047. else
  9048. {
  9049. SendChat("/hq Verstärkung wird NICHT mehr benötigt!")
  9050. if(bkon == 1)
  9051. {
  9052. SendChat("/bk")
  9053. bkon := 0
  9054. }
  9055. }
  9056. return
  9057.  
  9058. Pause::
  9059. suspend
  9060. if ( A_IsSuspended )
  9061. {
  9062. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast den Keybinder {FF0000}pausiert{FF0000}.")
  9063. SetTimer, Systeme, off
  9064. SetTimer, _GtaCheck, off
  9065. }
  9066. if ( !A_IsSuspended )
  9067. {
  9068. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast den Keybinder {00FF00}aktiviert{00FF00}.")
  9069. SetTimer, Systeme, 500
  9070. SetTimer, _GtaCheck, 1000
  9071. }
  9072. return
  9073.  
  9074.  
  9075. F1::
  9076. SendChat("/tog")
  9077. Sleep, 200
  9078. SendInput {enter}
  9079. return
  9080.  
  9081.  
  9082. F3::
  9083. SendChat("/erstehilfe")
  9084. return
  9085.  
  9086.  
  9087.  
  9088. F4::
  9089. SendChat("/ausruesten " . Profil1_1 . " " . Profil1_2 . " " . Profil1_3 . " " . Profil1_4 . " " . Profil1_5 . " " . Profil1_6 . " " . Profil1_7 . "")
  9090. Sleep, 1000
  9091. SendChat("/heal")
  9092. return
  9093.  
  9094. F5::
  9095. SendChat("/ausruesten " . Profil2_1 . " " . Profil2_2 . " " . Profil2_3 . " " . Profil2_4 . " " . Profil2_5 . " " . Profil2_6 . " " . Profil2_7 . "")
  9096. Sleep, 1000
  9097. SendChat("/heal")
  9098. return
  9099.  
  9100. F6::
  9101. SendChat("/ausruesten " . Profil3_1 . " " . Profil3_2 . " " . Profil3_3 . " " . Profil3_4 . " " . Profil3_5 . " " . Profil3_6 . " " . Profil3_7 . "")
  9102. Sleep, 1000
  9103. If(Schutzweste == 1)
  9104. {
  9105. SendChat("/undercover " UCSkin "")
  9106. Sleep, 200
  9107. SendChat("/heal")
  9108. }
  9109. else
  9110. {
  9111. SendChat("/heal")
  9112. Sleep, 200
  9113. SendChat("/undercover " UCSkin "")
  9114. }
  9115. return
  9116.  
  9117. !F4::
  9118. SendChat("/ausruesten")
  9119. Sleep 1200
  9120. SendInput, {enter}{enter}
  9121. return
  9122.  
  9123. ^F4::
  9124. SendChat("/heal")
  9125. return
  9126.  
  9127. ~0::
  9128. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9129. {
  9130. SendInput, {A_ThisHotkey}
  9131. return
  9132. }
  9133. id := PlayerInput("Vehicle-ID: ")
  9134. SendChat("/carinfo " id)
  9135. return
  9136.  
  9137.  
  9138.  
  9139. :?:/stvo1::
  9140. Suspend Permit
  9141. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9142. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 2.000$, oder Ihnen wird 1 Strafpunkt eingetragen.")
  9143. return
  9144.  
  9145. :?:/stvo2::
  9146. Suspend Permit
  9147. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9148. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 4.000$, oder Ihnen werden 2 Strafpunkte eingetragen.")
  9149. return
  9150.  
  9151. :?:/stvo3::
  9152. Suspend Permit
  9153. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9154. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 6.000$, oder Ihnen werden 3 Strafpunkte eingetragen.")
  9155. return
  9156.  
  9157. :?:/stvo4::
  9158. Suspend Permit
  9159. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9160. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 8.000$, oder Ihnen werden 4 Strafpunkte eingetragen.")
  9161. return
  9162.  
  9163. :?:/stvo5::
  9164. Suspend Permit
  9165. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9166. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihnen werden 5 Strafpunkte eingetragen.")
  9167. return
  9168.  
  9169. :?:/stvof::
  9170. Suspend Permit
  9171. SendChat("Guten Tag, Sie haben mit Ihrem Flugobjekt gegen die StVO verstoßen. Sie haben folgende Möglichkeiten:")
  9172. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihr Flugschein wird beschlagnahmt.")
  9173. return
  9174.  
  9175. :?:/rb::
  9176. Suspend Permit
  9177. SendChat("/roadblock create")
  9178. return
  9179.  
  9180. :?:/db::
  9181. Suspend Permit
  9182. SendChat("/roadblock delete")
  9183. return
  9184.  
  9185. :?:/dba::
  9186. Suspend Permit
  9187. SendChat("/roadblock deleteall")
  9188. return
  9189.  
  9190.  
  9191. :?:/user::
  9192. Suspend Permit
  9193. UserData := ""
  9194. UserName := PlayerInput("User-Name: ")
  9195. If(UserName!="")
  9196. {
  9197. 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%
  9198. UserData := URLDownloadToVar(UserUrl)
  9199. if(UserData == "Der Spieler existiert nicht.")
  9200. {
  9201. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Spieler existiert nicht.")
  9202. return
  9203. }
  9204. If(UserData!="Des Spielers Profil ist privat.")
  9205. {
  9206. RegExMatch(UserData, "level:(.+)\|j", UserLevel)
  9207. RegExMatch(UserData, ".+\|job:(.+)\|f", UserJob)
  9208. RegExMatch(UserData, ".+\|fraction:(.+)\|r", UserFraction)
  9209. RegExMatch(UserData, ".+\|rank:(.+)\|online", UserRank)
  9210. RegExMatch(UserData, ".+\|online:(.)\|play", UserOnline)
  9211. RegExMatch(UserData, ".+\|playtime:(.+)\|o", UserPlaytime)
  9212. RegExMatch(UserData, ".+\|org:(.+)\|n", UserOrg)
  9213. RegExMatch(UserData, ".+\|number:(.+)\|m", UserNumber)
  9214. RegExMatch(UserData, ".+\|money:(.+)\|b", UserMoney)
  9215. RegExMatch(UserData, ".+\|bank:(.+)\|dep", UserBank)
  9216. RegExMatch(UserData, ".+\|deposit:(.+)\|k", UserDeposit)
  9217. RegExMatch(UserData, ".+\|kills:(.+)\|d", UserKills)
  9218. RegExMatch(UserData, ".+\|deaths:(.+)\|p", UserDeaths)
  9219. RegExMatch(UserData, ".+\|premium:(.)", UserPremium)
  9220. ;RegExMatch(UserData, ".+\|skin:(.+)", UserSkin
  9221. Gesamt +=UserBank1
  9222. Gesamt += UserMoney1
  9223. Gesamt += UserDeposit1
  9224. ;~ Gesamt /=1000
  9225. ;~ if(Gesamt>1000)
  9226. ;~ {
  9227. ;~ Gesamt2 := Gesamt
  9228. ;~ Gesamt2 /= 1000
  9229. ;~ }
  9230. KD := Userkills1 / UserDeaths1
  9231. KD := Round(KD, 3)
  9232. ;~ UserBank1 /= 1000
  9233. ;~ UserMoney1 /= 1000
  9234. ;~ UserDeposit1 /= 1000
  9235.  
  9236. ;~ if(Gesamt>1000)
  9237. if(UserPremium1 == 1)
  9238. {
  9239. 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")
  9240. }
  9241. else if(UserPremium1 == 2)
  9242. {
  9243. 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")
  9244. }
  9245. else
  9246. {
  9247. 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")
  9248. }
  9249. }
  9250. else
  9251. {
  9252. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Spieler hat sein Profil auf privat gestellt.")
  9253. }
  9254. }
  9255. return
  9256.  
  9257. :?:/water::
  9258. Suspend Permit
  9259. if(watermode == 0)
  9260. {
  9261. watermode := 1
  9262. swatmode := 0
  9263. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Wassermodus {33CC00}eingeschaltet")
  9264. ;~ SendInput, {ESC}
  9265. }
  9266. else if(watermode == 1)
  9267. {
  9268. watermode := 0
  9269. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Wassermodus {FF0000}ausgeschaltet")
  9270. ;~ SendInput, {ESC}
  9271. }
  9272. return
  9273.  
  9274.  
  9275.  
  9276. :?:/swat::
  9277. Suspend Permit
  9278. if ( A_IsSuspended )
  9279. {
  9280. SendChat("/swat")
  9281. }
  9282. else
  9283. {
  9284.  
  9285. if(IsPlayerInRangeOfPoint(225.6339,121.3084,999.0673,2.2) || IsPlayerInRangeOfPoint(197.8038,168.1594,1003.0234, 1.2) || IsPlayerInRangeOfPoint(255.3859,77.3740,1003.6406, 1.2)) ;Reihenfolge: FBI - LVPD - LSPD
  9286. {
  9287. if(swatmode == 0)
  9288. {
  9289. swatmode := 1
  9290. watermode := 0
  9291. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}SWATmodus {33CC00}eingeschaltet")
  9292. }
  9293. else
  9294. ;~ if(swatmode == 1)
  9295. {
  9296. swatmode := 0
  9297. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}SWATmodus {FF0000}ausgeschaltet")
  9298. ;~ SendInput, {ESC}
  9299. }
  9300. SendChat("/swat")
  9301. }
  9302. else
  9303. {
  9304. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du kannst den SWATmodus hier nicht (de-)aktivieren.")
  9305. }
  9306. }
  9307. return
  9308. ;:------------------ Laptop-Modus ---------------------------------
  9309.  
  9310. !^0::
  9311. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9312. {
  9313. return
  9314. }
  9315. if(watermode == 1)
  9316. {
  9317. SendChat("/m >> Küstenwache, bitte folgen Sie dem Boot <<")
  9318. }
  9319. else if(swatmode == 1)
  9320. {
  9321. SendChat("/m >> SWAT, " . Swatabteilung . ": bitte folgen Sie dem Einsatzfahrzeug <<")
  9322. }
  9323. else
  9324. {
  9325. If(Abteilung = "" || Abteilung = "ERROR")
  9326. {
  9327. SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen <<")
  9328. }
  9329. else
  9330. {
  9331. SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen <<")
  9332. }
  9333. }
  9334. return
  9335.  
  9336.  
  9337. !^1::
  9338. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9339. {
  9340. return
  9341. }
  9342. if(watermode == 1)
  9343. {
  9344. SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an <<")
  9345. }
  9346. else if(swatmode == 1)
  9347. {
  9348. SendChat("/m >> SWAT, " . Swatabteilung . ": Straßenverkehrskontrolle. Fahren Sie SOFORT rechts ran <<")
  9349. }
  9350. else
  9351. {
  9352. If(Abteilung = "" || Abteilung = "ERROR")
  9353. {
  9354. SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
  9355. }
  9356. else
  9357. {
  9358. SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
  9359. }
  9360. }
  9361. return
  9362.  
  9363. !^2::
  9364. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9365. {
  9366. return
  9367. }
  9368. if(watermode == 1)
  9369. {
  9370. SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot! <<")
  9371. }
  9372. else if(swatmode == 1)
  9373. {
  9374. SendChat("/m >> SWAT, " . Swatabteilung . ": halten Sie SOFORT an! <<")
  9375. }
  9376. else
  9377. {
  9378. If(Abteilung = "" || Abteilung = "ERROR")
  9379. {
  9380. SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an! <<")
  9381. }
  9382. else
  9383. {
  9384. SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an! <<")
  9385. }
  9386. }
  9387. return
  9388.  
  9389. !^3::
  9390. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9391. {
  9392. return
  9393. }
  9394. SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen! <<")
  9395. return
  9396.  
  9397. !^4::
  9398. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9399. {
  9400. return
  9401. }
  9402. SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug! <<")
  9403. return
  9404.  
  9405. !^5::
  9406. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9407. {
  9408. return
  9409. }
  9410. if(watermode == 1)
  9411. {
  9412. SendChat("/m >> Küstenwache, fahren Sie SOFORT zur Seite! <<")
  9413. }
  9414. else if(swatmode == 1)
  9415. {
  9416. SendChat("/m >> SWAT, " . Swatabteilung . ": räumen Sie SOFORT die Straße! <<")
  9417. }
  9418. else
  9419. {
  9420. If(Abteilung = "" || Abteilung = "ERROR")
  9421. {
  9422. SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße! <<")
  9423. }
  9424. else
  9425. {
  9426. SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße! <<")
  9427. }
  9428. }
  9429. return
  9430.  
  9431. !^6::
  9432. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9433. {
  9434. return
  9435. }
  9436. if(swatmode == 1)
  9437. {
  9438. SendChat("/m >> SWAT, " . Swatabteilung . ": Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
  9439. }
  9440. else
  9441. {
  9442. SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
  9443. }
  9444. return
  9445.  
  9446. !^9::
  9447. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9448. {
  9449. return
  9450. }
  9451. SendChat("/m >> Verlassen Sie SOFORT dieses Gelände! <<")
  9452. return
  9453.  
  9454.  
  9455.  
  9456. ^0::
  9457. id := PlayerInput("Rote Ampel missachtet: ")
  9458. SendChat("/punkte " id " 2 Missachtung roter Ampeln")
  9459. return
  9460.  
  9461. ^1::
  9462. id := PlayerInput("SVG: ")
  9463. SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
  9464. return
  9465.  
  9466. ^2::
  9467. id := PlayerInput("Falsche Seite: ")
  9468. SendChat("/punkte " id " 2 Fahren auf der falschen Straßenseite")
  9469. return
  9470.  
  9471. ^3::
  9472. id := PlayerInput("Zu schnell: ")
  9473. SendChat("/punkte " id " 2 Überschreitung der Höchstgeschwindigkeit")
  9474. return
  9475.  
  9476. ^4::
  9477. id := PlayerInput("Vorfahrt: ")
  9478. SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
  9479. return
  9480.  
  9481. ^5::
  9482. id := PlayerInput("Abseits: ")
  9483. SendChat("/punkte " id " 2 Fahren abseits der Straße")
  9484. return
  9485.  
  9486. ^6::
  9487. id := PlayerInput("Ohne Licht: ")
  9488. SendChat("/punkte " id " 1 Fahren ohne Licht")
  9489. return
  9490.  
  9491. ^7::
  9492. GetZoneName(MyZone)
  9493. id := PlayerInput("Parkverbot: ")
  9494. SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
  9495. return
  9496.  
  9497. ^8::
  9498. id := PlayerInput("SVB: ")
  9499. SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
  9500. return
  9501.  
  9502. ^9::
  9503. id := PlayerInput("Alkoholeinfluss: ")
  9504. SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
  9505. return
  9506.  
  9507. !^7::
  9508. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9509. {
  9510. return
  9511. }
  9512. Suspend On
  9513. SendInput, t/cuff{Space}
  9514. Input, SID, V I M,{Enter}
  9515. Send {Enter}
  9516. SendInput t/frisk %SID%{Enter}
  9517. Suspend Off
  9518.  
  9519. if(arrest1 == -1)
  9520. {
  9521. arrest1 := SID
  9522. return
  9523. }
  9524. else if(arrest2 == -1)
  9525. {
  9526. arrest2 := SID
  9527. return
  9528. }
  9529. else if(arrest3 == -1)
  9530. {
  9531. arrest3 := SID
  9532. return
  9533. }
  9534. else if(arrest4 == -1)
  9535. {
  9536. arrest4 := SID
  9537. return
  9538. }
  9539. else if(arrest5 == -1)
  9540. {
  9541. arrest5 := SID
  9542. return
  9543. }
  9544. else
  9545. {
  9546. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F9 zum Resetten)")
  9547. return
  9548. }
  9549. ;~ }
  9550. return
  9551.  
  9552. !^8::
  9553. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9554. {
  9555. return
  9556. }
  9557. Suspend On
  9558. Random, rand, 1, 3
  9559. SendInput, t/arrest %rand%{left 2}
  9560. Input, SID, V I M,{Enter}
  9561. Send {Enter}
  9562. Suspend Off
  9563.  
  9564. Countdown := 200
  9565. SetTimer, Partner, 100
  9566. ;~ }
  9567. if(arrest1 == SID)
  9568. {
  9569. arrest1 = -1
  9570. return
  9571. }
  9572. else if(arrest2 == SID)
  9573. {
  9574. arrest2 = -1
  9575. return
  9576. }
  9577. else if(arrest3 == SID)
  9578. {
  9579. arrest3 = -1
  9580. return
  9581. }
  9582. else if(arrest4 == SID)
  9583. {
  9584. arrest4 = -1
  9585. return
  9586. }
  9587. else if(arrest5 == SID)
  9588. {
  9589. arrest5 = -1
  9590. return
  9591. }
  9592. return
  9593.  
  9594. +::
  9595. If (IsChatOpen() == 1 || IsDialogOpen() == 1)
  9596. {
  9597. SendInput, {%A_ThisHotkey%}
  9598. return
  9599. }
  9600.  
  9601. if(bkon == 0)
  9602. {
  9603. SendChat("/bk")
  9604. bkon := 1
  9605. }
  9606. else if(bkon == 1)
  9607. {
  9608. GetCityName(city)
  9609. GetZoneName(zone)
  9610. if(PoliceID != "X")
  9611. {
  9612. RestartCodes()
  9613. text := GetTextByCodeWithoutCode("10-70-1")
  9614. if(text != "-1")
  9615. {
  9616. SendChat("/hq " . text . " in " zone ", " city ".")
  9617. }
  9618. }
  9619. else
  9620. {
  9621. If (city == "" || city == "Unbekannt")
  9622. {
  9623. SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ".")
  9624. }
  9625. else
  9626. {
  9627. SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ", " city ".")
  9628. }
  9629. }
  9630.  
  9631. }
  9632. return
  9633.  
  9634. !+::
  9635. if(PoliceID != "X")
  9636. {
  9637. RestartCodes()
  9638. text := GetTextByCodeWithoutCode("10-98")
  9639. if(text != "-1")
  9640. {
  9641. SendChat("/hq " . text . "")
  9642. }
  9643. if(bkon == 1)
  9644. {
  9645. SendChat("/bk")
  9646. bkon := 0
  9647. }
  9648. }
  9649. else
  9650. {
  9651. SendChat("/hq Verstärkung wird NICHT mehr benötigt!")
  9652. if(bkon == 1)
  9653. {
  9654. SendChat("/bk")
  9655. bkon := 0
  9656. }
  9657. }
  9658. return
  9659.  
  9660.  
  9661. ;~ ------------------------------------------------------------------------------
  9662. :?:/gk::
  9663. Suspend Permit
  9664. success := ""
  9665. splitted := ""
  9666. id := PlayerInput("GK ID: ")
  9667. if(id != "")
  9668. {
  9669. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9670. getgk = http://www.rpg-ausbildung.de/keybinder/GK/getalldata.php?gkID=%params1%&password=%Passwort%
  9671. success := UrlDownloadToVar(getgk)
  9672.  
  9673.  
  9674. if(success == "ERROR_BAD_LINK")
  9675. {
  9676. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Fehlerhafte Parameter angegeben.")
  9677. }
  9678. else if(success == "ERROR_ACCESS_DENIED")
  9679. {
  9680. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
  9681. }
  9682. else if(success == "ERROR_PARAMETER_NO_NUMBER")
  9683. {
  9684. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Eine Zahl wird vorausgesetzt.")
  9685. }
  9686. else if(success == "ERROR_NOT_FOUND")
  9687. {
  9688. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Gebäudekomplex nicht gefunden.")
  9689. }
  9690. else
  9691. {
  9692. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Gebäudekomplex {FF8000}" id ":")
  9693. Loop, Parse, success, ~
  9694. {
  9695. AddChatMessage(0xFFFFFF,A_LoopField)
  9696. }
  9697. }
  9698. }
  9699. return
  9700.  
  9701.  
  9702. :?:/tasks::
  9703. Suspend Permit
  9704. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9705. url = http://ni31914_3.vweb16.nitrado.net/keybinder/tasks/pdapi.php?action=get&password=%Passwort%
  9706. tasks := UrlDownloadToVar(url)
  9707.  
  9708. if(tasks == "ERROR_BAD_LINK")
  9709. {
  9710. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
  9711. }
  9712. else if(tasks == "ERROR_ACCESS_DENIED")
  9713. {
  9714. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
  9715. }
  9716. else
  9717. {
  9718. AnzahlTasks := 0
  9719. Loop, Parse, tasks, '
  9720. {
  9721. AnzahlTasks++
  9722. }
  9723. AnzahlSeiten := Ceil(AnzahlTasks / 10)
  9724. TaskID := 0
  9725. Seite := 0
  9726. ;~ UpdateServerData()
  9727. ausstehendeAufgaben := "{FFBB00}ID Zeitpunkt {FF4040}Betreffende Person {00F0CC}Aufgabe {99CC00}Auftraggeber`n"
  9728. Loop, Parse, tasks, '
  9729. {
  9730. aufgabe := ""
  9731. aufgabe_ := ""
  9732. RegExMatch(A_LoopField, "(.*)~(.*)~(.*)~(.*)~(.*)", aufgabe_) ;ID~Zeit~Person~Aufgabe~Auftraggeber(IP)
  9733. id := GetPlayerIDByName(aufgabe_3)
  9734. if(id != -1 && id != 65535)
  9735. {
  9736. ausstehendeAufgaben .= "`n{FFBB00}" aufgabe_1 "{FFFFFF} - {FFBB00}" aufgabe_2 "{FFFFFF} - {33CC00}" aufgabe_3 "{FFFFFF} - {00F0CC}" aufgabe_4 "{FFFFFF} - {99CC00}" aufgabe_5 "{FFFFFF}"
  9737. }
  9738. else
  9739. {
  9740. ausstehendeAufgaben .= "`n{FFBB00}" aufgabe_1 "{FFFFFF} - {FFBB00}" aufgabe_2 "{FFFFFF} - {FF4040}" aufgabe_3 "{FFFFFF} - {00F0CC}" aufgabe_4 "{FFFFFF} - {99CC00}" aufgabe_5 "{FFFFFF}"
  9741. }
  9742. TaskID++
  9743.  
  9744. if(TaskID == 10)
  9745. ;~ || TaskID == AnzahlTasks
  9746. {
  9747. ;~ if(Seite < AnzahlSeiten)
  9748. ;~ {
  9749. ShowDialog(0, "Ausstehende Aufgaben", ausstehendeAufgaben, "Weiter >>")
  9750. ;~ }
  9751. ;~ else
  9752. ;~ {
  9753. ;~ ShowDialog(0, "Ausstehende Aufgaben", ausstehendeAufgaben, "Ok")
  9754. ;~ }
  9755. ausstehendeAufgaben := "{FFBB00}ID Zeitpunkt {FF4040}Betreffende Person {00F0CC}Aufgabe {99CC00}Auftraggeber`n"
  9756. TaskID := 0
  9757. Seite++
  9758. Sleep, 500
  9759. Loop
  9760. {
  9761. if(IsChatOpen() || IsDialogOpen())
  9762. continue
  9763. else
  9764. break
  9765. }
  9766. }
  9767. }
  9768. ShowDialog(0, "Ausstehende Aufgaben", ausstehendeAufgaben, "Ok")
  9769. }
  9770. return
  9771.  
  9772.  
  9773.  
  9774. :?:/addtask::
  9775. Suspend Permit
  9776. betreffendePerson := PlayerInput("Betreffende Person: ")
  9777. if(betreffendePerson == "" || betreffendePerson == " ")
  9778. {
  9779. return
  9780. }
  9781. Aufgabe := PlayerInput("Aufgabe: ")
  9782. if(Aufgabe == "" || Aufgabe == " ")
  9783. {
  9784. return
  9785. }
  9786. GetPlayerName(auftraggeber)
  9787. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9788. url = http://ni31914_3.vweb16.nitrado.net/keybinder/tasks/pdapi.php?action=add&task=%Aufgabe%&person=%betreffendePerson%&auftraggeber=%auftraggeber%&password=%Passwort%
  9789. success := UrlDownloadToVar(url)
  9790.  
  9791. if(success == "QUERY_SUCCESSFUL_EXECUTED")
  9792. {
  9793. SendChat("/hq ** Neue Aufgabe ist verfügbar: Betreffende Person: " betreffendePerson ", Aufgabe: " Aufgabe ".")
  9794. }
  9795. else if(success == "ERROR_BAD_LINK")
  9796. {
  9797. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
  9798. }
  9799. else if(success == "ERROR_BAD_QUERY")
  9800. {
  9801. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Query konnte nicht an den MySQL Server gesendet werden.")
  9802. }
  9803. else if(success == "ERROR_ACCESS_DENIED")
  9804. {
  9805. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
  9806. }
  9807. else
  9808. {
  9809. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Unbekannter Fehler.")
  9810. }
  9811. return
  9812.  
  9813. :?:/deletetask::
  9814. Suspend Permit
  9815. AufgabenID := PlayerInput("ID der Aufgabe: ")
  9816. if(AufgabenID == "" || AufgabenID == " ")
  9817. {
  9818. return
  9819. }
  9820. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9821. url = http://www.rpg-ausbildung.de/keybinder/tasks/pdapi.php?action=delete&id=%AufgabenID%&password=%Passwort%
  9822. success := UrlDownloadToVar(url)
  9823.  
  9824. if(success == "QUERY_SUCCESSFUL_EXECUTED")
  9825. {
  9826. SendChat("/hq ** Aufgabe " AufgabenID " wurde ausgeführt.")
  9827. }
  9828. else if(success == "ERROR_BAD_LINK")
  9829. {
  9830. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
  9831. }
  9832. else if(success == "ERROR_BAD_QUERY")
  9833. {
  9834. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Query konnte nicht an den MySQL Server gesendet werden.")
  9835. }
  9836. else if(success == "ERROR_ACCESS_DENIED")
  9837. {
  9838. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
  9839. }
  9840. else
  9841. {
  9842. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Unbekannter Fehler.")
  9843. }
  9844. return
  9845.  
  9846. :?:/hm::
  9847. Suspend Permit
  9848.  
  9849. hitmen := ""
  9850. hmcounter := 0
  9851.  
  9852. url = http://www.rpg-ausbildung.de/keybinder/Hitmen/getalldata.php
  9853. hm := UrlDownloadToVar(url)
  9854. Loop, Parse, hm, '
  9855. {
  9856. id := GetPlayerIdByName(A_LoopField)
  9857. if(id != -1 && id != 65535)
  9858. {
  9859. hitmen .= "`n{66CC00}" A_LoopField
  9860. hmcounter ++
  9861. }
  9862. else
  9863. {
  9864. hitmen .= "`n{FF0000}" A_LoopField
  9865. }
  9866. }
  9867. hitmen .= "`n`n{FFFFFF}::.Legende.::`n{66CC00}Grün: Online`n{FF0000}Rot: Offline"
  9868. title := "Hitmen online (" hmcounter ")"
  9869. ShowDialog(0,title,hitmen,"OK")
  9870. return
  9871.  
  9872.  
  9873.  
  9874.  
  9875.  
  9876. ;~ :?:/addts::
  9877. ;~ Suspend Permit
  9878. ;~ criminal := PlayerInput("Name des Spielers: ")
  9879. ;~ if(criminal != "")
  9880. ;~ {
  9881. ;~ GetPlayerName(cop)
  9882. ;~ IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9883. ;~ addts = http://www.rpg-ausbildung.de/keybinder/Hitmen/addtodesstrafe.php?Name=%criminal%&Cop=%cop%&password=%Passwort%
  9884.  
  9885. ;~ todesstrafe := UrlDownloadToVar(addts)
  9886. ;~ StringTrimRight todesstrafe, todesstrafe, 1
  9887.  
  9888. ;~ if(todesstrafe == "QUERY_SUCCESSFUL_EXECUTED")
  9889. ;~ {
  9890. ;~ SendChat("/hq ** Gegen " criminal " wird die Todesstrafe ausgesprochen.")
  9891. ;~ }
  9892. ;~ else if(todesstrafe == "ERROR_BAD_LINK")
  9893. ;~ {
  9894. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
  9895. ;~ }
  9896. ;~ else if(todesstrafe == "ERROR_BAD_QUERY")
  9897. ;~ {
  9898. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Query konnte nicht an den MySQL Server gesendet werden.")
  9899. ;~ }
  9900. ;~ else if(todesstrafe == "ERROR_ACCESS_DENIED")
  9901. ;~ {
  9902. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
  9903. ;~ }
  9904. ;~ else
  9905. ;~ {
  9906. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Unbekannter Fehler.")
  9907. ;~ }
  9908.  
  9909. ;~ }
  9910. ;~ return
  9911.  
  9912. ;~ :?:/deletets::
  9913. ;~ Suspend Permit
  9914. ;~ pName := PlayerInput("Name des Spielers: ")
  9915. ;~ if(pName != "")
  9916. ;~ {
  9917. ;~ IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9918. ;~ deletets = http://www.rpg-ausbildung.de/keybinder/Hitmen/deletetodesstrafe.php?Name=%pName%&password=%Passwort%
  9919. ;~ success := UrlDownloadToVar(deletets)
  9920. ;~ Sleep, 500
  9921. ;~ StringTrimRight success, success, 1
  9922. ;~
  9923. ;~ if(success == "QUERY_SUCCESSFUL_EXECUTED")
  9924. ;~ {
  9925. ;~ SendChat("/hq ** Die Todesstrafe von " pName " wurde vollstreckt.")
  9926. ;~ }
  9927. ;~ else if(success == "ERROR_BAD_LINK")
  9928. ;~ {
  9929. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
  9930. ;~ }
  9931. ;~ else if(success == "ERROR_BAD_QUERY")
  9932. ;~ {
  9933. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Query konnte nicht an den MySQL Server gesendet werden.")
  9934. ;~ }
  9935. ;~ else if(success == "ERROR_ACCESS_DENIED")
  9936. ;~ {
  9937. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
  9938. ;~ }
  9939. ;~ else
  9940. ;~ {
  9941. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Unbekannter Fehler.")
  9942. ;~ }
  9943. ;~ }
  9944. ;~ return
  9945.  
  9946.  
  9947. ;~ !t::
  9948. ;~ ts := ""
  9949. ;~ ts2 := ""
  9950. ;~ IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9951. ;~ url = http://www.rpg-ausbildung.de/CaliBinderKeybinder/keybinder/Hitmen/gettodesstrafen.php?password=%Passwort%
  9952. ;~ ts := UrlDownloadToVar(url)
  9953. ;~ Sleep, 150
  9954. ;~ StringTrimRight, ts, ts, 1
  9955.  
  9956. ;~ if(ts == "ERROR_BAD_LINK")
  9957. ;~ {
  9958. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}}Fehlerhafte Parameter angegeben.")
  9959. ;~ }
  9960. ;~ else if(ts == "ERROR_ACCESS_DENIED")
  9961. ;~ {
  9962. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFF00}Achtung: {FFFFFF}Zugriff verweigert, das Passwort ist falsch!")
  9963. ;~ }
  9964. ;~ else
  9965. ;~ {
  9966. ;~ AddChatMessage(0x00BFFF, "|Todesstrafenliste|")
  9967. ;~ Loop, Parse, ts, '
  9968. ;~ {
  9969. ;~ AddChatMessage(0xFFFFFF, A_LoopField)
  9970. ;~ id := GetPlayerIdByName(A_LoopField)
  9971. ;~ if(id != -1)
  9972. ;~ {
  9973. ;~ ts2 .= "`n" A_LoopField
  9974. ;~ }
  9975. ;~ }
  9976. ;~ }
  9977. ;~ return
  9978.  
  9979.  
  9980. :?:/copstats::
  9981. Suspend Permit
  9982. Send, {Enter}
  9983. Sleep, 500
  9984. IniRead, Punkte, Statistik.ini, Vergaben, Punkte
  9985. IniRead, Tickets, Statistik.ini, Vergaben, Tickets
  9986. IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
  9987. IniRead, Tazer, Statistik.ini, Tazer, Tazer
  9988. IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
  9989. IniRead, Arrest, Statistik.ini, Arrests, Arrest
  9990. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  9991. IniRead, Kills, Statistik.ini, Kills, Kills
  9992. IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
  9993. IniRead, Money, Statistik.ini, Arrests, Money
  9994. IniRead, Flugschein, Statistik.ini, Scheine, Flugschein
  9995. IniRead, Waffenschein, Statistik.ini, Scheine, Waffenschein
  9996. IniRead, Bootschein, Statistik.ini, Scheine, Bootschein
  9997.  
  9998.  
  9999. if(Punkte = "ERROR")
  10000. {
  10001. Punkte = 0
  10002. }
  10003. if(Tickets = "ERROR")
  10004. {
  10005. Tickets = 0
  10006. }
  10007. if(TicketGeld = "ERROR")
  10008. {
  10009. TicketGeld = 0
  10010. }
  10011. if(Tazer = "ERROR")
  10012. {
  10013. Tazer = 0
  10014. }
  10015. if(OffArrest = "ERROR")
  10016. {
  10017. OffArrest = 0
  10018. }
  10019. if(Arrest = "ERROR")
  10020. {
  10021. Arrest = 0
  10022. }
  10023. if(DeathArrest = "ERROR")
  10024. {
  10025. DeathArrest = 0
  10026. }
  10027. if(Wanted = "ERROR")
  10028. {
  10029. Wanted = 0
  10030. }
  10031. if(Kills = "ERROR")
  10032. {
  10033. Kills = 0
  10034. }
  10035. if(Money = "ERROR")
  10036. {
  10037. Money = 0
  10038. }
  10039. if(Flugschein = "ERROR")
  10040. {
  10041. Flugschein = 0
  10042. }
  10043. if(Waffenschein = "ERROR")
  10044. {
  10045. Waffenschein = 0
  10046. }
  10047. if(Bootschein = "ERROR")
  10048. {
  10049. Bootschein = 0
  10050. }
  10051.  
  10052. GetCityName(city)
  10053. GetZoneName(zone)
  10054. FPS := GetFramerate()
  10055. AP := GetPlayerArmor()
  10056. HP := GetPlayerHealth()
  10057. GetPlayerName(Name)
  10058. PlayerID := GetPlayerID()
  10059. if(PlayerID != "65535" && PlayerID != "" && PlayerID != "-1")
  10060. {
  10061.  
  10062. stats := "{FF0000}Spieler-Infos:{FFFFFF}`nStandort: {FFBF00}" zone "{FFFFFF}, {FFBF00}" City "`n{FFFFFF}FPS: {FFBF00}" FPS "`n{FFFFFF}Leben: {FFBF00}" HP "{FFFFFF}/{FFBF00}" AP "`n`n{FF0000}Cop-Infos:{FFFFFF}`n{FFFFFF}Ausgestellte Wanteds: {FFBF00}" Wanted "{FFFFFF}`n{FFFFFF}Ausgestellte Punkte: {FFBF00}" Punkte "{FFFFFF}`n{FFFFFF}Ausgestellte Tickets: {FFBF00}" Tickets "{FFFFFF} (Verdientes Geld: {FFBF00}" TicketGeld "{FFFFFF}$) `n`nEingesperrte Verbrecher: {FFBF00}" Arrest "{FFFFFF} `nVerdientes Geld: {FFBF00}" Money "{FFFFFF}$`nOffline eingesperrte Verbrecher: {FFBF00}" OffArrest "{FFFFFF}`nGetötete Verbrecher: {FFBF00}" Kills "{FFFFFF}`nDeath Arrests: {FFBF00}" DeathArrest "{FFFFFF}`n `nGetazerte Personen: {FFBF00}" Tazer "{FFFFFF} `n`n{FF0000}Scheine:{FFFFFF}`nEntzogene Flugscheine: {FFBF00}" Flugschein "{FFFFFF} `nEntzogene Waffenscheine: {FFBF00}" Waffenschein "{FFFFFF} `nEntzogene Bootsscheine: {FFBF00}" Bootschein "{FFFFFF}"
  10063. ShowDialog(0, "{FFFFFF}Copstatistiken ( {FF0000}" Name "{FFFFFF} )", stats, "OK")
  10064. return
  10065.  
  10066. IsNumeric(number)
  10067. {
  10068. url = http://ni31914_1.vweb14.nitrado.net/Keybinder/files/fbibinder/isnumeric.php?number=%number%
  10069. success := UrlDownloadToVar(url)
  10070. return success
  10071. }
  10072. }
  10073.  
  10074.  
  10075. :?:/auto::
  10076. Suspend Permit
  10077. Fahrzeug := PlayerInput("Model-ID oder Fahrzeugname: ")
  10078. Sleep, 100
  10079.  
  10080. car_id := ""
  10081. car_name := ""
  10082. car_preis := ""
  10083. car_autohaus := ""
  10084. car_kaution := ""
  10085. car_tank := ""
  10086. car_verbrauch := ""
  10087. car_geschwindigkeit := ""
  10088. car_level := ""
  10089. car_tuningwerkstatt := ""
  10090.  
  10091. if(Fahrzeug == 571 || Fahrzeug = "Kart")
  10092. {
  10093. car_id := 571
  10094. car_name := "Kart"
  10095. car_preis := "/"
  10096. car_autohaus := "/"
  10097. car_kaution := "12.000$"
  10098. car_tank := "12 Liter"
  10099. car_verbrauch := "4.5"
  10100. car_geschwindigkeit := "72 km/h"
  10101. car_level := "1"
  10102. car_tuningwerkstatt := "Zweiradtuning"
  10103. }
  10104. else if(Fahrzeug == 487 || Fahrzeug = "Maverick")
  10105. {
  10106. car_id := 487
  10107. car_name := "Maverick"
  10108. car_preis := "750.000$"
  10109. car_autohaus := "Airport LS"
  10110. car_kaution := "/"
  10111. car_tank := "120 Liter"
  10112. car_verbrauch := "35.0"
  10113. car_geschwindigkeit := "135 km/h"
  10114. car_level := "12"
  10115. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10116. }
  10117. else if(Fahrzeug == 593 || Fahrzeug = "Dodo")
  10118. {
  10119. car_id := 593
  10120. car_name := "Dodo"
  10121. car_preis := "150.000$"
  10122. car_autohaus := "Airport LS"
  10123. car_kaution := "/"
  10124. car_tank := "80 Liter"
  10125. car_verbrauch := "24.8"
  10126. car_geschwindigkeit := "120 km/h"
  10127. car_level := "6"
  10128. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10129. }
  10130. else if(Fahrzeug == 519 || Fahrzeug = "Shamal")
  10131. {
  10132. car_id := 519
  10133. car_name := "Shamal"
  10134. car_preis := "3.000.000$"
  10135. car_autohaus := "Airport LS"
  10136. car_kaution := "/"
  10137. car_tank := "3000 Liter"
  10138. car_verbrauch := "450.0"
  10139. car_geschwindigkeit := "210 km/h"
  10140. car_level := "12"
  10141. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10142. }
  10143. else if(Fahrzeug == 461 || Fahrzeug = "PCJ-600" || Fahrzeug = "PCJ600" || Fahrzeug = "PCJ")
  10144. {
  10145. car_id := 461
  10146. car_name := "PCJ-600"
  10147. car_preis := "12.000$"
  10148. car_autohaus := "Coutt and Schutz"
  10149. car_kaution := "/"
  10150. car_tank := "30 Liter"
  10151. car_verbrauch := "11.6"
  10152. car_geschwindigkeit := "125 km/h"
  10153. car_level := "1"
  10154. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10155. }
  10156. else if(Fahrzeug == 462 || Fahrzeug = "Faggio")
  10157. {
  10158. car_id := 462
  10159. car_name := "Faggio"
  10160. car_preis := "3.000$"
  10161. car_autohaus := "Coutt and Schutz"
  10162. car_kaution := "/"
  10163. car_tank := "15 Liter"
  10164. car_verbrauch := "7.5"
  10165. car_geschwindigkeit := "86 km/h"
  10166. car_level := "1"
  10167. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10168. }
  10169. else if(Fahrzeug == 463 || Fahrzeug = "Freeway")
  10170. {
  10171. car_id := 463
  10172. car_name := "Freeway"
  10173. car_preis := "22.000$"
  10174. car_autohaus := "Coutt and Schutz"
  10175. car_kaution := "/"
  10176. car_tank := "30 Liter"
  10177. car_verbrauch := "11.3"
  10178. car_geschwindigkeit := "111 km/h"
  10179. car_level := "1"
  10180. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10181. }
  10182. else if(Fahrzeug == 468 || Fahrzeug = "Sanchez")
  10183. {
  10184. car_id := 468
  10185. car_name := "Sanchez"
  10186. car_preis := "16.000$"
  10187. car_autohaus := "Coutt and Schutz"
  10188. car_kaution := "/"
  10189. car_tank := "30 Liter"
  10190. car_verbrauch := "10.8"
  10191. car_geschwindigkeit := "111 km/h"
  10192. car_level := "1"
  10193. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10194. }
  10195. else if(Fahrzeug == 586 || Fahrzeug = "Wayfarer")
  10196. {
  10197. car_id := 586
  10198. car_name := "Wayfarer"
  10199. car_preis := "10.000$"
  10200. car_autohaus := "Coutt and Schutz"
  10201. car_kaution := "/"
  10202. car_tank := "30 Liter"
  10203. car_verbrauch := "9.8"
  10204. car_geschwindigkeit := "111 km/h"
  10205. car_level := "1"
  10206. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10207. }
  10208. else if(Fahrzeug == 581 || Fahrzeug = "BF-400" || Fahrzeug = "BF" || Fahrzeug = "BF 400" || Fahrzeug = "BF400")
  10209. {
  10210. car_id := 581
  10211. car_name := "BF-400"
  10212. car_preis := "14.000$"
  10213. car_autohaus := "Coutt and Schutz"
  10214. car_kaution := "/"
  10215. car_tank := "30 Liter"
  10216. car_verbrauch := "10.0"
  10217. car_geschwindigkeit := "117 km/h"
  10218. car_level := "1"
  10219. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10220. }
  10221. else if(Fahrzeug == 522 || Fahrzeug = "NRG-500" || Fahrzeug = "NRG" || Fahrzeug = "NRG 500" || Fahrzeug = "NRG500")
  10222. {
  10223. car_id := 522
  10224. car_name := "NRG-500"
  10225. car_preis := "50.000$"
  10226. car_autohaus := "Coutt and Schutz"
  10227. car_kaution := "/"
  10228. car_tank := "30 Liter"
  10229. car_verbrauch := "21.1"
  10230. car_geschwindigkeit := "136 km/h"
  10231. car_level := "1"
  10232. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10233. }
  10234. else if(Fahrzeug == 481 || Fahrzeug = "BMX")
  10235. {
  10236. car_id := 481
  10237. car_name := "BMX"
  10238. car_preis := "1.000$"
  10239. car_autohaus := "Coutt and Schutz"
  10240. car_kaution := "/"
  10241. car_tank := "3 Liter"
  10242. car_verbrauch := "0.0"
  10243. car_geschwindigkeit := "74 km/h"
  10244. car_level := "1"
  10245. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10246. }
  10247. else if(Fahrzeug == 521 || Fahrzeug = "FCR-900" || Fahrzeug = "FCR" || Fahrzeug = "FCR900" || Fahrzeug = "FCR 900")
  10248. {
  10249. car_id := 521
  10250. car_name := "FCR-900"
  10251. car_preis := "14.000$"
  10252. car_autohaus := "Coutt and Schutz"
  10253. car_kaution := "/"
  10254. car_tank := "30 Liter"
  10255. car_verbrauch := "14.1"
  10256. car_geschwindigkeit := "125 km/h"
  10257. car_level := "1"
  10258. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10259. }
  10260. else if(Fahrzeug == 506 || Fahrzeug = "Super GT" || Fahrzeug = "SuperGT")
  10261. {
  10262. car_id := 506
  10263. car_name := "Super GT"
  10264. car_preis := "250.000$"
  10265. car_autohaus := "Grottis"
  10266. car_kaution := "7.0000$"
  10267. car_tank := "40 Liter"
  10268. car_verbrauch := "17.8"
  10269. car_geschwindigkeit := "139 km/h"
  10270. car_level := "1"
  10271. car_tuningwerkstatt := "Transfender"
  10272. }
  10273. else if(Fahrzeug == 560 || Fahrzeug = "Sultan")
  10274. {
  10275. car_id := 560
  10276. car_name := "Sultan"
  10277. car_preis := "85.000$"
  10278. car_autohaus := "Grottis"
  10279. car_kaution := "5.0000$"
  10280. car_tank := "50 Liter"
  10281. car_verbrauch := "16.7"
  10282. car_geschwindigkeit := "131 km/h"
  10283. car_level := "1"
  10284. car_tuningwerkstatt := "Wheel Arch Angels"
  10285. }
  10286. else if(Fahrzeug == 559 || Fahrzeug = "Jester")
  10287. {
  10288. car_id := 559
  10289. car_name := "Jester"
  10290. car_preis := "200.000$"
  10291. car_autohaus := "Grottis"
  10292. car_kaution := "6.0000$"
  10293. car_tank := "40 Liter"
  10294. car_verbrauch := "17.1"
  10295. car_geschwindigkeit := "138 km/h"
  10296. car_level := "1"
  10297. car_tuningwerkstatt := "Wheel Arch Angels"
  10298. }
  10299. else if(Fahrzeug == 541 || Fahrzeug = "Bullet")
  10300. {
  10301. car_id := 541
  10302. car_name := "Bullet"
  10303. car_preis := "225.000$"
  10304. car_autohaus := "Grottis"
  10305. car_kaution := "7.0000$"
  10306. car_tank := "40 Liter"
  10307. car_verbrauch := "18.2"
  10308. car_geschwindigkeit := "157 km/h"
  10309. car_level := "1"
  10310. car_tuningwerkstatt := "Transfender"
  10311. }
  10312. else if(Fahrzeug == 451 || Fahrzeug = "Turismo")
  10313. {
  10314. car_id := 451
  10315. car_name := "Turismo"
  10316. car_preis := "325.000$"
  10317. car_autohaus := "Grottis"
  10318. car_kaution := "7.0000$"
  10319. car_tank := "40 Liter"
  10320. car_verbrauch := "21.1"
  10321. car_geschwindigkeit := "150 km/h"
  10322. car_level := "1"
  10323. car_tuningwerkstatt := "Transfender"
  10324. }
  10325. else if(Fahrzeug == 415 || Fahrzeug = "Cheetah")
  10326. {
  10327. car_id := 415
  10328. car_name := "Cheetah"
  10329. car_preis := "250.000$"
  10330. car_autohaus := "Grottis"
  10331. car_kaution := "7.0000$"
  10332. car_tank := "40 Liter"
  10333. car_verbrauch := "17.6"
  10334. car_geschwindigkeit := "149 km/h"
  10335. car_level := "1"
  10336. car_tuningwerkstatt := "Transfender"
  10337. }
  10338. else if(Fahrzeug == 411 || Fahrzeug = "Infernus")
  10339. {
  10340. car_id := 411
  10341. car_name := "Infernus"
  10342. car_preis := "350.000$"
  10343. car_autohaus := "Grottis"
  10344. car_kaution := "7.0000$"
  10345. car_tank := "40 Liter"
  10346. car_verbrauch := "24.2"
  10347. car_geschwindigkeit := "172 km/h"
  10348. car_level := "1"
  10349. car_tuningwerkstatt := "Transfender"
  10350. }
  10351. else if(Fahrzeug == 402 || Fahrzeug = "Buffalo")
  10352. {
  10353. car_id := 402
  10354. car_name := "Buffalo"
  10355. car_preis := "225.000$"
  10356. car_autohaus := "Grottis"
  10357. car_kaution := "7.0000$"
  10358. car_tank := "40 Liter"
  10359. car_verbrauch := "13.3"
  10360. car_geschwindigkeit := "144 km/h"
  10361. car_level := "1"
  10362. car_tuningwerkstatt := "Transfender"
  10363. }
  10364. else if(Fahrzeug == 429 || Fahrzeug = "Banshee")
  10365. {
  10366. car_id := 429
  10367. car_name := "Banshee"
  10368. car_preis := "200.000$"
  10369. car_autohaus := "Grottis"
  10370. car_kaution := "6.0000$"
  10371. car_tank := "40 Liter"
  10372. car_verbrauch := "19.2"
  10373. car_geschwindigkeit := "156 km/h"
  10374. car_level := "1"
  10375. car_tuningwerkstatt := "Transfender"
  10376. }
  10377. else if(Fahrzeug == 602 || Fahrzeug = "Alpha")
  10378. {
  10379. car_id := 602
  10380. car_name := "Alpha"
  10381. car_preis := "250.000$"
  10382. car_autohaus := "Grottis"
  10383. car_kaution := "7.0000$"
  10384. car_tank := "40 Liter"
  10385. car_verbrauch := "17.2"
  10386. car_geschwindigkeit := "131 km/h"
  10387. car_level := "1"
  10388. car_tuningwerkstatt := "Transfender"
  10389. }
  10390. else if(Fahrzeug == 576 || Fahrzeug = "Tornado")
  10391. {
  10392. car_id := 576
  10393. car_name := "Tornado"
  10394. car_preis := "12.000$"
  10395. car_autohaus := "Intercars"
  10396. car_kaution := "4.0000$"
  10397. car_tank := "40 Liter"
  10398. car_verbrauch := "12.1"
  10399. car_geschwindigkeit := "122 km/h"
  10400. car_level := "1"
  10401. car_tuningwerkstatt := "Loco Low Co."
  10402. }
  10403. else if(Fahrzeug == 575 || Fahrzeug = "Broadway")
  10404. {
  10405. car_id := 575
  10406. car_name := "Broadway"
  10407. car_preis := "8.000$"
  10408. car_autohaus := "Intercars"
  10409. car_kaution := "4.0000$"
  10410. car_tank := "40 Liter"
  10411. car_verbrauch := "11.8"
  10412. car_geschwindigkeit := "122 km/h"
  10413. car_level := "1"
  10414. car_tuningwerkstatt := "Loco Low Co."
  10415. }
  10416. else if(Fahrzeug == 567 || Fahrzeug = "Savanna")
  10417. {
  10418. car_id := 567
  10419. car_name := "Savanna"
  10420. car_preis := "16.000$"
  10421. car_autohaus := "Intercars"
  10422. car_kaution := "4.0000$"
  10423. car_tank := "40 Liter"
  10424. car_verbrauch := "12.1"
  10425. car_geschwindigkeit := "134 km/h"
  10426. car_level := "1"
  10427. car_tuningwerkstatt := "Loco Low Co."
  10428. }
  10429. else if(Fahrzeug == 536 || Fahrzeug = "Blade")
  10430. {
  10431. car_id := 536
  10432. car_name := "Blade"
  10433. car_preis := "16.000$"
  10434. car_autohaus := "Intercars"
  10435. car_kaution := "4.0000$"
  10436. car_tank := "40 Liter"
  10437. car_verbrauch := "11.1"
  10438. car_geschwindigkeit := "134 km/h"
  10439. car_level := "1"
  10440. car_tuningwerkstatt := "Loco Low Co."
  10441. }
  10442. else if(Fahrzeug == 535 || Fahrzeug = "Slamvan")
  10443. {
  10444. car_id := 535
  10445. car_name := "Slamvan"
  10446. car_preis := "18.000$"
  10447. car_autohaus := "Intercars"
  10448. car_kaution := "4.0000$"
  10449. car_tank := "40 Liter"
  10450. car_verbrauch := "13.1"
  10451. car_geschwindigkeit := "122 km/h"
  10452. car_level := "1"
  10453. car_tuningwerkstatt := "Loco Low Co."
  10454. }
  10455. else if(Fahrzeug == 534 || Fahrzeug = "Remington")
  10456. {
  10457. car_id := 534
  10458. car_name := "Remington"
  10459. car_preis := "16.000$"
  10460. car_autohaus := "Intercars"
  10461. car_kaution := "4.0000$"
  10462. car_tank := "40 Liter"
  10463. car_verbrauch := "12.1"
  10464. car_geschwindigkeit := "131 km/h"
  10465. car_level := "1"
  10466. car_tuningwerkstatt := "Loco Low Co."
  10467. }
  10468. else if(Fahrzeug == 518 || Fahrzeug = "Buccaneer")
  10469. {
  10470. car_id := 518
  10471. car_name := "Buccaneer"
  10472. car_preis := "14.000$"
  10473. car_autohaus := "Intercars"
  10474. car_kaution := "4.0000$"
  10475. car_tank := "40 Liter"
  10476. car_verbrauch := "13.1"
  10477. car_geschwindigkeit := "127 km/h"
  10478. car_level := "1"
  10479. car_tuningwerkstatt := "Transfender"
  10480. }
  10481. else if(Fahrzeug == 419 || Fahrzeug = "Esperanto")
  10482. {
  10483. car_id := 419
  10484. car_name := "Esperanto"
  10485. car_preis := "16.000$"
  10486. car_autohaus := "Intercars"
  10487. car_kaution := "4.0000$"
  10488. car_tank := "40 Liter"
  10489. car_verbrauch := "12.1"
  10490. car_geschwindigkeit := "115 km/h"
  10491. car_level := "1"
  10492. car_tuningwerkstatt := "Transfender"
  10493. }
  10494. else if(Fahrzeug == 412 || Fahrzeug = "Voodoo")
  10495. {
  10496. car_id := 412
  10497. car_name := "Voodoo"
  10498. car_preis := "10.000$"
  10499. car_autohaus := "Intercars"
  10500. car_kaution := "4.0000$"
  10501. car_tank := "40 Liter"
  10502. car_verbrauch := "14.1"
  10503. car_geschwindigkeit := "131 km/h"
  10504. car_level := "1"
  10505. car_tuningwerkstatt := "Loco Low Co."
  10506. }
  10507. else if(Fahrzeug == 545 || Fahrzeug = "Hustler")
  10508. {
  10509. car_id := 545
  10510. car_name := "Hustler"
  10511. car_preis := "12.000$"
  10512. car_autohaus := "Intercars"
  10513. car_kaution := "4.0000$"
  10514. car_tank := "40 Liter"
  10515. car_verbrauch := "13.1"
  10516. car_geschwindigkeit := "114 km/h"
  10517. car_level := "1"
  10518. car_tuningwerkstatt := "Transfender"
  10519. }
  10520. else if(Fahrzeug == 496 || Fahrzeug = "Blista Compact" || Fahrzeug = "Blista")
  10521. {
  10522. car_id := 496
  10523. car_name := "Blista Compact"
  10524. car_preis := "4.000$"
  10525. car_autohaus := "Intercars"
  10526. car_kaution := "3.0000$"
  10527. car_tank := "40 Liter"
  10528. car_verbrauch := "10.8"
  10529. car_geschwindigkeit := "126 km/h"
  10530. car_level := "1"
  10531. car_tuningwerkstatt := "Transfender"
  10532. }
  10533. else if(Fahrzeug == 480 || Fahrzeug = "Comet")
  10534. {
  10535. car_id := 400
  10536. car_name := "Comet"
  10537. car_preis := "16.000$"
  10538. car_autohaus := "Intercars"
  10539. car_kaution := "4.0000$"
  10540. car_tank := "40 Liter"
  10541. car_verbrauch := "18.2"
  10542. car_geschwindigkeit := "143 km/h"
  10543. car_level := "1"
  10544. car_tuningwerkstatt := "Transfender"
  10545. }
  10546. else if(Fahrzeug == 562 || Fahrzeug = "Elegy")
  10547. {
  10548. car_id := 562
  10549. car_name := "Elegy"
  10550. car_preis := "16.000$"
  10551. car_autohaus := "Intercars"
  10552. car_kaution := "4.0000$"
  10553. car_tank := "40 Liter"
  10554. car_verbrauch := "18.2"
  10555. car_geschwindigkeit := "143 km/h"
  10556. car_level := "1"
  10557. car_tuningwerkstatt := "Transfender"
  10558. }
  10559. else if(Fahrzeug == 579 || Fahrzeug = "Huntley")
  10560. {
  10561. car_id := 579
  10562. car_name := "Huntley"
  10563. car_preis := "24.000$"
  10564. car_autohaus := "Intercars"
  10565. car_kaution := "4.0000$"
  10566. car_tank := "50 Liter"
  10567. car_verbrauch := "16.2"
  10568. car_geschwindigkeit := "122 km/h"
  10569. car_level := "1"
  10570. car_tuningwerkstatt := "Transfender"
  10571. }
  10572. else if(Fahrzeug == 500 || Fahrzeug = "Mesa")
  10573. {
  10574. car_id := 500
  10575. car_name := "Mesa"
  10576. car_preis := "28.000$"
  10577. car_autohaus := "Intercars"
  10578. car_kaution := "4.0000$"
  10579. car_tank := "40 Liter"
  10580. car_verbrauch := "11.5"
  10581. car_geschwindigkeit := "109 km/h"
  10582. car_level := "1"
  10583. car_tuningwerkstatt := "Transfender"
  10584. }
  10585. else if(Fahrzeug == 418 || Fahrzeug = "Moonbeam")
  10586. {
  10587. car_id := 418
  10588. car_name := "Moonbeam"
  10589. car_preis := "20.000$"
  10590. car_autohaus := "Intercars"
  10591. car_kaution := "4.0000$"
  10592. car_tank := "50 Liter"
  10593. car_verbrauch := "15.6"
  10594. car_geschwindigkeit := "89 km/h"
  10595. car_level := "1"
  10596. car_tuningwerkstatt := "Transfender"
  10597. }
  10598. else if(Fahrzeug == 549 || Fahrzeug = "Tampa")
  10599. {
  10600. car_id := 549
  10601. car_name := "Tampa"
  10602. car_preis := "4.600$"
  10603. car_autohaus := "Intercars"
  10604. car_kaution := "3.0000$"
  10605. car_tank := "40 Liter"
  10606. car_verbrauch := "13.1"
  10607. car_geschwindigkeit := "119 km/h"
  10608. car_level := "1"
  10609. car_tuningwerkstatt := "Transfender"
  10610. }
  10611. else if(Fahrzeug == 422 || Fahrzeug = "Bobcat")
  10612. {
  10613. car_id := 422
  10614. car_name := "Bobcat"
  10615. car_preis := "18.000$"
  10616. car_autohaus := "Intercars"
  10617. car_kaution := "4.0000$"
  10618. car_tank := "45 Liter"
  10619. car_verbrauch := "14.8"
  10620. car_geschwindigkeit := "108 km/h"
  10621. car_level := "1"
  10622. car_tuningwerkstatt := "Transfender"
  10623. }
  10624. else if(Fahrzeug == 482 || Fahrzeug = "Burrito")
  10625. {
  10626. car_id := 482
  10627. car_name := "Burrito"
  10628. car_preis := "16.000$"
  10629. car_autohaus := "Intercars"
  10630. car_kaution := "4.0000$"
  10631. car_tank := "40 Liter"
  10632. car_verbrauch := "17.2"
  10633. car_geschwindigkeit := "121 km/h"
  10634. car_level := "1"
  10635. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10636. }
  10637. else if(Fahrzeug == 516 || Fahrzeug = "Nebula")
  10638. {
  10639. car_id := 516
  10640. car_name := "Nebula"
  10641. car_preis := "12.000$"
  10642. car_autohaus := "Intercars"
  10643. car_kaution := "4.0000$"
  10644. car_tank := "40 Liter"
  10645. car_verbrauch := "11.8"
  10646. car_geschwindigkeit := "122 km/h"
  10647. car_level := "1"
  10648. car_tuningwerkstatt := "Transfender"
  10649. }
  10650. else if(Fahrzeug == 603 || Fahrzeug = "Phoenix")
  10651. {
  10652. car_id := 603
  10653. car_name := "Phoenix"
  10654. car_preis := "28.000$"
  10655. car_autohaus := "Intercars"
  10656. car_kaution := "4.0000$"
  10657. car_tank := "40 Liter"
  10658. car_verbrauch := "14.1"
  10659. car_geschwindigkeit := "133 km/h"
  10660. car_level := "1"
  10661. car_tuningwerkstatt := "Transfender"
  10662. }
  10663. else if(Fahrzeug == 401 || Fahrzeug = "Bravura")
  10664. {
  10665. car_id := 401
  10666. car_name := "Bravura"
  10667. car_preis := "7.000$"
  10668. car_autohaus := "Ottos"
  10669. car_kaution := "4.0000$"
  10670. car_tank := "40 Liter"
  10671. car_verbrauch := "11.8"
  10672. car_geschwindigkeit := "114 km/h"
  10673. car_level := "1"
  10674. car_tuningwerkstatt := "Transfender"
  10675. }
  10676. else if(Fahrzeug == 467 || Fahrzeug = "Oceanic")
  10677. {
  10678. car_id := 467
  10679. car_name := "Oceanic"
  10680. car_preis := "16.000$"
  10681. car_autohaus := "Ottos"
  10682. car_kaution := "4.0000$"
  10683. car_tank := "40 Liter"
  10684. car_verbrauch := "12.1"
  10685. car_geschwindigkeit := "109 km/h"
  10686. car_level := "1"
  10687. car_tuningwerkstatt := "Transfender"
  10688. }
  10689. else if(Fahrzeug == 426 || Fahrzeug = "Premier")
  10690. {
  10691. car_id := 426
  10692. car_name := "Premier"
  10693. car_preis := "20.000$"
  10694. car_autohaus := "Ottos"
  10695. car_kaution := "4.0000$"
  10696. car_tank := "40 Liter"
  10697. car_verbrauch := "12.3"
  10698. car_geschwindigkeit := "134 km/h"
  10699. car_level := "1"
  10700. car_tuningwerkstatt := "Transfender"
  10701. }
  10702. else if(Fahrzeug == 405 || Fahrzeug = "Sentinel")
  10703. {
  10704. car_id := 405
  10705. car_name := "Sentinel"
  10706. car_preis := "14.900$"
  10707. car_autohaus := "Ottos"
  10708. car_kaution := "4.0000$"
  10709. car_tank := "40 Liter"
  10710. car_verbrauch := "11.3"
  10711. car_geschwindigkeit := "127 km/h"
  10712. car_level := "1"
  10713. car_tuningwerkstatt := "Transfender"
  10714. }
  10715. else if(Fahrzeug == 445 || Fahrzeug = "Admiral")
  10716. {
  10717. car_id := 445
  10718. car_name := "Admiral"
  10719. car_preis := "12.000$"
  10720. car_autohaus := "Ottos"
  10721. car_kaution := "4.0000$"
  10722. car_tank := "40 Liter"
  10723. car_verbrauch := "12.1"
  10724. car_geschwindigkeit := "127 km/h"
  10725. car_level := "1"
  10726. car_tuningwerkstatt := "Transfender"
  10727. }
  10728. else if(Fahrzeug == 507 || Fahrzeug = "Elegant")
  10729. {
  10730. car_id := 507
  10731. car_name := "Elegant"
  10732. car_preis := "20.000$"
  10733. car_autohaus := "Ottos"
  10734. car_kaution := "4.0000$"
  10735. car_tank := "40 Liter"
  10736. car_verbrauch := "11.3"
  10737. car_geschwindigkeit := "128 km/h"
  10738. car_level := "1"
  10739. car_tuningwerkstatt := "Transfender"
  10740. }
  10741. else if(Fahrzeug == 475 || Fahrzeug = "Sabre")
  10742. {
  10743. car_id := 475
  10744. car_name := "Sabre"
  10745. car_preis := "22.000$"
  10746. car_autohaus := "Ottos"
  10747. car_kaution := "4.0000$"
  10748. car_tank := "40 Liter"
  10749. car_verbrauch := "11.3"
  10750. car_geschwindigkeit := "134 km/h"
  10751. car_level := "1"
  10752. car_tuningwerkstatt := "Transfender"
  10753. }
  10754. else if(Fahrzeug == 421 || Fahrzeug = "Washington")
  10755. {
  10756. car_id := 421
  10757. car_name := "Washington"
  10758. car_preis := "21.000$"
  10759. car_autohaus := "Ottos"
  10760. car_kaution := "4.0000$"
  10761. car_tank := "40 Liter"
  10762. car_verbrauch := "13.3"
  10763. car_geschwindigkeit := "119 km/h"
  10764. car_level := "1"
  10765. car_tuningwerkstatt := "Transfender"
  10766. }
  10767. else if(Fahrzeug == 527 || Fahrzeug = "Cadrona")
  10768. {
  10769. car_id := 527
  10770. car_name := "Cadrona"
  10771. car_preis := "11.000$"
  10772. car_autohaus := "Ottos"
  10773. car_kaution := "4.0000$"
  10774. car_tank := "40 Liter"
  10775. car_verbrauch := "11.8"
  10776. car_geschwindigkeit := "115 km/h"
  10777. car_level := "1"
  10778. car_tuningwerkstatt := "Transfender"
  10779. }
  10780. else if(Fahrzeug == 550 || Fahrzeug = "Sunrise")
  10781. {
  10782. car_id := 550
  10783. car_name := "Sunrise"
  10784. car_preis := "14.000$"
  10785. car_autohaus := "Ottos"
  10786. car_kaution := "4.0000$"
  10787. car_tank := "40 Liter"
  10788. car_verbrauch := "11.8"
  10789. car_geschwindigkeit := "112 km/h"
  10790. car_level := "1"
  10791. car_tuningwerkstatt := "Transfender"
  10792. }
  10793. else if(Fahrzeug == 580 || Fahrzeug = "Stafford")
  10794. {
  10795. car_id := 580
  10796. car_name := "Stafford"
  10797. car_preis := "18.000$"
  10798. car_autohaus := "Ottos"
  10799. car_kaution := "4.0000$"
  10800. car_tank := "40 Liter"
  10801. car_verbrauch := "11.6"
  10802. car_geschwindigkeit := "118 km/h"
  10803. car_level := "1"
  10804. car_tuningwerkstatt := "Transfender"
  10805. }
  10806. else if(Fahrzeug == 492 || Fahrzeug = "Greenwood")
  10807. {
  10808. car_id := 492
  10809. car_name := "Greenwood"
  10810. car_preis := "7.500$"
  10811. car_autohaus := "Ottos"
  10812. car_kaution := "4.0000$"
  10813. car_tank := "40 Liter"
  10814. car_verbrauch := "11.6"
  10815. car_geschwindigkeit := "109 km/h"
  10816. car_level := "1"
  10817. car_tuningwerkstatt := "Transfender"
  10818. }
  10819. else if(Fahrzeug == 474 || Fahrzeug = "Hermes")
  10820. {
  10821. car_id := 474
  10822. car_name := "Hermes"
  10823. car_preis := "15.000$"
  10824. car_autohaus := "Ottos"
  10825. car_kaution := "4.0000$"
  10826. car_tank := "40 Liter"
  10827. car_verbrauch := "12.3"
  10828. car_geschwindigkeit := "115 km/h"
  10829. car_level := "1"
  10830. car_tuningwerkstatt := "Transfender"
  10831. }
  10832. else if(Fahrzeug == 542 || Fahrzeug = "Clover")
  10833. {
  10834. car_id := 542
  10835. car_name := "Clover"
  10836. car_preis := "5.000$"
  10837. car_autohaus := "Ottos"
  10838. car_kaution := "3.0000$"
  10839. car_tank := "40 Liter"
  10840. car_verbrauch := "10.1"
  10841. car_geschwindigkeit := "127 km/h"
  10842. car_level := "1"
  10843. car_tuningwerkstatt := "Transfender"
  10844. }
  10845. else if(Fahrzeug == 531 || Fahrzeug = "Tractor" || Fahrzeug = "Traktor")
  10846. {
  10847. car_id := 531
  10848. car_name := "Tractor"
  10849. car_preis := "25.000$"
  10850. car_autohaus := "Rastplatz"
  10851. car_kaution := "4.0000$"
  10852. car_tank := "25 Liter"
  10853. car_verbrauch := "7.5"
  10854. car_geschwindigkeit := "54 km/h"
  10855. car_level := "1"
  10856. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10857. }
  10858. else if(Fahrzeug == 578 || Fahrzeug = "DFT-30" || Fahrzeug = "DFT" || Fahrzeug = "DFT 30" || Fahrzeug = "DFT30")
  10859. {
  10860. car_id := 578
  10861. car_name := "DFT-30"
  10862. car_preis := "70.000$"
  10863. car_autohaus := "Rastplatz"
  10864. car_kaution := "12.0000$"
  10865. car_tank := "40 Liter"
  10866. car_verbrauch := "17.2"
  10867. car_geschwindigkeit := "101 km/h"
  10868. car_level := "1"
  10869. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10870. }
  10871. else if(Fahrzeug == 404 || Fahrzeug = "Perennial")
  10872. {
  10873. car_id := 404
  10874. car_name := "Perennial"
  10875. car_preis := "8.000$"
  10876. car_autohaus := "Rastplatz"
  10877. car_kaution := "4.0000$"
  10878. car_tank := "40 Liter"
  10879. car_verbrauch := "12.1"
  10880. car_geschwindigkeit := "103 km/h"
  10881. car_level := "1"
  10882. car_tuningwerkstatt := "Transfender"
  10883. }
  10884. else if(Fahrzeug == 478 || Fahrzeug = "Walton")
  10885. {
  10886. car_id := 478
  10887. car_name := "Walton"
  10888. car_preis := "8.000$"
  10889. car_autohaus := "Rastplatz"
  10890. car_kaution := "4.0000$"
  10891. car_tank := "40 Liter"
  10892. car_verbrauch := "14.1"
  10893. car_geschwindigkeit := "91 km/h"
  10894. car_level := "1"
  10895. car_tuningwerkstatt := "Transfender"
  10896. }
  10897. else if(Fahrzeug == 529 || Fahrzeug = "Willard")
  10898. {
  10899. car_id := 529
  10900. car_name := "Willard"
  10901. car_preis := "8.000$"
  10902. car_autohaus := "Rastplatz"
  10903. car_kaution := "4.0000$"
  10904. car_tank := "40 Liter"
  10905. car_verbrauch := "11.6"
  10906. car_geschwindigkeit := "115 km/h"
  10907. car_level := "1"
  10908. car_tuningwerkstatt := "Transfender"
  10909. }
  10910. else if(Fahrzeug == 554 || Fahrzeug = "Yosemite")
  10911. {
  10912. car_id := 554
  10913. car_name := "Yosemite"
  10914. car_preis := "18.000$"
  10915. car_autohaus := "Rastplatz"
  10916. car_kaution := "4.0000$"
  10917. car_tank := "40 Liter"
  10918. car_verbrauch := "13.1"
  10919. car_geschwindigkeit := "111 km/h"
  10920. car_level := "1"
  10921. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10922. }
  10923. else if(Fahrzeug == 446 || Fahrzeug = "Squallo" || Fahrzeug = "Squalo")
  10924. {
  10925. car_id := 446
  10926. car_name := "Squalo"
  10927. car_preis := "500.000$"
  10928. car_autohaus := "Strand"
  10929. car_kaution := "/"
  10930. car_tank := "70 Liter"
  10931. car_verbrauch := "19.2"
  10932. car_geschwindigkeit := "180 km/h"
  10933. car_level := "6"
  10934. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10935. }
  10936. else if(Fahrzeug == 454 || Fahrzeug = "Tropic")
  10937. {
  10938. car_id := 454
  10939. car_name := "Tropic"
  10940. car_preis := "750.000$"
  10941. car_autohaus := "Strand"
  10942. car_kaution := "/"
  10943. car_tank := "70 Liter"
  10944. car_verbrauch := "22.3"
  10945. car_geschwindigkeit := "99 km/h"
  10946. car_level := "12"
  10947. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10948. }
  10949. else if(Fahrzeug == 493 || Fahrzeug = "Jetmax")
  10950. {
  10951. car_id := 493
  10952. car_name := "Jetmax"
  10953. car_preis := "500.000$"
  10954. car_autohaus := "Strand"
  10955. car_kaution := "/"
  10956. car_tank := "60 Liter"
  10957. car_verbrauch := "19.1"
  10958. car_geschwindigkeit := "130 km/h"
  10959. car_level := "6"
  10960. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10961. }
  10962. else if(Fahrzeug == 452 || Fahrzeug = "Speeder")
  10963. {
  10964. car_id := 452
  10965. car_name := "Speeder"
  10966. car_preis := "500.000$"
  10967. car_autohaus := "Strand"
  10968. car_kaution := "/"
  10969. car_tank := "70 Liter"
  10970. car_verbrauch := "19.5"
  10971. car_geschwindigkeit := "130 km/h"
  10972. car_level := "6"
  10973. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10974. }
  10975. else if(Fahrzeug == 473 || Fahrzeug = "Dinghy")
  10976. {
  10977. car_id := 473
  10978. car_name := "Dinghy"
  10979. car_preis := "25.000$"
  10980. car_autohaus := "Strand"
  10981. car_kaution := "/"
  10982. car_tank := "30 Liter"
  10983. car_verbrauch := "9.8"
  10984. car_geschwindigkeit := "83 km/h"
  10985. car_level := "1"
  10986. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10987. }
  10988. else if(Fahrzeug == 458 || Fahrzeug = "Solair")
  10989. {
  10990. car_id := 458
  10991. car_name := "Solair"
  10992. car_preis := "16.000$"
  10993. car_autohaus := "Wang Cars"
  10994. car_kaution := "4.000$"
  10995. car_tank := "40 Liter"
  10996. car_verbrauch := "12.1"
  10997. car_geschwindigkeit := "122 km/h"
  10998. car_level := "1"
  10999. car_tuningwerkstatt := "Transfender"
  11000. }
  11001. else if(Fahrzeug == 561 || Fahrzeug = "Stratum")
  11002. {
  11003. car_id := 561
  11004. car_name := "Stratum"
  11005. car_preis := "16.000$"
  11006. car_autohaus := "Wang Cars"
  11007. car_kaution := "4.000$"
  11008. car_tank := "40 Liter"
  11009. car_verbrauch := "13.1"
  11010. car_geschwindigkeit := "119 km/h"
  11011. car_level := "1"
  11012. car_tuningwerkstatt := "Wheel Arch Angels"
  11013. }
  11014. else if(Fahrzeug == 424 || Fahrzeug = "BF Injection" || Fahrzeug = "bfinjection" || Fahrzeug = "injection")
  11015. {
  11016. car_id := 424
  11017. car_name := "BF Injection"
  11018. car_preis := "500.000$"
  11019. car_autohaus := "Wang Cars"
  11020. car_kaution := "12.000$"
  11021. car_tank := "40 Liter"
  11022. car_verbrauch := "13.1"
  11023. car_geschwindigkeit := "105 km/h"
  11024. car_level := "1"
  11025. car_tuningwerkstatt := "Fahrzeuglackiererei"
  11026. }
  11027. else if(Fahrzeug == 400 || Fahrzeug = "Landstalker")
  11028. {
  11029. car_id := 400
  11030. car_name := "Landstalker"
  11031. car_preis := "18.000$"
  11032. car_autohaus := "Wang Cars"
  11033. car_kaution := "4.000$"
  11034. car_tank := "40 Liter"
  11035. car_verbrauch := "16.7"
  11036. car_geschwindigkeit := "122 km/h"
  11037. car_level := "1"
  11038. car_tuningwerkstatt := "Transfender"
  11039. }
  11040. else if(Fahrzeug == 589 || Fahrzeug = "Club")
  11041. {
  11042. car_id := 589
  11043. car_name := "Club"
  11044. car_preis := "22.000$"
  11045. car_autohaus := "Wang Cars"
  11046. car_kaution := "4.000$"
  11047. car_tank := "40 Liter"
  11048. car_verbrauch := "11.3"
  11049. car_geschwindigkeit := "126 km/h"
  11050. car_level := "1"
  11051. car_tuningwerkstatt := "Transfender"
  11052. }
  11053. else if(Fahrzeug == 565 || Fahrzeug = "Flash")
  11054. {
  11055. car_id := 565
  11056. car_name := "Flash"
  11057. car_preis := "22.000$"
  11058. car_autohaus := "Wang Cars"
  11059. car_kaution := "4.000$"
  11060. car_tank := "40 Liter"
  11061. car_verbrauch := "10.8"
  11062. car_geschwindigkeit := "127 km/h"
  11063. car_level := "1"
  11064. car_tuningwerkstatt := "Wheel Arch Angels"
  11065. }
  11066. else if(Fahrzeug == 558 || Fahrzeug = "Uranus")
  11067. {
  11068. car_id := 558
  11069. car_name := "Uranus"
  11070. car_preis := "90.000$"
  11071. car_autohaus := "Wang Cars"
  11072. car_kaution := "5.000$"
  11073. car_tank := "40 Liter"
  11074. car_verbrauch := "18.2"
  11075. car_geschwindigkeit := "121 km/h"
  11076. car_level := "1"
  11077. car_tuningwerkstatt := "Wheel Arch Angels"
  11078. }
  11079. else if(Fahrzeug == 471 || Fahrzeug = "Quad")
  11080. {
  11081. car_id := 471
  11082. car_name := "Quad"
  11083. car_preis := "80.000$"
  11084. car_autohaus := "Wang Cars"
  11085. car_kaution := "5.000$"
  11086. car_tank := "20 Liter"
  11087. car_verbrauch := "9.8"
  11088. car_geschwindigkeit := "85 km/h"
  11089. car_level := "1"
  11090. car_tuningwerkstatt := "Fahrzeuglackiererei"
  11091. }
  11092. else if(Fahrzeug == 409 || Fahrzeug = "Stretch" || Fahrzeug = "Limo" || Fahrzeug = "Limousine")
  11093. {
  11094. car_id := 409
  11095. car_name := "Stretch"
  11096. car_preis := "1.000.000$"
  11097. car_autohaus := "Wang Cars"
  11098. car_kaution := "12.000$"
  11099. car_tank := "50 Liter"
  11100. car_verbrauch := "17.8"
  11101. car_geschwindigkeit := "122 km/h"
  11102. car_level := "1"
  11103. car_tuningwerkstatt := "Transfender"
  11104. }
  11105. else if(Fahrzeug == 587 || Fahrzeug = "Euros")
  11106. {
  11107. car_id := 587
  11108. car_name := "Euros"
  11109. car_preis := "90.000$"
  11110. car_autohaus := "Wang Cars"
  11111. car_kaution := "5.000$"
  11112. car_tank := "40 Liter"
  11113. car_verbrauch := "15.3"
  11114. car_geschwindigkeit := "127 km/h"
  11115. car_level := "1"
  11116. car_tuningwerkstatt := "Transfender"
  11117. }
  11118. else if(Fahrzeug == 489 || Fahrzeug = "Rancher")
  11119. {
  11120. car_id := 489
  11121. car_name := "Rancher"
  11122. car_preis := "20.000$"
  11123. car_autohaus := "Wang Cars"
  11124. car_kaution := "4.000$"
  11125. car_tank := "40 Liter"
  11126. car_verbrauch := "16.7"
  11127. car_geschwindigkeit := "108 km/h"
  11128. car_level := "1"
  11129. car_tuningwerkstatt := "Transfender"
  11130. }
  11131. else if(Fahrzeug == 434 || Fahrzeug = "Hotknife")
  11132. {
  11133. car_id := 434
  11134. car_name := "Hotknife"
  11135. car_preis := "500.000$"
  11136. car_autohaus := "Wang Cars"
  11137. car_kaution := "12.000$"
  11138. car_tank := "40 Liter"
  11139. car_verbrauch := "13.1"
  11140. car_geschwindigkeit := "129 km/h"
  11141. car_level := "1"
  11142. car_tuningwerkstatt := "/"
  11143. }
  11144. else if(Fahrzeug == 439 || Fahrzeug = "Stallion")
  11145. {
  11146. car_id := 439
  11147. car_name := "Stallion"
  11148. car_preis := "26.000$"
  11149. car_autohaus := "Wang Cars"
  11150. car_kaution := "4.000$"
  11151. car_tank := "40 Liter"
  11152. car_verbrauch := "12.5"
  11153. car_geschwindigkeit := "130 km/h"
  11154. car_level := "1"
  11155. car_tuningwerkstatt := "Transfender"
  11156. }
  11157. else if(Fahrzeug == 555 || Fahrzeug = "Windsor")
  11158. {
  11159. car_id := 555
  11160. car_name := "Windsor"
  11161. car_preis := "24.000$"
  11162. car_autohaus := "Wang Cars"
  11163. car_kaution := "4.000$"
  11164. car_tank := "40 Liter"
  11165. car_verbrauch := "15.1"
  11166. car_geschwindigkeit := "122 km/h"
  11167. car_level := "1"
  11168. car_tuningwerkstatt := "Transfender"
  11169. }
  11170. else if(Fahrzeug == 533 || Fahrzeug = "Feltzer")
  11171. {
  11172. car_id := 533
  11173. car_name := "Feltzer"
  11174. car_preis := "26.000$"
  11175. car_autohaus := "Wang Cars"
  11176. car_kaution := "4.000$"
  11177. car_tank := "40 Liter"
  11178. car_verbrauch := "11.8"
  11179. car_geschwindigkeit := "129 km/h"
  11180. car_level := "1"
  11181. car_tuningwerkstatt := "Transfender"
  11182. }
  11183. else if(Fahrzeug == 477 || Fahrzeug = "ZR-350" || Fahrzeug = "ZR" || Fahrzeug = "ZR 350" || Fahrzeug = "ZR350")
  11184. {
  11185. car_id := 477
  11186. car_name := "ZR-350"
  11187. car_preis := "120.000$"
  11188. car_autohaus := "Wang Cars"
  11189. car_kaution := "6.000$"
  11190. car_tank := "40 Liter"
  11191. car_verbrauch := "17.2"
  11192. car_geschwindigkeit := "144 km/h"
  11193. car_level := "1"
  11194. car_tuningwerkstatt := "Transfender"
  11195. }
  11196. else
  11197. {
  11198. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das Fahrzeug wurde nicht gefunden.")
  11199. return
  11200. }
  11201. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Informationen für das Fahrzeug {3ADF00}" car_name " {FFFFFF}[Model-ID: {3ADF00}" car_id "{FFFFFF}]:")
  11202. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Authoaus: {3ADF00}" car_autohaus "{FFFFFF}, Preis: {3ADF00}" car_preis "{FFFFFF}, Kaution: {3ADF00}" car_kaution "{FFFFFF}.")
  11203. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Geschwindigkeit: {3ADF00}" car_geschwindigkeit "{FFFFFF}, Verbrauch: {3ADF00}" car_verbrauch "{FFFFFF}, Tank: {3ADF00}" car_tank "{FFFFFF}.")
  11204. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Tuningwerkstatt: {3ADF00}" car_tuningwerkstatt "{FFFFFF}, Mindestlevel: {3ADF00}" car_level "{FFFFFF}.")
  11205. return
  11206.  
  11207. ;~ ---------------------------------------------------------------------------------------------------------------
  11208.  
  11209. :?:/toghm::
  11210. Suspend Permit
  11211. if(hmOn == 0)
  11212. {
  11213. SetTimer, UpdateHitmenList, 20000
  11214. hmTD := TextCreate("Arial", 8, false, false, 690, 290, 0xFF00E1FF, "Hitmen online:", false, true)
  11215.  
  11216. url = http://www.rpg-ausbildung.de/CaliBinderKeybinder/keybinder/Hitmen/getalldata.php
  11217. hm := UrlDownloadToVar(url)
  11218. hitmen := "Hitmen online:`n"
  11219. hmcounter := 0
  11220. ;~ UpdateServerData()
  11221. Loop, Parse, hm, '
  11222. {
  11223. id := GetPlayerIdByName(A_LoopField)
  11224. if(id != -1 && id != 65535)
  11225. {
  11226. hitmen .= "`n" A_LoopField "`t [ID: " id "]"
  11227. }
  11228. }
  11229. TextSetString(hmTD, hitmen)
  11230.  
  11231. TextSetShown(hmTD, true)
  11232. hmOn := 1
  11233. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Hitmenanzeige {00FF00}eingeschaltet{FFFFFF}.")
  11234. }
  11235. else if(hmOn == 1)
  11236. {
  11237. TextDestroy(hmTD)
  11238. hmOn := 0
  11239. SetTimer, UpdateHitmenList, off
  11240. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Hitmenanzeige {FF0000}ausgeschaltet{FFFFFF}.")
  11241. }
  11242. return
  11243.  
  11244.  
  11245. UpdateHitmenList:
  11246. hitmen := "Hitmen online:`n"
  11247. hmcounter := 0
  11248. Loop, Parse, hm, '
  11249. {
  11250. id := GetPlayerIdByName(A_LoopField)
  11251. if(id != -1 && id != 65535)
  11252. {
  11253. hitmen .= "`n" A_LoopField "`t [ID: " id "]"
  11254. }
  11255. }
  11256. TextSetString(hmTD, hitmen)
  11257. return
  11258.  
  11259. ;------------------------------------------------------------------------------------------------------------------
  11260. :?:/overlay::
  11261. Suspend Permit
  11262. if(Overlay!=1)
  11263. {
  11264. Name_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, overlay_posy, 0xFFFFFFFF, "", true, false)
  11265. StandortText_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+10), 0xFFFFFFFF, "", true, false)
  11266. Standort_Ov := TextCreate("Arial", overlay_size, true, true, (overlay_posx+31), (overlay_posy+10), 0xFFFFFFFF, "", true, false)
  11267. Partner_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+30), 0xFFFFFFFF, "", true, false)
  11268. Kennung_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+40), 0xFFFFFFFF, "", true, false)
  11269. Steuern_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+50), 0xFFFFFFFF, "", true, false)
  11270. Stats_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+70), 0xFFFFFFFF, "", true, false)´
  11271. HP_Ov := TextCreate("Comic Sans MS", HP_size, false, false, HP_posx, HP_posy, 0xFFFFFFFF, "", true, false)
  11272. AP_Ov := TextCreate("Comic Sans MS", AP_size, false, false, AP_posx, AP_posy, 0xFFFFFFFF, "", true, false)
  11273. Settimer, Ov_Update, 1500
  11274. TextSetShown(Name_Ov, 1)
  11275. TextSetShown(Standort_Ov, 1)
  11276. TextSetShown(StandortText_Ov, 1)
  11277. TextSetShown(Partner_Ov, 1)
  11278. TextSetShown(Steuern_Ov, 1)
  11279. TextSetShown(Kennung_Ov, 1)
  11280. TextSetShown(Stats_Ov, 1)
  11281. if(HPAnzeige)
  11282. {
  11283. TextSetShown(HP_Ov, 1)
  11284. }
  11285. if(APAnzeige)
  11286. {
  11287. TextSetShown(AP_Ov, 1)
  11288. }
  11289. Overlay := 1
  11290. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Status-Overlay {00FF00}eingeschaltet{FFFFFF}.")
  11291. Sleep, 1500
  11292. TextSetString(StandortText_Ov, "|Standort: ")
  11293.  
  11294. loop 6
  11295. {
  11296. Box%A_Index% := BoxCreate(400,A_INDEX*22+100,80,20,0xBA000000,0)
  11297. boxtext%A_INDEX% := TextCreate("Arial", 6, 1, 0, 408, A_INDEX*22+105, 0xFFFFFFFF, bt%A_Index%, 0, 0)
  11298. }
  11299. BoxSetColor(Box1,0x00BFFF00)
  11300. BoxSetBorder(Box2,2,1)
  11301. BoxSetBorderColor(Box2,0xFFFFFFFF)
  11302. }
  11303. else
  11304. {
  11305. TextDestroy(Partner_Ov)
  11306. TextDestroy(Steuern_Ov)
  11307. TextDestroy(Kennung_Ov)
  11308. TextDestroy(Stats_Ov)
  11309. TextDestroy(HP_Ov)
  11310. TextDestroy(AP_Ov)
  11311. TextDestroy(Name_Ov)
  11312. TextDestroy(Standort_Ov)
  11313. TextDestroy(StandortText_Ov)
  11314. Overlay := !Overlay
  11315. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Status-Overlay {FF0000}ausgeschaltet{FFFFFF}.")
  11316.  
  11317. Loop 6
  11318. {
  11319. BoxDestroy(Box%A_Index%)
  11320. TextDestroy(Box%A_Index%)
  11321. }
  11322. }
  11323. return
  11324.  
  11325. :?:/move overlay::
  11326. Suspend Permit
  11327. if(Overlay)
  11328. {
  11329. if(Menu_Overlay == 0 && Menu_HP == 0 && Menu_AP == 0)
  11330. {
  11331. Menu_Overlay = 1
  11332. Menu_HP = 0
  11333. Menu_AP = 0
  11334. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Overlay-Verschiebung ist nun möglich (Bestätigung der Einstellungen mit NumPadEnter).")
  11335. Settimer, Ov_Update, Off
  11336. SetTimer, Ov_Update, 100
  11337. }
  11338. else
  11339. {
  11340. Menu_Overlay := 0
  11341. Menu_HP := 0
  11342. Menu_AP := 0
  11343. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Verschiebung des Overlays abgebrochen.")
  11344. Loop 6
  11345. {
  11346. BoxSetShown(Box%A_INDex%, false)
  11347. TextSetShown(boxtext%A_index%, false)
  11348. }
  11349. TextSetColor(boxtext6,0xFFFFFFFF)
  11350.  
  11351. Settimer, Ov_Update, Off
  11352. Settimer, Ov_Update, 1500
  11353. }
  11354. }
  11355. else
  11356. {
  11357. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Starte zunächst bitte das Overlay.")
  11358. }
  11359. return
  11360.  
  11361. Ov_Update:
  11362. if(WinExist("GTA:SA:MP") && WinActive("GTA:SA:MP"))
  11363. {
  11364. IniRead, Punkte, Statistik.ini, Vergaben, Punkte
  11365. IniRead, Tickets, Statistik.ini, Vergaben, Tickets
  11366. IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
  11367. IniRead, Tazer, Statistik.ini, Tazer, Tazer
  11368. IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
  11369. IniRead, Arrest, Statistik.ini, Arrests, Arrest
  11370. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11371. IniRead, Kills, Statistik.ini, Kills, Kills
  11372. IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
  11373. IniRead, Money, Statistik.ini, Arrests, Money
  11374. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  11375. Steuersatz := Round((Steuersatz*100), 0)
  11376. Steuersatz := 100-Steuersatz
  11377. GetZoneName(Zone)
  11378. GetCityName(City)
  11379. MyID := GetPlayerID()
  11380. if(MyID == "65535" || MyID == "-1")
  11381. {
  11382. MyID := GetPlayerID()
  11383. if(MyID == "65535" || MyID == "-1")
  11384. {
  11385. MyID := "-"
  11386. }
  11387. }
  11388. FPS := GetFramerate()
  11389. AP := GetPlayerArmor()
  11390. GetPlayerPosition(x, y, z, r)
  11391. If(IsPlayerInAnyInterior())
  11392. {
  11393. If(x > 318.199036 && x < 388.445953 && y > 148.873856 && y < 217.235733)
  11394. {
  11395. TextSetString(Standort_Ov, "Stadthalle")
  11396. TextSetColor(Standort_Ov, 0xFF800000)
  11397. }
  11398. else
  11399. {
  11400. TextSetString(Standort_Ov, "Interior")
  11401. TextSetColor(Standort_Ov, 0x00BFFFFF)
  11402. }
  11403. }
  11404. else
  11405. {
  11406. TextSetString(Standort_Ov, "" . zone . ", " . city . "")
  11407. If(IsPlayerInNoDM(x, y, z))
  11408. {
  11409. TextSetColor(Standort_Ov, 0xFF800000)
  11410.  
  11411. }
  11412. else
  11413. {
  11414. TextSetColor(Standort_Ov, 0xFFFFFFFF)
  11415. }
  11416. }
  11417.  
  11418. if(PoliceID != "X")
  11419. {
  11420. TextSetString(Kennung_Ov, "|Kennung: {FF0000}" . PoliceID . "")
  11421. }
  11422. else
  11423. {
  11424. TextSetString(Kennung_Ov, "|Keine Streife gestartet")
  11425. }
  11426. if(Partner1 == "-1" && Partner2 == "-1" && Partner3 == "-1")
  11427. {
  11428. TextSetString(Partner_Ov, "|Kein Partner eingetragen")
  11429. }
  11430. else
  11431. {
  11432. if(Partner1 > -1 && Partner2 > -1 && Partner3 > -1)
  11433. {
  11434. TextSetString(Partner_Ov, "|Partner 1: {FF0000}" . Partnername1 . "{FFFFFF}, Partner 2: {FF0000}" . Partnername2 . "{FFFFFF}, Partner 3: {FF0000}" . Partnername3 . "{FFFFFF}")
  11435. }
  11436. else if(Partner1 > -1 && Partner2 > -1 && Partner3 == -1)
  11437. {
  11438. TextSetString(Partner_Ov, "|Partner 1: {FF0000}" . Partnername1 . "{FFFFFF}, Partner 2: {FF0000}" . Partnername2 . "{FFFFFF}")
  11439. }
  11440. else if(Partner1 > -1 && Partner2 == -1 && Partner3 > -1)
  11441. {
  11442. TextSetString(Partner_Ov, "|Partner 1: {FF0000}" . Partnername1 . "{FFFFFF}, Partner 3: {FF0000}" . Partnername3 . "{FFFFFF}")
  11443. }
  11444. else if(Partner1 > -1 && Partner2 == -1 && Partner3 == -1)
  11445. {
  11446. TextSetString(Partner_Ov, "|Partner 1: {FF0000}" . Partnername1 . "{FFFFFF}")
  11447. }
  11448. else if(Partner1 == -1 && Partner2 > -1 && Partner3 > -1)
  11449. {
  11450. TextSetString(Partner_Ov, "|Partner 2: {FF0000}" . Partnername2 . "{FFFFFF}, Partner 3: {FF0000}" . Partnername3 . "{FFFFFF}")
  11451. }
  11452. else if(Partner1 == -1 && Partner2 > -1 && Partner3 == -1)
  11453. {
  11454. TextSetString(Partner_Ov, "|Partner 2: {2ECCFA}" . Partnername2 . "{FFFFFF}")
  11455. }
  11456. else if(Partner1 == -1 && Partner2 == -1 && Partner3 > -1)
  11457. {
  11458. TextSetString(Partner_Ov, "|Partner 3: {2ECCFA}" . Partnername3 . "{FFFFFF}")
  11459. }
  11460.  
  11461. }
  11462.  
  11463. TextSetString(Steuern_Ov, "|Aktueller Steuersatz: {FF0000}" . Steuersatz . "{FFFFFF}%")
  11464. TextSetString(Name_Ov, "|Name: {0000FF}" . name . "{FFFFFF} [ ID: {0000FF}" . MyID . "{FFFFFF} ] [ FPS: {0000FF}" . fps . "{FFFFFF} ]")
  11465. TextSetString(Stats_Ov, "|Vergebene Wanteds: {FF0000}" . Wanted . "{FFFFFF} `n|Ausgestellte Punkte: {FF0000}" . Punkte . "{FFFFFF} `n|Ausgestellte Tickets: {FF0000}"Tickets "{FFFFFF} (Verdientes Geld: {FF0000}" TicketGeld "{FFFFFF}$) `n`n|Eingesperre Verbrecher: {FF0000}" . Arrest . "{FFFFFF} `n|Verdientes Geld: {FF0000}" . Money . "{FFFFFF}$ `n`n|Offline-Arrests: {FF0000}" . OffArrest . "{FFFFFF} `n|Death-Arrests: {FF0000}" . Deatharrest . "{FFFFFF} `n|Umgebrachte Verbrecher: {FF0000}" . Kills . "{FFFFFF} `n|Getazerte Verbrecher: {FF0000}" . Tazer . "{FFFFFF}")
  11466.  
  11467. if(HPAnzeige)
  11468. {
  11469. TextSetShown(HP_Ov, 1)
  11470. TextSetString(HP_Ov, "" . HP . "")
  11471. }
  11472. else
  11473. {
  11474. if(Menu_HP)
  11475. {
  11476. TextSetShown(HP_Ov, 1)
  11477. TextSetString(HP_Ov, "" . HP . "")
  11478. }
  11479. else
  11480. {
  11481. TextSetShown(HP_Ov, 0)
  11482. }
  11483. }
  11484. if(AP != 0)
  11485. {
  11486. if(APAnzeige)
  11487. {
  11488. TextSetString(AP_Ov, "" . AP . "")
  11489. TextSetShown(AP_Ov, 1)
  11490. }
  11491. else
  11492. {
  11493. TextSetShown(AP_Ov, 0)
  11494. }
  11495. }
  11496. else
  11497. {
  11498. if(Menu_AP != 1)
  11499. {
  11500. TextSetShown(AP_Ov, 0)
  11501. }
  11502. else
  11503. {
  11504. TextSetString(AP_Ov, "" . AP . "")
  11505. TextSetShown(AP_Ov, 1)
  11506. }
  11507. }
  11508.  
  11509. if(Menu_Overlay || Menu_HP || Menu_AP)
  11510. {
  11511. bt1 := "Overlay by MrPacific"
  11512. if(Menu_Overlay)
  11513. {
  11514. bt2 := "Overlay: {8C8C8C} Status"
  11515. bt3 := "Size: {8C8C8C}" overlay_size
  11516. bt4 := "X: {8C8C8C}" overlay_posx
  11517. bt5 := "Y: {8C8C8C}" overlay_posy
  11518. }
  11519. else if(Menu_HP)
  11520. {
  11521. bt2 := "Overlay: {8C8C8C} HP"
  11522. bt3 := "Size: {8C8C8C}" HP_size
  11523. bt4 := "X: {8C8C8C}" HP_posx
  11524. bt5 := "Y: {8C8C8C}" HP_posy
  11525. }
  11526. else if(Menu_AP)
  11527. {
  11528. bt2 := "Overlay: {8C8C8C} AP"
  11529. bt3 := "Size: {8C8C8C}" AP_size
  11530. bt4 := "X: {8C8C8C}" AP_posx
  11531. bt5 := "Y: {8C8C8C}" AP_posy
  11532. }
  11533. bt6 := "Einstellungen speichern"
  11534.  
  11535. Loop,6
  11536. {
  11537. TextSetString(Boxtext%A_Index%,bt%A_Index%)
  11538. BoxSetShown(Box%A_INDex%, 1)
  11539. TextSetShown(boxtext%A_index%,1)
  11540. }
  11541. if switcher = 2
  11542. {
  11543. BoxSetBorder(Box2,2,1)
  11544. BoxSetBorder(Box3,2,0)
  11545. BoxSetBorder(Box6,2,0)
  11546. BoxSetBorderColor(Box2,0xFFFFFFFF)
  11547. }
  11548. if switcher = 3
  11549. {
  11550. BoxSetBorder(Box2,2,0)
  11551. BoxSetBorder(Box3,2,1)
  11552. BoxSetBorder(Box4,2,0)
  11553. BoxSetBorderColor(Box3,0xFFFFFFFF)
  11554. }
  11555. if switcher = 4
  11556. {
  11557. BoxSetBorder(Box3,2,0)
  11558. BoxSetBorder(Box4,2,4)
  11559. BoxSetBorder(Box5,2,0)
  11560. BoxSetBorderColor(Box4,0xFFFFFFFF)
  11561. }
  11562. if switcher = 5
  11563. {
  11564. BoxSetBorder(Box4,2,0)
  11565. BoxSetBorder(Box5,2,1)
  11566. BoxSetBorder(Box6,2,0)
  11567. BoxSetBorderColor(Box5,0xFFFFFFFF)
  11568. }
  11569. if switcher = 6
  11570. {
  11571. BoxSetBorder(Box2,2,0)
  11572. BoxSetBorder(Box5,2,0)
  11573. BoxSetBorder(Box6,2,1)
  11574. BoxSetBorderColor(Box6,0xFFFFFFFF)
  11575. }
  11576. if switcher > 6
  11577. switcher = 2
  11578. if switcher < 2
  11579. switcher = 6
  11580. }
  11581. if (!Menu_Overlay && !Menu_HP && !Menu_AP)
  11582. {
  11583. Loop,6
  11584. {
  11585. BoxSetShown(Box%A_INDex%, false)
  11586. TextSetShown(boxtext%A_index%, false)
  11587. }
  11588. }
  11589. }
  11590. return
  11591.  
  11592. ~Up::
  11593. if (IsChatOpen() == 1 || IsDialogOpen == 1)
  11594. return
  11595. if(Menu_Overlay || Menu_HP || Menu_AP)
  11596. {
  11597. switcher--
  11598. }
  11599. return
  11600.  
  11601. ~Down::
  11602. if (IsChatOpen() == 1 || IsDialogOpen == 1)
  11603. return
  11604. if(Menu_Overlay || Menu_HP || Menu_AP)
  11605. {
  11606. switcher++
  11607. }
  11608. return
  11609.  
  11610. ~left::
  11611. if (IsChatOpen() == 1 || IsDialogOpen == 1)
  11612. return
  11613. if Menu_Overlay
  11614. {
  11615. if(Switcher == 2)
  11616. {
  11617. Menu_Overlay := 0
  11618. Menu_AP := 1
  11619. Menu_HP := 0
  11620. }
  11621. ;~ if(Switcher == 3)
  11622. ;~ {
  11623. ;~ overlay_size--
  11624. ;~ TextUpdate(Name_Ov, "Arial", overlay_size, 1, 0)
  11625. ;~ TextUpdate(StandortText_Ov, "Arial", overlay_size, 1, 0)
  11626. ;~ TextUpdate(Standort_Ov, "Arial", overlay_size, 1, 0)
  11627. ;~ TextUpdate(Partner_Ov, "Arial", overlay_size, 1, 0)
  11628. ;~ TextUpdate(Kennung_Ov, "Arial", overlay_size, 1, 0)
  11629. ;~ TextUpdate(Steuern_Ov, "Arial", overlay_size, 1, 0)
  11630. ;~ TextUpdate(Stats_Ov, "Arial", overlay_size, 1, 0)
  11631. ;~ }
  11632. if(Switcher == 4)
  11633. {
  11634. overlay_posx--
  11635. TextSetPos(Name_Ov, Overlay_posx, Overlay_posy)
  11636. TextSetPos(StandortText_Ov, overlay_posx, (overlay_posy+10))
  11637. TextSetPos(Standort_Ov, (overlay_posx+31), (overlay_posy+10))
  11638. TextSetPos(Partner_Ov, overlay_posx, (overlay_posy+30))
  11639. TextSetPos(Kennung_Ov, overlay_posx, (overlay_posy+40))
  11640. TextSetPos(Steuern_Ov, overlay_posx, (overlay_posy+50))
  11641. TextSetPos(Stats_Ov, overlay_posx, (overlay_posy+70))
  11642. }
  11643. if(Switcher == 5)
  11644. {
  11645. overlay_posy--
  11646. TextSetPos(Name_Ov, Overlay_posx, Overlay_posy)
  11647. TextSetPos(StandortText_Ov, overlay_posx, (overlay_posy+10))
  11648. TextSetPos(Standort_Ov, (overlay_posx+31), (overlay_posy+10))
  11649. TextSetPos(Partner_Ov, overlay_posx, (overlay_posy+30))
  11650. TextSetPos(Kennung_Ov, overlay_posx, (overlay_posy+40))
  11651. TextSetPos(Steuern_Ov, overlay_posx, (overlay_posy+50))
  11652. TextSetPos(Stats_Ov, overlay_posx, (overlay_posy+70))
  11653. }
  11654. }
  11655. else if(Menu_HP)
  11656. {
  11657. if(Switcher == 2)
  11658. {
  11659. Menu_Overlay := 1
  11660. Menu_AP := 0
  11661. Menu_HP := 0
  11662. }
  11663. if(Switcher == 3)
  11664. {
  11665. HP_size--
  11666. TextUpdate(HP_Ov, "Comic Sans MS", HP_size, 1, 0)
  11667. }
  11668. if(Switcher == 4)
  11669. {
  11670. HP_posx--
  11671. TextSetPos(HP_Ov, HP_posx, HP_posy)
  11672. }
  11673. if(Switcher == 5)
  11674. {
  11675. HP_posy--
  11676. TextSetPos(HP_Ov, HP_posx, HP_posy)
  11677. }
  11678. }
  11679. else if(Menu_AP)
  11680. {
  11681. if(Switcher == 2)
  11682. {
  11683. Menu_Overlay := 0
  11684. Menu_AP := 0
  11685. Menu_HP := 1
  11686. }
  11687. if(Switcher == 3)
  11688. {
  11689. AP_size--
  11690. TextUpdate(AP_Ov, "Comic Sans MS", AP_size, 1, 0)
  11691. }
  11692. if(Switcher == 4)
  11693. {
  11694. AP_posx--
  11695. TextSetPos(AP_Ov, AP_posx, AP_posy)
  11696. }
  11697. if(Switcher == 5)
  11698. {
  11699. AP_posy--
  11700. TextSetPos(AP_Ov, AP_posx, AP_posy)
  11701. }
  11702. }
  11703. return
  11704.  
  11705.  
  11706. ~right::
  11707. if (IsChatOpen() == 1 || IsDialogOpen == 1)
  11708. return
  11709. if Menu_Overlay
  11710. {
  11711. if(Switcher == 2)
  11712. {
  11713. Menu_Overlay := 0
  11714. Menu_AP := 0
  11715. Menu_HP := 1
  11716. }
  11717. ;~ if(Switcher == 3)
  11718. ;~ {
  11719. ;~ overlay_size++
  11720. ;~ TextUpdate(Name_Ov, "Arial", overlay_size, 1, 0)
  11721. ;~ TextUpdate(StandortText_Ov, "Arial", overlay_size, 1, 0)
  11722. ;~ TextUpdate(Standort_Ov, "Arial", overlay_size, 1, 0)
  11723. ;~ TextUpdate(Partner_Ov, "Arial", overlay_size, 1, 0)
  11724. ;~ TextUpdate(Kennung_Ov, "Arial", overlay_size, 1, 0)
  11725. ;~ TextUpdate(Steuern_Ov, "Arial", overlay_size, 1, 0)
  11726. ;~ TextUpdate(Stats_Ov, "Arial", overlay_size, 1, 0)
  11727. ;~ }
  11728. if(Switcher == 4)
  11729. {
  11730. overlay_posx++
  11731. TextSetPos(Name_Ov, Overlay_posx, Overlay_posy)
  11732. TextSetPos(StandortText_Ov, overlay_posx, (overlay_posy+10))
  11733. TextSetPos(Standort_Ov, (overlay_posx+31), (overlay_posy+10))
  11734. TextSetPos(Partner_Ov, overlay_posx, (overlay_posy+30))
  11735. TextSetPos(Kennung_Ov, overlay_posx, (overlay_posy+40))
  11736. TextSetPos(Steuern_Ov, overlay_posx, (overlay_posy+50))
  11737. TextSetPos(Stats_Ov, overlay_posx, (overlay_posy+70))
  11738. }
  11739. if(Switcher == 5)
  11740. {
  11741. overlay_posy++
  11742. TextSetPos(Name_Ov, Overlay_posx, Overlay_posy)
  11743. TextSetPos(StandortText_Ov, overlay_posx, (overlay_posy+10))
  11744. TextSetPos(Standort_Ov, (overlay_posx+31), (overlay_posy+10))
  11745. TextSetPos(Partner_Ov, overlay_posx, (overlay_posy+30))
  11746. TextSetPos(Kennung_Ov, overlay_posx, (overlay_posy+40))
  11747. TextSetPos(Steuern_Ov, overlay_posx, (overlay_posy+50))
  11748. TextSetPos(Stats_Ov, overlay_posx, (overlay_posy+70))
  11749. }
  11750. }
  11751. else if(Menu_HP)
  11752. {
  11753. if(Switcher == 2)
  11754. {
  11755. Menu_Overlay := 0
  11756. Menu_AP := 1
  11757. Menu_HP := 0
  11758. }
  11759. if(Switcher == 3)
  11760. {
  11761. HP_size++
  11762. TextUpdate(HP_Ov, "Comic Sans MS", HP_size, 1, 0)
  11763. }
  11764. if(Switcher == 4)
  11765. {
  11766. HP_posx++
  11767. TextSetPos(HP_Ov, HP_posx, HP_posy)
  11768. }
  11769. if(Switcher == 5)
  11770. {
  11771. HP_posy++
  11772. TextSetPos(HP_Ov, HP_posx, HP_posy)
  11773. }
  11774. }
  11775. else if(Menu_AP)
  11776. {
  11777. if(Switcher == 2)
  11778. {
  11779. Menu_Overlay := 1
  11780. Menu_AP := 0
  11781. Menu_HP := 0
  11782. }
  11783. if(Switcher == 3)
  11784. {
  11785. AP_size++
  11786. TextUpdate(AP_Ov, "Comic Sans MS", AP_size, 1, 0)
  11787. }
  11788. if(Switcher == 4)
  11789. {
  11790. AP_posx++
  11791. TextSetPos(AP_Ov, AP_posx, AP_posy)
  11792. }
  11793. if(Switcher == 5)
  11794. {
  11795. AP_posy++
  11796. TextSetPos(AP_Ov, AP_posx, AP_posy)
  11797. }
  11798. }
  11799. return
  11800.  
  11801.  
  11802. IsPlayerInNoDM(x, y, z)
  11803. {
  11804. result := ""
  11805. if(x<1561.5 && x>1387.8 && y<-1727.6 && y>-1870)
  11806. {
  11807. result := 1
  11808. }
  11809. else if(x>1688.8 && x<1820.8 && y<-1859.5 && y>-1961.2)
  11810. {
  11811. result := 1
  11812. }
  11813. return result
  11814. }
  11815.  
  11816. ;~ -----------------------------------------------------------------------------------------------------------------
  11817.  
  11818. :?:/togtickets::
  11819. Suspend Permit
  11820. if(admin = 1)
  11821. {
  11822. if (TicketOverlay == "0")
  11823. {
  11824. Boxid := BoxCreate(690, 530, 90, 45, 0xDD111314, false)
  11825. BoxSetBorder(Boxid, 3, true)
  11826. BoxSetBorderColor(Boxid, 0x00BFFF00)
  11827. BoxSetShown(Boxid, true)
  11828. titeltext := TextCreate("Arial", 8, false, false, 692, 532, 0xFF00E1FF, "Ticket Statistik", false, false)
  11829. TextSetShown(titeltext, true)
  11830. tickettext := TextCreate("Arial", 6, false, false, 692, 545, 0xFFFFFFFF, " Lade Statistik...", false, false)
  11831. TextSetShown(tickettext, true)
  11832. TicketOverlay = 1
  11833. SetTimer, TicketUpdate, 4000
  11834. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Ticket-Overlay {00FF00}eingeschaltet{FFFFFF}.")
  11835. }
  11836. else if (TicketOverlay == "1")
  11837. {
  11838. TextDestroy(tickettext)
  11839. TextDestroy(titeltext)
  11840. BoxDestroy(Boxid)
  11841. TicketOverlay = 0
  11842. SetTimer, TicketUpdate, off
  11843. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Ticket-Overlay {FF0000}ausgeschaltet{FFFFFF}.")
  11844. }
  11845. }
  11846. else
  11847. {
  11848. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  11849. }
  11850. return
  11851.  
  11852.  
  11853. TicketUpdate:
  11854. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  11855. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  11856. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  11857. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  11858. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  11859. if(Monat == "ERROR")
  11860. {
  11861. Monat=0
  11862. }
  11863. if(Heute == "ERROR")
  11864. {
  11865. Heute=0
  11866. }
  11867. if(Gesamt == "ERROR")
  11868. {
  11869. Gesamt=0
  11870. }
  11871. TextSetString(tickettext, "Angenommene Tickets: " . Gesamt . "`n an diesem Tag: " . Heute . "`n in diesem Monat: " . Monat . "")
  11872. return
  11873.  
  11874.  
  11875. :?:/tt::
  11876. Suspend Permit
  11877. FormatTime, Uhrzeit,, HH
  11878.  
  11879. GetPlayerName(Name)
  11880. if(admin = 1)
  11881. {
  11882. TicketID := PlayerInput("Ticket-ID: ")
  11883. SendChat("/tt " . TicketID . "")
  11884. if (Uhrzeit >= 12 && Uhrzeit < 20)
  11885. {
  11886. SendChat("/aw " . TicketID . " Guten Tag,")
  11887. }
  11888. else if (Uhrzeit >= 20 || Uhrzeit == 0)
  11889. {
  11890. SendChat("/aw " . TicketID . " Guten Abend,")
  11891. }
  11892. else if (Uhrzeit >= 1 && Uhrzeit < 12)
  11893. {
  11894. SendChat("/aw " . TicketID . " Guten Morgen ,")
  11895. }
  11896. SendChat("/aw " . TicketID . " Mein Name ist " . Name . " und ich bin für Ihre Fragen oder Probleme offen.")
  11897.  
  11898.  
  11899.  
  11900. Sleep 670
  11901. GetChatLine(0, string)
  11902. GetChatLine(1, string1)
  11903. GetChatLine(2, string2)
  11904. if(Instr(string, "Fragen oder Probleme offen") || InStr(string1, "Fragen oder Probleme offen") || InStr(string2, "Fragen oder Probleme offen"))
  11905. {
  11906. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  11907. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  11908. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  11909. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  11910. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  11911. Monat1=%Monat%
  11912. Heute1=%Heute%
  11913. Gesamt1=%Gesamt%
  11914.  
  11915. Sleep, 200
  11916.  
  11917.  
  11918. Monat1++
  11919. Heute1++
  11920. Gesamt1++
  11921. IniWrite, %Monat1%, Tickets.ini, TicketM, %MonatSt%
  11922. IniWrite, %Heute1%, Tickets.ini, TicketT, %TagSt%
  11923. IniWrite, %Gesamt1%, Tickets.ini, Ticket, Gesamt
  11924. }
  11925. }
  11926. else
  11927. {
  11928. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  11929. }
  11930. return
  11931.  
  11932. :?:/gt::
  11933. Suspend Permit
  11934. if(admin = 1)
  11935. {
  11936. FormatTime, Uhrzeit,, HH
  11937. TicketID := PlayerInput("Ticket-ID: ")
  11938. TeamMitglied := PlayerInput("Team-Mitglied: ")
  11939. SendChat("/aw " . TicketID . " Ich werde Sie nun an " TeamMitglied " weiterleiten.")
  11940. if (Uhrzeit >= 20 || Uhrzeit == 0)
  11941. {
  11942. SendChat("/aw " . TicketID . " Schönen Abend noch.")
  11943. }
  11944. else
  11945. {
  11946. SendChat("/aw " . TicketID . " Schönen Tag noch.")
  11947. }
  11948. SendChat("/gt " . TicketID . "")
  11949. Sleep, 1500
  11950. ;~ SendInput, t/a Ticket %TicketID% für dich{space}
  11951. SendChat("/a Ticket " TicketID " für dich " TeamMitglied "")
  11952. }
  11953. else
  11954. {
  11955. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  11956. }
  11957. return
  11958.  
  11959.  
  11960. :?:/grund::
  11961. Suspend Permit
  11962. if(admin = 1)
  11963. {
  11964. TicketID := PlayerInput("Ticket-ID: ")
  11965. SendChat("/aw " . TicketID . " Warum soll ich Sie an das gewünschte Teammitglied weiterleiten?")
  11966. }
  11967. else
  11968. {
  11969. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  11970. }
  11971. return
  11972.  
  11973.  
  11974. :?:/dt::
  11975. Suspend Permit
  11976. if(admin = 1)
  11977. {
  11978. TicketID := PlayerInput("Ticket-ID: ")
  11979. SendChat("/aw " . TicketID . " Ich wünsche Ihnen noch einen schönen Aufenthalt auf RPG-City")
  11980. SendChat("/aw " . TicketID . " Bei weiteren Fragen melden Sie sich gerne wieder im Ticketsystem")
  11981. SendChat("/dt " . TicketID . "")
  11982. }
  11983. else
  11984. {
  11985. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  11986. SendChat("/dt")
  11987. }
  11988. return
  11989.  
  11990. :?:/tafk::
  11991. Suspend Permit
  11992. if(admin = 1)
  11993. {
  11994. FormatTime, Uhrzeit,, HH
  11995. TicketID := PlayerInput("Ticket-ID: ")
  11996. SendChat("/aw " . TicketID . " Ich werde Ihr Ticket nun schließen, da Sie scheinbar nicht anwesend sind.")
  11997. Sleep, 1200
  11998. SendChat("/aw " . TicketID . " Bei weiteren Fragen melden Sie sich gerne wieder im Ticketsystem")
  11999. if (Uhrzeit >= 20 || Uhrzeit == 0)
  12000. {
  12001. SendChat("/aw " . TicketID . " Schönen Abend noch.")
  12002. }
  12003. else
  12004. {
  12005. SendChat("/aw " . TicketID . " Schönen Tag noch.")
  12006. }
  12007. SendChat("/dt " . TicketID . "")
  12008. }
  12009. else
  12010. {
  12011. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12012. }
  12013. return
  12014.  
  12015.  
  12016.  
  12017. :?:/fragen::
  12018. Suspend Permit
  12019. if(admin = 1)
  12020. {
  12021. TicketID := PlayerInput("Ticket-ID: ")
  12022. SendChat("/aw " . TicketID . " Haben Sie weitere Fragen, Probleme oder Anliegen?")
  12023. }
  12024. else
  12025. {
  12026. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12027. }
  12028. return
  12029.  
  12030.  
  12031. :?:/meldungen::
  12032. Suspend Permit
  12033. if(admin = 1)
  12034. {
  12035. SendChat("/announce Bei Fragen zum Server stehen wir Ihnen jederzeit per /sup [Frage] zur Verfügung.")
  12036. SendChat("/announce Hacker, Buguser und weitere Regelbrecher können per /a gemeldet werden.")
  12037. }
  12038. else
  12039. {
  12040. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12041. }
  12042. return
  12043.  
  12044. :?:/rc::
  12045. Suspend Permit
  12046. if(admin = 1)
  12047. {
  12048. FahrzeugID := PlayerInput("Fahrzeug-ID: ")
  12049. SendChat("/respawncar " . FahrzeugID . "")
  12050. }
  12051. else
  12052. {
  12053. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12054. }
  12055. return
  12056.  
  12057. :?:/adabuse::
  12058. Suspend Permit
  12059. if(admin = 1)
  12060. {
  12061. SendInput, /mute 120 Ausnutzung des Werbesystems{left 32}
  12062. ;~ Input, caID, V I M, {Enter}
  12063. ;~ Send {Enter}
  12064. ;~ SendChat("/kick " . caID . " Ausnutzung des Werbesystems")
  12065. }
  12066. else
  12067. {
  12068. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12069. }
  12070. return
  12071.  
  12072. :?:/aabuse::
  12073. Suspend Permit
  12074. if(admin = 1)
  12075. {
  12076. SendInput, /supban 120 Ausnutzung des Adminchats{left 30}
  12077. ;~ Input, caID, V I M, {Enter}
  12078. ;~ Send {Enter}
  12079. ;~ SendChat("/kick " . caID . " Ausnutzung des Adminchats")
  12080. }
  12081. else
  12082. {
  12083. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12084. }
  12085. return
  12086.  
  12087. :?:/sdm::
  12088. Suspend Permit
  12089. if(admin = 1)
  12090. {
  12091. SendInput, /prison 120 Sinnloses Deathmatch{left 25}
  12092. }
  12093. else
  12094. {
  12095. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12096. }
  12097. return
  12098.  
  12099. :?:/bansdm::
  12100. Suspend Permit
  12101. if(admin = 1)
  12102. {
  12103. SendInput, /ban Sinnloses Deathmatch mit Level 1{left 33}
  12104. }
  12105. else
  12106. {
  12107. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12108. }
  12109. return
  12110.  
  12111.  
  12112. :?:/jobstörung::
  12113. Suspend Permit
  12114. if(admin = 1)
  12115. {
  12116. SendInput, /prison 120 Jobstörung{left 15}
  12117. }
  12118. else
  12119. {
  12120. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12121. }
  12122. return
  12123.  
  12124. :?:/jobdm::
  12125. Suspend Permit
  12126. if(admin = 1)
  12127. {
  12128. SendInput, /prison 120 Job Deathmatch{left 19}
  12129. }
  12130. else
  12131. {
  12132. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12133. }
  12134. return
  12135.  
  12136. :?:/intflucht::
  12137. Suspend Permit
  12138. if(admin = 1)
  12139. {
  12140. SendInput, /prison 120 Interrior-Flucht{left 21}
  12141. }
  12142. else
  12143. {
  12144. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12145. }
  12146. return
  12147.  
  12148. :?:/escflucht::
  12149. Suspend Permit
  12150. if(admin = 1)
  12151. {
  12152. SendInput, /prison 120 ESC-Flucht{left 25}
  12153. }
  12154. else
  12155. {
  12156. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}}Du bist kein Teammitglied.")
  12157. }
  12158. return
  12159.  
  12160. :?:/offflucht::
  12161. Suspend Permit
  12162. if(admin = 1)
  12163. {
  12164. SendInput, /prison 120 Offline-Flucht{left 19}
  12165. }
  12166. else
  12167. {
  12168. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12169. }
  12170. return
  12171.  
  12172. :?:/cardm::
  12173. Suspend Permit
  12174. if(admin = 1)
  12175. {
  12176. SendInput, /prison 120 Carsurf DM{left 15}
  12177. }
  12178. else
  12179. {
  12180. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12181. }
  12182. return
  12183.  
  12184. :?:/spam::
  12185. Suspend Permit
  12186. if(admin = 1)
  12187. {
  12188. SendInput /mute 120 Spam{left 9}
  12189. }
  12190. else
  12191. {
  12192. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12193. }
  12194. return
  12195.  
  12196. :?:/esccp::
  12197. Suspend Permit
  12198. if(admin = 1)
  12199. {
  12200. SendInput /kick ESC im Checkpoint{left 18}
  12201. }
  12202. else
  12203. {
  12204. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12205. }
  12206. return
  12207.  
  12208. :?:/afkp::
  12209. Suspend Permit
  12210. if(admin = 1)
  12211. {
  12212. SendInput /kick AFK im Paintball{left 17}
  12213. }
  12214. else
  12215. {
  12216. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12217. }
  12218. return
  12219.  
  12220. :?:/anfahren::
  12221. Suspend Permit
  12222. if(admin = 1)
  12223. {
  12224. SendInput /prison 120 Absichtliches Anfahren{left 27}
  12225. }
  12226. else
  12227. {
  12228. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12229. }
  12230. return
  12231.  
  12232. :?:/nodm::
  12233. Suspend Permit
  12234. if(admin = 1)
  12235. {
  12236. SendInput /prison 120 Deathmatch in einer No DM Zone{left 35}
  12237. }
  12238. else
  12239. {
  12240. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12241. }
  12242. return
  12243.  
  12244. :?:/tv::
  12245. Suspend Permit
  12246. SendInput, /tv{space}
  12247. Input, TVID, V I M,{enter}
  12248. SendChat("/id " TVID "")
  12249. return
  12250.  
  12251.  
  12252.  
  12253. :?:/hacker::
  12254. Suspend Permit
  12255. if(admin = 1)
  12256. {
  12257. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Diese Funktion ist derzeit deaktiviert.")
  12258.  
  12259. ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Eine Liste von Level 1er, um den Hacker zu finden")
  12260. ;~ Sleep, 500
  12261. ;~ AddChatMessage(0xFFFFFF, "------------------------------------------------------------------------")
  12262. ;~ hackerID = 0
  12263. ;~ Loop,
  12264. ;~ {
  12265. ;~ score := GetPlayerScoreByID(hackerID)
  12266. ;~ if(score == "1")
  12267. ;~ {
  12268. ;~ GetPlayerNameByID(hackerID, playername)
  12269. ;~ Ping := GetPlayerPingByID(hackerID)
  12270. ;~ AddChatMessage(0xFFFFFF, "ID: " hackerID ", Name: " playername ", Ping: " Ping ", Level: " score "")
  12271. ;~ Sleep, 500
  12272. ;~ }
  12273. ;~ if(hackerID == "375")
  12274. ;~ {
  12275. ;~ AddChatMessage(0xFFFFFF, "------------------------------------------------------------------------")
  12276. ;~ break
  12277. ;~ }
  12278. ;~ hackerID++
  12279. ;~ }
  12280. }
  12281. else
  12282. {
  12283. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12284. }
  12285. return
  12286.  
  12287.  
  12288.  
  12289. :?:/tickets::
  12290. Suspend Permit
  12291. SendInput ^a{delete}{enter}
  12292. if(admin = 1)
  12293. {
  12294. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  12295. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  12296. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  12297. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  12298. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  12299. if(Monat == "ERROR")
  12300. {
  12301. Monat=0
  12302. }
  12303. if(Heute == "ERROR")
  12304. {
  12305. Heute=0
  12306. }
  12307. if(Gesamt == "ERROR")
  12308. {
  12309. Gesamt=0
  12310. }
  12311. Sleep, 100
  12312. ShowDialog(0, "Ticket Statistik" , "Angenommene Tickets: " Gesamt "`nan diesem Tag: " Heute "`nin diesem Monat: " Monat, "Schließen")
  12313. }
  12314. else
  12315. {
  12316. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
  12317. }
  12318. return
  12319.  
  12320. ;~ -----------------------------------------------------------------------------------------------------------------------------------------------
  12321.  
  12322. GetCityByCoords(posX, posY, posZ)
  12323. {
  12324. if (posX >= 685.0) and (posY >= 476.093) and (posZ >= -500.0) and (posX <= 3000.0) and (posY <= 3000.0) and (posZ <= 500.0)
  12325. {
  12326. CityName := "Las Venturas"
  12327. }
  12328. 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)
  12329. {
  12330. CityName := "San Fierro"
  12331. }
  12332. 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)
  12333. {
  12334. CityName := "San Fierro"
  12335. }
  12336. 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)
  12337. {
  12338. CityName := "San Fierro"
  12339. }
  12340. 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)
  12341. {
  12342. CityName := "Los Santos"
  12343. }
  12344. 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)
  12345. {
  12346. CityName := "Los Santos"
  12347. }
  12348. 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)
  12349. {
  12350. CityName := "Tierra Robada"
  12351. }
  12352. 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)
  12353. {
  12354. CityName := "Red County"
  12355. }
  12356. 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)
  12357. {
  12358. CityName := "Flint County"
  12359. }
  12360. 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)
  12361. {
  12362. CityName := "Whetstone"
  12363. }
  12364. else
  12365. {
  12366. CityName := "Unbekannt"
  12367. }
  12368. return CityName
  12369. }
  12370.  
  12371. GetZoneByCoords(posX, posY, posZ)
  12372. {
  12373. if (posX >= -2667.810) and (posY >= -302.135) and (posZ >= -28.831) and (posX <= -2646.400) and (posY <= -262.320) and (posZ <= 71.169)
  12374. {
  12375. ZoneName := "Avispa Country Club"
  12376. }
  12377. 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)
  12378. {
  12379. ZoneName := "Easter Bay Airport"
  12380. }
  12381. 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)
  12382. {
  12383. ZoneName := "Avispa Country Club"
  12384. }
  12385. 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)
  12386. {
  12387. ZoneName := "Easter Bay Airport"
  12388. }
  12389. 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)
  12390. {
  12391. ZoneName := "Garcia"
  12392. }
  12393. 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)
  12394. {
  12395. ZoneName := "Shady Cabin"
  12396. }
  12397. 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)
  12398. {
  12399. ZoneName := "East Los Santos"
  12400. }
  12401. 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)
  12402. {
  12403. ZoneName := "LVA Freight Depot"
  12404. }
  12405. 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)
  12406. {
  12407. ZoneName := "Blackfield Intersection"
  12408. }
  12409. 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)
  12410. {
  12411. ZoneName := "Avispa Country Club"
  12412. }
  12413. 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)
  12414. {
  12415. ZoneName := "Temple"
  12416. }
  12417. 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)
  12418. {
  12419. ZoneName := "Unity Station"
  12420. }
  12421. 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)
  12422. {
  12423. ZoneName := "LVA Freight Depot"
  12424. }
  12425. 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)
  12426. {
  12427. ZoneName := "Los Flores"
  12428. }
  12429. 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)
  12430. {
  12431. ZoneName := "Starfish Casino"
  12432. }
  12433. 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)
  12434. {
  12435. ZoneName := "Easter Bay Chemicals"
  12436. }
  12437. 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)
  12438. {
  12439. ZoneName := "Downtown Los Santos"
  12440. }
  12441. 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)
  12442. {
  12443. ZoneName := "Esplanade East"
  12444. }
  12445. 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)
  12446. {
  12447. ZoneName := "Market Station"
  12448. }
  12449. 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)
  12450. {
  12451. ZoneName := "Linden Station"
  12452. }
  12453. 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)
  12454. {
  12455. ZoneName := "Montgomery Intersection"
  12456. }
  12457. 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)
  12458. {
  12459. ZoneName := "Frederick Bridge"
  12460. }
  12461. 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)
  12462. {
  12463. ZoneName := "Yellow Bell Station"
  12464. }
  12465. 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)
  12466. {
  12467. ZoneName := "Downtown Los Santos"
  12468. }
  12469. 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)
  12470. {
  12471. ZoneName := "Jefferson"
  12472. }
  12473. 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)
  12474. {
  12475. ZoneName := "Mulholland"
  12476. }
  12477. 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)
  12478. {
  12479. ZoneName := "Avispa Country Club"
  12480. }
  12481. 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)
  12482. {
  12483. ZoneName := "Jefferson"
  12484. }
  12485. 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)
  12486. {
  12487. ZoneName := "Julius Thruway West"
  12488. }
  12489. 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)
  12490. {
  12491. ZoneName := "Jefferson"
  12492. }
  12493. 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)
  12494. {
  12495. ZoneName := "Julius Thruway North"
  12496. }
  12497. 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)
  12498. {
  12499. ZoneName := "Rodeo"
  12500. }
  12501. 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)
  12502. {
  12503. ZoneName := "Cranberry Station"
  12504. }
  12505. 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)
  12506. {
  12507. ZoneName := "Downtown Los Santos"
  12508. }
  12509. 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)
  12510. {
  12511. ZoneName := "Redsands West"
  12512. }
  12513. 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)
  12514. {
  12515. ZoneName := "Little Mexico"
  12516. }
  12517. 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)
  12518. {
  12519. ZoneName := "Blackfield Intersection"
  12520. }
  12521. 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)
  12522. {
  12523. ZoneName := "Los Santos International"
  12524. }
  12525. 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)
  12526. {
  12527. ZoneName := "Beacon Hill"
  12528. }
  12529. 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)
  12530. {
  12531. ZoneName := "Rodeo"
  12532. }
  12533. 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)
  12534. {
  12535. ZoneName := "Richman"
  12536. }
  12537. 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)
  12538. {
  12539. ZoneName := "Downtown Los Santos"
  12540. }
  12541. 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)
  12542. {
  12543. ZoneName := "The Strip"
  12544. }
  12545. 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)
  12546. {
  12547. ZoneName := "Downtown Los Santos"
  12548. }
  12549. 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)
  12550. {
  12551. ZoneName := "Blackfield Intersection"
  12552. }
  12553. 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)
  12554. {
  12555. ZoneName := "Conference Center"
  12556. }
  12557. 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)
  12558. {
  12559. ZoneName := "Montgomery"
  12560. }
  12561. 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)
  12562. {
  12563. ZoneName := "Foster Valley"
  12564. }
  12565. 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)
  12566. {
  12567. ZoneName := "Blackfield Chapel"
  12568. }
  12569. 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)
  12570. {
  12571. ZoneName := "Los Santos International"
  12572. }
  12573. 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)
  12574. {
  12575. ZoneName := "Mulholland"
  12576. }
  12577. 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)
  12578. {
  12579. ZoneName := "Yellow Bell Gol Course"
  12580. }
  12581. 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)
  12582. {
  12583. ZoneName := "The Strip"
  12584. }
  12585. 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)
  12586. {
  12587. ZoneName := "Jefferson"
  12588. }
  12589. 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)
  12590. {
  12591. ZoneName := "Mulholland"
  12592. }
  12593. 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)
  12594. {
  12595. ZoneName := "Aldea Malvada"
  12596. }
  12597. 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)
  12598. {
  12599. ZoneName := "Las Colinas"
  12600. }
  12601. 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)
  12602. {
  12603. ZoneName := "Las Colinas"
  12604. }
  12605. 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)
  12606. {
  12607. ZoneName := "Richman"
  12608. }
  12609. 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)
  12610. {
  12611. ZoneName := "LVA Freight Depot"
  12612. }
  12613. 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)
  12614. {
  12615. ZoneName := "Julius Thruway North"
  12616. }
  12617. 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)
  12618. {
  12619. ZoneName := "Willowfield"
  12620. }
  12621. 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)
  12622. {
  12623. ZoneName := "Julius Thruway North"
  12624. }
  12625. 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)
  12626. {
  12627. ZoneName := "Temple"
  12628. }
  12629. 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)
  12630. {
  12631. ZoneName := "Little Mexico"
  12632. }
  12633. 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)
  12634. {
  12635. ZoneName := "Queens"
  12636. }
  12637. 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)
  12638. {
  12639. ZoneName := "Las Venturas Airport"
  12640. }
  12641. 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)
  12642. {
  12643. ZoneName := "Richman"
  12644. }
  12645. 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)
  12646. {
  12647. ZoneName := "Temple"
  12648. }
  12649. 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)
  12650. {
  12651. ZoneName := "East Los Santos"
  12652. }
  12653. 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)
  12654. {
  12655. ZoneName := "Julius Thruway East"
  12656. }
  12657. 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)
  12658. {
  12659. ZoneName := "Willowfield"
  12660. }
  12661. 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)
  12662. {
  12663. ZoneName := "Las Colinas"
  12664. }
  12665. 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)
  12666. {
  12667. ZoneName := "Julius Thruway East"
  12668. }
  12669. 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)
  12670. {
  12671. ZoneName := "Rodeo"
  12672. }
  12673. 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)
  12674. {
  12675. ZoneName := "Las Brujas"
  12676. }
  12677. 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)
  12678. {
  12679. ZoneName := "Julius Thruway East"
  12680. }
  12681. 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)
  12682. {
  12683. ZoneName := "Rodeo"
  12684. }
  12685. 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)
  12686. {
  12687. ZoneName := "Vinewood"
  12688. }
  12689. 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)
  12690. {
  12691. ZoneName := "Rodeo"
  12692. }
  12693. 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)
  12694. {
  12695. ZoneName := "Julius Thruway North"
  12696. }
  12697. 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)
  12698. {
  12699. ZoneName := "Downtown Los Santos"
  12700. }
  12701. 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)
  12702. {
  12703. ZoneName := "Rodeo"
  12704. }
  12705. 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)
  12706. {
  12707. ZoneName := "Jefferson"
  12708. }
  12709. 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)
  12710. {
  12711. ZoneName := "Hampton Barns"
  12712. }
  12713. 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)
  12714. {
  12715. ZoneName := "Temple"
  12716. }
  12717. 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)
  12718. {
  12719. ZoneName := "Kincaid Bridge"
  12720. }
  12721. 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)
  12722. {
  12723. ZoneName := "Verona Beach"
  12724. }
  12725. 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)
  12726. {
  12727. ZoneName := "Commerce"
  12728. }
  12729. 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)
  12730. {
  12731. ZoneName := "Mulholland"
  12732. }
  12733. 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)
  12734. {
  12735. ZoneName := "Rodeo"
  12736. }
  12737. 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)
  12738. {
  12739. ZoneName := "Mulholland"
  12740. }
  12741. 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)
  12742. {
  12743. ZoneName := "Mulholland"
  12744. }
  12745. 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)
  12746. {
  12747. ZoneName := "Julius Thruway South"
  12748. }
  12749. 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)
  12750. {
  12751. ZoneName := "Idlewood"
  12752. }
  12753. 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)
  12754. {
  12755. ZoneName := "Ocean Docks"
  12756. }
  12757. 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)
  12758. {
  12759. ZoneName := "Commerce"
  12760. }
  12761. 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)
  12762. {
  12763. ZoneName := "Julius Thruway North"
  12764. }
  12765. 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)
  12766. {
  12767. ZoneName := "Temple"
  12768. }
  12769. 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)
  12770. {
  12771. ZoneName := "Glen Park"
  12772. }
  12773. 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)
  12774. {
  12775. ZoneName := "Easter Bay Airport"
  12776. }
  12777. 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)
  12778. {
  12779. ZoneName := "Martin Bridge"
  12780. }
  12781. 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)
  12782. {
  12783. ZoneName := "The Strip"
  12784. }
  12785. 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)
  12786. {
  12787. ZoneName := "Willowfield"
  12788. }
  12789. 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)
  12790. {
  12791. ZoneName := "Marina"
  12792. }
  12793. 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)
  12794. {
  12795. ZoneName := "Las Venturas Airport"
  12796. }
  12797. 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)
  12798. {
  12799. ZoneName := "Idlewood"
  12800. }
  12801. 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)
  12802. {
  12803. ZoneName := "Esplanade East"
  12804. }
  12805. 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)
  12806. {
  12807. ZoneName := "Downtown Los Santos"
  12808. }
  12809. 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)
  12810. {
  12811. ZoneName := "The Mako Span"
  12812. }
  12813. 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)
  12814. {
  12815. ZoneName := "Rodeo"
  12816. }
  12817. 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)
  12818. {
  12819. ZoneName := "Pershing Square"
  12820. }
  12821. 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)
  12822. {
  12823. ZoneName := "Mulholland"
  12824. }
  12825. 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)
  12826. {
  12827. ZoneName := "Gant Bridge"
  12828. }
  12829. 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)
  12830. {
  12831. ZoneName := "Las Colinas"
  12832. }
  12833. 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)
  12834. {
  12835. ZoneName := "Mulholland"
  12836. }
  12837. 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)
  12838. {
  12839. ZoneName := "Julius Thruway North"
  12840. }
  12841. 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)
  12842. {
  12843. ZoneName := "Commerce"
  12844. }
  12845. 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)
  12846. {
  12847. ZoneName := "Rodeo"
  12848. }
  12849. 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)
  12850. {
  12851. ZoneName := "Roca Escalante"
  12852. }
  12853. 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)
  12854. {
  12855. ZoneName := "Rodeo"
  12856. }
  12857. 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)
  12858. {
  12859. ZoneName := "Market"
  12860. }
  12861. 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)
  12862. {
  12863. ZoneName := "Las Colinas"
  12864. }
  12865. 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)
  12866. {
  12867. ZoneName := "Mulholland"
  12868. }
  12869. 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)
  12870. {
  12871. ZoneName := "King's"
  12872. }
  12873. 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)
  12874. {
  12875. ZoneName := "Redsands East"
  12876. }
  12877. 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)
  12878. {
  12879. ZoneName := "Downtown"
  12880. }
  12881. 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)
  12882. {
  12883. ZoneName := "Conference Center"
  12884. }
  12885. 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)
  12886. {
  12887. ZoneName := "Richman"
  12888. }
  12889. 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)
  12890. {
  12891. ZoneName := "Ocean Flats"
  12892. }
  12893. 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)
  12894. {
  12895. ZoneName := "Greenglass College"
  12896. }
  12897. 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)
  12898. {
  12899. ZoneName := "Glen Park"
  12900. }
  12901. 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)
  12902. {
  12903. ZoneName := "LVA Freight Depot"
  12904. }
  12905. 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)
  12906. {
  12907. ZoneName := "Regular Tom"
  12908. }
  12909. 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)
  12910. {
  12911. ZoneName := "Verona Beach"
  12912. }
  12913. 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)
  12914. {
  12915. ZoneName := "East Los Santos"
  12916. }
  12917. 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)
  12918. {
  12919. ZoneName := "Caligula's Palace"
  12920. }
  12921. 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)
  12922. {
  12923. ZoneName := "Idlewood"
  12924. }
  12925. 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)
  12926. {
  12927. ZoneName := "Pilgrim"
  12928. }
  12929. 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)
  12930. {
  12931. ZoneName := "Idlewood"
  12932. }
  12933. 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)
  12934. {
  12935. ZoneName := "Queens"
  12936. }
  12937. 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)
  12938. {
  12939. ZoneName := "Downtown"
  12940. }
  12941. 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)
  12942. {
  12943. ZoneName := "Commerce"
  12944. }
  12945. 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)
  12946. {
  12947. ZoneName := "East Los Santos"
  12948. }
  12949. 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)
  12950. {
  12951. ZoneName := "Marina"
  12952. }
  12953. 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)
  12954. {
  12955. ZoneName := "Richman"
  12956. }
  12957. 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)
  12958. {
  12959. ZoneName := "Vinewood"
  12960. }
  12961. 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)
  12962. {
  12963. ZoneName := "East Los Santos"
  12964. }
  12965. 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)
  12966. {
  12967. ZoneName := "Rodeo"
  12968. }
  12969. 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)
  12970. {
  12971. ZoneName := "Easter Tunnel"
  12972. }
  12973. 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)
  12974. {
  12975. ZoneName := "Rodeo"
  12976. }
  12977. 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)
  12978. {
  12979. ZoneName := "Redsands East"
  12980. }
  12981. 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)
  12982. {
  12983. ZoneName := "The Clown's Pocket"
  12984. }
  12985. 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)
  12986. {
  12987. ZoneName := "Idlewood"
  12988. }
  12989. 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)
  12990. {
  12991. ZoneName := "Montgomery Intersection"
  12992. }
  12993. 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)
  12994. {
  12995. ZoneName := "Willowfield"
  12996. }
  12997. 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)
  12998. {
  12999. ZoneName := "Temple"
  13000. }
  13001. 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)
  13002. {
  13003. ZoneName := "Prickle Pine"
  13004. }
  13005. 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)
  13006. {
  13007. ZoneName := "Los Santos International"
  13008. }
  13009. 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)
  13010. {
  13011. ZoneName := "Garver Bridge"
  13012. }
  13013. 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)
  13014. {
  13015. ZoneName := "Garver Bridge"
  13016. }
  13017. 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)
  13018. {
  13019. ZoneName := "Kincaid Bridge"
  13020. }
  13021. 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)
  13022. {
  13023. ZoneName := "Kincaid Bridge"
  13024. }
  13025. 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)
  13026. {
  13027. ZoneName := "Verona Beach"
  13028. }
  13029. 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)
  13030. {
  13031. ZoneName := "Verdant Bluffs"
  13032. }
  13033. 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)
  13034. {
  13035. ZoneName := "Vinewood"
  13036. }
  13037. 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)
  13038. {
  13039. ZoneName := "Vinewood"
  13040. }
  13041. 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)
  13042. {
  13043. ZoneName := "Commerce"
  13044. }
  13045. 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)
  13046. {
  13047. ZoneName := "Market"
  13048. }
  13049. 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)
  13050. {
  13051. ZoneName := "Rockshore West"
  13052. }
  13053. 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)
  13054. {
  13055. ZoneName := "Julius Thruway North"
  13056. }
  13057. 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)
  13058. {
  13059. ZoneName := "East Beach"
  13060. }
  13061. 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)
  13062. {
  13063. ZoneName := "Fallow Bridge"
  13064. }
  13065. 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)
  13066. {
  13067. ZoneName := "Willowfield"
  13068. }
  13069. 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)
  13070. {
  13071. ZoneName := "Chinatown"
  13072. }
  13073. 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)
  13074. {
  13075. ZoneName := "El Castillo del Diablo"
  13076. }
  13077. 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)
  13078. {
  13079. ZoneName := "Ocean Docks"
  13080. }
  13081. 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)
  13082. {
  13083. ZoneName := "Easter Bay Chemicals"
  13084. }
  13085. 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)
  13086. {
  13087. ZoneName := "The Visage"
  13088. }
  13089. 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)
  13090. {
  13091. ZoneName := "Ocean Flats"
  13092. }
  13093. 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)
  13094. {
  13095. ZoneName := "Richman"
  13096. }
  13097. 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)
  13098. {
  13099. ZoneName := "Green Palms"
  13100. }
  13101. 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)
  13102. {
  13103. ZoneName := "Richman"
  13104. }
  13105. 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)
  13106. {
  13107. ZoneName := "Starfish Casino"
  13108. }
  13109. 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)
  13110. {
  13111. ZoneName := "East Beach"
  13112. }
  13113. 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)
  13114. {
  13115. ZoneName := "Jefferson"
  13116. }
  13117. 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)
  13118. {
  13119. ZoneName := "Downtown Los Santos"
  13120. }
  13121. 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)
  13122. {
  13123. ZoneName := "Downtown Los Santos"
  13124. }
  13125. 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)
  13126. {
  13127. ZoneName := "Garver Bridge"
  13128. }
  13129. 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)
  13130. {
  13131. ZoneName := "Julius Thruway South"
  13132. }
  13133. 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)
  13134. {
  13135. ZoneName := "East Los Santos"
  13136. }
  13137. 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)
  13138. {
  13139. ZoneName := "Greenglass College"
  13140. }
  13141. 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)
  13142. {
  13143. ZoneName := "Las Colinas"
  13144. }
  13145. 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)
  13146. {
  13147. ZoneName := "Mulholland"
  13148. }
  13149. 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)
  13150. {
  13151. ZoneName := "Ocean Docks"
  13152. }
  13153. 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)
  13154. {
  13155. ZoneName := "East Los Santos"
  13156. }
  13157. 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)
  13158. {
  13159. ZoneName := "Ganton"
  13160. }
  13161. 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)
  13162. {
  13163. ZoneName := "Avispa Country Club"
  13164. }
  13165. 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)
  13166. {
  13167. ZoneName := "Willowfield"
  13168. }
  13169. 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)
  13170. {
  13171. ZoneName := "Esplanade North"
  13172. }
  13173. 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)
  13174. {
  13175. ZoneName := "The High Roller"
  13176. }
  13177. 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)
  13178. {
  13179. ZoneName := "Ocean Docks"
  13180. }
  13181. 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)
  13182. {
  13183. ZoneName := "Last Dime Motel"
  13184. }
  13185. 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)
  13186. {
  13187. ZoneName := "Bayside Marina"
  13188. }
  13189. 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)
  13190. {
  13191. ZoneName := "King's"
  13192. }
  13193. 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)
  13194. {
  13195. ZoneName := "El Corona"
  13196. }
  13197. 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)
  13198. {
  13199. ZoneName := "Blackfield Chapel"
  13200. }
  13201. 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)
  13202. {
  13203. ZoneName := "The Pink Swan"
  13204. }
  13205. 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)
  13206. {
  13207. ZoneName := "Julius Thruway West"
  13208. }
  13209. 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)
  13210. {
  13211. ZoneName := "Los Flores"
  13212. }
  13213. 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)
  13214. {
  13215. ZoneName := "The Visage"
  13216. }
  13217. 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)
  13218. {
  13219. ZoneName := "Prickle Pine"
  13220. }
  13221. 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)
  13222. {
  13223. ZoneName := "Verona Beach"
  13224. }
  13225. 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)
  13226. {
  13227. ZoneName := "Robada Intersection"
  13228. }
  13229. 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)
  13230. {
  13231. ZoneName := "Linden Side"
  13232. }
  13233. 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)
  13234. {
  13235. ZoneName := "Ocean Docks"
  13236. }
  13237. 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)
  13238. {
  13239. ZoneName := "Willowfield"
  13240. }
  13241. 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)
  13242. {
  13243. ZoneName := "King's"
  13244. }
  13245. 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)
  13246. {
  13247. ZoneName := "Commerce"
  13248. }
  13249. 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)
  13250. {
  13251. ZoneName := "Mulholland"
  13252. }
  13253. 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)
  13254. {
  13255. ZoneName := "Marina"
  13256. }
  13257. 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)
  13258. {
  13259. ZoneName := "Battery Point"
  13260. }
  13261. 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)
  13262. {
  13263. ZoneName := "The Four Dragons Casino"
  13264. }
  13265. 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)
  13266. {
  13267. ZoneName := "Blackfield"
  13268. }
  13269. 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)
  13270. {
  13271. ZoneName := "Julius Thruway North"
  13272. }
  13273. 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)
  13274. {
  13275. ZoneName := "Yellow Bell Gol Course"
  13276. }
  13277. 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)
  13278. {
  13279. ZoneName := "Idlewood"
  13280. }
  13281. 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)
  13282. {
  13283. ZoneName := "Redsands West"
  13284. }
  13285. 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)
  13286. {
  13287. ZoneName := "Doherty"
  13288. }
  13289. 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)
  13290. {
  13291. ZoneName := "Hilltop Farm"
  13292. }
  13293. 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)
  13294. {
  13295. ZoneName := "Las Barrancas"
  13296. }
  13297. 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)
  13298. {
  13299. ZoneName := "Pirates in Men's Pants"
  13300. }
  13301. 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)
  13302. {
  13303. ZoneName := "City Hall"
  13304. }
  13305. 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)
  13306. {
  13307. ZoneName := "Avispa Country Club"
  13308. }
  13309. 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)
  13310. {
  13311. ZoneName := "The Strip"
  13312. }
  13313. 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)
  13314. {
  13315. ZoneName := "Hashbury"
  13316. }
  13317. 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)
  13318. {
  13319. ZoneName := "Los Santos International"
  13320. }
  13321. 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)
  13322. {
  13323. ZoneName := "Whitewood Estates"
  13324. }
  13325. 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)
  13326. {
  13327. ZoneName := "Sherman Reservoir"
  13328. }
  13329. 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)
  13330. {
  13331. ZoneName := "El Corona"
  13332. }
  13333. 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)
  13334. {
  13335. ZoneName := "Downtown"
  13336. }
  13337. 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)
  13338. {
  13339. ZoneName := "Foster Valley"
  13340. }
  13341. 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)
  13342. {
  13343. ZoneName := "Las Payasadas"
  13344. }
  13345. 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)
  13346. {
  13347. ZoneName := "Valle Ocultado"
  13348. }
  13349. 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)
  13350. {
  13351. ZoneName := "Blackfield Intersection"
  13352. }
  13353. 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)
  13354. {
  13355. ZoneName := "Ganton"
  13356. }
  13357. 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)
  13358. {
  13359. ZoneName := "Easter Bay Airport"
  13360. }
  13361. 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)
  13362. {
  13363. ZoneName := "Redsands East"
  13364. }
  13365. 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)
  13366. {
  13367. ZoneName := "Esplanade East"
  13368. }
  13369. 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)
  13370. {
  13371. ZoneName := "Caligula's Palace"
  13372. }
  13373. 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)
  13374. {
  13375. ZoneName := "Royal Casino"
  13376. }
  13377. 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)
  13378. {
  13379. ZoneName := "Richman"
  13380. }
  13381. 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)
  13382. {
  13383. ZoneName := "Starfish Casino"
  13384. }
  13385. 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)
  13386. {
  13387. ZoneName := "Mulholland"
  13388. }
  13389. 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)
  13390. {
  13391. ZoneName := "Downtown"
  13392. }
  13393. 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)
  13394. {
  13395. ZoneName := "Hankypanky Point"
  13396. }
  13397. 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)
  13398. {
  13399. ZoneName := "K.A.C.C. Military Fuels"
  13400. }
  13401. 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)
  13402. {
  13403. ZoneName := "Harry Gold Parkway"
  13404. }
  13405. 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)
  13406. {
  13407. ZoneName := "Bayside Tunnel"
  13408. }
  13409. 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)
  13410. {
  13411. ZoneName := "Ocean Docks"
  13412. }
  13413. 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)
  13414. {
  13415. ZoneName := "Richman"
  13416. }
  13417. 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)
  13418. {
  13419. ZoneName := "Randolph Industrial Estate"
  13420. }
  13421. 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)
  13422. {
  13423. ZoneName := "East Beach"
  13424. }
  13425. 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)
  13426. {
  13427. ZoneName := "Flint Water"
  13428. }
  13429. 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)
  13430. {
  13431. ZoneName := "Blueberry"
  13432. }
  13433. 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)
  13434. {
  13435. ZoneName := "Linden Station"
  13436. }
  13437. 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)
  13438. {
  13439. ZoneName := "Glen Park"
  13440. }
  13441. 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)
  13442. {
  13443. ZoneName := "Downtown"
  13444. }
  13445. 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)
  13446. {
  13447. ZoneName := "Redsands West"
  13448. }
  13449. 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)
  13450. {
  13451. ZoneName := "Richman"
  13452. }
  13453. 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)
  13454. {
  13455. ZoneName := "Gant Bridge"
  13456. }
  13457. 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)
  13458. {
  13459. ZoneName := "Lil' Probe Inn"
  13460. }
  13461. 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)
  13462. {
  13463. ZoneName := "Flint Intersection"
  13464. }
  13465. 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)
  13466. {
  13467. ZoneName := "Las Colinas"
  13468. }
  13469. 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)
  13470. {
  13471. ZoneName := "Sobell Rail Yards"
  13472. }
  13473. 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)
  13474. {
  13475. ZoneName := "The Emerald Isle"
  13476. }
  13477. 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)
  13478. {
  13479. ZoneName := "El Castillo del Diablo"
  13480. }
  13481. 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)
  13482. {
  13483. ZoneName := "Santa Flora"
  13484. }
  13485. 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)
  13486. {
  13487. ZoneName := "Playa del Seville"
  13488. }
  13489. 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)
  13490. {
  13491. ZoneName := "Market"
  13492. }
  13493. 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)
  13494. {
  13495. ZoneName := "Queens"
  13496. }
  13497. 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)
  13498. {
  13499. ZoneName := "Pilson Intersection"
  13500. }
  13501. 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)
  13502. {
  13503. ZoneName := "Spinybed"
  13504. }
  13505. 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)
  13506. {
  13507. ZoneName := "Pilgrim"
  13508. }
  13509. 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)
  13510. {
  13511. ZoneName := "Blackfield"
  13512. }
  13513. 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)
  13514. {
  13515. ZoneName := "'The Big Ear'"
  13516. }
  13517. 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)
  13518. {
  13519. ZoneName := "Dillimore"
  13520. }
  13521. 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)
  13522. {
  13523. ZoneName := "El Quebrados"
  13524. }
  13525. 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)
  13526. {
  13527. ZoneName := "Esplanade North"
  13528. }
  13529. 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)
  13530. {
  13531. ZoneName := "Easter Bay Airport"
  13532. }
  13533. 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)
  13534. {
  13535. ZoneName := "Fisher's Lagoon"
  13536. }
  13537. 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)
  13538. {
  13539. ZoneName := "Mulholland"
  13540. }
  13541. 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)
  13542. {
  13543. ZoneName := "East Beach"
  13544. }
  13545. 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)
  13546. {
  13547. ZoneName := "San Andreas Sound"
  13548. }
  13549. 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)
  13550. {
  13551. ZoneName := "Shady Creeks"
  13552. }
  13553. 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)
  13554. {
  13555. ZoneName := "Market"
  13556. }
  13557. 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)
  13558. {
  13559. ZoneName := "Rockshore West"
  13560. }
  13561. 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)
  13562. {
  13563. ZoneName := "Prickle Pine"
  13564. }
  13565. 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)
  13566. {
  13567. ZoneName := "Easter Basin"
  13568. }
  13569. 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)
  13570. {
  13571. ZoneName := "Leafy Hollow"
  13572. }
  13573. 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)
  13574. {
  13575. ZoneName := "LVA Freight Depot"
  13576. }
  13577. 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)
  13578. {
  13579. ZoneName := "Prickle Pine"
  13580. }
  13581. 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)
  13582. {
  13583. ZoneName := "Blueberry"
  13584. }
  13585. 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)
  13586. {
  13587. ZoneName := "El Castillo del Diablo"
  13588. }
  13589. 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)
  13590. {
  13591. ZoneName := "Downtown"
  13592. }
  13593. 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)
  13594. {
  13595. ZoneName := "Rockshore East"
  13596. }
  13597. 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)
  13598. {
  13599. ZoneName := "San Fierro Bay"
  13600. }
  13601. 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)
  13602. {
  13603. ZoneName := "Paradiso"
  13604. }
  13605. 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)
  13606. {
  13607. ZoneName := "The Camel's Toe"
  13608. }
  13609. 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)
  13610. {
  13611. ZoneName := "Old Venturas Strip"
  13612. }
  13613. 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)
  13614. {
  13615. ZoneName := "Juniper Hill"
  13616. }
  13617. 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)
  13618. {
  13619. ZoneName := "Juniper Hollow"
  13620. }
  13621. 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)
  13622. {
  13623. ZoneName := "Roca Escalante"
  13624. }
  13625. 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)
  13626. {
  13627. ZoneName := "Julius Thruway East"
  13628. }
  13629. 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)
  13630. {
  13631. ZoneName := "Verona Beach"
  13632. }
  13633. 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)
  13634. {
  13635. ZoneName := "Foster Valley"
  13636. }
  13637. 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)
  13638. {
  13639. ZoneName := "Arco del Oeste"
  13640. }
  13641. 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)
  13642. {
  13643. ZoneName := "Fallen Tree"
  13644. }
  13645. 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)
  13646. {
  13647. ZoneName := "The Farm"
  13648. }
  13649. 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)
  13650. {
  13651. ZoneName := "The Sherman Dam"
  13652. }
  13653. 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)
  13654. {
  13655. ZoneName := "Esplanade North"
  13656. }
  13657. 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)
  13658. {
  13659. ZoneName := "Financial"
  13660. }
  13661. 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)
  13662. {
  13663. ZoneName := "Garcia"
  13664. }
  13665. 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)
  13666. {
  13667. ZoneName := "Montgomery"
  13668. }
  13669. 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)
  13670. {
  13671. ZoneName := "Creek"
  13672. }
  13673. 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)
  13674. {
  13675. ZoneName := "Los Santos International"
  13676. }
  13677. 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)
  13678. {
  13679. ZoneName := "Santa Maria Beach"
  13680. }
  13681. 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)
  13682. {
  13683. ZoneName := "Mulholland Intersection"
  13684. }
  13685. 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)
  13686. {
  13687. ZoneName := "Angel Pine"
  13688. }
  13689. 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)
  13690. {
  13691. ZoneName := "Verdant Meadows"
  13692. }
  13693. 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)
  13694. {
  13695. ZoneName := "Octane Springs"
  13696. }
  13697. 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)
  13698. {
  13699. ZoneName := "Come-A-Lot"
  13700. }
  13701. 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)
  13702. {
  13703. ZoneName := "Redsands West"
  13704. }
  13705. 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)
  13706. {
  13707. ZoneName := "Santa Maria Beach"
  13708. }
  13709. 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)
  13710. {
  13711. ZoneName := "Verdant Bluffs"
  13712. }
  13713. 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)
  13714. {
  13715. ZoneName := "Las Venturas Airport"
  13716. }
  13717. 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)
  13718. {
  13719. ZoneName := "Flint Range"
  13720. }
  13721. 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)
  13722. {
  13723. ZoneName := "Verdant Bluffs"
  13724. }
  13725. 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)
  13726. {
  13727. ZoneName := "Palomino Creek"
  13728. }
  13729. 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)
  13730. {
  13731. ZoneName := "Ocean Docks"
  13732. }
  13733. 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)
  13734. {
  13735. ZoneName := "Easter Bay Airport"
  13736. }
  13737. 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)
  13738. {
  13739. ZoneName := "Whitewood Estates"
  13740. }
  13741. 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)
  13742. {
  13743. ZoneName := "Calton Heights"
  13744. }
  13745. 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)
  13746. {
  13747. ZoneName := "Easter Basin"
  13748. }
  13749. 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)
  13750. {
  13751. ZoneName := "Los Santos Inlet"
  13752. }
  13753. 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)
  13754. {
  13755. ZoneName := "Doherty"
  13756. }
  13757. 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)
  13758. {
  13759. ZoneName := "Mount Chiliad"
  13760. }
  13761. 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)
  13762. {
  13763. ZoneName := "Fort Carson"
  13764. }
  13765. 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)
  13766. {
  13767. ZoneName := "Foster Valley"
  13768. }
  13769. 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)
  13770. {
  13771. ZoneName := "Ocean Flats"
  13772. }
  13773. 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)
  13774. {
  13775. ZoneName := "Fern Ridge"
  13776. }
  13777. 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)
  13778. {
  13779. ZoneName := "Bayside"
  13780. }
  13781. 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)
  13782. {
  13783. ZoneName := "Las Venturas Airport"
  13784. }
  13785. 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)
  13786. {
  13787. ZoneName := "Blueberry Acres"
  13788. }
  13789. 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)
  13790. {
  13791. ZoneName := "Palisades"
  13792. }
  13793. 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)
  13794. {
  13795. ZoneName := "North Rock"
  13796. }
  13797. 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)
  13798. {
  13799. ZoneName := "Hunter Quarry"
  13800. }
  13801. 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)
  13802. {
  13803. ZoneName := "Los Santos International"
  13804. }
  13805. 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)
  13806. {
  13807. ZoneName := "Missionary Hill"
  13808. }
  13809. 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)
  13810. {
  13811. ZoneName := "San Fierro Bay"
  13812. }
  13813. 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)
  13814. {
  13815. ZoneName := "Restricted Area"
  13816. }
  13817. 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)
  13818. {
  13819. ZoneName := "Mount Chiliad"
  13820. }
  13821. 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)
  13822. {
  13823. ZoneName := "Mount Chiliad"
  13824. }
  13825. 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)
  13826. {
  13827. ZoneName := "Easter Bay Airport"
  13828. }
  13829. 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)
  13830. {
  13831. ZoneName := "The Panopticon"
  13832. }
  13833. 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)
  13834. {
  13835. ZoneName := "Shady Creeks"
  13836. }
  13837. 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)
  13838. {
  13839. ZoneName := "Back o Beyond"
  13840. }
  13841. 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)
  13842. {
  13843. ZoneName := "Mount Chiliad"
  13844. }
  13845. 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)
  13846. {
  13847. ZoneName := "Tierra Robada"
  13848. }
  13849. 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)
  13850. {
  13851. ZoneName := "Flint County"
  13852. }
  13853. else
  13854. {
  13855. ZoneName := "Unbekannt"
  13856. }
  13857. return ZoneName
  13858. }
  13859.  
  13860. OpenMemoryfromTitle_(title,right=0x1F0FFF)
  13861. {
  13862. WinGet,PID,PID,%title%
  13863. HWND := DllCall("OpenProcess","Uint",right,"int",0,"int",PID)
  13864. return HWND
  13865. }
  13866.  
  13867. CloseMemory_(hwnd)
  13868. {
  13869. return DllCall("CloseHandle", "int", hwnd)
  13870. }
  13871.  
  13872. ReadMemory_(hwnd,address,datatype="int",length=4,offset=0)
  13873. {
  13874. VarSetCapacity(readvalue,length, 0)
  13875. DllCall("ReadProcessMemory","Uint",hwnd,"Uint",address+offset,"Str",readvalue,"Uint",length,"Uint *",0)
  13876. finalvalue := NumGet(readvalue,0,datatype)
  13877. return finalvalue
  13878. }
  13879.  
  13880. :?:/rmpos::
  13881. Suspend Permit
  13882. exe := OpenMemoryfromTitle_("GTA:SA:MP")
  13883. posX := ReadMemory_(exe,0xC7DEC8,"Float")
  13884. posY := ReadMemory_(exe,0xC7DECC,"Float")
  13885. posZ := ReadMemory_(exe, 0xC7DED0,"Float")
  13886. CloseMemory_(exe)
  13887. posX := Floor(posX)
  13888. posY := Floor(posY)
  13889. posZ := Floor(posZ)
  13890. Zone := GetZoneByCoords(posX, posY, posZ)
  13891. City := GetCityByCoords(posX, posY, posZ)
  13892. Entfernung := GetDistanceFromPoint(posX, posY, posZ)
  13893. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Marker befindet sich in {FF0000}" . Zone . "{FFFFFF}, {FF0000}" . City . "{FFFFFF}.")
  13894. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Entfernung: {FF0000}" . Entfernung . "{FFFFFF} Meter.")
  13895. return
  13896.  
  13897.  
  13898.  
  13899. GetPlayerSpeed()
  13900. {
  13901. exe := OpenMemoryfromTitle_("GTA:SA:MP")
  13902. pointer := ReadMemory_(exe, 0xBA18FC)
  13903. speedX := ReadMemory_(exe, pointer+68,"Float")
  13904. speedY := ReadMemory_(exe,pointer+72,"Float")
  13905. speedZ := ReadMemory_(exe, pointer+76,"Float")
  13906. CloseMemory_(exe)
  13907.  
  13908. speed := (((speedX * speedX) + (speedY * speedY) + (speedZ * speedZ))**(1/2))
  13909. speed := speed * 160.9344
  13910. speed := floor(speed)
  13911.  
  13912. return speed
  13913. }
  13914.  
  13915. ~k::
  13916. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  13917. {
  13918. return
  13919. }
  13920. caID := PlayerInput("Kontrolle: ")
  13921. SendChat("/alktest " caID)
  13922. SendChat("/waffen " caID)
  13923. sleep, 1500
  13924. SendChat("/frisk " caID)
  13925. GetChatLine(0, Chat1)
  13926. if(InStr(Chat1, "Du hast ") && InStr(Chat1, "g Drogen gefunden."))
  13927. {
  13928.  
  13929. SendChat("/take drogen " caID "")
  13930. }
  13931. return
  13932.  
  13933. Paintballtod:
  13934. IfWinNotActive, GTA:SA:MP
  13935. return
  13936. GetPlayerName(Spieler)
  13937. GetChatLine(0, Chat1)
  13938. If(inStr(Chat1, "" Spieler " wurde von"))
  13939. {
  13940. IniRead, Paintballtod, Statistik.ini, Paintball, Paintballtod
  13941. Paintballtod++
  13942. IniWrite, %Paintballtod%, Statistik.ini, Paintball, Paintballtod
  13943. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik]{FFFFFF} Dies war dein {FF0000}" Paintballtod "{FFFFFF}. Paintballtod.")
  13944. }
  13945. return
  13946.  
  13947. Paintballkill:
  13948. IfWinNotActive, GTA:SA:MP
  13949. return
  13950. GetPlayerName(Spieler)
  13951. GetChatLine(0, Chat1)
  13952. If(inStr(Chat1, "wurde von " Spieler " getötet."))
  13953. {
  13954. IniRead, Paintballkill, Statistik.ini, Paintball, Paintballkill
  13955. Paintballkill++
  13956. IniWrite, %Paintballkill%, Statistik.ini, Paintball, Paintballkill
  13957. AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik]{FFFFFF} Dies war dein {FF0000}" Paintballkill "{FFFFFF}. Paintballkill.")
  13958. }
  13959. return
  13960.  
  13961. ;;;;;;;;;;;;;
  13962.  
  13963. DownloadToString(url, head, encoding = "utf-8") ; http://www.autohotkey.com/board/topic/89198-simple-download-bin-tostring-und-tofile/
  13964. {
  13965. static a := "AutoHotkey/" A_AhkVersion
  13966. if (!DllCall("LoadLibrary", "str", "wininet") || !(h := DllCall("wininet\InternetOpen", "str", a, "uint", 1, "ptr", 0, "ptr", 0, "uint", 0, "ptr")))
  13967. return 0
  13968. c := s := 0, o := ""
  13969. if (f := DllCall("wininet\InternetOpenUrl", "ptr", h, "str", url, "str", head, "int", -1, "uint", 0x80083000, "ptr", 0, "ptr"))
  13970. {
  13971. while (DllCall("wininet\InternetQueryDataAvailable", "ptr", f, "uint*", s, "uint", 0, "ptr", 0) && s > 0)
  13972. {
  13973. VarSetCapacity(b, s, 0)
  13974. DllCall("wininet\InternetReadFile", "ptr", f, "ptr", &b, "uint", s, "uint*", r)
  13975. o .= StrGet(&b, r >> (encoding = "utf-16" || encoding = "cp1200"), encoding)
  13976. }
  13977. DllCall("wininet\InternetCloseHandle", "ptr", f)
  13978. }
  13979. DllCall("wininet\InternetCloseHandle", "ptr", h)
  13980. return o
  13981. }
  13982.  
  13983. :?:/forum::
  13984. Suspend Permit
  13985. If(Liveticker != 1)
  13986. {
  13987. Liveticker := 1
  13988. Settimer, liveticker, 1000
  13989. AddChatMessage(0xFFFFFF, "Du hast die Forummessages {01DF01}Aktiviert.")
  13990. return
  13991. }
  13992. else
  13993. {
  13994. Settimer, liveticker, off
  13995. Liveticker := -1
  13996. AddChatMessage(0xFFFFFF, "Du hast die Forummessages {FF0000}deaktiviert.")
  13997. }
  13998.  
  13999.  
  14000. liveticker:
  14001. IfWinNotActive GTA:SA:MP
  14002. return
  14003. FormatTime, Zeit, , HH:mm
  14004. test := ""
  14005. test := DownloadToString("http://rpg-city.de/index.php/BoardFeed/", "Cookie: wcf_wcf_oabf=; wcf_userID=14; wcf_password=%242a%2408%24hmKxmyzQ79.Vv7Uf8fv7pOvqwuOjNN5vYLFy5R%2Fm5OZA1UUc5Am8a; wcf_cookieHash=d236a0b4e9fab8195a644a9117809e2ecdd3de64; wcf_oabf=")
  14006. count := 0
  14007. Loop, parse, test, `n, `r
  14008. {
  14009. if(InStr(A_LoopField, "<title><![CDATA[") && !InStr(A_LoopField, "RPG City"))
  14010. {
  14011. RegExMatch(A_LoopField, "<title><!\[CDATA\[(.*)\]\]></title>", v_title)
  14012. }
  14013. if(InStr(A_LoopField, "<dc:creator><![CDATA"))
  14014. {
  14015. RegExMatch(A_LoopField, "<dc:creator><!\[CDATA\[(.*)\]\]></dc:creator>", v_creator)
  14016. count++
  14017. StringReplace, v_creator1, v_creator1, ä, ae
  14018. StringReplace, v_title1, v_title1, ä, ae
  14019. StringReplace, v_creator1, v_creator1, ü, ue
  14020. StringReplace, v_title1, v_title1, ü, ue
  14021. StringReplace, v_creator1, v_creator1, ö, oe
  14022. StringReplace, v_title1, v_title1, ö, oe
  14023. }
  14024. if(count == 1)
  14025. {
  14026. if(v_creator1 == oldcreator && v_title1 == oldtitle)
  14027. return
  14028. oldcreator := v_creator1
  14029. oldtitle := v_title1
  14030. AddChatMessage(0xDF0101, "[FORUM-NEWS] Neuer Forumbeitrag von {FFFFFF}" v_creator1 "{DF0101} im Thread {FFFFFF}" v_title1 "{DF0101} (" Zeit ") ")
  14031. break
  14032. }
  14033. }
  14034. return
  14035.  
  14036.  
  14037. ;::::::::::::::::::::::::
  14038.  
  14039.  
  14040.  
  14041.  
  14042.  
  14043.  
  14044. ;;;;;;;;;;;;;;;;;;;;;Wanted Vergaben::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  14045. !Numpad1::
  14046. id := PlayerInput("Angriff/Beschuss: ")
  14047. FormatTime, Zeit, , HH:mm
  14048. SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten [" Zeit "]")
  14049. SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten [" Zeit "]")
  14050.  
  14051.  
  14052. if(id != "")
  14053. {
  14054. Sleep, 200
  14055. GetChatLine(0, chat)
  14056. GetPlayerName(Name)
  14057. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14058. {
  14059. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14060. IniRead, Angriff, Statistik.ini, Vergaben, Angriff
  14061. Wanted+=2
  14062. Angriff+=2
  14063. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14064. IniWrite, %Angriff%, Statistik.ini, Vergaben, Angriff
  14065. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14066. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Angriff / Beschuss Wanteds: {FFBF00}" . Angriff . "{FFFFFF}.")
  14067. }
  14068. }
  14069. return
  14070. !Numpad2::
  14071. FormatTime, Zeit, , HH:mm
  14072. id:=PlayerInput("Flucht: ")
  14073. SendChat("/su " id " Flucht / Fluchtversuch [" Zeit "]")
  14074. SendChat("/su " id " Flucht / Fluchtversuch [" Zeit "]")
  14075. SendChat("/su " id " Verweigerung von Anweisungen [" Zeit "]")
  14076. if(id != "")
  14077. {
  14078. Sleep, 200
  14079. GetChatLine(0, chat)
  14080. GetPlayerName(Name)
  14081. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14082. {
  14083. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14084. IniRead, Flucht, Statistik.ini, Vergaben, Flucht
  14085. IniRead, Verweigerung, Statistik.ini, Vergaben, Verweigerung
  14086. Wanted+=2
  14087. Flucht+=2
  14088. Verweigerung+=1
  14089. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14090. IniWrite, %Flucht%, Statistik.ini, Vergaben, Flucht
  14091. IniWrite, %Verweigerung%, Statistik.ini, Vergaben, Verweigerung
  14092.  
  14093. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14094. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Flucht Wanteds: {FFBF00}" . Flucht . "{FFFFFF}.")
  14095. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Verweigerungs Wanteds: {FFBF00}" . Verweigerung . "{FFFFFF}.")
  14096.  
  14097.  
  14098. }
  14099.  
  14100.  
  14101. fluchtID := id
  14102. SetTimer, flucht, 300000
  14103.  
  14104. if(id != "")
  14105. {
  14106. SetTimer, Find , Off
  14107. AID := id
  14108. SendChat("/find " AID)
  14109. SetTimer, Find , 6000
  14110. }
  14111. }
  14112. return
  14113.  
  14114. !Numpad3::
  14115. id := PlayerInput("Verweigerung: ")
  14116. FormatTime, Zeit, , HH:mm
  14117. SendChat("/su " id " Verweigerung von Anweisungen [" Zeit "]")
  14118. if(id != "")
  14119. {
  14120. Sleep, 200
  14121. GetChatLine(0, chat)
  14122. GetPlayerName(Name)
  14123. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14124. {
  14125. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14126. IniRead, Verweigerung, Statistik.ini, Vergaben, Verweigerung
  14127. Wanted++
  14128. Verweigerung++
  14129. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14130. IniWrite, %Verweigerung%, Statistik.ini, Vergaben, Verweigerung
  14131.  
  14132. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14133. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Verweigerungs Wanteds: {FFBF00}" . Verweigerung . "{FFFFFF}.")
  14134.  
  14135. }
  14136. }
  14137. return
  14138.  
  14139. !Numpad4::
  14140. id := PlayerInput("BdJ: ")
  14141. FormatTime, Zeit, , HH:mm
  14142. SendChat("/su " id " Behinderung der Justiz: ")
  14143. if(id != "")
  14144. {
  14145. Sleep, 200
  14146. GetChatLine(0, chat)
  14147. GetPlayerName(Name)
  14148. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14149. {
  14150. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14151. IniRead, BDJ, Statistik.ini, Vergaben, BDJ
  14152. Wanted++
  14153. BDJ++
  14154. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14155. IniWrite, %BDJ%, Statistik.ini, Vergaben, BDJ
  14156.  
  14157. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14158. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Behinderung der Justiz Wanteds: {FFBF00}" . BDJ . "{FFFFFF}.")
  14159.  
  14160.  
  14161. }
  14162. }
  14163. return
  14164.  
  14165. !Numpad5::
  14166. id := PlayerInput("Materialien: ")
  14167. FormatTime, Zeit, , HH:mm
  14168. SendChat("/su " id " Besitz von illegalen Materialien [" Zeit "]")
  14169. SendChat("/su " id " Besitz von illegalen Materialien [" Zeit "]")
  14170. if(id != "")
  14171. {
  14172. Sleep, 200
  14173. GetChatLine(0, chat)
  14174. GetPlayerName(Name)
  14175. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14176. {
  14177. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14178. IniRead, Mats, Statistik.ini, Vergaben, Mats
  14179. Wanted+=2
  14180. Mats+=2
  14181. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14182. IniWrite, %Mats%, Statistik.ini, Vergaben, Mats
  14183.  
  14184. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14185. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Material Wanteds: {FFBF00}" . Mats . "{FFFFFF}.")
  14186. }
  14187. }
  14188. return
  14189.  
  14190. !Numpad6::
  14191. id := PlayerInput("Drogen: ")
  14192. FormatTime, Zeit, , HH:mm
  14193. SendChat("/su " id " Verstoß gegen das Betäubungsmittel Gesetz [" Zeit "]")
  14194. SendChat("/su " id " Verstoß gegen das Betäubungsmittel Gesetz [" Zeit "]")
  14195. if(id != "")
  14196. {
  14197. Sleep, 200
  14198. GetChatLine(0, chat)
  14199. GetPlayerName(Name)
  14200. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14201. {
  14202. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14203. IniRead, Drogen, Statistik.ini, Vergaben, Drogen
  14204. Wanted+=2
  14205. Drogen+=2
  14206. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14207. IniWrite, %Drogen%, Statistik.ini, Vergaben, Drogen
  14208.  
  14209. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14210. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Drogen Wanteds: {FFBF00}" . Drogen . "{FFFFFF}.")
  14211.  
  14212. }
  14213. }
  14214. return
  14215.  
  14216. !Numpad7::
  14217. FormatTime, Zeit, , HH:mm
  14218. id := PlayerInput("Beihilfe: ")
  14219. SendChat("/su " id " Beihilfe zur Flucht [" Zeit "]")
  14220. SendChat("/su " id " Beihilfe zur Flucht [" Zeit "]")
  14221. if(id != "")
  14222. {
  14223. Sleep, 200
  14224. GetChatLine(0, chat)
  14225. GetPlayerName(Name)
  14226. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14227. {
  14228. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14229. IniRead, FluchtBeihilfe, Statistik.ini, Vergaben, FluchtBeihilfe
  14230. Wanted+=2
  14231. FluchtBeihilfe+=2
  14232. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14233. IniWrite, %FluchtBeihilfe%, Statistik.ini, Vergaben, FluchtBeihilfe
  14234. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14235. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fluchtbeihilfe Wanteds: {FFBF00}" . FluchtBeihilfe . "{FFFFFF}.")
  14236.  
  14237. }
  14238. }
  14239. return
  14240.  
  14241. !Numpad8::
  14242. id := PlayerInput("Drogen-/Waffenhandel: ")
  14243. FormatTime, Zeit, , HH:mm
  14244. SendChat("/su " id " Illegaler Handel von Drogen / Waffen [" Zeit "]")
  14245. SendChat("/su " id " Illegaler Handel von Drogen / Waffen [" Zeit "]")
  14246. if(id != "")
  14247. {
  14248. Sleep, 200
  14249. GetChatLine(0, chat)
  14250. GetPlayerName(Name)
  14251. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14252. {
  14253. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14254. IniRead, Handel, Statistik.ini, Vergaben, Handel
  14255. Wanted+=2
  14256. Handel+=2
  14257. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14258. IniWrite, %Handel%, Statistik.ini, Vergaben, Handel
  14259. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14260. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Waffen/Drogen Handel Wanteds: {FFBF00}" . Handel . "{FFFFFF}.")
  14261. }
  14262. }
  14263. return
  14264.  
  14265. !Numpad9::
  14266. id := PlayerInput("Einbruch: ")
  14267. FormatTime, Zeit, , HH:mm
  14268. SendChat("/su " id " Unautorisiertes Betreten eines Geländes/Fahrzeuges [" Zeit "]")
  14269. SendChat("/su " id " Unautorisiertes Betreten eines Geländes/Fahrzeuges [" Zeit "]")
  14270. if(id != "")
  14271. {
  14272. Sleep, 200
  14273. GetChatLine(0, chat)
  14274. GetPlayerName(Name)
  14275. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14276. {
  14277. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14278. IniRead, Einbruch, Statistik.ini, Vergaben, Einbruch
  14279. Wanted+=2
  14280. Einbruch+=2
  14281. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14282. IniWrite, %Einbruch%, Statistik.ini, Vergaben, Einbruch
  14283. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14284. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Einbruchs Wanteds: {FFBF00}" . Einbruch . "{FFFFFF}.")
  14285.  
  14286. }
  14287. }
  14288. return
  14289. !1::
  14290. id := PlayerInput("Angriff/Beschuss: ")
  14291. FormatTime, Zeit, , HH:mm
  14292. SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten [" Zeit "]")
  14293. SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten [" Zeit "]")
  14294. if(id != "")
  14295. {
  14296. Sleep, 200
  14297. GetChatLine(0, chat)
  14298. GetPlayerName(Name)
  14299. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14300. {
  14301. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14302. IniRead, Angriff, Statistik.ini, Vergaben, Angriff
  14303. Wanted+=2
  14304. Angriff+=2
  14305. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14306. IniWrite, %Angriff%, Statistik.ini, Vergaben, Angriff
  14307. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14308. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Angriff / Beschuss Wanteds: {FFBF00}" . Angriff . "{FFFFFF}.")
  14309. }
  14310. }
  14311. return
  14312. !2::
  14313. FormatTime, Zeit, , HH:mm
  14314. id:=PlayerInput("Flucht: ")
  14315. SendChat("/su " id " Flucht / Fluchtversuch [" Zeit "]")
  14316. SendChat("/su " id " Flucht / Fluchtversuch [" Zeit "]")
  14317. if(id != "")
  14318. {
  14319. Sleep, 200
  14320. GetChatLine(0, chat)
  14321. GetPlayerName(Name)
  14322. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14323. {
  14324. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14325. IniRead, Flucht, Statistik.ini, Vergaben, Flucht
  14326. Wanted+=2
  14327. Flucht+=2
  14328. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14329. IniWrite, %Flucht%, Statistik.ini, Vergaben, Flucht
  14330. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14331. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Flucht Wanteds: {FFBF00}" . Flucht . "{FFFFFF}.")
  14332.  
  14333. }
  14334.  
  14335.  
  14336. fluchtID := id
  14337. SetTimer, flucht, 300000
  14338.  
  14339. ;~ if(id != "")
  14340. ;~ {
  14341. ;~ SetTimer, Find , Off
  14342. ;~ AID := id
  14343. ;~ SendChat("/find " AID)
  14344. ;~ SetTimer, Find , 6000
  14345. ;~ }
  14346. }
  14347. return
  14348.  
  14349. !3::
  14350. id := PlayerInput("Verweigerung: ")
  14351. FormatTime, Zeit, , HH:mm
  14352. SendChat("/su " id " Verweigerung von Anweisungen [" Zeit "]")
  14353. if(id != "")
  14354. {
  14355. Sleep, 200
  14356. GetChatLine(0, chat)
  14357. GetPlayerName(Name)
  14358. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14359. {
  14360. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14361. IniRead, Verweigerung, Statistik.ini, Vergaben, Verweigerung
  14362. Wanted++
  14363. Verweigerung++
  14364. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14365. IniWrite, %Verweigerung%, Statistik.ini, Vergaben, Verweigerung
  14366.  
  14367. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14368. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Verweigerungs Wanteds: {FFBF00}" . Verweigerung . "{FFFFFF}.")
  14369.  
  14370. }
  14371. }
  14372. return
  14373.  
  14374. !4::
  14375. id := PlayerInput("BdJ: ")
  14376. FormatTime, Zeit, , HH:mm
  14377. SendChat("/su " id " Behinderung der Justiz: ")
  14378. if(id != "")
  14379. {
  14380. Sleep, 200
  14381. GetChatLine(0, chat)
  14382. GetPlayerName(Name)
  14383. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14384. {
  14385. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14386. IniRead, BDJ, Statistik.ini, Vergaben, BDJ
  14387. Wanted++
  14388. BDJ++
  14389. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14390. IniWrite, %BDJ%, Statistik.ini, Vergaben, BDJ
  14391.  
  14392. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14393. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Behinderung der Justiz Wanteds: {FFBF00}" . BDJ . "{FFFFFF}.")
  14394.  
  14395.  
  14396. }
  14397. }
  14398. return
  14399.  
  14400. !5::
  14401. id := PlayerInput("Materialien: ")
  14402. FormatTime, Zeit, , HH:mm
  14403. SendChat("/su " id " Besitz von illegalen Materialien [" Zeit "]")
  14404. SendChat("/su " id " Besitz von illegalen Materialien [" Zeit "]")
  14405. if(id != "")
  14406. {
  14407. Sleep, 200
  14408. GetChatLine(0, chat)
  14409. GetPlayerName(Name)
  14410. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14411. {
  14412. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14413. IniRead, Mats, Statistik.ini, Vergaben, Mats
  14414. Wanted+=2
  14415. Mats+=2
  14416. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14417. IniWrite, %Mats%, Statistik.ini, Vergaben, Mats
  14418.  
  14419. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14420. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Material Wanteds: {FFBF00}" . Mats . "{FFFFFF}.")
  14421. }
  14422. }
  14423. return
  14424.  
  14425. !6::
  14426. id := PlayerInput("Drogen: ")
  14427. FormatTime, Zeit, , HH:mm
  14428. SendChat("/su " id " Verstoß gegen das Betäubungsmittel Gesetz [" Zeit "]")
  14429. SendChat("/su " id " Verstoß gegen das Betäubungsmittel Gesetz [" Zeit "]")
  14430. if(id != "")
  14431. {
  14432. Sleep, 200
  14433. GetChatLine(0, chat)
  14434. GetPlayerName(Name)
  14435. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14436. {
  14437. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14438. IniRead, Drogen, Statistik.ini, Vergaben, Drogen
  14439. Wanted+=2
  14440. Drogen+=2
  14441. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14442. IniWrite, %Drogen%, Statistik.ini, Vergaben, Drogen
  14443.  
  14444. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14445. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Drogen Wanteds: {FFBF00}" . Drogen . "{FFFFFF}.")
  14446.  
  14447. }
  14448. }
  14449. return
  14450.  
  14451. !7::
  14452. FormatTime, Zeit, , HH:mm
  14453. id := PlayerInput("Beihilfe: ")
  14454. SendChat("/su " id " Beihilfe zur Flucht [" Zeit "]")
  14455. SendChat("/su " id " Beihilfe zur Flucht [" Zeit "]")
  14456. if(id != "")
  14457. {
  14458. Sleep, 200
  14459. GetChatLine(0, chat)
  14460. GetPlayerName(Name)
  14461. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14462. {
  14463. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14464. IniRead, FluchtBeihilfe, Statistik.ini, Vergaben, FluchtBeihilfe
  14465. Wanted+=2
  14466. FluchtBeihilfe+=2
  14467. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14468. IniWrite, %FluchtBeihilfe%, Statistik.ini, Vergaben, FluchtBeihilfe
  14469. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14470. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fluchtbeihilfe Wanteds: {FFBF00}" . FluchtBeihilfe . "{FFFFFF}.")
  14471.  
  14472. }
  14473. }
  14474. return
  14475.  
  14476. !8::
  14477. id := PlayerInput("Drogen-/Waffenhandel: ")
  14478. FormatTime, Zeit, , HH:mm
  14479. SendChat("/su " id " Illegaler Handel von Drogen / Waffen [" Zeit "]")
  14480. SendChat("/su " id " Illegaler Handel von Drogen / Waffen [" Zeit "]")
  14481. if(id != "")
  14482. {
  14483. Sleep, 200
  14484. GetChatLine(0, chat)
  14485. GetPlayerName(Name)
  14486. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14487. {
  14488. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14489. IniRead, Handel, Statistik.ini, Vergaben, Handel
  14490. Wanted+=2
  14491. Handel+=2
  14492. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14493. IniWrite, %Handel%, Statistik.ini, Vergaben, Handel
  14494. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14495. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Waffen/Drogen Handel Wanteds: {FFBF00}" . Handel . "{FFFFFF}.")
  14496. }
  14497. }
  14498. return
  14499.  
  14500. !9::
  14501. id := PlayerInput("Einbruch: ")
  14502. FormatTime, Zeit, , HH:mm
  14503. SendChat("/su " id " Unautorisiertes Betreten eines Geländes/Fahrzeuges [" Zeit "]")
  14504. SendChat("/su " id " Unautorisiertes Betreten eines Geländes/Fahrzeuges [" Zeit "]")
  14505. if(id != "")
  14506. {
  14507. Sleep, 200
  14508. GetChatLine(0, chat)
  14509. GetPlayerName(Name)
  14510. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14511. {
  14512. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14513. IniRead, Einbruch, Statistik.ini, Vergaben, Einbruch
  14514. Wanted+=2
  14515. Einbruch+=2
  14516. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14517. IniWrite, %Einbruch%, Statistik.ini, Vergaben, Einbruch
  14518. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14519. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Einbruchs Wanteds: {FFBF00}" . Einbruch . "{FFFFFF}.")
  14520.  
  14521. }
  14522. }
  14523. return
  14524.  
  14525. !J::
  14526. id := PlayerInput("Anfahren: ")
  14527. FormatTime, Zeit, , HH:mm
  14528. SendChat("/su " id " Absichtliches Anfahren von Beamten/Zivilisten [" Zeit "]")
  14529. if(id != "")
  14530. {
  14531. Sleep, 200
  14532. GetChatLine(0, chat)
  14533. GetPlayerName(Name)
  14534. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14535. {
  14536. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14537. IniRead, Anfahren, Statistik.ini, Vergaben, Anfahren
  14538. Wanted++
  14539. Anfahren++
  14540. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14541. IniWrite, %Anfahren%, Statistik.ini, Vergabe, Anfahren
  14542. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14543. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Anfahr Wanteds: {FFBF00}" . Anfahren . "{FFFFFF}.")
  14544. }
  14545. }
  14546. return
  14547.  
  14548.  
  14549. !K::
  14550. id := PlayerInput("Privat: ")
  14551. FormatTime, Zeit, , HH:mm
  14552. SendChat("/su " id " Diebstahl von Privatfahrzeugen [" Zeit "]")
  14553. SendChat("/su " id " Diebstahl von Privatfahrzeugen [" Zeit "]")
  14554. if(id != "")
  14555. {
  14556. Sleep, 200
  14557. GetChatLine(0, chat)
  14558. GetPlayerName(Name)
  14559. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14560. {
  14561. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14562. IniRead, Diebstahl, Statistik.ini, Vergaben, Diebstahl
  14563. Wanted+=2
  14564. Diebstahl+=2
  14565. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14566. IniWrite, %Diebstahl%, Statistik.ini, Vergaben, Diebstahl
  14567. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14568. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fahrzeugdiebstahl Wanteds: {FFBF00}" . Diebstahl . "{FFFFFF}.")
  14569. }
  14570. }
  14571. return
  14572.  
  14573. !L::
  14574. id := PlayerInput("Staats: ")
  14575. FormatTime, Zeit, , HH:mm
  14576. SendChat("/su " id " Diebstahl von Staatsfahrzeugen [" Zeit "]")
  14577. SendChat("/su " id " Diebstahl von Staatsfahrzeugen [" Zeit "]")
  14578. Sleep, 1500
  14579. SendChat("/su " id " Diebstahl von Staatsfahrzeugen [" Zeit "]")
  14580. SendChat("/su " id " Diebstahl von Staatsfahrzeugen [" Zeit "]")
  14581. if(id != "")
  14582. {
  14583. Sleep, 200
  14584. GetChatLine(0, chat)
  14585. GetPlayerName(Name)
  14586. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14587. {
  14588. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14589. IniRead, Diebstahl, Statistik.ini, Vergaben, Diebstahl
  14590. Wanted+=4
  14591. Diebstahl+=4
  14592. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14593. IniWrite, %Diebstahl%, Statistik.ini, Vergaben, Diebstahl
  14594. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14595. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fahrzeugdiebstahl Wanteds: {FFBF00}" . Diebstahl . "{FFFFFF}.")
  14596. }
  14597. }
  14598. return
  14599.  
  14600. !ö::
  14601. id := PlayerInput("Bewaffnet: ")
  14602. FormatTime, Zeit, , HH:mm
  14603. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
  14604. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
  14605. Sleep, 1500
  14606. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
  14607. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
  14608. Sleep, 1500
  14609. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
  14610. SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
  14611. if(id != "")
  14612. {
  14613. Sleep, 200
  14614. GetChatLine(0, chat)
  14615. GetPlayerName(Name)
  14616. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14617. {
  14618. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14619. IniRead, Diebstahl, Statistik.ini, Vergaben, Diebstahl
  14620. Wanted+=6
  14621. Diebstahl+=6
  14622. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14623. IniWrite, %Diebstahl%, Statistik.ini, Vergaben, Diebstahl
  14624. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14625. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fahrzeugdiebstahl Wanteds: {FFBF00}" . Diebstahl . "{FFFFFF}.")
  14626. }
  14627. }
  14628. return
  14629.  
  14630. !O::
  14631. id := PlayerInput("Beleidigung: ")
  14632. FormatTime, Zeit, , HH:mm
  14633. SendChat("/su " id " Beamtenbeleidigung / Umganston [" Zeit "]")
  14634. if(id != "")
  14635. {
  14636. Sleep, 200
  14637. GetChatLine(0, chat)
  14638. GetPlayerName(Name)
  14639. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14640. {
  14641. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14642. IniRead, Beleidigung, Statistik.ini, Vergaben, Beleidigung
  14643. Wanted++
  14644. Beleidigung++
  14645. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14646. IniWrite, %Beleidigung%, Statistik.ini, Vergaben, Beleidigung
  14647. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14648. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Beleidigungs Wanteds: {FFBF00}" . Beleidigung . "{FFFFFF}.")
  14649. }
  14650. }
  14651. return
  14652.  
  14653. !i::
  14654. id := PlayerInput("Waffengebrauch: ")
  14655. FormatTime, Zeit, , HH:mm
  14656. SendChat("/su " id " Waffengebrauch in der Öffentlichkeit [" Zeit "]")
  14657. SendChat("/su " id " Waffengebrauch in der Öffentlichkeit [" Zeit "]")
  14658. if(id != "")
  14659. {
  14660. Sleep, 200
  14661. GetChatLine(0, chat)
  14662. GetPlayerName(Name)
  14663. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14664. {
  14665. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14666. IniRead, WGÖ, Statistik.ini, Vergaben, WGÖ
  14667. Wanted+=2
  14668. WGÖ+=2
  14669. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14670. IniWrite, %WGÖ%, Statistik.ini, Vergaben, WGÖ
  14671. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14672. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Waffengebrauch Wanteds: {FFBF00}" . WGÖ . "{FFFFFF}.")
  14673. }
  14674. }
  14675. return
  14676.  
  14677. !p::
  14678. id := PlayerInput("Waffenbesitz: ")
  14679. FormatTime, Zeit, , HH:mm
  14680. SendChat("/su " id " Illegaler Waffenbesitz [" Zeit "]")
  14681. SendChat("/su " id " Illegaler Waffenbesitz [" Zeit "]")
  14682. if(id != "")
  14683. {
  14684. Sleep, 200
  14685. GetChatLine(0, chat)
  14686. GetPlayerName(Name)
  14687. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14688. {
  14689.  
  14690. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14691. IniRead, Waffenbesitz, Statistik.ini, Vergaben, Waffenbesitz
  14692. Wanted+=2
  14693. Waffenbesitz+=2
  14694. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14695. IniWrite, %Waffenbesitz%, Statistik.ini, Vergaben, Waffenbesitz
  14696. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14697. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Waffenbesitz Wanteds: {FFBF00}" . Waffenbesitz . "{FFFFFF}.")
  14698. }
  14699.  
  14700. }
  14701. return
  14702.  
  14703.  
  14704. !n::
  14705. id := PlayerInput("Notrufmissbrauch: ")
  14706. FormatTime, Zeit, , HH:mm
  14707. SendChat("/su " . ID . " Missbrauch des Notrufes [" Zeit "]")
  14708. SendChat("/su " . ID . " Behinderung der Justiz [" Zeit "]")
  14709. if(id != "")
  14710. {
  14711. Sleep, 200
  14712. GetChatLine(0, chat)
  14713. GetPlayerName(Name)
  14714. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14715. {
  14716.  
  14717. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14718. IniRead, Notrufabuse, Statistik.ini, Vergaben, Notrufabuse
  14719. IniRead, BDJ, Statistik.ini, Vergaben, BDJ
  14720. Wanted+=2
  14721. Notrufabuse+=1
  14722. BDJ+=1
  14723. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14724. IniWrite, %Notrufabuse%, Statistik.ini, Vergaben, Notrufabuse
  14725. IniWrite, %BDJ%, Statistik.ini, Vergaben, BDJ
  14726. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14727. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte BDJ Wanteds: {FFBF00}" . BDJ . "{FFFFFF}.")
  14728. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Notrufsmissbrauch Wanteds: {FFBF00}" . Notrufabuse . "{FFFFFF}.")
  14729. }
  14730. }
  14731. return
  14732.  
  14733. !z::
  14734. id := PlayerInput("Zollflucht: ")
  14735. FormatTime, Zeit, , HH:mm
  14736. SendChat("/su " id " Zollflucht [" Zeit "]")
  14737. SendChat("/su " id " Zollflucht [" Zeit "]")
  14738. if(id != "")
  14739. {
  14740. Sleep, 200
  14741. GetChatLine(0, chat)
  14742. GetPlayerName(Name)
  14743. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14744. {
  14745. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14746. IniRead, Zollflucht, Statistik.ini, Vergaben, Zollflucht
  14747. Wanted+=2
  14748. Zollflucht+=2
  14749. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14750. IniWrite, %Zollflucht%, Statistik.ini, Vergaben, Zollflucht
  14751. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14752. AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Zollflucht Wanteds: {FFBF00}" . Zollflucht . "{FFFFFF}.")
  14753. }
  14754. }
  14755. return
  14756.  
  14757.  
  14758. !b::
  14759. id := PlayerInput("Bestechung: ")
  14760. FormatTime, Zeit, , HH:mm
  14761. SendChat("/su " id " Bestechung / Bestechungsversuch eines Beamten [" Zeit "]")
  14762. SendChat("/su " id " Bestechung / Bestechungsversuch eines Beamten [" Zeit "]")
  14763. if(id != "")
  14764. {
  14765. Sleep, 200
  14766. GetChatLine(0, chat)
  14767. GetPlayerName(Name)
  14768. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  14769. {
  14770. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14771. IniRead, Bestechung, Statistik.ini, Vergaben, Bestechung
  14772. Wanted+=2
  14773. Bestechung+=2
  14774. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14775. IniWrite, %Bestechung%, Statistik.ini, Vergaben, Bestechung
  14776. AddChatMessage(0x00BFFF, "|CALIBINDER| {ACFA58}[Vergaben]{FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14777. AddChatMessage(0x00BFFF, "|CALIBINDER| {ACFA58}[Vergaben]{FFFFFF} Ausgestellte Bestechung Wanteds: {FFBF00}" . Bestechung . "{FFFFFF}.")
  14778. }
  14779. }
  14780. return
  14781.  
  14782. !g::
  14783. id := PlayerInput("Gefährdung: ")
  14784. FormatTime, Zeit, , HH:mm
  14785. SendChat("/su " id " Gefährdung des Straßenverkehrs [" Zeit "]")
  14786. if(id != "")
  14787. {
  14788. Sleep, 200
  14789. GetChatLine(0, chat)
  14790. GetPlayerName(Name)
  14791. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))0x00BFFF
  14792. {
  14793. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  14794. IniRead, Gefährdung, Statistik.ini, Vergaben, Gefährdung
  14795. Wanted+=1
  14796. Gefährdung+=1
  14797. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  14798. IniWrite, %Gefährdung%, Statistik.ini, Vergaben, Gefährdung
  14799. AddChatMessage(0x00BFFF, "|CALIBINDER| {ACFA58}[Vergaben]{FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
  14800. AddChatMessage(0x00BFFF, "|CALIBINDER| {ACFA58}[Vergaben]{FFFFFF} Ausgestellte Gefährdungs Wanteds: {FFBF00}" . Gefährdung . "{FFFFFF}.")
  14801. }
  14802. }
  14803. return
  14804.  
  14805. :?:/test1::
  14806. Suspend Permit
  14807. AddChatMessage(0xFFFF00, "|================| Gehalts-Check |================|")
  14808. AddChatMessage(0xFFFFFF, "Lohn: 93415$ Miete: -88$ Lohnsteuer: -13754$")
  14809. AddChatMessage(0xFFFFFF, "KFZ Steuer: -31$")
  14810. AddChatMessage(0x2EFE2E, "Steuerklasse: 4 (21 Prozent)")
  14811. AddChatMessage(0xFFFF00, "|=================||============||=================|")
  14812. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement