Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 417.33 KB | None | 0 0
  1. ; <COMPILER: v1.1.29.01>
  2. #IfWinActive, GTA:SA:MP
  3. #UseHook
  4. #Persistent
  5. #SingleInstance force
  6. #HotKeyInterval 1
  7. #MaxHotkeysPerInterval 2000
  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=0.0.1
  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. fischers = 1
  65. watermode = 0
  66. swatmode = 0
  67. bkon = 0
  68. hmOn = 0
  69. streife = 0
  70. Freigabe = 1
  71. pOn = 0
  72. Partner1 = -1
  73. Partner2 = -1
  74. Partner3 = -1
  75. Fahrer = -1
  76. arrest1 = -1
  77. arrest2 = -1
  78. arrest3 = -1
  79. arrest4 = -1
  80. arrest5 = -1
  81. PoliceID := "X"
  82. MAX_CODES := 29
  83. Binds := 52
  84. SetTimer, Antispamschutz, 1000
  85. SetTimer, Waffenschein, 1000
  86. SetTimer, Flugschein, 1000
  87. SetTimer, Paintball, 1000
  88. SetTimer, TankstelleZoll, 1000
  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. Sounds = %A_ScriptDir%\Sounds
  96. Pictures = %A_ScriptDir%\Pictures
  97. Hotkeys = %A_ScriptDir%\Hotkeys.ini
  98. IfNotExist, %A_ScriptDir%\Sounds
  99. {
  100. FileCreateDir, %A_ScriptDir%\Sounds
  101. }
  102. IfNotExist, %A_ScriptDir%\Pictures
  103. {
  104. FileCreateDir, %A_ScriptDir%\Pictures\
  105. }
  106. IfNotExist,%A_ScriptDir%\Sounds\Call.mp3
  107. {
  108. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/Call.mp3, Call.mp3
  109. FileMove, Call.mp3, %Sounds%\Call.mp3
  110. }
  111. IfNotExist, %A_ScriptDir%\Sounds\SMS.mp3
  112. {
  113. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/SMS.mp3, SMS.mp3
  114. FileMove, SMS.mp3, %Sounds%\SMS.mp3
  115. }
  116. IfNotExist, %A_ScriptDir%\Sounds\LowHP.mp3
  117. {
  118. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/LowHP.mp3, LowHP.mp3
  119. FileMove, LowHP.mp3, %Sounds%\LowHP.mp3
  120. }
  121. IfNotExist, %A_ScriptDir%\Sounds\BK.mp3
  122. {
  123. URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/BK.mp3, BK.mp3
  124. FileMove, BK.mp3, %Sounds%\BK.mp3
  125. }
  126. {
  127. URLDownloadToFile, http://img4.fotos-hochladen.net/uploads/fbilogom2c7gneha.png, FBILogo.png
  128. FileMove, FBIlogo.png, %A_ScriptDir%\Pictures\FBILogo.png
  129. }
  130. #NoEnv
  131. API_ERROR_NONE := 0
  132. API_ERROR_SNAPSHOT_FAILED := 1
  133. API_ERROR_SAMP_NOT_FOUND := 2
  134. API_ERROR_REMOTE_MEMORY_ALLOCATION_FAILED := 3
  135. API_ERROR_WRITEPROCESSMEMORY_FAILED := 4
  136. API_ERROR_GETPROCADDRESS_FAILED := 5
  137. API_ERROR_REMOTETHREAD_FAILED := 6
  138. API_ERROR_INVALID_GTA_HANDLE := 7
  139. API_ERROR_PIPE_DOESNT_RESPOND := 8
  140. API_ERROR_STRING_TOO_LONG := 9
  141. PLAYER_STATE_LEAVING_VEHICLE := 0
  142. PLAYER_STATE_NORMAL := 1
  143. PLAYER_STATE_DRIVING := 50
  144. PLAYER_STATE_DYING := 54
  145. PLAYER_STATE_DEAD := 55
  146. CALLBACK_HEAL := 0
  147. CALLBACK_ARMOR := 1
  148. CALLBACK_POSITION := 2
  149. CALLBACK_ENTEREXIT := 3
  150. CALLBACK_VEHICLE_ENTEREXIT := 4
  151. CALLBACK_VEHICLE_HEALTH := 5
  152. CALLBACK_VEHICLE_ENGINE := 6
  153. CALLBACK_VEHICLE_LOCK := 7
  154. CALLBACK_VEHICLE_SPEED := 8
  155. CALLBACK_WEAPON_CLIP := 9
  156. CALLBACK_WEAPON_TOTALCLIP := 10
  157. CALLBACK_WEAPON_SWITCH := 11
  158. CALLBACK_CHATLOG := 12
  159. PATH_API := RelToAbs(A_ScriptDir, "API.dll")
  160. hModule := DllCall("LoadLibrary", Str, PATH_API)
  161. if(hModule == -1 || hModule == 0)
  162. {
  163. }
  164. ReadMemory_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ReadMemory")
  165. WriteMemory_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_WriteMemory")
  166. GetBasePointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetBasePointer")
  167. GetCommandLine_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCommandLine")
  168. GetLastError_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastError")
  169. SetLastError_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetLastError")
  170. SendChat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SendChat")
  171. ShowGameText_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowGameText")
  172. AddChatMessage_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_AddChatMessage")
  173. ShowDialog_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowDialog")
  174. IsDialogOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsDialogOpen")
  175. GetLastDialogId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastDialogId")
  176. GetLastDialogType_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastDialogType")
  177. BlockChatInput_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BlockChatInput")
  178. GetChatLine_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLine")
  179. GetChatLineFromFile_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLineFromFile")
  180. IsChatOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsChatOpen")
  181. GetScreenSizeX_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeX")
  182. GetScreenSizeY_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeY")
  183. GetCurrentWeatherId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeatherId")
  184. GetZoneName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneName")
  185. GetCityName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityName")
  186. GetZoneNameByCoords_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneNameByCoords")
  187. GetCityNameByCoords_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityNameByCoords")
  188. GetMarkerPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetMarkerPos")
  189. GetLastMousePosOnMenuMap_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastMousePosOnMenuMap")
  190. GetMapMarkerPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetMapMarkerPos")
  191. FindGroundZForPosition_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_FindGroundZForPosition")
  192. WorldToScreen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_WorldToScreen")
  193. ScreenToWorld_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ScreenToWorld")
  194. RegisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_RegisterTextBind")
  195. UnregisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterTextBind")
  196. UnregisterAllTextBinds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterAllTextBinds")
  197. TextBindTimer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextBindTimer")
  198. IsMenuOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsMenuOpen")
  199. GetPlayerId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerId")
  200. GetPlayerName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerName")
  201. GetServerIp_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerIp")
  202. GetServerPort_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerPort")
  203. GetPlayerCPed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerCPed")
  204. GetPlayerHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerHealth")
  205. GetPlayerArmor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerArmor")
  206. GetPlayerMoney_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerMoney")
  207. GetPlayerWanteds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWanteds")
  208. GetPlayerPosition_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPosition")
  209. IsPlayerInRangeOfPoint_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint")
  210. IsPlayerInRangeOfPoint2D_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint2D")
  211. IsPlayerInAnyInterior_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyInterior")
  212. IsPlayerFrozen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerFrozen")
  213. GetPlayerWeaponSlot_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponSlot")
  214. GetPlayerWeaponId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponId")
  215. GetPlayerWeaponName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponName")
  216. GetPlayerWeaponClip_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponClip")
  217. GetPlayerWeaponTotalClip_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponTotalClip")
  218. GetPlayerWeaponState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponState")
  219. GetPlayerState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerState")
  220. GetVehicleId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleId")
  221. GetVehiclePointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehiclePointer")
  222. GetVehicleModelId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelId")
  223. GetVehicleModelName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelName")
  224. GetVehicleModelNameById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelNameById")
  225. GetVehicleType_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleType")
  226. GetVehicleHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHealth")
  227. GetVehicleRadioStation_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleRadioStation")
  228. GetVehicleRadioStationName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleRadioStationName")
  229. GetVehicleFreeSeats_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFreeSeats")
  230. GetVehicleSpeed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSpeed")
  231. GetVehicleFirstColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFirstColor")
  232. GetVehicleSecondColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSecondColor")
  233. GetVehicleColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColor")
  234. GetVehicleColorRGB_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColorRGB")
  235. GetVehicleColorARGB_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColorARGB")
  236. IsPlayerInAnyVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyVehicle")
  237. IsPlayerDriver_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerDriver")
  238. IsPlayerPassenger_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerPassenger")
  239. IsVehicleSeatUsed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleSeatUsed")
  240. IsVehicleLocked_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleLocked")
  241. IsVehicleSirenEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleSirenEnabled")
  242. IsVehicleHornEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleHornEnabled")
  243. IsVehicleAlternateSirenEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleAlternateSirenEnabled")
  244. IsVehicleEngineEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleEngineEnabled")
  245. IsVehicleLightEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleLightEnabled")
  246. IsPlayerInCar_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInCar")
  247. IsPlayerInPlane_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInPlane")
  248. IsPlayerInBoat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInBoat")
  249. IsPlayerInTrain_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInTrain")
  250. IsPlayerInBike_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInBike")
  251. SetCallbackPointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetCallbackPointer")
  252. UnSetCallbackPointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetCallbackPointer")
  253. SetListenCallback_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetListenCallback")
  254. UnSetListenCallback_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetListenCallback")
  255. UnSetListenCallbackAll_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetListenCallbackAll")
  256. UpdateServerData_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UpdateServerData")
  257. GetPlayerNameById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerNameById")
  258. GetPlayerIdByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerIdByName")
  259. ReadMemory(addr, size, ByRef data)
  260. {
  261. global ReadMemory_func
  262. VarSetCapacity(data,size)
  263. res := DllCall(ReadMemory_func, UInt, addr, UInt, size, StrP, data)
  264. return res
  265. }
  266. WriteMemory(addr, size, data)
  267. {
  268. global WriteMemory_func
  269. res := DllCall(WriteMemory_func, UInt, addr, UInt, size, Str, data)
  270. return res
  271. }
  272. GetBasePointer(dll)
  273. {
  274. global GetBasePointer_func
  275. res :=DllCall(GetBasePointer_func, Str, dll)
  276. return res
  277. }
  278. GetCommandLine(ByRef line)
  279. {
  280. global GetCommandLine_func
  281. VarSetCapacity(line,512,0)
  282. res := DllCall(GetCommandLine_func, StrP, line)
  283. return res
  284. }
  285. GetLastError()
  286. {
  287. global GetLastError_func
  288. res:=DllCall(GetLastError_func)
  289. return res
  290. }
  291. SetLastError(error)
  292. {
  293. global SetLastError_func
  294. res := DllCall(SetLastError_func, Int, error)
  295. return res
  296. }
  297. SendChat(msg)
  298. {
  299. global SendChat_func
  300. res := DllCall(SendChat_func, Str, msg)
  301. return res
  302. }
  303. ShowGameText(str_Text, int_Time, int_Style)
  304. {
  305. global ShowGameText_func
  306. res := DllCall(ShowGameText_func,Str , str_Text, Int, int_Time, Int, int_Style)
  307. return res
  308. }
  309. AddChatMessage(int_Color, str_Text)
  310. {
  311. global AddChatMessage_func
  312. res := DllCall(AddChatMessage_func, Int, int_Color, Str, str_Text)
  313. return res
  314. }
  315. ShowDialog(style, caption, text, button)
  316. {
  317. global ShowDialog_func
  318. res := DllCall(ShowDialog_func, Int, style, Str, caption, Str, text, Str, button)
  319. return res
  320. }
  321. IsDialogOpen()
  322. {
  323. global IsDialogOpen_func
  324. res := DllCall(IsDialogOpen_func)
  325. return res
  326. }
  327. GetLastDialogId()
  328. {
  329. global GetLastDialogId_func
  330. res := DllCall(GetLastDialogId_func)
  331. return res
  332. }
  333. GetLastDialogType()
  334. {
  335. global GetLastDialogType_func
  336. res := DllCall(GetLastDialogType_func)
  337. return res
  338. }
  339. BlockChatInput(block)
  340. {
  341. global BlockChatInput_func
  342. res := DllCall(BlockChatInput_func,UChar,block)
  343. return res
  344. }
  345. GetChatLine(id, ByRef line)
  346. {
  347. global GetChatLine_func
  348. VarSetCapacity(line,256,0)
  349. res := DllCall(GetChatLine_func,Int,id,StrP,line)
  350. return res
  351. }
  352. GetChatLineFromFile(id, ByRef line)
  353. {
  354. global GetChatLineFromFile_func
  355. VarSetCapacity(line,256,0)
  356. res := DllCall(GetChatLineFromFile_func,Int,id,StrP,line)
  357. return res
  358. }
  359. IsChatOpen()
  360. {
  361. global IsChatOpen_func
  362. res := DllCall(IsChatOpen_func)
  363. return res
  364. }
  365. GetScreenSizeX()
  366. {
  367. global GetScreenSizeX_func
  368. res := DllCall(GetScreenSizeX_func)
  369. return res
  370. }
  371. GetScreenSizeY()
  372. {
  373. global GetScreenSizeY_func
  374. res := DllCall(GetScreenSizeY_func)
  375. return res
  376. }
  377. GetCurrentWeatherId()
  378. {
  379. global GetCurrentWeatherId_func
  380. res := DllCall(GetCurrentWeatherId_func)
  381. return res
  382. }
  383. GetZoneName( ByRef str_ZoneName)
  384. {
  385. global GetZoneName_func
  386. VarSetCapacity(str_ZoneName, 32)
  387. res := DllCall(GetZoneName_func, StrP, str_ZoneName)
  388. return res
  389. }
  390. GetCityName( ByRef str_CityName)
  391. {
  392. global GetCityName_func
  393. VarSetCapacity(str_CityName, 32)
  394. res := DllCall(GetCityName_func, StrP, str_CityName)
  395. return res
  396. }
  397. GetZoneNameByCoords(x, y, ByRef str_ZoneName)
  398. {
  399. global GetZoneNameByCoords_func
  400. VarSetCapacity(str_ZoneName, 32)
  401. res := DllCall(GetZoneNameByCoords_func, Float, x, Float, y, StrP, str_ZoneName)
  402. return res
  403. }
  404. GetCityNameByCoords(x, y, ByRef str_CityName)
  405. {
  406. global GetCityNameByCoords_func
  407. VarSetCapacity(str_CityName, 32)
  408. res := DllCall(GetCityNameByCoords_func, Float, x, Float, y, StrP, str_CityName)
  409. return res
  410. }
  411. GetMarkerPos(ByRef x, ByRef y, ByRef z)
  412. {
  413. global GetMarkerPos_func
  414. res := DllCall(GetMarkerPos_func, FloatP, x, FloatP, y, FloatP, z)
  415. return res
  416. }
  417. GetLastMousePosOnMenuMap(ByRef x, ByRef y)
  418. {
  419. global GetLastMousePosOnMenuMap_func
  420. res := DllCall(GetLastMousePosOnMenuMap_func, FloatP, x, FloatP, y)
  421. return res
  422. }
  423. GetMapMarkerPos(ByRef x, ByRef y)
  424. {
  425. global GetMapMarkerPos_func
  426. res := DllCall(GetMapMarkerPos_func, FloatP, x, FloatP, y)
  427. return res
  428. }
  429. FindGroundZForPosition(x,y)
  430. {
  431. global FindGroundZForPosition_func
  432. res := DllCall(FindGroundZForPosition_func, Float, x, Float, y, "Cdecl float")
  433. return res
  434. }
  435. WorldToScreen(worldX, worldY, worldZ, ByRef screenX, ByRef screenY)
  436. {
  437. global WorldToScreen_func
  438. res := DllCall(WorldToScreen_func, Float, worldX, Float, worldY, Float, worldZ, FloatP, screenX, FloatP, screenY)
  439. return res
  440. }
  441. ScreenToWorld(screenX, screenY, ByRef worldX, ByRef worldY, ByRef worldZ)
  442. {
  443. global ScreenToWorld_func
  444. res := DllCall(ScreenToWorld_func, Float, screenX, Float, screenY, FloatP, worldX, FloatP, worldY, FloatP, worldZ)
  445. return res
  446. }
  447. RegisterTextBind(str_TextBind, float_PosX, float_PosY, float_PosZ, float_Radius, int_Delay, int_Loop, int_GroupId, int_isChild, int_Timeout)
  448. {
  449. global RegisterTextBind_func
  450. 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)
  451. return res
  452. }
  453. UnregisterTextBind(int_TextBindId)
  454. {
  455. global UnregisterTextBind_func
  456. res := DllCall(UnregisterTextBind_func, Int, int_TextBindId)
  457. return res
  458. }
  459. UnregisterAllTextBinds()
  460. {
  461. global UnregisterAllTextBinds_func
  462. res := DllCall(UnregisterAllTextBinds_func)
  463. return res
  464. }
  465. TextBindTimer(int_TextBindSleep)
  466. {
  467. global TextBindTimer_func
  468. res := DllCall(TextBindTimer_func, Int, int_TextBindSleep)
  469. return res
  470. }
  471. IsMenuOpen()
  472. {
  473. global IsMenuOpen_func
  474. res := DllCall(IsMenuOpen_func)
  475. return res
  476. }
  477. GetPlayerId()
  478. {
  479. global GetPlayerId_func
  480. res := DllCall(GetPlayerId_func)
  481. return res
  482. }
  483. GetPlayerName(ByRef szName)
  484. {
  485. global GetPlayerName_func
  486. VarSetCapacity(szName,25)
  487. res := DllCall(GetPlayerName_func, StrP, szName)
  488. return res
  489. }
  490. GetServerIp(ByRef szHost)
  491. {
  492. global GetServerIp_func
  493. VarSetCapacity(szHost, 30)
  494. res := DllCall(GetServerIp_func, StrP, szHost)
  495. return res
  496. }
  497. GetServerPort()
  498. {
  499. global GetServerPort_func
  500. res := DllCall(GetServerPort_func)
  501. return res
  502. }
  503. GetPlayerCPed()
  504. {
  505. global GetPlayerCPed_func
  506. res :=DllCall(GetPlayerCPed_func)
  507. return res
  508. }
  509. GetPlayerHealth()
  510. {
  511. global GetPlayerHealth_func
  512. res := DllCall(GetPlayerHealth_func)
  513. return res
  514. }
  515. GetPlayerArmor()
  516. {
  517. global GetPlayerArmor_func
  518. res := DllCall(GetPlayerArmor_func)
  519. return res
  520. }
  521. GetPlayerMoney()
  522. {
  523. global GetPlayerMoney_func
  524. res := DllCall(GetPlayerMoney_func)
  525. return res
  526. }
  527. GetPlayerWanteds()
  528. {
  529. global GetPlayerWanteds_func
  530. res := DllCall(GetPlayerWanteds_func)
  531. return res
  532. }
  533. GetPlayerPosition(ByRef flo_posX, ByRef flo_posY, ByRef flo_posZ, ByRef flo_Rotation)
  534. {
  535. global GetPlayerPosition_func
  536. res := DllCall(GetPlayerPosition_func, FloatP, flo_posX, FloatP, flo_posY, FloatP, flo_posZ, FloatP, flo_Rotation)
  537. return res
  538. }
  539. IsPlayerInRangeOfPoint(flo_posX, flo_posY, flo_posZ, flo_posRadius)
  540. {
  541. global IsPlayerInRangeOfPoint_func
  542. res := DllCall(IsPlayerInRangeOfPoint_func, Float, flo_posX, Float, flo_posY, Float, flo_posZ, Float, flo_posRadius)
  543. return res
  544. }
  545. IsPlayerInRangeOfPoint2D(flo_posX, flo_posY, flo_posRadius)
  546. {
  547. global IsPlayerInRangeOfPoint2D_func
  548. res := DllCall(IsPlayerInRangeOfPoint2D_func, Float, flo_posX, Float, flo_posY, Float, flo_posRadius)
  549. return res
  550. }
  551. IsPlayerInAnyInterior()
  552. {
  553. global IsPlayerInAnyInterior_func
  554. res := DllCall(IsPlayerInAnyInterior_func)
  555. return res
  556. }
  557. IsPlayerFrozen()
  558. {
  559. global IsPlayerFrozen_func
  560. res := DllCall(IsPlayerFrozen_func)
  561. return res
  562. }
  563. GetPlayerWeaponSlot()
  564. {
  565. global GetPlayerWeaponSlot_func
  566. res := DllCall(GetPlayerWeaponSlot_func)
  567. return res
  568. }
  569. GetPlayerWeaponId(int_WeaponSlot)
  570. {
  571. global GetPlayerWeaponId_func
  572. res := DllCall(GetPlayerWeaponId_func, Int, int_WeaponSlot)
  573. return res
  574. }
  575. GetPlayerWeaponName(int_WeaponSlot, ByRef str_WeapName)
  576. {
  577. global GetPlayerWeaponName_func
  578. VarSetCapacity(str_WeapName, 32)
  579. res := DllCall(GetPlayerWeaponName_func, Int, int_WeaponSlot, StrP, str_WeapName)
  580. return res
  581. }
  582. GetPlayerWeaponClip(int_WeaponSlot)
  583. {
  584. global GetPlayerWeaponClip_func
  585. res := DllCall(GetPlayerWeaponClip_func, Int, int_WeaponSlot)
  586. return res
  587. }
  588. GetPlayerWeaponTotalClip(int_WeaponSlot)
  589. {
  590. global GetPlayerWeaponTotalClip_func
  591. res := DllCall(GetPlayerWeaponTotalClip_func, Int, int_WeaponSlot)
  592. return res
  593. }
  594. GetPlayerWeaponState()
  595. {
  596. global GetPlayerWeaponState_func
  597. res := DllCall(GetPlayerWeaponState_func)
  598. return res
  599. }
  600. GetPlayerState()
  601. {
  602. global GetPlayerState_func
  603. res := DllCall(GetPlayerState_func)
  604. return res
  605. }
  606. GetVehicleId()
  607. {
  608. global GetVehicleId_func
  609. Result := DllCall(GetVehicleId_func)
  610. return Result
  611. }
  612. GetVehiclePointer()
  613. {
  614. global GetVehiclePointer_func
  615. res := DllCall(GetVehiclePointer_func)
  616. return res
  617. }
  618. GetVehicleModelId()
  619. {
  620. global GetVehicleModelId_func
  621. res := DllCall(GetVehicleModelId_func)
  622. return res
  623. }
  624. GetVehicleModelName(ByRef str_VehicleName)
  625. {
  626. global GetVehicleModelName_func
  627. VarSetCapacity(str_VehicleName, 32)
  628. res := DllCall(GetVehicleModelName_func, StrP, str_VehicleName)
  629. return res
  630. }
  631. GetVehicleModelNameById(int_VehicleId, ByRef str_VehicleName)
  632. {
  633. global GetVehicleModelNameById_func
  634. VarSetCapacity(str_VehicleName, 32)
  635. res := DllCall(GetVehicleModelNameById_func, Int, int_VehicleId, StrP, str_VehicleName)
  636. return res
  637. }
  638. GetVehicleType()
  639. {
  640. global GetVehicleType_func
  641. res := DllCall(GetVehicleType_func)
  642. return res
  643. }
  644. GetVehicleHealth()
  645. {
  646. global GetVehicleHealth_func
  647. res := DllCall(GetVehicleHealth_func)
  648. return res
  649. }
  650. GetVehicleRadioStation()
  651. {
  652. global GetVehicleRadioStation_func
  653. res := DllCall(GetVehicleRadioStation_func)
  654. return res
  655. }
  656. GetVehicleRadioStationName(ByRef str_RadioName)
  657. {
  658. global GetVehicleRadioStationName_func
  659. VarSetCapacity(str_RadioName, 32)
  660. res := DllCall(GetVehicleRadioStationName_func, StrP, str_RadioName)
  661. return res
  662. }
  663. GetVehicleFreeSeats(ByRef int_SeatFL, ByRef int_SeatFR, ByRef int_SeatBL, ByRef int_SeatBR)
  664. {
  665. global GetVehicleFreeSeats_func
  666. res := DllCall(GetVehicleFreeSeats_func, IntP, int_SeatFL, IntP, int_SeatFR, IntP, int_SeatBL, IntP, int_SeatBR)
  667. return res
  668. }
  669. GetVehicleSpeed(float_SpeedMult)
  670. {
  671. global GetVehicleSpeed_func
  672. res := DllCall(GetVehicleSpeed_func, Float, float_SpeedMult)
  673. return res
  674. }
  675. GetVehicleFirstColor()
  676. {
  677. global GetVehicleFirstColor_func
  678. res := DllCall(GetVehicleFirstColor_func)
  679. return res
  680. }
  681. GetVehicleSecondColor()
  682. {
  683. global GetVehicleSecondColor_func
  684. res := DllCall(GetVehicleSecondColor_func)
  685. return res
  686. }
  687. GetVehicleColor(ByRef int_ColorFirst, ByRef int_ColorSecond)
  688. {
  689. global GetVehicleColor_func
  690. res := DllCall(GetVehicleColor_func, IntP, int_ColorFirst, IntP, int_ColorSecond)
  691. return res
  692. }
  693. GetVehicleColorRGB(int_Color, ByRef uint_ColorRGB)
  694. {
  695. global GetVehicleColorRGB_func
  696. res := DllCall(GetVehicleColorRGB_func, Int, int_Color, UIntP, uint_ColorRGB)
  697. return res
  698. }
  699. GetVehicleColorARGB(int_Color, ByRef uint_ColorARGB)
  700. {
  701. global GetVehicleColorARGB_func
  702. res := DllCall(GetVehicleColorARGB_func, Int, int_Color, UIntP, uint_ColorARGB)
  703. return res
  704. }
  705. IsPlayerInAnyVehicle()
  706. {
  707. global IsPlayerInAnyVehicle_func
  708. res := DllCall(IsPlayerInAnyVehicle_func)
  709. return res
  710. }
  711. IsPlayerDriver()
  712. {
  713. global IsPlayerDriver_func
  714. res := DllCall(IsPlayerDriver_func)
  715. return res
  716. }
  717. IsPlayerPassenger()
  718. {
  719. global IsPlayerPassenger_func
  720. res := DllCall(IsPlayerPassenger_func)
  721. return res
  722. }
  723. IsVehicleSeatUsed(int_SeatId)
  724. {
  725. global IsVehicleSeatUsed_func
  726. res := DllCall(IsVehicleSeatUsed_func, int, int_SeatId)
  727. return res
  728. }
  729. IsVehicleLocked()
  730. {
  731. global IsVehicleLocked_func
  732. res := DllCall(IsVehicleLocked_func)
  733. return res
  734. }
  735. IsVehicleSirenEnabled()
  736. {
  737. global IsVehicleSirenEnabled_func
  738. res := DllCall(IsVehicleSirenEnabled_func)
  739. return res
  740. }
  741. IsVehicleHornEnabled()
  742. {
  743. global IsVehicleHornEnabled_func
  744. res := DllCall(IsVehicleHornEnabled_func)
  745. return res
  746. }
  747. IsVehicleAlternateSirenEnabled()
  748. {
  749. global IsVehicleAlternateSirenEnabled_func
  750. res := DllCall(IsVehicleAlternateSirenEnabled_func)
  751. return res
  752. }
  753. IsVehicleEngineEnabled()
  754. {
  755. global IsVehicleEngineEnabled_func
  756. res := DllCall(IsVehicleEngineEnabled_func)
  757. return res
  758. }
  759. IsVehicleLightEnabled()
  760. {
  761. global IsVehicleLightEnabled_func
  762. res := DllCall(IsVehicleLightEnabled_func)
  763. return res
  764. }
  765. IsPlayerInCar()
  766. {
  767. global IsPlayerInCar_func
  768. res := DllCall(IsPlayerInCar_func)
  769. return res
  770. }
  771. IsPlayerInPlane()
  772. {
  773. global IsPlayerInPlane_func
  774. res := DllCall(IsPlayerInPlane_func)
  775. return res
  776. }
  777. IsPlayerInBoat()
  778. {
  779. global IsPlayerInBoat_func
  780. res := DllCall(IsPlayerInBoat_func)
  781. return res
  782. }
  783. IsPlayerInTrain()
  784. {
  785. global IsPlayerInTrain_func
  786. res := DllCall(IsPlayerInTrain_func)
  787. return res
  788. }
  789. IsPlayerInBike()
  790. {
  791. global IsPlayerInBike_func
  792. res := DllCall(IsPlayerInBike_func)
  793. return res
  794. }
  795. SetListenCallback(int_Id)
  796. {
  797. global SetListenCallback_func
  798. res := DllCall(SetListenCallback_func, Int, int_Id)
  799. return res
  800. }
  801. UnSetCallbackPointer()
  802. {
  803. global UnSetCallbackPointer_func
  804. res := DllCall(UnSetCallbackPointer_func)
  805. return res
  806. }
  807. SetCallbackPointer(int_Id)
  808. {
  809. global SetCallbackPointer_func
  810. res := DllCall(SetCallbackPointer_func, Int, int_Id)
  811. return res
  812. }
  813. UnSetListenCallback(int_Id)
  814. {
  815. global UnSetListenCallback_func
  816. res := DllCall(UnSetListenCallback_func, Int, int_Id)
  817. return res
  818. }
  819. UnSetListenCallbackAll()
  820. {
  821. global UnSetListenCallbackAll_func
  822. res := DllCall(UnSetListenCallbackAll_func)
  823. return res
  824. }
  825. GetCallbackHealParams(ptr_HealStruct, ByRef iOldHeal, ByRef iNewHeal)
  826. {
  827. ioldHeal := NumGet(ptr_HealStruct+0, "int")
  828. inewHeal := NumGet(ptr_HealStruct+4, "int")
  829. }
  830. GetCallbackArmorParams(ptr_ArmorStruct, ByRef iOldArmor, ByRef iNewArmor)
  831. {
  832. ioldArmor := NumGet(ptr_ArmorStruct+0, "int")
  833. inewArmor := NumGet(ptr_ArmorStruct+4, "int")
  834. }
  835. GetCallbackPositionParams(ptr_PositionStruct, ByRef fOldPosX, ByRef fOldPosY, ByRef fOldPosZ, ByRef fOldPosR, ByRef fNewPosX, ByRef fNewPosY, ByRef fNewPosZ, ByRef fNewPosR)
  836. {
  837. fOldPosX := NumGet(ptr_PositionStruct+0, "float")
  838. fOldPosY := NumGet(ptr_PositionStruct+4, "float")
  839. fOldPosZ := NumGet(ptr_PositionStruct+8, "float")
  840. fOldPosR := NumGet(ptr_PositionStruct+12, "float")
  841. fNewPosX := NumGet(ptr_PositionStruct+16, "float")
  842. fNewPosY := NumGet(ptr_PositionStruct+20, "float")
  843. fNewPosZ := NumGet(ptr_PositionStruct+24, "float")
  844. fNewPosR := NumGet(ptr_PositionStruct+28, "float")
  845. }
  846. GetCallbackEnterExitParams(ptr_EnterExitStruct, ByRef iOldInteriorState, ByRef iNewInteriorState)
  847. {
  848. iOldInteriorState := NumGet(ptr_EnterExitStruct+0, "int")
  849. iNewInteriorState := NumGet(ptr_EnterExitStruct+4, "int")
  850. }
  851. GetCallbackVehicleEnterExitParams(ptr_VehicleEnterExitStruct, ByRef iOldVehicleEnterExit, ByRef iNewVehicleEnterExit)
  852. {
  853. iOldVehicleEnterExit := NumGet(ptr_VehicleEnterExitStruct+0, "int")
  854. iNewVehicleEnterExit := NumGet(ptr_VehicleEnterExitStruct+4, "int")
  855. }
  856. GetCallbackVehicleHealthParams(ptr_VehicleHealthStruct, ByRef iOldVehicleHealth, ByRef iNewVehicleHealth)
  857. {
  858. iOldVehicleHealth := NumGet(ptr_VehicleHealthStruct+0, "int")
  859. iNewVehicleHealth := NumGet(ptr_VehicleHealthStruct+4, "int")
  860. }
  861. GetCallbackVehicleEngineParams(ptr_VehicleEngineStruct, ByRef iOldVehicleEngine, ByRef iNewVehicleEngine)
  862. {
  863. iOldVehicleEngine := NumGet(ptr_VehicleEngineStruct+0, "int")
  864. iNewVehicleEngine := NumGet(ptr_VehicleEngineStruct+4, "int")
  865. }
  866. GetCallbackVehicleLockParams(ptr_VehicleLockStruct, ByRef iOldVehicleLock, ByRef iNewVehicleLock)
  867. {
  868. iOldVehicleLock := NumGet(ptr_VehicleLockStruct+0, "int")
  869. iNewVehicleLock := NumGet(ptr_VehicleLockStruct+4, "int")
  870. }
  871. GetCallbackVehicleSpeedParams(ptr_VehicleSpeedStruct, ByRef iOldVehicleSpeed, ByRef iNewVehicleSpeed)
  872. {
  873. iOldVehicleSpeed := NumGet(ptr_VehicleSpeedStruct+0, "int")
  874. iNewVehicleSpeed := NumGet(ptr_VehicleSpeedStruct+4, "int")
  875. }
  876. GetCallbackWeaponSwitchParams(ptr_WeaponSwitchStruct, ByRef iOldWeaponId, ByRef iNewWeaponId)
  877. {
  878. iOldWeaponId := NumGet(ptr_WeaponSwitchStruct+0, "int")
  879. iNewWeaponId := NumGet(ptr_WeaponSwitchStruct+4, "int")
  880. }
  881. GetCallbackWeaponClipParams(ptr_WeaponClipStruct, ByRef iOldWeaponClip, ByRef iNewWeaponClip)
  882. {
  883. iOldWeaponClip := NumGet(ptr_WeaponClipStruct+0, "int")
  884. iNewWeaponClip := NumGet(ptr_WeaponClipStruct+4, "int")
  885. }
  886. GetCallbackWeaponTotalClipParams(ptr_WeaponTotalClipStruct, ByRef iOldWeaponTotalClip, ByRef iNewWeaponTotalClip)
  887. {
  888. iOldWeaponTotalClip := NumGet(ptr_WeaponTotalClipStruct+0, "int")
  889. iNewWeaponTotalClip := NumGet(ptr_WeaponTotalClipStruct+4, "int")
  890. }
  891. UpdateServerData()
  892. {
  893. global UpdateServerData_func
  894. res := DllCall(UpdateServerData_func)
  895. return res
  896. }
  897. GetPlayerNameById(id,ByRef name)
  898. {
  899. VarSetCapacity(name,24,0)
  900. global GetPlayerNameById_func
  901. res := DllCall(GetPlayerNameById_func,UShort,id,StrP,name)
  902. return res
  903. }
  904. GetPlayerIdByName(name)
  905. {
  906. global GetPlayerIdByName_func
  907. res := DllCall(GetPlayerIdByName_func,Str,name)
  908. return res
  909. }
  910. DecimalToHex(Var){
  911. SetFormat, IntegerFast, hex
  912. Dec2Hex += Var
  913. Dec2Hex .= ""
  914. SetFormat, IntegerFast, d
  915. StringTrimLeft, Dec2Hex, Dec2Hex, 2
  916. StringUpper, Dec2Hex, Dec2Hex
  917. sDec2Hex .= Dec2Hex
  918. return sDec2Hex
  919. }
  920. RelToAbs(root, dir, s = "\") {
  921. pr := SubStr(root, 1, len := InStr(root, s, "", InStr(root, s . s) + 2) - 1)
  922. , root := SubStr(root, len + 1), sk := 0
  923. If InStr(root, s, "", 0) = StrLen(root)
  924. StringTrimRight, root, root, 1
  925. If InStr(dir, s, "", 0) = StrLen(dir)
  926. StringTrimRight, dir, dir, 1
  927. Loop, Parse, dir, %s%
  928. {
  929. If A_LoopField = ..
  930. StringLeft, root, root, InStr(root, s, "", 0) - 1
  931. Else If A_LoopField =
  932. root =
  933. Else If A_LoopField != .
  934. Continue
  935. StringReplace, dir, dir, %A_LoopField%%s%
  936. }
  937. Return, pr . root . s . dir
  938. }
  939. TextSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetShown")
  940. TextSetColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetColor")
  941. TextSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetPos")
  942. TextSetString_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetString")
  943. TextUpdate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextUpdate")
  944. BoxCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxCreate")
  945. BoxDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxDestroy")
  946. BoxSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetShown")
  947. BoxSetBorder_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetBorder")
  948. BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetBorderColor")
  949. BoxSetColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetColor")
  950. BoxSetHeight_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetHeight")
  951. BoxSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetPos")
  952. BoxSetWidth_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetWidth")
  953. LineCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineCreate")
  954. LineDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineDestroy")
  955. LineSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetShown")
  956. LineSetColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetColor")
  957. LineSetWidth_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetWidth")
  958. LineSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetPos")
  959. ImageCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageCreate")
  960. ImageDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageDestroy")
  961. ImageSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetShown")
  962. ImageSetAlign_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetAlign")
  963. ImageSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetPos")
  964. ImageSetRotation_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetRotation")
  965. DestroyAllVisual_func := DllCall("GetProcAddress", UInt, h2Module, Str, "DestroyAllVisual")
  966. ShowAllVisual_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ShowAllVisual")
  967. HideAllVisual_func := DllCall("GetProcAddress", UInt, h2Module, Str, "HideAllVisual")
  968. GetFrameRate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "GetFrameRate")
  969. GetScreenSpecs_func := DllCall("GetProcAddress", UInt, h2Module, Str, "GetScreenSpecs")
  970. Init()
  971. {
  972. global Init_func
  973. res := DllCall(Init_func)
  974. return res
  975. }
  976. SetParam(str_Name, str_Value)
  977. {
  978. global SetParam_func
  979. res := DllCall(SetParam_func, Str, str_Name, Str, str_Value)
  980. return res
  981. }
  982. TextCreate(Font, fontsize, bold, italic, x, y, color, text, shadow, show)
  983. {
  984. global TextCreate_func
  985. res := DllCall(TextCreate_func,Str,Font,Int,fontsize,UChar,bold,UChar,italic,Int,x,Int,y,UInt,color,Str,text,UChar,shadow,UChar,show)
  986. return res
  987. }
  988. TextDestroy(id)
  989. {
  990. global TextDestroy_func
  991. res := DllCall(TextDestroy_func,Int,id)
  992. return res
  993. }
  994. TextSetShadow(id, shadow)
  995. {
  996. global TextSetShadow_func
  997. res := DllCall(TextSetShadow_func,Int,id,UChar,shadow)
  998. return res
  999. }
  1000. TextSetShown(id, show)
  1001. {
  1002. global TextSetShown_func
  1003. res := DllCall(TextSetShown_func,Int,id,UChar,show)
  1004. return res
  1005. }
  1006. TextSetColor(id,color)
  1007. {
  1008. global TextSetColor_func
  1009. res := DllCall(TextSetColor_func,Int,id,UInt,color)
  1010. return res
  1011. }
  1012. TextSetPos(id,x,y)
  1013. {
  1014. global TextSetPos_func
  1015. res := DllCall(TextSetPos_func,Int,id,Int,x,Int,y)
  1016. return res
  1017. }
  1018. TextSetString(id,Text)
  1019. {
  1020. global TextSetString_func
  1021. res := DllCall(TextSetString_func,Int,id,Str,Text)
  1022. return res
  1023. }
  1024. TextUpdate(id,Font,Fontsize,bold,italic)
  1025. {
  1026. global TextUpdate_func
  1027. res := DllCall(TextUpdate_func,Int,id,Str,Font,int,Fontsize,UChar,bold,UChar,italic)
  1028. return res
  1029. }
  1030. BoxCreate(x,y,width,height,Color,show)
  1031. {
  1032. global BoxCreate_func
  1033. res := DllCall(BoxCreate_func,Int,x,Int,y,Int,width,Int,height,UInt,Color,UChar,show)
  1034. return res
  1035. }
  1036. BoxDestroy(id)
  1037. {
  1038. global BoxDestroy_func
  1039. res := DllCall(BoxDestroy_func,Int,id)
  1040. return res
  1041. }
  1042. BoxSetShown(id,Show)
  1043. {
  1044. global BoxSetShown_func
  1045. res := DllCall(BoxSetShown_func,Int,id,UChar,Show)
  1046. return res
  1047. }
  1048. BoxSetBorder(id,height,Show)
  1049. {
  1050. global BoxSetBorder_func
  1051. res := DllCall(BoxSetBorder_func,Int,id,Int,height,Int,Show)
  1052. return res
  1053. }
  1054. BoxSetBorderColor(id,Color)
  1055. {
  1056. global BoxSetBorderColor_func
  1057. res := DllCall(BoxSetBorderColor_func,Int,id,UInt,Color)
  1058. return res
  1059. }
  1060. BoxSetColor(id,Color)
  1061. {
  1062. global BoxSetColor_func
  1063. res := DllCall(BoxSetColor_func,Int,id,UInt,Color)
  1064. return res
  1065. }
  1066. BoxSetHeight(id,height)
  1067. {
  1068. global BoxSetHeight_func
  1069. res := DllCall(BoxSetHeight_func,Int,id,Int,height)
  1070. return res
  1071. }
  1072. BoxSetPos(id,x,y)
  1073. {
  1074. global BoxSetPos_func
  1075. res := DllCall(BoxSetPos_func,Int,id,Int,x,Int,y)
  1076. return res
  1077. }
  1078. BoxSetWidth(id,width)
  1079. {
  1080. global BoxSetWidth_func
  1081. res := DllCall(BoxSetWidth_func,Int,id,Int,width)
  1082. return res
  1083. }
  1084. LineCreate(x1,y1,x2,y2,width,color,show)
  1085. {
  1086. global LineCreate_func
  1087. res := DllCall(LineCreate_func,Int,x1,Int,y1,Int,x2,Int,y2,Int,Width,UInt,color,UChar,show)
  1088. return res
  1089. }
  1090. LineDestroy(id)
  1091. {
  1092. global LineDestroy_func
  1093. res := DllCall(LineDestroy_func,Int,id)
  1094. return res
  1095. }
  1096. LineSetShown(id,show)
  1097. {
  1098. global LineSetShown_func
  1099. res := DllCall(LineSetShown_func,Int,id,UChar,show)
  1100. return res
  1101. }
  1102. LineSetColor(id,color)
  1103. {
  1104. global LineSetColor_func
  1105. res := DllCall(LineSetColor_func,Int,id,UInt,color)
  1106. return res
  1107. }
  1108. LineSetWidth(id, width)
  1109. {
  1110. global LineSetWidth_func
  1111. res := DllCall(LineSetWidth_func,Int,id,Int,width)
  1112. return res
  1113. }
  1114. LineSetPos(id,x1,y1,x2,y2)
  1115. {
  1116. global LineSetPos_func
  1117. res := DllCall(LineSetPos_func,Int,id,Int,x1,Int,y1,Int,x2,Int,y2)
  1118. return res
  1119. }
  1120. ImageCreate(path, x, y, rotation, align, show)
  1121. {
  1122. global ImageCreate_func
  1123. res := DllCall(ImageCreate_func, Str, path, Int, x, Int, y, Int, rotation, Int, align, UChar, show)
  1124. return res
  1125. }
  1126. ImageDestroy(id)
  1127. {
  1128. global ImageDestroy_func
  1129. res := DllCall(ImageDestroy_func,Int,id)
  1130. return res
  1131. }
  1132. ImageSetShown(id,show)
  1133. {
  1134. global ImageSetShown_func
  1135. res := DllCall(ImageSetShown_func,Int,id,UChar,show)
  1136. return res
  1137. }
  1138. ImageSetAlign(id,align)
  1139. {
  1140. global ImageSetAlign_func
  1141. res := DllCall(ImageSetAlign_func,Int,id,Int,align)
  1142. return res
  1143. }
  1144. ImageSetPos(id, x, y)
  1145. {
  1146. global ImageSetPos_func
  1147. res := DllCall(ImageSetPos_func,Int,id,Int,x, Int, y)
  1148. return res
  1149. }
  1150. ImageSetRotation(id, rotation)
  1151. {
  1152. global ImageSetRotation_func
  1153. res := DllCall(ImageSetRotation_func,Int,id,Int, rotation)
  1154. return res
  1155. }
  1156. DestroyAllVisual()
  1157. {
  1158. global DestroyAllVisual_func
  1159. res := DllCall(DestroyAllVisual_func)
  1160. return res
  1161. }
  1162. ShowAllVisual()
  1163. {
  1164. global ShowAllVisual_func
  1165. res := DllCall(ShowAllVisual_func)
  1166. return res
  1167. }
  1168. HideAllVisual()
  1169. {
  1170. global HideAllVisual_func
  1171. res := DllCall(HideAllVisual_func )
  1172. return res
  1173. }
  1174. GetFrameRate()
  1175. {
  1176. global GetFrameRate_func
  1177. res := DllCall(GetFrameRate_func )
  1178. return res
  1179. }
  1180. GetScreenSpecs(ByRef width, ByRef height)
  1181. {
  1182. global GetScreenSpecs_func
  1183. res := DllCall(GetScreenSpecs_func, IntP, width, IntP, height)
  1184. return res
  1185. }
  1186. SetParam("use_window", "1")
  1187. SetParam("window", "GTA:SA:MP")
  1188. IniRead, Fraktion, settings.ini, Daten, Fraktion
  1189. if(Fraktion == "" || Fraktion = "ERROR")
  1190. {
  1191. Fraktion := "SAPD"
  1192. IniWrite, %Fraktion%, settings.ini, Daten, Fraktion
  1193. }
  1194. IniRead, Abteilung, settings.ini, Daten, Abteilung
  1195. if(Abteilung = "ERROR")
  1196. {
  1197. Abteilung := ""
  1198. IniWrite, %Abteilung%, settings.ini, Daten, Abteilung
  1199. }
  1200. IniRead, Swatabteilung, settings.ini, Daten, Swatabteilung
  1201. if(Swatabteilung = "ERROR")
  1202. {
  1203. Swatabteilung := ""
  1204. IniWrite, %Swatabteilung%, settings.ini, Daten, Swatabteilung
  1205. }
  1206. IniRead, Laptop, settings.ini, Daten, Laptop
  1207. IniRead, Lock, settings.ini, Daten, Lock
  1208. IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
  1209. IniRead, TankZoll, settings.ini, Daten, TankZoll
  1210. IniRead, CheckCall, settings.ini, Sounds, CheckCall
  1211. IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
  1212. IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
  1213. IniRead, CheckBK, settings.ini, Sounds, CheckBK
  1214. IniRead, Callsound, settings.ini, Sounds, Callsound
  1215. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  1216. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  1217. IniRead, BKsound, settings.ini, Sounds, BKsound
  1218. IniRead, Profil1_1, settings.ini, Ausruesten, Profil1_1
  1219. IniRead, Profil1_2, settings.ini, Ausruesten, Profil1_2
  1220. IniRead, Profil1_3, settings.ini, Ausruesten, Profil1_3
  1221. IniRead, Profil1_4, settings.ini, Ausruesten, Profil1_4
  1222. IniRead, Profil1_5, settings.ini, Ausruesten, Profil1_5
  1223. IniRead, Profil1_6, settings.ini, Ausruesten, Profil1_6
  1224. IniRead, Profil1_7, settings.ini, Ausruesten, Profil1_7
  1225. IniRead, Profil2_1, settings.ini, Ausruesten, Profil2_1
  1226. IniRead, Profil2_2, settings.ini, Ausruesten, Profil2_2
  1227. IniRead, Profil2_3, settings.ini, Ausruesten, Profil2_3
  1228. IniRead, Profil2_4, settings.ini, Ausruesten, Profil2_4
  1229. IniRead, Profil2_5, settings.ini, Ausruesten, Profil2_5
  1230. IniRead, Profil2_6, settings.ini, Ausruesten, Profil2_6
  1231. IniRead, Profil2_7, settings.ini, Ausruesten, Profil2_7
  1232. IniRead, Profil3_1, settings.ini, Ausruesten, Profil3_1
  1233. IniRead, Profil3_2, settings.ini, Ausruesten, Profil3_2
  1234. IniRead, Profil3_3, settings.ini, Ausruesten, Profil3_3
  1235. IniRead, Profil3_4, settings.ini, Ausruesten, Profil3_4
  1236. IniRead, Profil3_5, settings.ini, Ausruesten, Profil3_5
  1237. IniRead, Profil3_6, settings.ini, Ausruesten, Profil3_6
  1238. IniRead, Profil3_7, settings.ini, Ausruesten, Profil3_7
  1239. IniRead, UCSkin, settings.ini, Ausruesten, UCSkin
  1240. IniRead, Schutzweste, settings.ini, Ausruesten, Schutzweste
  1241. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  1242. IniRead, xBind1, %Hotkeys%, Maus, xBind1, %A_Space%
  1243. IniRead, xBind2, %Hotkeys%, Maus, xBind2, %A_Space%
  1244. IniRead, wBind1, %Hotkeys%, Maus, wBind1, %A_Space%
  1245. IniRead, wBind2, %Hotkeys%, Maus, wBind2, %A_Space%
  1246. loop, %Binds%
  1247. {
  1248. IniRead, Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%, %A_Space%
  1249. IniRead, Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%, %A_Space%
  1250. IfNotEqual, Key%A_Index%,, Hotkey, % Key%A_Index%, Key%A_Index%
  1251. IniRead, SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%, 0
  1252. }
  1253. IniRead, Overlay_size, Overlay.ini, Status Overlay, Overlay_size, 7
  1254. IniRead, Overlay_posx, Overlay.ini, Status Overlay, Overlay_posx, 18
  1255. IniRead, Overlay_posy, Overlay.ini, Status Overlay, Overlay_posy, 265
  1256. IniRead, HP_size, Overlay.ini, HP Overlay, HP_size, 8
  1257. IniRead, HP_posx, Overlay.ini, HP Overlay, HP_posx, 715
  1258. IniRead, HP_posy, Overlay.ini, HP Overlay, HP_posy, 88
  1259. IniRead, AP_size, Overlay.ini, AP Overlay, AP_size, 8
  1260. IniRead, AP_posx, Overlay.ini, AP Overlay, AP_posx, 715
  1261. IniRead, AP_posy, Overlay.ini, AP Overlay, AP_posy, 59
  1262. IniRead, HPAnzeige, Overlay.ini, HP Overlay, HPAnzeige, 1
  1263. IniRead, APAnzeige, Overlay.ini, AP Overlay, APAnzeige, 1
  1264. Gui, Add, Text, x5 y485 w500 h20 gDanksagung, eLo56 Edit
  1265. Gui, Add, Tab2, x0 y0 w500 h482, Allgemein|Belegung|Vergaben|Admin-Befehle|Settings
  1266. Gui, Tab, Allgemein
  1267. Gui, Add, Picture, x115 y40 w175 h175, %Pictures%\FBILoo.png
  1268. Gui, Add, Text, x12 y220 w380 h110, Herzlich Willkommen, `nDer Keybinder ist ENTWICKELT von Atano (Pablo) & editiert von eLo56.
  1269. Gui, Add, Groupbox, x12 y340 w380 h130, Neuigkeiten
  1270. FileRead, DailyMessage, daily.txt
  1271. Gui, Add, Text, x18 y360 w360 h100, News folgen.
  1272. Gui, Tab, Belegung
  1273. Belegungen =
  1274. (
  1275. Keybinds
  1276. ___________________________________________________________
  1277. 1 - Motor, Licht, Lock (wenn das Lock-System aktiviert ist)
  1278. Shift + 1 - /licht
  1279. 2 - Dürfen wir Sie auf Drogen / Waffenbesitz überprüfen?
  1280. 3 - Zeigen Sie mir Ihre Scheine
  1281. 4 - Vielen Dank für Ihre Kooperation
  1282. 5 - Steigen Sie bitte aus Ihrem Fahrzeug
  1283. 6 - Sie sind festgenommen (in den Dienstwagen)
  1284. 7 - Sie sind festgenommen (zu den Zellen)
  1285. 8 - /ram
  1286. 9 /grab
  1287. Alt + 8 - Ungrab
  1288. 0 - /carinfo
  1289. ä - Wiederholt die letzte Eingabe
  1290. Y - /lock
  1291. B - /uclight
  1292. m - /members
  1293. P - Anzeigen der Position im /hq
  1294. STRG+P - Anzeigen der aktuellen Position im /r
  1295. STRG+ALT+P - Anzeigen der Position im /d
  1296. K - Kontrolliert einen Spieler
  1297. I - Bitte stecken Sie umgehend Ihre Waffen ein
  1298. U - /uncuff
  1299. ´ - /hq Übernimmt den Auftrag
  1300. ALT + ` - /hq Auftrag ausgeführt
  1301. STRG + ´ - /d Übernimmt den Auftrag
  1302. STRG+Alt+´ - /d Hat den Auftrag ausgeführt
  1303. ALT + C - Zoll schließen bitte
  1304. ALT + C - /eject
  1305. ALT + Y - Isst einen Fisch
  1306. Alt + X - erstehilfe
  1307. - - /clear
  1308. ^ - Notruf-Annahme
  1309. Shift + ^ - Manuelle Notrufannahme
  1310. , - Startet die Stoppuhr
  1311. /cd - Startet einen Countdown
  1312. END - Startet einen Countdown
  1313. Windows - /wanteds
  1314.  
  1315. F1 - /tog -> Phone
  1316. F3 - /erstehilfe
  1317. F4 - /ausruesten (Profil I - Streife)
  1318. F5 - /ausruesten (Profil II - Streife)
  1319. F6 - /ausruesten (Profil III - UC Streife)
  1320. ALT+F4 - /ausruesten
  1321. STRG+F4 - /heal
  1322.  
  1323. NumPad
  1324. ___________________________________________________________
  1325. NumPad, - /m Bitte halten Sie sich an die StVO
  1326. NumPad0 - /m Folgen Sie dem Wagen
  1327. NumPad1 - /m Straßenverkehrskontrolle
  1328. NumPad2 - /m Halten Sie sofort an
  1329. NumPad3 - /m Unterlassen Sie die verfolgung
  1330. NumPad4 - /m Steigen Sie aus Ihrem Fahrzeug
  1331. NumPad5 - /m Räumen Sie die Straße
  1332. NumPad6 - /m Legen Sie Ihre Waffen nieder
  1333. NumPad7 - /cuff, /frisk
  1334. NumPad8 - /arrest
  1335. NumPad9 - /m Verlassen Sie dieses Gelände
  1336. Alt+NumpadEnter - /m Unterlassen Sie die Verfolgung
  1337.  
  1338. Num/ - Zoll schließen
  1339. ALT+Num/ - Zoll öffnen
  1340. Num* - /gov Die Zollstationen sind geschlossen
  1341. ALT+Num* - /gov Zollstation geöffnet
  1342. Num+ - Benötige Verstärkung
  1343. ALT+Num+ - Verstärkung nicht mehr benötigt
  1344.  
  1345. Befehle
  1346. ___________________________________________________________
  1347. /op - Offline Prison
  1348. /oa - Offline Knast
  1349. /dp - Death Prison
  1350. /da - Death Knast `
  1351.  
  1352. /codes - Zeigt alle Chatcodes an
  1353.  
  1354. /streife - Startet einen Streifendienst
  1355. /setEinheit - Einstellung der Streifeneinheit
  1356. /setNummer - Einstellungen der Streifennummer
  1357. /setPersonen - Einstellungen der Personen im Fahrzeug
  1358. /kennung - Zeigt deine aktuelle Streifenkennung an
  1359.  
  1360. /partner1 - Trägt einen einen Streifenpartner ein
  1361. /partner2 - Trägt einen zweiten Streifenpartner ein
  1362. /partner3 - Trägt einen dritten Streifenpartner ein
  1363. /partners - Zeigt alle eingetragenen Streifenpartner an
  1364. /updatesteuersatz - Aktualisiert den Steuersatz
  1365. /settax - Manuelle Eingabe des Steuersatzes
  1366.  
  1367. /water- Aktiviert den Wassermodus
  1368. /swat - Aktiviert den SWAT-Modus (nur FBI)
  1369.  
  1370. /tasks - Zeigt alle noch zu erledigenden Aufgaben an
  1371. /addtask - Fügt eine Aufgabe hinzu
  1372. /deletetask - Löscht eine Aufgabe
  1373.  
  1374. /gk - Zeigt den gesuchten Gk
  1375.  
  1376. /addts - Fügt eine Todesstrafe hinzu
  1377. /deletets - Entfernt eine Todesstrafe
  1378. ALT+T - Zeigt die akuellen Todesstrafen
  1379.  
  1380. /hm - Zeigt die Hitmanliste
  1381. /copstats - Zeigt die aktuelle Statstik an
  1382. /overlay - (De-)aktiviert das Status-Overlay
  1383. /move overlay - Ermöglicht das Verschieben des Overlays
  1384.  
  1385. /forum - Forum messages aktivieren
  1386. /info - Spielerinformationen anzeigen
  1387. /zollhelp - Zeigt die Zollstationen an
  1388.  
  1389. # - Auto-Arrest
  1390. ALT+# - Zeigt alle in der Arrestliste
  1391. F9 - Resettet die Arrestliste
  1392.  
  1393. /afind - Automatisches Suchen
  1394. /af - Automatisches Suchen
  1395. /as - Automatisches Zeigen
  1396. /pos - Automatisches Zeigen für Fahrer / Partner
  1397. /dshow - Showpos im /d
  1398. /fshow - Showpos im /f
  1399. /rshow - Showpos im /r
  1400. < - Jeweils zum Beenden
  1401. /fahrer - Eintragen des Fahrers (Wird vor Partner1, Partner2, Partner3 genutzt)
  1402.  
  1403. /vf - /r Verfolge Verbrecher
  1404. /verfolgung - Erbitte Unterstützung bei der Verfolgung
  1405. /ort - Letzter bekannter Aufenthaltsort
  1406. /luft - Fordere Luftüberwachung an
  1407.  
  1408. /jas - Ja Sir
  1409. /jam - Ja Madam
  1410. /ja - Ja, was kann ich für Sie tun?
  1411. /tag - Guten Tag
  1412. /bye - Auf Wiedershen
  1413.  
  1414. /beweise - Haben Sie Beweise
  1415. /passieren - Sie dürfen passieren
  1416. /warten - Bitte warten Sie einen Augenblick
  1417. /rechte - Vorlesen der Rechte
  1418. /ruhe - Sie haben das Recht zu schweigen
  1419. /hdf - Sein Sie still
  1420. /runter - Steigen Sie vom Fahrzeug
  1421. /ende - Startet einen Countdown
  1422.  
  1423. /on - /pdmarker, /hitsound, /tog -> Phone
  1424. /uc - /undercover
  1425. /auc - /undercover mit zufälligem Skin
  1426. /sb - /showbadge
  1427. /kh - Schauen ob Spieler im Krankenhaus ist
  1428.  
  1429. /setkills - Aktuelle Kills setzen
  1430. /setdeaths - Aktuelle Tode setzen
  1431.  
  1432. /abholung - Benötige Abholung
  1433. /kabholung - Abholung nicht mehr benötigt
  1434. /razzia - Razzia
  1435. /rz - Razzia (S.W.A.T.)
  1436.  
  1437. /stvo - Möchten Sie Punkte oder ein Ticket
  1438. /apunkte - Stellt nach /stvo automatisch Strafpunkte aus
  1439. /aticket - Stellt nach /stvo automatisch ein Ticket aus
  1440. /stvo[1-5] - Punkte oder Ticket?
  1441. /stvof - Ticket oder Flugscheinentzug?
  1442. /top - Ticket oder Punkte?
  1443. /tot - Ticket oder Take?
  1444. /kontrolle - Kontrolliert einen Spieler
  1445. /tst - Take Strafpunkt
  1446. /tw - Take Waffen
  1447. /tws - Take Waffenschein
  1448. /tfs - Take Flugschein
  1449. /td - Take Drogen
  1450. /tm - Take Materialien
  1451. /tall - Take alles
  1452.  
  1453. /ver - /HQ Habe verstanden
  1454. /dver - /d Habe verstanden
  1455. /fver - /f Habe verstanden
  1456. /rver - /r Habe verstanden
  1457. /wo - Wo befindet ihr euch?
  1458. /needbk - Wird Verstärkung weiterhin benötigt?
  1459. /repos - Neu formieren in ...
  1460. /go - /HQ Zugriff
  1461. /rgo - /r Zugriff
  1462. /dgo - /d Zugriff
  1463. /fgo - /f Zugriff
  1464.  
  1465. /dstreife - Suche Streifenpartner im /d
  1466. /fstreife - Suche Streifenpartner im /f
  1467. /afk - /f Melde mich für die nächsten Minuten ab
  1468.  
  1469. /rb - Straßensperre setzen
  1470. /db - Straßensperre entfernen
  1471. /dba - Alle Straßensperren entfernen
  1472.  
  1473. /an - Nimmt einen Anruf entgegen
  1474. /ab - Anrufbeantworter
  1475. /danke - Danke für Ihren Anruf (+/h)
  1476. /re - Antwort auf die letzte SMS
  1477. /read - Antwort auf die letzte AD
  1478. /kcall - Call by Name
  1479. /ksms - SMS by Name
  1480.  
  1481. /fischen - Automatisches Fischen
  1482. /kochen - Kocht alle Fische
  1483. /cf - Kocht alle Fische
  1484. /hp - Zeigt die HP aller Fische an
  1485. /fische - Zeigt Informationen über die gefangenen Fische an
  1486.  
  1487. STRG + T - Tempomat aktivieren
  1488. /tempo - Tempomat aktivieren (Geschwindigkeit einstellbar)
  1489. L - Tempomat: Geschwindigkeit um 5 KM/H senken
  1490. Ö - Tempomat: Geschwindigkeit um 5 KM/h erhöhen
  1491.  
  1492. /fg - Legt Festgeld an
  1493. /ap - Nimmt ein Paket an
  1494. /paket - Nimmt ein Paket an
  1495. /tanken - Betankt das Fahrzeug
  1496. /savestats - Speichert die aktuellen Stats
  1497. /relog - Führt einen Relog durch
  1498. /fan - Gibt einem Spieler ein Autogramm
  1499. /minuten - Rechnet Sekunden in Minuten um
  1500. /chat - Cleat den Chat
  1501. /alotto - /lotto mit zufälliger Zahl
  1502. /user - Zeigt die Statistik eines Users
  1503. /auto - Zeigt allgemeine Informationen zu einem Fahrzeug
  1504. /rmpos - Benennt die Position des Redmarkers
  1505.  
  1506. )
  1507. Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %Belegungen%
  1508. Gui, Tab, Vergaben
  1509. Vergaben =
  1510. (
  1511. Wantedvergaben
  1512. ___________________________________________________________
  1513. ALT+Num1 - Angriff/Beschuss auf Beamte/Zivilisten
  1514. ALT+Num2 - Flucht/Fluchtversuch
  1515. ALT+Num3 - Verweigerung
  1516. ALT+Num4 - Behinderung der Justiz
  1517. ALT+Num5 - Besitz von Materialien
  1518. ALT+Num6 - Besitz von Drogen
  1519. ALT+Num7 - Beihilfe zur Flucht
  1520. ALT+Num8 - Illegaler Handel mit Materialien/Drogen
  1521. ALT+Num9 - Einbruch
  1522. ALT+N - Notruf-Missbrauch
  1523. ALT+Z - Zollflucht
  1524. ALT+J - Absichtliches Anfahren
  1525. ALT+K - Fahrzeugdiebstahl
  1526. ALT+L - Staatsfahrzeugdiebstahl
  1527. ALT+Ö - Diebstahl von bewaffneten Fahrzeugen
  1528. ALT+O - Beamtenbeleidigung
  1529. ALT+I - Waffengebrauch i.d.Ö.
  1530. ALT+B - Beamtenbestechung
  1531. ALT+G - Straßenverkehrsgefährdung
  1532.  
  1533.  
  1534.  
  1535. Punktevergaben
  1536. ___________________________________________________________
  1537. STRG+Num0 - Rote Ampel missachtet
  1538. STRG+Num1 - Straßenverkehrsgefährdung
  1539. STRG+Num2 - Fahren auf falscher Seite
  1540. STRG+Num3 - Fahren mit überhöhter Geschwindigkeit
  1541. STRG+Num4 - Missachtung der Vorfahrt
  1542. STRG+Num5 - Fahren abseits der Straße
  1543. STRG+Num6 - Fahren ohne Licht
  1544. STRG+Num7 - Parken im Parkverbot
  1545. STRG+Num8 - Straßenverkehrsbehinderung
  1546. STRG+Num9 - Fahren unter Alkoholeinfluss
  1547. )
  1548. Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %Vergaben%
  1549. Gui, Tab, Vergaben
  1550. LaptopModus =
  1551. (
  1552. Allgemein
  1553. ___________________________________________________________
  1554. ALT&+ - Benötige keine Verstärkung
  1555.  
  1556. ALT&STRG&0 - Folgen Sie dem Wagen
  1557. ALT&STRG&1 - Straßenverkehrskontrolle
  1558. ALT&STRG&2 - Halten Sie sofort an
  1559. ALT&STRG&3 - Letzte Warnung
  1560. ALT&STRG&4 - Steigen Sie aus Ihrem Fahrzeug
  1561. ALT&STRG&5 - Räumen Sie die Straße
  1562. ALT&STRG&6 - Legen Sie Ihre Waffen nieder
  1563. ALT&STRG&7 - /cuff, /frisk
  1564. ALT&STRG&9 - Verlassen Sie dieses Gelände
  1565.  
  1566. Wantedvergabe
  1567. ___________________________________________________________
  1568. ALT&1 - Angriff/Beschuss auf Beamte/Zivilisten
  1569. ALT&2 - Flucht/Fluchtversuch
  1570. ALT&3 - Verweigerung
  1571. ALT&4 - Behinderung der Justiz
  1572. ALT&5 - Besitz von Materialien
  1573. ALT&6 - Besitz von Drogen
  1574. ALT&7 - Beihilfe zur Flucht
  1575. ALT&8 - Illegaler Handel mit Materialien/Drogen
  1576. ALT&9 - Einbruch
  1577.  
  1578. Punktevergabe
  1579. ___________________________________________________________
  1580. STRG&0 - Rote Ampel missachtet
  1581. STRG&1 - Straßenverkehrsgefährdung
  1582. STRG&2 - Fahren auf falscher Seite
  1583. STRG&3 - Fahren mit überhöhter Geschwindigkeit
  1584. STRG&4 - Missachtung der Vorfahrt
  1585. STRG&5 - Fahren abseits der Straße
  1586. STRG&6 - Fahren ohne Licht
  1587. STRG&7 - Parken im Parkverbot
  1588. STRG&8 - Straßenverkehrsbehinderung
  1589. STRG&9 - Fahren unter Alkoholeinfluss
  1590. )
  1591. Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %LaptopModus%
  1592. Gui, Tab, Admin-Befehle
  1593. AdminBefehle =
  1594. (
  1595. Ticket-System
  1596. ___________________________________________________________
  1597. /tt - Ticket annehmen
  1598. /dt - Ticket schließen
  1599. /gt - Ticket weiterleiten
  1600. /grund - Warum soll ich Sie weiterleiten?
  1601. /fragen - Weitere Fragen?
  1602. /tafk - Ticket wegen AFK schließen
  1603.  
  1604. /tickets - Zeigt die aktuelle Ticketstatistik (ENB geeignet)
  1605. /togtickets - (De-)aktiviert das TicketOverlay (nicht für ENB)
  1606.  
  1607. Nützliches
  1608. ___________________________________________________________
  1609. /meldungen - Info über /sup und /a
  1610. /hacker - Zeigt alle Level 1er / potentielle Hacker
  1611. /rc - /respawncar
  1612.  
  1613. Sanktionen
  1614. ___________________________________________________________
  1615. /adabuse - AD-Abuse
  1616. /aabuse - /a - Abuse
  1617. /spam - /mute Spam
  1618.  
  1619. /bel - Beleidigung
  1620. /mbel - Mittlere Beleidigung
  1621. /sbel - Schwere Beleidigung
  1622.  
  1623. /sdm - Prison wegen SDM
  1624. /bansdm - /ban wegen SDM
  1625. /nodm - /prison DM in No DM Zone
  1626. /jobstörung - /prison Jobstörung `
  1627. jobdm - /prison Job Deathmatch
  1628. /intflucht - /prison Interrior-Flucht
  1629. /escflucht - /prison ESC-Flucht
  1630. /offflucht - /prison Offline-Flucht
  1631. /cardm - /prison Carsurf Dm
  1632. /anfahren - /prison Absichtliches Anfahren
  1633.  
  1634. /esccp - /kick ESC im Checkpoint
  1635. /afkp - AFK im Paintball
  1636. )
  1637. Gui, Add, Text, x6 y30 w382 h440 ReadOnly, %AdminBefehle%
  1638. Gui, Tab, Settings
  1639. Gui, Add, Text, x10 y40 w120 h20 , Fraktion
  1640. Gui, Add, Text, x170 y40 w150 h80 vFraktion, FBI
  1641. GuiControl, Choose, Fraktion, %Fraktion%
  1642. Gui, Add, Text, x10 y70 w120 h20 , Abteilung
  1643. Gui, Add, Text, x10 y85 w120 h20, Swatabteilung
  1644. Gui, Add, Edit, x170 y60 w150 h20 vAbteilung, %Abteilung%
  1645. Gui, Add, Edit, x170 y80 w150 h20 vSwatabteilung, %Swatabteilung%
  1646. Gui, Add, Checkbox, x10 y100 w220 h20 vLock Checked%Lock%, Lock-System aktivieren?
  1647. Gui, Add, Checkbox, x10 y130 w220 h20 vChatlogsaver Checked%Chatlogsaver%, Chatlogsaver aktivieren?
  1648. Gui, Add, Checkbox, x10 y160 w390 h20 vLaptop Checked%Laptop%, Laptopmodus aktivieren? (NumPadBinds werden auf ALT-Tasten verlegt)
  1649. Gui, Add, Checkbox, x10 y190 w220 h20 vTankZoll Checked%TankZoll%, Easy Tank- und Zoll-System aktivieren?
  1650. Gui, Add, Button, x125 y225 w150 h40 gSpeichern, Speichern
  1651. Gui, Add, Button, x215 y285 w150 h40 gSounds, Sounds
  1652. Gui, Add, Button, x35 y285 w150 h40 gAusruesten, Ausrüsten
  1653. Gui, Add, Button, x35 y405 w150 h40 ,Außer Betrieb
  1654. Gui, Add, Button, x215 y405 w150 h40 gDruck, Druckversion
  1655. Gui, Show, w400 h500, Beamtenbinder (Version %Version%)
  1656. IniRead, Punkte, Statistik.ini, Vergaben, Punkte
  1657. IniRead, Tickets, Statistik.ini, Vergaben, Tickets
  1658. IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
  1659. IniRead, Tazer, Statistik.ini, Tazer, Tazer
  1660. IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
  1661. IniRead, Arrest, Statistik.ini, Arrests, Arrest
  1662. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  1663. IniRead, Kills, Statistik.ini, Kills, Kills
  1664. IniRead, VerbrecherKills, Statistik.ini, VerbrecherKills, VerbrecherKills
  1665. IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
  1666. IniRead, Money, Statistik.ini, Arrests, Money
  1667. IniRead, Flugschein, Statistik.ini, Scheine, Flugschein
  1668. IniRead, Waffenschein, Statistik.ini, Scheine, Waffenschein
  1669. IniRead, Bootschein, Statistik.ini, Scheine, Bootschein
  1670. if(Punkte = "ERROR" || Punkte = "")
  1671. {
  1672. Punkte = 0
  1673. IniWrite, %Punkte%, Statistik.ini, Vergaben, Punkte
  1674. }
  1675. if(Tickets = "ERROR" || Tickets = "")
  1676. {
  1677. Tickets = 0
  1678. IniWrite, %Tickets%, Statistik.ini, Vergaben, Tickets
  1679. }
  1680. if(TicketGeld = "ERROR" || TicketGeld = "")
  1681. {
  1682. TicketGeld = 0
  1683. IniWrite, %TicketGeld%, Statistik.ini, Vergaben, TicketGeld
  1684. }
  1685. if(Tazer = "ERROR" || Tazer = "")
  1686. {
  1687. Tazer = 0
  1688. IniWrite, %Tazer%, Statistik.ini, Tazer, Tazer
  1689. }
  1690. if(OffArrest = "ERROR" || OffArrest = "")
  1691. {
  1692. OffArrest = 0
  1693. IniWrite, %OffArrest%, Statistik.ini, Arrests, OffArrest
  1694. }
  1695. if(Arrest = "ERROR" || Arrest = "")
  1696. {
  1697. Arrest = 0
  1698. IniWrite, %Arrest%, Statistik.ini, Arrests, Arrest
  1699. }
  1700. if(DeathArrest = "ERROR" || DeathArrest = "")
  1701. {
  1702. DeathArrest = 0
  1703. IniWrite, %DeathArrest%, Statistik.ini, Arrests, DeathArrest
  1704. }
  1705. if(Wanted = "ERROR" || Wanted = "")
  1706. {
  1707. Wanted = 0
  1708. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  1709. }
  1710. if(Kills = "ERROR" || Kills = "")
  1711. {
  1712. Kills = 0
  1713. IniWrite, %Kills%, Statistik.ini, Kills, Kills
  1714. }
  1715. if(Deaths = "ERROR" || Deaths = "")
  1716. {
  1717. Deaths = 0
  1718. Iniwrite, %Deaths%, Statistik.ini, deaths, Deaths
  1719. }
  1720. if(VerbrecherKills = "ERROR" || VerbrecherKills = "")
  1721. {
  1722. VerbrecherKills = 0
  1723. IniWrite, %VerbrecherKills%, Statistik.ini, VerbrecherKills, VerbrecherKills
  1724. }
  1725. if(Money = "ERROR" || Money = "")
  1726. {
  1727. Money = 0
  1728. IniWrite, %Money%, Statistik.ini, Arrests, Money
  1729. }
  1730. if(Flugschein = "ERROR" || Flugschein = "")
  1731. {
  1732. Flugschein = 0
  1733. IniWrite, %Flugschein%, Statistik.ini, Scheine, Flugschein
  1734. }
  1735. if(Waffenschein = "ERROR" || Waffenschein = "")
  1736. {
  1737. Waffenschein = 0
  1738. IniWrite, %Waffenschein%, Statistik.ini, Scheine, Waffenschein
  1739. }
  1740. if(Bootschein = "ERROR" || Bootschein = "")
  1741. {
  1742. Bootschein = 0
  1743. IniWrite, %Bootschein%, Statistik.ini, Scheine, Bootschein
  1744. }
  1745. IniRead, VolCall, settings.ini, Sounds, VolCall
  1746. IniRead, VolSMS, settings.ini, Sounds, VolSMS
  1747. IniRead, VolLowHP, settings.ini, Sounds, VolLowHP
  1748. IniRead, VolBK, settings.ini, Sounds, VolBk
  1749. IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
  1750. if (Chatlogsaver == 1)
  1751. {
  1752. SetTimer, chatlog, 500
  1753. }
  1754. else
  1755. {
  1756. SetTimer, chatlog, off
  1757. }
  1758. GtaCheckTrue=0
  1759. SetTimer, _GtaCheck, 1000
  1760. return
  1761. GuiClose:
  1762. DestroyAllVisual()
  1763. ExitApp
  1764. Danksagung:
  1765. 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
  1766. Gui, 30: Font, s25 cblack, Georgia
  1767. Gui, 30: Add, Text, x15 y19 w620 h70 +center, Atano-Binder
  1768. Gui, 30: Font, s14 cblack, Georgia
  1769. Gui, 30: Add, Text, x405 y79 w230 h50, Keybinder V. f. Pablo_Atano
  1770. Gui, 30: Show, w650 h280, Atano-Binder - Danksagung
  1771. return
  1772. Sounds:
  1773. IniRead, Callsound, settings.ini, Sounds, Callsound
  1774. if(Callsound == "" || Callsound == "ERROR")
  1775. {
  1776. Callsound := "" . Sounds . "\Call.mp3"
  1777. IniWrite, %Callsound%, settings.ini, Sounds, Callsound
  1778. }
  1779. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  1780. if(SMSsound = "" || SMSsound = "ERROR")
  1781. {
  1782. SMSsound := "" . Sounds . "\SMS.mp3"
  1783. IniWrite, %SMSsound%, settings.ini, Sounds, SMSsound
  1784. }
  1785. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  1786. if(LowHPsound = "" || LowHPsound = "ERROR")
  1787. {
  1788. LowHPsound := "" . Sounds . "\LowHP.mp3"
  1789. IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
  1790. }
  1791. IniRead, BKsound, settings.ini, Sounds, BKsound
  1792. if(BKsound = "" || BKsound == "ERROR")
  1793. {
  1794. BKsound := "" . Sounds . "\BK.mp3"
  1795. IniWrite, %BKsound%, settings.ini, Sounds, BKsound
  1796. }
  1797. Gui, 4: Destroy
  1798. Gui, 4: Font, s10, bold
  1799. Gui, 4:Add, GroupBox, x36 y10 w700 h110 cwhite, Informationen
  1800. 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.
  1801. Gui, 4:Add, Checkbox, x52 y163 w13 h13 gCheckCall Checked%CheckCall% vCheckCall,
  1802. Gui, 4:Add, Checkbox, x52 y193 w13 h13 gCheckSMS Checked%CheckSMS% vCheckSMS,
  1803. Gui, 4:Add, Checkbox, x52 y223 w13 h13 gCheckLowHP Checked%CheckLowHP% vCheckLowHP,
  1804. Gui, 4:Add, Checkbox, x52 y253 w13 h13 gCheckBK Checked%CheckBK% vCheckBK,
  1805. Gui, 4:Add, GroupBox, x36 y130 w700 h160 cwhite, Sounds
  1806. Gui, 4:Add, Text, x76 y160 w60 h20 cwhite +center, Anruf:
  1807. Gui, 4:Add, Text, x76 y190 w60 h20 cwhite +center, SMS:
  1808. Gui, 4:Add, Text, x76 y220 w60 h20 cwhite +center, Low-HP:
  1809. Gui, 4:Add, Text, x76 y250 w60 h20 cwhite +center, BK:
  1810. Gui, 4:Add, Text, x156 y160 w540 h20 cwhite +0x200 +E0x20210 +center gCallAuswahl vCallAuswahl, %Callsound%
  1811. Gui, 4:Add, Text, x156 y190 w540 h20 cwhite +0x200 +E0x20210 +center gSMSAuswahl vSMSAuswahl, %SMSsound%
  1812. Gui, 4:Add, Text, x156 y220 w540 h20 cwhite +0x200 +E0x20210 +center gLowHPAuswahl vLowHPAuswahl, %LowHPsound%
  1813. Gui, 4:Add, Text, x156 y250 w540 h20 cwhite +0x200 +E0x20210 +center gBKAuswahl vBKAuswahl, %BKsound%
  1814. Gui, 4:Add, Picture, x705 y160 w20 h20 +BackgroundTrans gEinstellCall, %Pictures%\soundwahl.png
  1815. Gui, 4:Add, Picture, x705 y190 w20 h20 +BackgroundTrans gEinstellSMS, %Pictures%\soundwahl.png
  1816. Gui, 4:Add, Picture, x705 y220 w20 h20 +BackgroundTrans gEinstellLowHP, %Pictures%\soundwahl.png
  1817. Gui, 4:Add, Picture, x705 y250 w20 h20 +BackgroundTrans gEinstellBK, %Pictures%\soundwahl.png
  1818. IniRead, CheckCall, settings.ini, Sounds, CheckCall
  1819. IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
  1820. IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
  1821. IniRead, CheckBK, settings.ini, Sounds, CheckBK
  1822. IniRead, Callsound, settings.ini, Sounds, Callsound
  1823. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  1824. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  1825. IniRead, BKsound, settings.ini, Sounds, BKsound
  1826. GuiControl, 4: , CheckCall, %CheckCall%
  1827. GuiControl, 4: , CheckSMS, %CheckSMS%
  1828. GuiControl, 4: , CheckLowHP, %CheckLowHP%
  1829. GuiControl, 4: , CheckBK, %CheckBK%
  1830. GuiControl, 4: , CallAuswahl, %CallSound%
  1831. GuiControl, 4: , SMSAuswahl, %SMSSound%
  1832. GuiControl, 4: , LowHPAuswahl, %LowHPSound%
  1833. GuiControl, 4: , BKAuswahl, %BKSound%
  1834. Gui, 4: Add, Button, x296 y300 w180 h50 gZurück, Zurück
  1835. Gui, 4:Color, 292929
  1836. Gui, 4:Show, w780 h372, Sounds
  1837. IniRead, VolCall, settings.ini, Sounds, VolCall
  1838. IniRead, VolSMS, settings.ini, Sounds, VolSMS
  1839. IniRead, VolLowHP, settings.ini, Sounds, VolLowHP
  1840. IniRead, VolBK, settings.ini, Sounds, VolBK
  1841. if(VolCall = "" || VolCall = "ERROR")
  1842. {
  1843. VolCall := 100
  1844. IniWrite, %VolCall%, settings.ini, Sounds, VolCall
  1845. }
  1846. if(VolSMS = "" || VolSMS = "ERROR")
  1847. {
  1848. VolSMS := 100
  1849. IniWrite, %VolSMS%, settings.ini, Sounds, VolSMS
  1850. }
  1851. if(VolLowHP = "" || VolLowHP = "ERROR")
  1852. {
  1853. VolLowHP := 100
  1854. IniWrite, %VolLowHP%, settings.ini, Sounds, VolLowHP
  1855. }
  1856. if(VolBK = "" || VolBK = "ERROR")
  1857. {
  1858. VolBK := 100
  1859. IniWrite, %VolBK%, settings.ini, Sounds, VolBK
  1860. }
  1861. SetParam("use_window", "1")
  1862. SetParam("window", "GTA:SA:MP")
  1863. return
  1864. Zurück:
  1865. 4GuiClose:
  1866. Gui, 4: Destroy
  1867. return
  1868. CallAuswahl:
  1869. if(CheckCall = 1)
  1870. {
  1871. FileSelectFile, Callsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1872. if(Callsoundx != "")
  1873. {
  1874. Callsound := Callsoundx
  1875. IniWrite, %Callsound%, settings.ini, Sounds, Callsound
  1876. GuiControl, 4: , CallAuswahl, %CallSound%
  1877. if(A_OSVersion != "WIN_XP")
  1878. {
  1879. SoundSetWaveVolume, %VolCall%
  1880. }
  1881. SoundPlay, %CallSound%
  1882. }
  1883. }
  1884. return
  1885. SMSAuswahl:
  1886. if(CheckSMS = 1)
  1887. {
  1888. FileSelectFile, SMSsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1889. if(SMSsoundx != "")
  1890. {
  1891. SMSsound := SMSsoundx
  1892. IniWrite, %SMSsound%, settings.ini, Sounds, SMSsound
  1893. GuiControl, 4: , SMSAuswahl, %SMSSound%
  1894. if(A_OSVersion != "WIN_XP")
  1895. {
  1896. SoundSetWaveVolume, %VolCall%
  1897. }
  1898. SoundPlay, %SMSSound%
  1899. }
  1900. }
  1901. return
  1902. LowHPAuswahl:
  1903. if(CheckLowHP = 1)
  1904. {
  1905. FileSelectFile, LowHPsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1906. if(LowHPsoundx != "")
  1907. {
  1908. LowHPsound := LowHPsoundx
  1909. IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
  1910. GuiControl, 4: , LowHPAuswahl, %LowHPSound%
  1911. if(A_OSVersion != "WIN_XP")
  1912. {
  1913. SoundSetWaveVolume, %VolCall%
  1914. }
  1915. SoundPlay, %LowHPSound%
  1916. }
  1917. }
  1918. return
  1919. BKAuswahl:
  1920. if(CheckBK = 1)
  1921. {
  1922. FileSelectFile, BKsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
  1923. if(BKsoundx != "")
  1924. {
  1925. BKsound := BKsoundx
  1926. IniWrite, %BKsound%, settings.ini, Sounds, BKsound
  1927. GuiControl, 4: , BKAuswahl, %BKSound%
  1928. if(A_OSVersion != "WIN_XP")
  1929. {
  1930. SoundSetWaveVolume, %VolCall%
  1931. }
  1932. SoundPlay, %BKSound%
  1933. }
  1934. }
  1935. return
  1936. CheckCall:
  1937. Gui, 4: Submit, NoHide
  1938. IniWrite, %CheckCall%, settings.ini, Sounds, CheckCall
  1939. return
  1940. CheckSMS:
  1941. Gui, 4: Submit, NoHide
  1942. IniWrite, %CheckSMS%, settings.ini, Sounds, CheckSMS
  1943. GuiControl, 4: Choose, CheckSMS, %CheckSMS%
  1944. return
  1945. CheckLowHP:
  1946. Gui, 4: Submit, NoHide
  1947. IniWrite, %CheckLowHP%, settings.ini, Sounds, CheckLowHP
  1948. GuiControl, 4: Choose, CheckLowHP, %CheckLowHP%
  1949. return
  1950. CheckBK:
  1951. Gui, 4: Submit, NoHide
  1952. IniWrite, %CheckBK%, settings.ini, Sounds, CheckBK
  1953. GuiControl, 4: Choose, CheckBK, %CheckBK%
  1954. return
  1955. EinstellCall:
  1956. if(CheckCall = 1)
  1957. {
  1958. if(A_OSVersion != "WIN_XP")
  1959. {
  1960. Gui, 41: Destroy
  1961. Gui, 41: Add, Text, x15 y10 w60 h20, Lautstärke:
  1962. Gui, 41: Add, Slider, x5 y30 w310 h30 AltSubmit vVolCall gVolCall, %VolCall%
  1963. Gui, 41: Add, Text, x15 y60 w30 h20 +center, Min
  1964. Gui, 41: Add, Text, x285 y60 w30 h20 +center, Max
  1965. VolCallProz := "" . VolCall . "%"
  1966. Gui, 41: Add, Text, x40 y60 w240 h20 +center vVolCallProz, %VolCallProz%
  1967. Gui, 41: Show
  1968. }
  1969. else
  1970. {
  1971. 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.
  1972. }
  1973. }
  1974. return
  1975. EinstellSMS:
  1976. if(CheckSMS = 1)
  1977. {
  1978. if(A_OSVersion != "WIN_XP")
  1979. {
  1980. Gui, 42: Destroy
  1981. Gui, 42: Add, Text, x15 y10 w60 h20, Lautstärke:
  1982. Gui, 42: Add, Slider, x5 y30 w310 h30 AltSubmit vVolSMS gVolSMS, %VolSMS%
  1983. Gui, 42: Add, Text, x15 y60 w30 h20 +center, Min
  1984. Gui, 42: Add, Text, x285 y60 w30 h20 +center, Max
  1985. VolSMSProz := "" . VolSMS . "%"
  1986. Gui, 42: Add, Text, x40 y60 w240 h20 +center vVolSMSProz, %VolSMSProz%
  1987. Gui, 42: Show
  1988. }
  1989. else
  1990. {
  1991. 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.
  1992. }
  1993. }
  1994. return
  1995. EinstellLowHP:
  1996. if(CheckLowHP = 1)
  1997. {
  1998. if(A_OSVersion != "WIN_XP")
  1999. {
  2000. Gui, 43: Destroy
  2001. Gui, 43: Add, Text, x15 y10 w60 h20, Lautstärke:
  2002. Gui, 43: Add, Slider, x5 y30 w310 h30 AltSubmit vVolLowHP gVolLowHP, %VolLowHP%
  2003. Gui, 43: Add, Text, x15 y60 w30 h20 +center, Min
  2004. Gui, 43: Add, Text, x285 y60 w30 h20 +center, Max
  2005. VolLowHPProz := "" . VolLowHP . "%"
  2006. Gui, 43: Add, Text, x40 y60 w240 h20 +center vVolLowHPProz, %VolLowHPProz%
  2007. Gui, 43: Show
  2008. }
  2009. else
  2010. {
  2011. 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.
  2012. }
  2013. }
  2014. return
  2015. EinstellBK:
  2016. if(CheckBK = 1)
  2017. {
  2018. if(A_OSVersion != "WIN_XP")
  2019. {
  2020. Gui, 44: Destroy
  2021. Gui, 44: Add, Text, x15 y10 w60 h20, Lautstärke:
  2022. Gui, 44: Add, Slider, x5 y30 w310 h30 AltSubmit vVolBK gVolBK, %VolBK%
  2023. Gui, 44: Add, Text, x15 y60 w30 h20 +center, Min
  2024. Gui, 44: Add, Text, x285 y60 w30 h20 +center, Max
  2025. VolBKProz := "" . VolBK . "%"
  2026. Gui, 44: Add, Text, x40 y60 w240 h20 +center vVolBKProz, %VolBKProz%
  2027. Gui, 44: Show
  2028. }
  2029. else
  2030. {
  2031. 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.
  2032. }
  2033. }
  2034. return
  2035. VolCall:
  2036. GuiControlGet MemVol,, VolCall
  2037. VolCallProz := "" . VolCall . "%"
  2038. GuiControl,,VolCallProz, %VolCallProz%
  2039. SoundSetWaveVolume %MemVol%
  2040. SoundPlay, %Callsound%
  2041. IniWrite, %VolCall%, settings.ini, Sounds, VolCall
  2042. return
  2043. VolSMS:
  2044. GuiControlGet MemVol,, VolSMS
  2045. VolSMSProz := "" . VolSMS . "%"
  2046. GuiControl,,VolSMSProz, %VolSMSProz%
  2047. SoundSetWaveVolume %MemVol%
  2048. SoundPlay, %SMSsound%
  2049. IniWrite, %VolSMS%, settings.ini, Sounds, VolSMS
  2050. return
  2051. VolLowHP:
  2052. GuiControlGet MemVol,, VolLowHP
  2053. VolLowHPProz := "" . VolLowHP . "%"
  2054. GuiControl,,VolLowHPProz, %VolLowHPProz%
  2055. SoundSetWaveVolume %MemVol%
  2056. SoundPlay, %LowHPsound%
  2057. IniWrite, %VolLowHP%, settings.ini, Sounds, VolLowHP
  2058. return
  2059. VolBK:
  2060. GuiControlGet MemVol,, VolBK
  2061. VolBkProz := "" . VolBk . "%"
  2062. GuiControl,,VolBKProz, %VolBKProz%
  2063. SoundSetWaveVolume %MemVol%
  2064. SoundPlay, %Bksound%
  2065. IniWrite, %VolBK%, settings.ini, Sounds, VolBK
  2066. return
  2067. 41GuiClose:
  2068. Soundplay, avixa.avi
  2069. Gui, 41: Destroy
  2070. return
  2071. 42GuiClose:
  2072. Soundplay, avixa.avi
  2073. Gui, 42: Destroy
  2074. return
  2075. 43GuiClose:
  2076. Soundplay, avixa.avi
  2077. Gui, 43: Destroy
  2078. return
  2079. 44GuiClose:
  2080. Soundplay, avixa.avi
  2081. Gui, 44: Destroy
  2082. return
  2083. Ausruesten:
  2084. Gui, 3: Destroy
  2085. IniRead, Profil1_1, settings.ini, Ausruesten, Profil1_1
  2086. IniRead, Profil1_2, settings.ini, Ausruesten, Profil1_2
  2087. IniRead, Profil1_3, settings.ini, Ausruesten, Profil1_3
  2088. IniRead, Profil1_4, settings.ini, Ausruesten, Profil1_4
  2089. IniRead, Profil1_5, settings.ini, Ausruesten, Profil1_5
  2090. IniRead, Profil1_6, settings.ini, Ausruesten, Profil1_6
  2091. IniRead, Profil1_7, settings.ini, Ausruesten, Profil1_7
  2092. IniRead, Profil2_1, settings.ini, Ausruesten, Profil2_1
  2093. IniRead, Profil2_2, settings.ini, Ausruesten, Profil2_2
  2094. IniRead, Profil2_3, settings.ini, Ausruesten, Profil2_3
  2095. IniRead, Profil2_4, settings.ini, Ausruesten, Profil2_4
  2096. IniRead, Profil2_5, settings.ini, Ausruesten, Profil2_5
  2097. IniRead, Profil2_6, settings.ini, Ausruesten, Profil2_6
  2098. IniRead, Profil2_7, settings.ini, Ausruesten, Profil2_7
  2099. IniRead, Profil3_1, settings.ini, Ausruesten, Profil3_1
  2100. IniRead, Profil3_2, settings.ini, Ausruesten, Profil3_2
  2101. IniRead, Profil3_3, settings.ini, Ausruesten, Profil3_3
  2102. IniRead, Profil3_4, settings.ini, Ausruesten, Profil3_4
  2103. IniRead, Profil3_5, settings.ini, Ausruesten, Profil3_5
  2104. IniRead, Profil3_6, settings.ini, Ausruesten, Profil3_6
  2105. IniRead, Profil3_7, settings.ini, Ausruesten, Profil3_7
  2106. IniRead, UCSkin, settings.ini, Ausruesten, UCSkin
  2107. IniRead, Schutzweste, settings.ini, Ausruesten, Schutzweste
  2108. If(UCSkin == "ERROR")
  2109. {
  2110. UCSkin := ""
  2111. }
  2112. 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!
  2113. Gui, 3: Add, GroupBox, x12 y9 w830 h90 , Information
  2114. Gui, 3: Add, GroupBox, x12 y108 w830 h98 , Normale Streife
  2115. Gui, 3: Add, GroupBox, x12 y209 w830 h90 , Undercover Streife
  2116. Gui, 3: Add, Text, x22 y129 w110 h20 , Ausrüsten Profil I (F4):
  2117. Gui, 3: Add, DropDownList, x142 y127 w90 h110 vProfil1_1, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2118. Gui, 3: Add, DropDownList, x242 y127 w90 h110 vProfil1_2, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2119. Gui, 3: Add, DropDownList, x342 y127 w90 h110 vProfil1_3, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2120. Gui, 3: Add, DropDownList, x442 y127 w90 h110 vProfil1_4, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2121. Gui, 3: Add, DropDownList, x542 y127 w90 h110 vProfil1_5, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2122. Gui, 3: Add, DropDownList, x642 y127 w90 h110 vProfil1_6, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2123. Gui, 3: Add, DropDownList, x742 y127 w90 h110 vProfil1_7, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
  2124. GuiControl, 3: Choose, Profil1_1, %Profil1_1%
  2125. GuiControl, 3: Choose, Profil1_2, %Profil1_2%
  2126. GuiControl, 3: Choose, Profil1_3, %Profil1_3%
  2127. GuiControl, 3: Choose, Profil1_4, %Profil1_4%
  2128. GuiControl, 3: Choose, Profil1_5, %Profil1_5%
  2129. GuiControl, 3: Choose, Profil1_6, %Profil1_6%
  2130. GuiControl, 3: Choose, Profil1_7, %Profil1_7%
  2131. Gui, 3: Add, Text, x22 y179 w110 h20 , Ausrüsten Profil II (F5):
  2132. Gui, 3: Add, DropDownList, x142 y177 w90 h110 vProfil2_1, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2133. Gui, 3: Add, DropDownList, x242 y177 w90 h110 vProfil2_2, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2134. Gui, 3: Add, DropDownList, x342 y177 w90 h110 vProfil2_3, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2135. Gui, 3: Add, DropDownList, x442 y177 w90 h110 vProfil2_4, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2136. Gui, 3: Add, DropDownList, x542 y177 w90 h110 vProfil2_5, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2137. Gui, 3: Add, DropDownList, x642 y177 w90 h110 vProfil2_6, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2138. Gui, 3: Add, DropDownList, x742 y177 w90 h110 vProfil2_7, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2139. GuiControl, 3: Choose, Profil2_1, %Profil2_1%
  2140. GuiControl, 3: Choose, Profil2_2, %Profil2_2%
  2141. GuiControl, 3: Choose, Profil2_3, %Profil2_3%
  2142. GuiControl, 3: Choose, Profil2_4, %Profil2_4%
  2143. GuiControl, 3: Choose, Profil2_5, %Profil2_5%
  2144. GuiControl, 3: Choose, Profil2_6, %Profil2_6%
  2145. GuiControl, 3: Choose, Profil2_7, %Profil2_7%
  2146. Gui, 3: Add, Text, x22 y229 w110 h20 , UC-Profil (F6):
  2147. Gui, 3: Add, DropDownList, x142 y227 w90 h110 vProfil3_1, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2148. Gui, 3: Add, DropDownList, x242 y227 w90 h110 vProfil3_2, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2149. Gui, 3: Add, DropDownList, x342 y227 w90 h110 vProfil3_3, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2150. Gui, 3: Add, DropDownList, x442 y227 w90 h110 vProfil3_4, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2151. Gui, 3: Add, DropDownList, x542 y227 w90 h110 vProfil3_5, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2152. Gui, 3: Add, DropDownList, x642 y227 w90 h110 vProfil3_6, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2153. Gui, 3: Add, DropDownList, x742 y227 w90 h110 vProfil3_7, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
  2154. GuiControl, 3: Choose, Profil3_1, %Profil3_1%
  2155. GuiControl, 3: Choose, Profil3_2, %Profil3_2%
  2156. GuiControl, 3: Choose, Profil3_3, %Profil3_3%
  2157. GuiControl, 3: Choose, Profil3_4, %Profil3_4%
  2158. GuiControl, 3: Choose, Profil3_5, %Profil3_5%
  2159. GuiControl, 3: Choose, Profil3_6, %Profil3_6%
  2160. GuiControl, 3: Choose, Profil3_7, %Profil3_7%
  2161. Gui, 3: Add, Text, x142 y269 w90 h20 , UC-Skin (1-XX):
  2162. Gui, 3: Add, Edit, x242 y267 w110 h20 vUCSkin, %UCSkin%
  2163. Gui, 3: Add, CheckBox, x402 y267 w120 h20 vSchutzweste Checked%Schutzweste%, Schutzweste?
  2164. Gui, 3: Add, Button, x358 y305 w150 h40 gSpeichern2, Speichern
  2165. Gui, 3: Show, w867 h358, Ausrüsten
  2166. return
  2167. Speichern2:
  2168. GuiControlGet, Profil1_1
  2169. GuiControlGet, Profil1_2
  2170. GuiControlGet, Profil1_3
  2171. GuiControlGet, Profil1_4
  2172. GuiControlGet, Profil1_5
  2173. GuiControlGet, Profil1_6
  2174. GuiControlGet, Profil1_7
  2175. GuiControlGet, Profil2_1
  2176. GuiControlGet, Profil2_2
  2177. GuiControlGet, Profil2_3
  2178. GuiControlGet, Profil2_4
  2179. GuiControlGet, Profil2_5
  2180. GuiControlGet, Profil2_6
  2181. GuiControlGet, Profil2_7
  2182. GuiControlGet, Profil3_1
  2183. GuiControlGet, Profil3_2
  2184. GuiControlGet, Profil3_3
  2185. GuiControlGet, Profil3_4
  2186. GuiControlGet, Profil3_5
  2187. GuiControlGet, Profil3_6
  2188. GuiControlGet, Profil3_7
  2189. GuiControlGet, UCSkin
  2190. GuiControlGet, Schutzweste
  2191. IniWrite, %Profil1_1%, settings.ini, Ausruesten, Profil1_1
  2192. IniWrite, %Profil1_2%, settings.ini, Ausruesten, Profil1_2
  2193. IniWrite, %Profil1_3%, settings.ini, Ausruesten, Profil1_3
  2194. IniWrite, %Profil1_4%, settings.ini, Ausruesten, Profil1_4
  2195. IniWrite, %Profil1_5%, settings.ini, Ausruesten, Profil1_5
  2196. IniWrite, %Profil1_6%, settings.ini, Ausruesten, Profil1_6
  2197. IniWrite, %Profil1_7%, settings.ini, Ausruesten, Profil1_7
  2198. IniWrite, %Profil2_1%, settings.ini, Ausruesten, Profil2_1
  2199. IniWrite, %Profil2_2%, settings.ini, Ausruesten, Profil2_2
  2200. IniWrite, %Profil2_3%, settings.ini, Ausruesten, Profil2_3
  2201. IniWrite, %Profil2_4%, settings.ini, Ausruesten, Profil2_4
  2202. IniWrite, %Profil2_5%, settings.ini, Ausruesten, Profil2_5
  2203. IniWrite, %Profil2_6%, settings.ini, Ausruesten, Profil2_6
  2204. IniWrite, %Profil2_7%, settings.ini, Ausruesten, Profil2_7
  2205. IniWrite, %Profil3_1%, settings.ini, Ausruesten, Profil3_1
  2206. IniWrite, %Profil3_2%, settings.ini, Ausruesten, Profil3_2
  2207. IniWrite, %Profil3_3%, settings.ini, Ausruesten, Profil3_3
  2208. IniWrite, %Profil3_4%, settings.ini, Ausruesten, Profil3_4
  2209. IniWrite, %Profil3_5%, settings.ini, Ausruesten, Profil3_5
  2210. IniWrite, %Profil3_6%, settings.ini, Ausruesten, Profil3_6
  2211. IniWrite, %Profil3_7%, settings.ini, Ausruesten, Profil3_7
  2212. IniWrite, %UCSkin%, settings.ini, Ausruesten, UCSkin
  2213. IniWrite, %Schutzweste%, settings.ini, Ausruesten, Schutzweste
  2214. IniRead, Profil1_1, settings.ini, Ausruesten, Profil1_1
  2215. IniRead, Profil1_2, settings.ini, Ausruesten, Profil1_2
  2216. IniRead, Profil1_3, settings.ini, Ausruesten, Profil1_3
  2217. IniRead, Profil1_4, settings.ini, Ausruesten, Profil1_4
  2218. IniRead, Profil1_5, settings.ini, Ausruesten, Profil1_5
  2219. IniRead, Profil1_6, settings.ini, Ausruesten, Profil1_6
  2220. IniRead, Profil1_7, settings.ini, Ausruesten, Profil1_7
  2221. IniRead, Profil2_1, settings.ini, Ausruesten, Profil2_1
  2222. IniRead, Profil2_2, settings.ini, Ausruesten, Profil2_2
  2223. IniRead, Profil2_3, settings.ini, Ausruesten, Profil2_3
  2224. IniRead, Profil2_4, settings.ini, Ausruesten, Profil2_4
  2225. IniRead, Profil2_5, settings.ini, Ausruesten, Profil2_5
  2226. IniRead, Profil2_6, settings.ini, Ausruesten, Profil2_6
  2227. IniRead, Profil2_7, settings.ini, Ausruesten, Profil2_7
  2228. IniRead, Profil3_1, settings.ini, Ausruesten, Profil3_1
  2229. IniRead, Profil3_2, settings.ini, Ausruesten, Profil3_2
  2230. IniRead, Profil3_3, settings.ini, Ausruesten, Profil3_3
  2231. IniRead, Profil3_4, settings.ini, Ausruesten, Profil3_4
  2232. IniRead, Profil3_5, settings.ini, Ausruesten, Profil3_5
  2233. IniRead, Profil3_6, settings.ini, Ausruesten, Profil3_6
  2234. IniRead, Profil3_7, settings.ini, Ausruesten, Profil3_7
  2235. IniRead, UCSkin, settings.ini, Ausruesten, UCSkin
  2236. IniRead, Schutzweste, settings.ini, Ausruesten, Schutzweste
  2237. MsgBox, 64, , Gespeichert.
  2238. Gui, 3: Destroy
  2239. return
  2240. Speichern:
  2241. GuiControlGet, Fraktion
  2242. GuiControlGet, Abteilung
  2243. GuiControlGet, Swatabteilung
  2244. GuiControlGet, Laptop
  2245. GuiControlGet, Lock
  2246. GuiControlGet, Chatlogsaver
  2247. GuiControlGet, TankZoll
  2248. Gui, 5: Submit
  2249. Gui, 7: Submit
  2250. if(Chatlogsaver == 1)
  2251. {
  2252. SetTimer, Chatlog, Off
  2253. SetTimer, Chatlog, 500
  2254. }
  2255. IniWrite, %Fraktion%, settings.ini, Daten, Fraktion
  2256. IniWrite, %Abteilung%, settings.ini, Daten, Abteilung
  2257. IniWrite, %Swatabteilung%, settings.ini, Daten, Swatabteilung
  2258. IniWrite, %Laptop%, settings.ini, Daten, Laptop
  2259. IniWrite, %Lock%, settings.ini, Daten, Lock
  2260. IniWrite, %Chatlogsaver%, settings.ini, Daten, Chatlogsaver
  2261. IniWrite, %TankZoll%, settings.ini, Daten, TankZoll
  2262. IniRead, Fraktion, settings.ini, Daten, Fraktion
  2263. IniRead, Abteilung, settings.ini, Daten, Abteilung
  2264. IniRead, Swatabteilung, settings.ini, Daten, Swatabteilung
  2265. IniRead, Laptop, settings.ini, Daten, Laptop
  2266. IniRead, Lock, settings.ini, Daten, Lock
  2267. IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
  2268. IniRead, TankZoll, settings.ini, Daten, TankZoll
  2269. IniRead, CheckCall, settings.ini, Sounds, CheckCall
  2270. IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
  2271. IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
  2272. IniRead, CheckBK, settings.ini, Sounds, CheckBK
  2273. IniRead, Callsound, settings.ini, Sounds, Callsound
  2274. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  2275. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  2276. IniRead, BKsound, settings.ini, Sounds, BKsound
  2277. IniRead, VolCall, settings.ini, Sounds, VolCall
  2278. IniRead, VolSMS, settings.ini, Sounds, VolSMS
  2279. IniRead, VolLowHP,settings.ini, Sounds, VolLowHP
  2280. IniRead, VolBk, settings.ini, Sounds, VolBK
  2281. loop, %Binds%
  2282. {
  2283. IniWrite, % Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%
  2284. IniWrite, % Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%
  2285. IniWrite, % SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%
  2286. }
  2287. IniWrite, %xBind1%, %Hotkeys%, Maus, xBind1
  2288. IniWrite, %xBind2%, %Hotkeys%, Maus, xBind2
  2289. IniWrite, %wBind1%, %Hotkeys%, Maus, wBind1
  2290. IniWrite, %wBind2%, %Hotkeys%, Maus, wBind2
  2291. IniRead, xBind1, %Hotkeys%, Maus, xBind1, %A_Space%
  2292. IniRead, xBind2, %Hotkeys%, Maus, xBind2, %A_Space%
  2293. IniRead, wBind1, %Hotkeys%, Maus, wBind1, %A_Space%
  2294. IniRead, wBind2, %Hotkeys%, Maus, wBind2, %A_Space%
  2295. loop, %Binds%
  2296. {
  2297. IniRead, Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%, %A_Space%
  2298. IniRead, Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%, %A_Space%
  2299. IfNotEqual, Key%A_Index%,, Hotkey, % Key%A_Index%, Key%A_Index%
  2300. IniRead, SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%, 0
  2301. }
  2302. CustomBindsGui:
  2303. Gui, 5: Submit
  2304. Gui, 5: Destroy
  2305. IniRead, xBind1, %Hotkeys%, Maus, xBind1, %A_Space%
  2306. IniRead, xBind2, %Hotkeys%, Maus, xBind2, %A_Space%
  2307. IniRead, wBind1, %Hotkeys%, Maus, wBind1, %A_Space%
  2308. IniRead, wBind2, %Hotkeys%, Maus, wBind2, %A_Space%
  2309. loop, %Binds%
  2310. {
  2311. IniRead, Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%, %A_Space%
  2312. IniRead, Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%, %A_Space%
  2313. IfNotEqual, Key%A_Index%,, Hotkey, % Key%A_Index%, Key%A_Index%
  2314. IniRead, SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%, 0
  2315. }
  2316. Gui, 5: Add, Tab2, x5 y5 h375 w655 +Theme -Background -Wrap, Hotkeys|Maustasten
  2317. Gui, 5:Tab, Hotkeys
  2318. Gui, 5:Add, GroupBox, x325 y50 h200 w1
  2319. Gui, 5:Font, underline
  2320. Gui, 5:Add, Text, x10 y30 h20, Taste
  2321. Gui, 5:Add, Text, x140 y30 h20, Aktion
  2322. Gui, 5:Add, Text, x340 y30 h20, Taste
  2323. Gui, 5:Add, Text, x470 y30 h20, Aktion
  2324. Gui, 5: Add, Text, x245 y30 h20, Direkt Senden
  2325. Gui, 5: Add, Text, x580 y30 h20, Direkt Senden
  2326. Gui, 5: Font
  2327. Gui, 5: Add, Hotkey, x10 y50 w120 h20 vKey1 Checked%Key1%, %Key1%
  2328. Gui, 5: Add, Edit, x140 y50 w120 h20 vBind1, %Bind1%
  2329. Gui, 5: Add, Hotkey, x10 y75 w120 h20 vKey2 Checked%Key2%, %Key2%
  2330. Gui, 5: Add, Edit, x140 y75 w120 h20 vBind2, %Bind2%
  2331. Gui, 5: Add, Hotkey, x10 y100 w120 h20 vKey3 Checked%Key3%, %Key3%
  2332. Gui, 5: Add, Edit, x140 y100 w120 h20 vBind3, %Bind3%
  2333. Gui, 5: Add, Hotkey, x10 y125 w120 h20 vKey4 Checked%Key4%, %Key4%
  2334. Gui, 5: Add, Edit, x140 y125 w120 h20 vBind4, %Bind4%
  2335. Gui, 5: Add, Hotkey, x10 y150 w120 h20 vKey5 Checked%Key5%, %Key5%
  2336. Gui, 5: Add, Edit, x140 y150 w120 h20 vBind5, %Bind5%
  2337. Gui, 5: Add, Hotkey, x10 y175 w120 h20 vKey6 Checked%Ke6%, %Key6%
  2338. Gui, 5: Add, Edit, x140 y175 w120 h20 vBind6, %Bind6%
  2339. Gui, 5: Add, Hotkey, x10 y200 w120 h20 vKey7 Checked%Key7%, %Key7%
  2340. Gui, 5: Add, Edit, x140 y200 w120 h20 vBind7, %Bind7%
  2341. Gui, 5: Add, Hotkey, x10 y225 w120 h20 vKey8 Checked%Key8%, %Key8%
  2342. Gui, 5: Add, Edit, x140 y225 w120 h20 vBind8, %Bind8%
  2343. Gui, 5: Add, Hotkey, x10 y250 w120 h20 vKey9 Checked%Key9%, %Key9%
  2344. Gui, 5: Add, Edit, x140 y250 w120 h20 vBind9, %Bind9%
  2345. Gui, 5: Add, Hotkey, x10 y275 w120 h20 vKey10 Checked%Key10%, %Key10%
  2346. Gui, 5: Add, Edit, x140 y275 w120 h20 vBind10, %Bind10%
  2347. Gui, 5: Add, Hotkey, x10 y300 w120 h20 vKey11 Checked%Key11%, %Key11%
  2348. Gui, 5: Add, Edit, x140 y300 w120 h20 vBind11, %Bind111%
  2349. Gui, 5: Add, Hotkey, x10 y325 w120 h20 vKey12 Checked%Key12%, %Key12%
  2350. Gui, 5: Add, Edit, x140 y325 w120 h20 vBind12, %Bind12%
  2351. Gui, 5: Add, Hotkey, x10 y350 w120 h20 vKey13 Checked%Key13%, %Key13%
  2352. Gui, 5: Add, Edit, x140 y350 w120 h20 vBind13, %Bind13%
  2353. Gui, 5: Add, Hotkey, x340 y50 w120 h20 vKey14 Checked%Key14%, %Key14%
  2354. Gui, 5: Add, Edit, x470 y50 w120 h20 vBind14, %Bind14%
  2355. Gui, 5: Add, Hotkey, x340 y75 w120 h20 vKey15 Checked%Key15%, %Key15%
  2356. Gui, 5: Add, Edit, x470 y75 w120 h20 vBind15, %Bind15%
  2357. Gui, 5: Add, Hotkey, x340 y100 w120 h20 vKey16 Checked%Key16%, %Key16%
  2358. Gui, 5: Add, Edit, x470 y100 w120 h20 vBind16, %Bind16%
  2359. Gui, 5: Add, Hotkey, x340 y125 w120 h20 vKey17 Checked%Key17%, %Key17%
  2360. Gui, 5: Add, Edit, x470 y125 w120 h20 vBind17, %Bind17%
  2361. Gui, 5: Add, Hotkey, x340 y150 w120 h20 vKey18 Checked%Key18%, %Key18%
  2362. Gui, 5: Add, Edit, x470 y150 w120 h20 vBind18, %Bind18%
  2363. Gui, 5: Add, Hotkey, x340 y175 w120 h20 vKey19 Checked%Key19%, %Key19%
  2364. Gui, 5: Add, Edit, x470 y175 w120 h20 vBind19, %Bind19%
  2365. Gui, 5: Add, Hotkey, x340 y200 w120 h20 vKey20 Checked%Key20%, %Key20%
  2366. Gui, 5: Add, Edit, x470 y200 w120 h20 vBind20, %Bind20%
  2367. Gui, 5: Add, Hotkey, x340 y225 w120 h20 vKey21 Checked%Key21%, %Key21%
  2368. Gui, 5: Add, Edit, x470 y225 w120 h20 vBind21, %Bind21%
  2369. Gui, 5: Add, Hotkey, x340 y250 w120 h20 vKey22 Checked%Key22%, %Key22%
  2370. Gui, 5: Add, Edit, x470 y250 w120 h20 vBind22, %Bind22%
  2371. Gui, 5: Add, Hotkey, x340 y275 w120 h20 vKey23 Checked%Key23%, %Key23%
  2372. Gui, 5: Add, Edit, x470 y275 w120 h20 vBind23, %Bind23%
  2373. Gui, 5: Add, Hotkey, x340 y300 w120 h20 vKey24 Checked%Key24%, %Key24%
  2374. Gui, 5: Add, Edit, x470 y300 w120 h20 vBind24, %Bind22%
  2375. Gui, 5: Add, Hotkey, x340 y325 w120 h20 vKey25 Checked%Key25%, %Key25%
  2376. Gui, 5: Add, Edit, x470 y325 w120 h20 vBind25, %Bind25%
  2377. Gui, 5: Add, Hotkey, x340 y350 w120 h20 vKey26 Checked%Key26%, %Key26%
  2378. Gui, 5: Add, Edit, x470 y350 w120 h20 vBind26, %Bind26%
  2379. Gui, 5: Font, norm
  2380. Gui, 5: Add, CheckBox, x270 y52 +BackgroundTrans vSendenKey1 Checked%SendenKey1%,
  2381. Gui, 5: Add, CheckBox, x270 y77 +BackgroundTrans vSendenKey2 Checked%SendenKey2%,
  2382. Gui, 5: Add, CheckBox, x270 y102 +BackgroundTrans vSendenKey3 Checked%SendenKey3%,
  2383. Gui, 5: Add, CheckBox, x270 y127 +BackgroundTrans vSendenKey4 Checked%SendenKey4%,
  2384. Gui, 5: Add, CheckBox, x270 y152 +BackgroundTrans vSendenKey5 Checked%SendenKey5%,
  2385. Gui, 5: Add, CheckBox, x270 y177 +BackgroundTrans vSendenKey6 Checked%SendenKey6%,
  2386. Gui, 5: Add, CheckBox, x270 y202 +BackgroundTrans vSendenKey7 Checked%SendenKey7%,
  2387. Gui, 5: Add, CheckBox, x270 y227 +BackgroundTrans vSendenKey8 Checked%SendenKey8%,
  2388. Gui, 5: Add, CheckBox, x270 y252 +BackgroundTrans vSendenKey9 Checked%SendenKey9%,
  2389. Gui, 5: Add, CheckBox, x270 y277 +BackgroundTrans vSendenKey10 Checked%SendenKey10%,
  2390. Gui, 5: Add, CheckBox, x270 y302 +BackgroundTrans vSendenKey11 Checked%SendenKey11%,
  2391. Gui, 5: Add, CheckBox, x270 y327 +BackgroundTrans vSendenKey12 Checked%SendenKey12%,
  2392. Gui, 5: Add, CheckBox, x270 y352 +BackgroundTrans vSendenKey13 Checked%SendenKey13%,
  2393. Gui, 5: Add, CheckBox, x600 y52 +BackgroundTrans vSendenKey14 Checked%SendenKey14%,
  2394. Gui, 5: Add, CheckBox, x600 y77 +BackgroundTrans vSendenKey15 Checked%SendenKey15%,
  2395. Gui, 5: Add, CheckBox, x600 y102 +BackgroundTrans vSendenKey16 Checked%SendenKey16%,
  2396. Gui, 5: Add, CheckBox, x600 y127 +BackgroundTrans vSendenKey17 Checked%SendenKey17%,
  2397. Gui, 5: Add, CheckBox, x600 y152 +BackgroundTrans vSendenKey18 Checked%SendenKey18%,
  2398. Gui, 5: Add, CheckBox, x600 y177 +BackgroundTrans vSendenKey19 Checked%SendenKey19%,
  2399. Gui, 5: Add, CheckBox, x600 y202 +BackgroundTrans vSendenKey20 Checked%SendenKey20%,
  2400. Gui, 5: Add, CheckBox, x600 y227 +BackgroundTrans vSendenKey21 Checked%SendenKey21%,
  2401. Gui, 5: Add, CheckBox, x600 y252 +BackgroundTrans vSendenKey22 Checked%SendenKey22%,
  2402. Gui, 5: Add, CheckBox, x600 y277 +BackgroundTrans vSendenKey23 Checked%SendenKey23%,
  2403. Gui, 5: Add, CheckBox, x600 y302 +BackgroundTrans vSendenKey24 Checked%SendenKey24%,
  2404. Gui, 5: Add, CheckBox, x600 y327 +BackgroundTrans vSendenKey25 Checked%SendenKey25%,
  2405. Gui, 5: Add, CheckBox, x600 y352 +BackgroundTrans vSendenKey26 Checked%SendenKey26%,
  2406. Gui, 5: Tab, Maustasten
  2407. Gui, 5: Font, underline
  2408. Gui, 5: Add, Text, x10 y30 h20, Taste
  2409. Gui, 5: Add, Text, x140 y30 h20, Aktion
  2410. Gui, 5: Add, Text, x300 y30 h20, Taste
  2411. Gui, 5: Add, Text, x430 y30 h20, Aktion
  2412. Gui, 5: Font
  2413. Gui, 5: Add, Text, x10 y50, Maustaste 4
  2414. Gui, 5: Add, Edit, x140 y50 w130 h20 vxBind1, %xBind1%
  2415. Gui, 5: Add, Text, x300 y50, Maustaste 5
  2416. Gui, 5: Add, Edit, x430 y50 w130 h20 vxBind2, %xBind2%
  2417. Gui, 5: Add, Text, x10 y75, Mausrad links kippen
  2418. Gui, 5: Add, Edit, x140 y75 w130 h20 vwBind1, %wBind1%
  2419. Gui, 5: Add, Text, x300 y75, Mausrad rechts kippen
  2420. Gui, 5: Add, Edit, x430 y75 w130 h20 vwBind2, %wBind2%
  2421. Menu, MenuBar, Add, &Speichern, Speichern
  2422. Menu, MenuBar, Add, &Informationen, Hotkeys_Informationen
  2423. Gui, 5: Menu, MenuBar
  2424. return
  2425. Hotkeys_Informationen:
  2426. 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
  2427. return
  2428. Druck:
  2429. IfExist, Druckversion.txt
  2430. {
  2431. FileDelete, Druckversion.txt
  2432. }
  2433. FileAppend, Belegungen`n %Belegungen%`n`n%Vergaben%`n`nLaptopModus `n%LaptopModus%`n`nAdmin-Befehle `n%AdminBefehle%, Druckversion.txt
  2434. MsgBox, 64, Druckversion, Die Druckversion befindet sich nun im Ordner des Keybinders.
  2435. return
  2436. chatlog:
  2437. WinWait, GTA:SA:MP
  2438. WinWaitClose, GTA:SA:MP
  2439. FileCreateDir, %A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups
  2440. FormatTime, zeit,%A_Now%,dd.MM HH_mm
  2441. FileCopy,%A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog.txt,%A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups\Chatlog_%zeit%.txt,0
  2442. return
  2443. _GtaCheck:
  2444. Process , exist, gta_sa.exe
  2445. GtaPid := ErrorLevel
  2446. if (GtaPid != 0)
  2447. {
  2448. if(GtaCheckTrue == "0")
  2449. {
  2450. GtaCheckTrue := "1"
  2451. if (Chatlogsaver == 1)
  2452. {
  2453. SetTimer, chatlog, off
  2454. SetTimer, chatlog, 500
  2455. }
  2456. else
  2457. {
  2458. SetTimer, chatlog, off
  2459. }
  2460. }
  2461. }
  2462. else
  2463. {
  2464. GtaCheckTrue := "0"
  2465. }
  2466. return
  2467. ChatLine(firstline, instr, lines=5){
  2468. loop, %lines%
  2469. {
  2470. GetChatLine(firstline + (A_Index - 1), chat)
  2471. if(InStr(chat, instr))
  2472. return chat
  2473. }
  2474. return
  2475. }
  2476. IsPlayerInRangeOfPoint_fast(x, y, z, r)
  2477. {
  2478. static pos_x, pos_y, pos_z, lastcalled
  2479. if(lastcalled < A_TickCount - 150){
  2480. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  2481. lastcalled := A_TickCount
  2482. }
  2483. d := sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  2484. if(d < r)
  2485. return 1
  2486. return 0
  2487. }
  2488. IsPlayerInRangeOfPoint2D_fast(x, y, r){
  2489. static pos_x, pos_y, lastcalled
  2490. if(lastcalled < A_TickCount - 150){
  2491. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  2492. lastcalled := A_TickCount
  2493. }
  2494. d := sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
  2495. if(d < r)
  2496. return 1
  2497. return 0
  2498. }
  2499. GetDistanceFromPoint(x, y, z)
  2500. {
  2501. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  2502. return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  2503. }
  2504. GetDistancebetween(x, y, z, pos_x, pos_y, pos_z)
  2505. {
  2506. return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
  2507. }
  2508. GetDistanceFromPoint2D(x, y){
  2509. GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
  2510. return sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
  2511. }
  2512. +T::
  2513. ~t::
  2514. Suspend On
  2515. Hotkey, Enter, On
  2516. Hotkey, Escape, On
  2517. Hotkey, t, Off
  2518. if(SpeedCheckStatus == 1)
  2519. {
  2520. Send {backspace}
  2521. Send {backspace}
  2522. }
  2523. return
  2524. ~Enter::
  2525. ~NumpadEnter::
  2526. Suspend Permit
  2527. Suspend Off
  2528. Hotkey, t, On
  2529. Hotkey, Enter, Off
  2530. Hotkey, Escape, Off
  2531. if(IsChatOpen() == 1 || IsDialogOpen == 1)
  2532. return
  2533. if(Menu_Overlay || Menu_HP || Menu_AP)
  2534. {
  2535. if Switcher = 6
  2536. {
  2537. IniWrite, %Overlay_size%, Overlay.ini, Status Overlay, Overlay_size
  2538. IniWrite, %Overlay_posx%, Overlay.ini, Status Overlay, Overlay_posx
  2539. IniWrite, %Overlay_posy%, Overlay.ini, Status Overlay, Overlay_posy
  2540. IniWrite, %HP_size%, Overlay.ini, HP Overlay, HP_size
  2541. IniWrite, %HP_posx%, Overlay.ini, HP Overlay, HP_posx
  2542. IniWrite, %HP_posy%, Overlay.ini, HP Overlay, HP_posy
  2543. IniWrite, %AP_size%, Overlay.ini, AP Overlay, AP_size
  2544. IniWrite, %AP_posx%, Overlay.ini, AP Overlay, AP_posx
  2545. IniWrite, %AP_posy%, Overlay.ini, AP Overlay, AP_posy
  2546. TextSetString(boxtext6,"Einstellungen gespeichert")
  2547. TextSetColor(boxtext6,0xFF4DFF55)
  2548. sleep 1000
  2549. Menu_Overlay := 0
  2550. Menu_HP := 0
  2551. Menu_AP := 0
  2552. Loop 6
  2553. {
  2554. BoxSetShown(Box%A_INDex%, false)
  2555. TextSetShown(boxtext%A_index%,false)
  2556. }
  2557. TextSetColor(boxtext6,0x00BFFFFF)
  2558. }
  2559. }
  2560. return
  2561. ~Escape::
  2562. Suspend Permit
  2563. Suspend Off
  2564. SendInput {Escape}
  2565. Hotkey, t, On
  2566. Hotkey, Enter, Off
  2567. Hotkey, Escape, Off
  2568. return
  2569. return
  2570. PlayerInput(text)
  2571. {
  2572. s := A_IsSuspended
  2573. Suspend On
  2574. KeyWait Enter
  2575. SendInput t^a{backspace}%text%
  2576. Input, var, v, {enter}
  2577. SendInput ^a{backspace}{enter}
  2578. if(!s)
  2579. Suspend Off
  2580. return var
  2581. }
  2582. GetPlayerSpeed()
  2583. {
  2584. exe := OpenMemoryfromTitle_("GTA:SA:MP")
  2585. pointer := ReadMemory_(exe, 0xBA18FC)
  2586. speedX := ReadMemory_(exe, pointer+68,"Float")
  2587. speedY := ReadMemory_(exe,pointer+72,"Float")
  2588. speedZ := ReadMemory_(exe, pointer+76,"Float")
  2589. CloseMemory_(exe)
  2590. speed := (((speedX * speedX) + (speedY * speedY) + (speedZ * speedZ))**(1/2))
  2591. speed := speed * 160.9344
  2592. speed := floor(speed)
  2593. return speed
  2594. }
  2595. OpenMemoryfromTitle_(title,right=0x1F0FFF)
  2596. {
  2597. WinGet,PID,PID,%title%
  2598. HWND := DllCall("OpenProcess","Uint",right,"int",0,"int",PID)
  2599. return HWND
  2600. }
  2601. CloseMemory_(hwnd)
  2602. {
  2603. return DllCall("CloseHandle", "int", hwnd)
  2604. }
  2605. ReadMemory_(hwnd,address,datatype="int",length=4,offset=0)
  2606. {
  2607. VarSetCapacity(readvalue,length, 0)
  2608. DllCall("ReadProcessMemory","Uint",hwnd,"Uint",address+offset,"Str",readvalue,"Uint",length,"Uint *",0)
  2609. finalvalue := NumGet(readvalue,0,datatype)
  2610. return finalvalue
  2611. }
  2612. IsPlayerInNoDM(x, y, z)
  2613. {
  2614. result := ""
  2615. if(x<1561.5 && x>1387.8 && y<-1727.6 && y>-1870)
  2616. {
  2617. result := 1
  2618. }
  2619. else if(x>1688.8 && x<1820.8 && y<-1859.5 && y>-1961.2)
  2620. {
  2621. result := 1
  2622. }
  2623. return result
  2624. }
  2625. GetCityByCoords(posX, posY, posZ)
  2626. {
  2627. if (posX >= 685.0) and (posY >= 476.093) and (posZ >= -500.0) and (posX <= 3000.0) and (posY <= 3000.0) and (posZ <= 500.0)
  2628. {
  2629. CityName := "Las Venturas"
  2630. }
  2631. 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)
  2632. {
  2633. CityName := "San Fierro"
  2634. }
  2635. 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)
  2636. {
  2637. CityName := "San Fierro"
  2638. }
  2639. 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)
  2640. {
  2641. CityName := "San Fierro"
  2642. }
  2643. 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)
  2644. {
  2645. CityName := "Los Santos"
  2646. }
  2647. 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)
  2648. {
  2649. CityName := "Los Santos"
  2650. }
  2651. 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)
  2652. {
  2653. CityName := "Tierra Robada"
  2654. }
  2655. 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)
  2656. {
  2657. CityName := "Red County"
  2658. }
  2659. 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)
  2660. {
  2661. CityName := "Flint County"
  2662. }
  2663. 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)
  2664. {
  2665. CityName := "Whetstone"
  2666. }
  2667. else
  2668. {
  2669. CityName := "Unbekannt"
  2670. }
  2671. return CityName
  2672. }
  2673. GetZoneByCoords(posX, posY, posZ)
  2674. {
  2675. if (posX >= -2667.810) and (posY >= -302.135) and (posZ >= -28.831) and (posX <= -2646.400) and (posY <= -262.320) and (posZ <= 71.169)
  2676. {
  2677. ZoneName := "Avispa Country Club"
  2678. }
  2679. 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)
  2680. {
  2681. ZoneName := "Easter Bay Airport"
  2682. }
  2683. 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)
  2684. {
  2685. ZoneName := "Avispa Country Club"
  2686. }
  2687. 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)
  2688. {
  2689. ZoneName := "Easter Bay Airport"
  2690. }
  2691. 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)
  2692. {
  2693. ZoneName := "Garcia"
  2694. }
  2695. 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)
  2696. {
  2697. ZoneName := "Shady Cabin"
  2698. }
  2699. 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)
  2700. {
  2701. ZoneName := "East Los Santos"
  2702. }
  2703. 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)
  2704. {
  2705. ZoneName := "LVA Freight Depot"
  2706. }
  2707. 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)
  2708. {
  2709. ZoneName := "Blackfield Intersection"
  2710. }
  2711. 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)
  2712. {
  2713. ZoneName := "Avispa Country Club"
  2714. }
  2715. 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)
  2716. {
  2717. ZoneName := "Temple"
  2718. }
  2719. 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)
  2720. {
  2721. ZoneName := "Unity Station"
  2722. }
  2723. 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)
  2724. {
  2725. ZoneName := "LVA Freight Depot"
  2726. }
  2727. 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)
  2728. {
  2729. ZoneName := "Los Flores"
  2730. }
  2731. 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)
  2732. {
  2733. ZoneName := "Starfish Casino"
  2734. }
  2735. 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)
  2736. {
  2737. ZoneName := "Easter Bay Chemicals"
  2738. }
  2739. 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)
  2740. {
  2741. ZoneName := "Downtown Los Santos"
  2742. }
  2743. 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)
  2744. {
  2745. ZoneName := "Esplanade East"
  2746. }
  2747. 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)
  2748. {
  2749. ZoneName := "Market Station"
  2750. }
  2751. 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)
  2752. {
  2753. ZoneName := "Linden Station"
  2754. }
  2755. 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)
  2756. {
  2757. ZoneName := "Montgomery Intersection"
  2758. }
  2759. 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)
  2760. {
  2761. ZoneName := "Frederick Bridge"
  2762. }
  2763. 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)
  2764. {
  2765. ZoneName := "Yellow Bell Station"
  2766. }
  2767. 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)
  2768. {
  2769. ZoneName := "Downtown Los Santos"
  2770. }
  2771. 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)
  2772. {
  2773. ZoneName := "Jefferson"
  2774. }
  2775. 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)
  2776. {
  2777. ZoneName := "Mulholland"
  2778. }
  2779. 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)
  2780. {
  2781. ZoneName := "Avispa Country Club"
  2782. }
  2783. 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)
  2784. {
  2785. ZoneName := "Jefferson"
  2786. }
  2787. 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)
  2788. {
  2789. ZoneName := "Julius Thruway West"
  2790. }
  2791. 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)
  2792. {
  2793. ZoneName := "Jefferson"
  2794. }
  2795. 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)
  2796. {
  2797. ZoneName := "Julius Thruway North"
  2798. }
  2799. 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)
  2800. {
  2801. ZoneName := "Rodeo"
  2802. }
  2803. 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)
  2804. {
  2805. ZoneName := "Cranberry Station"
  2806. }
  2807. 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)
  2808. {
  2809. ZoneName := "Downtown Los Santos"
  2810. }
  2811. 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)
  2812. {
  2813. ZoneName := "Redsands West"
  2814. }
  2815. 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)
  2816. {
  2817. ZoneName := "Little Mexico"
  2818. }
  2819. 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)
  2820. {
  2821. ZoneName := "Blackfield Intersection"
  2822. }
  2823. 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)
  2824. {
  2825. ZoneName := "Los Santos International"
  2826. }
  2827. 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)
  2828. {
  2829. ZoneName := "Beacon Hill"
  2830. }
  2831. 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)
  2832. {
  2833. ZoneName := "Rodeo"
  2834. }
  2835. 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)
  2836. {
  2837. ZoneName := "Richman"
  2838. }
  2839. 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)
  2840. {
  2841. ZoneName := "Downtown Los Santos"
  2842. }
  2843. 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)
  2844. {
  2845. ZoneName := "The Strip"
  2846. }
  2847. 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)
  2848. {
  2849. ZoneName := "Downtown Los Santos"
  2850. }
  2851. 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)
  2852. {
  2853. ZoneName := "Blackfield Intersection"
  2854. }
  2855. 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)
  2856. {
  2857. ZoneName := "Conference Center"
  2858. }
  2859. 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)
  2860. {
  2861. ZoneName := "Montgomery"
  2862. }
  2863. 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)
  2864. {
  2865. ZoneName := "Foster Valley"
  2866. }
  2867. 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)
  2868. {
  2869. ZoneName := "Blackfield Chapel"
  2870. }
  2871. 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)
  2872. {
  2873. ZoneName := "Los Santos International"
  2874. }
  2875. 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)
  2876. {
  2877. ZoneName := "Mulholland"
  2878. }
  2879. 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)
  2880. {
  2881. ZoneName := "Yellow Bell Gol Course"
  2882. }
  2883. 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)
  2884. {
  2885. ZoneName := "The Strip"
  2886. }
  2887. 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)
  2888. {
  2889. ZoneName := "Jefferson"
  2890. }
  2891. 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)
  2892. {
  2893. ZoneName := "Mulholland"
  2894. }
  2895. 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)
  2896. {
  2897. ZoneName := "Aldea Malvada"
  2898. }
  2899. 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)
  2900. {
  2901. ZoneName := "Las Colinas"
  2902. }
  2903. 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)
  2904. {
  2905. ZoneName := "Las Colinas"
  2906. }
  2907. 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)
  2908. {
  2909. ZoneName := "Richman"
  2910. }
  2911. 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)
  2912. {
  2913. ZoneName := "LVA Freight Depot"
  2914. }
  2915. 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)
  2916. {
  2917. ZoneName := "Julius Thruway North"
  2918. }
  2919. 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)
  2920. {
  2921. ZoneName := "Willowfield"
  2922. }
  2923. 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)
  2924. {
  2925. ZoneName := "Julius Thruway North"
  2926. }
  2927. 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)
  2928. {
  2929. ZoneName := "Temple"
  2930. }
  2931. 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)
  2932. {
  2933. ZoneName := "Little Mexico"
  2934. }
  2935. 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)
  2936. {
  2937. ZoneName := "Queens"
  2938. }
  2939. 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)
  2940. {
  2941. ZoneName := "Las Venturas Airport"
  2942. }
  2943. 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)
  2944. {
  2945. ZoneName := "Richman"
  2946. }
  2947. 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)
  2948. {
  2949. ZoneName := "Temple"
  2950. }
  2951. 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)
  2952. {
  2953. ZoneName := "East Los Santos"
  2954. }
  2955. 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)
  2956. {
  2957. ZoneName := "Julius Thruway East"
  2958. }
  2959. 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)
  2960. {
  2961. ZoneName := "Willowfield"
  2962. }
  2963. 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)
  2964. {
  2965. ZoneName := "Las Colinas"
  2966. }
  2967. 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)
  2968. {
  2969. ZoneName := "Julius Thruway East"
  2970. }
  2971. 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)
  2972. {
  2973. ZoneName := "Rodeo"
  2974. }
  2975. 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)
  2976. {
  2977. ZoneName := "Las Brujas"
  2978. }
  2979. 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)
  2980. {
  2981. ZoneName := "Julius Thruway East"
  2982. }
  2983. 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)
  2984. {
  2985. ZoneName := "Rodeo"
  2986. }
  2987. 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)
  2988. {
  2989. ZoneName := "Vinewood"
  2990. }
  2991. 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)
  2992. {
  2993. ZoneName := "Rodeo"
  2994. }
  2995. 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)
  2996. {
  2997. ZoneName := "Julius Thruway North"
  2998. }
  2999. 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)
  3000. {
  3001. ZoneName := "Downtown Los Santos"
  3002. }
  3003. 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)
  3004. {
  3005. ZoneName := "Rodeo"
  3006. }
  3007. 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)
  3008. {
  3009. ZoneName := "Jefferson"
  3010. }
  3011. 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)
  3012. {
  3013. ZoneName := "Hampton Barns"
  3014. }
  3015. 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)
  3016. {
  3017. ZoneName := "Temple"
  3018. }
  3019. 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)
  3020. {
  3021. ZoneName := "Kincaid Bridge"
  3022. }
  3023. 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)
  3024. {
  3025. ZoneName := "Verona Beach"
  3026. }
  3027. 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)
  3028. {
  3029. ZoneName := "Commerce"
  3030. }
  3031. 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)
  3032. {
  3033. ZoneName := "Mulholland"
  3034. }
  3035. 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)
  3036. {
  3037. ZoneName := "Rodeo"
  3038. }
  3039. 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)
  3040. {
  3041. ZoneName := "Mulholland"
  3042. }
  3043. 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)
  3044. {
  3045. ZoneName := "Mulholland"
  3046. }
  3047. 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)
  3048. {
  3049. ZoneName := "Julius Thruway South"
  3050. }
  3051. 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)
  3052. {
  3053. ZoneName := "Idlewood"
  3054. }
  3055. 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)
  3056. {
  3057. ZoneName := "Ocean Docks"
  3058. }
  3059. 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)
  3060. {
  3061. ZoneName := "Commerce"
  3062. }
  3063. 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)
  3064. {
  3065. ZoneName := "Julius Thruway North"
  3066. }
  3067. 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)
  3068. {
  3069. ZoneName := "Temple"
  3070. }
  3071. 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)
  3072. {
  3073. ZoneName := "Glen Park"
  3074. }
  3075. 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)
  3076. {
  3077. ZoneName := "Easter Bay Airport"
  3078. }
  3079. 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)
  3080. {
  3081. ZoneName := "Martin Bridge"
  3082. }
  3083. 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)
  3084. {
  3085. ZoneName := "The Strip"
  3086. }
  3087. 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)
  3088. {
  3089. ZoneName := "Willowfield"
  3090. }
  3091. 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)
  3092. {
  3093. ZoneName := "Marina"
  3094. }
  3095. 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)
  3096. {
  3097. ZoneName := "Las Venturas Airport"
  3098. }
  3099. 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)
  3100. {
  3101. ZoneName := "Idlewood"
  3102. }
  3103. 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)
  3104. {
  3105. ZoneName := "Esplanade East"
  3106. }
  3107. 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)
  3108. {
  3109. ZoneName := "Downtown Los Santos"
  3110. }
  3111. 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)
  3112. {
  3113. ZoneName := "The Mako Span"
  3114. }
  3115. 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)
  3116. {
  3117. ZoneName := "Rodeo"
  3118. }
  3119. 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)
  3120. {
  3121. ZoneName := "Pershing Square"
  3122. }
  3123. 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)
  3124. {
  3125. ZoneName := "Mulholland"
  3126. }
  3127. 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)
  3128. {
  3129. ZoneName := "Gant Bridge"
  3130. }
  3131. 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)
  3132. {
  3133. ZoneName := "Las Colinas"
  3134. }
  3135. 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)
  3136. {
  3137. ZoneName := "Mulholland"
  3138. }
  3139. 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)
  3140. {
  3141. ZoneName := "Julius Thruway North"
  3142. }
  3143. 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)
  3144. {
  3145. ZoneName := "Commerce"
  3146. }
  3147. 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)
  3148. {
  3149. ZoneName := "Rodeo"
  3150. }
  3151. 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)
  3152. {
  3153. ZoneName := "Roca Escalante"
  3154. }
  3155. 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)
  3156. {
  3157. ZoneName := "Rodeo"
  3158. }
  3159. 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)
  3160. {
  3161. ZoneName := "Market"
  3162. }
  3163. 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)
  3164. {
  3165. ZoneName := "Las Colinas"
  3166. }
  3167. 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)
  3168. {
  3169. ZoneName := "Mulholland"
  3170. }
  3171. 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)
  3172. {
  3173. ZoneName := "King's"
  3174. }
  3175. 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)
  3176. {
  3177. ZoneName := "Redsands East"
  3178. }
  3179. 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)
  3180. {
  3181. ZoneName := "Downtown"
  3182. }
  3183. 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)
  3184. {
  3185. ZoneName := "Conference Center"
  3186. }
  3187. 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)
  3188. {
  3189. ZoneName := "Richman"
  3190. }
  3191. 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)
  3192. {
  3193. ZoneName := "Ocean Flats"
  3194. }
  3195. 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)
  3196. {
  3197. ZoneName := "Greenglass College"
  3198. }
  3199. 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)
  3200. {
  3201. ZoneName := "Glen Park"
  3202. }
  3203. 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)
  3204. {
  3205. ZoneName := "LVA Freight Depot"
  3206. }
  3207. 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)
  3208. {
  3209. ZoneName := "Regular Tom"
  3210. }
  3211. 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)
  3212. {
  3213. ZoneName := "Verona Beach"
  3214. }
  3215. 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)
  3216. {
  3217. ZoneName := "East Los Santos"
  3218. }
  3219. 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)
  3220. {
  3221. ZoneName := "Caligula's Palace"
  3222. }
  3223. 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)
  3224. {
  3225. ZoneName := "Idlewood"
  3226. }
  3227. 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)
  3228. {
  3229. ZoneName := "Pilgrim"
  3230. }
  3231. 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)
  3232. {
  3233. ZoneName := "Idlewood"
  3234. }
  3235. 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)
  3236. {
  3237. ZoneName := "Queens"
  3238. }
  3239. 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)
  3240. {
  3241. ZoneName := "Downtown"
  3242. }
  3243. 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)
  3244. {
  3245. ZoneName := "Commerce"
  3246. }
  3247. 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)
  3248. {
  3249. ZoneName := "East Los Santos"
  3250. }
  3251. 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)
  3252. {
  3253. ZoneName := "Marina"
  3254. }
  3255. 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)
  3256. {
  3257. ZoneName := "Richman"
  3258. }
  3259. 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)
  3260. {
  3261. ZoneName := "Vinewood"
  3262. }
  3263. 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)
  3264. {
  3265. ZoneName := "East Los Santos"
  3266. }
  3267. 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)
  3268. {
  3269. ZoneName := "Rodeo"
  3270. }
  3271. 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)
  3272. {
  3273. ZoneName := "Easter Tunnel"
  3274. }
  3275. 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)
  3276. {
  3277. ZoneName := "Rodeo"
  3278. }
  3279. 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)
  3280. {
  3281. ZoneName := "Redsands East"
  3282. }
  3283. 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)
  3284. {
  3285. ZoneName := "The Clown's Pocket"
  3286. }
  3287. 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)
  3288. {
  3289. ZoneName := "Idlewood"
  3290. }
  3291. 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)
  3292. {
  3293. ZoneName := "Montgomery Intersection"
  3294. }
  3295. 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)
  3296. {
  3297. ZoneName := "Willowfield"
  3298. }
  3299. 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)
  3300. {
  3301. ZoneName := "Temple"
  3302. }
  3303. 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)
  3304. {
  3305. ZoneName := "Prickle Pine"
  3306. }
  3307. 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)
  3308. {
  3309. ZoneName := "Los Santos International"
  3310. }
  3311. 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)
  3312. {
  3313. ZoneName := "Garver Bridge"
  3314. }
  3315. 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)
  3316. {
  3317. ZoneName := "Garver Bridge"
  3318. }
  3319. 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)
  3320. {
  3321. ZoneName := "Kincaid Bridge"
  3322. }
  3323. 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)
  3324. {
  3325. ZoneName := "Kincaid Bridge"
  3326. }
  3327. 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)
  3328. {
  3329. ZoneName := "Verona Beach"
  3330. }
  3331. 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)
  3332. {
  3333. ZoneName := "Verdant Bluffs"
  3334. }
  3335. 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)
  3336. {
  3337. ZoneName := "Vinewood"
  3338. }
  3339. 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)
  3340. {
  3341. ZoneName := "Vinewood"
  3342. }
  3343. 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)
  3344. {
  3345. ZoneName := "Commerce"
  3346. }
  3347. 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)
  3348. {
  3349. ZoneName := "Market"
  3350. }
  3351. 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)
  3352. {
  3353. ZoneName := "Rockshore West"
  3354. }
  3355. 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)
  3356. {
  3357. ZoneName := "Julius Thruway North"
  3358. }
  3359. 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)
  3360. {
  3361. ZoneName := "East Beach"
  3362. }
  3363. 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)
  3364. {
  3365. ZoneName := "Fallow Bridge"
  3366. }
  3367. 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)
  3368. {
  3369. ZoneName := "Willowfield"
  3370. }
  3371. 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)
  3372. {
  3373. ZoneName := "Chinatown"
  3374. }
  3375. 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)
  3376. {
  3377. ZoneName := "El Castillo del Diablo"
  3378. }
  3379. 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)
  3380. {
  3381. ZoneName := "Ocean Docks"
  3382. }
  3383. 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)
  3384. {
  3385. ZoneName := "Easter Bay Chemicals"
  3386. }
  3387. 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)
  3388. {
  3389. ZoneName := "The Visage"
  3390. }
  3391. 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)
  3392. {
  3393. ZoneName := "Ocean Flats"
  3394. }
  3395. 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)
  3396. {
  3397. ZoneName := "Richman"
  3398. }
  3399. 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)
  3400. {
  3401. ZoneName := "Green Palms"
  3402. }
  3403. 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)
  3404. {
  3405. ZoneName := "Richman"
  3406. }
  3407. 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)
  3408. {
  3409. ZoneName := "Starfish Casino"
  3410. }
  3411. 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)
  3412. {
  3413. ZoneName := "East Beach"
  3414. }
  3415. 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)
  3416. {
  3417. ZoneName := "Jefferson"
  3418. }
  3419. 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)
  3420. {
  3421. ZoneName := "Downtown Los Santos"
  3422. }
  3423. 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)
  3424. {
  3425. ZoneName := "Downtown Los Santos"
  3426. }
  3427. 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)
  3428. {
  3429. ZoneName := "Garver Bridge"
  3430. }
  3431. 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)
  3432. {
  3433. ZoneName := "Julius Thruway South"
  3434. }
  3435. 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)
  3436. {
  3437. ZoneName := "East Los Santos"
  3438. }
  3439. 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)
  3440. {
  3441. ZoneName := "Greenglass College"
  3442. }
  3443. 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)
  3444. {
  3445. ZoneName := "Las Colinas"
  3446. }
  3447. 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)
  3448. {
  3449. ZoneName := "Mulholland"
  3450. }
  3451. 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)
  3452. {
  3453. ZoneName := "Ocean Docks"
  3454. }
  3455. 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)
  3456. {
  3457. ZoneName := "East Los Santos"
  3458. }
  3459. 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)
  3460. {
  3461. ZoneName := "Ganton"
  3462. }
  3463. 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)
  3464. {
  3465. ZoneName := "Avispa Country Club"
  3466. }
  3467. 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)
  3468. {
  3469. ZoneName := "Willowfield"
  3470. }
  3471. 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)
  3472. {
  3473. ZoneName := "Esplanade North"
  3474. }
  3475. 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)
  3476. {
  3477. ZoneName := "The High Roller"
  3478. }
  3479. 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)
  3480. {
  3481. ZoneName := "Ocean Docks"
  3482. }
  3483. 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)
  3484. {
  3485. ZoneName := "Last Dime Motel"
  3486. }
  3487. 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)
  3488. {
  3489. ZoneName := "Bayside Marina"
  3490. }
  3491. 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)
  3492. {
  3493. ZoneName := "King's"
  3494. }
  3495. 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)
  3496. {
  3497. ZoneName := "El Corona"
  3498. }
  3499. 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)
  3500. {
  3501. ZoneName := "Blackfield Chapel"
  3502. }
  3503. 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)
  3504. {
  3505. ZoneName := "The Pink Swan"
  3506. }
  3507. 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)
  3508. {
  3509. ZoneName := "Julius Thruway West"
  3510. }
  3511. 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)
  3512. {
  3513. ZoneName := "Los Flores"
  3514. }
  3515. 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)
  3516. {
  3517. ZoneName := "The Visage"
  3518. }
  3519. 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)
  3520. {
  3521. ZoneName := "Prickle Pine"
  3522. }
  3523. 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)
  3524. {
  3525. ZoneName := "Verona Beach"
  3526. }
  3527. 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)
  3528. {
  3529. ZoneName := "Robada Intersection"
  3530. }
  3531. 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)
  3532. {
  3533. ZoneName := "Linden Side"
  3534. }
  3535. 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)
  3536. {
  3537. ZoneName := "Ocean Docks"
  3538. }
  3539. 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)
  3540. {
  3541. ZoneName := "Willowfield"
  3542. }
  3543. 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)
  3544. {
  3545. ZoneName := "King's"
  3546. }
  3547. 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)
  3548. {
  3549. ZoneName := "Commerce"
  3550. }
  3551. 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)
  3552. {
  3553. ZoneName := "Mulholland"
  3554. }
  3555. 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)
  3556. {
  3557. ZoneName := "Marina"
  3558. }
  3559. 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)
  3560. {
  3561. ZoneName := "Battery Point"
  3562. }
  3563. 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)
  3564. {
  3565. ZoneName := "The Four Dragons Casino"
  3566. }
  3567. 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)
  3568. {
  3569. ZoneName := "Blackfield"
  3570. }
  3571. 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)
  3572. {
  3573. ZoneName := "Julius Thruway North"
  3574. }
  3575. 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)
  3576. {
  3577. ZoneName := "Yellow Bell Gol Course"
  3578. }
  3579. 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)
  3580. {
  3581. ZoneName := "Idlewood"
  3582. }
  3583. 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)
  3584. {
  3585. ZoneName := "Redsands West"
  3586. }
  3587. 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)
  3588. {
  3589. ZoneName := "Doherty"
  3590. }
  3591. 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)
  3592. {
  3593. ZoneName := "Hilltop Farm"
  3594. }
  3595. 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)
  3596. {
  3597. ZoneName := "Las Barrancas"
  3598. }
  3599. 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)
  3600. {
  3601. ZoneName := "Pirates in Men's Pants"
  3602. }
  3603. 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)
  3604. {
  3605. ZoneName := "City Hall"
  3606. }
  3607. 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)
  3608. {
  3609. ZoneName := "Avispa Country Club"
  3610. }
  3611. 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)
  3612. {
  3613. ZoneName := "The Strip"
  3614. }
  3615. 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)
  3616. {
  3617. ZoneName := "Hashbury"
  3618. }
  3619. 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)
  3620. {
  3621. ZoneName := "Los Santos International"
  3622. }
  3623. 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)
  3624. {
  3625. ZoneName := "Whitewood Estates"
  3626. }
  3627. 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)
  3628. {
  3629. ZoneName := "Sherman Reservoir"
  3630. }
  3631. 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)
  3632. {
  3633. ZoneName := "El Corona"
  3634. }
  3635. 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)
  3636. {
  3637. ZoneName := "Downtown"
  3638. }
  3639. 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)
  3640. {
  3641. ZoneName := "Foster Valley"
  3642. }
  3643. 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)
  3644. {
  3645. ZoneName := "Las Payasadas"
  3646. }
  3647. 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)
  3648. {
  3649. ZoneName := "Valle Ocultado"
  3650. }
  3651. 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)
  3652. {
  3653. ZoneName := "Blackfield Intersection"
  3654. }
  3655. 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)
  3656. {
  3657. ZoneName := "Ganton"
  3658. }
  3659. 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)
  3660. {
  3661. ZoneName := "Easter Bay Airport"
  3662. }
  3663. 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)
  3664. {
  3665. ZoneName := "Redsands East"
  3666. }
  3667. 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)
  3668. {
  3669. ZoneName := "Esplanade East"
  3670. }
  3671. 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)
  3672. {
  3673. ZoneName := "Caligula's Palace"
  3674. }
  3675. 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)
  3676. {
  3677. ZoneName := "Royal Casino"
  3678. }
  3679. 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)
  3680. {
  3681. ZoneName := "Richman"
  3682. }
  3683. 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)
  3684. {
  3685. ZoneName := "Starfish Casino"
  3686. }
  3687. 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)
  3688. {
  3689. ZoneName := "Mulholland"
  3690. }
  3691. 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)
  3692. {
  3693. ZoneName := "Downtown"
  3694. }
  3695. 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)
  3696. {
  3697. ZoneName := "Hankypanky Point"
  3698. }
  3699. 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)
  3700. {
  3701. ZoneName := "K.A.C.C. Military Fuels"
  3702. }
  3703. 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)
  3704. {
  3705. ZoneName := "Harry Gold Parkway"
  3706. }
  3707. 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)
  3708. {
  3709. ZoneName := "Bayside Tunnel"
  3710. }
  3711. 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)
  3712. {
  3713. ZoneName := "Ocean Docks"
  3714. }
  3715. 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)
  3716. {
  3717. ZoneName := "Richman"
  3718. }
  3719. 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)
  3720. {
  3721. ZoneName := "Randolph Industrial Estate"
  3722. }
  3723. 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)
  3724. {
  3725. ZoneName := "East Beach"
  3726. }
  3727. 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)
  3728. {
  3729. ZoneName := "Flint Water"
  3730. }
  3731. 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)
  3732. {
  3733. ZoneName := "Blueberry"
  3734. }
  3735. 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)
  3736. {
  3737. ZoneName := "Linden Station"
  3738. }
  3739. 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)
  3740. {
  3741. ZoneName := "Glen Park"
  3742. }
  3743. 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)
  3744. {
  3745. ZoneName := "Downtown"
  3746. }
  3747. 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)
  3748. {
  3749. ZoneName := "Redsands West"
  3750. }
  3751. 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)
  3752. {
  3753. ZoneName := "Richman"
  3754. }
  3755. 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)
  3756. {
  3757. ZoneName := "Gant Bridge"
  3758. }
  3759. 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)
  3760. {
  3761. ZoneName := "Lil' Probe Inn"
  3762. }
  3763. 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)
  3764. {
  3765. ZoneName := "Flint Intersection"
  3766. }
  3767. 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)
  3768. {
  3769. ZoneName := "Las Colinas"
  3770. }
  3771. 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)
  3772. {
  3773. ZoneName := "Sobell Rail Yards"
  3774. }
  3775. 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)
  3776. {
  3777. ZoneName := "The Emerald Isle"
  3778. }
  3779. 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)
  3780. {
  3781. ZoneName := "El Castillo del Diablo"
  3782. }
  3783. 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)
  3784. {
  3785. ZoneName := "Santa Flora"
  3786. }
  3787. 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)
  3788. {
  3789. ZoneName := "Playa del Seville"
  3790. }
  3791. 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)
  3792. {
  3793. ZoneName := "Market"
  3794. }
  3795. 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)
  3796. {
  3797. ZoneName := "Queens"
  3798. }
  3799. 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)
  3800. {
  3801. ZoneName := "Pilson Intersection"
  3802. }
  3803. 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)
  3804. {
  3805. ZoneName := "Spinybed"
  3806. }
  3807. 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)
  3808. {
  3809. ZoneName := "Pilgrim"
  3810. }
  3811. 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)
  3812. {
  3813. ZoneName := "Blackfield"
  3814. }
  3815. 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)
  3816. {
  3817. ZoneName := "'The Big Ear'"
  3818. }
  3819. 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)
  3820. {
  3821. ZoneName := "Dillimore"
  3822. }
  3823. 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)
  3824. {
  3825. ZoneName := "El Quebrados"
  3826. }
  3827. 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)
  3828. {
  3829. ZoneName := "Esplanade North"
  3830. }
  3831. 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)
  3832. {
  3833. ZoneName := "Easter Bay Airport"
  3834. }
  3835. 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)
  3836. {
  3837. ZoneName := "Fisher's Lagoon"
  3838. }
  3839. 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)
  3840. {
  3841. ZoneName := "Mulholland"
  3842. }
  3843. 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)
  3844. {
  3845. ZoneName := "East Beach"
  3846. }
  3847. 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)
  3848. {
  3849. ZoneName := "San Andreas Sound"
  3850. }
  3851. 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)
  3852. {
  3853. ZoneName := "Shady Creeks"
  3854. }
  3855. 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)
  3856. {
  3857. ZoneName := "Market"
  3858. }
  3859. 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)
  3860. {
  3861. ZoneName := "Rockshore West"
  3862. }
  3863. 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)
  3864. {
  3865. ZoneName := "Prickle Pine"
  3866. }
  3867. 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)
  3868. {
  3869. ZoneName := "Easter Basin"
  3870. }
  3871. 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)
  3872. {
  3873. ZoneName := "Leafy Hollow"
  3874. }
  3875. 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)
  3876. {
  3877. ZoneName := "LVA Freight Depot"
  3878. }
  3879. 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)
  3880. {
  3881. ZoneName := "Prickle Pine"
  3882. }
  3883. 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)
  3884. {
  3885. ZoneName := "Blueberry"
  3886. }
  3887. 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)
  3888. {
  3889. ZoneName := "El Castillo del Diablo"
  3890. }
  3891. 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)
  3892. {
  3893. ZoneName := "Downtown"
  3894. }
  3895. 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)
  3896. {
  3897. ZoneName := "Rockshore East"
  3898. }
  3899. 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)
  3900. {
  3901. ZoneName := "San Fierro Bay"
  3902. }
  3903. 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)
  3904. {
  3905. ZoneName := "Paradiso"
  3906. }
  3907. 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)
  3908. {
  3909. ZoneName := "The Camel's Toe"
  3910. }
  3911. 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)
  3912. {
  3913. ZoneName := "Old Venturas Strip"
  3914. }
  3915. 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)
  3916. {
  3917. ZoneName := "Juniper Hill"
  3918. }
  3919. 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)
  3920. {
  3921. ZoneName := "Juniper Hollow"
  3922. }
  3923. 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)
  3924. {
  3925. ZoneName := "Roca Escalante"
  3926. }
  3927. 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)
  3928. {
  3929. ZoneName := "Julius Thruway East"
  3930. }
  3931. 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)
  3932. {
  3933. ZoneName := "Verona Beach"
  3934. }
  3935. 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)
  3936. {
  3937. ZoneName := "Foster Valley"
  3938. }
  3939. 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)
  3940. {
  3941. ZoneName := "Arco del Oeste"
  3942. }
  3943. 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)
  3944. {
  3945. ZoneName := "Fallen Tree"
  3946. }
  3947. 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)
  3948. {
  3949. ZoneName := "The Farm"
  3950. }
  3951. 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)
  3952. {
  3953. ZoneName := "The Sherman Dam"
  3954. }
  3955. 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)
  3956. {
  3957. ZoneName := "Esplanade North"
  3958. }
  3959. 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)
  3960. {
  3961. ZoneName := "Financial"
  3962. }
  3963. 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)
  3964. {
  3965. ZoneName := "Garcia"
  3966. }
  3967. 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)
  3968. {
  3969. ZoneName := "Montgomery"
  3970. }
  3971. 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)
  3972. {
  3973. ZoneName := "Creek"
  3974. }
  3975. 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)
  3976. {
  3977. ZoneName := "Los Santos International"
  3978. }
  3979. 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)
  3980. {
  3981. ZoneName := "Santa Maria Beach"
  3982. }
  3983. 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)
  3984. {
  3985. ZoneName := "Mulholland Intersection"
  3986. }
  3987. 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)
  3988. {
  3989. ZoneName := "Angel Pine"
  3990. }
  3991. 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)
  3992. {
  3993. ZoneName := "Verdant Meadows"
  3994. }
  3995. 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)
  3996. {
  3997. ZoneName := "Octane Springs"
  3998. }
  3999. 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)
  4000. {
  4001. ZoneName := "Come-A-Lot"
  4002. }
  4003. 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)
  4004. {
  4005. ZoneName := "Redsands West"
  4006. }
  4007. 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)
  4008. {
  4009. ZoneName := "Santa Maria Beach"
  4010. }
  4011. 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)
  4012. {
  4013. ZoneName := "Verdant Bluffs"
  4014. }
  4015. 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)
  4016. {
  4017. ZoneName := "Las Venturas Airport"
  4018. }
  4019. 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)
  4020. {
  4021. ZoneName := "Flint Range"
  4022. }
  4023. 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)
  4024. {
  4025. ZoneName := "Verdant Bluffs"
  4026. }
  4027. 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)
  4028. {
  4029. ZoneName := "Palomino Creek"
  4030. }
  4031. 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)
  4032. {
  4033. ZoneName := "Ocean Docks"
  4034. }
  4035. 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)
  4036. {
  4037. ZoneName := "Easter Bay Airport"
  4038. }
  4039. 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)
  4040. {
  4041. ZoneName := "Whitewood Estates"
  4042. }
  4043. 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)
  4044. {
  4045. ZoneName := "Calton Heights"
  4046. }
  4047. 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)
  4048. {
  4049. ZoneName := "Easter Basin"
  4050. }
  4051. 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)
  4052. {
  4053. ZoneName := "Los Santos Inlet"
  4054. }
  4055. 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)
  4056. {
  4057. ZoneName := "Doherty"
  4058. }
  4059. 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)
  4060. {
  4061. ZoneName := "Mount Chiliad"
  4062. }
  4063. 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)
  4064. {
  4065. ZoneName := "Fort Carson"
  4066. }
  4067. 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)
  4068. {
  4069. ZoneName := "Foster Valley"
  4070. }
  4071. 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)
  4072. {
  4073. ZoneName := "Ocean Flats"
  4074. }
  4075. 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)
  4076. {
  4077. ZoneName := "Fern Ridge"
  4078. }
  4079. 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)
  4080. {
  4081. ZoneName := "Bayside"
  4082. }
  4083. 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)
  4084. {
  4085. ZoneName := "Las Venturas Airport"
  4086. }
  4087. 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)
  4088. {
  4089. ZoneName := "Blueberry Acres"
  4090. }
  4091. 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)
  4092. {
  4093. ZoneName := "Palisades"
  4094. }
  4095. 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)
  4096. {
  4097. ZoneName := "North Rock"
  4098. }
  4099. 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)
  4100. {
  4101. ZoneName := "Hunter Quarry"
  4102. }
  4103. 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)
  4104. {
  4105. ZoneName := "Los Santos International"
  4106. }
  4107. 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)
  4108. {
  4109. ZoneName := "Missionary Hill"
  4110. }
  4111. 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)
  4112. {
  4113. ZoneName := "San Fierro Bay"
  4114. }
  4115. 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)
  4116. {
  4117. ZoneName := "Restricted Area"
  4118. }
  4119. 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)
  4120. {
  4121. ZoneName := "Mount Chiliad"
  4122. }
  4123. 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)
  4124. {
  4125. ZoneName := "Mount Chiliad"
  4126. }
  4127. 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)
  4128. {
  4129. ZoneName := "Easter Bay Airport"
  4130. }
  4131. 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)
  4132. {
  4133. ZoneName := "The Panopticon"
  4134. }
  4135. 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)
  4136. {
  4137. ZoneName := "Shady Creeks"
  4138. }
  4139. 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)
  4140. {
  4141. ZoneName := "Back o Beyond"
  4142. }
  4143. 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)
  4144. {
  4145. ZoneName := "Mount Chiliad"
  4146. }
  4147. 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)
  4148. {
  4149. ZoneName := "Tierra Robada"
  4150. }
  4151. 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)
  4152. {
  4153. ZoneName := "Flint County"
  4154. }
  4155. else
  4156. {
  4157. ZoneName := "Unbekannt"
  4158. }
  4159. return ZoneName
  4160. return
  4161. }
  4162. GetChatLine(0, Line0)
  4163. GetChatLine(1, Line1)
  4164. GetChatLine(2, Line2)
  4165. GetPlayerName(Name)
  4166. HP := GetPlayerHealth()
  4167. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  4168. {
  4169. last_line := A_LoopReadLine
  4170. }
  4171. IfInString, last_line, %Name%'s Handy klingelt
  4172. {
  4173. if(CheckCall = 1)
  4174. {
  4175. IniRead, Callsound, settings.ini, Sounds, Callsound
  4176. if(A_OSVersion != "WIN_XP")
  4177. {
  4178. SoundSetWaveVolume, %VolCall%
  4179. }
  4180. Soundplay, %CallSound%
  4181. Sleep 1000
  4182. FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  4183. }
  4184. }
  4185. IfInString, last_line, Sender:
  4186. {
  4187. if not InStr(last_line, "Sender: " Name)
  4188. {
  4189. if(CheckSMS = 1)
  4190. {
  4191. IniRead, SMSsound, settings.ini, Sounds, SMSsound
  4192. if(A_OSVersion != "WIN_XP")
  4193. {
  4194. SoundSetWaveVolume, %VolSMS%
  4195. }
  4196. Soundplay, %SMSsound%
  4197. Sleep 1000
  4198. FileAppend, Zeile fur Keybinder ,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  4199. }
  4200. }
  4201. }
  4202. 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")))
  4203. {
  4204. If(CheckBK = 1)
  4205. {
  4206. if(BKsoundan == 0)
  4207. {
  4208. IniRead, BKsound, settings.ini, Sounds, BKsound
  4209. if(A_OSVersion != "WIN_XP")
  4210. {
  4211. SoundSetWaveVolume, %VolBK%
  4212. }
  4213. SoundPlay, %BKsound%
  4214. Sleep, 500
  4215. FileAppend, Zeile fur Keybinder ,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  4216. BKsoundan := 1
  4217. BKCountdown := 14
  4218. }
  4219. }
  4220. }
  4221. if(BKsoundan == 1)
  4222. {
  4223. BKCountdown--
  4224. if(BKCountdown < 1)
  4225. {
  4226. BKsoundan := 0
  4227. }
  4228. }
  4229. 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!"))
  4230. {
  4231. BlockChatInput(True)
  4232. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} AntiSpamKick-System {00FF00}aktiviert{FFFFFF}.")
  4233. Sleep, 1500
  4234. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} AntiSpamKick-System {FF0000}deaktiviert{FFFFFF}.")
  4235. BlockChatInput(False)
  4236. }
  4237. If (InStr(Line0, "Der Gesprächspartner hat aufgelegt"))
  4238. {
  4239. Soundplay, avixa.avi
  4240. }
  4241. if(CheckLowHP = 1)
  4242. {
  4243. if(LowHPsoundan = 0)
  4244. {
  4245. if(HP < 47.0 && HP != -1)
  4246. {
  4247. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} WARNUNG: {FFFFFF}Du hast nur noch {FFBF00}" GetPlayerHealth() " HP{FFFFFF}. Heil dich schnell!")
  4248. IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
  4249. if(A_OSVersion != "WIN_XP")
  4250. {
  4251. SoundSetWaveVolume, %VolLowHP%
  4252. }
  4253. SoundPlay, %LowHPsound%
  4254. LowHPsoundan := 1
  4255. }
  4256. }
  4257. }
  4258. if(LowHPsoundan = 1)
  4259. {
  4260. if(HP > 47)
  4261. {
  4262. LowHPsoundan := 0
  4263. SoundPlay, avixa.avi
  4264. }
  4265. }
  4266. if(HP == 0)
  4267. {
  4268. bkon = 0
  4269. swatmode := 0
  4270. }
  4271. If (InStr(Line0, "|=================||============||=================|") || InStr(Line1, "|=================||============||=================|"))
  4272. {
  4273. if(InStr(Line0, "|Gehaltscheck|"))
  4274. {
  4275. return
  4276. }
  4277. Loop
  4278. {
  4279. GetChatLine(A_Index - 1, chat)
  4280. if(InStr(chat, "KFZ Steuer:"))
  4281. {
  4282. RegExMatch(chat, "KFZ Steuer: -(.*)\$", kfz)
  4283. }
  4284. if(InStr(chat, "Lohn: "))
  4285. {
  4286. RegExMatch(chat, "Lohn: (.*)\$ Miete: -(.*)\$ Lohnsteuer: -(.*)\$", rest)
  4287. }
  4288. if(InStr(chat, "Stromrechnung: "))
  4289. {
  4290. RegExMatch(chat, "Stromrechnung: -(.*)\$", strom)
  4291. }
  4292. if(Instr(chat, "|================| Gehalts-Check |================|"))
  4293. {
  4294. break
  4295. }
  4296. }
  4297. Gehalt=%rest1%
  4298. Gehalt-=%rest2%
  4299. Gehalt-=%rest3%
  4300. Gehalt-=%kfz1%
  4301. Gehalt-=%strom1%
  4302. sleep, 250
  4303. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} {15A170}[Gehaltscheck]{FFFFFF} Du hast {FFBF00}" . Gehalt . "{FFFFFF}$ verdient.")
  4304. }
  4305. if(SpeedCheckStatus == "1")
  4306. {
  4307. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4308. {
  4309. return
  4310. }
  4311. VehSpeed := GetPlayerSpeed()
  4312. if(IsPlayerDriver() == 1)
  4313. {
  4314. if (VehSpeed <= VehSpeedMax)
  4315. {
  4316. SendInput, {W Down}
  4317. }
  4318. else if (VehSpeed > VehSpeedMax)
  4319. {
  4320. SendInput, {W Up}
  4321. }
  4322. }
  4323. else
  4324. {
  4325. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF}, Du bist nicht der Fahrer eines Fahrzeuges. Der Tempomat wurde deaktiviert.")
  4326. SpeedCheckStatus := "0"
  4327. SpeedOnOff := "0"
  4328. Sleep, 250
  4329. SendInput {W up}
  4330. }
  4331. }
  4332. if(InStr(line0, "Strafpunkte eingetragen, Grund: ") && InStr(line0, "" . name . " hat "))
  4333. {
  4334. RegExMatch(line0, "hat (.*) (.*) Strafpunkte eingetragen, Grund\: (.*)", params)
  4335. if(params1 != Name)
  4336. {
  4337. IniRead, Punkte, Statistik.ini, Vergaben, Punkte
  4338. Punkte += params2
  4339. IniWrite, %Punkte%, Statistik.ini, Vergaben, Punkte
  4340. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" Punkte "{FFFFFF} Punkte vergeben.")
  4341. }
  4342. }
  4343. if(InStr(line0, "* Du hast ") && InStr(line0, "ein Ticket für") && InStr(line0, "$ gegeben, Grund:"))
  4344. {
  4345. IniRead, Tickets, Statistik.ini, Vergaben, Tickets
  4346. Tickets++
  4347. IniWrite, %Tickets%, Statistik.ini, Vergaben, Tickets
  4348. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" Tickets "{FFFFFF} Tickets ausgestellt.")
  4349. }
  4350. if(InStr(line0, "hat dein") && InStr(line0, "$ bezahlt."))
  4351. {
  4352. RegExMatch(line0, "\* (.*) hat dein (.*)\$ bezahlt.", verdientesGeld)
  4353. if(verdientesGeld2 > 0 && verdientesGeld2 != "" && verdientesGeld2 != " ")
  4354. {
  4355. IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
  4356. TicketGeld += verdientesGeld2
  4357. IniWrite, %TicketGeld%, Statistik.ini, Vergaben, TicketGeld
  4358. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" TicketGeld "{FFFFFF}$ durch Tickets verdient.")
  4359. }
  4360. }
  4361. if(InStr(line0, "schießt mit seinen Elektroschocker auf"))
  4362. {
  4363. RegExMatch(line0, "" Name " schießt mit seinen Elektroschocker auf (.*) und setzt ihn unter Strom.", params)
  4364. GetPlayerName(name)
  4365. if(params1 == name)
  4366. {
  4367. IniRead, Tazer, Statistik.ini, Tazer, Tazer
  4368. Tazer++
  4369. IniWrite, %Tazer%, Statistik.ini, Tazer, Tazer
  4370. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" Tazer "{FFFFFF} Personen getazert.")
  4371. }
  4372. }
  4373. if(InStr(line1, " " . Name . " hat den Verdächtigen") && InStr(line1, "offline eingesperrt."))
  4374. {
  4375. RegExMatch(line1, " " Name " hat den Verdächtigen (.*) offline eingesperrt.", Spieler)
  4376. IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
  4377. OffArrest++
  4378. IniWrite, %OffArrest%, Statistik.ini, Arrests, OffArrest
  4379. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast {FFBF00}" Spieler1 "{FFFFFF} Off-Arrestet. Off Arrest Nummer {FFBF00}" OffArrest ".")
  4380. Sleep, 250
  4381. }
  4382. if(Instr(line1, "[HQ]:") && InStr(line1, " " . Name . " hat den Verdächtigen") && InStr(line1, "getötet."))
  4383. {
  4384. RegExMatch(line1, " " Name " hat den Verdächtigen (.*) getötet.", Spieler)
  4385. IniRead, VerbrecherKills, Statistik.ini, VerbrecherKills, VerbrecherKills
  4386. IniRead, Kills, Statistik.ini, Kills, Kills
  4387. VerbrecherKills++
  4388. Kills++
  4389. IniWrite, %VerbrecherKills%, Statistik.ini, VerbrecherKills, VerbrecherKills
  4390. IniWrite, %Kills%, Statistik.ini, Kills, Kills
  4391. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast {FFBF00}" Spieler1 "{FFFFFF} getötet, Verbrecher Kill Nummer {FFBF00}" VerbrecherKills "{FFFFFF}.")
  4392. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Dies war dein {FFBF00}" Kills "{FFFFFF}. Kill.")
  4393. }
  4394. if(InStr(line1, " " . name . " hat den Verdächtigen ") && InStr(line1, "eingesperrt."))
  4395. {
  4396. RegExMatch(line0, "Haftzeit: (.*) Minuten, Geldstrafe: (.*)\$.", param) && RegExMatch(line1, " " Name " hat den Verdächtigen (.*) eingesperrt.", Spieler)
  4397. if(param2 != 0 && param2 > 0)
  4398. {
  4399. IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
  4400. DeathArrest++
  4401. IniWrite, %DeathArrest%, Statistik.ini, Arrests, DeathArrest
  4402. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast {FFBF00}" Spieler1 "{FFFFFF} Tot eingesperrt. Death-Arrest Nummer {FFBF00}" DeathArrest ".")
  4403. Sleep, 250
  4404. }
  4405. }
  4406. if(TankZoll == 1)
  4407. {
  4408. goto, TankstelleZoll
  4409. }
  4410. return
  4411. if(TankZoll == 1)
  4412. {
  4413. goto, TankstelleZoll
  4414. }
  4415. if(IsPlayerInRangeOfPoint_fast(1163.2358,-1323.2552,15.3945, 10))
  4416. {
  4417. loop, 1
  4418. IniRead, Deaths, Statistik.ini, deaths, Deaths,
  4419. deaths++
  4420. Iniwrite, %Deaths%, Statistik.ini, deaths, Deaths
  4421. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Dies war dein {FFBF00}" Deaths "{FFFFFF}. Tot.")
  4422. }
  4423. return
  4424. TankstelleZoll:
  4425. if(Freigabe == 1)
  4426. {
  4427. if(IsPlayerInAnyVehicle() && IsPlayerDriver())
  4428. {
  4429. 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))
  4430. {
  4431. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du kannst jetzt dein Fahrzeug betanken. Drück '{FFBF00}X{FFFFFF}' zum bestätigen.")
  4432. KeyWait, X, D, T10
  4433. if !Errorlevel
  4434. {
  4435. Freigabe := 0
  4436. if(IsVehicleEngineEnabled() == 1)
  4437. {
  4438. SendChat("/motor")
  4439. }
  4440. SendChat("/fill")
  4441. Sleep, 10000
  4442. SendChat("/motor")
  4443. Sleep, 2600
  4444. SendChat("/licht")
  4445. SetTimer, Zähler, 5000
  4446. Var := 0
  4447. }
  4448. else
  4449. {
  4450. Freigabe := 1
  4451. }
  4452. }
  4453. 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))
  4454. {
  4455. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Möchtest du den Zoll jetzt öffnen? Zum öffnen '{FFBF00}X{FFFFFF}' drücken.")
  4456. KeyWait, X, D, T10
  4457. if !ErrorLevel
  4458. {
  4459. Freigabe := 0
  4460. Sleep, 100
  4461. SendChat("/zoll")
  4462. SetTimer, Zähler, 5000
  4463. Var := 0
  4464. Sleep, 200
  4465. GetChatLine(0, chat)
  4466. if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
  4467. {
  4468. Sleep, 800
  4469. SendChat("/zoll")
  4470. }
  4471. }
  4472. }
  4473. }
  4474. }
  4475. return
  4476. Flugschein:
  4477. IfWinNotActive, GTA:SA:MP
  4478. return
  4479. GetChatLine(0, Chat1)
  4480. If(InStr(Chat1, "Du hast ") && InStr(Chat1, " seinen ") && InStr(Chat1, "Flugschein weggenommen."))
  4481. {
  4482. RegExMatch(Chat1, "Du hast (.*) seinen Flugschein weggenommen.", Name)
  4483. IniRead, Flugschein, Statistik.ini, Scheine, Flugschein
  4484. Flugschein++
  4485. IniWrite, %Flugschein%, Statistik.ini, Scheine, Flugschein
  4486. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FF0000} " . Flugschein . " {FFFFFF} Flugscheine getakt.")
  4487. }
  4488. return
  4489. Bootschein:
  4490. IfWinNotActive, GTA:SA:MP
  4491. return
  4492. GetChatLine(0, Chat1)
  4493. If(InStr(Chat1, "Du hast ") && InStr(Chat1, " seinen ") && InStr(Chat1, "Bootschein weggenommen."))
  4494. {
  4495. RegExMatch(Chat1, "Du hast (.*) seinen Bootschein weggenommen.", Name)
  4496. IniRead, Bootschein, Statistik.ini, Scheine, Bootschein
  4497. Bootschein++
  4498. IniWrite, %Bootschein%, Statistik.ini, Scheine, Bootschein
  4499. AddChatMessage(0x00BFFF, "|Staatsgewalt|{ACFA58} [Statistik] Du hast bereits {FF0000} " . Bootschein . "{FFFFFF} Bootscheine getakt.")
  4500. }
  4501. return
  4502. Waffenschein:
  4503. IfWinNotActive, GTA:SA:MP
  4504. return
  4505. GetChatLine(0, Chat1)
  4506. If(InStr(Chat1, "Du hast ") && InStr(Chat1, " seinen ") && InStr(Chat1, "Waffenschein weggenommen."))
  4507. {
  4508. RegExMatch(Chat1, "Du hast (.*) seinen Waffenschein weggenommen.", Name)
  4509. IniRead, Waffenschein, Statistik.ini, Scheine, Waffenschein
  4510. IniRead, W_Schaden, Statistik.ini, Scheine, W_Schaden
  4511. Waffenschein++
  4512. W_Schaden+=36000
  4513. IniWrite, %Waffenschein%, Statistik.ini, Scheine, Waffenschein
  4514. IniWrite, %W_Schaden%, Statistik.ini, Scheine, W_Schaden
  4515. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Waffenschein . " {FFFFFF} Waffenscheine getakt.")
  4516. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Die Geldsumme beläuft sich auf {FFBF00}" W_Schaden "{FFFFFF}$.")
  4517. }
  4518. return
  4519. Zähler:
  4520. var++
  4521. if(var = 4 || var > 4)
  4522. {
  4523. SetTimer, Zähler, off
  4524. Freigabe := 1
  4525. }
  4526. return
  4527. Partner:
  4528. countdown--
  4529. if(countdown == 0)
  4530. {
  4531. SetTimer, Partner, off
  4532. }
  4533. else
  4534. {
  4535. FormatTime, Monat,,MM
  4536. GetChatLine(0, ChatLine0)
  4537. GetChatLine(1, ChatLine1)
  4538. GetPlayerName(name)
  4539. if(InStr(ChatLine1, " " . name . " hat den Verdächtigen ") && InStr(ChatLine1, "eingesperrt."))
  4540. {
  4541. RegExMatch(ChatLine1, "" . Name . " hat den Verdächtigen (.*) eingesperrt.", Opfer)
  4542. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  4543. SetTimer, #Partner, off
  4544. RegExMatch(ChatLine0, "Haftzeit: (.*) Minuten, Geldstrafe: 0\$.", zeit)
  4545. if(zeit1 > 104)
  4546. {
  4547. Wanted = 104
  4548. }
  4549. else
  4550. {
  4551. Wanted = %zeit1%
  4552. }
  4553. Wanted /= 4
  4554. Wanted *= 750
  4555. Geld = %Wanted%
  4556. Geld *= %Steuersatz%
  4557. Geld := Floor(Geld)
  4558. if(Partner1 > -1 && Partner2 > -1 && Partner3 > -1)
  4559. {
  4560. Geld /= 4
  4561. Geld := Floor(Geld)
  4562. SendChat("/pay " . Partner1 . " " . Geld . "")
  4563. Sleep, 500
  4564. SendChat("/pay " . Partner2 . " " . Geld . "")
  4565. Sleep, 500
  4566. SendChat("/pay " . Partner3 . " " . Geld . "")
  4567. }
  4568. else if(Partner1 > -1 && Partner2 > -1 && Partner3 == -1)
  4569. {
  4570. Geld /= 3
  4571. Geld := Floor(Geld)
  4572. SendChat("/pay " . Partner1 . " " . Geld . "")
  4573. SendChat("/pay " . Partner2 . " " . Geld . "")
  4574. }
  4575. else if(Partner1 > -1 && Partner2 == -1 && Partner3 > -1)
  4576. {
  4577. Geld /= 3
  4578. Geld := Floor(Geld)
  4579. SendChat("/pay " . Partner1 . " " . Geld . "")
  4580. SendChat("/pay " . Partner3 . " " . Geld . "")
  4581. }
  4582. else if(Partner1 > -1 && Partner2 == -1 && Partner3 == -1)
  4583. {
  4584. Geld /= 2
  4585. Geld := Floor(Geld)
  4586. SendChat("/pay " . Partner1 . " " . Geld . "")
  4587. }
  4588. else if(Partner1 == -1 && Partner2 > -1 && Partner3 > -1)
  4589. {
  4590. Geld /= 3
  4591. Geld := Floor(Geld)
  4592. SendChat("/pay " . Partner2 . " " . Geld . "")
  4593. SendChat("/pay " . Partner3 . " " . Geld . "")
  4594. }
  4595. else if(Partner1 == -1 && Partner2 > -1 && Partner3 == -1)
  4596. {
  4597. Geld /= 2
  4598. Geld := Floor(Geld)
  4599. SendChat("/pay " . Partner2 . " " . Geld . "")
  4600. }
  4601. else if(Partner1 == -1 && Partner2 == -1 && Partner3 > -1)
  4602. {
  4603. Geld /= 2
  4604. Geld := Floor(Geld)
  4605. SendChat("/pay " . Partner3 . " " . Geld . "")
  4606. }
  4607. Sleep, 200
  4608. IniRead, Arrest, Statistik.ini, Arrests, Arrest
  4609. IniRead, Arrests, Statistik.ini, %A_MM%, Arrests
  4610. Arrest++
  4611. Arrests++
  4612. IniWrite, %Arrest%, Statistik.ini, Arrests, Arrest
  4613. IniWrite, %Arrests%, Statistik.ini, %A_MM%, Monat
  4614. IniRead, Money, Statistik.ini, Arrests, Money
  4615. Money += Geld
  4616. IniWrite, %Money%, Statistik.ini, Arrests, Money
  4617. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Gesamt eingesperrte Verbrecher: {FFBF00}" Arrest "{FFFFFF}.")
  4618. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Durch Festnahmen erworbener gesamt Lohn: {FFBF00}" Money "{FFFFFF}.")
  4619. sleep, 250
  4620. }
  4621. Sleep 200
  4622. SetTimer, Partner, off
  4623. }
  4624. return
  4625. CheckHealth:
  4626. HP := GetPlayerHealth()
  4627. if(HP > 30)
  4628. {
  4629. LowHPsoundan := 0
  4630. SetTimer, CheckHealth, off
  4631. SoundPlay, avixa.avi
  4632. }
  4633. return
  4634. :?:/sani::
  4635. Suspend Permit
  4636. SendInput ^a{delete}{enter}
  4637. if(PoliceID != "X")
  4638. {
  4639. if(text != "-1")
  4640. {
  4641. SendChat("/hq " . text . "")
  4642. }
  4643. }
  4644. else
  4645. {
  4646. SendChat("/d Ich benötige DRINGEND einen Sanitäter.")
  4647. }
  4648. SendChat("/service")
  4649. Sleep, 250
  4650. SendInput {Enter}
  4651. return
  4652. ErmittelPartnerZahl()
  4653. {
  4654. global
  4655. AnzahlPartner := 0
  4656. if(Partner1 > -1)
  4657. {
  4658. AnzahlPartner++
  4659. }
  4660. if(Partner2 > -1)
  4661. {
  4662. AnzahlPartner++
  4663. }
  4664. if(Partner3 > -1)
  4665. {
  4666. AnzahlPartner++
  4667. }
  4668. return AnzahlPartner
  4669. }
  4670. :?:/streife::
  4671. Suspend Permit
  4672. if(streife == 0)
  4673. {
  4674. Einheit := PlayerInput("Deine Einheit: ")
  4675. if(Einheit == "" || Einheit == " ")
  4676. {
  4677. return
  4678. }
  4679. else if(Einheit != "JOHN" && Einheit != "TOM" && Einheit != "HENRY" && Einheit != "ROBERT" && Einheit != "OMEGA" && Einheit != "DELTA" && != "GEORGE" && Einheit != "ALPHA")
  4680. {
  4681. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Bitte verwende eine gültige Einheit (ALPHA, OMEGA, DELTA, JOHN, TOM, HENRY, ROBERT oder GEORGE).")
  4682. return
  4683. }
  4684. StringUpper, Einheit, Einheit
  4685. Streifennummer := PlayerInput("Deine Streifennummer: ")
  4686. if(Streifennummer == "" || Streifennummer == " ")
  4687. {
  4688. return
  4689. }
  4690. AnzahlPartner := ErmittelPartnerZahl()
  4691. AnzahlPersonen := 1 + AnzahlPartner
  4692. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  4693. SendChat("/f Einheit " . PoliceID . ": Start of Watch")
  4694. streife := 1
  4695. }
  4696. else
  4697. {
  4698. SendChat("/f Einheit " . PoliceID . ": End of Watch")
  4699. streife := 0
  4700. PoliceID := "X"
  4701. Einheit := ""
  4702. Streifennummer := ""
  4703. }
  4704. return
  4705. :?:/setEinheit::
  4706. Suspend Permit
  4707. if(streife == 0)
  4708. {
  4709. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Starte vorher bitte eine Streife mit {FF0000}/streife{FFFFFF}.")
  4710. return
  4711. }
  4712. Einheit := PlayerInput("Wähle deine neue Einheit aus: ")
  4713. if(Einheit == "" || Einheit == " ")
  4714. {
  4715. return
  4716. }
  4717. else if(Einheit != "JOHN" && Einheit != "TOM" && Einheit != "HENRY" && Einheit != "ROBERT" && Einheit != "OMEGA" && != "DELTA" && != "GEORGE" && Einheit != "ALPHA")
  4718. {
  4719. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Bitte verwende eine gültige Einheit (ALPHA, OMEGA, DELTA, JOHN, TOM, HENRY, ROBERT oder GEORGE).")
  4720. return
  4721. }
  4722. StringUpper, Einheit, Einheit
  4723. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  4724. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Neue Streifenkennung: {FF0000}" PoliceID "")
  4725. return
  4726. :?:/setNummer::
  4727. Suspend Permit
  4728. if(streife == 0)
  4729. {
  4730. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Starte vorher bitte eine Streife mit {FF0000}/streife{FFFFFF}.")
  4731. return
  4732. }
  4733. Streifennummer := PlayerInput("Deine Streifennummer: ")
  4734. if(Streifennummer == "" || Streifennummer == " ")
  4735. {
  4736. return
  4737. }
  4738. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  4739. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Neue Streifenkennung: {FF0000}" PoliceID "")
  4740. return
  4741. :?:/setPersonen::
  4742. Suspend Permit
  4743. if(streife == 0)
  4744. {
  4745. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Starte vorher bitte eine Streife mit {FF0000}/streife{FFFFFF}.")
  4746. return
  4747. }
  4748. AnzahlPersonen := PlayerInput("Anzahl deiner Partner: ")
  4749. if(AnzahlPersonen == "" || AnzahlPersonen == " ")
  4750. {
  4751. return
  4752. }
  4753. AnzahlPersonen++
  4754. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  4755. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Neue Streifenkennung: {FF0000}" PoliceID "")
  4756. return
  4757. :?:/kennung::
  4758. Suspend Permit
  4759. if(Streife == 0)
  4760. {
  4761. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast noch keine Streife gestartet.")
  4762. }
  4763. else
  4764. {
  4765. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Deine aktuelle Streifenkennung lautet: {FF0000}" PoliceID "")
  4766. }
  4767. return
  4768. WheelRight::
  4769. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4770. {
  4771. return
  4772. }
  4773. if(wBind1 != "" || wBind1 != """" || wBind1 != "ERROR")
  4774. {
  4775. FormatTime, Zeit,,HH:mm
  4776. FormatTime, Datum,,dd.MM.yyyy
  4777. Car := GetVehicleHealth()
  4778. StringReplace, wBind1, wBind1, <name>, %Name%, All
  4779. StringReplace, wBind1, wBind1, <hp>, %HP%, All
  4780. StringReplace, wBind1, wBind1, <car>, %Car%, All
  4781. StringReplace, wBind1, wBind1, <time>, %Zeit%, All
  4782. StringReplace, wBind1, wBind1, <date>, %Datum%, All
  4783. StringReplace, wBind1, wBind1, <einheit>, "Einheit: " . PoliceID . "", All
  4784. GetZoneName(Zone)
  4785. GetCityName(City)
  4786. Position := "" Zone ", " City
  4787. StringReplace, wBind1, wBind1, <pos>, %Position%, All
  4788. wBind1_1 := ""
  4789. wBind1_2 := ""
  4790. wBind1_3 := ""
  4791. StringSplit, wBind1_, wBind1, #
  4792. if(wBind1_1 != "")
  4793. {
  4794. SendChat("" wBind1_1 "")
  4795. Sleep, 100
  4796. }
  4797. if(wBind1_2 != "")
  4798. {
  4799. SendChat("" wBind1_2 "")
  4800. Sleep, 100
  4801. }
  4802. if(wBind1_3 != "")
  4803. {
  4804. SendChat("" wBind1_3 "")
  4805. }
  4806. }
  4807. return
  4808. WheelLeft::
  4809. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4810. {
  4811. return
  4812. }
  4813. if(wBind2 != "" || wBind2 != """" || wBind2 != "ERROR")
  4814. {
  4815. FormatTime, Zeit,,HH:mm
  4816. FormatTime, Datum,,dd.MM.yyyy
  4817. Car := GetVehicleHealth()
  4818. StringReplace, wBind2, wBind2, <name>, %Name%, All
  4819. StringReplace, wBind2, wBind2, <hp>, %HP%, All
  4820. StringReplace, wBind2, wBind2, <car>, %Car%, All
  4821. StringReplace, wBind2, wBind2, <time>, %Zeit%, All
  4822. StringReplace, wBind2, wBind2, <date>, %Datum%, All
  4823. StringReplace, wBind2, wBind2, <einheit>, "Einheit: " . PoliceID . "", All
  4824. GetZoneName(Zone)
  4825. GetCityName(City)
  4826. Position := "" Zone ", " City
  4827. StringReplace, wBind2, wBind2, <pos>, %Position%, All
  4828. wBind2_1 := ""
  4829. wBind2_2 := ""
  4830. wBind2_3 := ""
  4831. StringSplit, wBind2_, wBind2, #
  4832. if(wBind2_1 != "")
  4833. {
  4834. SendChat("" wBind2_1 "")
  4835. Sleep, 100
  4836. }
  4837. if(wBind2_2 != "")
  4838. {
  4839. SendChat("" wBind2_2 "")
  4840. Sleep, 100
  4841. }
  4842. if(wBind2_3 != "")
  4843. {
  4844. SendChat("" wBind2_3 "")
  4845. }
  4846. }
  4847. return
  4848. XButton1::
  4849. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4850. {
  4851. return
  4852. }
  4853. if(xBind1 != "" || xBind1 != """" || xBind1 != "ERROR")
  4854. {
  4855. FormatTime, Zeit,,HH:mm
  4856. FormatTime, Datum,,dd.MM.yyyy
  4857. Car := GetVehicleHealth()
  4858. StringReplace, xBind1, xBind1, <name>, %Name%, All
  4859. StringReplace, xBind1, xBind1, <hp>, %HP%, All
  4860. StringReplace, xBind1, xBind1, <car>, %Car%, All
  4861. StringReplace, xBind1, xBind1, <time>, %Zeit%, All
  4862. StringReplace, xBind1, xBind1, <date>, %Datum%, All
  4863. StringReplace, xBind1, xBind1, <einheit>, "Einheit: " . PoliceID . "", All
  4864. GetZoneName(Zone)
  4865. GetCityName(City)
  4866. Position := "" Zone ", " City
  4867. StringReplace, xBind1, xBind1, <pos>, %Position%, All
  4868. xBind1_1 := ""
  4869. xBind1_2 := ""
  4870. xBind1_3 := ""
  4871. StringSplit, xBind1_, xBind1, #
  4872. if(xBind1_1 != "")
  4873. {
  4874. SendChat("" xBind1_1 "")
  4875. Sleep, 100
  4876. }
  4877. if(xBind1_2 != "")
  4878. {
  4879. SendChat("" xBind1_2 "")
  4880. Sleep, 100
  4881. }
  4882. if(xBind1_3 != "")
  4883. {
  4884. SendChat("" xBind1_3 "")
  4885. }
  4886. }
  4887. return
  4888. XButton2::
  4889. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4890. {
  4891. return
  4892. }
  4893. if(wBind2 != "" || wBind2 != """" || wBind2 != "ERROR")
  4894. {
  4895. FormatTime, Zeit,,HH:mm
  4896. FormatTime, Datum,,dd.MM.yyyy
  4897. Car := GetVehicleHealth()
  4898. StringReplace, wBind2, wBind2, <name>, %Name%, All
  4899. StringReplace, wBind2, wBind2, <hp>, %HP%, All
  4900. StringReplace, wBind2, wBind2, <car>, %Car%, All
  4901. StringReplace, wBind2, wBind2, <time>, %Zeit%, All
  4902. StringReplace, wBind2, wBind2, <date>, %Datum%, All
  4903. StringReplace, wBind2, wBind2, <einheit>, "Einheit: " . PoliceID . "", All
  4904. GetZoneName(Zone)
  4905. GetCityName(City)
  4906. Position := "" Zone ", " City
  4907. StringReplace, wBind2, wBind2, <pos>, %Position%, All
  4908. wBind2_1 := ""
  4909. wBind2_2 := ""
  4910. wBind2_3 := ""
  4911. StringSplit, wBind2_, wBind2, #
  4912. if(wBind2_1 != "")
  4913. {
  4914. SendChat("" wBind2_1 "")
  4915. Sleep, 100
  4916. }
  4917. if(wBind2_2 != "")
  4918. {
  4919. SendChat("" wBind2_2 "")
  4920. Sleep, 100
  4921. }
  4922. if(wBind2_3 != "")
  4923. {
  4924. SendChat("" wBind2_3 "")
  4925. }
  4926. }
  4927. return
  4928. Key1:
  4929. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4930. {
  4931. return
  4932. }
  4933. if(Bind1 != "" || Bind1 != """" || Bind1 != "ERROR")
  4934. {
  4935. FormatTime, Zeit,,HH:mm
  4936. FormatTime, Datum,,dd.MM.yyyy
  4937. Car := GetVehicleHealth()
  4938. StringReplace, Bind1, Bind1, <name>, %Name%, All
  4939. StringReplace, Bind1, Bind1, <hp>, %HP%, All
  4940. StringReplace, Bind1, Bind1, <car>, %Car%, All
  4941. StringReplace, Bind1, Bind1, <time>, %Zeit%, All
  4942. StringReplace, Bind1, Bind1, <date>, %Datum%, All
  4943. StringReplace, Bind1, Bind1, <einheit>, "Einheit: " . PoliceID . "", All
  4944. GetZoneName(Zone)
  4945. GetCityName(City)
  4946. Position := "" Zone ", " City
  4947. StringReplace, Bind1, Bind1, <pos>, %Position%, All
  4948. if(SendenKey1 == 1)
  4949. {
  4950. Bind1_1 := ""
  4951. Bind1_2 := ""
  4952. Bind1_3 := ""
  4953. StringSplit, Bind1_, Bind1, #
  4954. if(Bind1_1 != "")
  4955. {
  4956. SendChat("" Bind1_1 "")
  4957. Sleep, 100
  4958. }
  4959. if(Bind1_2 != "")
  4960. {
  4961. SendChat("" Bind1_2 "")
  4962. Sleep, 100
  4963. }
  4964. if(Bind1_3 != "")
  4965. {
  4966. SendChat("" Bind1_3 "")
  4967. }
  4968. }
  4969. else
  4970. {
  4971. SendInput, t%Bind1%
  4972. }
  4973. }
  4974. return
  4975. Key2:
  4976. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  4977. {
  4978. return
  4979. }
  4980. if(Bind2 != "" || Bind2 != """" || Bind2 != "ERROR")
  4981. {
  4982. FormatTime, Zeit,,HH:mm
  4983. FormatTime, Datum,,dd.MM.yyyy
  4984. Car := GetVehicleHealth()
  4985. StringReplace, Bind2, Bind2, <name>, %Name%, All
  4986. StringReplace, Bind2, Bind2, <hp>, %HP%, All
  4987. StringReplace, Bind2, Bind2, <car>, %Car%, All
  4988. StringReplace, Bind2, Bind2, <time>, %Zeit%, All
  4989. StringReplace, Bind2, Bind2, <date>, %Datum%, All
  4990. StringReplace, Bind2, Bind2, <einheit>, "Einheit: " . PoliceID . "", All
  4991. GetZoneName(Zone)
  4992. GetCityName(City)
  4993. Position := "" Zone ", " City
  4994. StringReplace, Bind2, Bind2, <pos>, %Position%, All
  4995. if(SendenKey2 == 1)
  4996. {
  4997. Bind2_1 := ""
  4998. Bind2_2 := ""
  4999. Bind2_3 := ""
  5000. StringSplit, Bind2_, Bind2, #
  5001. if(Bind2_1 != "")
  5002. {
  5003. SendChat("" Bind2_1 "")
  5004. Sleep, 100
  5005. }
  5006. if(Bind2_2 != "")
  5007. {
  5008. SendChat("" Bind2_2 "")
  5009. Sleep, 100
  5010. }
  5011. if(Bind2_3 != "")
  5012. {
  5013. SendChat("" Bind2_3 "")
  5014. }
  5015. }
  5016. else
  5017. {
  5018. SendInput, t%Bind2%
  5019. }
  5020. }
  5021. return
  5022. Key3:
  5023. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5024. {
  5025. return
  5026. }
  5027. if(Bind3 != "" || Bind3 != """" || Bind3 != "ERROR")
  5028. {
  5029. FormatTime, Zeit,,HH:mm
  5030. FormatTime, Datum,,dd.MM.yyyy
  5031. Car := GetVehicleHealth()
  5032. StringReplace, Bind3, Bind3, <name>, %Name%, All
  5033. StringReplace, Bind3, Bind3, <hp>, %HP%, All
  5034. StringReplace, Bind3, Bind3, <car>, %Car%, All
  5035. StringReplace, Bind3, Bind3, <time>, %Zeit%, All
  5036. StringReplace, Bind3, Bind3, <date>, %Datum%, All
  5037. StringReplace, Bind3, Bind3, <einheit>, "Einheit: " . PoliceID . "", All
  5038. GetZoneName(Zone)
  5039. GetCityName(City)
  5040. Position := "" Zone ", " City
  5041. StringReplace, Bind3, Bind3, <pos>, %Position%, All
  5042. if(SendenKey3 == 1)
  5043. {
  5044. Bind3_1 := ""
  5045. Bind3_2 := ""
  5046. Bind3_3 := ""
  5047. StringSplit, Bind3_, Bind3, #
  5048. if(Bind3_1 != "")
  5049. {
  5050. SendChat("" Bind3_1 "")
  5051. Sleep, 100
  5052. }
  5053. if(Bind3_2 != "")
  5054. {
  5055. SendChat("" Bind3_2 "")
  5056. Sleep, 100
  5057. }
  5058. if(Bind3_3 != "")
  5059. {
  5060. SendChat("" Bind3_3 "")
  5061. }
  5062. }
  5063. else
  5064. {
  5065. SendInput, t%Bind3%
  5066. }
  5067. }
  5068. return
  5069. Key4:
  5070. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5071. {
  5072. return
  5073. }
  5074. if(Bind4 != "" || Bind4 != """" || Bind4 != "ERROR")
  5075. {
  5076. FormatTime, Zeit,,HH:mm
  5077. FormatTime, Datum,,dd.MM.yyyy
  5078. Car := GetVehicleHealth()
  5079. StringReplace, Bind4, Bind4, <name>, %Name%, All
  5080. StringReplace, Bind4, Bind4, <hp>, %HP%, All
  5081. StringReplace, Bind4, Bind4, <car>, %Car%, All
  5082. StringReplace, Bind4, Bind4, <time>, %Zeit%, All
  5083. StringReplace, Bind4, Bind4, <date>, %Datum%, All
  5084. StringReplace, Bind4, Bind4, <einheit>, "Einheit: " . PoliceID . "", All
  5085. GetZoneName(Zone)
  5086. GetCityName(City)
  5087. Position := "" Zone ", " City
  5088. StringReplace, Bind4, Bind4, <pos>, %Position%, All
  5089. if(SendenKey4 == 1)
  5090. {
  5091. Bind4_1 := ""
  5092. Bind4_2 := ""
  5093. Bind4_3 := ""
  5094. StringSplit, Bind4_, Bind4, #
  5095. if(Bind4_1 != "")
  5096. {
  5097. SendChat("" Bind4_1 "")
  5098. Sleep, 100
  5099. }
  5100. if(Bind4_2 != "")
  5101. {
  5102. SendChat("" Bind4_2 "")
  5103. Sleep, 100
  5104. }
  5105. if(Bind4_3 != "")
  5106. {
  5107. SendChat("" Bind4_3 "")
  5108. }
  5109. }
  5110. else
  5111. {
  5112. SendInput, t%Bind4%
  5113. }
  5114. }
  5115. return
  5116. Key5:
  5117. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5118. {
  5119. return
  5120. }
  5121. if(Bind5 != "" || Bind5 != """" || Bind5 != "ERROR")
  5122. {
  5123. FormatTime, Zeit,,HH:mm
  5124. FormatTime, Datum,,dd.MM.yyyy
  5125. Car := GetVehicleHealth()
  5126. StringReplace, Bind5, Bind5, <name>, %Name%, All
  5127. StringReplace, Bind5, Bind5, <hp>, %HP%, All
  5128. StringReplace, Bind5, Bind5, <car>, %Car%, All
  5129. StringReplace, Bind5, Bind5, <time>, %Zeit%, All
  5130. StringReplace, Bind5, Bind5, <date>, %Datum%, All
  5131. StringReplace, Bind5, Bind5, <einheit>, "Einheit: " . PoliceID . "", All
  5132. GetZoneName(Zone)
  5133. GetCityName(City)
  5134. Position := "" Zone ", " City
  5135. StringReplace, Bind5, Bind5, <pos>, %Position%, All
  5136. if(SendenKey5 == 1)
  5137. {
  5138. Bind5_1 := ""
  5139. Bind5_2 := ""
  5140. Bind5_3 := ""
  5141. StringSplit, Bind5_, Bind5, #
  5142. if(Bind5_1 != "")
  5143. {
  5144. SendChat("" Bind5_1 "")
  5145. Sleep, 100
  5146. }
  5147. if(Bind5_2 != "")
  5148. {
  5149. SendChat("" Bind5_2 "")
  5150. Sleep, 100
  5151. }
  5152. if(Bind5_3 != "")
  5153. {
  5154. SendChat("" Bind5_3 "")
  5155. }
  5156. }
  5157. else
  5158. {
  5159. SendInput, t%Bind5%
  5160. }
  5161. }
  5162. return
  5163. Key6:
  5164. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5165. {
  5166. return
  5167. }
  5168. if(Bind6 != "" || Bind6 != """" || Bind6 != "ERROR")
  5169. {
  5170. FormatTime, Zeit,,HH:mm
  5171. FormatTime, Datum,,dd.MM.yyyy
  5172. Car := GetVehicleHealth()
  5173. StringReplace, Bind6, Bind6, <name>, %Name%, All
  5174. StringReplace, Bind6, Bind6, <hp>, %HP%, All
  5175. StringReplace, Bind6, Bind6, <car>, %Car%, All
  5176. StringReplace, Bind6, Bind6, <time>, %Zeit%, All
  5177. StringReplace, Bind6, Bind6, <date>, %Datum%, All
  5178. StringReplace, Bind6, Bind6, <einheit>, "Einheit: " . PoliceID . "", All
  5179. GetZoneName(Zone)
  5180. GetCityName(City)
  5181. Position := "" Zone ", " City
  5182. StringReplace, Bind6, Bind6, <pos>, %Position%, All
  5183. if(SendenKey6 == 1)
  5184. {
  5185. Bind6_1 := ""
  5186. Bind6_2 := ""
  5187. Bind6_3 := ""
  5188. StringSplit, Bind6_, Bind6, #
  5189. if(Bind6_1 != "")
  5190. {
  5191. SendChat("" Bind6_1 "")
  5192. Sleep, 100
  5193. }
  5194. if(Bind6_2 != "")
  5195. {
  5196. SendChat("" Bind6_2 "")
  5197. Sleep, 100
  5198. }
  5199. if(Bind6_3 != "")
  5200. {
  5201. SendChat("" Bind6_3 "")
  5202. }
  5203. }
  5204. else
  5205. {
  5206. SendInput, t%Bind6%
  5207. }
  5208. }
  5209. return
  5210. Key7:
  5211. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5212. {
  5213. return
  5214. }
  5215. if(Bind7 != "" || Bind7 != """" || Bind7 != "ERROR")
  5216. {
  5217. FormatTime, Zeit,,HH:mm
  5218. FormatTime, Datum,,dd.MM.yyyy
  5219. Car := GetVehicleHealth()
  5220. StringReplace, Bind7, Bind7, <name>, %Name%, All
  5221. StringReplace, Bind7, Bind7, <hp>, %HP%, All
  5222. StringReplace, Bind7, Bind7, <car>, %Car%, All
  5223. StringReplace, Bind7, Bind7, <time>, %Zeit%, All
  5224. StringReplace, Bind7, Bind7, <date>, %Datum%, All
  5225. StringReplace, Bind7, Bind7, <einheit>, "Einheit: " . PoliceID . "", All
  5226. GetZoneName(Zone)
  5227. GetCityName(City)
  5228. Position := "" Zone ", " City
  5229. StringReplace, Bind7, Bind7, <pos>, %Position%, All
  5230. if(SendenKey7 == 1)
  5231. {
  5232. Bind7_1 := ""
  5233. Bind7_2 := ""
  5234. Bind7_3 := ""
  5235. StringSplit, Bind7_, Bind7, #
  5236. if(Bind7_1 != "")
  5237. {
  5238. SendChat("" Bind7_1 "")
  5239. Sleep, 100
  5240. }
  5241. if(Bind7_2 != "")
  5242. {
  5243. SendChat("" Bind7_2 "")
  5244. Sleep, 100
  5245. }
  5246. if(Bind7_3 != "")
  5247. {
  5248. SendChat("" Bind7_3 "")
  5249. }
  5250. }
  5251. else
  5252. {
  5253. SendInput, t%Bind7%
  5254. }
  5255. }
  5256. return
  5257. Key8:
  5258. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5259. {
  5260. return
  5261. }
  5262. if(Bind8 != "" || Bind8 != """" || Bind8 != "ERROR")
  5263. {
  5264. FormatTime, Zeit,,HH:mm
  5265. FormatTime, Datum,,dd.MM.yyyy
  5266. Car := GetVehicleHealth()
  5267. StringReplace, Bind8, Bind8, <name>, %Name%, All
  5268. StringReplace, Bind8, Bind8, <hp>, %HP%, All
  5269. StringReplace, Bind8, Bind8, <car>, %Car%, All
  5270. StringReplace, Bind8, Bind8, <time>, %Zeit%, All
  5271. StringReplace, Bind8, Bind8, <date>, %Datum%, All
  5272. StringReplace, Bind8, Bind8, <einheit>, "Einheit: " . PoliceID . "", All
  5273. GetZoneName(Zone)
  5274. GetCityName(City)
  5275. Position := "" Zone ", " City
  5276. StringReplace, Bind8, Bind8, <pos>, %Position%, All
  5277. if(SendenKey8 == 1)
  5278. {
  5279. Bind8_1 := ""
  5280. Bind8_2 := ""
  5281. Bind8_3 := ""
  5282. StringSplit, Bind8_, Bind8, #
  5283. if(Bind8_1 != "")
  5284. {
  5285. SendChat("" Bind8_1 "")
  5286. Sleep, 100
  5287. }
  5288. if(Bind8_2 != "")
  5289. {
  5290. SendChat("" Bind8_2 "")
  5291. Sleep, 100
  5292. }
  5293. if(Bind8_3 != "")
  5294. {
  5295. SendChat("" Bind8_3 "")
  5296. }
  5297. }
  5298. else
  5299. {
  5300. SendInput, t%Bind8%
  5301. }
  5302. }
  5303. return
  5304. Key9:
  5305. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5306. {
  5307. return
  5308. }
  5309. if(Bind9 != "" || Bind9 != """" || Bind9 != "ERROR")
  5310. {
  5311. FormatTime, Zeit,,HH:mm
  5312. FormatTime, Datum,,dd.MM.yyyy
  5313. Car := GetVehicleHealth()
  5314. StringReplace, Bind9, Bind9, <name>, %Name%, All
  5315. StringReplace, Bind9, Bind9, <hp>, %HP%, All
  5316. StringReplace, Bind9, Bind9, <car>, %Car%, All
  5317. StringReplace, Bind9, Bind9, <time>, %Zeit%, All
  5318. StringReplace, Bind9, Bind9, <date>, %Datum%, All
  5319. StringReplace, Bind9, Bind9, <einheit>, "Einheit: " . PoliceID . "", All
  5320. GetZoneName(Zone)
  5321. GetCityName(City)
  5322. Position := "" Zone ", " City
  5323. StringReplace, Bind9, Bind9, <pos>, %Position%, All
  5324. if(SendenKey9 == 1)
  5325. {
  5326. Bind9_1 := ""
  5327. Bind9_2 := ""
  5328. Bind9_3 := ""
  5329. StringSplit, Bind9_, Bind9, #
  5330. if(Bind9_1 != "")
  5331. {
  5332. SendChat("" Bind9_1 "")
  5333. Sleep, 100
  5334. }
  5335. if(Bind9_2 != "")
  5336. {
  5337. SendChat("" Bind9_2 "")
  5338. Sleep, 100
  5339. }
  5340. if(Bind9_3 != "")
  5341. {
  5342. SendChat("" Bind9_3 "")
  5343. }
  5344. }
  5345. else
  5346. {
  5347. SendInput, t%Bind9%
  5348. }
  5349. }
  5350. return
  5351. Key10:
  5352. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5353. {
  5354. return
  5355. }
  5356. if(Bind10 != "" || Bind10 != """" || Bind10 != "ERROR")
  5357. {
  5358. FormatTime, Zeit,,HH:mm
  5359. FormatTime, Datum,,dd.MM.yyyy
  5360. Car := GetVehicleHealth()
  5361. StringReplace, Bind10, Bind10, <name>, %Name%, All
  5362. StringReplace, Bind10, Bind10, <hp>, %HP%, All
  5363. StringReplace, Bind10, Bind10, <car>, %Car%, All
  5364. StringReplace, Bind10, Bind10, <time>, %Zeit%, All
  5365. StringReplace, Bind10, Bind10, <date>, %Datum%, All
  5366. StringReplace, Bind10, Bind10, <einheit>, "Einheit: " . PoliceID . "", All
  5367. GetZoneName(Zone)
  5368. GetCityName(City)
  5369. Position := "" Zone ", " City
  5370. StringReplace, Bind10, Bind10, <pos>, %Position%, All
  5371. if(SendenKey10 == 1)
  5372. {
  5373. Bind10_1 := ""
  5374. Bind10_2 := ""
  5375. Bind10_3 := ""
  5376. StringSplit, Bind10_, Bind10, #
  5377. if(Bind10_1 != "")
  5378. {
  5379. SendChat("" Bind10_1 "")
  5380. Sleep, 100
  5381. }
  5382. if(Bind10_2 != "")
  5383. {
  5384. SendChat("" Bind10_2 "")
  5385. Sleep, 100
  5386. }
  5387. if(Bind10_3 != "")
  5388. {
  5389. SendChat("" Bind10_3 "")
  5390. }
  5391. }
  5392. else
  5393. {
  5394. SendInput, t%Bind10%
  5395. }
  5396. }
  5397. return
  5398. Key11:
  5399. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5400. {
  5401. return
  5402. }
  5403. if(Bind11 != "" || Bind11 != """" || Bind11 != "ERROR")
  5404. {
  5405. FormatTime, Zeit,,HH:mm
  5406. FormatTime, Datum,,dd.MM.yyyy
  5407. Car := GetVehicleHealth()
  5408. StringReplace, Bind11, Bind11, <name>, %Name%, All
  5409. StringReplace, Bind11, Bind11, <hp>, %HP%, All
  5410. StringReplace, Bind11, Bind11, <car>, %Car%, All
  5411. StringReplace, Bind11, Bind11, <time>, %Zeit%, All
  5412. StringReplace, Bind11, Bind11, <date>, %Datum%, All
  5413. StringReplace, Bind11, Bind11, <einheit>, "Einheit: " . PoliceID . "", All
  5414. GetZoneName(Zone)
  5415. GetCityName(City)
  5416. Position := "" Zone ", " City
  5417. StringReplace, Bind11, Bind11, <pos>, %Position%, All
  5418. if(SendenKey11 == 1)
  5419. {
  5420. Bind11_1 := ""
  5421. Bind11_2 := ""
  5422. Bind11_3 := ""
  5423. StringSplit, Bind11_, Bind11, #
  5424. if(Bind11_1 != "")
  5425. {
  5426. SendChat("" Bind11_1 "")
  5427. Sleep, 100
  5428. }
  5429. if(Bind11_2 != "")
  5430. {
  5431. SendChat("" Bind11_2 "")
  5432. Sleep, 100
  5433. }
  5434. if(Bind11_3 != "")
  5435. {
  5436. SendChat("" Bind11_3 "")
  5437. }
  5438. }
  5439. else
  5440. {
  5441. SendInput, t%Bind11%
  5442. }
  5443. }
  5444. return
  5445. Key12:
  5446. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5447. {
  5448. return
  5449. }
  5450. if(Bind12 != "" || Bind12 != """" || Bind12 != "ERROR")
  5451. {
  5452. FormatTime, Zeit,,HH:mm
  5453. FormatTime, Datum,,dd.MM.yyyy
  5454. Car := GetVehicleHealth()
  5455. StringReplace, Bind12, Bind12, <name>, %Name%, All
  5456. StringReplace, Bind12, Bind12, <hp>, %HP%, All
  5457. StringReplace, Bind12, Bind12, <car>, %Car%, All
  5458. StringReplace, Bind12, Bind12, <time>, %Zeit%, All
  5459. StringReplace, Bind12, Bind12, <date>, %Datum%, All
  5460. StringReplace, Bind12, Bind12, <einheit>, "Einheit: " . PoliceID . "", All
  5461. GetZoneName(Zone)
  5462. GetCityName(City)
  5463. Position := "" Zone ", " City
  5464. StringReplace, Bind12, Bind12, <pos>, %Position%, All
  5465. if(SendenKey12 == 1)
  5466. {
  5467. Bind12_1 := ""
  5468. Bind12_2 := ""
  5469. Bind12_3 := ""
  5470. StringSplit, Bind12_, Bind12, #
  5471. if(Bind12_1 != "")
  5472. {
  5473. SendChat("" Bind12_1 "")
  5474. Sleep, 100
  5475. }
  5476. if(Bind12_2 != "")
  5477. {
  5478. SendChat("" Bind12_2 "")
  5479. Sleep, 100
  5480. }
  5481. if(Bind12_3 != "")
  5482. {
  5483. SendChat("" Bind12_3 "")
  5484. }
  5485. }
  5486. else
  5487. {
  5488. SendInput, t%Bind12%
  5489. }
  5490. }
  5491. return
  5492. Key13:
  5493. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5494. {
  5495. return
  5496. }
  5497. if(Bind13 != "" || Bind13 != """" || Bind13 != "ERROR")
  5498. {
  5499. FormatTime, Zeit,,HH:mm
  5500. FormatTime, Datum,,dd.MM.yyyy
  5501. Car := GetVehicleHealth()
  5502. StringReplace, Bind13, Bind13, <name>, %Name%, All
  5503. StringReplace, Bind13, Bind13, <hp>, %HP%, All
  5504. StringReplace, Bind13, Bind13, <car>, %Car%, All
  5505. StringReplace, Bind13, Bind13, <time>, %Zeit%, All
  5506. StringReplace, Bind13, Bind13, <date>, %Datum%, All
  5507. StringReplace, Bind13, Bind13, <einheit>, "Einheit: " . PoliceID . "", All
  5508. GetZoneName(Zone)
  5509. GetCityName(City)
  5510. Position := "" Zone ", " City
  5511. StringReplace, Bind13, Bind13, <pos>, %Position%, All
  5512. if(SendenKey13 == 1)
  5513. {
  5514. Bind13_1 := ""
  5515. Bind13_2 := ""
  5516. Bind13_3 := ""
  5517. StringSplit, Bind13_, Bind13, #
  5518. if(Bind13_1 != "")
  5519. {
  5520. SendChat("" Bind13_1 "")
  5521. Sleep, 100
  5522. }
  5523. if(Bind13_2 != "")
  5524. {
  5525. SendChat("" Bind13_2 "")
  5526. Sleep, 100
  5527. }
  5528. if(Bind13_3 != "")
  5529. {
  5530. SendChat("" Bind13_3 "")
  5531. }
  5532. }
  5533. else
  5534. {
  5535. SendInput, t%Bind13%
  5536. }
  5537. }
  5538. return
  5539. Key14:
  5540. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5541. {
  5542. return
  5543. }
  5544. if(Bind14 != "" || Bind14 != """" || Bind14 != "ERROR")
  5545. {
  5546. FormatTime, Zeit,,HH:mm
  5547. FormatTime, Datum,,dd.MM.yyyy
  5548. Car := GetVehicleHealth()
  5549. StringReplace, Bind14, Bind14, <name>, %Name%, All
  5550. StringReplace, Bind14, Bind14, <hp>, %HP%, All
  5551. StringReplace, Bind14, Bind14, <car>, %Car%, All
  5552. StringReplace, Bind14, Bind14, <time>, %Zeit%, All
  5553. StringReplace, Bind14, Bind14, <date>, %Datum%, All
  5554. StringReplace, Bind14, Bind14, <einheit>, "Einheit: " . PoliceID . "", All
  5555. GetZoneName(Zone)
  5556. GetCityName(City)
  5557. Position := "" Zone ", " City
  5558. StringReplace, Bind14, Bind14, <pos>, %Position%, All
  5559. if(SendenKey14 == 1)
  5560. {
  5561. Bind14_1 := ""
  5562. Bind14_2 := ""
  5563. Bind14_3 := ""
  5564. StringSplit, Bind14_, Bind14, #
  5565. if(Bind14_1 != "")
  5566. {
  5567. SendChat("" Bind14_1 "")
  5568. Sleep, 100
  5569. }
  5570. if(Bind14_2 != "")
  5571. {
  5572. SendChat("" Bind14_2 "")
  5573. Sleep, 100
  5574. }
  5575. if(Bind14_3 != "")
  5576. {
  5577. SendChat("" Bind14_3 "")
  5578. }
  5579. }
  5580. else
  5581. {
  5582. SendInput, t%Bind14%
  5583. }
  5584. }
  5585. return
  5586. Key15:
  5587. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5588. {
  5589. return
  5590. }
  5591. if(Bind15 != "" || Bind15 != """" || Bind15 != "ERROR")
  5592. {
  5593. FormatTime, Zeit,,HH:mm
  5594. FormatTime, Datum,,dd.MM.yyyy
  5595. Car := GetVehicleHealth()
  5596. StringReplace, Bind15, Bind15, <name>, %Name%, All
  5597. StringReplace, Bind15, Bind15, <hp>, %HP%, All
  5598. StringReplace, Bind15, Bind15, <car>, %Car%, All
  5599. StringReplace, Bind15, Bind15, <time>, %Zeit%, All
  5600. StringReplace, Bind15, Bind15, <date>, %Datum%, All
  5601. StringReplace, Bind15, Bind15, <einheit>, "Einheit: " . PoliceID . "", All
  5602. GetZoneName(Zone)
  5603. GetCityName(City)
  5604. Position := "" Zone ", " City
  5605. StringReplace, Bind15, Bind15, <pos>, %Position%, All
  5606. if(SendenKey15 == 1)
  5607. {
  5608. Bind15_1 := ""
  5609. Bind15_2 := ""
  5610. Bind15_3 := ""
  5611. StringSplit, Bind15_, Bind15, #
  5612. if(Bind15_1 != "")
  5613. {
  5614. SendChat("" Bind15_1 "")
  5615. Sleep, 100
  5616. }
  5617. if(Bind15_2 != "")
  5618. {
  5619. SendChat("" Bind15_2 "")
  5620. Sleep, 100
  5621. }
  5622. if(Bind15_3 != "")
  5623. {
  5624. SendChat("" Bind15_3 "")
  5625. }
  5626. }
  5627. else
  5628. {
  5629. SendInput, t%Bind15%
  5630. }
  5631. }
  5632. return
  5633. Key16:
  5634. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5635. {
  5636. return
  5637. }
  5638. if(Bind16 != "" || Bind16 != """" || Bind16 != "ERROR")
  5639. {
  5640. FormatTime, Zeit,,HH:mm
  5641. FormatTime, Datum,,dd.MM.yyyy
  5642. Car := GetVehicleHealth()
  5643. StringReplace, Bind16, Bind16, <name>, %Name%, All
  5644. StringReplace, Bind16, Bind16, <hp>, %HP%, All
  5645. StringReplace, Bind16, Bind16, <car>, %Car%, All
  5646. StringReplace, Bind16, Bind16, <time>, %Zeit%, All
  5647. StringReplace, Bind16, Bind16, <date>, %Datum%, All
  5648. StringReplace, Bind16, Bind16, <einheit>, "Einheit: " . PoliceID . "", All
  5649. GetZoneName(Zone)
  5650. GetCityName(City)
  5651. Position := "" Zone ", " City
  5652. StringReplace, Bind16, Bind16, <pos>, %Position%, All
  5653. if(SendenKey16 == 1)
  5654. {
  5655. Bind16_1 := ""
  5656. Bind16_2 := ""
  5657. Bind16_3 := ""
  5658. StringSplit, Bind16_, Bind16, #
  5659. if(Bind16_1 != "")
  5660. {
  5661. SendChat("" Bind16_1 "")
  5662. Sleep, 100
  5663. }
  5664. if(Bind16_2 != "")
  5665. {
  5666. SendChat("" Bind16_2 "")
  5667. Sleep, 100
  5668. }
  5669. if(Bind16_3 != "")
  5670. {
  5671. SendChat("" Bind16_3 "")
  5672. }
  5673. }
  5674. else
  5675. {
  5676. SendInput, t%Bind16%
  5677. }
  5678. }
  5679. return
  5680. Key17:
  5681. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5682. {
  5683. return
  5684. }
  5685. if(Bind17 != "" || Bind17 != """" || Bind17 != "ERROR")
  5686. {
  5687. FormatTime, Zeit,,HH:mm
  5688. FormatTime, Datum,,dd.MM.yyyy
  5689. Car := GetVehicleHealth()
  5690. StringReplace, Bind17, Bind17, <name>, %Name%, All
  5691. StringReplace, Bind17, Bind17, <hp>, %HP%, All
  5692. StringReplace, Bind17, Bind17, <car>, %Car%, All
  5693. StringReplace, Bind17, Bind17, <time>, %Zeit%, All
  5694. StringReplace, Bind17, Bind17, <date>, %Datum%, All
  5695. StringReplace, Bind17, Bind17, <einheit>, "Einheit: " . PoliceID . "", All
  5696. GetZoneName(Zone)
  5697. GetCityName(City)
  5698. Position := "" Zone ", " City
  5699. StringReplace, Bind17, Bind17, <pos>, %Position%, All
  5700. if(SendenKey17 == 1)
  5701. {
  5702. Bind17_1 := ""
  5703. Bind17_2 := ""
  5704. Bind17_3 := ""
  5705. StringSplit, Bind17_, Bind17, #
  5706. if(Bind17_1 != "")
  5707. {
  5708. SendChat("" Bind17_1 "")
  5709. Sleep, 100
  5710. }
  5711. if(Bind17_2 != "")
  5712. {
  5713. SendChat("" Bind17_2 "")
  5714. Sleep, 100
  5715. }
  5716. if(Bind17_3 != "")
  5717. {
  5718. SendChat("" Bind17_3 "")
  5719. }
  5720. }
  5721. else
  5722. {
  5723. SendInput, t%Bind17%
  5724. }
  5725. }
  5726. return
  5727. Key18:
  5728. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5729. {
  5730. return
  5731. }
  5732. if(Bind18 != "" || Bind18 != """" || Bind18 != "ERROR")
  5733. {
  5734. FormatTime, Zeit,,HH:mm
  5735. FormatTime, Datum,,dd.MM.yyyy
  5736. Car := GetVehicleHealth()
  5737. StringReplace, Bind18, Bind18, <name>, %Name%, All
  5738. StringReplace, Bind18, Bind18, <hp>, %HP%, All
  5739. StringReplace, Bind18, Bind18, <car>, %Car%, All
  5740. StringReplace, Bind18, Bind18, <time>, %Zeit%, All
  5741. StringReplace, Bind18, Bind18, <date>, %Datum%, All
  5742. StringReplace, Bind18, Bind18, <einheit>, "Einheit: " . PoliceID . "", All
  5743. GetZoneName(Zone)
  5744. GetCityName(City)
  5745. Position := "" Zone ", " City
  5746. StringReplace, Bind18, Bind18, <pos>, %Position%, All
  5747. if(SendenKey18 == 1)
  5748. {
  5749. Bind18_1 := ""
  5750. Bind18_2 := ""
  5751. Bind18_3 := ""
  5752. StringSplit, Bind18_, Bind18, #
  5753. if(Bind18_1 != "")
  5754. {
  5755. SendChat("" Bind18_1 "")
  5756. Sleep, 100
  5757. }
  5758. if(Bind18_2 != "")
  5759. {
  5760. SendChat("" Bind18_2 "")
  5761. Sleep, 100
  5762. }
  5763. if(Bind18_3 != "")
  5764. {
  5765. SendChat("" Bind18_3 "")
  5766. }
  5767. }
  5768. else
  5769. {
  5770. SendInput, t%Bind18%
  5771. }
  5772. }
  5773. return
  5774. Key19:
  5775. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5776. {
  5777. return
  5778. }
  5779. if(Bind19 != "" || Bind19 != """" || Bind19 != "ERROR")
  5780. {
  5781. FormatTime, Zeit,,HH:mm
  5782. FormatTime, Datum,,dd.MM.yyyy
  5783. Car := GetVehicleHealth()
  5784. StringReplace, Bind19, Bind19, <name>, %Name%, All
  5785. StringReplace, Bind19, Bind19, <hp>, %HP%, All
  5786. StringReplace, Bind19, Bind19, <car>, %Car%, All
  5787. StringReplace, Bind19, Bind19, <time>, %Zeit%, All
  5788. StringReplace, Bind19, Bind19, <date>, %Datum%, All
  5789. StringReplace, Bind19, Bind19, <einheit>, "Einheit: " . PoliceID . "", All
  5790. GetZoneName(Zone)
  5791. GetCityName(City)
  5792. Position := "" Zone ", " City
  5793. StringReplace, Bind19, Bind19, <pos>, %Position%, All
  5794. if(SendenKey19 == 1)
  5795. {
  5796. Bind19_1 := ""
  5797. Bind19_2 := ""
  5798. Bind19_3 := ""
  5799. StringSplit, Bind19_, Bind19, #
  5800. if(Bind19_1 != "")
  5801. {
  5802. SendChat("" Bind19_1 "")
  5803. Sleep, 100
  5804. }
  5805. if(Bind19_2 != "")
  5806. {
  5807. SendChat("" Bind19_2 "")
  5808. Sleep, 100
  5809. }
  5810. if(Bind19_3 != "")
  5811. {
  5812. SendChat("" Bind19_3 "")
  5813. }
  5814. }
  5815. else
  5816. {
  5817. SendInput, t%Bind19%
  5818. }
  5819. }
  5820. return
  5821. Key20:
  5822. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5823. {
  5824. return
  5825. }
  5826. if(Bind20 != "" || Bind20 != """" || Bind20 != "ERROR")
  5827. {
  5828. FormatTime, Zeit,,HH:mm
  5829. FormatTime, Datum,,dd.MM.yyyy
  5830. Car := GetVehicleHealth()
  5831. StringReplace, Bind20, Bind20, <name>, %Name%, All
  5832. StringReplace, Bind20, Bind20, <hp>, %HP%, All
  5833. StringReplace, Bind20, Bind20, <car>, %Car%, All
  5834. StringReplace, Bind20, Bind20, <time>, %Zeit%, All
  5835. StringReplace, Bind20, Bind20, <date>, %Datum%, All
  5836. StringReplace, Bind20, Bind20, <einheit>, "Einheit: " . PoliceID . "", All
  5837. GetZoneName(Zone)
  5838. GetCityName(City)
  5839. Position := "" Zone ", " City
  5840. StringReplace, Bind20, Bind20, <pos>, %Position%, All
  5841. if(SendenKey20 == 1)
  5842. {
  5843. Bind20_1 := ""
  5844. Bind20_2 := ""
  5845. Bind20_3 := ""
  5846. StringSplit, Bind20_, Bind20, #
  5847. if(Bind20_1 != "")
  5848. {
  5849. SendChat("" Bind20_1 "")
  5850. Sleep, 100
  5851. }
  5852. if(Bind20_2 != "")
  5853. {
  5854. SendChat("" Bind20_2 "")
  5855. Sleep, 100
  5856. }
  5857. if(Bind20_3 != "")
  5858. {
  5859. SendChat("" Bind20_3 "")
  5860. }
  5861. }
  5862. else
  5863. {
  5864. SendInput, t%Bind20%
  5865. }
  5866. }
  5867. return
  5868. Key21:
  5869. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5870. {
  5871. return
  5872. }
  5873. if(Bind21 != "" || Bind21 != """" || Bind21 != "ERROR")
  5874. {
  5875. FormatTime, Zeit,,HH:mm
  5876. FormatTime, Datum,,dd.MM.yyyy
  5877. Car := GetVehicleHealth()
  5878. StringReplace, Bind21, Bind21, <name>, %Name%, All
  5879. StringReplace, Bind21, Bind21, <hp>, %HP%, All
  5880. StringReplace, Bind21, Bind21, <car>, %Car%, All
  5881. StringReplace, Bind21, Bind21, <time>, %Zeit%, All
  5882. StringReplace, Bind21, Bind21, <date>, %Datum%, All
  5883. StringReplace, Bind21, Bind21, <einheit>, "Einheit: " . PoliceID . "", All
  5884. GetZoneName(Zone)
  5885. GetCityName(City)
  5886. Position := "" Zone ", " City
  5887. StringReplace, Bind21, Bind21, <pos>, %Position%, All
  5888. if(SendenKey21 == 1)
  5889. {
  5890. Bind21_1 := ""
  5891. Bind21_2 := ""
  5892. Bind21_3 := ""
  5893. StringSplit, Bind21_, Bind21, #
  5894. if(Bind21_1 != "")
  5895. {
  5896. SendChat("" Bind21_1 "")
  5897. Sleep, 100
  5898. }
  5899. if(Bind21_2 != "")
  5900. {
  5901. SendChat("" Bind21_2 "")
  5902. Sleep, 100
  5903. }
  5904. if(Bind21_3 != "")
  5905. {
  5906. SendChat("" Bind21_3 "")
  5907. }
  5908. }
  5909. else
  5910. {
  5911. SendInput, t%Bind21%
  5912. }
  5913. }
  5914. return
  5915. Key22:
  5916. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5917. {
  5918. return
  5919. }
  5920. if(Bind22 != "" || Bind22 != """" || Bind22 != "ERROR")
  5921. {
  5922. FormatTime, Zeit,,HH:mm
  5923. FormatTime, Datum,,dd.MM.yyyy
  5924. Car := GetVehicleHealth()
  5925. StringReplace, Bind22, Bind22, <name>, %Name%, All
  5926. StringReplace, Bind22, Bind22, <hp>, %HP%, All
  5927. StringReplace, Bind22, Bind22, <car>, %Car%, All
  5928. StringReplace, Bind22, Bind22, <time>, %Zeit%, All
  5929. StringReplace, Bind22, Bind22, <date>, %Datum%, All
  5930. StringReplace, Bind22, Bind22, <einheit>, "Einheit: " . PoliceID . "", All
  5931. GetZoneName(Zone)
  5932. GetCityName(City)
  5933. Position := "" Zone ", " City
  5934. StringReplace, Bind22, Bind22, <pos>, %Position%, All
  5935. if(SendenKey22 == 1)
  5936. {
  5937. Bind22_1 := ""
  5938. Bind22_2 := ""
  5939. Bind22_3 := ""
  5940. StringSplit, Bind22_, Bind22, #
  5941. if(Bind22_1 != "")
  5942. {
  5943. SendChat("" Bind22_1 "")
  5944. Sleep, 100
  5945. }
  5946. if(Bind22_2 != "")
  5947. {
  5948. SendChat("" Bind22_2 "")
  5949. Sleep, 100
  5950. }
  5951. if(Bind22_3 != "")
  5952. {
  5953. SendChat("" Bind22_3 "")
  5954. }
  5955. }
  5956. else
  5957. {
  5958. SendInput, t%Bind22%
  5959. }
  5960. }
  5961. return
  5962. Key23:
  5963. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  5964. {
  5965. return
  5966. }
  5967. if(Bind23 != "" || Bind23 != """" || Bind23 != "ERROR")
  5968. {
  5969. FormatTime, Zeit,,HH:mm
  5970. FormatTime, Datum,,dd.MM.yyyy
  5971. Car := GetVehicleHealth()
  5972. StringReplace, Bind23, Bind23, <name>, %Name%, All
  5973. StringReplace, Bind23, Bind23, <hp>, %HP%, All
  5974. StringReplace, Bind23, Bind23, <car>, %Car%, All
  5975. StringReplace, Bind23, Bind23, <time>, %Zeit%, All
  5976. StringReplace, Bind23, Bind23, <date>, %Datum%, All
  5977. StringReplace, Bind23, Bind23, <einheit>, "Einheit: " . PoliceID . "", All
  5978. GetZoneName(Zone)
  5979. GetCityName(City)
  5980. Position := "" Zone ", " City
  5981. StringReplace, Bind23, Bind23, <pos>, %Position%, All
  5982. if(SendenKey23 == 1)
  5983. {
  5984. Bind23_1 := ""
  5985. Bind23_2 := ""
  5986. Bind23_3 := ""
  5987. StringSplit, Bind23_, Bind23, #
  5988. if(Bind23_1 != "")
  5989. {
  5990. SendChat("" Bind23_1 "")
  5991. Sleep, 100
  5992. }
  5993. if(Bind23_2 != "")
  5994. {
  5995. SendChat("" Bind23_2 "")
  5996. Sleep, 100
  5997. }
  5998. if(Bind23_3 != "")
  5999. {
  6000. SendChat("" Bind23_3 "")
  6001. }
  6002. }
  6003. else
  6004. {
  6005. SendInput, t%Bind23%
  6006. }
  6007. }
  6008. return
  6009. Key24:
  6010. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6011. {
  6012. return
  6013. }
  6014. if(Bind24 != "" || Bind24 != """" || Bind24 != "ERROR")
  6015. {
  6016. FormatTime, Zeit,,HH:mm
  6017. FormatTime, Datum,,dd.MM.yyyy
  6018. Car := GetVehicleHealth()
  6019. StringReplace, Bind24, Bind24, <name>, %Name%, All
  6020. StringReplace, Bind24, Bind24, <hp>, %HP%, All
  6021. StringReplace, Bind24, Bind24, <car>, %Car%, All
  6022. StringReplace, Bind24, Bind24, <time>, %Zeit%, All
  6023. StringReplace, Bind24, Bind24, <date>, %Datum%, All
  6024. StringReplace, Bind24, Bind24, <einheit>, "Einheit: " . PoliceID . "", All
  6025. GetZoneName(Zone)
  6026. GetCityName(City)
  6027. Position := "" Zone ", " City
  6028. StringReplace, Bind24, Bind24, <pos>, %Position%, All
  6029. if(SendenKey24 == 1)
  6030. {
  6031. Bind24_1 := ""
  6032. Bind24_2 := ""
  6033. Bind24_3 := ""
  6034. StringSplit, Bind24_, Bind24, #
  6035. if(Bind24_1 != "")
  6036. {
  6037. SendChat("" Bind24_1 "")
  6038. Sleep, 100
  6039. }
  6040. if(Bind24_2 != "")
  6041. {
  6042. SendChat("" Bind24_2 "")
  6043. Sleep, 100
  6044. }
  6045. if(Bind24_3 != "")
  6046. {
  6047. SendChat("" Bind24_3 "")
  6048. }
  6049. }
  6050. else
  6051. {
  6052. SendInput, t%Bind24%
  6053. }
  6054. }
  6055. return
  6056. Key25:
  6057. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6058. {
  6059. return
  6060. }
  6061. if(Bind25 != "" || Bind25 != """" || Bind25 != "ERROR")
  6062. {
  6063. FormatTime, Zeit,,HH:mm
  6064. FormatTime, Datum,,dd.MM.yyyy
  6065. Car := GetVehicleHealth()
  6066. StringReplace, Bind25, Bind25, <name>, %Name%, All
  6067. StringReplace, Bind25, Bind25, <hp>, %HP%, All
  6068. StringReplace, Bind25, Bind25, <car>, %Car%, All
  6069. StringReplace, Bind25, Bind25, <time>, %Zeit%, All
  6070. StringReplace, Bind25, Bind25, <date>, %Datum%, All
  6071. StringReplace, Bind25, Bind25, <einheit>, "Einheit: " . PoliceID . "", All
  6072. GetZoneName(Zone)
  6073. GetCityName(City)
  6074. Position := "" Zone ", " City
  6075. StringReplace, Bind25, Bind25, <pos>, %Position%, All
  6076. if(SendenKey25 == 1)
  6077. {
  6078. Bind25_1 := ""
  6079. Bind25_2 := ""
  6080. Bind25_3 := ""
  6081. StringSplit, Bind25_, Bind25, #
  6082. if(Bind25_1 != "")
  6083. {
  6084. SendChat("" Bind25_1 "")
  6085. Sleep, 100
  6086. }
  6087. if(Bind25_2 != "")
  6088. {
  6089. SendChat("" Bind25_2 "")
  6090. Sleep, 100
  6091. }
  6092. if(Bind25_3 != "")
  6093. {
  6094. SendChat("" Bind25_3 "")
  6095. }
  6096. }
  6097. else
  6098. {
  6099. SendInput, t%Bind25%
  6100. }
  6101. }
  6102. return
  6103. Key26:
  6104. If(IsChatOpen() == 1 || IsDialogOpen() == 1)
  6105. {
  6106. return
  6107. }
  6108. if(Bind26 != "" || Bind26 != """" || Bind26 != "ERROR")
  6109. {
  6110. FormatTime, Zeit,,HH:mm
  6111. FormatTime, Datum,,dd.MM.yyyy
  6112. Car := GetVehicleHealth()
  6113. StringReplace, Bind26, Bind26, <name>, %Name%, All
  6114. StringReplace, Bind26, Bind26, <hp>, %HP%, All
  6115. StringReplace, Bind26, Bind26, <car>, %Car%, All
  6116. StringReplace, Bind26, Bind26, <time>, %Zeit%, All
  6117. StringReplace, Bind26, Bind26, <date>, %Datum%, All
  6118. StringReplace, Bind26, Bind26, <einheit>, "Einheit: " . PoliceID . "", All
  6119. GetZoneName(Zone)
  6120. GetCityName(City)
  6121. Position := "" Zone ", " City
  6122. StringReplace, Bind26, Bind26, <pos>, %Position%, All
  6123. if(SendenKey26 == 1)
  6124. {
  6125. Bind26_1 := ""
  6126. Bind26_2 := ""
  6127. Bind26_3 := ""
  6128. StringSplit, Bind26_, Bind26, #
  6129. if(Bind26_1 != "")
  6130. {
  6131. SendChat("" Bind26_1 "")
  6132. Sleep, 100
  6133. }
  6134. if(Bind26_2 != "")
  6135. {
  6136. SendChat("" Bind26_2 "")
  6137. Sleep, 100
  6138. }
  6139. if(Bind26_3 != "")
  6140. {
  6141. SendChat("" Bind26_3 "")
  6142. }
  6143. }
  6144. else
  6145. {
  6146. SendInput, t%Bind26%
  6147. }
  6148. }
  6149. return
  6150. :?:/id::
  6151. Suspend Permit
  6152. Suspend On
  6153. SendInput, /id{space}
  6154. Input, CID, V I M,{enter}
  6155. Send {enter}
  6156. SendChat("/number " . CID . "")
  6157. Suspend Off
  6158. return
  6159. :?:/afind::
  6160. Suspend Permit
  6161. Suspend On
  6162. SendInput, /find{space}
  6163. Input, AID, V I M,{enter}
  6164. Send {enter}
  6165. SetTimer, Find, 6000
  6166. Suspend Off
  6167. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Das automatische Suchen können Sie mit der Taste '<' deaktivieren.")
  6168. return
  6169. :?:/af::
  6170. Suspend Permit
  6171. Suspend On
  6172. SendInput, /find{space}
  6173. Input, AID, V I M,{enter}
  6174. Send {enter}
  6175. SetTimer, Find, 6000
  6176. Suspend Off
  6177. return
  6178. Find:
  6179. SendChat("/find " . AID)
  6180. return
  6181. :?:/ashowpos::
  6182. Suspend Permit
  6183. Suspend On
  6184. SendInput, /showpos{space}
  6185. Input, AID, V I M,{enter}
  6186. Send {enter}
  6187. SetTimer, Show, 6000
  6188. Suspend Off
  6189. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Das automatische Zeigen können Sie mit der Taste '<' deaktivieren.")
  6190. return
  6191. :?:/as::
  6192. Suspend Permit
  6193. Suspend On
  6194. SendInput, /showpos{space}
  6195. Input, AID, V I M,{enter}
  6196. Send {enter}
  6197. SetTimer, Show, 6000
  6198. Suspend Off
  6199. return
  6200. Show:
  6201. SendChat("/showpos " . AID)
  6202. return
  6203. :?:/pos::
  6204. Suspend Permit
  6205. if(Fahrer > -1)
  6206. {
  6207. pFahrer := Fahrer
  6208. }
  6209. else if(Partner1 > -1)
  6210. {
  6211. pFahrer := Partner1
  6212. }
  6213. else if(Partner2 > -1)
  6214. {
  6215. pFahrer := Partner2
  6216. }
  6217. else if(Partner3 > -1)
  6218. {
  6219. pFahrer := Partner3
  6220. }
  6221. else
  6222. {
  6223. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Es ist kein Partner / Fahrer eingetragen.")
  6224. return
  6225. }
  6226. Suspend On
  6227. SendInput, /showpos %pFahrer%{space}
  6228. Input, SID, V I M,{enter}
  6229. Send {enter}
  6230. SetTimer, PShow, 6000
  6231. Suspend Off
  6232. return
  6233. PShow:
  6234. SendChat("/showpos " . pFahrer . " " SID "")
  6235. return
  6236. :?:/dshow::
  6237. Suspend Permit
  6238. FindID := PlayerInput("Spieler ID / Name: ")
  6239. chatart := "d"
  6240. SetTimer, show_dete, 6000
  6241. SendChat("/find " FindID "")
  6242. Sleep, 200
  6243. GetChatLine(0, chatline_dete)
  6244. if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
  6245. {
  6246. SendChat("/d Spieler " FindID " kann nicht gesucht werden.")
  6247. }
  6248. else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
  6249. {
  6250. SendChat("/d Spieler " FindID " ist nicht online.")
  6251. }
  6252. else
  6253. {
  6254. RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
  6255. SendChat("/d Spieler " FindID " befindet sich in " Ort1 ".")
  6256. }
  6257. return
  6258. :?:/fshow::
  6259. Suspend Permit
  6260. FindID := PlayerInput("Spieler ID / Name: ")
  6261. chatart := "f"
  6262. SetTimer, show_dete, 6000
  6263. SendChat("/find " FindID "")
  6264. Sleep, 200
  6265. GetChatLine(0, chatline_dete)
  6266. if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
  6267. {
  6268. SendChat("/f Spieler " FindID " kann nicht gesucht werden.")
  6269. }
  6270. else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
  6271. {
  6272. SendChat("/f Spieler " FindID " ist nicht online.")
  6273. }
  6274. else
  6275. {
  6276. RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
  6277. SendChat("/f Spieler " FindID " befindet sich in " Ort1 ".")
  6278. }
  6279. return
  6280. :?:/rshow::
  6281. Suspend Permit
  6282. FindID := PlayerInput("Spieler ID / Name: ")
  6283. chatart := "r"
  6284. SetTimer, show_dete, 6000
  6285. SendChat("/find " FindID "")
  6286. Sleep, 200
  6287. GetChatLine(0, chatline_dete)
  6288. if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
  6289. {
  6290. SendChat("/r Spieler " FindID " kann nicht gesucht werden.")
  6291. }
  6292. else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
  6293. {
  6294. SendChat("/r Spieler " FindID " ist nicht online.")
  6295. }
  6296. else
  6297. {
  6298. RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
  6299. SendChat("/r Spieler " FindID " befindet sich in " Ort1 ".")
  6300. }
  6301. return
  6302. show_dete:
  6303. SendChat("/find " FindID "")
  6304. Sleep, 200
  6305. GetChatLine(0, chatline_dete)
  6306. if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
  6307. {
  6308. SendChat("/" chatart " Spieler " FindID " kann nicht gesucht werden.")
  6309. }
  6310. else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
  6311. {
  6312. SendChat("/" chatart " Spieler " FindID " ist nicht online.")
  6313. }
  6314. else
  6315. {
  6316. RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
  6317. SendChat("/" chatart " Spieler " FindID " befindet sich in " Ort1 ".")
  6318. }
  6319. return
  6320. :?:/kh::
  6321. Suspend Permit
  6322. exe := OpenMemoryfromTitle_("GTA:SA:MP")
  6323. posX := ReadMemory_(exe,0xC7DEC8,"Float")
  6324. posY := ReadMemory_(exe,0xC7DECC,"Float")
  6325. posZ := ReadMemory_(exe, 0xC7DED0,"Float")
  6326. CloseMemory_(exe)
  6327. posX := Floor(posX)
  6328. posY := Floor(posY)
  6329. posZ := Floor(posZ)
  6330. if(GetDistancebetween(1163.2358,-1323.2552,15.3945, posX, posY, posZ) <= 3)
  6331. {
  6332. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Spieler befindet sich im Krankenhaus.")
  6333. }
  6334. else
  6335. {
  6336. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Spieler befindet sich NICHT im Krankenhaus.")
  6337. }
  6338. return
  6339. :?:/fahrer::
  6340. Suspend Permit
  6341. if(Fahrer == -1)
  6342. {
  6343. SendInput, Gebe die ID deines Fahrers ein:{Space}
  6344. Input, caID, V I M,{Enter}
  6345. SendInput {end}+{home}{Del}{Esc}
  6346. Fahrer=%caID%
  6347. if(Fahrer < 0 || Fahrer > 400)
  6348. {
  6349. caID := GetPlayerIDByName(Fahrer)
  6350. Fahrer=%caID%
  6351. }
  6352. GetPlayerNameById(caID, fahrername)
  6353. if(fahrername == -1)
  6354. {
  6355. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Dieser Spieler ist nicht Online.")
  6356. }
  6357. else
  6358. {
  6359. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} " . fahrername . " wurde als Fahrer eingetragen.")
  6360. }
  6361. }
  6362. else
  6363. {
  6364. AddChatMessage(0x4B45F, "|Atano-BinderFFFFFF} Der Fahrer wurde entfernt.")
  6365. Fahrer=-1
  6366. }
  6367. return
  6368. ~<::
  6369. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  6370. {
  6371. return
  6372. }
  6373. SetTimer, Find, Off
  6374. SetTimer, Show, Off
  6375. SetTimer, PShow, Off
  6376. SetTimer, show_dete, off
  6377. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Automatische Suchsysteme deaktiviert.")
  6378. return
  6379. ~LControl & ~t::
  6380. Suspend Permit
  6381. If (IsPlayerinAnyVehicle() == 0)
  6382. {
  6383. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist in keinem Fahrzeug!")
  6384. return
  6385. }
  6386. If (IsPlayerDriver() == 0)
  6387. {
  6388. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist nicht der Fahrer!")
  6389. return
  6390. }
  6391. SpeedOnOff := !SpeedOnOff
  6392. if(SpeedOnOff == 1)
  6393. {
  6394. VehSpeedMax := GetPlayerSpeed()
  6395. SpeedCheckStatus := "1"
  6396. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
  6397. }
  6398. else
  6399. {
  6400. SpeedCheckStatus := "0"
  6401. Sleep, 250
  6402. SendInput {W up}
  6403. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  6404. SendInput {W Up}
  6405. VehSpeedMax := 0
  6406. }
  6407. return
  6408. :?:/tempo::
  6409. Suspend Permit
  6410. If (IsPlayerinAnyVehicle() == 0)
  6411. {
  6412. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist in keinem Fahrzeug!")
  6413. return
  6414. }
  6415. If (IsPlayerDriver() == 0)
  6416. {
  6417. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist nicht der Fahrer!")
  6418. return
  6419. }
  6420. tempo := PlayerInput("Bitte gebe deine gewünschte Geschwindigkeit an: ")
  6421. VehSpeedMax := tempo
  6422. SpeedCheckStatus := "1"
  6423. SpeedOnOff := "1"
  6424. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({0x00BFFF}~ " VehSpeedMax " {FFFFFF}KM/H)")
  6425. return
  6426. ~ö::
  6427. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  6428. {
  6429. return
  6430. }
  6431. if (SpeedCheckStatus == 1)
  6432. {
  6433. VehSpeedMax := VehSpeedMax + 5
  6434. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Tempomat wurde auf {FF0000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
  6435. }
  6436. return
  6437. ~L::
  6438. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  6439. {
  6440. return
  6441. }
  6442. if (SpeedCheckStatus == 1)
  6443. {
  6444. VehSpeedMax := VehSpeedMax - 5
  6445. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Tempomat wurde auf {FFA000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
  6446. }
  6447. return
  6448. ~W::
  6449. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  6450. {
  6451. return
  6452. }
  6453. if (SpeedCheckStatus == 1)
  6454. {
  6455. SpeedCheckStatus := "0"
  6456. SpeedOnOff := "0"
  6457. Sleep, 250
  6458. SendInput {W up}
  6459. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  6460. SendInput {W Up}
  6461. VehSpeedMax := 0
  6462. }
  6463. return
  6464. ~S::
  6465. If(IsChatOpen() == 1 || IsDialogOpen == 1)
  6466. {
  6467. return
  6468. }
  6469. if (SpeedCheckStatus == 1)
  6470. {
  6471. SpeedCheckStatus := "0"
  6472. SpeedOnOff := "0"
  6473. Sleep, 250
  6474. SendInput {W up}
  6475. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
  6476. SendInput {W Up}
  6477. VehSpeedMax := 0
  6478. }
  6479. return
  6480. :?:/kcall::
  6481. Suspend Permit
  6482. pinput := PlayerInput("Name: ")
  6483. Sleep, 250
  6484. SendChat("/number " . pinput . "")
  6485. Loop,
  6486. {
  6487. GetChatLine(0, line)
  6488. if(InStr(line, "Name: "))
  6489. {
  6490. RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
  6491. SendChat("/call " . Output2)
  6492. return
  6493. }
  6494. else If(InStr(line, "Diesen Spieler gibt es nicht!"))
  6495. {
  6496. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Anruf fehlgeschlagen!")
  6497. return
  6498. }
  6499. else
  6500. {
  6501. continue
  6502. }
  6503. }
  6504. return
  6505. :?:/ksms::
  6506. Suspend Permit
  6507. pinput := PlayerInput("Name: ")
  6508. SendChat("/number " . pinput . "")
  6509. Loop,
  6510. {
  6511. GetChatLine(0, line)
  6512. if(InStr(line, "Name: "))
  6513. {
  6514. RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
  6515. SendInput, t/sms %Output2%{space}
  6516. return
  6517. }
  6518. else If(InStr(line, "Diesen Spieler gibt es nicht!"))
  6519. {
  6520. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Versendung nicht möglich!")
  6521. return
  6522. }
  6523. else
  6524. {
  6525. continue
  6526. }
  6527. }
  6528. return
  6529. :?:/p::
  6530. Suspend Permit
  6531. SendChat("/p")
  6532. SoundPlay, avixa.avi
  6533. return
  6534. :?:/pickup::
  6535. Suspend Permit
  6536. SendChat("/p")
  6537. SoundPlay, avixa.avi
  6538. return
  6539. :?:/hp::
  6540. Suspend Permit
  6541. SendChat("/cooked")
  6542. Sleep 250
  6543. GetChatLine(5, fish1)
  6544. GetChatLine(4, fish2)
  6545. GetChatLine(3, fish3)
  6546. GetChatLine(2, fish4)
  6547. GetChatLine(1, fish5)
  6548. RegExMatch(fish1, "\*\* \(1\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch1_)
  6549. RegExMatch(fish2, "\*\* \(2\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch2_)
  6550. RegExMatch(fish3, "\*\* \(3\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch3_)
  6551. RegExMatch(fish4, "\*\* \(4\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch4_)
  6552. RegExMatch(fish5, "\*\* \(5\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch5_)
  6553. HP1 = %fisch1_2%
  6554. HP1/=3
  6555. HP1 := Floor(HP1)
  6556. HP2 = %fisch2_2%
  6557. HP2/=3
  6558. HP2 := Floor(HP2)
  6559. HP3 = %fisch3_2%
  6560. HP3/=3
  6561. HP3 := Floor(HP3)
  6562. HP4 = %fisch4_2%
  6563. HP4/=3
  6564. HP4 := Floor(HP4)
  6565. HP5 = %fisch5_2%
  6566. HP5/=3
  6567. HP5 := Floor(HP5)
  6568. Gesamt=0
  6569. Gesamt+=%HP1%
  6570. Gesamt+=%HP2%
  6571. Gesamt+=%HP3%
  6572. Gesamt+=%HP4%
  6573. Gesamt+=%HP5%
  6574. AddChatMessage(0xDF0101, "[Atanp-Binder] {04B45F}[Fish] {FFFFFF}" . fisch1_1 . " (" . fisch1_2 . " LBS) - {FFBF00} " . HP1 . " HP")
  6575. AddChatMessage(0xDF0101, "[Staatsgewalt] {04B45F}[Fish] {FFFFFF}" . fisch2_1 . " (" . fisch2_2 . " LBS) - {FFBF00} " . HP2 . " HP")
  6576. AddChatMessage(0xDF0101, "[Staatsgewalt] {04B45F}[Fish] {FFFFFF}" . fisch3_1 . " (" . fisch3_2 . " LBS) - {FFBF00} " . HP3 . " HP")
  6577. AddChatMessage(0xDF0101, "[Staatsgewalt] {04B45F}[Fish] {FFFFFF}" . fisch4_1 . " (" . fisch4_2 . " LBS) - {FFBF00} " . HP4 . " HP")
  6578. AddChatMessage(0xDF0101, "[Staatsgewalt] {04B45F}[Fish] {FFFFFF}" . fisch5_1 . " (" . fisch5_2 . " LBS) - {FFA000} " . HP5 . " HP")
  6579. AddChatMessage(0xDF0101, "[Staatsgewalt] {04B45F}[Fish] {FFFFFF}-----------------------------------------------")
  6580. AddChatMessage(0xDF0101, "[Staatsgewalt] {04B45F}[Fish] {FFFFFF}Gesamt: {FFBF00}" . Gesamt . " HP")
  6581. return
  6582. :?:/fische::
  6583. Suspend Permit
  6584. SendChat("/fishes")
  6585. Sleep 250
  6586. GetChatLine(5, fische1)
  6587. GetChatLine(4, fische2)
  6588. GetChatLine(3, fische3)
  6589. GetChatLine(2, fische4)
  6590. GetChatLine(1, fische5)
  6591. RegExMatch(fische1, "\*\* \(1\) Fisch: (.*) \((.*) LBS\)", fische1_)
  6592. RegExMatch(fische2, "\*\* \(2\) Fisch: (.*) \((.*) LBS\)", fische2_)
  6593. RegExMatch(fische3, "\*\* \(3\) Fisch: (.*) \((.*) LBS\)", fische3_)
  6594. RegExMatch(fische4, "\*\* \(4\) Fisch: (.*) \((.*) LBS\)", fische4_)
  6595. RegExMatch(fische5, "\*\* \(5\) Fisch: (.*) \((.*) LBS\)", fische5_)
  6596. if(fische1_1 == "Makrele")
  6597. {
  6598. Multiplier1 := 8
  6599. }
  6600. else if(fische1_1 == "Zackenbarsch")
  6601. {
  6602. Multiplier1 := 3
  6603. }
  6604. else if(fische1_1 == "Bernfisch")
  6605. {
  6606. Multiplier1 := 1
  6607. }
  6608. else if(fische1_1 == "Schwertfisch")
  6609. {
  6610. Multiplier1 := 3
  6611. }
  6612. else if(fische1_1 == "Roter Schnapper")
  6613. {
  6614. Multiplier1 := 3
  6615. }
  6616. else if(fische1_1 == "Blauer Fächerfisch")
  6617. {
  6618. Multiplier1 := 2
  6619. }
  6620. else if(fische1_1 == "Thunfisch")
  6621. {
  6622. Multiplier1 := 12
  6623. }
  6624. else if(fische1_1 == "Wolfbarsch")
  6625. {
  6626. Multiplier1 := 12
  6627. }
  6628. else if(fische1_1 == "Segelfisch")
  6629. {
  6630. Multiplier1 := 7
  6631. }
  6632. else if(fische1_1 == "Hai")
  6633. {
  6634. Multiplier1 := 7
  6635. }
  6636. else if(fische1_1 == "Delphin")
  6637. {
  6638. Multiplier1 := 7
  6639. }
  6640. else if(fische1_1 == "Katzenfisch")
  6641. {
  6642. Multiplier1 := 4
  6643. }
  6644. else if(fische1_1 == "Hecht")
  6645. {
  6646. Multiplier1 := 9
  6647. }
  6648. else if(fische1_1 == "Aal")
  6649. {
  6650. Multiplier1 := 9
  6651. }
  6652. else if(fische1_1 == "Schildkröte")
  6653. {
  6654. Multiplier1 := 10
  6655. }
  6656. else if(fische1_1 == "Forelle")
  6657. {
  6658. Multiplier1 := 5
  6659. }
  6660. else if(fische1_1 == "Nichts")
  6661. {
  6662. Multiplier1 := 0
  6663. }
  6664. if(fische2_1 == "Makrele")
  6665. {
  6666. Multiplier2 := 8
  6667. }
  6668. else if(fische2_1 == "Bernfisch")
  6669. {
  6670. Multiplier2 := 1
  6671. }
  6672. else if(fische2_1 == "Zackenbarsch")
  6673. {
  6674. Multiplier2 := 3
  6675. }
  6676. else if(fische2_1 == "Schwertfisch")
  6677. {
  6678. Multiplier2 := 3
  6679. }
  6680. else if(fische2_1 == "Roter Schnapper")
  6681. {
  6682. Multiplier2 := 3
  6683. }
  6684. else if(fische2_1 == "Blauer Fächerfisch")
  6685. {
  6686. Multiplier2 := 2
  6687. }
  6688. else if(fische2_1 == "Thunfisch")
  6689. {
  6690. Multiplier2 := 12
  6691. }
  6692. else if(fische2_1 == "Wolfbarsch")
  6693. {
  6694. Multiplier2 := 12
  6695. }
  6696. else if(fische2_1 == "Segelfisch")
  6697. {
  6698. Multiplier2 := 7
  6699. }
  6700. else if(fische2_1 == "Hai")
  6701. {
  6702. Multiplier2 := 7
  6703. }
  6704. else if(fische2_1 == "Delphin")
  6705. {
  6706. Multiplier2 := 7
  6707. }
  6708. else if(fische2_1 == "Katzenfisch")
  6709. {
  6710. Multiplier2 := 4
  6711. }
  6712. else if(fische2_1 == "Hecht")
  6713. {
  6714. Multiplier2 := 9
  6715. }
  6716. else if(fische2_1 == "Aal")
  6717. {
  6718. Multiplier2 := 9
  6719. }
  6720. else if(fische2_1 == "Schildkröte")
  6721. {
  6722. Multiplier2 := 10
  6723. }
  6724. else if(fische2_1 == "Forelle")
  6725. {
  6726. Multiplier2 := 5
  6727. }
  6728. else if(fische2_1 == "Nichts")
  6729. {
  6730. Multiplier2 := 0
  6731. }
  6732. if(fische3_1 == "Makrele")
  6733. {
  6734. Multiplier3 := 8
  6735. }
  6736. else if(fische3_1 == "Zackenbarsch")
  6737. {
  6738. Multiplier3 := 3
  6739. }
  6740. else if(fische3_1 == "Bernfisch")
  6741. {
  6742. Multiplier3 := 1
  6743. }
  6744. else if(fische3_1 == "Schwertfisch")
  6745. {
  6746. Multiplier3 := 3
  6747. }
  6748. else if(fische3_1 == "Roter Schnapper")
  6749. {
  6750. Multiplier3 := 3
  6751. }
  6752. else if(fische3_1 == "Blauer Fächerfisch")
  6753. {
  6754. Multiplier3 := 2
  6755. }
  6756. else if(fische3_1 == "Thunfisch")
  6757. {
  6758. Multiplier3 := 12
  6759. }
  6760. else if(fische3_1 == "Wolfbarsch")
  6761. {
  6762. Multiplier3 := 12
  6763. }
  6764. else if(fische3_1 == "Segelfisch")
  6765. {
  6766. Multiplier3 := 7
  6767. }
  6768. else if(fische3_1 == "Hai")
  6769. {
  6770. Multiplier3 := 7
  6771. }
  6772. else if(fische3_1 == "Delphin")
  6773. {
  6774. Multiplier3 := 7
  6775. }
  6776. else if(fische3_1 == "Katzenfisch")
  6777. {
  6778. Multiplier3 := 4
  6779. }
  6780. else if(fische3_1 == "Hecht")
  6781. {
  6782. Multiplier3 := 9
  6783. }
  6784. else if(fische3_1 == "Aal")
  6785. {
  6786. Multiplier3 := 9
  6787. }
  6788. else if(fische3_1 == "Schildkröte")
  6789. {
  6790. Multiplier3 := 10
  6791. }
  6792. else if(fische3_1 == "Forelle")
  6793. {
  6794. Multiplier3 := 5
  6795. }
  6796. else if(fische3_1 == "Nichts")
  6797. {
  6798. Multiplier3 := 0
  6799. }
  6800. if(fische4_1 == "Makrele")
  6801. {
  6802. Multiplier4 := 8
  6803. }
  6804. else if(fische4_1 == "Zackenbarsch")
  6805. {
  6806. Multiplier4 := 3
  6807. }
  6808. else if(fische4_1 == "Schwertfisch")
  6809. {
  6810. Multiplier4 := 3
  6811. }
  6812. else if(fische4_1 == "Roter Schnapper")
  6813. {
  6814. Multiplier4 := 3
  6815. }
  6816. else if(fische4_1 == "Bernfisch")
  6817. {
  6818. Multiplier4 := 1
  6819. }
  6820. else if(fische4_1 == "Blauer Fächerfisch")
  6821. {
  6822. Multiplier4 := 2
  6823. }
  6824. else if(fische4_1 == "Thunfisch")
  6825. {
  6826. Multiplier4 := 12
  6827. }
  6828. else if(fische4_1 == "Wolfbarsch")
  6829. {
  6830. Multiplier4 := 12
  6831. }
  6832. else if(fische4_1 == "Segelfisch")
  6833. {
  6834. Multiplier4 := 7
  6835. }
  6836. else if(fische4_1 == "Hai")
  6837. {
  6838. Multiplier4 := 7
  6839. }
  6840. else if(fische4_1 == "Delphin")
  6841. {
  6842. Multiplier4 := 7
  6843. }
  6844. else if(fische4_1 == "Katzenfisch")
  6845. {
  6846. Multiplier4 := 4
  6847. }
  6848. else if(fische4_1 == "Hecht")
  6849. {
  6850. Multiplier4 := 9
  6851. }
  6852. else if(fische4_1 == "Aal")
  6853. {
  6854. Multiplier4 := 9
  6855. }
  6856. else if(fische4_1 == "Schildkröte")
  6857. {
  6858. Multiplier4 := 10
  6859. }
  6860. else if(fische4_1 == "Forelle")
  6861. {
  6862. Multiplier4 := 5
  6863. }
  6864. else if(fische4_1 == "Nichts")
  6865. {
  6866. Multiplier4 := 0
  6867. }
  6868. if(fische5_1 == "Makrele")
  6869. {
  6870. Multiplier5 := 8
  6871. }
  6872. else if(fische5_1 == "Zackenbarsch")
  6873. {
  6874. Multiplier5 := 3
  6875. }
  6876. else if(fische5_1 == "Schwertfisch")
  6877. {
  6878. Multiplier5 := 3
  6879. }
  6880. else if(fische5_1 == "Bernfisch")
  6881. {
  6882. Multiplier5 := 1
  6883. }
  6884. else if(fische5_1 == "Roter Schnapper")
  6885. {
  6886. Multiplier5 := 3
  6887. }
  6888. else if(fische5_1 == "Blauer Fächerfisch")
  6889. {
  6890. Multiplier5 := 2
  6891. }
  6892. else if(fische5_1 == "Thunfisch")
  6893. {
  6894. Multiplier5 := 12
  6895. }
  6896. else if(fische5_1 == "Wolfbarsch")
  6897. {
  6898. Multiplier5 := 12
  6899. }
  6900. else if(fische5_1 == "Segelfisch")
  6901. {
  6902. Multiplier5 := 7
  6903. }
  6904. else if(fische5_1 == "Hai")
  6905. {
  6906. Multiplier5 := 7
  6907. }
  6908. else if(fische5_1 == "Delphin")
  6909. {
  6910. Multiplier5 := 7
  6911. }
  6912. else if(fische5_1 == "Katzenfisch")
  6913. {
  6914. Multiplier5 := 4
  6915. }
  6916. else if(fische5_1 == "Hecht")
  6917. {
  6918. Multiplier5 := 9
  6919. }
  6920. else if(fische5_1 == "Aal")
  6921. {
  6922. Multiplier5 := 9
  6923. }
  6924. else if(fische5_1 == "Schildkröte")
  6925. {
  6926. Multiplier5 := 10
  6927. }
  6928. else if(fische5_1 == "Forelle")
  6929. {
  6930. Multiplier5 := 5
  6931. }
  6932. else if(fische5_1 == "Nichts")
  6933. {
  6934. Multiplier5 := 0
  6935. }
  6936. Geld1 = %fische1_2%
  6937. Geld1_2 := Multiplier1
  6938. Geld1*= Geld1_2
  6939. Geld1 := Floor(Geld1)
  6940. Geld2 = %fische2_2%
  6941. Geld2_2 := Multiplier2
  6942. Geld2*= Geld2_2
  6943. Geld2 := Floor(Geld2)
  6944. Geld3 = %fische3_2%
  6945. Geld3_2 := Multiplier3
  6946. Geld3*= Geld3_2
  6947. Geld3 := Floor(Geld3)
  6948. Geld4 = %fische4_2%
  6949. Geld4_2 := Multiplier4
  6950. Geld4*= Geld4_2
  6951. Geld4 := Floor(Geld4)
  6952. Geld5 = %fische5_2%
  6953. Geld5_2 := Multiplier5
  6954. Geld5*= Geld5_2
  6955. Geld5 := Floor(Geld5)
  6956. HP1_2 = %fische1_2%
  6957. HP1 := Round(HP1_2*0.3,0)
  6958. HP1 := Floor(HP1)
  6959. HP2_2 = %fische2_2%
  6960. HP2 := Round(HP2_2*0.3,0)
  6961. HP2 := Floor(HP2)
  6962. HP3_2 = %fische3_2%
  6963. HP3 := Round(HP3_2*0.3,0)
  6964. HP3 := Floor(HP3)
  6965. HP4_2 = %fische4_2%
  6966. HP4 := Round(HP4_2*0.3,0)
  6967. HP4 := Floor(HP4)
  6968. HP5_2 = %fische5_2%
  6969. HP5 := Round(HP5_2*0.3,0)
  6970. HP5 := Floor(HP5)
  6971. Gesamt := 0
  6972. Gesamt2 := 0
  6973. Gesamt3 := 0
  6974. Gesamt+=%Geld1%
  6975. Gesamt+=%Geld2%
  6976. Gesamt+=%Geld3%
  6977. Gesamt+=%Geld4%
  6978. Gesamt+=%Geld5%
  6979. Gesamt2+=%HP1%
  6980. Gesamt2+=%HP2%
  6981. Gesamt2+=%HP3%
  6982. Gesamt2+=%HP4%
  6983. Gesamt2+=%HP5%
  6984. AddChatMessage(0x00BFFF, "|Staatsgewalt|{ACFA58} [Statistik] {FF8000}" . fische1_1 . " (" . fische1_2 . " LBS) - {009AFF} " . Geld1 . " $ - " . HP1 . " HP")
  6985. AddChatMessage(0x00BFFF, "|Staatsgewalt|{ACFA58} [Statistik] {FF8000}" . fische2_1 . " (" . fische2_2 . " LBS) - {009AFF} " . Geld2 . " $ - " . HP2 . " HP")
  6986. AddChatMessage(0x00BFFF, "|Staatsgewalt|{ACFA58} [Statistik] {FF8000}" . fische3_1 . " (" . fische3_2 . " LBS) - {009AFF} " . Geld3 . " $ - " . HP3 . " HP")
  6987. AddChatMessage(0x00BFFF, "|Staatsgewalt|{ACFA58} [Statistik] {FF8000}" . fische4_1 . " (" . fische4_2 . " LBS) - {009AFF} " . Geld4 . " $ - " . HP4 . " HP")
  6988. AddChatMessage(0x00BFFF, "|Staatsgewalt|{ACFA58} [Statistik] {FF8000}: {FFFFFF}" . fische5_1 . " (" . fische5_2 . " LBS) - {009AFF} " . Geld5 . " $ - " . HP5 . " HP")
  6989. AddChatMessage(0x00BFFF, "|Staatsgewalt|{ACFA58} [Statistik] {FF8000}: {FFFFFF}-----------------------------------------------")
  6990. AddChatMessage(0x00BFFF, "|Staatsgewalt|{ACFA58} [Statistik] {FF8000}: {FFFFFF}Gesamt: {009AFF}" . Gesamt . " $ - " . Gesamt2 . " HP")
  6991. return
  6992. :?:/minuten::
  6993. Suspend Permit
  6994. Sekunden := PlayerInput("Anzahl der Sekunden: ")
  6995. if(Sekunden != "" && Sekunden != " " && Sekunden != 0)
  6996. {
  6997. Minuten := Sekunden / 60
  6998. Minuten := round(Minuten, 2)
  6999. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} {3ADF00}" Sekunden "{FFFFFF} Sekunden sind {3ADF00}" Minuten "{FFFFFF} Minuten.")
  7000. }
  7001. return
  7002. :?:/kaution::
  7003. Suspend Permit
  7004. caID := PlayerInput("Klient-Name: ")
  7005. UpdateServerData()
  7006. Klient=%caID%
  7007. if(Klient < 0 || Klient > 400)
  7008. {
  7009. caID := GetPlayerIDByName(Klient)
  7010. Klient=%caID%
  7011. }
  7012. GetPlayerNameByID(caID, Klientname)
  7013. SendChat("/freeinfo")
  7014. Sleep, 700
  7015. Loop
  7016. {
  7017. GetChatLine(A_Index - 1, chat)
  7018. if(InStr(chat, Klientname))
  7019. {
  7020. RegExMatch(chat, "" Klientname " {FFA600}(.*) Minuten {00B7FF}(.*)\$ {A30000}SAPD", kaution)
  7021. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Dein Klient {3ADF00}" Klientname "{FFFFFF} hat eine Kaution von {3ADF00}" kaution2 "{FFFFFF}$.")
  7022. break
  7023. }
  7024. if(Instr(chat, "{55FF00}Name {FFA600}Haftzeit {00B7FF}Kaution {A30000}Standort"))
  7025. {
  7026. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Klient nicht gefunden.")
  7027. break
  7028. }
  7029. if(InStr(chat, "Du bist nicht in der Polizei Station."))
  7030. {
  7031. break
  7032. }
  7033. }
  7034. return
  7035. :?:/fg::
  7036. Suspend Permit
  7037. SendChat("/festgeld 1250000")
  7038. return
  7039. :?:/ap::
  7040. Suspend Permit
  7041. SendChat("/accept Paket")
  7042. return
  7043. :?:/paket::
  7044. Suspend Permit
  7045. SendChat("/accept Paket")
  7046. return
  7047. :?:/tanken::
  7048. Suspend Permit
  7049. if(IsPlayerInAnyVehicle() == "0")
  7050. {
  7051. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist in keinem Fahrzeug")
  7052. return
  7053. }
  7054. if(IsVehicleEngineEnabled() == 1)
  7055. {
  7056. SendChat("/motor")
  7057. }
  7058. SendChat("/fill")
  7059. Sleep, 10000
  7060. SendChat("/motor")
  7061. Sleep, 2600
  7062. SendChat("/licht")
  7063. return
  7064. :?:/sb::
  7065. Suspend Permit
  7066. id := PlayerInput("/showbadge ")
  7067. SendChat("/showbadge " id)
  7068. return
  7069. ~1::
  7070. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7071. {
  7072. SendInput, {A_ThisHotkey}
  7073. return
  7074. }
  7075. if(IsPlayerInAnyVehicle() == "0")
  7076. {
  7077. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist in keinem Fahrzeug")
  7078. }
  7079. else
  7080. {
  7081. If(IsPlayerDriver() == 0)
  7082. {
  7083. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist nicht der Fahrer eines Fahrzeuges.")
  7084. }
  7085. else
  7086. {
  7087. SendChat("/motor")
  7088. SendChat("/licht")
  7089. Sleep, 200
  7090. IniRead, Lock, settings.ini, Daten, Lock
  7091. if(Lock = 1)
  7092. {
  7093. if(IsVehicleLocked() == 0)
  7094. {
  7095. SendChat("/lock")
  7096. }
  7097. }
  7098. SetTimer, LichtEinschalten, 1000
  7099. Sleep, 1000
  7100. if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
  7101. {
  7102. }
  7103. }
  7104. }
  7105. return
  7106. LichtEinschalten:
  7107. if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
  7108. {
  7109. SendChat("/licht")
  7110. }
  7111. SetTimer, LichtEinschalten, off
  7112. return
  7113. ~+1::
  7114. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7115. {
  7116. return
  7117. }
  7118. if(IsPlayerInAnyVehicle() == "0")
  7119. {
  7120. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist in keinem Fahrzeug")
  7121. }
  7122. else
  7123. {
  7124. SendChat("/licht")
  7125. }
  7126. return
  7127. ~F::
  7128. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7129. {
  7130. return
  7131. }
  7132. IniRead, Lock, settings.ini, Daten, Lock
  7133. if(Lock = 1)
  7134. {
  7135. if(IsPlayerInAnyVehicle() == "0")
  7136. {
  7137. Loop,
  7138. if(IsPlayerDriver() == 1)
  7139. {
  7140. if(IsVehicleLocked() == 0)
  7141. {
  7142. Sleep, 200
  7143. SendChat("/lock")
  7144. return
  7145. }
  7146. }
  7147. }
  7148. else
  7149. {
  7150. if(IsPlayerDriver() == 1)
  7151. {
  7152. if (IsVehicleEngineEnabled() == 1)
  7153. {
  7154. SendChat("/motor")
  7155. Sleep 700
  7156. Send F
  7157. return
  7158. }
  7159. return
  7160. }
  7161. }
  7162. }
  7163. return
  7164. ~Y::
  7165. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7166. {
  7167. return
  7168. }
  7169. if(IsPlayerInAnyVehicle() == "0")
  7170. {
  7171. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist in keinem Fahrzeug")
  7172. }
  7173. else
  7174. {
  7175. SendChat("/lock")
  7176. }
  7177. return
  7178. !Y::
  7179. SendChat("/eat " . fischers . "")
  7180. fischers++
  7181. if(fischers == "6")
  7182. {
  7183. fischers=1
  7184. }
  7185. return
  7186. ~F2::
  7187. SendChat("/eat " . fischers . "")
  7188. fischers++
  7189. if(fischers == "6")
  7190. {
  7191. fischers=1
  7192. }
  7193. return
  7194. !X::
  7195. SendChat("/erstehilfe")
  7196. return
  7197. :?:/an::
  7198. Suspend Permit
  7199. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7200. {
  7201. if InStr(A_LoopReadLine, "Dein Handy klingelt. Tippe /pickup. Anrufer-ID: ")
  7202. {
  7203. RegExMatch(A_LoopReadLine, "Dein Handy klingelt\. Tippe /pickup\. Anrufer\-ID\: (.*)", var)
  7204. }
  7205. }
  7206. SendChat("/p")
  7207. SoundPlay, avixa.avi
  7208. if(var1 == "" || var1 == " " || var1 == " " || var1 == "-1")
  7209. {
  7210. var1 := "Sir "
  7211. }
  7212. GetPlayerName(Name)
  7213. StringTrimRight Anrufer, var1, 1
  7214. SendChat("Guten Tag " . Anrufer . ", Sie sprechen mit " . Name ".")
  7215. SendChat("Wie kann ich Ihnen behilflich sein?")
  7216. return
  7217. :?:/ab::
  7218. Suspend Permit
  7219. SoundPlay, xavi.avi
  7220. GetPlayerName(Name)
  7221. SendChat("/p")
  7222. SendChat("Guten Tag, Sie sind verbunden mit dem Anrufbeantworter von " . Name . ".")
  7223. Sleep 1000
  7224. SendChat("Leider habe ich keine Zeit, bitte versuchen Sie es später erneut.")
  7225. Sleep, 1000
  7226. SendChat("Auf Wiederhören.")
  7227. SendChat("/h")
  7228. return
  7229. :?:/jas::
  7230. Suspend Permit
  7231. SendChat("Ja Sir, was kann ich für Sie tun?")
  7232. return
  7233. :?:/jam::
  7234. Suspend Permit
  7235. SendChat("Ja Madam, was kann ich für Sie tun?")
  7236. return
  7237. :?:/ja::
  7238. SendChat("Ja, was kann ich für Sie tun?")
  7239. return
  7240. :?:/danke::
  7241. Suspend Permit
  7242. SendChat("Vielen Dank für Ihren Anruf. Schönen Tag noch.")
  7243. SendChat("/h")
  7244. return
  7245. :?:/tag::
  7246. Suspend Permit
  7247. FormatTime, Uhrzeit,, HH
  7248. if (Uhrzeit >= 12 && Uhrzeit < 20)
  7249. {
  7250. SendChat("Guten Tag, wie kann ich Ihnen behilflich sein?")
  7251. }
  7252. if (Uhrzeit >= 20 || Uhrzeit == 0)
  7253. {
  7254. SendChat("Guten Abend, wie kann ich Ihnen behilflich sein?")
  7255. }
  7256. if (Uhrzeit >= 1 && Uhrzeit < 12)
  7257. {
  7258. SendChat("Guten Morgen, wie kann ich Ihnen behilflich sein?")
  7259. }
  7260. return
  7261. :?:/bye::
  7262. Suspend Permit
  7263. FormatTime, Uhrzeit,, HH
  7264. if (Uhrzeit >= 12 && Uhrzeit < 20)
  7265. {
  7266. SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
  7267. }
  7268. if (Uhrzeit >= 20 || Uhrzeit == 0)
  7269. {
  7270. SendChat("Ich wünsche Ihnen noch einen schönen Abend. Auf Wiedersehen.")
  7271. }
  7272. if (Uhrzeit >= 1 && Uhrzeit < 12)
  7273. {
  7274. SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
  7275. }
  7276. return
  7277. :?:/on::
  7278. Suspend Permit
  7279. GetPlayerName(Name)
  7280. IniRead, Fraktion, settings.ini, Daten, Fraktion
  7281. {
  7282. Titel := "Agent"
  7283. SendChat("/hq Agent " Name " meldet sich zum Dienst.")
  7284. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Willkommen " Name " ")
  7285. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Keybinder erfolgreich gestartet")
  7286. }
  7287. SendChat("/hitsound")
  7288. Sleep, 500
  7289. SendChat("/pdmarker")
  7290. Sleep, 850
  7291. SendChat("/tog")
  7292. sleep, 100
  7293. SendInput {enter}
  7294. SendChat("/messages")
  7295. return
  7296. ~m::
  7297. if(IsChatOpen() || IsDialogOpen() || IsMenuOpen())
  7298. return
  7299. SendChat("/members")
  7300. return
  7301. :?:/pb::
  7302. Suspend Permit
  7303. SendChat("/paintball")
  7304. sleep 100
  7305. Member := 0
  7306. Loop, 100
  7307. {
  7308. GetChatLine(Member, Chat)
  7309. If(InStr(Chat, "Punkte"))
  7310. Member++
  7311. else
  7312. {
  7313. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Spieler im Paintball: {FFBF00}" Member "{FFFFFF}.")
  7314. return
  7315. }
  7316. }
  7317. return
  7318. :?:/paintball::
  7319. Suspend Permit
  7320. SendChat("/paintball")
  7321. sleep 100
  7322. Member := 0
  7323. Loop, 100
  7324. {
  7325. GetChatLine(Member, Chat)
  7326. If(InStr(Chat, "Punkte"))
  7327. Member++
  7328. else
  7329. {
  7330. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Spieler im Paintball: {FFBF00}" Member "{FFFFFF}.")
  7331. return
  7332. }
  7333. }
  7334. return
  7335. :?:/savestats::
  7336. Suspend Permit
  7337. FormatTime, StatsZeit, dd.MM.yyyy
  7338. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Statistiken werden gespeichert, Datum " StatsZeit)
  7339. SendChat("/time")
  7340. Sleep, 250
  7341. SendChat("/stats")
  7342. Sleep, 250
  7343. Send {F8}
  7344. Sleep, 250
  7345. Send {ESC}
  7346. return
  7347. :?:/relog::
  7348. Suspend Permit
  7349. SendInput /q{enter}
  7350. Sleep 3000
  7351. Suspend Off
  7352. RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\samp, gta_sa_exe
  7353. SplitPath, GTA_SA_EXE,, PFAD
  7354. run %PFAD%\samp.exe 37.187.135.201:7777, %PFAD%
  7355. return
  7356. :?:/fan::
  7357. Suspend Permit
  7358. Fan := PlayerInput("Fan-ID: ")
  7359. GetPlayerNameById(Fan, name)
  7360. SendChat("/me gibt " name " ein Autogramm.")
  7361. SendChat("/showbadge " Fan "")
  7362. return
  7363. :?:/kochen::
  7364. Suspend Permit
  7365. SendChat("/cook fish 1")
  7366. SendChat("/cook fish 2")
  7367. Sleep 1250
  7368. SendChat("/cook fish 3")
  7369. SendChat("/cook fish 4")
  7370. Sleep 1250
  7371. SendChat("/cook fish 5")
  7372. return
  7373. :?:/cf::
  7374. Suspend Permit
  7375. SendChat("/cook fish 1")
  7376. Sleep,1000
  7377. SendChat("/cook fish 2")
  7378. Sleep,1000
  7379. SendChat("/cook fish 3")
  7380. Sleep,1000
  7381. SendChat("/cook fish 4")
  7382. Sleep,1000
  7383. SendChat("/cook fish 5")
  7384. Sleep,1000
  7385. return
  7386. :?:/re::
  7387. Suspend Permit
  7388. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7389. {
  7390. if InStr(A_LoopReadLine, ", Sender: " . Name)
  7391. continue
  7392. {
  7393. if InStr(A_LoopReadLine, ", Sender: ")
  7394. {
  7395. RegExMatch(A_LoopReadLine, ", Sender: .* \((.*)\)" ,SMS)
  7396. }
  7397. }
  7398. }
  7399. SendInput /sms %SMS1%{space}
  7400. return
  7401. :?:/read::
  7402. Suspend Permit
  7403. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7404. {
  7405. if InStr(A_LoopReadLine, "[Werbung] ")
  7406. {
  7407. RegExMatch(A_LoopReadLine, "\[Werbung\] (.*)\, (.*) \((.*)\)" ,AD)
  7408. }
  7409. }
  7410. SendInput /sms %AD3%{space}
  7411. return
  7412. ~,::
  7413. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  7414. {
  7415. return
  7416. }
  7417. SendChat("Stoppuhr gestartet!")
  7418. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Um die Stoppuhr zu beenden, drücke '.'")
  7419. zeit=0
  7420. Loop,
  7421. {
  7422. zeit++
  7423. KeyWait, ., D T1
  7424. If !ErrorLevel
  7425. {
  7426. If ( Prüfungszeit < 1000)
  7427. {
  7428. minuten=%zeit%
  7429. minuten/=60
  7430. minuten1=%minuten%
  7431. minuten1*=60
  7432. sekunden=%zeit%
  7433. sekunden-=%minuten1%
  7434. SendChat("Stoppuhr gestoppt. Minute: " . minuten . " Sekunden: " . Sekunden)
  7435. SendChat("Gesamt: " . zeit . " Sekunden")
  7436. break
  7437. }
  7438. }
  7439. }
  7440. return
  7441. :?:/fischen::
  7442. Suspend Permit
  7443. If (IsPlayerinAnyInterior() == 1)
  7444. {
  7445. Geld_vorher := GetPlayerMoney()
  7446. SendChat("/sell fish 1")
  7447. sleep 200
  7448. GetChatLine(0, chat)
  7449. if(InStr(chat, "Du bist in keinem 24-7!"))
  7450. {
  7451. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du befindest dich nicht in einem {04B431}24/7{FFFFFF} Shop.")
  7452. return
  7453. }
  7454. Sleep, 300
  7455. SendChat("/sell fish 2")
  7456. sleep 500
  7457. SendChat("/sell fish 3")
  7458. sleep 500
  7459. SendChat("/sell fish 4")
  7460. sleep 500
  7461. SendChat("/sell fish 5")
  7462. sleep 500
  7463. Geld_nachher := GetPlayerMoney()
  7464. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Erworbenes Geld durch Verkauf: {FFBF00}" Geld_nachher - Geld_vorher "{FFFFFF}$.")
  7465. return
  7466. }
  7467. else
  7468. {
  7469. Loop
  7470. {
  7471. Sleep, 600
  7472. SendChat("/fish")
  7473. Sleep, 200
  7474. GetChatLine(0, chat)
  7475. 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."))
  7476. {
  7477. if(InStr(chat, "Du kannst momentan nicht Angeln. Bitte warte einige Minuten."))
  7478. {
  7479. SetTimer, Fischen, 1200000
  7480. }
  7481. Loop 25
  7482. {
  7483. fischges += fisch%A_Index%
  7484. }
  7485. if(fischges > 0)
  7486. {
  7487. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du erhälst: {FFBF00}" fischges "{FFFFFF}$ .")
  7488. fischLBS := fischLBSGesamt / 3
  7489. fischLBS := Round(fischLBS, 0)
  7490. {
  7491. fisch%A_Index% := 0
  7492. }
  7493. fischges := 0
  7494. fischLBS := 0
  7495. fischLBSGesamt := 0
  7496. }
  7497. break
  7498. }
  7499. if(InStr(chat, "Du hast ein/e ") AND RegExMatch(chat, "Du hast ein/e (.*) mit (.*) LBS gefangen.", chat))
  7500. {
  7501. if(chat1 == "Bernfisch")
  7502. {
  7503. fischLBSGesamt += chat2
  7504. fisch%A_Index% := chat2 * 1
  7505. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7506. }
  7507. else if(chat1 == "Blauer Fächerfisch")
  7508. {
  7509. fischLBSGesamt += chat2
  7510. fisch%A_Index% := chat2 * 2
  7511. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7512. }
  7513. else if(chat1 == "Zackenbarsch")
  7514. {
  7515. fischLBSGesamt += chat2
  7516. fisch%A_Index% := chat2 * 3
  7517. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7518. }
  7519. else if(chat1 == "Schwertfisch")
  7520. {
  7521. fischLBSGesamt += chat2
  7522. fisch%A_Index% := chat2 * 3
  7523. }
  7524. else if (chat1 == "Roter Schnapper")
  7525. {
  7526. fischLBSGesamt += chat2
  7527. fisch%A_Index% := chat2 * 3
  7528. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7529. }
  7530. else if(chat1 == "Katzenfisch")
  7531. {
  7532. fischLBSGesamt += chat2
  7533. fisch%A_Index% := chat2 * 4
  7534. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7535. }
  7536. else if(chat1 == "Forelle")
  7537. {
  7538. fischLBSGesamt += chat2
  7539. fisch%A_Index% := chat2 * 5
  7540. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7541. }
  7542. else if(chat1 == "Segelfisch")
  7543. {
  7544. fischLBSGesamt += chat2
  7545. fisch%A_Index% := chat2 * 7
  7546. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7547. }
  7548. else if(chat1 == "Hai")
  7549. {
  7550. fischLBSGesamt += chat2
  7551. fisch%A_Index% := chat2 * 7
  7552. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7553. }
  7554. else if(chat1 == "Delphin")
  7555. {
  7556. fischLBSGesamt += chat2
  7557. fisch%A_Index% := chat2 * 7
  7558. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7559. }
  7560. else if(chat1 == "Makrele")
  7561. {
  7562. fischLBSGesamt += chat2
  7563. fisch%A_Index% := chat2 * 8
  7564. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7565. }
  7566. else if(chat1 == "Hecht")
  7567. {
  7568. fischLBSGesamt += chat2
  7569. fisch%A_Index% := chat2 * 9
  7570. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7571. }
  7572. else if(chat1 == "Aal")
  7573. {
  7574. fischLBSGesamt += chat2
  7575. fisch%A_Index% := chat2 * 9
  7576. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7577. }
  7578. else if(chat1 == "Schildkröte")
  7579. {
  7580. fischLBSGesamt += chat2
  7581. fisch%A_Index% := chat2 * 10
  7582. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7583. }
  7584. else if(chat1 == "Thunfisch")
  7585. {
  7586. fischLBSGesamt += chat2
  7587. fisch%A_Index% := chat2 * 12
  7588. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7589. }
  7590. else if(chat1 == "Wolfbarsch")
  7591. {
  7592. fischLBSGesamt += chat2
  7593. fisch%A_Index% := chat2 * 12
  7594. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fisch: " chat1 " - " fisch%A_Index% "$")
  7595. }
  7596. continue
  7597. }
  7598. }
  7599. }
  7600. return
  7601. Fischen:
  7602. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du kannst nun wieder am Angelsteg angeln.")
  7603. SetTimer, Fischen, off
  7604. return
  7605. :?:/chat::
  7606. Suspend Permit
  7607. AddChatMessage(0xFFFFFF, " ")
  7608. AddChatMessage(0xFFFFFF, " ")
  7609. AddChatMessage(0xFFFFFF, " ")
  7610. AddChatMessage(0xFFFFFF, " ")
  7611. AddChatMessage(0xFFFFFF, " ")
  7612. AddChatMessage(0xFFFFFF, " ")
  7613. AddChatMessage(0xFFFFFF, " ")
  7614. AddChatMessage(0xFFFFFF, " ")
  7615. AddChatMessage(0xFFFFFF, " ")
  7616. AddChatMessage(0xFFFFFF, " ")
  7617. AddChatMessage(0xFFFFFF, " ")
  7618. AddChatMessage(0xFFFFFF, " ")
  7619. AddChatMessage(0xFFFFFF, " ")
  7620. AddChatMessage(0xFFFFFF, " ")
  7621. AddChatMessage(0xFFFFFF, " ")
  7622. AddChatMessage(0xFFFFFF, " ")
  7623. AddChatMessage(0xFFFFFF, " ")
  7624. AddChatMessage(0xFFFFFF, " ")
  7625. AddChatMessage(0xFFFFFF, " ")
  7626. AddChatMessage(0xFFFFFF, " ")
  7627. AddChatMessage(0xFFFFFF, " ")
  7628. AddChatMessage(0xFFFFFF, " ")
  7629. AddChatMessage(0xFFFFFF, " ")
  7630. AddChatMessage(0xFFFFFF, " ")
  7631. AddChatMessage(0xFFFFFF, " ")
  7632. AddChatMessage(0xFFFFFF, " ")
  7633. AddChatMessage(0xFFFFFF, " ")
  7634. AddChatMessage(0xFFFFFF, " ")
  7635. AddChatMessage(0xFFFFFF, " ")
  7636. AddChatMessage(0xFFFFFF, " ")
  7637. AddChatMessage(0xFFFFFF, " ")
  7638. AddChatMessage(0xFFFFFF, " ")
  7639. AddChatMessage(0xFFFFFF, " ")
  7640. AddChatMessage(0xFFFFFF, " ")
  7641. AddChatMessage(0xFFFFFF, " ")
  7642. AddChatMessage(0xFFFFFF, " ")
  7643. AddChatMessage(0xFFFFFF, " ")
  7644. AddChatMessage(0xFFFFFF, " ")
  7645. AddChatMessage(0xFFFFFF, " ")
  7646. AddChatMessage(0xFFFFFF, " ")
  7647. AddChatMessage(0xFFFFFF, " ")
  7648. AddChatMessage(0xFFFFFF, " ")
  7649. AddChatMessage(0xFFFFFF, " ")
  7650. AddChatMessage(0xFFFFFF, " ")
  7651. AddChatMessage(0xFFFFFF, " ")
  7652. AddChatMessage(0xFFFFFF, " ")
  7653. AddChatMessage(0xFFFFFF, " ")
  7654. AddChatMessage(0xFFFFFF, " ")
  7655. AddChatMessage(0xFFFFFF, " ")
  7656. AddChatMessage(0xFFFFFF, " ")
  7657. AddChatMessage(0xFFFFFF, " ")
  7658. AddChatMessage(0xFFFFFF, " ")
  7659. AddChatMessage(0xFFFFFF, " ")
  7660. AddChatMessage(0xFFFFFF, " ")
  7661. AddChatMessage(0xFFFFFF, " ")
  7662. AddChatMessage(0xFFFFFF, " ")
  7663. AddChatMessage(0xFFFFFF, " ")
  7664. AddChatMessage(0xFFFFFF, " ")
  7665. AddChatMessage(0xFFFFFF, " ")
  7666. AddChatMessage(0xFFFFFF, " ")
  7667. AddChatMessage(0xFFFFFF, " ")
  7668. AddChatMessage(0xFFFFFF, " ")
  7669. AddChatMessage(0xFFFFFF, " ")
  7670. AddChatMessage(0xFFFFFF, " ")
  7671. AddChatMessage(0xFFFFFF, " ")
  7672. AddChatMessage(0xFFFFFF, " ")
  7673. AddChatMessage(0xFFFFFF, " ")
  7674. AddChatMessage(0xFFFFFF, " ")
  7675. AddChatMessage(0xFFFFFF, " ")
  7676. AddChatMessage(0xFFFFFF, " ")
  7677. AddChatMessage(0xFFFFFF, " ")
  7678. AddChatMessage(0xFFFFFF, " ")
  7679. AddChatMessage(0xFFFFFF, " ")
  7680. AddChatMessage(0xFFFFFF, " ")
  7681. AddChatMessage(0xFFFFFF, " ")
  7682. AddChatMessage(0xFFFFFF, " ")
  7683. AddChatMessage(0xFFFFFF, " ")
  7684. AddChatMessage(0xFFFFFF, " ")
  7685. AddChatMessage(0xFFFFFF, " ")
  7686. AddChatMessage(0xFFFFFF, " ")
  7687. AddChatMessage(0xFFFFFF, " ")
  7688. AddChatMessage(0xFFFFFF, " ")
  7689. AddChatMessage(0xFFFFFF, " ")
  7690. AddChatMessage(0xFFFFFF, " ")
  7691. AddChatMessage(0xFFFFFF, " ")
  7692. AddChatMessage(0xFFFFFF, " ")
  7693. AddChatMessage(0xFFFFFF, " ")
  7694. AddChatMessage(0xFFFFFF, " ")
  7695. return
  7696. :?:/alotto::
  7697. Suspend Permit
  7698. Random, rand, 1, 200
  7699. SendChat("/lotto " rand)
  7700. return
  7701. :?:/abholung::
  7702. Suspend Permit
  7703. if(PoliceID != "X")
  7704. {
  7705. if(text != "-1")
  7706. {
  7707. SendChat("/hq " . text . "")
  7708. }
  7709. }
  7710. else
  7711. {
  7712. GetZoneName(MyZone)
  7713. GetCityName(City)
  7714. If (city == "" || city == "Unbekannt")
  7715. {
  7716. SendChat("/hq Erbitte Abholung in " MyZone ".")
  7717. }
  7718. else
  7719. {
  7720. SendChat("/hq Erbitte Abholung in "MyZone ", " city ".")
  7721. }
  7722. }
  7723. return
  7724. :?:/kabholung::
  7725. Suspend Permit
  7726. if(PoliceID != "X")
  7727. {
  7728. if(text != "-1")
  7729. {
  7730. SendChat("/hq " . text . "")
  7731. }
  7732. }
  7733. else
  7734. {
  7735. SendChat("/hq Eine Abholung wird nicht mehr benötigt.")
  7736. }
  7737. return
  7738. :?:/stw::
  7739. Suspend Permit
  7740. GetZoneName(MyZone)
  7741. GetCityName(City)
  7742. If (city == "" || city == "Unbekannt")
  7743. {
  7744. SendChat("/hq benötige einen Streifenwagen in " MyZone ".")
  7745. }
  7746. else
  7747. {
  7748. SendChat("/hq benötige einen Streifenwagen in "MyZone ", " city ".")
  7749. }
  7750. return
  7751. :?:/beweise::
  7752. Suspend Permit
  7753. SendChat("Haben Sie dafür Beweise? (Screenshot, Video, Zeugen etc..)")
  7754. return
  7755. :?:/uc::
  7756. Suspend Permit
  7757. SendInput, /undercover{space}
  7758. return
  7759. :?:/auc::
  7760. Suspend Permit
  7761. Random, skin,1,34
  7762. SendChat("/undercover " skin)
  7763. return
  7764. :?:/vf::
  7765. Suspend Permit
  7766. if(PoliceID != "X")
  7767. {
  7768. if(text != "-1")
  7769. {
  7770. SendChat("/f " . text . "")
  7771. }
  7772. }
  7773. else
  7774. {
  7775. GetPlayerName(myName)
  7776. id := PlayerInput("Verbrecher-ID: ")
  7777. if(IsNumeric(id))
  7778. {
  7779. GetPlayerNameByID(id, Verbrechername)
  7780. }
  7781. SendChat("/r " myName " verfolgt nun " Verbrechername)
  7782. if(id != "")
  7783. {
  7784. SetTimer, Find,Off
  7785. findid := id
  7786. SendChat("/find " findid)
  7787. SetTimer, Find,6000
  7788. }
  7789. }
  7790. return
  7791. :?:/verfolgung::
  7792. Suspend Permit
  7793. verbrecher := PlayerInput("Verbrecher-ID | Voller Name: ")
  7794. if(verbrecher < 0 || verbrecher > 400)
  7795. {
  7796. caID := GetPlayerIDByName(verbrecher)
  7797. verbrecher=%caID%
  7798. }
  7799. GetPlayerNameById(caID, Verbrechername)
  7800. if(verbrechername == -1)
  7801. {
  7802. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Dieser Spieler ist nicht Online.")
  7803. }
  7804. else
  7805. {
  7806. SendChat("/r HQ: Erbitte Unterstützung bei der Verfolgung von " verbrechername " (" verbrecher ").")
  7807. }
  7808. return
  7809. :?:/ort::
  7810. Suspend Permit
  7811. ort := PlayerInput("Letzter bekannter Aufenthaltsort: ")
  7812. SendChat("/r Letzter bekannter Aufenthaltsort: " ort ".")
  7813. return
  7814. :?:/luft::
  7815. Suspend Permit
  7816. GetZoneName(MyZone)
  7817. GetCityName(City)
  7818. If (city == "" || city == "Unbekannt")
  7819. {
  7820. SendChat("/r HQ: Fordere Luftüberwachung im Sektor "MyZone " an.")
  7821. }
  7822. else
  7823. {
  7824. SendChat("/r HQ: Fordere Luftüberwachung im Sektor "MyZone ", " city " an.")
  7825. }
  7826. return
  7827. :?:/settax::
  7828. Suspend Permit
  7829. SendCHat("/tax")
  7830. Sleep 250
  7831. GetChatLine(0, chat1)
  7832. RegExMatch(chat1, "{00FF33}Steuerklasse 4: (.*) Prozent", haha)
  7833. Steuersatz=100
  7834. Steuersatz-=%haha1%
  7835. Steuerlappen=0.%Steuersatz%
  7836. IniWrite, %Steuerlappen%, settings.ini, Steuern, Steuersatz
  7837. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Steuersatz hat sich auf {FFBF00}" . haha1 . "{FFFFFF} Prozent gesetzt.")
  7838. return
  7839. :?:/partner1::
  7840. Suspend Permit
  7841. if(Partner1 == -1)
  7842. {
  7843. SendInput, Gebe deine Partner ID ein:{Space}
  7844. Input, caID, V I M,{Enter}
  7845. SendInput {end}+{home}{Del}{Esc}
  7846. Partner1=%caID%
  7847. if(Partner1 < 0 || Partner1 > 400)
  7848. {
  7849. caID := GetPlayerIDByName(Partner1)
  7850. Partner1=%caID%
  7851. }
  7852. GetPlayerNameById(caID, partnername1)
  7853. if(partnername1 == "" || partnername1 == " ")
  7854. {
  7855. partnername1 := "ID " . caID . ""
  7856. }
  7857. if(partnername1 == -1)
  7858. {
  7859. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Dieser Spieler ist nicht Online.")
  7860. Partner1 := -1
  7861. }
  7862. else
  7863. {
  7864. SendChat("/hq " . partnername1 . " wurde als Dienstpartner eingetragen. (1)")
  7865. AddChatMessage(0xDF0101, "[Staatsgewalt] {FFBF00}" partnername1 "{FFFFFF} wurde als Dienstpartner eingetragen. (1)")
  7866. Sleep, 200
  7867. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  7868. if(Steuersatz < 0 || Steuersatz > 1)
  7869. {
  7870. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Es wurde noch kein Steuersatz eingetragen, nutze bitte {FF8000}/settax{FFFFFF} oder {FF8000}/updatesteuersatz")
  7871. }
  7872. }
  7873. }
  7874. else
  7875. {
  7876. SendChat("/hq Partner 1 wurde entfernt")
  7877. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Streifenpartner (1) wurde entfernt.")
  7878. Partner1 := -1
  7879. Partnername := -1
  7880. }
  7881. if(Streife == 1)
  7882. {
  7883. AnzahlPersonen := 1
  7884. AnzahlPersonen += ErmittelPartnerZahl()
  7885. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  7886. }
  7887. return
  7888. :?:/partner2::
  7889. Suspend Permit
  7890. if(Partner2 == -1)
  7891. {
  7892. SendInput, Gebe deine Partner ID ein:{Space}
  7893. Input, caID, V I M,{Enter}
  7894. SendInput {end}+{home}{Del}{Esc}
  7895. Partner2=%caID%
  7896. if(Partner2 < 0 || Partner2 > 400)
  7897. {
  7898. caID := GetPlayerIDByName(Partner2)
  7899. Partner2=%caID%
  7900. }
  7901. GetPlayerNameById(caID, partnername2)
  7902. if(partnername2 == "" || partnername2 == " ")
  7903. {
  7904. partnername2 := "ID " . caID . ""
  7905. }
  7906. if(partnername2 == -1)
  7907. {
  7908. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Dieser Spieler ist nicht Online.")
  7909. Partner2 := -1
  7910. }
  7911. else
  7912. {
  7913. SendChat("/hq " . partnername2 . " wurde als Dienstpartner eingetragen. (2)")
  7914. AddChatMessage(0xDF0101, "[Staatsgewalt] {FFBF00}" partnername2 "{FFFFFF} wurde als Dienstpartner eingetragen. (1)")
  7915. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  7916. if(Steuersatz < 0 || Steuersatz > 1)
  7917. {
  7918. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Es wurde noch kein Steuersatz eingetragen, nutze bitte {FFBF00}/settax{FFFFFF} oder {FFBF00}/updatesteuersatz{FFFFFF}.")
  7919. }
  7920. }
  7921. }
  7922. else
  7923. {
  7924. SendChat("/hq Der Streifenpartner (2) wurde entfernt.")
  7925. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Streifenpartner (2) wurde entfernt.")
  7926. Partner2 := -1
  7927. Partnername := -1
  7928. }
  7929. if(Streife == 1)
  7930. {
  7931. AnzahlPersonen := 1
  7932. AnzahlPersonen += ErmittelPartnerZahl()
  7933. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  7934. }
  7935. return
  7936. :?:/partner3::
  7937. Suspend Permit
  7938. if(Partner3 == -1)
  7939. {
  7940. SendInput, Gebe deine Partner ID ein:{Space}
  7941. Input, caID, V I M,{Enter}
  7942. SendInput {end}+{home}{Del}{Esc}
  7943. Partner3=%caID%
  7944. if(Partner3 < 0 || Partner3 > 400)
  7945. {
  7946. caID := GetPlayerIDByName(Partner3)
  7947. Partner1=%caID%
  7948. }
  7949. GetPlayerNameById(caID, partnername3)
  7950. if(partnername3 == "" || partnername3 == " ")
  7951. {
  7952. partnername3 := "ID " . caID . ""
  7953. }
  7954. if(partnername3 == -1)
  7955. {
  7956. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Dieser Spieler ist nicht Online.")
  7957. Partner3 := -1
  7958. }
  7959. else
  7960. {
  7961. SendChat("/hq " . partnername3 . " wurde als Dienstpartner eingetragen. (3)")
  7962. AddChatMessage(0xDF0101, "[Staatsgewalt] {FFBF00}" partnername3 "{FFFFFF} wurde als Dienstpartner eingetragen. (3)")
  7963. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  7964. if(Steuersatz < 0 || Steuersatz > 1)
  7965. {
  7966. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Es wurde noch kein Steuersatz eingetragen, nutze bitte {FFBF00}/settax{FFFFFF} oder {FFBF00}/updatesteuersatz{FFFFFF}.")
  7967. }
  7968. }
  7969. }
  7970. else
  7971. {
  7972. SendChat("/hq Der Streifenpartner (3) wurde entfernt.")
  7973. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Streifenpartner (3) wurde entfernt.")
  7974. Partner3 := -1
  7975. Partnername := -1
  7976. }
  7977. if(Streife == 1)
  7978. {
  7979. AnzahlPersonen := 1
  7980. AnzahlPersonen += ErmittelPartnerZahl()
  7981. PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
  7982. }
  7983. return
  7984. :?:/partners::
  7985. Suspend Permit
  7986. If(Partner1 > -1)
  7987. {
  7988. GetPlayerNameByID(Partner1, partnername1_temp)
  7989. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} 1. Streifenpartner: " partnername1_temp " [ID: " Partner1 "]")
  7990. }
  7991. else
  7992. {
  7993. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} 1. Streifenpartner: / ")
  7994. }
  7995. if(Partner2 > -1)
  7996. {
  7997. GetPlayerNameByID(Partner2, partnername2_temp)
  7998. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} 2. Streifenpartner: " partnername2_temp " [ID: " Partner2 "]")
  7999. }
  8000. else
  8001. {
  8002. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} 2. Streifenpartner: / ")
  8003. }
  8004. if(Partner3 > -1)
  8005. {
  8006. GetPlayerNameByID(partner3, partnername3_temp)
  8007. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} 3. Streifenpartner: " partnername3_temp " [ID: " Partner3 "]")
  8008. }
  8009. else
  8010. {
  8011. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} 3. Streifenpartner: / ")
  8012. }
  8013. return
  8014. :?:/wt::
  8015. Suspend Permit
  8016. ID := PlayerInput("Spieler-Name: ")
  8017. if(ID != "" && ID != " ")
  8018. {
  8019. Grund := PlayerInput("Wantedgrund: ")
  8020. if(Grund != "" && Grund != " ")
  8021. {
  8022. SendChat("/d HQ: Bitte ID " ID " Wanteds eintragen, Grund: " Grund ".")
  8023. }
  8024. }
  8025. return
  8026. :?:/kontrolle::
  8027. Suspend Permit
  8028. SendInput, /frisk{Space}
  8029. Input, caID, V I M,{Enter}
  8030. Send {Enter}
  8031. SendChat("/waffen " . caID . "")
  8032. Sleep 2000
  8033. SendChat("/alktest " . caID . "")
  8034. return
  8035. :?:/warten::
  8036. Suspend Permit
  8037. SendChat("/l Bitte warten Sie einen Moment, ich überprüfe die Gültigkeit Ihrer Dokumente.")
  8038. return
  8039. :?:/rechte::
  8040. Suspend Permit
  8041. SendChat("Sie haben das Recht zu schweigen. Alles was Sie sagen, kann und wird vor Gericht gegen Sie verwendet werden.")
  8042. Sleep, 1500
  8043. SendChat("Sie haben das Recht auf einen Anwalt. Können Sie sich keinen leisten wird Ihnen einer gestellt.")
  8044. Sleep, 2000
  8045. SendChat("Haben Sie Ihre Rechte verstanden welche ich Ihnen vorgelesen hab?")
  8046. return
  8047. :?:/passieren::
  8048. Suspend Permit
  8049. SendChat("Sie dürfen passieren.")
  8050. SendChat("Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
  8051. return
  8052. :?:/runter::
  8053. Suspend Permit
  8054. SendChat("/l Steigen Sie bitte umgehend vom Fahrzeug.")
  8055. Sleep, 750
  8056. SendChat("/l Ansonsten sind wir gezwungen Sie wegen Verweigerung zu verhaften.")
  8057. return
  8058. ~2::
  8059. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8060. {
  8061. SendInput, {A_ThisHotkey}
  8062. return
  8063. }
  8064. SendChat("/l Guten Tag Sir, dürfen wir Sie auf Drogen und Waffenbesitz überprüfen?")
  8065. SendChat("/l Sollten Sie sich weigern, bekommen Sie ein Wanted und werden verhaftet!")
  8066. Sleep, 850
  8067. SendChat("/l Bitte antworten Sie mit 'Ja' oder 'Nein'.")
  8068. return
  8069. ~+::
  8070. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8071. {
  8072. SendInput, {A_ThisHotkey}
  8073. return
  8074. }
  8075. IniRead, Kills, Statistik.ini, Kills, Kills
  8076. Kills++
  8077. IniWrite, %Kills%, Statistik.ini, Kills, Kills
  8078. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Dies war dein {FFBF00}" Kills "{FFFFFF}. Kill.")
  8079. return
  8080. ~3::
  8081. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8082. {
  8083. SendInput, {A_ThisHotkey}
  8084. return
  8085. }
  8086. playerid := GetPlayerID()
  8087. if(playerid == "" || playerid == " " || playerid == "65535")
  8088. {
  8089. UpdateServerData()
  8090. playerid := GetPlayerID()
  8091. if(playerid == "" || playerid == " " || playerid == "65535")
  8092. {
  8093. playerid := name
  8094. }
  8095. }
  8096. SendChat("/l Bitte zeigen Sie mir Ihre Scheine. (/scheine " . playerid . ")")
  8097. return
  8098. ~k::
  8099. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8100. {
  8101. return
  8102. }
  8103. caID := PlayerInput("Kontrolle: ")
  8104. SendChat("/alktest " caID)
  8105. SendChat("/waffen " caID)
  8106. sleep, 1500
  8107. SendChat("/frisk " caID)
  8108. return
  8109. ~4::
  8110. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8111. {
  8112. SendInput, {A_ThisHotkey}
  8113. return
  8114. }
  8115. SendChat("Vielen Dank für Ihre Kooperation.")
  8116. return
  8117. ~5::
  8118. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8119. {
  8120. SendInput, {A_ThisHotkey}
  8121. return
  8122. }
  8123. SendChat("/l Steigen Sie bitte aus Ihrem Fahrzeug.")
  8124. return
  8125. ~6::
  8126. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8127. {
  8128. SendInput, {A_ThisHotkey}
  8129. return
  8130. }
  8131. If(IsPlayerInAnyInterior())
  8132. {
  8133. SendChat("/l Sie sind vorläufig festgenommen, verlassen Sie das Gebäude und steigen Sie in den Dienstwagen.")
  8134. }else{
  8135. SendChat("/l Sie sind vorläufig festgenommen, steigen Sie bitte in das Dienstfahrzeug.")
  8136. }
  8137. return
  8138. ~7::
  8139. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8140. {
  8141. SendInput, {A_ThisHotkey}
  8142. return
  8143. }
  8144. SendChat("/l Sie sind vorläufig festgenommen, bitte laufen Sie zu den Zellen des Police Departments.")
  8145. return
  8146. ~8::
  8147. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8148. {
  8149. SendInput, {A_ThisHotkey}
  8150. return
  8151. }
  8152. SendChat("/ram")
  8153. return
  8154. ~9::
  8155. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8156. {
  8157. SendInput, {A_ThisHotkey}
  8158. return
  8159. }
  8160. id := PlayerInput("Grab: ")
  8161. SendChat("/grab " id " 2")
  8162. return
  8163. ~^!8::
  8164. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8165. {
  8166. return
  8167. }
  8168. SendInput, t/ungrab{space}
  8169. return
  8170. ~B::
  8171. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8172. {
  8173. return
  8174. }
  8175. if(IsPlayerInAnyVehicle() == "0")
  8176. {
  8177. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist in keinem Fahrzeug")
  8178. }
  8179. else
  8180. {
  8181. SendChat("/uclight")
  8182. }
  8183. return
  8184. ~I::
  8185. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8186. {
  8187. return
  8188. }
  8189. SendChat("/l Bitte stecken Sie umgehend Ihre Waffen ein.")
  8190. return
  8191. !E::
  8192. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8193. {
  8194. return
  8195. }
  8196. SendInput, t/eject{space}
  8197. return
  8198. ~ä::
  8199. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8200. {
  8201. return
  8202. }
  8203. SendInput t{up}{enter}
  8204. return
  8205. ^Numpad0::
  8206. id := PlayerInput("Rote Ampel missachtet: ")
  8207. SendChat("/punkte " id " 2 Missachtung roter Ampeln")
  8208. return
  8209. ^Numpad1::
  8210. id := PlayerInput("SVG: ")
  8211. SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
  8212. return
  8213. ^Numpad2::
  8214. id := PlayerInput("Falsche Seite: ")
  8215. SendChat("/punkte " id " 2 Fahren auf der falschen Straßenseite")
  8216. return
  8217. ^Numpad3::
  8218. id := PlayerInput("Zu schnell: ")
  8219. SendChat("/punkte " id " 2 Überschreitung der Höchstgeschwindigkeit")
  8220. return
  8221. ^Numpad4::
  8222. id := PlayerInput("Vorfahrt: ")
  8223. SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
  8224. return
  8225. ^Numpad5::
  8226. id := PlayerInput("Abseits: ")
  8227. SendChat("/punkte " id " 2 Fahren abseits der Straße")
  8228. return
  8229. ^Numpad6::
  8230. id := PlayerInput("Ohne Licht: ")
  8231. SendChat("/punkte " id " 1 Fahren ohne Licht")
  8232. return
  8233. ^Numpad7::
  8234. GetZoneName(MyZone)
  8235. id := PlayerInput("Parkverbot: ")
  8236. SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
  8237. return
  8238. ^Numpad8::
  8239. id := PlayerInput("SVB: ")
  8240. SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
  8241. return
  8242. ^Numpad9::
  8243. id := PlayerInput("Alkoholeinfluss: ")
  8244. SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
  8245. return
  8246. ~NumpadDot::
  8247. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8248. {
  8249. return
  8250. }
  8251. SendChat("/m >> Bitte halten Sie sich an die Straßenverkehrsordnung <<")
  8252. return
  8253. ~Numpad0::
  8254. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8255. {
  8256. return
  8257. }
  8258. if(watermode == 1)
  8259. {
  8260. SendChat("/m >> STOP FBI, STOP THE CAR! <<")
  8261. }
  8262. else if(swatmode == 1)
  8263. {
  8264. SendChat("/m >> SWAT, " . Swatabteilung . " bitte folgen Sie dem Einsatzfahrzeug <<")
  8265. }
  8266. else
  8267. {
  8268. If(Abteilung = "" || Abteilung = "ERROR")
  8269. {
  8270. SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen <<")
  8271. }
  8272. else
  8273. {
  8274. SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen <<")
  8275. }
  8276. }
  8277. return
  8278. ~Numpad1::
  8279. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8280. {
  8281. SendInput, {A_ThisHotkey}
  8282. return
  8283. }
  8284. if(watermode == 1)
  8285. {
  8286. SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an <<")
  8287. }
  8288. else if(swatmode == 1)
  8289. {
  8290. SendChat("/m >> SWAT, " . Swatabteilung . " Straßenverkehrskontrolle. Fahren Sie SOFORT rechts ran! <<")
  8291. }
  8292. else
  8293. {
  8294. If(Abteilung = "" || Abteilung = "ERROR")
  8295. {
  8296. SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
  8297. }
  8298. else
  8299. {
  8300. SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
  8301. }
  8302. }
  8303. return
  8304. ~Numpad2::
  8305. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8306. {
  8307. SendInput, {A_ThisHotkey}
  8308. return
  8309. }
  8310. if(watermode == 1)
  8311. {
  8312. SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot! <<")
  8313. }
  8314. else if(swatmode == 1)
  8315. {
  8316. SendChat("/m >> SWAT, " . Swatabteilung . " halten Sie SOFORT an!<<")
  8317. }
  8318. else
  8319. {
  8320. If(Abteilung = "" || Abteilung = "ERROR")
  8321. {
  8322. SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an! <<")
  8323. }
  8324. else
  8325. {
  8326. SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an!<<")
  8327. }
  8328. }
  8329. return
  8330. ~Numpad3::
  8331. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8332. {
  8333. SendInput, {A_ThisHotkey}
  8334. return
  8335. }
  8336. SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen! <<")
  8337. return
  8338. ~Numpad4::
  8339. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8340. {
  8341. SendInput, {A_ThisHotkey}
  8342. return
  8343. }
  8344. SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug! <<")
  8345. return
  8346. ~Numpad5::
  8347. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8348. {
  8349. SendInput, {A_ThisHotkey}
  8350. return
  8351. }
  8352. if(watermode == 1)
  8353. {
  8354. SendChat("/m >> Küstenwache, fahren Sie SOFORT zur Seite! <<")
  8355. }
  8356. else if(swatmode == 1)
  8357. {
  8358. SendChat("/m >> SWAT, " . Swatabteilung . " räumen Sie SOFORT die Straße! <<")
  8359. }
  8360. else
  8361. {
  8362. If(Abteilung = "" || Abteilung = "ERROR")
  8363. {
  8364. SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße! <<")
  8365. }
  8366. else
  8367. {
  8368. SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße! <<")
  8369. }
  8370. }
  8371. return
  8372. ~Numpad6::
  8373. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8374. {
  8375. SendInput, {A_ThisHotkey}
  8376. return
  8377. }
  8378. if(swatmode == 1)
  8379. {
  8380. SendChat("/m >> SWAT, " . Swatabteilung . " Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
  8381. }
  8382. else
  8383. {
  8384. SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
  8385. }
  8386. return
  8387. ~Numpad9::
  8388. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8389. {
  8390. SendInput, {A_ThisHotkey}
  8391. return
  8392. }
  8393. SendChat("/m >> Verlassen Sie SOFORT dieses Gelände! <<")
  8394. return
  8395. ~ß::
  8396. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8397. {
  8398. return
  8399. }
  8400. SendChat("/m >> Verlassen Sie SOFORT dieses Gebäude! <<")
  8401. return
  8402. ~Numpad7::
  8403. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8404. {
  8405. return
  8406. }
  8407. SendInput, t/cuff{Space}
  8408. Input, SID, V I M,{Enter}
  8409. Send {Enter}
  8410. SendInput t/frisk %SID%{Enter}
  8411. if(arrest1 == -1)
  8412. {
  8413. arrest1 := SID
  8414. return
  8415. }
  8416. else if(arrest2 == -1)
  8417. {
  8418. arrest2 := SID
  8419. return
  8420. }
  8421. else if(arrest3 == -1)
  8422. {
  8423. arrest3 := SID
  8424. return
  8425. }
  8426. else if(arrest4 == -1)
  8427. {
  8428. arrest4 := SID
  8429. return
  8430. }
  8431. else if(arrest5 == -1)
  8432. {
  8433. arrest5 := SID
  8434. return
  8435. }
  8436. else
  8437. {
  8438. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F9 zum Resetten)")
  8439. return
  8440. }
  8441. return
  8442. ~F9::
  8443. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  8444. {
  8445. return
  8446. }
  8447. arrest1 := -1
  8448. arrest2 := -1
  8449. arrest3 := -1
  8450. arrest4 := -1
  8451. arrest5 := -1
  8452. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Arrestslots zurückgesetzt")
  8453. return
  8454. :?:/uncuff::
  8455. Suspend Permit
  8456. id := PlayerInput("/uncuff ")
  8457. SendChat("/uncuff " id)
  8458. if(arrest1 == id)
  8459. {
  8460. arrest1 = -1
  8461. return
  8462. }
  8463. else if(arrest2 == id)
  8464. {
  8465. arrest2 = -1
  8466. return
  8467. }
  8468. else if(arrest3 == id)
  8469. {
  8470. arrest3 = -1
  8471. return
  8472. }
  8473. else if(arrest4 == id)
  8474. {
  8475. arrest4 = -1
  8476. return
  8477. }
  8478. else if(arrest5 == id)
  8479. {
  8480. arrest5 = -1
  8481. return
  8482. }
  8483. return
  8484. ~U::
  8485. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8486. {
  8487. return
  8488. }
  8489. id := PlayerInput("/uncuff ")
  8490. SendChat("/uncuff " id)
  8491. if(arrest1 == id)
  8492. {
  8493. arrest1 = -1
  8494. return
  8495. }
  8496. else if(arrest2 == id)
  8497. {
  8498. arrest2 = -1
  8499. return
  8500. }
  8501. else if(arrest3 == id)
  8502. {
  8503. arrest3 = -1
  8504. return
  8505. }
  8506. else if(arrest4 == id)
  8507. {
  8508. arrest4 = -1
  8509. return
  8510. }
  8511. else if(arrest5 == id)
  8512. {
  8513. arrest5 = -1
  8514. return
  8515. }
  8516. return
  8517. ^!Numpad7::
  8518. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8519. {
  8520. return
  8521. }
  8522. id := PlayerInput("/uncuff ")
  8523. SendChat("/uncuff " id)
  8524. if(arrest1 == id)
  8525. {
  8526. arrest1 = -1
  8527. return
  8528. }
  8529. else if(arrest2 == id)
  8530. {
  8531. arrest2 = -1
  8532. return
  8533. }
  8534. else if(arrest3 == id)
  8535. {
  8536. arrest3 = -1
  8537. return
  8538. }
  8539. else if(arrest4 == id)
  8540. {
  8541. arrest4 = -1
  8542. return
  8543. }
  8544. else if(arrest5 == id)
  8545. {
  8546. arrest5 = -1
  8547. return
  8548. }
  8549. return
  8550. ~Numpad8::
  8551. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  8552. {
  8553. return
  8554. }
  8555. Suspend on
  8556. Random, rand, 1, 3
  8557. SendInput, t/arrest %rand%{left 2}
  8558. Input, SID, V I M,{Enter}
  8559. Send {Enter}
  8560. Suspend off
  8561. Countdown := 200
  8562. SetTimer, Partner, 100
  8563. if(arrest1 == SID)
  8564. {
  8565. arrest1 = -1
  8566. return
  8567. }
  8568. else if(arrest2 == SID)
  8569. {
  8570. arrest2 = -1
  8571. return
  8572. }
  8573. else if(arrest3 == SID)
  8574. {
  8575. arrest3 = -1
  8576. return
  8577. }
  8578. else if(arrest4 == SID)
  8579. {
  8580. arrest4 = -1
  8581. return
  8582. }
  8583. else if(arrest5 == SID)
  8584. {
  8585. arrest5 = -1
  8586. return
  8587. }
  8588. return
  8589. #Partner:
  8590. countdown--
  8591. if(countdown == 0)
  8592. {
  8593. SetTimer, #Partner, off
  8594. }
  8595. else
  8596. {
  8597. GetChatLine(0, ChatLine0)
  8598. GetChatLine(1, ChatLine1)
  8599. GetPlayerName(name)
  8600. if(InStr(ChatLine1, " " . name . " hat den Verdächtigen ") && InStr(ChatLine1, "eingesperrt."))
  8601. {
  8602. IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
  8603. SetTimer, #Partner, off
  8604. RegExMatch(ChatLine0, "Haftzeit: (.*) Minuten, Geldstrafe: 0\$.", zeit)
  8605. if(zeit1 > 104)
  8606. {
  8607. Wanted = 104
  8608. }
  8609. else
  8610. {
  8611. Wanted = %zeit1%
  8612. }
  8613. Wanted /= 4
  8614. Wanted *= 750
  8615. Geld = %Wanted%
  8616. Geld *= %Steuersatz%
  8617. Geld := Floor(Geld)
  8618. gesamtgeld += Geld
  8619. Sleep, 200
  8620. IniRead, Arrest, Statistik.ini, Arrests, Arrest
  8621. Arrest++
  8622. IniWrite, %Arrest%, Statistik.ini, Arrests, Arrest
  8623. Sleep, 750
  8624. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Eingesperrte Verbrecher: {FFBF00}" Arrest "{FFFFFF}")
  8625. Sleep 200
  8626. SetTimer, #Partner, off
  8627. }
  8628. }
  8629. return
  8630. !#::
  8631. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Verbrecher in der Arrestliste:")
  8632. if(arrest1 != -1)
  8633. {
  8634. GetPlayerNameByID(arrest1, name)
  8635. AddChatMessage(0xFFFFFF, name)
  8636. }
  8637. if(arrest2 != -1)
  8638. {
  8639. GetPlayerNameByID(arrest2, name)
  8640. AddChatMessage(0xFFFFFF, name)
  8641. }
  8642. if(arrest3 != -1)
  8643. {
  8644. GetPlayerNameByID(arrest3, name)
  8645. AddChatMessage(0xFFFFFF, name)
  8646. }
  8647. if(arrest4 != -1)
  8648. {
  8649. GetPlayerNameByID(arrest4, name)
  8650. AddChatMessage(0xFFFFFF, name)
  8651. }
  8652. if(arrest5 != -1)
  8653. {
  8654. GetPlayerNameByID(arrest5, name)
  8655. AddChatMessage(0xFFFFFF, name)
  8656. }
  8657. return
  8658. :?:/razzia::
  8659. Suspend Permit
  8660. If(Abteilung = "" || Abteilung = "ERROR")
  8661. {
  8662. SendChat("/m >> " . Fraktion . ", dies ist eine Razzia! <<")
  8663. }
  8664. else
  8665. {
  8666. SendChat("/m >> " . Abteilung . ", dies ist eine Razzia! <<")
  8667. }
  8668. SendChat("/m >> Nehmen Sie SOFORT die Hände hoch oder wir schießen! <<")
  8669. return
  8670. :?:/rz::
  8671. Suspend Permit
  8672. if(swatmode == 1)
  8673. {
  8674. SendChat("/m >> S.W.A.T., Dies ist eine Razzia! <<")
  8675. SendChat("/m >> Nehmen Sie SOFORT die Hände hoch oder Sie werden erschossen! (/Hide | /Handsup) <<")
  8676. Sleep, 2000
  8677. SendChat("/m >>5<<")
  8678. Sleep, 1000
  8679. SendChat("/m >>4<<")
  8680. Sleep, 1000
  8681. SendChat("/m >>3<<")
  8682. Sleep, 1000
  8683. SendChat("/m >>2<<")
  8684. Sleep, 1000
  8685. SendChat("/m >>1<<")
  8686. Sleep, 1000
  8687. SendChat("/m >>Letzte Warnung!<<")
  8688. }
  8689. else
  8690. {
  8691. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du bist nicht im SWAT-Modus.")
  8692. }
  8693. return
  8694. :?:/ruhe::
  8695. Suspend Permit
  8696. SendChat("Sie haben das Recht zu schweigen. Alles was Sie sagen, kann und wird vor Gericht gegen Sie verwendet werden.")
  8697. Sleep, 1500
  8698. SendChat("Sie haben das Recht auf einen Anwalt. Können Sie sich keinen leisten wird Ihnen einer gestellt.")
  8699. Sleep, 2000
  8700. SendChat("Haben Sie Ihre Rechte verstanden welche ich Ihnen vorgelesen hab?")
  8701. return
  8702. :?:/hdf::
  8703. Suspend Permit
  8704. SendChat("Sein Sie bitte still.")
  8705. return
  8706. :?:/wo::
  8707. Suspend Permit
  8708. SendChat("/d Wo befindet ihr euch und was ist das Problem?")
  8709. return
  8710. :?:/ver::
  8711. Suspend Permit
  8712. if(PoliceID != "X")
  8713. {
  8714. if(text != "-1")
  8715. {
  8716. SendChat("/hq " . text . "")
  8717. }
  8718. }
  8719. else
  8720. {
  8721. SendChat("/hq Habe verstanden.")
  8722. }
  8723. return
  8724. :?:/jver::
  8725. Suspend Permit
  8726. if(PoliceID != "X")
  8727. {
  8728. if(text != "-1")
  8729. {
  8730. SendChat("/j " . text . "")
  8731. }
  8732. }
  8733. else
  8734. {
  8735. SendChat("/j HQ: Habe verstanden.")
  8736. }
  8737. return
  8738. :?:/dver::
  8739. Suspend Permit
  8740. if(PoliceID != "X")
  8741. {
  8742. if(text != "-1")
  8743. {
  8744. SendChat("/d " . text . "")
  8745. }
  8746. }
  8747. else
  8748. {
  8749. SendChat("/d HQ: Habe verstanden.")
  8750. }
  8751. return
  8752. :?:/rver::
  8753. Suspend Permit
  8754. if(PoliceID != "X")
  8755. {
  8756. if(text != "-1")
  8757. {
  8758. SendChat("/r " . text . "")
  8759. }
  8760. }
  8761. else
  8762. SendChat("/f HQ: Habe verstanden.")
  8763. return
  8764. :?:/fver::
  8765. Suspend Permit
  8766. if(PoliceID != "X")
  8767. {
  8768. if(text != "-1")
  8769. {
  8770. SendChat("/f " . text . "")
  8771. }
  8772. }
  8773. else
  8774. SendChat("/f HQ: Habe verstanden.")
  8775. return
  8776. :?:/needbk::
  8777. Suspend Permit
  8778. {
  8779. SendChat("/hq Wird Verstärkung weiterhin benötigt?")
  8780. }
  8781. return
  8782. :?:/dgo::
  8783. Suspend Permit
  8784. SendChat("/d Einsatzleiter erlaubt Zugriff, GOGOGO!")
  8785. return
  8786. :?:/go::
  8787. Suspend Permit
  8788. SendChat("/hq Einsatzleiter erlaubt Zugriff, GOGOGO!")
  8789. return
  8790. :?:/rgo::
  8791. Suspend Permit
  8792. SendChat("/r Einsatzleiter erlaubt Zugriff, GOGOGO!")
  8793. return
  8794. :?:/fgo::
  8795. Suspend Permit
  8796. SendChat("/f Einsatzleiter erlaubt Zugriff, GOGOGO!")
  8797. return
  8798. :?:/afk::
  8799. Suspend Permit
  8800. Zeit := PlayerInput("Zeit: ")
  8801. SendChat("/f Ich melde mich AFK, Zeit: " Zeit " Minuten")
  8802. return
  8803. :?:/tw::
  8804. Suspend Permit
  8805. SendInput, /take Waffen{space}
  8806. return
  8807. :?:/tws::
  8808. Suspend Permit
  8809. SendInput, /take Waffenschein{space}
  8810. return
  8811. :?:/twl::
  8812. Suspend Permit
  8813. SendInput, /take Waffenschein{space}
  8814. return
  8815. :?:/tfl::
  8816. Suspend Permit
  8817. SendInput, /take Flugschein{space}
  8818. return
  8819. :?:/tfs::
  8820. Suspend Permit
  8821. SendInput, /take Flugschein{space}
  8822. return
  8823. :?:/td::
  8824. Suspend Permit
  8825. SendInput, /take Drogen{space}
  8826. return
  8827. :?:/tm::
  8828. Suspend Permit
  8829. SendInput, /take Materialien{space}
  8830. return
  8831. :?:/tall::
  8832. Suspend Permit
  8833. SendInput, /take Waffen{Space}
  8834. Input, SID, V I M,{Enter}
  8835. Send {Enter}
  8836. SendInput t/take Materialien %SID%{Enter}
  8837. Send {Enter}
  8838. SendInput, t/take Drogen %SID%{enter}
  8839. Suspend Off
  8840. return
  8841. :?:/tst::
  8842. Suspend Permit
  8843. Tid := PlayerInput("Spieler Name / ID: ")
  8844. anzahl := PlayerInput("Anzahl: ")
  8845. SendChat("/licunban " Tid " points " anzahl)
  8846. return
  8847. :?:/clearpoints::
  8848. Suspend Permit
  8849. Tid := PlayerInput("Spieler Name / ID: ")
  8850. anzahl := PlayerInput("Anzahl: ")
  8851. SendChat("/licunban " Tid " points " anzahl)
  8852. return
  8853. ~-::
  8854. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  8855. {
  8856. return
  8857. }
  8858. id := PlayerInput("/clear ")
  8859. SendChat("/clear " id)
  8860. return
  8861. :?:/op::
  8862. Suspend Permit
  8863. SendInput, /offlinearrest 1{left 2}
  8864. return
  8865. :?:/oa::
  8866. Suspend Permit
  8867. SendInput, /offlinearrest 0{left 2}
  8868. return
  8869. :?:/dp::
  8870. Suspend Permit
  8871. SendInput, /deatharrest 1{left 2}
  8872. return
  8873. :?:/da::
  8874. Suspend Permit
  8875. SendInput, /deatharrest 0{left 2}
  8876. return
  8877. :?:/danke::
  8878. Suspend Permit
  8879. SendChat("Vielen Dank für ihren Anruf. Schönen Tag noch.")
  8880. SendChat("/h")
  8881. return
  8882. :?:/stvo::
  8883. Suspend Permit
  8884. anzahl := 0
  8885. rsn := ""
  8886. anzahl := PlayerInput("Anzahl der möglichen Punkte: ")
  8887. rsn := PlayerInput("Grund: ")
  8888. if(anzahl != 0 && rsn != "")
  8889. {
  8890. ticket := anzahl * 2000
  8891. FormatTime, Uhrzeit,, HH
  8892. if (Uhrzeit >= 12 && Uhrzeit < 20)
  8893. {
  8894. SendChat("Guten Tag, Sie haben gegen die StVo verstoßen.")
  8895. }
  8896. else if (Uhrzeit >= 20 || Uhrzeit == 0)
  8897. {
  8898. SendChat("Guten Abend, Sie haben gegen die StVo verstoßen.")
  8899. }
  8900. else if (Uhrzeit >= 1 && Uhrzeit < 12)
  8901. {
  8902. SendChat("Guten Morgen, Sie haben gegen die StVo verstoßen.")
  8903. }
  8904. SendChat("Ihre Vergehen: " rsn)
  8905. SendChat("Möchten Sie ein Ticket in Höhe von " ticket "$ oder " anzahl " Strafpunkte?")
  8906. Sleep, 1000
  8907. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Benutze nun {FFBF00}/aticket{FFFFFF} oder {FFBF00}/apunkte{FFFFFF}, um ein Ticket oder Punkte auszustellen.")
  8908. }
  8909. return
  8910. :?:/aticket::
  8911. Suspend Permit
  8912. if(rsn != "" && ticket != "")
  8913. {
  8914. ID := PlayerInput("ID / Name des Spielers: ")
  8915. SendChat("/ticket " . ID . " " . ticket . " " . rsn . "")
  8916. anzahl := 0
  8917. rsn := ""
  8918. ticket := ""
  8919. }
  8920. else
  8921. {
  8922. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Nutze vorher {3ADF00}/stvo{FFFFFF}, bevor du ein Ticket ausstellst.")
  8923. }
  8924. return
  8925. :?:/apunkte::
  8926. Suspend Permit
  8927. if(rsn != "" && anzahl != "")
  8928. {
  8929. ID := PlayerInput("ID / Name des Spielers: ")
  8930. SendChat("/punkte " . ID . " " . anzahl . " " . rsn . "")
  8931. anzahl := 0
  8932. rsn := ""
  8933. ticket := ""
  8934. }
  8935. else
  8936. {
  8937. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Nutze vorher {3ADF00}/stvo{FFFFFF}, bevor du Strafpunkte ausstellst.")
  8938. }
  8939. return
  8940. :?:/tot::
  8941. Suspend Permit
  8942. SendChat("/l Möchten Sie nun ein Ticket oder die Strafpunkte?")
  8943. return
  8944. :?:/top::
  8945. Suspend Permit
  8946. SendChat("/l Möchten Sie nun ein Ticket oder die Strafpunkte?")
  8947. return
  8948. :?:/fahrt::
  8949. Suspend Permit
  8950. SendChat("/l Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
  8951. return
  8952. LWin::
  8953. SendChat("/wanteds")
  8954. return
  8955. return
  8956. :?:/cd::
  8957. Suspend Permit
  8958. SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
  8959. Sleep 1500
  8960. SendChat(">>5<<")
  8961. KeyWait, <, D T1
  8962. If !ErrorLevel
  8963. {
  8964. return
  8965. }
  8966. SendChat(">>4<<")
  8967. KeyWait, <, D T1
  8968. If !ErrorLevel
  8969. {
  8970. return
  8971. }
  8972. SendChat(">>3<<")
  8973. KeyWait, <, D T1
  8974. If !ErrorLevel
  8975. {
  8976. return
  8977. }
  8978. SendChat(">>2<<")
  8979. KeyWait, <, D T1
  8980. If !ErrorLevel
  8981. {
  8982. return
  8983. }
  8984. SendChat(">>1<<")
  8985. KeyWait, <, D T1
  8986. If !ErrorLevel
  8987. {
  8988. return
  8989. }
  8990. SendChat("Letzte Warnung!")
  8991. Sleep, 2000
  8992. AddChatMessage(0xFFFFFF,"Freigegeben")
  8993. return
  8994. End::
  8995. AddChatMessage(0xFFFFFF, "Um den Countdown zu stoppen '<' verwenden")
  8996. SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
  8997. Sleep 1500
  8998. SendChat(">>5<<")
  8999. KeyWait, <, D T1
  9000. If !ErrorLevel
  9001. {
  9002. return
  9003. }
  9004. SendChat(">>4<<")
  9005. KeyWait, <, D T1
  9006. If !ErrorLevel
  9007. {
  9008. return
  9009. }
  9010. SendChat(">>3<<")
  9011. KeyWait, <, D T1
  9012. If !ErrorLevel
  9013. {
  9014. return
  9015. }
  9016. SendChat(">>2<<")
  9017. KeyWait, <, D T1
  9018. If !ErrorLevel
  9019. {
  9020. return
  9021. }
  9022. SendChat(">>1<<")
  9023. KeyWait, <, D T1
  9024. If !ErrorLevel
  9025. {
  9026. return
  9027. }
  9028. SendChat("Letzte Warnung!")
  9029. Sleep, 2000
  9030. AddChatMessage(0xFFFFFF,"Freigegeben")
  9031. return
  9032. !End::
  9033. SendChat("Sie haben nun folgende Möglichkeiten:")
  9034. Sleep 1000
  9035. SendChat("1. Sie versuchen zu flüchten, erhalten Wanteds und wir wenden Gewalt an.")
  9036. Sleep 1000
  9037. SendChat("2. Sie stellen sich und können einen Anwalt beauftragen.")
  9038. Sleep 1000
  9039. SendChat("3. Sie verweigern, erhalten Wanteds und wir wenden Gewalt an.")
  9040. Sleep 1000
  9041. SendChat("Sie haben die Wahl!")
  9042. return
  9043. !c::
  9044. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9045. {
  9046. return
  9047. }
  9048. zoll := PlayerInput("Zoll schließen lassen - Zoll-ID: ")
  9049. if(zoll != "" && zoll != " ")
  9050. {
  9051. SendChat("/hq Erbitte Schließung von Zollstation " zoll ".")
  9052. }
  9053. return
  9054. NumpadDiv::
  9055. SendInput, t/zollcontrol zu{left}{left}{left}
  9056. return
  9057. !NumpadDiv::
  9058. SendInput, t/zollcontrol auf{left}{left}{left}{left}
  9059. return
  9060. NumpadMult::
  9061. SendInput, t/gov Die Zollstationen sind zurzeit geschlossen.{left 26}
  9062. return
  9063. !NumpadMult::
  9064. SendInput, t/gov Die Zollstationen sind nicht mehr geschlossen.{left 29}
  9065. return
  9066. NumpadSub::
  9067. SendChat("/auf")
  9068. return
  9069. !NumpadSub::
  9070. SendChat("/zoll")
  9071. return
  9072. NumpadAdd::
  9073. If (IsChatOpen() == 1 || IsDialogOpen() == 1)
  9074. {
  9075. SendInput, {%A_ThisHotkey%}
  9076. return
  9077. }
  9078. if(bkon == 0)
  9079. {
  9080. SendChat("/bk")
  9081. bkon := 1
  9082. }
  9083. else if(bkon == 1)
  9084. {
  9085. GetCityName(city)
  9086. GetZoneName(zone)
  9087. If (city == "" || city == "Unbekannt")
  9088. {
  9089. SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ".")
  9090. }
  9091. else
  9092. {
  9093. SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ", " city ".")
  9094. }
  9095. }
  9096. return
  9097. !NumpadAdd::
  9098. if(PoliceID != "X")
  9099. {
  9100. if(bkon == 1)
  9101. {
  9102. SendChat("/bk")
  9103. bkon := 0
  9104. }
  9105. }
  9106. else
  9107. {
  9108. SendChat("/hq Verstärkung wird NICHT mehr benötigt!")
  9109. if(bkon == 1)
  9110. {
  9111. SendChat("/bk")
  9112. bkon := 0
  9113. }
  9114. }
  9115. return
  9116. Pause::
  9117. suspend
  9118. if ( A_IsSuspended )
  9119. {
  9120. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast den Keybinder {FF0000}pausiert{FF0000}.")
  9121. SetTimer, _GtaCheck, off
  9122. }
  9123. if ( !A_IsSuspended )
  9124. {
  9125. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast den Keybinder {00FF00}aktiviert{00FF00}.")
  9126. SetTimer, _GtaCheck, 1000
  9127. }
  9128. return
  9129. F1::
  9130. SendChat("/tog")
  9131. Sleep, 200
  9132. SendInput {enter}
  9133. return
  9134. F3::
  9135. SendChat("/erstehilfe")
  9136. return
  9137. F4::
  9138. SendChat("/ausruesten " . Profil1_1 . " " . Profil1_2 . " " . Profil1_3 . " " . Profil1_4 . " " . Profil1_5 . " " . Profil1_6 . " " . Profil1_7 . "")
  9139. Sleep, 1000
  9140. SendChat("/heal")
  9141. return
  9142. F5::
  9143. SendChat("/ausruesten " . Profil2_1 . " " . Profil2_2 . " " . Profil2_3 . " " . Profil2_4 . " " . Profil2_5 . " " . Profil2_6 . " " . Profil2_7 . "")
  9144. Sleep, 1000
  9145. SendChat("/heal")
  9146. return
  9147. F6::
  9148. SendChat("/ausruesten " . Profil3_1 . " " . Profil3_2 . " " . Profil3_3 . " " . Profil3_4 . " " . Profil3_5 . " " . Profil3_6 . " " . Profil3_7 . "")
  9149. Sleep, 1000
  9150. If(Schutzweste == 1)
  9151. {
  9152. SendChat("/undercover " UCSkin "")
  9153. Sleep, 200
  9154. SendChat("/heal")
  9155. }
  9156. else
  9157. {
  9158. SendChat("/heal")
  9159. Sleep, 200
  9160. SendChat("/undercover " UCSkin "")
  9161. }
  9162. return
  9163. !F4::
  9164. SendChat("/ausruesten")
  9165. Sleep 1200
  9166. SendInput, {enter}{enter}
  9167. return
  9168. ^F4::
  9169. SendChat("/heal")
  9170. return
  9171. ~0::
  9172. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9173. {
  9174. SendInput, {A_ThisHotkey}
  9175. return
  9176. }
  9177. id := PlayerInput("Vehicle-ID: ")
  9178. SendChat("/carinfo " id)
  9179. return
  9180. :?:/stvo1::
  9181. Suspend Permit
  9182. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9183. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 2.000$, oder Ihnen wird 1 Strafpunkt eingetragen.")
  9184. return
  9185. :?:/stvo2::
  9186. Suspend Permit
  9187. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9188. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 4.000$, oder Ihnen werden 2 Strafpunkte eingetragen.")
  9189. return
  9190. :?:/stvo3::
  9191. Suspend Permit
  9192. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9193. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 6.000$, oder Ihnen werden 3 Strafpunkte eingetragen.")
  9194. return
  9195. :?:/stvo4::
  9196. Suspend Permit
  9197. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9198. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 8.000$, oder Ihnen werden 4 Strafpunkte eingetragen.")
  9199. return
  9200. :?:/stvo5::
  9201. Suspend Permit
  9202. SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
  9203. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihnen werden 5 Strafpunkte eingetragen.")
  9204. return
  9205. :?:/stvof::
  9206. Suspend Permit
  9207. SendChat("Guten Tag, Sie haben mit Ihrem Flugobjekt gegen die StVO verstoßen. Sie haben folgende Möglichkeiten:")
  9208. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihr Flugschein wird beschlagnahmt.")
  9209. return
  9210. :?:/stvow::
  9211. Suspend Permit
  9212. SendChat("Guten Tag, Sie wurden zum Waffenschein Take. Sie haben folgende Möglichkeiten:")
  9213. SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 14.000$, oder Ihr Waffenschein wird beschlagnahmt.")
  9214. return
  9215. :?:/rb::
  9216. Suspend Permit
  9217. SendChat("/roadblock create")
  9218. return
  9219. :?:/db::
  9220. Suspend Permit
  9221. SendChat("/roadblock delete")
  9222. return
  9223. :?:/dba::
  9224. Suspend Permit
  9225. SendChat("/roadblock deleteall")
  9226. return
  9227. :?:/user::
  9228. Suspend Permit
  9229. UserData := ""
  9230. UserName := PlayerInput("User-Name: ")
  9231. If(UserName!="")
  9232. {
  9233. }
  9234. 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%
  9235. UserData := URLDownloadToVar(UserUrl)
  9236. if(UserData == "Der Spieler existiert nicht.")
  9237. {
  9238. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Der Spieler existiert nicht.")
  9239. return
  9240. }
  9241. If(UserData!="Des Spielers Profil ist privat.")
  9242. {
  9243. RegExMatch(UserData, "level:(.+)\|j", UserLevel)
  9244. RegExMatch(UserData, ".+\|job:(.+)\|f", UserJob)
  9245. RegExMatch(UserData, ".+\|fraction:(.+)\|r", UserFraction)
  9246. RegExMatch(UserData, ".+\|rank:(.+)\|online", UserRank)
  9247. RegExMatch(UserData, ".+\|online:(.)\|play", UserOnline)
  9248. RegExMatch(UserData, ".+\|playtime:(.+)\|o", UserPlaytime)
  9249. RegExMatch(UserData, ".+\|org:(.+)\|n", UserOrg)
  9250. RegExMatch(UserData, ".+\|number:(.+)\|m", UserNumber)
  9251. RegExMatch(UserData, ".+\|money:(.+)\|b", UserMoney)
  9252. RegExMatch(UserData, ".+\|bank:(.+)\|dep", UserBank)
  9253. RegExMatch(UserData, ".+\|deposit:(.+)\|k", UserDeposit)
  9254. RegExMatch(UserData, ".+\|kills:(.+)\|d", UserKills)
  9255. RegExMatch(UserData, ".+\|deaths:(.+)\|p", UserDeaths)
  9256. RegExMatch(UserData, ".+\|premium:(.)", UserPremium)
  9257. Gesamt +=UserBank1
  9258. Gesamt += UserMoney1
  9259. Gesamt += UserDeposit1
  9260. KD := Userkills1 / UserDeaths1
  9261. KD := Round(KD, 3)
  9262. if(UserPremium1 == 1)
  9263. {
  9264. 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")
  9265. }
  9266. else if(UserPremium1 == 2)
  9267. {
  9268. 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")
  9269. }
  9270. else
  9271. {
  9272. 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")
  9273. }
  9274. }
  9275. {
  9276. }
  9277. return
  9278. :?:/RPMODE::
  9279. Suspend Permit
  9280. if(watermode == 0)
  9281. {
  9282. watermode := 1
  9283. swatmode := 0
  9284. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Wassermodus {33CC00}eingeschaltet")
  9285. }
  9286. else if(watermode == 1)
  9287. {
  9288. watermode := 0
  9289. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Wassermodus {33CC00}ausgeschaltet")
  9290. }
  9291. return
  9292. :?:/swat::
  9293. Suspend Permit
  9294. if ( A_IsSuspended )
  9295. {
  9296. SendChat("/swat")
  9297. }
  9298. else
  9299. {
  9300. if(IsPlayerInRangeOfPoint(225.6339,121.3084,999.0673,2.2) || IsPlayerInRangeOfPoint(255.3859,77.3740,1003.6406, 1.2))
  9301. {
  9302. if(swatmode == 0)
  9303. {
  9304. swatmode := 1
  9305. watermode := 0
  9306. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} S.W.A.T Modus {33CC00}eingeschaltet")
  9307. }
  9308. else
  9309. {
  9310. swatmode := 0
  9311. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} S.W.A.T Modus {FF0000}ausgeschaltet")
  9312. }
  9313. SendChat("/swat")
  9314. }
  9315. else
  9316. {
  9317. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du kannst den S.W.A.T Modus hier nicht (de-)aktivieren.")
  9318. }
  9319. }
  9320. return
  9321. !^0::
  9322. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9323. {
  9324. return
  9325. }
  9326. if(watermode == 1)
  9327. {
  9328. SendChat("/m >> Küstenwache, bitte folgen Sie dem Boot <<")
  9329. }
  9330. else if(swatmode == 1)
  9331. {
  9332. SendChat("/m >> SWAT, " . Swatabteilung . ": bitte folgen Sie dem Einsatzfahrzeug <<")
  9333. }
  9334. else
  9335. {
  9336. If(Abteilung = "" || Abteilung = "ERROR")
  9337. {
  9338. SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen <<")
  9339. }
  9340. else
  9341. {
  9342. SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen <<")
  9343. }
  9344. }
  9345. return
  9346. !^1::
  9347. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9348. {
  9349. return
  9350. }
  9351. if(watermode == 1)
  9352. {
  9353. SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an <<")
  9354. }
  9355. else if(swatmode == 1)
  9356. {
  9357. SendChat("/m >> SWAT, " . Swatabteilung . ": Straßenverkehrskontrolle. Fahren Sie SOFORT rechts ran <<")
  9358. }
  9359. else
  9360. {
  9361. If(Abteilung = "" || Abteilung = "ERROR")
  9362. {
  9363. SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
  9364. }
  9365. else
  9366. {
  9367. SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
  9368. }
  9369. }
  9370. return
  9371. !^2::
  9372. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9373. {
  9374. return
  9375. }
  9376. if(watermode == 1)
  9377. {
  9378. SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot! <<")
  9379. }
  9380. else if(swatmode == 1)
  9381. {
  9382. SendChat("/m >> SWAT, " . Swatabteilung . ": halten Sie SOFORT an! <<")
  9383. }
  9384. else
  9385. {
  9386. If(Abteilung = "" || Abteilung = "ERROR")
  9387. {
  9388. SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an! <<")
  9389. }
  9390. else
  9391. {
  9392. SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an! <<")
  9393. }
  9394. }
  9395. return
  9396. !^3::
  9397. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9398. {
  9399. return
  9400. }
  9401. SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen! <<")
  9402. return
  9403. !^4::
  9404. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9405. {
  9406. return
  9407. }
  9408. SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug! <<")
  9409. return
  9410. !^5::
  9411. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9412. {
  9413. return
  9414. }
  9415. if(watermode == 1)
  9416. {
  9417. SendChat("/m >> Küstenwache, fahren Sie SOFORT zur Seite! <<")
  9418. }
  9419. else if(swatmode == 1)
  9420. {
  9421. SendChat("/m >> SWAT, " . Swatabteilung . ": räumen Sie SOFORT die Straße! <<")
  9422. }
  9423. else
  9424. {
  9425. If(Abteilung = "" || Abteilung = "ERROR")
  9426. {
  9427. SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße! <<")
  9428. }
  9429. else
  9430. {
  9431. SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße! <<")
  9432. }
  9433. }
  9434. return
  9435. !^6::
  9436. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9437. {
  9438. return
  9439. }
  9440. if(swatmode == 1)
  9441. {
  9442. SendChat("/m >> SWAT, " . Swatabteilung . ": Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
  9443. }
  9444. else
  9445. {
  9446. SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
  9447. }
  9448. return
  9449. !^9::
  9450. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9451. {
  9452. return
  9453. }
  9454. SendChat("/m >> Verlassen Sie SOFORT dieses Gelände! <<")
  9455. return
  9456. ^0::
  9457. id := PlayerInput("Rote Ampel missachtet: ")
  9458. SendChat("/punkte " id " 2 Missachtung roter Ampeln")
  9459. return
  9460. ^1::
  9461. id := PlayerInput("SVG: ")
  9462. SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
  9463. return
  9464. ^2::
  9465. id := PlayerInput("Falsche Seite: ")
  9466. SendChat("/punkte " id " 2 Fahren auf der falschen Straßenseite")
  9467. return
  9468. ^3::
  9469. id := PlayerInput("Zu schnell: ")
  9470. SendChat("/punkte " id " 2 Überschreitung der Höchstgeschwindigkeit")
  9471. return
  9472. ^4::
  9473. id := PlayerInput("Vorfahrt: ")
  9474. SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
  9475. return
  9476. ^5::
  9477. id := PlayerInput("Abseits: ")
  9478. SendChat("/punkte " id " 2 Fahren abseits der Straße")
  9479. return
  9480. ^6::
  9481. id := PlayerInput("Ohne Licht: ")
  9482. SendChat("/punkte " id " 1 Fahren ohne Licht")
  9483. return
  9484. ^7::
  9485. GetZoneName(MyZone)
  9486. id := PlayerInput("Parkverbot: ")
  9487. SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
  9488. return
  9489. ^8::
  9490. id := PlayerInput("SVB: ")
  9491. SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
  9492. return
  9493. ^9::
  9494. id := PlayerInput("Alkoholeinfluss: ")
  9495. SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
  9496. return
  9497. !^7::
  9498. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  9499. {
  9500. return
  9501. }
  9502. Suspend On
  9503. SendInput, t/cuff{Space}
  9504. Input, SID, V I M,{Enter}
  9505. Send {Enter}
  9506. SendInput t/frisk %SID%{Enter}
  9507. Suspend Off
  9508. if(arrest1 == -1)
  9509. {
  9510. arrest1 := SID
  9511. return
  9512. }
  9513. else if(arrest2 == -1)
  9514. {
  9515. arrest2 := SID
  9516. return
  9517. }
  9518. else if(arrest3 == -1)
  9519. {
  9520. arrest3 := SID
  9521. return
  9522. }
  9523. else if(arrest4 == -1)
  9524. {
  9525. arrest4 := SID
  9526. return
  9527. }
  9528. else if(arrest5 == -1)
  9529. {
  9530. arrest5 := SID
  9531. return
  9532. }
  9533. else
  9534. {
  9535. AddChatMessage(0x4B45F, "|AddChatMessage(0x4B45F, |Staatsgewalt|{FFFFFF} Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F9 zum Resetten)")
  9536. return
  9537. }
  9538. :?:/tasks::
  9539. Suspend Permit
  9540. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9541. url = http://ni31914_3.vweb16.nitrado.net/keybinder/tasks/pdapi.php?action=get
  9542. tasks := UrlDownloadToVar(url)
  9543. if(tasks == "ERROR_BAD_LINK")
  9544. {
  9545. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fehlerhafte Parameter angegeben.")
  9546. }
  9547. else if(tasks == "ERROR_ACCESS_DENIED")
  9548. {
  9549. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Zugriff verweigert, das Passwort ist {FF0000}falsch!")
  9550. }
  9551. else
  9552. {
  9553. AnzahlTasks := 0
  9554. Loop, Parse, tasks, '
  9555. {
  9556. AnzahlTasks++
  9557. }
  9558. AnzahlSeiten := Ceil(AnzahlTasks / 10)
  9559. TaskID := 0
  9560. Seite := 0
  9561. ausstehendeAufgaben := "{FFBB00}ID Zeitpunkt {FF4040}Betreffende Person {00F0CC}Aufgabe {99CC00}Auftraggeber`n"
  9562. Loop, Parse, tasks, '
  9563. {
  9564. aufgabe := ""
  9565. aufgabe_ := ""
  9566. RegExMatch(A_LoopField, "(.*)~(.*)~(.*)~(.*)~(.*)", aufgabe_)
  9567. id := GetPlayerIDByName(aufgabe_3)
  9568. if(id != -1 && id != 65535)
  9569. {
  9570. ausstehendeAufgaben .= "`n{FFBB00}" aufgabe_1 "{FFFFFF} - {FFBB00}" aufgabe_2 "{FFFFFF} - {33CC00}" aufgabe_3 "{FFFFFF} - {00F0CC}" aufgabe_4 "{FFFFFF} - {99CC00}" aufgabe_5 "{FFFFFF}"
  9571. }
  9572. else
  9573. {
  9574. ausstehendeAufgaben .= "`n{FFBB00}" aufgabe_1 "{FFFFFF} - {FFBB00}" aufgabe_2 "{FFFFFF} - {FF4040}" aufgabe_3 "{FFFFFF} - {00F0CC}" aufgabe_4 "{FFFFFF} - {99CC00}" aufgabe_5 "{FFFFFF}"
  9575. }
  9576. TaskID++
  9577. if(TaskID == 10)
  9578. {
  9579. ShowDialog(0, "Ausstehende Aufgaben", ausstehendeAufgaben, "Weiter >>")
  9580. ausstehendeAufgaben := "{FFBB00}ID Zeitpunkt {FF4040}Betreffende Person {00F0CC}Aufgabe {99CC00}Auftraggeber`n"
  9581. TaskID := 0
  9582. Seite++
  9583. Sleep, 500
  9584. Loop
  9585. {
  9586. if(IsChatOpen() || IsDialogOpen())
  9587. continue
  9588. else
  9589. break
  9590. }
  9591. }
  9592. }
  9593. ShowDialog(0, "Ausstehende Aufgaben", ausstehendeAufgaben, "Ok")
  9594. }
  9595. return
  9596. :?:/addtask::
  9597. Suspend Permit
  9598. betreffendePerson := PlayerInput("Betreffende Person: ")
  9599. if(betreffendePerson == "" || betreffendePerson == " ")
  9600. {
  9601. return
  9602. }
  9603. Aufgabe := PlayerInput("Aufgabe: ")
  9604. if(Aufgabe == "" || Aufgabe == " ")
  9605. {
  9606. return
  9607. }
  9608. GetPlayerName(auftraggeber)
  9609. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9610. url = http://ni31914_3.vweb16.nitrado.net/keybinder/tasks/pdapi.php?action=add&task=%Aufgabe%&person=%betreffendePerson%&auftraggeber=%auftraggeber%&password=%Passwort%
  9611. success := UrlDownloadToVar(url)
  9612. if(success == "QUERY_SUCCESSFUL_EXECUTED")
  9613. {
  9614. SendChat("/hq ~ Neue Aufgabe ist verfügbar: Betreffende Person: " betreffendePerson ", Aufgabe: " Aufgabe " ~")
  9615. }
  9616. else if(success == "ERROR_BAD_LINK")
  9617. {
  9618. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fehlerhafte Parameter angegeben.")
  9619. }
  9620. else if(success == "ERROR_BAD_QUERY")
  9621. {
  9622. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Die Query konnte nicht an den MySQL Server gesendet werden.")
  9623. }
  9624. else if(success == "ERROR_ACCESS_DENIED")
  9625. {
  9626. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Zugriff verweigert, das Passwort ist falsch.")
  9627. }
  9628. else
  9629. {
  9630. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Unbekannter Fehler.")
  9631. }
  9632. return
  9633. :?:/deletetask::
  9634. Suspend Permit
  9635. AufgabenID := PlayerInput("ID der Aufgabe: ")
  9636. if(AufgabenID == "" || AufgabenID == " ")
  9637. {
  9638. return
  9639. }
  9640. IniRead, Passwort, settings.ini, Sonstiges, Passwort
  9641. url = http://www.rpg-ausbildung.de/keybinder/tasks/pdapi.php?action=delete&id=%AufgabenID%&password=%Passwort%
  9642. success := UrlDownloadToVar(url)
  9643. if(success == "QUERY_SUCCESSFUL_EXECUTED")
  9644. {
  9645. SendChat("/hq ~ Aufgabe " AufgabenID " wurde bearbeitet, der Eintrag wurde gelöscht ~")
  9646. }
  9647. else if(success == "ERROR_BAD_LINK")
  9648. {
  9649. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Fehlerhafte Parameter angegeben.")
  9650. }
  9651. else if(success == "ERROR_BAD_QUERY")
  9652. {
  9653. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Die Query konnte nicht an den MySQL Server gesendet werden.")
  9654. }
  9655. else if(success == "ERROR_ACCESS_DENIED")
  9656. {
  9657. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Zugriff verweigert, das Passwort ist falsch.")
  9658. }
  9659. else
  9660. {
  9661. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Unbekannter Fehler.")
  9662. }
  9663. return
  9664. :?:/hm::
  9665. Suspend Permit
  9666. hitmen := ""
  9667. hmcounter := 0
  9668. url = http://www.rpg-ausbildung.de/keybinder/Hitmen/getalldata.php
  9669. hm := UrlDownloadToVar(url)
  9670. Loop, Parse, hm, '
  9671. {
  9672. id := GetPlayerIdByName(A_LoopField)
  9673. if(id != -1 && id != 65535)
  9674. {
  9675. hitmen .= "`n{66CC00}" A_LoopField
  9676. hmcounter ++
  9677. }
  9678. else
  9679. {
  9680. hitmen .= "`n{FF0000}" A_LoopField
  9681. }
  9682. }
  9683. hitmen .= "`n`n{FFFFFF}::.Legende.::`n{66CC00}Grün: Online`n{FF0000}Rot: Offline"
  9684. title := "Hitmen online (" hmcounter ")"
  9685. ShowDialog(0,title,hitmen,"OK")
  9686. return
  9687. :?:/auto::
  9688. Suspend Permit
  9689. Fahrzeug := PlayerInput("Model-ID oder Fahrzeugname: ")
  9690. Sleep, 100
  9691. car_id := ""
  9692. car_name := ""
  9693. car_preis := ""
  9694. car_autohaus := ""
  9695. car_kaution := ""
  9696. car_tank := ""
  9697. car_verbrauch := ""
  9698. car_geschwindigkeit := ""
  9699. car_level := ""
  9700. car_tuningwerkstatt := ""
  9701. if(Fahrzeug == 571 || Fahrzeug = "Kart")
  9702. {
  9703. car_id := 571
  9704. car_name := "Kart"
  9705. car_preis := "/"
  9706. car_autohaus := "/"
  9707. car_kaution := "12.000$"
  9708. car_tank := "12 Liter"
  9709. car_verbrauch := "4.5"
  9710. car_geschwindigkeit := "72 km/h"
  9711. car_level := "1"
  9712. car_tuningwerkstatt := "Zweiradtuning"
  9713. }
  9714. else if(Fahrzeug == 487 || Fahrzeug = "Maverick")
  9715. {
  9716. car_id := 487
  9717. car_name := "Maverick"
  9718. car_preis := "750.000$"
  9719. car_autohaus := "Airport LS"
  9720. car_kaution := "/"
  9721. car_tank := "120 Liter"
  9722. car_verbrauch := "35.0"
  9723. car_geschwindigkeit := "135 km/h"
  9724. car_level := "12"
  9725. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9726. }
  9727. else if(Fahrzeug == 593 || Fahrzeug = "Dodo")
  9728. {
  9729. car_id := 593
  9730. car_name := "Dodo"
  9731. car_preis := "150.000$"
  9732. car_autohaus := "Airport LS"
  9733. car_kaution := "/"
  9734. car_tank := "80 Liter"
  9735. car_verbrauch := "24.8"
  9736. car_geschwindigkeit := "120 km/h"
  9737. car_level := "6"
  9738. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9739. }
  9740. else if(Fahrzeug == 519 || Fahrzeug = "Shamal")
  9741. {
  9742. car_id := 519
  9743. car_name := "Shamal"
  9744. car_preis := "3.000.000$"
  9745. car_autohaus := "Airport LS"
  9746. car_kaution := "/"
  9747. car_tank := "3000 Liter"
  9748. car_verbrauch := "450.0"
  9749. car_geschwindigkeit := "210 km/h"
  9750. car_level := "12"
  9751. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9752. }
  9753. else if(Fahrzeug == 461 || Fahrzeug = "PCJ-600" || Fahrzeug = "PCJ600" || Fahrzeug = "PCJ")
  9754. {
  9755. car_id := 461
  9756. car_name := "PCJ-600"
  9757. car_preis := "12.000$"
  9758. car_autohaus := "Coutt and Schutz"
  9759. car_kaution := "/"
  9760. car_tank := "30 Liter"
  9761. car_verbrauch := "11.6"
  9762. car_geschwindigkeit := "125 km/h"
  9763. car_level := "1"
  9764. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9765. }
  9766. else if(Fahrzeug == 462 || Fahrzeug = "Faggio")
  9767. {
  9768. car_id := 462
  9769. car_name := "Faggio"
  9770. car_preis := "3.000$"
  9771. car_autohaus := "Coutt and Schutz"
  9772. car_kaution := "/"
  9773. car_tank := "15 Liter"
  9774. car_verbrauch := "7.5"
  9775. car_geschwindigkeit := "86 km/h"
  9776. car_level := "1"
  9777. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9778. }
  9779. else if(Fahrzeug == 463 || Fahrzeug = "Freeway")
  9780. {
  9781. car_id := 463
  9782. car_name := "Freeway"
  9783. car_preis := "22.000$"
  9784. car_autohaus := "Coutt and Schutz"
  9785. car_kaution := "/"
  9786. car_tank := "30 Liter"
  9787. car_verbrauch := "11.3"
  9788. car_geschwindigkeit := "111 km/h"
  9789. car_level := "1"
  9790. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9791. }
  9792. else if(Fahrzeug == 468 || Fahrzeug = "Sanchez")
  9793. {
  9794. car_id := 468
  9795. car_name := "Sanchez"
  9796. car_preis := "16.000$"
  9797. car_autohaus := "Coutt and Schutz"
  9798. car_kaution := "/"
  9799. car_tank := "30 Liter"
  9800. car_verbrauch := "10.8"
  9801. car_geschwindigkeit := "111 km/h"
  9802. car_level := "1"
  9803. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9804. }
  9805. else if(Fahrzeug == 586 || Fahrzeug = "Wayfarer")
  9806. {
  9807. car_id := 586
  9808. car_name := "Wayfarer"
  9809. car_preis := "10.000$"
  9810. car_autohaus := "Coutt and Schutz"
  9811. car_kaution := "/"
  9812. car_tank := "30 Liter"
  9813. car_verbrauch := "9.8"
  9814. car_geschwindigkeit := "111 km/h"
  9815. car_level := "1"
  9816. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9817. }
  9818. else if(Fahrzeug == 581 || Fahrzeug = "BF-400" || Fahrzeug = "BF" || Fahrzeug = "BF 400" || Fahrzeug = "BF400")
  9819. {
  9820. car_id := 581
  9821. car_name := "BF-400"
  9822. car_preis := "14.000$"
  9823. car_autohaus := "Coutt and Schutz"
  9824. car_kaution := "/"
  9825. car_tank := "30 Liter"
  9826. car_verbrauch := "10.0"
  9827. car_geschwindigkeit := "117 km/h"
  9828. car_level := "1"
  9829. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9830. }
  9831. else if(Fahrzeug == 522 || Fahrzeug = "NRG-500" || Fahrzeug = "NRG" || Fahrzeug = "NRG 500" || Fahrzeug = "NRG500")
  9832. {
  9833. car_id := 522
  9834. car_name := "NRG-500"
  9835. car_preis := "50.000$"
  9836. car_autohaus := "Coutt and Schutz"
  9837. car_kaution := "/"
  9838. car_tank := "30 Liter"
  9839. car_verbrauch := "21.1"
  9840. car_geschwindigkeit := "136 km/h"
  9841. car_level := "1"
  9842. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9843. }
  9844. else if(Fahrzeug == 481 || Fahrzeug = "BMX")
  9845. {
  9846. car_id := 481
  9847. car_name := "BMX"
  9848. car_preis := "1.000$"
  9849. car_autohaus := "Coutt and Schutz"
  9850. car_kaution := "/"
  9851. car_tank := "3 Liter"
  9852. car_verbrauch := "0.0"
  9853. car_geschwindigkeit := "74 km/h"
  9854. car_level := "1"
  9855. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9856. }
  9857. else if(Fahrzeug == 521 || Fahrzeug = "FCR-900" || Fahrzeug = "FCR" || Fahrzeug = "FCR900" || Fahrzeug = "FCR 900")
  9858. {
  9859. car_id := 521
  9860. car_name := "FCR-900"
  9861. car_preis := "14.000$"
  9862. car_autohaus := "Coutt and Schutz"
  9863. car_kaution := "/"
  9864. car_tank := "30 Liter"
  9865. car_verbrauch := "14.1"
  9866. car_geschwindigkeit := "125 km/h"
  9867. car_level := "1"
  9868. car_tuningwerkstatt := "Fahrzeuglackiererei"
  9869. }
  9870. else if(Fahrzeug == 506 || Fahrzeug = "Super GT" || Fahrzeug = "SuperGT")
  9871. {
  9872. car_id := 506
  9873. car_name := "Super GT"
  9874. car_preis := "250.000$"
  9875. car_autohaus := "Grottis"
  9876. car_kaution := "7.0000$"
  9877. car_tank := "40 Liter"
  9878. car_verbrauch := "17.8"
  9879. car_geschwindigkeit := "139 km/h"
  9880. car_level := "1"
  9881. car_tuningwerkstatt := "Transfender"
  9882. }
  9883. else if(Fahrzeug == 560 || Fahrzeug = "Sultan")
  9884. {
  9885. car_id := 560
  9886. car_name := "Sultan"
  9887. car_preis := "85.000$"
  9888. car_autohaus := "Grottis"
  9889. car_kaution := "5.0000$"
  9890. car_tank := "50 Liter"
  9891. car_verbrauch := "16.7"
  9892. car_geschwindigkeit := "131 km/h"
  9893. car_level := "1"
  9894. car_tuningwerkstatt := "Wheel Arch Angels"
  9895. }
  9896. else if(Fahrzeug == 559 || Fahrzeug = "Jester")
  9897. {
  9898. car_id := 559
  9899. car_name := "Jester"
  9900. car_preis := "200.000$"
  9901. car_autohaus := "Grottis"
  9902. car_kaution := "6.0000$"
  9903. car_tank := "40 Liter"
  9904. car_verbrauch := "17.1"
  9905. car_geschwindigkeit := "138 km/h"
  9906. car_level := "1"
  9907. car_tuningwerkstatt := "Wheel Arch Angels"
  9908. }
  9909. else if(Fahrzeug == 541 || Fahrzeug = "Bullet")
  9910. {
  9911. car_id := 541
  9912. car_name := "Bullet"
  9913. car_preis := "225.000$"
  9914. car_autohaus := "Grottis"
  9915. car_kaution := "7.0000$"
  9916. car_tank := "40 Liter"
  9917. car_verbrauch := "18.2"
  9918. car_geschwindigkeit := "157 km/h"
  9919. car_level := "1"
  9920. car_tuningwerkstatt := "Transfender"
  9921. }
  9922. else if(Fahrzeug == 451 || Fahrzeug = "Turismo")
  9923. {
  9924. car_id := 451
  9925. car_name := "Turismo"
  9926. car_preis := "325.000$"
  9927. car_autohaus := "Grottis"
  9928. car_kaution := "7.0000$"
  9929. car_tank := "40 Liter"
  9930. car_verbrauch := "21.1"
  9931. car_geschwindigkeit := "150 km/h"
  9932. car_level := "1"
  9933. car_tuningwerkstatt := "Transfender"
  9934. }
  9935. else if(Fahrzeug == 415 || Fahrzeug = "Cheetah")
  9936. {
  9937. car_id := 415
  9938. car_name := "Cheetah"
  9939. car_preis := "250.000$"
  9940. car_autohaus := "Grottis"
  9941. car_kaution := "7.0000$"
  9942. car_tank := "40 Liter"
  9943. car_verbrauch := "17.6"
  9944. car_geschwindigkeit := "149 km/h"
  9945. car_level := "1"
  9946. car_tuningwerkstatt := "Transfender"
  9947. }
  9948. else if(Fahrzeug == 411 || Fahrzeug = "Infernus")
  9949. {
  9950. car_id := 411
  9951. car_name := "Infernus"
  9952. car_preis := "350.000$"
  9953. car_autohaus := "Grottis"
  9954. car_kaution := "7.0000$"
  9955. car_tank := "40 Liter"
  9956. car_verbrauch := "24.2"
  9957. car_geschwindigkeit := "172 km/h"
  9958. car_level := "1"
  9959. car_tuningwerkstatt := "Transfender"
  9960. }
  9961. else if(Fahrzeug == 402 || Fahrzeug = "Buffalo")
  9962. {
  9963. car_id := 402
  9964. car_name := "Buffalo"
  9965. car_preis := "225.000$"
  9966. car_autohaus := "Grottis"
  9967. car_kaution := "7.0000$"
  9968. car_tank := "40 Liter"
  9969. car_verbrauch := "13.3"
  9970. car_geschwindigkeit := "144 km/h"
  9971. car_level := "1"
  9972. car_tuningwerkstatt := "Transfender"
  9973. }
  9974. else if(Fahrzeug == 429 || Fahrzeug = "Banshee")
  9975. {
  9976. car_id := 429
  9977. car_name := "Banshee"
  9978. car_preis := "200.000$"
  9979. car_autohaus := "Grottis"
  9980. car_kaution := "6.0000$"
  9981. car_tank := "40 Liter"
  9982. car_verbrauch := "19.2"
  9983. car_geschwindigkeit := "156 km/h"
  9984. car_level := "1"
  9985. car_tuningwerkstatt := "Transfender"
  9986. }
  9987. else if(Fahrzeug == 602 || Fahrzeug = "Alpha")
  9988. {
  9989. car_id := 602
  9990. car_name := "Alpha"
  9991. car_preis := "250.000$"
  9992. car_autohaus := "Grottis"
  9993. car_kaution := "7.0000$"
  9994. car_tank := "40 Liter"
  9995. car_verbrauch := "17.2"
  9996. car_geschwindigkeit := "131 km/h"
  9997. car_level := "1"
  9998. car_tuningwerkstatt := "Transfender"
  9999. }
  10000. else if(Fahrzeug == 576 || Fahrzeug = "Tornado")
  10001. {
  10002. car_id := 576
  10003. car_name := "Tornado"
  10004. car_preis := "12.000$"
  10005. car_autohaus := "Intercars"
  10006. car_kaution := "4.0000$"
  10007. car_tank := "40 Liter"
  10008. car_verbrauch := "12.1"
  10009. car_geschwindigkeit := "122 km/h"
  10010. car_level := "1"
  10011. car_tuningwerkstatt := "Loco Low Co."
  10012. }
  10013. else if(Fahrzeug == 575 || Fahrzeug = "Broadway")
  10014. {
  10015. car_id := 575
  10016. car_name := "Broadway"
  10017. car_preis := "8.000$"
  10018. car_autohaus := "Intercars"
  10019. car_kaution := "4.0000$"
  10020. car_tank := "40 Liter"
  10021. car_verbrauch := "11.8"
  10022. car_geschwindigkeit := "122 km/h"
  10023. car_level := "1"
  10024. car_tuningwerkstatt := "Loco Low Co."
  10025. }
  10026. else if(Fahrzeug == 567 || Fahrzeug = "Savanna")
  10027. {
  10028. car_id := 567
  10029. car_name := "Savanna"
  10030. car_preis := "16.000$"
  10031. car_autohaus := "Intercars"
  10032. car_kaution := "4.0000$"
  10033. car_tank := "40 Liter"
  10034. car_verbrauch := "12.1"
  10035. car_geschwindigkeit := "134 km/h"
  10036. car_level := "1"
  10037. car_tuningwerkstatt := "Loco Low Co."
  10038. }
  10039. else if(Fahrzeug == 536 || Fahrzeug = "Blade")
  10040. {
  10041. car_id := 536
  10042. car_name := "Blade"
  10043. car_preis := "16.000$"
  10044. car_autohaus := "Intercars"
  10045. car_kaution := "4.0000$"
  10046. car_tank := "40 Liter"
  10047. car_verbrauch := "11.1"
  10048. car_geschwindigkeit := "134 km/h"
  10049. car_level := "1"
  10050. car_tuningwerkstatt := "Loco Low Co."
  10051. }
  10052. else if(Fahrzeug == 535 || Fahrzeug = "Slamvan")
  10053. {
  10054. car_id := 535
  10055. car_name := "Slamvan"
  10056. car_preis := "18.000$"
  10057. car_autohaus := "Intercars"
  10058. car_kaution := "4.0000$"
  10059. car_tank := "40 Liter"
  10060. car_verbrauch := "13.1"
  10061. car_geschwindigkeit := "122 km/h"
  10062. car_level := "1"
  10063. car_tuningwerkstatt := "Loco Low Co."
  10064. }
  10065. else if(Fahrzeug == 534 || Fahrzeug = "Remington")
  10066. {
  10067. car_id := 534
  10068. car_name := "Remington"
  10069. car_preis := "16.000$"
  10070. car_autohaus := "Intercars"
  10071. car_kaution := "4.0000$"
  10072. car_tank := "40 Liter"
  10073. car_verbrauch := "12.1"
  10074. car_geschwindigkeit := "131 km/h"
  10075. car_level := "1"
  10076. car_tuningwerkstatt := "Loco Low Co."
  10077. }
  10078. else if(Fahrzeug == 518 || Fahrzeug = "Buccaneer")
  10079. {
  10080. car_id := 518
  10081. car_name := "Buccaneer"
  10082. car_preis := "14.000$"
  10083. car_autohaus := "Intercars"
  10084. car_kaution := "4.0000$"
  10085. car_tank := "40 Liter"
  10086. car_verbrauch := "13.1"
  10087. car_geschwindigkeit := "127 km/h"
  10088. car_level := "1"
  10089. car_tuningwerkstatt := "Transfender"
  10090. }
  10091. else if(Fahrzeug == 419 || Fahrzeug = "Esperanto")
  10092. {
  10093. car_id := 419
  10094. car_name := "Esperanto"
  10095. car_preis := "16.000$"
  10096. car_autohaus := "Intercars"
  10097. car_kaution := "4.0000$"
  10098. car_tank := "40 Liter"
  10099. car_verbrauch := "12.1"
  10100. car_geschwindigkeit := "115 km/h"
  10101. car_level := "1"
  10102. car_tuningwerkstatt := "Transfender"
  10103. }
  10104. else if(Fahrzeug == 412 || Fahrzeug = "Voodoo")
  10105. {
  10106. car_id := 412
  10107. car_name := "Voodoo"
  10108. car_preis := "10.000$"
  10109. car_autohaus := "Intercars"
  10110. car_kaution := "4.0000$"
  10111. car_tank := "40 Liter"
  10112. car_verbrauch := "14.1"
  10113. car_geschwindigkeit := "131 km/h"
  10114. car_level := "1"
  10115. car_tuningwerkstatt := "Loco Low Co."
  10116. }
  10117. else if(Fahrzeug == 545 || Fahrzeug = "Hustler")
  10118. {
  10119. car_id := 545
  10120. car_name := "Hustler"
  10121. car_preis := "12.000$"
  10122. car_autohaus := "Intercars"
  10123. car_kaution := "4.0000$"
  10124. car_tank := "40 Liter"
  10125. car_verbrauch := "13.1"
  10126. car_geschwindigkeit := "114 km/h"
  10127. car_level := "1"
  10128. car_tuningwerkstatt := "Transfender"
  10129. }
  10130. else if(Fahrzeug == 496 || Fahrzeug = "Blista Compact" || Fahrzeug = "Blista")
  10131. {
  10132. car_id := 496
  10133. car_name := "Blista Compact"
  10134. car_preis := "4.000$"
  10135. car_autohaus := "Intercars"
  10136. car_kaution := "3.0000$"
  10137. car_tank := "40 Liter"
  10138. car_verbrauch := "10.8"
  10139. car_geschwindigkeit := "126 km/h"
  10140. car_level := "1"
  10141. car_tuningwerkstatt := "Transfender"
  10142. }
  10143. else if(Fahrzeug == 480 || Fahrzeug = "Comet")
  10144. {
  10145. car_id := 400
  10146. car_name := "Comet"
  10147. car_preis := "16.000$"
  10148. car_autohaus := "Intercars"
  10149. car_kaution := "4.0000$"
  10150. car_tank := "40 Liter"
  10151. car_verbrauch := "18.2"
  10152. car_geschwindigkeit := "143 km/h"
  10153. car_level := "1"
  10154. car_tuningwerkstatt := "Transfender"
  10155. }
  10156. else if(Fahrzeug == 562 || Fahrzeug = "Elegy")
  10157. {
  10158. car_id := 562
  10159. car_name := "Elegy"
  10160. car_preis := "16.000$"
  10161. car_autohaus := "Intercars"
  10162. car_kaution := "4.0000$"
  10163. car_tank := "40 Liter"
  10164. car_verbrauch := "18.2"
  10165. car_geschwindigkeit := "143 km/h"
  10166. car_level := "1"
  10167. car_tuningwerkstatt := "Transfender"
  10168. }
  10169. else if(Fahrzeug == 579 || Fahrzeug = "Huntley")
  10170. {
  10171. car_id := 579
  10172. car_name := "Huntley"
  10173. car_preis := "24.000$"
  10174. car_autohaus := "Intercars"
  10175. car_kaution := "4.0000$"
  10176. car_tank := "50 Liter"
  10177. car_verbrauch := "16.2"
  10178. car_geschwindigkeit := "122 km/h"
  10179. car_level := "1"
  10180. car_tuningwerkstatt := "Transfender"
  10181. }
  10182. else if(Fahrzeug == 500 || Fahrzeug = "Mesa")
  10183. {
  10184. car_id := 500
  10185. car_name := "Mesa"
  10186. car_preis := "28.000$"
  10187. car_autohaus := "Intercars"
  10188. car_kaution := "4.0000$"
  10189. car_tank := "40 Liter"
  10190. car_verbrauch := "11.5"
  10191. car_geschwindigkeit := "109 km/h"
  10192. car_level := "1"
  10193. car_tuningwerkstatt := "Transfender"
  10194. }
  10195. else if(Fahrzeug == 418 || Fahrzeug = "Moonbeam")
  10196. {
  10197. car_id := 418
  10198. car_name := "Moonbeam"
  10199. car_preis := "20.000$"
  10200. car_autohaus := "Intercars"
  10201. car_kaution := "4.0000$"
  10202. car_tank := "50 Liter"
  10203. car_verbrauch := "15.6"
  10204. car_geschwindigkeit := "89 km/h"
  10205. car_level := "1"
  10206. car_tuningwerkstatt := "Transfender"
  10207. }
  10208. else if(Fahrzeug == 549 || Fahrzeug = "Tampa")
  10209. {
  10210. car_id := 549
  10211. car_name := "Tampa"
  10212. car_preis := "4.600$"
  10213. car_autohaus := "Intercars"
  10214. car_kaution := "3.0000$"
  10215. car_tank := "40 Liter"
  10216. car_verbrauch := "13.1"
  10217. car_geschwindigkeit := "119 km/h"
  10218. car_level := "1"
  10219. car_tuningwerkstatt := "Transfender"
  10220. }
  10221. else if(Fahrzeug == 422 || Fahrzeug = "Bobcat")
  10222. {
  10223. car_id := 422
  10224. car_name := "Bobcat"
  10225. car_preis := "18.000$"
  10226. car_autohaus := "Intercars"
  10227. car_kaution := "4.0000$"
  10228. car_tank := "45 Liter"
  10229. car_verbrauch := "14.8"
  10230. car_geschwindigkeit := "108 km/h"
  10231. car_level := "1"
  10232. car_tuningwerkstatt := "Transfender"
  10233. }
  10234. else if(Fahrzeug == 482 || Fahrzeug = "Burrito")
  10235. {
  10236. car_id := 482
  10237. car_name := "Burrito"
  10238. car_preis := "16.000$"
  10239. car_autohaus := "Intercars"
  10240. car_kaution := "4.0000$"
  10241. car_tank := "40 Liter"
  10242. car_verbrauch := "17.2"
  10243. car_geschwindigkeit := "121 km/h"
  10244. car_level := "1"
  10245. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10246. }
  10247. else if(Fahrzeug == 516 || Fahrzeug = "Nebula")
  10248. {
  10249. car_id := 516
  10250. car_name := "Nebula"
  10251. car_preis := "12.000$"
  10252. car_autohaus := "Intercars"
  10253. car_kaution := "4.0000$"
  10254. car_tank := "40 Liter"
  10255. car_verbrauch := "11.8"
  10256. car_geschwindigkeit := "122 km/h"
  10257. car_level := "1"
  10258. car_tuningwerkstatt := "Transfender"
  10259. }
  10260. else if(Fahrzeug == 603 || Fahrzeug = "Phoenix")
  10261. {
  10262. car_id := 603
  10263. car_name := "Phoenix"
  10264. car_preis := "28.000$"
  10265. car_autohaus := "Intercars"
  10266. car_kaution := "4.0000$"
  10267. car_tank := "40 Liter"
  10268. car_verbrauch := "14.1"
  10269. car_geschwindigkeit := "133 km/h"
  10270. car_level := "1"
  10271. car_tuningwerkstatt := "Transfender"
  10272. }
  10273. else if(Fahrzeug == 401 || Fahrzeug = "Bravura")
  10274. {
  10275. car_id := 401
  10276. car_name := "Bravura"
  10277. car_preis := "7.000$"
  10278. car_autohaus := "Ottos"
  10279. car_kaution := "4.0000$"
  10280. car_tank := "40 Liter"
  10281. car_verbrauch := "11.8"
  10282. car_geschwindigkeit := "114 km/h"
  10283. car_level := "1"
  10284. car_tuningwerkstatt := "Transfender"
  10285. }
  10286. else if(Fahrzeug == 467 || Fahrzeug = "Oceanic")
  10287. {
  10288. car_id := 467
  10289. car_name := "Oceanic"
  10290. car_preis := "16.000$"
  10291. car_autohaus := "Ottos"
  10292. car_kaution := "4.0000$"
  10293. car_tank := "40 Liter"
  10294. car_verbrauch := "12.1"
  10295. car_geschwindigkeit := "109 km/h"
  10296. car_level := "1"
  10297. car_tuningwerkstatt := "Transfender"
  10298. }
  10299. else if(Fahrzeug == 426 || Fahrzeug = "Premier")
  10300. {
  10301. car_id := 426
  10302. car_name := "Premier"
  10303. car_preis := "20.000$"
  10304. car_autohaus := "Ottos"
  10305. car_kaution := "4.0000$"
  10306. car_tank := "40 Liter"
  10307. car_verbrauch := "12.3"
  10308. car_geschwindigkeit := "134 km/h"
  10309. car_level := "1"
  10310. car_tuningwerkstatt := "Transfender"
  10311. }
  10312. else if(Fahrzeug == 405 || Fahrzeug = "Sentinel")
  10313. {
  10314. car_id := 405
  10315. car_name := "Sentinel"
  10316. car_preis := "14.900$"
  10317. car_autohaus := "Ottos"
  10318. car_kaution := "4.0000$"
  10319. car_tank := "40 Liter"
  10320. car_verbrauch := "11.3"
  10321. car_geschwindigkeit := "127 km/h"
  10322. car_level := "1"
  10323. car_tuningwerkstatt := "Transfender"
  10324. }
  10325. else if(Fahrzeug == 445 || Fahrzeug = "Admiral")
  10326. {
  10327. car_id := 445
  10328. car_name := "Admiral"
  10329. car_preis := "12.000$"
  10330. car_autohaus := "Ottos"
  10331. car_kaution := "4.0000$"
  10332. car_tank := "40 Liter"
  10333. car_verbrauch := "12.1"
  10334. car_geschwindigkeit := "127 km/h"
  10335. car_level := "1"
  10336. car_tuningwerkstatt := "Transfender"
  10337. }
  10338. else if(Fahrzeug == 507 || Fahrzeug = "Elegant")
  10339. {
  10340. car_id := 507
  10341. car_name := "Elegant"
  10342. car_preis := "20.000$"
  10343. car_autohaus := "Ottos"
  10344. car_kaution := "4.0000$"
  10345. car_tank := "40 Liter"
  10346. car_verbrauch := "11.3"
  10347. car_geschwindigkeit := "128 km/h"
  10348. car_level := "1"
  10349. car_tuningwerkstatt := "Transfender"
  10350. }
  10351. else if(Fahrzeug == 475 || Fahrzeug = "Sabre")
  10352. {
  10353. car_id := 475
  10354. car_name := "Sabre"
  10355. car_preis := "22.000$"
  10356. car_autohaus := "Ottos"
  10357. car_kaution := "4.0000$"
  10358. car_tank := "40 Liter"
  10359. car_verbrauch := "11.3"
  10360. car_geschwindigkeit := "134 km/h"
  10361. car_level := "1"
  10362. car_tuningwerkstatt := "Transfender"
  10363. }
  10364. else if(Fahrzeug == 421 || Fahrzeug = "Washington")
  10365. {
  10366. car_id := 421
  10367. car_name := "Washington"
  10368. car_preis := "21.000$"
  10369. car_autohaus := "Ottos"
  10370. car_kaution := "4.0000$"
  10371. car_tank := "40 Liter"
  10372. car_verbrauch := "13.3"
  10373. car_geschwindigkeit := "119 km/h"
  10374. car_level := "1"
  10375. car_tuningwerkstatt := "Transfender"
  10376. }
  10377. else if(Fahrzeug == 527 || Fahrzeug = "Cadrona")
  10378. {
  10379. car_id := 527
  10380. car_name := "Cadrona"
  10381. car_preis := "11.000$"
  10382. car_autohaus := "Ottos"
  10383. car_kaution := "4.0000$"
  10384. car_tank := "40 Liter"
  10385. car_verbrauch := "11.8"
  10386. car_geschwindigkeit := "115 km/h"
  10387. car_level := "1"
  10388. car_tuningwerkstatt := "Transfender"
  10389. }
  10390. else if(Fahrzeug == 550 || Fahrzeug = "Sunrise")
  10391. {
  10392. car_id := 550
  10393. car_name := "Sunrise"
  10394. car_preis := "14.000$"
  10395. car_autohaus := "Ottos"
  10396. car_kaution := "4.0000$"
  10397. car_tank := "40 Liter"
  10398. car_verbrauch := "11.8"
  10399. car_geschwindigkeit := "112 km/h"
  10400. car_level := "1"
  10401. car_tuningwerkstatt := "Transfender"
  10402. }
  10403. else if(Fahrzeug == 580 || Fahrzeug = "Stafford")
  10404. {
  10405. car_id := 580
  10406. car_name := "Stafford"
  10407. car_preis := "18.000$"
  10408. car_autohaus := "Ottos"
  10409. car_kaution := "4.0000$"
  10410. car_tank := "40 Liter"
  10411. car_verbrauch := "11.6"
  10412. car_geschwindigkeit := "118 km/h"
  10413. car_level := "1"
  10414. car_tuningwerkstatt := "Transfender"
  10415. }
  10416. else if(Fahrzeug == 492 || Fahrzeug = "Greenwood")
  10417. {
  10418. car_id := 492
  10419. car_name := "Greenwood"
  10420. car_preis := "7.500$"
  10421. car_autohaus := "Ottos"
  10422. car_kaution := "4.0000$"
  10423. car_tank := "40 Liter"
  10424. car_verbrauch := "11.6"
  10425. car_geschwindigkeit := "109 km/h"
  10426. car_level := "1"
  10427. car_tuningwerkstatt := "Transfender"
  10428. }
  10429. else if(Fahrzeug == 474 || Fahrzeug = "Hermes")
  10430. {
  10431. car_id := 474
  10432. car_name := "Hermes"
  10433. car_preis := "15.000$"
  10434. car_autohaus := "Ottos"
  10435. car_kaution := "4.0000$"
  10436. car_tank := "40 Liter"
  10437. car_verbrauch := "12.3"
  10438. car_geschwindigkeit := "115 km/h"
  10439. car_level := "1"
  10440. car_tuningwerkstatt := "Transfender"
  10441. }
  10442. else if(Fahrzeug == 542 || Fahrzeug = "Clover")
  10443. {
  10444. car_id := 542
  10445. car_name := "Clover"
  10446. car_preis := "5.000$"
  10447. car_autohaus := "Ottos"
  10448. car_kaution := "3.0000$"
  10449. car_tank := "40 Liter"
  10450. car_verbrauch := "10.1"
  10451. car_geschwindigkeit := "127 km/h"
  10452. car_level := "1"
  10453. car_tuningwerkstatt := "Transfender"
  10454. }
  10455. else if(Fahrzeug == 531 || Fahrzeug = "Tractor" || Fahrzeug = "Traktor")
  10456. {
  10457. car_id := 531
  10458. car_name := "Tractor"
  10459. car_preis := "25.000$"
  10460. car_autohaus := "Rastplatz"
  10461. car_kaution := "4.0000$"
  10462. car_tank := "25 Liter"
  10463. car_verbrauch := "7.5"
  10464. car_geschwindigkeit := "54 km/h"
  10465. car_level := "1"
  10466. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10467. }
  10468. else if(Fahrzeug == 578 || Fahrzeug = "DFT-30" || Fahrzeug = "DFT" || Fahrzeug = "DFT 30" || Fahrzeug = "DFT30")
  10469. {
  10470. car_id := 578
  10471. car_name := "DFT-30"
  10472. car_preis := "70.000$"
  10473. car_autohaus := "Rastplatz"
  10474. car_kaution := "12.0000$"
  10475. car_tank := "40 Liter"
  10476. car_verbrauch := "17.2"
  10477. car_geschwindigkeit := "101 km/h"
  10478. car_level := "1"
  10479. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10480. }
  10481. else if(Fahrzeug == 404 || Fahrzeug = "Perennial")
  10482. {
  10483. car_id := 404
  10484. car_name := "Perennial"
  10485. car_preis := "8.000$"
  10486. car_autohaus := "Rastplatz"
  10487. car_kaution := "4.0000$"
  10488. car_tank := "40 Liter"
  10489. car_verbrauch := "12.1"
  10490. car_geschwindigkeit := "103 km/h"
  10491. car_level := "1"
  10492. car_tuningwerkstatt := "Transfender"
  10493. }
  10494. else if(Fahrzeug == 478 || Fahrzeug = "Walton")
  10495. {
  10496. car_id := 478
  10497. car_name := "Walton"
  10498. car_preis := "8.000$"
  10499. car_autohaus := "Rastplatz"
  10500. car_kaution := "4.0000$"
  10501. car_tank := "40 Liter"
  10502. car_verbrauch := "14.1"
  10503. car_geschwindigkeit := "91 km/h"
  10504. car_level := "1"
  10505. car_tuningwerkstatt := "Transfender"
  10506. }
  10507. else if(Fahrzeug == 529 || Fahrzeug = "Willard")
  10508. {
  10509. car_id := 529
  10510. car_name := "Willard"
  10511. car_preis := "8.000$"
  10512. car_autohaus := "Rastplatz"
  10513. car_kaution := "4.0000$"
  10514. car_tank := "40 Liter"
  10515. car_verbrauch := "11.6"
  10516. car_geschwindigkeit := "115 km/h"
  10517. car_level := "1"
  10518. car_tuningwerkstatt := "Transfender"
  10519. }
  10520. else if(Fahrzeug == 554 || Fahrzeug = "Yosemite")
  10521. {
  10522. car_id := 554
  10523. car_name := "Yosemite"
  10524. car_preis := "18.000$"
  10525. car_autohaus := "Rastplatz"
  10526. car_kaution := "4.0000$"
  10527. car_tank := "40 Liter"
  10528. car_verbrauch := "13.1"
  10529. car_geschwindigkeit := "111 km/h"
  10530. car_level := "1"
  10531. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10532. }
  10533. else if(Fahrzeug == 446 || Fahrzeug = "Squallo" || Fahrzeug = "Squalo")
  10534. {
  10535. car_id := 446
  10536. car_name := "Squalo"
  10537. car_preis := "500.000$"
  10538. car_autohaus := "Strand"
  10539. car_kaution := "/"
  10540. car_tank := "70 Liter"
  10541. car_verbrauch := "19.2"
  10542. car_geschwindigkeit := "180 km/h"
  10543. car_level := "6"
  10544. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10545. }
  10546. else if(Fahrzeug == 454 || Fahrzeug = "Tropic")
  10547. {
  10548. car_id := 454
  10549. car_name := "Tropic"
  10550. car_preis := "750.000$"
  10551. car_autohaus := "Strand"
  10552. car_kaution := "/"
  10553. car_tank := "70 Liter"
  10554. car_verbrauch := "22.3"
  10555. car_geschwindigkeit := "99 km/h"
  10556. car_level := "12"
  10557. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10558. }
  10559. else if(Fahrzeug == 493 || Fahrzeug = "Jetmax")
  10560. {
  10561. car_id := 493
  10562. car_name := "Jetmax"
  10563. car_preis := "500.000$"
  10564. car_autohaus := "Strand"
  10565. car_kaution := "/"
  10566. car_tank := "60 Liter"
  10567. car_verbrauch := "19.1"
  10568. car_geschwindigkeit := "130 km/h"
  10569. car_level := "6"
  10570. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10571. }
  10572. else if(Fahrzeug == 452 || Fahrzeug = "Speeder")
  10573. {
  10574. car_id := 452
  10575. car_name := "Speeder"
  10576. car_preis := "500.000$"
  10577. car_autohaus := "Strand"
  10578. car_kaution := "/"
  10579. car_tank := "70 Liter"
  10580. car_verbrauch := "19.5"
  10581. car_geschwindigkeit := "130 km/h"
  10582. car_level := "6"
  10583. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10584. }
  10585. else if(Fahrzeug == 473 || Fahrzeug = "Dinghy")
  10586. {
  10587. car_id := 473
  10588. car_name := "Dinghy"
  10589. car_preis := "25.000$"
  10590. car_autohaus := "Strand"
  10591. car_kaution := "/"
  10592. car_tank := "30 Liter"
  10593. car_verbrauch := "9.8"
  10594. car_geschwindigkeit := "83 km/h"
  10595. car_level := "1"
  10596. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10597. }
  10598. else if(Fahrzeug == 458 || Fahrzeug = "Solair")
  10599. {
  10600. car_id := 458
  10601. car_name := "Solair"
  10602. car_preis := "16.000$"
  10603. car_autohaus := "Wang Cars"
  10604. car_kaution := "4.000$"
  10605. car_tank := "40 Liter"
  10606. car_verbrauch := "12.1"
  10607. car_geschwindigkeit := "122 km/h"
  10608. car_level := "1"
  10609. car_tuningwerkstatt := "Transfender"
  10610. }
  10611. else if(Fahrzeug == 561 || Fahrzeug = "Stratum")
  10612. {
  10613. car_id := 561
  10614. car_name := "Stratum"
  10615. car_preis := "16.000$"
  10616. car_autohaus := "Wang Cars"
  10617. car_kaution := "4.000$"
  10618. car_tank := "40 Liter"
  10619. car_verbrauch := "13.1"
  10620. car_geschwindigkeit := "119 km/h"
  10621. car_level := "1"
  10622. car_tuningwerkstatt := "Wheel Arch Angels"
  10623. }
  10624. else if(Fahrzeug == 424 || Fahrzeug = "BF Injection" || Fahrzeug = "bfinjection" || Fahrzeug = "injection")
  10625. {
  10626. car_id := 424
  10627. car_name := "BF Injection"
  10628. car_preis := "500.000$"
  10629. car_autohaus := "Wang Cars"
  10630. car_kaution := "12.000$"
  10631. car_tank := "40 Liter"
  10632. car_verbrauch := "13.1"
  10633. car_geschwindigkeit := "105 km/h"
  10634. car_level := "1"
  10635. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10636. }
  10637. else if(Fahrzeug == 400 || Fahrzeug = "Landstalker")
  10638. {
  10639. car_id := 400
  10640. car_name := "Landstalker"
  10641. car_preis := "18.000$"
  10642. car_autohaus := "Wang Cars"
  10643. car_kaution := "4.000$"
  10644. car_tank := "40 Liter"
  10645. car_verbrauch := "16.7"
  10646. car_geschwindigkeit := "122 km/h"
  10647. car_level := "1"
  10648. car_tuningwerkstatt := "Transfender"
  10649. }
  10650. else if(Fahrzeug == 589 || Fahrzeug = "Club")
  10651. {
  10652. car_id := 589
  10653. car_name := "Club"
  10654. car_preis := "22.000$"
  10655. car_autohaus := "Wang Cars"
  10656. car_kaution := "4.000$"
  10657. car_tank := "40 Liter"
  10658. car_verbrauch := "11.3"
  10659. car_geschwindigkeit := "126 km/h"
  10660. car_level := "1"
  10661. car_tuningwerkstatt := "Transfender"
  10662. }
  10663. else if(Fahrzeug == 565 || Fahrzeug = "Flash")
  10664. {
  10665. car_id := 565
  10666. car_name := "Flash"
  10667. car_preis := "22.000$"
  10668. car_autohaus := "Wang Cars"
  10669. car_kaution := "4.000$"
  10670. car_tank := "40 Liter"
  10671. car_verbrauch := "10.8"
  10672. car_geschwindigkeit := "127 km/h"
  10673. car_level := "1"
  10674. car_tuningwerkstatt := "Wheel Arch Angels"
  10675. }
  10676. else if(Fahrzeug == 558 || Fahrzeug = "Uranus")
  10677. {
  10678. car_id := 558
  10679. car_name := "Uranus"
  10680. car_preis := "90.000$"
  10681. car_autohaus := "Wang Cars"
  10682. car_kaution := "5.000$"
  10683. car_tank := "40 Liter"
  10684. car_verbrauch := "18.2"
  10685. car_geschwindigkeit := "121 km/h"
  10686. car_level := "1"
  10687. car_tuningwerkstatt := "Wheel Arch Angels"
  10688. }
  10689. else if(Fahrzeug == 471 || Fahrzeug = "Quad")
  10690. {
  10691. car_id := 471
  10692. car_name := "Quad"
  10693. car_preis := "80.000$"
  10694. car_autohaus := "Wang Cars"
  10695. car_kaution := "5.000$"
  10696. car_tank := "20 Liter"
  10697. car_verbrauch := "9.8"
  10698. car_geschwindigkeit := "85 km/h"
  10699. car_level := "1"
  10700. car_tuningwerkstatt := "Fahrzeuglackiererei"
  10701. }
  10702. else if(Fahrzeug == 409 || Fahrzeug = "Stretch" || Fahrzeug = "Limo" || Fahrzeug = "Limousine")
  10703. {
  10704. car_id := 409
  10705. car_name := "Stretch"
  10706. car_preis := "1.000.000$"
  10707. car_autohaus := "Wang Cars"
  10708. car_kaution := "12.000$"
  10709. car_tank := "50 Liter"
  10710. car_verbrauch := "17.8"
  10711. car_geschwindigkeit := "122 km/h"
  10712. car_level := "1"
  10713. car_tuningwerkstatt := "Transfender"
  10714. }
  10715. else if(Fahrzeug == 587 || Fahrzeug = "Euros")
  10716. {
  10717. car_id := 587
  10718. car_name := "Euros"
  10719. car_preis := "90.000$"
  10720. car_autohaus := "Wang Cars"
  10721. car_kaution := "5.000$"
  10722. car_tank := "40 Liter"
  10723. car_verbrauch := "15.3"
  10724. car_geschwindigkeit := "127 km/h"
  10725. car_level := "1"
  10726. car_tuningwerkstatt := "Transfender"
  10727. }
  10728. else if(Fahrzeug == 489 || Fahrzeug = "Rancher")
  10729. {
  10730. car_id := 489
  10731. car_name := "Rancher"
  10732. car_preis := "20.000$"
  10733. car_autohaus := "Wang Cars"
  10734. car_kaution := "4.000$"
  10735. car_tank := "40 Liter"
  10736. car_verbrauch := "16.7"
  10737. car_geschwindigkeit := "108 km/h"
  10738. car_level := "1"
  10739. car_tuningwerkstatt := "Transfender"
  10740. }
  10741. else if(Fahrzeug == 434 || Fahrzeug = "Hotknife")
  10742. {
  10743. car_id := 434
  10744. car_name := "Hotknife"
  10745. car_preis := "500.000$"
  10746. car_autohaus := "Wang Cars"
  10747. car_kaution := "12.000$"
  10748. car_tank := "40 Liter"
  10749. car_verbrauch := "13.1"
  10750. car_geschwindigkeit := "129 km/h"
  10751. car_level := "1"
  10752. car_tuningwerkstatt := "/"
  10753. }
  10754. else if(Fahrzeug == 439 || Fahrzeug = "Stallion")
  10755. {
  10756. car_id := 439
  10757. car_name := "Stallion"
  10758. car_preis := "26.000$"
  10759. car_autohaus := "Wang Cars"
  10760. car_kaution := "4.000$"
  10761. car_tank := "40 Liter"
  10762. car_verbrauch := "12.5"
  10763. car_geschwindigkeit := "130 km/h"
  10764. car_level := "1"
  10765. car_tuningwerkstatt := "Transfender"
  10766. }
  10767. else if(Fahrzeug == 555 || Fahrzeug = "Windsor")
  10768. {
  10769. car_id := 555
  10770. car_name := "Windsor"
  10771. car_preis := "24.000$"
  10772. car_autohaus := "Wang Cars"
  10773. car_kaution := "4.000$"
  10774. car_tank := "40 Liter"
  10775. car_verbrauch := "15.1"
  10776. car_geschwindigkeit := "122 km/h"
  10777. car_level := "1"
  10778. car_tuningwerkstatt := "Transfender"
  10779. }
  10780. else if(Fahrzeug == 533 || Fahrzeug = "Feltzer")
  10781. {
  10782. car_id := 533
  10783. car_name := "Feltzer"
  10784. car_preis := "26.000$"
  10785. car_autohaus := "Wang Cars"
  10786. car_kaution := "4.000$"
  10787. car_tank := "40 Liter"
  10788. car_verbrauch := "11.8"
  10789. car_geschwindigkeit := "129 km/h"
  10790. car_level := "1"
  10791. car_tuningwerkstatt := "Transfender"
  10792. }
  10793. else if(Fahrzeug == 477 || Fahrzeug = "ZR-350" || Fahrzeug = "ZR" || Fahrzeug = "ZR 350" || Fahrzeug = "ZR350")
  10794. {
  10795. car_id := 477
  10796. car_name := "ZR-350"
  10797. car_preis := "120.000$"
  10798. car_autohaus := "Wang Cars"
  10799. car_kaution := "6.000$"
  10800. car_tank := "40 Liter"
  10801. car_verbrauch := "17.2"
  10802. car_geschwindigkeit := "144 km/h"
  10803. car_level := "1"
  10804. car_tuningwerkstatt := "Transfender"
  10805. }
  10806. else
  10807. {
  10808. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Das Fahrzeug wurde nicht gefunden.")
  10809. return
  10810. }
  10811. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Informationen für das Fahrzeug {FFBF00}" car_name " {FFFFFF}[Model-ID: {FFBF00}" car_id "{FFFFFF}]:")
  10812. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Authoaus: {FFBF00}" car_autohaus "{FFFFFF}, Preis: {FFBF00}" car_preis "{FFFFFF}, Kaution: {FFBF00}" car_kaution "{FFFFFF}.")
  10813. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Geschwindigkeit: {FFBF00}" car_geschwindigkeit "{FFFFFF}, Verbrauch: {FFBF00}" car_verbrauch "{FFFFFF}, Tank: {FFBF00}" car_tank "{FFFFFF}.")
  10814. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Tuningwerkstatt: {FFBF00}" car_tuningwerkstatt "{FFFFFF}, Mindestlevel: {FFBF00}" car_level "{FFFFFF}.")
  10815. return
  10816. Paintball:
  10817. IfWinNotActive, GTA:SA:MP
  10818. return
  10819. GetPlayerName(Spieler)
  10820. GetChatLine(0, Chat1)
  10821. If(inStr(Chat1, "" Spieler " wurde von ") && InStr(Chat1, "getötet."))
  10822. {
  10823. IniRead, Paintballtod, Statistik.ini, Paintball, Paintballtod
  10824. Paintballtod++
  10825. IniWrite, %Paintballtod%, Statistik.ini, Paintball, Paintballtod
  10826. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Paintballniederlage Nummer {FFBF00}" Paintballtod "{FFFFFF}.")
  10827. }
  10828. If(inStr(Chat1, "wurde von " Spieler " getötet."))
  10829. {
  10830. IniRead, Paintballkill, Statistik.ini, Paintball, Paintballkill
  10831. Paintballkill++
  10832. IniWrite, %Paintballkill%, Statistik.ini, Paintball, Paintballkill
  10833. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Paintballsieg Nummer {FFBF00}" Paintballkill "{FFFFFF}.")
  10834. }
  10835. return
  10836. !Numpad1::
  10837. VerbrecherID := PlayerInput("ATK: ")
  10838. FormatTime, Zeit, , HH:mm
  10839. SendChat("/suspect " . VerbrecherID . " Angriff/Beschuss auf Beamte/Zivilisten - " Zeit " Uhr")
  10840. SendChat("/suspect " . VerbrecherID . " Angriff/Beschuss auf Beamte/Zivilisten - " Zeit " Uhr")
  10841. if(id != "")
  10842. {
  10843. Sleep, 200
  10844. GetChatLine(0, chat)
  10845. GetPlayerName(Name)
  10846. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  10847. {
  10848. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  10849. Wanted+=2
  10850. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  10851. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  10852. }
  10853. }
  10854. return
  10855. !Numpad2::
  10856. FormatTime, Zeit, , HH:mm
  10857. VerbrecherID := PlayerInput("Flucht: ")
  10858. SendChat("/suspect " . VerbrecherID . " Flucht(Versuch) - " Zeit " Uhr")
  10859. SendChat("/suspect " . VerbrecherID . " Flucht(Versuch) - " Zeit " Uhr")
  10860. if(id != "")
  10861. {
  10862. Sleep, 200
  10863. GetChatLine(0, chat)
  10864. GetPlayerName(Name)
  10865. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  10866. {
  10867. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  10868. Wanted+=2
  10869. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  10870. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  10871. }
  10872. VerbrecherID := id
  10873. if(id != "")
  10874. {
  10875. SetTimer, Find , Off
  10876. AID := id
  10877. SendChat("/find " AID)
  10878. SetTimer, Find , 6000
  10879. }
  10880. }
  10881. return
  10882. !Numpad3::
  10883. VerbrecherID := PlayerInput("Veweigerung: ")
  10884. FormatTime, Zeit, , HH:mm
  10885. SendChat("/suspect " . VerbrecherID . " Verweigerung von Anweisungen - " Zeit " Uhr")
  10886. if(id != "")
  10887. {
  10888. Sleep, 200
  10889. GetChatLine(0, chat)
  10890. GetPlayerName(Name)
  10891. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  10892. {
  10893. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  10894. Wanted++
  10895. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  10896. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  10897. }
  10898. }
  10899. return
  10900. !Numpad4::
  10901. VerbrecherID := PlayerInput("BDJ: ")
  10902. FormatTime, Zeit, , HH:mm
  10903. SendChat("/suspect " . VerbrecherID . " Behinderung der Justiz - " Zeit " Uhr")
  10904. if(id != "")
  10905. {
  10906. Sleep, 200
  10907. GetChatLine(0, chat)
  10908. GetPlayerName(Name)
  10909. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  10910. {
  10911. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  10912. Wanted++
  10913. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  10914. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  10915. }
  10916. }
  10917. return
  10918. !Numpad5::
  10919. VerbrecherID := PlayerInput("Mats: ")
  10920. FormatTime, Zeit, , HH:mm
  10921. SendChat("/suspect " . VerbrecherID . " Besitz von Materialien/Drogen")
  10922. SendChat("/suspect " . VerbrecherID . " Besitz von Materialien/Drogen")
  10923. if(id != "")
  10924. {
  10925. Sleep, 200
  10926. GetChatLine(0, chat)
  10927. GetPlayerName(Name)
  10928. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  10929. {
  10930. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  10931. Wanted+=2
  10932. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  10933. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  10934. }
  10935. }
  10936. return
  10937. !Numpad6::
  10938. VerbrecherID := PlayerInput("Drogen: ")
  10939. FormatTime, Zeit, , HH:mm
  10940. SendChat("/suspect " . VerbrecherID . " Verstoß gegen das Betäubungsmittelgesetz")
  10941. SendChat("/suspect " . VerbrecherID . " Verstoß gegen das Betäubungsmittelgesetz")
  10942. if(id != "")
  10943. {
  10944. Sleep, 200
  10945. GetChatLine(0, chat)
  10946. GetPlayerName(Name)
  10947. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  10948. {
  10949. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  10950. Wanted+=2
  10951. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  10952. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  10953. }
  10954. }
  10955. return
  10956. !Numpad7::
  10957. FormatTime, Zeit, , HH:mm
  10958. VerbrecherID := PlayerInput("Behilfe: ")
  10959. SendChat("/suspect " . VerbrecherID . " Beihilfe zur Flucht")
  10960. SendChat("/suspect " . VerbrecherID . " Beihilfe zur Flucht")
  10961. if(id != "")
  10962. {
  10963. Sleep, 200
  10964. GetChatLine(0, chat)
  10965. GetPlayerName(Name)
  10966. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  10967. {
  10968. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  10969. Wanted+=2
  10970. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  10971. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  10972. }
  10973. }
  10974. return
  10975. !Numpad8::
  10976. VerbrecherID := PlayerInput("Waffenhandel: ")
  10977. FormatTime, Zeit, , HH:mm
  10978. SendChat("/suspect " . VerbrecherID . " Handel von Drogen/Waffen")
  10979. SendChat("/suspect " . VerbrecherID . " Handel von Drogen/Waffen")
  10980. if(id != "")
  10981. {
  10982. Sleep, 200
  10983. GetChatLine(0, chat)
  10984. GetPlayerName(Name)
  10985. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  10986. {
  10987. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  10988. Wanted+=2
  10989. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  10990. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  10991. }
  10992. }
  10993. return
  10994. !Numpad9::
  10995. VerbrecherID := PlayerInput("Einbruch: ")
  10996. FormatTime, Zeit, , HH:mm
  10997. SendChat("/suspect " . VerbrecherID . " Unautorisiertes Betreten eines Geländes/Fahrzeuges")
  10998. SendChat("/suspect " . VerbrecherID . " Unautorisiertes Betreten eines Geländes/Fahrzeuges")
  10999. if(id != "")
  11000. {
  11001. Sleep, 200
  11002. GetChatLine(0, chat)
  11003. GetPlayerName(Name)
  11004. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11005. {
  11006. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11007. Wanted+=2
  11008. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11009. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11010. }
  11011. }
  11012. return
  11013. !1::
  11014. VerbrecherID := PlayerInput("Angriff/Beschuss: ")
  11015. FormatTime, Zeit, , HH:mm
  11016. SendChat("/suspect " . VerbrecherID . " Angriff / Beschuss auf Beamte / Zivilisten (" Zeit ")")
  11017. SendChat("/suspect " . VerbrecherID . " Angriff / Beschuss auf Beamte / Zivilisten (" Zeit ")")
  11018. if(id != "")
  11019. {
  11020. Sleep, 200
  11021. GetChatLine(0, chat)
  11022. GetPlayerName(Name)
  11023. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11024. {
  11025. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11026. Wanted+=2
  11027. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11028. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11029. }
  11030. }
  11031. return
  11032. !2::
  11033. FormatTime, Zeit, , HH:mm
  11034. VerbrecherID := PlayerInput("Flucht: ")
  11035. SendChat("/suspect " . VerbrecherID . " Flucht / Fluchtversuch (" Zeit ")")
  11036. SendChat("/suspect " . VerbrecherID . " Flucht / Fluchtversuch (" Zeit ")")
  11037. if(id != "")
  11038. {
  11039. Sleep, 200
  11040. GetChatLine(0, chat)
  11041. GetPlayerName(Name)
  11042. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11043. {
  11044. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11045. Wanted+=2
  11046. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11047. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11048. }
  11049. fluchtID := id
  11050. if(id != "")
  11051. {
  11052. SetTimer, Find , Off
  11053. AID := id
  11054. SendChat("/find " AID)
  11055. SetTimer, Find , 6000
  11056. }
  11057. }
  11058. return
  11059. !3::
  11060. VerbrecherID := PlayerInput("Verweigerung: ")
  11061. FormatTime, Zeit, , HH:mm
  11062. SendChat("/suspect " . VerbrecherID . " Verweigerung von Anweisungen (" Zeit ")")
  11063. if(id != "")
  11064. {
  11065. Sleep, 200
  11066. GetChatLine(0, chat)
  11067. GetPlayerName(Name)
  11068. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11069. {
  11070. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11071. Wanted++
  11072. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11073. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11074. }
  11075. }
  11076. return
  11077. !4::
  11078. VerbrecherID := PlayerInput("Behinderung der Justiz: ")
  11079. FormatTime, Zeit, , HH:mm
  11080. SendChat("/suspect " . VerbrecherID . " Behinderung der Justiz (" Zeit ")")
  11081. if(id != "")
  11082. {
  11083. Sleep, 200
  11084. GetChatLine(0, chat)
  11085. GetPlayerName(Name)
  11086. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11087. {
  11088. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11089. Wanted++
  11090. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11091. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11092. }
  11093. }
  11094. return
  11095. !5::
  11096. VerbrecherID := PlayerInput("Materialien: ")
  11097. FormatTime, Zeit, , HH:mm
  11098. SendChat("/suspect " . VerbrecherID . " Besitz von illegalen Materialien (" Zeit ")")
  11099. SendChat("/suspect " . VerbrecherID . " Besitz von illegalen Materialien (" Zeit ")")
  11100. if(id != "")
  11101. {
  11102. Sleep, 200
  11103. GetChatLine(0, chat)
  11104. GetPlayerName(Name)
  11105. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11106. {
  11107. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11108. Wanted+=2
  11109. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11110. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11111. }
  11112. }
  11113. return
  11114. !6::
  11115. VerbrecherID := PlayerInput("Drogen: ")
  11116. FormatTime, Zeit, , HH:mm
  11117. SendChat("/suspect " . VerbrecherID . " Verstoß gegen das Betäubungsmittelgesetz (" Zeit ")")
  11118. SendChat("/suspect " . VerbrecherID . " Verstoß gegen das Betäubungsmittelgesetz (" Zeit ")")
  11119. if(id != "")
  11120. {
  11121. Sleep, 200
  11122. GetChatLine(0, chat)
  11123. GetPlayerName(Name)
  11124. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11125. {
  11126. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11127. Wanted+=2
  11128. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11129. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11130. }
  11131. }
  11132. return
  11133. !7::
  11134. FormatTime, Zeit, , HH:mm
  11135. VerbrecherID := PlayerInput("Beihilfe: ")
  11136. SendChat("/suspect " . VerbrecherID . " Beihilfe zur Flucht (" Zeit ")")
  11137. SendChat("/suspect " . VerbrecherID . " Beihilfe zur Flucht (" Zeit ")")
  11138. if(id != "")
  11139. {
  11140. Sleep, 200
  11141. GetChatLine(0, chat)
  11142. GetPlayerName(Name)
  11143. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11144. {
  11145. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11146. Wanted+=2
  11147. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11148. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11149. }
  11150. }
  11151. return
  11152. !8::
  11153. VerbrecherID := PlayerInput("Drogen-/Waffenhandel: ")
  11154. FormatTime, Zeit, , HH:mm
  11155. SendChat("/suspect " . VerbrecherID . " Illegaler Handel von Drogen / Waffen (" Zeit ")")
  11156. SendChat("/suspect " . VerbrecherID . " Illegaler Handel von Drogen / Waffen (" Zeit ")")
  11157. if(id != "")
  11158. {
  11159. Sleep, 200
  11160. GetChatLine(0, chat)
  11161. GetPlayerName(Name)
  11162. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11163. {
  11164. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11165. Wanted+=2
  11166. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11167. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11168. }
  11169. }
  11170. return
  11171. !9::
  11172. VerbrecherID := PlayerInput("Einbruch: ")
  11173. FormatTime, Zeit, , HH:mm
  11174. SendChat("/suspect " . VerbrecherID . " Unautorisiertes Betreten eines Geländes/Fahrzeuges (" Zeit ")")
  11175. SendChat("/suspect " . VerbrecherID . " Unautorisiertes Betreten eines Geländes/Fahrzeuges (" Zeit ")")
  11176. if(id != "")
  11177. {
  11178. Sleep, 200
  11179. GetChatLine(0, chat)
  11180. GetPlayerName(Name)
  11181. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11182. {
  11183. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11184. Wanted+=2
  11185. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11186. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11187. }
  11188. }
  11189. return
  11190. !J::
  11191. VerbrecherID := PlayerInput("Fahrer-ID: ")
  11192. FormatTime, Zeit, , HH:mm
  11193. SendChat("/suspect " . VerbrecherID . " Absichtliches Anfahren von Beamten/Zivilisten - " Zeit " Uhr")
  11194. if(id != "")
  11195. {
  11196. Sleep, 200
  11197. GetChatLine(0, chat)
  11198. GetPlayerName(Name)
  11199. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11200. {
  11201. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11202. Wanted++
  11203. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11204. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11205. }
  11206. }
  11207. return
  11208. !K::
  11209. VerbrecherID := PlayerInput("Privat: ")
  11210. FormatTime, Zeit, , HH:mm
  11211. SendChat("/suspect " . VerbrecherID . " Diebstahl von Privatfahrzeugen")
  11212. SendChat("/suspect " . VerbrecherID . " Diebstahl von Privatfahrzeugen")
  11213. if(id != "")
  11214. {
  11215. Sleep, 200
  11216. GetChatLine(0, chat)
  11217. GetPlayerName(Name)
  11218. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11219. {
  11220. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11221. Wanted+=2
  11222. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11223. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11224. }
  11225. }
  11226. return
  11227. !L::
  11228. VerbrecherID := PlayerInput("Staats: ")
  11229. FormatTime, Zeit, , HH:mm
  11230. SendChat("/suspect " . VerbrecherID . " Diebstahl von Staatsfahrzeugen")
  11231. SendChat("/suspect " . VerbrecherID . " Diebstahl von Staatsfahrzeugen")
  11232. Sleep, 1500
  11233. SendChat("/suspect " . VerbrecherID . " Diebstahl von Staatsfahrzeugen")
  11234. SendChat("/suspect " . VerbrecherID . " Diebstahl von Staatsfahrzeugen")
  11235. if(id != "")
  11236. {
  11237. Sleep, 200
  11238. GetChatLine(0, chat)
  11239. GetPlayerName(Name)
  11240. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11241. {
  11242. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11243. Wanted+=4
  11244. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11245. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11246. }
  11247. }
  11248. return
  11249. !ö::
  11250. VerbrecherID := PlayerInput("Bewaffnet: ")
  11251. FormatTime, Zeit, , HH:mm
  11252. SendChat("/suspect " . VerbrecherID . " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  11253. SendChat("/suspect " . VerbrecherID . " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  11254. Sleep, 1500
  11255. SendChat("/suspect " . VerbrecherID . " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  11256. SendChat("/suspect " . VerbrecherID . " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  11257. Sleep, 1500
  11258. SendChat("/suspect " . VerbrecherID . " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  11259. SendChat("/suspect " . VerbrecherID . " Diebstahl von schweren / bewaffneten Staatsfahrzeugen")
  11260. if(id != "")
  11261. {
  11262. Sleep, 200
  11263. GetChatLine(0, chat)
  11264. GetPlayerName(Name)
  11265. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11266. {
  11267. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11268. Wanted+=6
  11269. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11270. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11271. }
  11272. }
  11273. return
  11274. !O::
  11275. VerbrecherID := PlayerInput("Beamtenbeleidigung: ")
  11276. FormatTime, Zeit, , HH:mm
  11277. SendChat("/suspect " . VerbrecherID . " Beamtenbeleidigung / Umganston - " Zeit " Uhr)")
  11278. if(id != "")
  11279. {
  11280. Sleep, 200
  11281. GetChatLine(0, chat)
  11282. GetPlayerName(Name)
  11283. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11284. {
  11285. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11286. Wanted++
  11287. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11288. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11289. }
  11290. }
  11291. return
  11292. !i::
  11293. VerbrecherID := PlayerInput("Waffengebrauch: ")
  11294. FormatTime, Zeit, , HH:mm
  11295. SendChat("/suspect " . VerbrecherID . " Waffengebrauch in der Öffentlichkeit - " Zeit " Uhr")
  11296. SendChat("/suspect " . VerbrecherID . " Waffengebrauch in der Öffentlichkeit - " Zeit " Uhr")
  11297. if(id != "")
  11298. {
  11299. Sleep, 200
  11300. GetChatLine(0, chat)
  11301. GetPlayerName(Name)
  11302. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11303. {
  11304. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11305. Wanted+=2
  11306. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11307. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11308. }
  11309. }
  11310. return
  11311. !p::
  11312. VerbrecherID := PlayerInput("Illegale Waffenbesitz: ")
  11313. FormatTime, Zeit, , HH:mm
  11314. SendChat("/suspect " . VerbrecherID . " Waffenbesitz ohne Waffenlizenz - " Zeit " Uhr")
  11315. SendChat("/suspect " . VerbrecherID . " Waffenbesitz ohne Waffenlizenz - " Zeit " Uhr")
  11316. if(id != "")
  11317. {
  11318. Sleep, 200
  11319. GetChatLine(0, chat)
  11320. GetPlayerName(Name)
  11321. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11322. {
  11323. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11324. Wanted+=2
  11325. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11326. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11327. }
  11328. }
  11329. return
  11330. !n::
  11331. VerbrecherID := PlayerInput("Notrufmissbrauch: ")
  11332. FormatTime, Zeit, , HH:mm
  11333. SendChat("/suspect " . VerbrecherID . " Missbrauch des Notrufes - " Zeit " Uhr")
  11334. SendChat("/suspect " . VerbrecherID . " Behinderung der Justiz - " Zeit " Uhr")
  11335. if(id != "")
  11336. {
  11337. Sleep, 200
  11338. GetChatLine(0, chat)
  11339. GetPlayerName(Name)
  11340. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11341. {
  11342. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11343. Wanted+=2
  11344. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11345. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11346. }
  11347. }
  11348. return
  11349. !z::
  11350. VerbrecherID := PlayerInput("Zollflucht: ")
  11351. FormatTime, Zeit, , HH:mm
  11352. SendChat("/suspect " . VerbrecherID . " Zollflucht - " Zeit " Uhr")
  11353. SendChat("/suspect " . VerbrecherID . " Zollflucht - " Zeit " Uhr")
  11354. if(id != "")
  11355. {
  11356. Sleep, 200
  11357. GetChatLine(0, chat)
  11358. GetPlayerName(Name)
  11359. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11360. {
  11361. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11362. Wanted+=2
  11363. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11364. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11365. }
  11366. }
  11367. return
  11368. !b::
  11369. VerbrecherID := PlayerInput("Bestechung: ")
  11370. FormatTime, Zeit, , HH:mm
  11371. SendChat("/suspect " . VerbrecherID . " Bestechungsversuch eines Beamten (" Zeit ")")
  11372. SendChat("/suspect " . VerbrecherID . " Bestechungsversuch eines Beamten (" Zeit ")")
  11373. if(id != "")
  11374. {
  11375. Sleep, 200
  11376. GetChatLine(0, chat)
  11377. GetPlayerName(Name)
  11378. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11379. {
  11380. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11381. Wanted+=2
  11382. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11383. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  11384. }
  11385. }
  11386. return
  11387. !g::
  11388. VerbrecherID := PlayerInput("Straßenverkehrsgefährdung: ")
  11389. FormatTime, Zeit, , HH:mm
  11390. SendChat("/suspect " VerbrecherID " Gefährdung des Straßenverkehrs - " Zeit " Uhr")
  11391. if(id != "")
  11392. {
  11393. Sleep, 200
  11394. GetChatLine(0, chat)
  11395. GetPlayerName(Name)
  11396. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))0x00BFFF
  11397. {
  11398. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11399. Wanted+=1
  11400. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11401. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")+
  11402. }
  11403. }
  11404. return
  11405. :?:/fstreife::
  11406. Suspend Permit
  11407. SendChat("/f suche Streifenpartner, bei Interesse melden!")
  11408. return
  11409. :?:/streife::
  11410. Suspend Permit
  11411. SendChat("/hq suche Streifenpartner, bei Interesse melden!")
  11412. return
  11413. ~P::
  11414. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  11415. {
  11416. return
  11417. }
  11418. if(PoliceID != "X")
  11419. {
  11420. if(text != "-1")
  11421. {
  11422. SendChat("/hq " . text . "")
  11423. }
  11424. }
  11425. else
  11426. {
  11427. GetCityName(city)
  11428. GetZoneName(zone)
  11429. If (city == "" || city == "Unbekannt")
  11430. {
  11431. SendChat("/hq Ich befinde mich derzeit in " zone ".")
  11432. }
  11433. else
  11434. {
  11435. SendChat("/hq Ich befinde mich derzeit in " zone ", " city ".")
  11436. }
  11437. }
  11438. return
  11439. ^P::
  11440. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  11441. {
  11442. return
  11443. }
  11444. if(PoliceID != "X")
  11445. {
  11446. if(text != "-1")
  11447. {
  11448. SendChat("/d " . text . "")
  11449. }
  11450. }
  11451. else
  11452. {
  11453. GetCityName(city)
  11454. GetZoneName(zone)
  11455. If (city == "" || city == "Unbekannt")
  11456. {
  11457. SendChat("/d HQ: Ich befinde mich derzeit in " zone ".")
  11458. }
  11459. else
  11460. {
  11461. SendChat("/d HQ: Ich befinde mich derzeit in " zone ", " city "")
  11462. }
  11463. }
  11464. return
  11465. !^P::
  11466. if(IsChatOpen() == 1 || IsDialogOpen() == 1)
  11467. {
  11468. return
  11469. }
  11470. if(PoliceID != "X")
  11471. {
  11472. if(text != "-1")
  11473. {
  11474. SendChat("/r " . text . "")
  11475. }
  11476. }
  11477. else
  11478. {
  11479. GetCityName(city)
  11480. GetZoneName(zone)
  11481. If (city == "" || city == "Unbekannt")
  11482. {
  11483. SendChat("/r HQ: Ich befinde mich derzeit in " zone ".")
  11484. }
  11485. else
  11486. {
  11487. SendChat("/r HQ: Ich befinde mich derzeit in " zone ", " city "")
  11488. }
  11489. }
  11490. return
  11491. ´::
  11492. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  11493. {
  11494. return
  11495. }
  11496. GetPlayerName(Name)
  11497. Carid := GetVehicleModelId()
  11498. if (IsPlayerInAnyVehicle() == 1){
  11499. SendChat("/hq Wagen " Carid " übernimmt den Auftrag.")
  11500. }else{
  11501. SendChat("/hq " name " übernimmt den Auftrag.")
  11502. }
  11503. Soundplay, avixa.avi
  11504. return
  11505. !´::
  11506. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  11507. {
  11508. return
  11509. }
  11510. GetPlayerName(Name)
  11511. if (IsPlayerInAnyVehicle() == 1){
  11512. SendChat("/hq Wagen " GetVehicleModelId() " hat den Auftrag ausgeführt.")
  11513. }else{
  11514. SendChat("/hq " name " hat den Auftrag ausgeführt.")
  11515. }
  11516. return
  11517. ^´::
  11518. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  11519. {
  11520. return
  11521. }
  11522. GetPlayerName(Name)
  11523. if (IsPlayerInAnyVehicle() == 1){
  11524. SendChat("/d [HQ]: Wagen " GetVehicleHealth() " übernimmt den Auftrag.")
  11525. }else{
  11526. SendChat("/d [HQ]: " name " übernimmt den Auftrag.")
  11527. }
  11528. return
  11529. !^´::
  11530. if(IsDialogOpen() == 1 || IsChatOpen() == 1)
  11531. {
  11532. return
  11533. }
  11534. GetPlayerName(Name)
  11535. if (IsPlayerInAnyVehicle() == 1){
  11536. SendChat("/d [HQ]: Wagen " GetVehicleHealth() " hat den Auftrag ausgeführt.")
  11537. }else{
  11538. SendChat("/d [HQ]: " name " hat den Auftrag ausgeführt.")
  11539. }
  11540. return
  11541. :?:/copstats::
  11542. Suspend Permit
  11543. Send, {Enter}
  11544. Sleep, 500
  11545. IniRead, Punkte, Statistik.ini, Vergaben, Punkte
  11546. IniRead, Tickets, Statistik.ini, Vergaben, Tickets
  11547. IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
  11548. IniRead, Tazer, Statistik.ini, Tazer, Tazer
  11549. IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
  11550. IniRead, Arrest, Statistik.ini, Arrests, Arrest
  11551. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11552. IniRead, Kills, Statistik.ini, Kills, Kills
  11553. IniRead, Deaths, Statistik.ini, deaths, Deaths
  11554. IniRead, VerbrecherKills, Statistik.ini, VerbrecherKills, VerbrecherKills
  11555. IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
  11556. IniRead, Money, Statistik.ini, Arrests, Money
  11557. IniRead, Flugschein, Statistik.ini, Scheine, Flugschein
  11558. IniRead, Waffenschein, Statistik.ini, Scheine, Waffenschein
  11559. IniRead, Bootschein, Statistik.ini, Scheine, Bootschein
  11560. if(Punkte = "ERROR")
  11561. {
  11562. Punkte = 0
  11563. }
  11564. if(Tickets = "ERROR")
  11565. {
  11566. Tickets = 0
  11567. }
  11568. if(TicketGeld = "ERROR")
  11569. {
  11570. TicketGeld = 0
  11571. }
  11572. if(Tazer = "ERROR")
  11573. {
  11574. Tazer = 0
  11575. }
  11576. if(OffArrest = "ERROR")
  11577. {
  11578. OffArrest = 0
  11579. }
  11580. if(Arrest = "ERROR")
  11581. {
  11582. Arrest = 0
  11583. }
  11584. if(DeathArrest = "ERROR")
  11585. {
  11586. DeathArrest = 0
  11587. }
  11588. if(Wanted = "ERROR")
  11589. {
  11590. Wanted = 0
  11591. }
  11592. if(Deaths = "ERROR")
  11593. {
  11594. Deaths = 0
  11595. }
  11596. if(Kills = "ERROR")
  11597. {
  11598. Kills = 0
  11599. }
  11600. if(VerbrecherKills = "ERROR")
  11601. {
  11602. VerbrecherKills = 0
  11603. }
  11604. if(Money = "ERROR")
  11605. {
  11606. Money = 0
  11607. }
  11608. if(Flugschein = "ERROR")
  11609. {
  11610. Flugschein = 0
  11611. }
  11612. if(Waffenschein = "ERROR")
  11613. {
  11614. Waffenschein = 0
  11615. }
  11616. if(Bootschein = "ERROR")
  11617. {
  11618. Bootschein = 0
  11619. }
  11620. GetCityName(city)
  11621. GetZoneName(zone)
  11622. FPS := GetFramerate()
  11623. AP := GetPlayerArmor()
  11624. HP := GetPlayerHealth()
  11625. GetPlayerName(Name)
  11626. PlayerID := GetPlayerID()
  11627. if(PlayerID != "65535" && PlayerID != "" && PlayerID != "-1")
  11628. {
  11629. stats := "{FF0000}Spieler-Infos:{FFFFFF}`nStandort: {FFBF00}" zone "{FFFFFF}, {FFBF00}" City "`n{FFFFFF}FPS: {FFBF00}" FPS "`n{FFFFFF}Leben: {FFBF00}" HP "{FFFFFF}/{FFBF00}" AP "`nGetötete Personen: " Kills "`nDeine Tode: " Deaths "`nK/D: " Kills / Deaths "`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}"
  11630. ShowDialog(0, "{FFFFFF}Copstatistiken ( {FF0000}" Name "{FFFFFF} )", stats, "OK")
  11631. return
  11632. IsNumeric(number)
  11633. {
  11634. url = http://ni31914_1.vweb14.nitrado.net/Keybinder/files/fbibinder/isnumeric.php?number=%number%
  11635. success := UrlDownloadToVar(url)
  11636. return success
  11637. }
  11638. }
  11639. :?:/info::
  11640. Suspend Permit
  11641. IniRead, Kills, Statistik.ini, Kills, Kills
  11642. IniRead, Deaths, Statistik.ini, deaths, Deaths
  11643. GetCityName(city)
  11644. GetZoneName(zone)
  11645. GetPlayerName(Name)
  11646. PlayerID := GetPlayerID()
  11647. if(PlayerID != "65535" && PlayerID != "" && PlayerID != "-1")
  11648. {
  11649. AddChatMessage(0x4B45F, "|Staatsgewalt| {FFFFFF}Spieler-Information von {FFBF00}" Name " {FFFFFF}[ID: {FFBF00}" PlayerID "{FFFFFF} ]:")
  11650. }
  11651. else
  11652. {
  11653. AddChatMessage(0x4B45F, "|Staatsgewalt| {FFFFFF}Spieler-Information von {FFBF00}" Name "{FFFFFF}:")
  11654. }
  11655. AddChatMessage(0x4B45F, "|Staatsgewalt| {FFFFFF}HP: {FFBF00}" GetPlayerHealth() " {FFFFFF}Armor: {FFBF00}" GetPlayerArmor() "{FFFFFF}, Standort: {FFBF00}" zone ", " city "{FFFFFF}.")
  11656. AddChatMessage(0x4B45F, "|Staatsgewalt| {FFFFFF}Kills: {FFBF00}" Kills "{FFFFFF} Deaths: {FFBF00}" Deaths " {FFFFFF} K/D-Rate: {FFBF00}" Kills/Deaths "{FFFFFF}.")
  11657. if (IsPlayerInAnyVehicle() == 1)
  11658. {
  11659. GetVehicleModelName(Fahrzeug)
  11660. AddChatMessage(0x4B45F, "|Staatsgewalt| {FFFFFF}Fahrzeug-Information für das Fahrzeug {FFBF00}" Fahrzeug "{FFFFFF}:")
  11661. if(GetVehicleSecondColor() != -1 && GetVehicleSecondColor() != "")
  11662. {
  11663. AddChatMessage(0x4B45F, "|Staatsgewalt| {FFFFFF}Farbe: {FFBF00}"GetVehicleFirstColor() "{FFFFFF} / {FFBF00}" GetVehicleSecondColor() "{FFFFFF}, CarDL: {FFBF00}" GetVehicleHealth() "{FFFFFF}.")
  11664. }
  11665. else
  11666. AddChatMessage(0x4B45F, "|Staatsgewalt| {FFFFFF}Farbe: {FFBF00}"GetVehicleFirstColor() "{FFFFFF}, CarDL: {FFBF00}" GetVehicleHealth() "{FFFFFF}.")
  11667. }
  11668. return
  11669. :?:/rmpos::
  11670. Suspend Permit
  11671. exe := OpenMemoryfromTitle_("GTA:SA:MP")
  11672. posX := ReadMemory_(exe,0xC7DEC8,"Float")
  11673. posY := ReadMemory_(exe,0xC7DECC,"Float")
  11674. posZ := ReadMemory_(exe, 0xC7DED0,"Float")
  11675. CloseMemory_(exe)
  11676. posX := Floor(posX)
  11677. posY := Floor(posY)
  11678. posZ := Floor(posZ)
  11679. Zone := GetZoneByCoords(posX, posY, posZ)
  11680. City := GetCityByCoords(posX, posY, posZ)
  11681. Entfernung := GetDistanceFromPoint(posX, posY, posZ)
  11682. AddChatMessage(0x088A85, "|Staatsgewalt| {FFFFFF}Position: {DBA901}" . Zone . "{FFFFFF}, {DBA901}" . City . "{FFFFFF}.")
  11683. AddChatMessage(0x088A85, "|Staatsgewalt| {FFFFFF}Entfernung: {FFBF00}" . Entfernung . "{FFFFFF} Meter.")
  11684. return
  11685. :?:/setkills::
  11686. Suspend Permit
  11687. kills := PlayerInput("Aktuelle Kills: ")
  11688. Iniwrite, %kills%, Statistik.ini, Kills, kills
  11689. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast deine Kills auf {FFBF00}" . kills . "{FFFFFF} gesetzt.")
  11690. return
  11691. :?:/setdeaths::
  11692. Suspend Permit
  11693. deaths := PlayerInput("Aktuelle Deaths: ")
  11694. Iniwrite, %Deaths%, Statistik.ini, deaths, Deaths
  11695. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast deine Tode auf {FFBF00}" . Deaths . "{FFFFFF} gesetzt.")
  11696. return
  11697. :?:/Befehle::
  11698. Suspend Permit
  11699. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} ---BEFEHLE | Vergaben---")
  11700. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} NumPad 1 = ATK")
  11701. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} NumPad 2 = Flucht")
  11702. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} NumPad 3 = Verweigerung")
  11703. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} NumPad 4 = BDJ")
  11704. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} NumPad 5 = Mats")
  11705. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} NumPad 6 = Drogen")
  11706. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} NumPad 7 = Beihilfe")
  11707. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} NumPad 8 = Waffenhandel")
  11708. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} NumPad 9 = Einbruch")
  11709. return
  11710. :?:/zollhelp::
  11711. Suspend Permit
  11712. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} .:: Zoll-Informationen ::.")
  11713. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFBF00} Zoll 1:{FFFFFF} Zollstation von LS-LV (Hitman-Base).")
  11714. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFBF00} Zoll 2:{FFFFFF} Zollstation zwischen Montgomery & Blueberry.")
  11715. AddchatMessage(0x4B45F, "|Staatsgewalt|{FFBF00} Zoll 3:{FFFFFF} Zollstation zwischen Waldgebiet & Blueberry.")
  11716. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFBF00} Zoll 4:{FFFFFF} Garver Bridge (Brücke bei FBI Base).")
  11717. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFBF00} Zoll 5:{FFFFFF} Gant Bridge (Rote Brücke zwischen Tierra & San Fierro).")
  11718. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFBF00} Zoll 6:{FFFFFF} Zollstation Red County- Flint County (Alte GmbH Base).")
  11719. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFBF00} Zoll 7:{FFFFFF} Zollstation von Red County-Flint County (richtung Richmen).")
  11720. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFBF00} Zoll 8:{FFFFFF} Tunnel LS-Flint County (Waffendealer Strecke).")
  11721. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFBF00} Zoll 9:{FFFFFF} Zollstation LS-SF (Flint Intersection).")
  11722. return
  11723. Antispamschutz:
  11724. IfWinNotActive, GTA:SA:MP
  11725. return
  11726. GetChatline(1, AntiSpam)
  11727. GetChatline(0, AntiSpam2)
  11728. Antispam := Antispam Antispam2
  11729. If(InStr(AntiSpam, "WARNUNG: Hör auf zu Spamen, sonst wirst du gekickt!"))
  11730. {
  11731. BlockChatInput(1)
  11732. AddChatMessage(0xFFFFFF,"{FF8200}[Staatsgewalt] {FFFFFF}AntiSpam Schutz aktiviert.")
  11733. Sleep, 1500
  11734. AddChatMessage(0xFFFFFF,"{FF8200}[Staatsgewalt] {FFFFFF}AntiSpam Schutz deaktiviert.")
  11735. BlockChatInput(0)
  11736. }
  11737. return
  11738. X::
  11739. if(IsChatOpen() || IsDialogOpen() || IsMenuOpen())
  11740. return
  11741. SendChat("/zoll")
  11742. return
  11743. :?:/togtickets::
  11744. Suspend Permit
  11745. if (TicketOverlay == "0")
  11746. {
  11747. Boxid := BoxCreate(690, 530, 90, 45, 0xDD111314, false)
  11748. BoxSetBorder(Boxid, 3, true)
  11749. BoxSetBorderColor(Boxid, 0xFF000000)
  11750. BoxSetShown(Boxid, true)
  11751. titeltext := TextCreate("Arial", 6, false, false, 692, 532, 0xFF00E1FF, "Ticket Statistik", false, false)
  11752. TextSetShown(titeltext, true)
  11753. tickettext := TextCreate("Arial", 6, false, false, 692, 545, 0xFFFFFFFF, " Lade Statistik...", false, false)
  11754. TextSetShown(tickettext, true)
  11755. TicketOverlay = 1
  11756. SetTimer, TicketUpdate, 4000
  11757. AddChatMessage(0x088A4B, "|Staatsgewalt|{FFFFFF} Ticket-Overlay {00FF00}eingeschaltet{FFFFFF}.")
  11758. }
  11759. else if (TicketOverlay == "1")
  11760. {
  11761. TextDestroy(tickettext)
  11762. TextDestroy(titeltext)
  11763. BoxDestroy(Boxid)
  11764. TicketOverlay = 0
  11765. SetTimer, TicketUpdate, off
  11766. AddChatMessage(0x088A4B, "|Staatsgewalt|{FFFFFF} Ticket-Overlay {FF0000}ausgeschaltet{FFFFFF}.")
  11767. }
  11768. return
  11769. TicketUpdate:
  11770. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  11771. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  11772. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  11773. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  11774. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  11775. if(Monat == "ERROR")
  11776. {
  11777. Monat=0
  11778. }
  11779. if(Heute == "ERROR")
  11780. {
  11781. Heute=0
  11782. }
  11783. if(Gesamt == "ERROR")
  11784. {
  11785. Gesamt=0
  11786. }
  11787. TextSetString(tickettext, "Angenommene Tickets: " . Gesamt . "`n an diesem Tag: " . Heute . "`n in diesem Monat: " . Monat . "")
  11788. return
  11789. :?:/tt::
  11790. Suspend Permit
  11791. FormatTime, Uhrzeit,, HH
  11792. GetPlayerName(Name)
  11793. TicketID := PlayerInput("Ticket-ID: ")
  11794. SendChat("/tt " . TicketID . "")
  11795. if (Uhrzeit >= 12 && Uhrzeit < 20)
  11796. {
  11797. SendChat("/aw " . TicketID . " Guten Tag,")
  11798. }
  11799. else if (Uhrzeit >= 20 || Uhrzeit == 0)
  11800. {
  11801. SendChat("/aw " . TicketID . " Guten Abend,")
  11802. }
  11803. else if (Uhrzeit >= 1 && Uhrzeit < 12)
  11804. {
  11805. SendChat("/aw " . TicketID . " Guten Morgen ,")
  11806. }
  11807. SendChat("/aw " . TicketID . " Mein Name ist " . Name . " und ich bin für Ihre Fragen oder Probleme offen.")
  11808. Sleep 670
  11809. GetChatLine(0, string)
  11810. GetChatLine(1, string1)
  11811. GetChatLine(2, string2)
  11812. if(Instr(string, "Fragen oder Probleme offen") || InStr(string1, "Fragen oder Probleme offen") || InStr(string2, "Fragen oder Probleme offen"))
  11813. {
  11814. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  11815. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  11816. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  11817. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  11818. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  11819. Monat1=%Monat%
  11820. Heute1=%Heute%
  11821. Gesamt1=%Gesamt%
  11822. Sleep, 200
  11823. Monat1++
  11824. Heute1++
  11825. Gesamt1++
  11826. IniWrite, %Monat1%, Tickets.ini, TicketM, %MonatSt%
  11827. IniWrite, %Heute1%, Tickets.ini, TicketT, %TagSt%
  11828. IniWrite, %Gesamt1%, Tickets.ini, Ticket, Gesamt
  11829. }
  11830. return
  11831. :?:/gt::
  11832. Suspend Permit
  11833. FormatTime, Uhrzeit,, HH
  11834. TicketID := PlayerInput("Ticket-ID: ")
  11835. TeamMitglied := PlayerInput("Team-Mitglied: ")
  11836. SendChat("/aw " . TicketID . " Ich werde Sie nun an " TeamMitglied " weiterleiten.")
  11837. if (Uhrzeit >= 20 || Uhrzeit == 0)
  11838. {
  11839. SendChat("/aw " . TicketID . " Schönen Abend noch.")
  11840. }
  11841. else
  11842. {
  11843. SendChat("/aw " . TicketID . " Schönen Tag noch.")
  11844. }
  11845. SendChat("/gt " . TicketID . "")
  11846. Sleep, 1500
  11847. SendChat("/a Ticket " TicketID " für dich " TeamMitglied "")
  11848. return
  11849. :?:/grund::
  11850. Suspend Permit
  11851. TicketID := PlayerInput("Ticket-ID: ")
  11852. SendChat("/aw " . TicketID . " Warum soll ich Sie an das gewünchte Teammitglied weiterleiten?")
  11853. return
  11854. :?:/dt::
  11855. Suspend Permit
  11856. TicketID := PlayerInput("Ticket-ID: ")
  11857. SendChat("/aw " . TicketID . " Ich wünsche Ihnen noch einen schönen Aufenthalt auf RPG-City")
  11858. SendChat("/aw " . TicketID . " Bei weiteren Fragen melden Sie sich gerne wieder im Ticketsystem")
  11859. SendChat("/dt " . TicketID . "")
  11860. return
  11861. :?:/tafk::
  11862. Suspend Permit
  11863. FormatTime, Uhrzeit,, HH
  11864. TicketID := PlayerInput("Ticket-ID: ")
  11865. SendChat("/aw " . TicketID . " Ich werde Ihr Ticket nun schließen, da Sie scheinbar nicht anwesend sind.")
  11866. Sleep, 1200
  11867. SendChat("/aw " . TicketID . " Bei weiteren Fragen melden Sie sich gerne wieder im Ticketsystem")
  11868. if (Uhrzeit >= 20 || Uhrzeit == 0)
  11869. {
  11870. SendChat("/aw " . TicketID . " Ich wünsche Ihnen noch einen schönen Rest Abend.")
  11871. }
  11872. else
  11873. {
  11874. SendChat("/aw " . TicketID . " Ich wünsche Ihnen noch einen herzlich schönen Tag.")
  11875. }
  11876. SendChat("/dt " . TicketID . "")
  11877. return
  11878. :?:/fragen::
  11879. Suspend Permit
  11880. TicketID := PlayerInput("Ticket-ID: ")
  11881. SendChat("/aw " . TicketID . " Haben Sie weitere Fragen, Probleme oder Anliegen?")
  11882. return
  11883. :?:/meldungen::
  11884. Suspend Permit
  11885. SendChat("/announce Bei Fragen zum Server stehen wir Ihnen jederzeit per /sup [Frage] zur Verfügung.")
  11886. SendChat("/announce Hacker, Buguser und weitere Regelbrecher können per /a gemeldet werden.")
  11887. return
  11888. :?:/rc::
  11889. Suspend Permit
  11890. FahrzeugID := PlayerInput("Fahrzeug-ID: ")
  11891. SendChat("/respawncar " . FahrzeugID . "")
  11892. return
  11893. :?:/adabuse::
  11894. Suspend Permit
  11895. SendInput, /mute 120 Ausnutzung des Werbesystems{left 32}
  11896. return
  11897. :?:/aabuse::
  11898. Suspend Permit
  11899. SendInput, /supban 120 Ausnutzung des Adminchats{left 30}
  11900. return
  11901. :?:/sdm::
  11902. Suspend Permit
  11903. SendInput, /prison 120 Sinnloses Deathmatch{left 25}
  11904. return
  11905. :?:/bansdm::
  11906. Suspend Permit
  11907. SendInput, /ban Sinnloses Deathmatch mit Level 1{left 33}
  11908. return
  11909. :?:/jobstörung::
  11910. Suspend Permit
  11911. SendInput, /prison 120 Jobstörung{left 15}
  11912. return
  11913. :?:/jobdm::
  11914. Suspend Permit
  11915. SendInput, /prison 120 Job Deathmatch{left 19}
  11916. return
  11917. :?:/intflucht::
  11918. Suspend Permit
  11919. SendInput, /prison 120 Interrior-Flucht{left 21}
  11920. return
  11921. :?:/escflucht::
  11922. Suspend Permit
  11923. SendInput, /prison 120 ESC-Flucht{left 25}
  11924. return
  11925. :?:/offflucht::
  11926. Suspend Permit
  11927. SendInput, /prison 120 Offline-Flucht{left 19}
  11928. return
  11929. :?:/cardm::
  11930. Suspend Permit
  11931. SendInput, /prison 120 Carsurf DM{left 15}
  11932. return
  11933. :?:/spam::
  11934. Suspend Permit
  11935. SendInput /mute 120 Spam{left 9}
  11936. return
  11937. :?:/esccp::
  11938. Suspend Permit
  11939. SendInput /kick ESC im Checkpoint{left 18}
  11940. return
  11941. :?:/afkp::
  11942. Suspend Permit
  11943. SendInput /kick AFK im Paintball{left 17}
  11944. return
  11945. :?:/anfahren::
  11946. Suspend Permit
  11947. SendInput /prison 120 Absichtliches Anfahren{left 27}
  11948. return
  11949. :?:/nodm::
  11950. Suspend Permit
  11951. SendInput /prison 120 Deathmatch in einer No DM Zone{left 35}
  11952. return
  11953. :?:/tv::
  11954. Suspend Permit
  11955. SendInput, /tv{space}
  11956. Input, TVID, V I M,{enter}
  11957. SendChat("/id " TVID "")
  11958. return
  11959. :?:/tickets::
  11960. Suspend Permit
  11961. GetPlayerName(Supporter)
  11962. SendInput ^a{delete}{enter}
  11963. FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
  11964. FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
  11965. IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
  11966. IniRead, Heute, Tickets.ini, TicketT, %TagSt%
  11967. IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
  11968. if(Monat == "ERROR")
  11969. {
  11970. Monat=0
  11971. }
  11972. if(Heute == "ERROR")
  11973. {
  11974. Heute=0
  11975. }
  11976. if(Gesamt == "ERROR")
  11977. {
  11978. Gesamt=0
  11979. }
  11980. Sleep, 100
  11981. ShowDialog(0, "Ticket Statistik (" Supporter ")" , "Angenommene Tickets: " Gesamt "`nan diesem Tag: " Heute "`nin diesem Monat: " Monat, "schließen")
  11982. return
  11983. :?:/na::
  11984. Suspend, Permit
  11985. VerbrecherID := PlayerInput("Notrufmissbrauch: ")
  11986. FormatTime, Zeit, , HH:mm
  11987. SendChat("/suspect " . VerbrecherID . " Missbrauch des Notrufes - " Zeit " Uhr")
  11988. SendChat("/suspect " . VerbrecherID . " Behinderung der Justiz - " Zeit " Uhr")
  11989. if(id != "")
  11990. {
  11991. Sleep, 200
  11992. GetChatLine(0, chat)
  11993. GetPlayerName(Name)
  11994. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  11995. {
  11996. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  11997. Wanted+=2
  11998. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  11999. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  12000. }
  12001. }
  12002. return
  12003. :?:/zf::
  12004. VerbrecherID := PlayerInput("Zollflucht: ")
  12005. FormatTime, Zeit, , HH:mm
  12006. SendChat("/suspect " . VerbrecherID . " Zollflucht - " Zeit " Uhr")
  12007. SendChat("/suspect " . VerbrecherID . " Zollflucht - " Zeit " Uhr")
  12008. if(id != "")
  12009. {
  12010. Sleep, 200
  12011. GetChatLine(0, chat)
  12012. GetPlayerName(Name)
  12013. If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
  12014. {
  12015. IniRead, Wanted, Statistik.ini, Vergaben, Wanted
  12016. Wanted+=2
  12017. IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
  12018. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} Du hast bereits {FFBF00}" . Wanted . "{FFFFFF} Wanteds ausgestellt.")
  12019. }
  12020. }
  12021. return
  12022. :?:/bel::
  12023. Suspend Permit
  12024. SendInput /mute 120 Beleidigung{left 9}
  12025. return
  12026. :?:/mbel::
  12027. Suspend Permit
  12028. Spieler := PlayerInput("Wenn willst du Sanktionieren? (ID): ")
  12029. SendChat("/mute " . Spieler . "120 Mittlere Beleidigung")
  12030. Sleep, 1000
  12031. SendChat("/tban " . Spieler . " 24 Mittlere Beleidigung")
  12032. return
  12033. :?:/sbel::
  12034. Suspend Permit
  12035. Spieler := PlayerInput("ID:")
  12036. SendChat("/mute " . Spieler . " 120 Schwere Beleidigung")
  12037. SendChat("/warn " . Spieler . " Schwere Beleidigung")
  12038. SendChat("/tban " . Spieler . " 168 Schwere Beleidigung")
  12039. return
  12040. :?:/abhelp::
  12041. Suspend, Permit
  12042. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /tt = Ticket annehmen")
  12043. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /dt = Ticker schließen")
  12044. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /gt = Ticket weiterleiten")
  12045. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /grund = Warum soll ich Sie weiterleiten")
  12046. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /fragen = Weiter Fragen?")
  12047. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /tafk = Ticket wegen AFK schließen")
  12048. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /meldungen = Info über /sup und /a")
  12049. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} rc = /respawncar")
  12050. AddChatMessage(0d4B45F, "|Staatsgewalt|{FFFFFF} -------------------")
  12051. AddChatMessage(0x4B45F, "|Staatsgewalt|{FF0000} ---Sanktionen ---")
  12052. sleep, 1500
  12053. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /adabuse - Ad Abuse")
  12054. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /aabuse - /A Abuse")
  12055. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /bel = Beleidigung")
  12056. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /mbel = Mttlere Beleidigung")
  12057. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /sbel = Schwere Beleidigung")
  12058. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /sdm = Prison wegen SDM")
  12059. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /bansdm - Ban wegen SDM (Level 1)")
  12060. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /nodm = Dm in No DM Zone")
  12061. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /jobstörung = Jobstörung")
  12062. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /jobdm = Job DM")
  12063. AddChatMessage(0x4B45F, "|Staatsgewalt|{FFFFFF} /intflucht = Interrior Flucht")
  12064. return
  12065. :?:/GOVBW::
  12066. Suspend Permit
  12067. SendChat("/gov FBI - Bewerbungsankündigung -")
  12068. SendChat("/gov Das FBI sucht bis zu 10 Member, Bewerbungen kommen in das Control Panel")
  12069. SendChat("/gov Bitte nur Bewerben wenn auch alle Voraussetzungen erfüllt werden.")
  12070. SendChat("/gov Viel Glück")
  12071. return
  12072. :?:/Blitz::
  12073. Suspend Permit
  12074. SendChat("/gov Es findet eine Blitzbewerbungsrunde im FBI statt")
  12075. SendChat("/gov Anwärter bitte in den SAPD Public Relations (SAPD Öffentlich) Channel. Hinter den Namen bitte ein /FBI")
  12076. sleep 1000
  12077. SendChat("/gov Es müssen alle Voraussetzungen eingehalten werden")
  12078. SendChat("/gov Die Bewerbungsrunde startet um 16:45 Uhr")
  12079. sleep 1000
  12080. SendChat("/gov Bitte ein Screenshot der Statistik bereithalten!")
  12081. SendChat("/gov Das FBI wünscht viel Glück!")
  12082. return
  12083. :?:/Einsatz::
  12084. Suspend Permit
  12085. Uhrzeit := PlayerInput("Uhrzeit: ")
  12086. Ort := PlayerInput("Wo?: ")
  12087. Opfer := PlayerInput("Der/Die/Das: ")
  12088. SendChat("/R --- Einsatz Ankündigung ---")
  12089. SendChat("/R Einsatz, alle in " . Opfer . " " . Ort . " aufstellen, Zeit bis " . Uhrzeit . " Uhr")
  12090. SendChat("/R Einsatz Ankündigung - Ende")
  12091. return
  12092. :?:/Sultan::
  12093. Suspend Permit
  12094. SendChat("/r Fordere Sultanübersicht")
  12095. SendChat("/r Bitte das Kennzeichen in den F-Chat")
  12096. return
  12097. :?:/gk::
  12098. Suspend Permit
  12099. params1 := PlayerInput("Gebäudekomplex: ")
  12100. if(params1 == 1.67){
  12101. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12102. }
  12103. if(params1 == 1.66){
  12104. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12105. }
  12106. if(params1 == 2.65){
  12107. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12108. }
  12109. if(params1 == 2.64){
  12110. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12111. }
  12112. if(params1 == 3.135){
  12113. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12114. }
  12115. if(params1 == 3.134){
  12116. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12117. }
  12118. if(params1 == 2.133){
  12119. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12120. }
  12121. if(params1 == 1.42){
  12122. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12123. }
  12124. if(params1 == 1.43){
  12125. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12126. }
  12127. if(params1 == 1.44){
  12128. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12129. }
  12130. if(params1 == 1.45){
  12131. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12132. }
  12133. if(params1 == 1.46){
  12134. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12135. }
  12136. if(params1 == 1.47){
  12137. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12138. }
  12139. if(params1 == 1.48){
  12140. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12141. }
  12142. if(params1 == 1.49){
  12143. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12144. }
  12145. if(params1 == 1.94){
  12146. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12147. }
  12148. if(params1 == 1.59){
  12149. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12150. }
  12151. if(params1 == 1.58){
  12152. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12153. }
  12154. if(params1 == 1.57){
  12155. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12156. }
  12157. if(params1 == 1.56){
  12158. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12159. }
  12160. if(params1 == 1.55){
  12161. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12162. }
  12163. if(params1 == 1.54){
  12164. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12165. }
  12166. if(params1 == 1.53){
  12167. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12168. }
  12169. if(params1 == 1.52){
  12170. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12171. }
  12172. if(params1 == 1.51){
  12173. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12174. }
  12175. if(params1 == 1.50){
  12176. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  12177. }
  12178. if(params1 == 2.70){
  12179. AddChatMessage(0xFFFFFF,"{FF0000}Las Colinas, Los Santos")
  12180. }
  12181. if(params1 == 4.69){
  12182. AddChatMessage(0xFFFFFF,"{FF0000}Las Colinas, Los Santos")
  12183. }
  12184. if(params1 == 3.68){
  12185. AddChatMessage(0xFFFFFF,"{FF0000}Las Colinas, Los Santos")
  12186. }
  12187. if(params1 == 15.152){
  12188. AddChatMessage(0xFFFFFF,"{FF0000}East Los Santos, Los Santos")
  12189. }
  12190. if(params1 == 6.132){
  12191. AddChatMessage(0xFFFFFF,"{FF0000}East Beach, Los Santos")
  12192. }
  12193. if(params1 == 1.1430){
  12194. AddChatMessage(0xFFFFFF,"{FF0000}Presidenten Shamal")
  12195. }
  12196. if(params1 == 1.1073){
  12197. AddChatMessage(0xFFFFFF,"{FF0000}Kaufbare Shamal, Los Santos")
  12198. }
  12199. if(params1 == 7.27){
  12200. AddChatMessage(0xFFFFFF,"{FF0000}Haus neber SH, Los Santos")
  12201. }
  12202. if(params1 == 3.149){
  12203. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  12204. }
  12205. if(params1 == 2.148){
  12206. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  12207. }
  12208. if(params1 == 2.147){
  12209. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  12210. }
  12211. if(params1 == 2.146){
  12212. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  12213. }
  12214. if(params1 == 3.145){
  12215. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  12216. }
  12217. if(params1 == 2.144){
  12218. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  12219. }
  12220. if(params1 == 12.8){
  12221. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt (Villa), Los Santos")
  12222. }
  12223. if(params1 == 2.127){
  12224. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12225. }
  12226. if(params1 == 5.18){
  12227. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Madd Dog Villa), Los Santos")
  12228. }
  12229. if(params1 == 2.62){
  12230. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Ufo Haus), Los Santos")
  12231. }
  12232. if(params1 == 2.128){
  12233. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12234. }
  12235. if(params1 == 4.9){
  12236. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12237. }
  12238. if(params1 == 15.61){
  12239. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12240. }
  12241. if(params1 == 2.129){
  12242. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Holzhaus), Los Santos")
  12243. }
  12244. if(params1 == 2.10){
  12245. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12246. }
  12247. if(params1 == 2.11){
  12248. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12249. }
  12250. if(params1 == 2.13){
  12251. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12252. }
  12253. if(params1 == 3.12){
  12254. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12255. }
  12256. if(params1 == 5.154){
  12257. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Neben der Temple Tanke), Los Santos")
  12258. }
  12259. if(params1 == 2.131){
  12260. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12261. }
  12262. if(params1 == 2.130){
  12263. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12264. }
  12265. if(params1 == 6.92){
  12266. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12267. }
  12268. if(params1 == 2.93){
  12269. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12270. }
  12271. if(params1 == 2.150){
  12272. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12273. }
  12274. if(params1 == 3.91){
  12275. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12276. }
  12277. if(params1 == 2.151){
  12278. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12279. }
  12280. if(params1 == 12.137){
  12281. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Villa), Los Santos")
  12282. }
  12283. if(params1 == 12.138){
  12284. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Villa), Los Santos")
  12285. }
  12286. if(params1 == 12.139){
  12287. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12288. }
  12289. if(params1 == 4.63){
  12290. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  12291. }
  12292. if(params1 == 2.60){
  12293. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12294. }
  12295. if(params1 == 2.146){
  12296. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12297. }
  12298. if(params1 == 7.40){
  12299. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12300. }
  12301. if(params1 == 2.142){
  12302. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12303. }
  12304. if(params1 == 10.7){
  12305. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  12306. }
  12307. if(params1 == 3.141){
  12308. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12309. }
  12310. if(params1 == 7.39){
  12311. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  12312. }
  12313. if(params1 == 5.38){
  12314. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  12315. }
  12316. if(params1 == 5.37){
  12317. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  12318. }
  12319. if(params1 == 7.136){
  12320. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  12321. }
  12322. if(params1 == 12.14){
  12323. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  12324. }
  12325. if(params1 == 2.15){
  12326. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12327. }
  12328. if(params1 == 2.140){
  12329. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12330. }
  12331. if(params1 == 5.41){
  12332. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12333. }
  12334. if(params1 == 3.185){
  12335. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12336. }
  12337. if(params1 == 3.187){
  12338. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  12339. }
  12340. if(params1 == 1.0){
  12341. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  12342. }
  12343. if(params1 == 6.2){
  12344. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  12345. }
  12346. if(params1 == 2.3){
  12347. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  12348. }
  12349. if(params1 == 4.1){
  12350. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  12351. }
  12352. if(params1 == 3.4){
  12353. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  12354. }
  12355. if(params1 == 1.5){
  12356. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  12357. }
  12358. if(params1 == 1.6){
  12359. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  12360. }
  12361. if(params1 == 3.216){
  12362. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  12363. }
  12364. if(params1 == 3.217){
  12365. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  12366. }
  12367. if(params1 == 3.74){
  12368. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  12369. }
  12370. if(params1 == 3.75){
  12371. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  12372. }
  12373. if(params1 == 3.183){
  12374. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  12375. }
  12376. if(params1 == 2.178){
  12377. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  12378. }
  12379. if(params1 == 3.186){
  12380. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  12381. }
  12382. if(params1 == 3.179){
  12383. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  12384. }
  12385. if(params1 == 6.176){
  12386. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  12387. }
  12388. if(params1 == 3.184){
  12389. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  12390. }
  12391. if(params1 == 1.192){
  12392. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Blueberry, Los Santos")
  12393. }
  12394. if(params1 == 1.191){
  12395. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Blueberry, Los Santos")
  12396. }
  12397. if(params1 == 2.181){
  12398. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Fern Ridge, Los Santos (Holzhütte im Wald gegenüber von GF Bauernhof)")
  12399. }
  12400. if(params1 == 4.195){
  12401. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Red County, Los Santos (Bauernhof neben der Autobahn LS-LV)")
  12402. }
  12403. if(params1 == 4.180){
  12404. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12405. }
  12406. if(params1 == 2.199){
  12407. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12408. }
  12409. if(params1 == 4.158){
  12410. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12411. }
  12412. if(params1 == 4.155){
  12413. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12414. }
  12415. if(params1 == 2.157){
  12416. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12417. }
  12418. if(params1 == 3.160){
  12419. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12420. }
  12421. if(params1 == 3.159){
  12422. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12423. }
  12424. if(params1 == 2.177){
  12425. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12426. }
  12427. if(params1 == 12.174){
  12428. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12429. }
  12430. if(params1 == 10.175){
  12431. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12432. }
  12433. if(params1 == 6.156){
  12434. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12435. }
  12436. if(params1 == 3.182){
  12437. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12438. }
  12439. if(params1 == 2.198){
  12440. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  12441. }
  12442. if(params1 == 2.23){
  12443. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  12444. }
  12445. if(params1 == 2.24){
  12446. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  12447. }
  12448. if(params1 == 2.25){
  12449. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  12450. }
  12451. if(params1 == 2.26){
  12452. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  12453. }
  12454. if(params1 == 2.35){
  12455. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  12456. }
  12457. if(params1 == 2.34){
  12458. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  12459. }
  12460. if(params1 == 2.33){
  12461. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  12462. }
  12463. if(params1 == 2.32){
  12464. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  12465. }
  12466. if(params1 == 2.30){
  12467. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  12468. }
  12469. if(params1 == 2.31){
  12470. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  12471. }
  12472. if(params1 == 2.29){
  12473. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  12474. }
  12475. if(params1 == 2.28){
  12476. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  12477. }
  12478. if(params1 == 2.19){
  12479. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  12480. }
  12481. if(params1 == 2.20){
  12482. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  12483. }
  12484. if(params1 == 2.21){
  12485. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  12486. }
  12487. if(params1 == 2.22){
  12488. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  12489. }
  12490. if(params1 == 4.197){
  12491. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple (gegenüber vom Friedhof), Los Santos")
  12492. }
  12493. if(params1 == 6.88){
  12494. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple, Los Santos")
  12495. }
  12496. if(params1 == 3.87){
  12497. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple, Los Santos")
  12498. }
  12499. if(params1 == 2.89){
  12500. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple, Los Santos")
  12501. }
  12502. if(params1 == 2.90){
  12503. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple, Los Santos")
  12504. }
  12505. if(params1 == 6.27){
  12506. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Comerce (Haus neben der Stadthalle), Los Santos")
  12507. }
  12508. if(params1 == 1.102){
  12509. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12510. }
  12511. if(params1 == 1.101){
  12512. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12513. }
  12514. if(params1 == 1.99){
  12515. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12516. }
  12517. if(params1 == 1.110){
  12518. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12519. }
  12520. if(params1 == 1.109){
  12521. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12522. }
  12523. if(params1 == 1.108){
  12524. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12525. }
  12526. if(params1 == 1.107){
  12527. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12528. }
  12529. if(params1 == 1.118){
  12530. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12531. }
  12532. if(params1 == 1.117){
  12533. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12534. }
  12535. if(params1 == 1.116){
  12536. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12537. }
  12538. if(params1 == 1.115){
  12539. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12540. }
  12541. if(params1 == 1.126){
  12542. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12543. }
  12544. if(params1 == 1.125){
  12545. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12546. }
  12547. if(params1 == 1.124){
  12548. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12549. }
  12550. if(params1 == 1.23){
  12551. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  12552. }
  12553. if(params1 == 1.121){
  12554. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12555. }
  12556. if(params1 == 1.122){
  12557. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12558. }
  12559. if(params1 == 1.19){
  12560. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12561. }
  12562. if(params1 == 1.120){
  12563. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12564. }
  12565. if(params1 == 1.112){
  12566. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12567. }
  12568. if(params1 == 1.111){
  12569. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12570. }
  12571. if(params1 == 1.114){
  12572. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12573. }
  12574. if(params1 == 1.113){
  12575. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12576. }
  12577. if(params1 == 1.103){
  12578. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12579. }
  12580. if(params1 == 1.104){
  12581. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12582. }
  12583. if(params1 == 1.106){
  12584. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12585. }
  12586. if(params1 == 1.105){
  12587. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12588. }
  12589. if(params1 == 1.97){
  12590. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12591. }
  12592. if(params1 == 1.98){
  12593. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12594. }
  12595. if(params1 == 1.95){
  12596. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12597. }
  12598. if(params1 == 1.96){
  12599. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  12600. }
  12601. if(params1 == 5.1){
  12602. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Pizza Laden in Ganton, Los Santos")
  12603. }
  12604. if(params1 == 9.3){
  12605. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Cluckin Bell Ganton, Los Santos")
  12606. }
  12607. if(params1 == 15.3){
  12608. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Binco Ganton, Los Santos")
  12609. }
  12610. if(params1 == 15.12){
  12611. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Binco an der Ballas Base, Los Santos")
  12612. }
  12613. if(params1 == 15.4){
  12614. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Binco Downtown, Los Santos")
  12615. }
  12616. if(params1 == 10.2){
  12617. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Tankstelle Temple, Los Santos")
  12618. }
  12619. if(params1 == 20.1){
  12620. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Bank, Los Santos")
  12621. }
  12622. if(params1 == 10.3){
  12623. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN, Los Santos")
  12624. }
  12625. if(params1 == 10.10){
  12626. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSS, Los Santos")
  12627. }
  12628. if(params1 == 9.2){
  12629. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Cluckin Bell Market, Los Santos")
  12630. }
  12631. if(params1 == 15.0){
  12632. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Rodeo Binco, Los Santos")
  12633. }
  12634. if(params1 == 15.11){
  12635. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Rodeo Binco, Los Santos")
  12636. }
  12637. if(params1 == 10.13){
  12638. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 an der Statdhalle, Los Santos")
  12639. }
  12640. if(params1 == 17.0){
  12641. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Alhambra, Los Santos")
  12642. }
  12643. if(params1 == 1.0){
  12644. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ammu, Los Santos")
  12645. }
  12646. if(params1 == 10.15){
  12647. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 Dillimore, Los Santos")
  12648. }
  12649. if(params1 == 10.14){
  12650. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 Palomino Creek, Los Santos")
  12651. }
  12652. if(params1 == 5.4){
  12653. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Pizza Laden Palomino Creek, Los Santos")
  12654. }
  12655. if(params1 == 10.1){
  12656. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 Noob Spawn, Los Santos")
  12657. }
  12658. if(params1 == 10.2){
  12659. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Burger Short Garcia, San Fiero")
  12660. }
  12661. if(params1 == 3.170){
  12662. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats, San Fiero")
  12663. }
  12664. if(params1 == 3.78){
  12665. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats, San Fiero")
  12666. }
  12667. if(params1 == 2.77){
  12668. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats, San Fiero")
  12669. }
  12670. if(params1 == 2.76){
  12671. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats, San Fiero")
  12672. }
  12673. if(params1 == 9.11){
  12674. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats (Cluckin Bell), San Fiero")
  12675. }
  12676. if(params1 == 7.209){
  12677. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Paradison, San Fiero")
  12678. }
  12679. if(params1 == 3.219){
  12680. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Paradison, San Fiero")
  12681. }
  12682. if(params1 == 6.188){
  12683. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Paradison, San Fiero")
  12684. }
  12685. if(params1 == 7.80){
  12686. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Paradison, San Fiero")
  12687. }
  12688. if(params1 == 15.17){
  12689. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jumper Hill, San Fiero")
  12690. }
  12691. if(params1 == 10.11){
  12692. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jumper Hill, San Fiero")
  12693. }
  12694. if(params1 == 2.79){
  12695. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Calton Hights, San Fiero")
  12696. }
  12697. if(params1 == 5.81){
  12698. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Calton Hights (Kringelsraße), San Fiero")
  12699. }
  12700. if(params1 == 15.6){
  12701. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown Binco, San Fiero")
  12702. }
  12703. if(params1 == 10.1){
  12704. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown Burger Shot, San Fiero")
  12705. }
  12706. if(params1 == 9.1){
  12707. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown Cluckin Bell, San Fiero")
  12708. }
  12709. if(params1 == 10.1){
  12710. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown, San Fiero")
  12711. }
  12712. if(params1 == 20.2){
  12713. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown Bank, San Fiero")
  12714. }
  12715. if(params1 == 7.227){
  12716. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Chinatown, San Fiero")
  12717. }
  12718. if(params1 == 9.8){
  12719. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Angel Pine Cluckin Bell, San Fiero")
  12720. }
  12721. if(params1 == 4.0){
  12722. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ammu, San Fiero")
  12723. }
  12724. if(params1 == 4.231){
  12725. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Farm über den Ls-Sf Tunnel, San Fiero")
  12726. }
  12727. if(params1 == 6.213){
  12728. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whetstone Farm, San Fiero")
  12729. }
  12730. if(params1 == 6.210){
  12731. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Flint County Farm, San Fiero")
  12732. }
  12733. if(params1 == 10.4){
  12734. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whetstone Tankstelle, San Fiero")
  12735. }
  12736. if(params1 == 4.173){
  12737. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Wohnwagensiedlung, San Fiero")
  12738. }
  12739. if(params1 == 6.0){
  12740. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ammu, Las Venturas")
  12741. }
  12742. if(params1 == 12.201){
  12743. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Cluckin Bell neben der Yakuza Base, Las Venturas")
  12744. }
  12745. if(params1 == 10.6){
  12746. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Burger Shot neben der Yakuza Base, Las Venturas")
  12747. }
  12748. if(params1 == 10.5){
  12749. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Old Venturas Strip 24/7, Las Venturas")
  12750. }
  12751. if(params1 == 10.7){
  12752. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 Neben der Yakuza Base, Las Venturas")
  12753. }
  12754. if(params1 == 20.3){
  12755. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in der Bank, Las Venturas")
  12756. }
  12757. if(params1 == 10.5){
  12758. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  12759. }
  12760. if(params1 == 9.10){
  12761. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  12762. }
  12763. if(params1 == 15.16){
  12764. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  12765. }
  12766. if(params1 == 15.15){
  12767. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  12768. }
  12769. if(params1 == 15.14){
  12770. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  12771. }
  12772. if(params1 == 15.8){
  12773. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Binco neben den Krankenhaus, Las Venturas")
  12774. }
  12775. if(params1 == 10.9){
  12776. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Burger Shot Redsands East, Las Venturas")
  12777. }
  12778. if(params1 == 1.109){
  12779. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12780. }
  12781. if(params1 == 3.168){
  12782. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12783. }
  12784. if(params1 == 2.86){
  12785. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12786. }
  12787. if(params1 == 1.166){
  12788. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12789. }
  12790. if(params1 == 6.165){
  12791. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12792. }
  12793. if(params1 == 2.164){
  12794. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12795. }
  12796. if(params1 == 1.163){
  12797. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12798. }
  12799. if(params1 == 2.82){
  12800. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12801. }
  12802. if(params1 == 2.167){
  12803. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12804. }
  12805. if(params1 == 2.83){
  12806. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12807. }
  12808. if(params1 == 3.84){
  12809. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12810. }
  12811. if(params1 == 3.85){
  12812. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  12813. }
  12814. if(params1 == 4.211){
  12815. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Prikle Pine, Las Venturas")
  12816. }
  12817. if(params1 == 3.212){
  12818. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Prikle Pine, Las Venturas")
  12819. }
  12820. if(params1 == 15.2){
  12821. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  12822. }
  12823. if(params1 == 9.5){
  12824. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  12825. }
  12826. if(params1 == 10.9){
  12827. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  12828. }
  12829. if(params1 == 15.1){
  12830. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  12831. }
  12832. if(params1 == 5.2){
  12833. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  12834. }
  12835. if(params1 == 10.8){
  12836. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 neben der O-Amt Base, Las Venturas")
  12837. }
  12838. if(params1 == 4.196){
  12839. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  12840. }
  12841. if(params1 == 2.17){
  12842. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  12843. }
  12844. if(params1 == 2.208){
  12845. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  12846. }
  12847. if(params1 == 3.193){
  12848. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  12849. }
  12850. if(params1 == 2.194){
  12851. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  12852. }
  12853. if(params1 == 1.161){
  12854. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Valle Ocultado, Las Venturas")
  12855. }
  12856. if(params1 == 4.153){
  12857. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Bayside, Las Venturas")
  12858. }
  12859. if(params1 == 9.7){
  12860. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Cluckin Bell Tiera Robada, Las Venturas")
  12861. }
  12862. if(params1 == 2.214){
  12863. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Fort Carson, Las Venturas")
  12864. }
  12865. if(params1 == 6.225){
  12866. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Bone County Puff, Las Venturas")
  12867. }
  12868. if(params1 == 5.225){
  12869. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Piligrim, Las Venturas")
  12870. }
  12871. if(params1 == 1.171){
  12872. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Tiera Roba Wunschhaus, Las Venturas")
  12873. }
  12874. if(params1 == 8.206){
  12875. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in S.F.Rifa Base, San Fiero")
  12876. }
  12877. if(params1 == 12.200){
  12878. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Russen Mafia Base, Las Venturas")
  12879. }
  12880. if(params1 == 6.0){
  12881. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Los Santos Polizei, Los Santos")
  12882. }
  12883. if(params1 == 10.0){
  12884. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in FBI, San Fiero")
  12885. }
  12886. if(params1 == 8.207){
  12887. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Los Santos Vagos Base, Los Santos")
  12888. }
  12889. if(params1 == 3.1){
  12890. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Las Venturas Polizei, Las Venturas")
  12891. }
  12892. if(params1 == 3.203){
  12893. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Grove Street Base, Los Santos")
  12894. }
  12895. if(params1 == 5.204){
  12896. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ballas Base, Los Santos")
  12897. }
  12898. if(params1 == 3.0){
  12899. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Stadthalle, Los Santos")
  12900. }
  12901. if(params1 == 5.172){
  12902. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Presidenten Villa, Los Santos")
  12903. }
  12904. if(params1 == 1.224){
  12905. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Triaden Base, San Fiero")
  12906. }
  12907. if(params1 == 10.3){
  12908. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 neben BSN, Los Santos")
  12909. }
  12910. if(params1 == 6.162){
  12911. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Haus neben FFH, Las Venturas")
  12912. }
  12913. if(params1 == 3.189){
  12914. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Haus neben der San News Base, Las Venturas")
  12915. }
  12916. if(params1 == 6.73){
  12917. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  12918. }
  12919. if(params1 == 3.71){
  12920. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  12921. }
  12922. if(params1 == 8.72){
  12923. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  12924. }
  12925. if(params1 == 3.202){
  12926. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in der Hitman Base, Las Venturas")
  12927. }
  12928. if(params1 == 1.201){
  12929. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in der Yakuza Base, Las Venturas")
  12930. }
  12931. if(params1 == 2.190){
  12932. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Bayside, Las Venturas")
  12933. }
  12934. if(params1 == 8.205){
  12935. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in der LCM Base, Las Venturas")
  12936. }
  12937. if(params1 == 8.226){
  12938. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Verona Beach, Los Santos")
  12939. }
  12940. if(params1 == 15.9){
  12941. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Rodeo Binco, Los Santos")
  12942. }
  12943. if(params1 == 15.221){
  12944. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in El Castilo Del Diablo, Las Venturas")
  12945. }
  12946. if(params1 == 8.220){
  12947. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in El Castilo Del Diablo, Las Venturas")
  12948. }
  12949. if(params1 == 4.223){
  12950. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in El Castilo Del Diablo, Las Venturas")
  12951. }
  12952. if(params1 == 5.222){
  12953. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in El Castilo Del Diablo, Las Venturas")
  12954. }
  12955. if(params1 == 9.75){
  12956. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befinindet sich in Marina (Jetty Lounge), Los Santos")
  12957. }
  12958. return
  12959. gktimer:
  12960. GetChatLine(0,line)
  12961. if(InStr(line, "Der Spieler befindet sich in Gebäudekomplex"))
  12962. {
  12963. RegExMatch(line,"Der Spieler befindet sich in Gebäudekomplex (.*)",params)
  12964. if(params1 == 1.67){
  12965. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12966. }
  12967. if(params1 == 1.66){
  12968. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12969. }
  12970. if(params1 == 2.65){
  12971. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12972. }
  12973. if(params1 == 2.64){
  12974. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12975. }
  12976. if(params1 == 3.135){
  12977. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12978. }
  12979. if(params1 == 3.134){
  12980. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12981. }
  12982. if(params1 == 2.133){
  12983. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jefferson, Los Santos")
  12984. }
  12985. if(params1 == 1.42){
  12986. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12987. }
  12988. if(params1 == 1.43){
  12989. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12990. }
  12991. if(params1 == 1.44){
  12992. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12993. }
  12994. if(params1 == 1.45){
  12995. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12996. }
  12997. if(params1 == 1.46){
  12998. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  12999. }
  13000. if(params1 == 1.47){
  13001. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  13002. }
  13003. if(params1 == 1.48){
  13004. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  13005. }
  13006. if(params1 == 1.49){
  13007. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  13008. }
  13009. if(params1 == 1.94){
  13010. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Unten, Los Santos")
  13011. }
  13012. if(params1 == 1.59){
  13013. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13014. }
  13015. if(params1 == 1.58){
  13016. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13017. }
  13018. if(params1 == 1.57){
  13019. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13020. }
  13021. if(params1 == 1.56){
  13022. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13023. }
  13024. if(params1 == 1.55){
  13025. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13026. }
  13027. if(params1 == 1.54){
  13028. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13029. }
  13030. if(params1 == 1.53){
  13031. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13032. }
  13033. if(params1 == 1.52){
  13034. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13035. }
  13036. if(params1 == 1.51){
  13037. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13038. }
  13039. if(params1 == 1.50){
  13040. AddChatMessage(0xFFFFFF,"{FF0000}Idlewood Apartment Oben, Los Santos")
  13041. }
  13042. if(params1 == 2.70){
  13043. AddChatMessage(0xFFFFFF,"{FF0000}Las Colinas, Los Santos")
  13044. }
  13045. if(params1 == 4.69){
  13046. AddChatMessage(0xFFFFFF,"{FF0000}Las Colinas, Los Santos")
  13047. }
  13048. if(params1 == 3.68){
  13049. AddChatMessage(0xFFFFFF,"{FF0000}Las Colinas, Los Santos")
  13050. }
  13051. if(params1 == 15.152){
  13052. AddChatMessage(0xFFFFFF,"{FF0000}East Los Santos, Los Santos")
  13053. }
  13054. if(params1 == 6.132){
  13055. AddChatMessage(0xFFFFFF,"{FF0000}East Beach, Los Santos")
  13056. }
  13057. if(params1 == 1.1430){
  13058. AddChatMessage(0xFFFFFF,"{FF0000}Presidenten Shamal")
  13059. }
  13060. if(params1 == 1.1073){
  13061. AddChatMessage(0xFFFFFF,"{FF0000}Kaufbare Shamal, Los Santos")
  13062. }
  13063. if(params1 == 7.27){
  13064. AddChatMessage(0xFFFFFF,"{FF0000}Haus neber SH, Los Santos")
  13065. }
  13066. if(params1 == 3.149){
  13067. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  13068. }
  13069. if(params1 == 2.148){
  13070. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  13071. }
  13072. if(params1 == 2.147){
  13073. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  13074. }
  13075. if(params1 == 2.146){
  13076. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  13077. }
  13078. if(params1 == 3.145){
  13079. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  13080. }
  13081. if(params1 == 2.144){
  13082. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt, Los Santos")
  13083. }
  13084. if(params1 == 12.8){
  13085. AddChatMessage(0xFFFFFF,"{FF0000}Mulholland Vinewood Auffahrt (Villa), Los Santos")
  13086. }
  13087. if(params1 == 2.127){
  13088. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13089. }
  13090. if(params1 == 5.18){
  13091. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Madd Dog Villa), Los Santos")
  13092. }
  13093. if(params1 == 2.62){
  13094. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Ufo Haus), Los Santos")
  13095. }
  13096. if(params1 == 2.128){
  13097. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13098. }
  13099. if(params1 == 4.9){
  13100. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13101. }
  13102. if(params1 == 15.61){
  13103. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13104. }
  13105. if(params1 == 2.129){
  13106. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Holzhaus), Los Santos")
  13107. }
  13108. if(params1 == 2.10){
  13109. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13110. }
  13111. if(params1 == 2.11){
  13112. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13113. }
  13114. if(params1 == 2.13){
  13115. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13116. }
  13117. if(params1 == 3.12){
  13118. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13119. }
  13120. if(params1 == 5.154){
  13121. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Neben der Temple Tanke), Los Santos")
  13122. }
  13123. if(params1 == 2.131){
  13124. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13125. }
  13126. if(params1 == 2.130){
  13127. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13128. }
  13129. if(params1 == 6.92){
  13130. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13131. }
  13132. if(params1 == 2.93){
  13133. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13134. }
  13135. if(params1 == 2.150){
  13136. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13137. }
  13138. if(params1 == 3.91){
  13139. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13140. }
  13141. if(params1 == 2.151){
  13142. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13143. }
  13144. if(params1 == 12.137){
  13145. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Villa), Los Santos")
  13146. }
  13147. if(params1 == 12.138){
  13148. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland(Villa), Los Santos")
  13149. }
  13150. if(params1 == 12.139){
  13151. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13152. }
  13153. if(params1 == 4.63){
  13154. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Mulholland, Los Santos")
  13155. }
  13156. if(params1 == 2.60){
  13157. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13158. }
  13159. if(params1 == 2.146){
  13160. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13161. }
  13162. if(params1 == 7.40){
  13163. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13164. }
  13165. if(params1 == 2.142){
  13166. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13167. }
  13168. if(params1 == 10.7){
  13169. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  13170. }
  13171. if(params1 == 3.141){
  13172. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13173. }
  13174. if(params1 == 7.39){
  13175. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  13176. }
  13177. if(params1 == 5.38){
  13178. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  13179. }
  13180. if(params1 == 5.37){
  13181. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  13182. }
  13183. if(params1 == 7.136){
  13184. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  13185. }
  13186. if(params1 == 12.14){
  13187. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman(Villa), Los Santos")
  13188. }
  13189. if(params1 == 2.15){
  13190. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13191. }
  13192. if(params1 == 2.140){
  13193. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13194. }
  13195. if(params1 == 5.41){
  13196. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13197. }
  13198. if(params1 == 3.185){
  13199. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13200. }
  13201. if(params1 == 3.187){
  13202. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Richman, Los Santos")
  13203. }
  13204. if(params1 == 1.0){
  13205. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  13206. }
  13207. if(params1 == 6.2){
  13208. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  13209. }
  13210. if(params1 == 2.3){
  13211. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  13212. }
  13213. if(params1 == 4.1){
  13214. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  13215. }
  13216. if(params1 == 3.4){
  13217. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  13218. }
  13219. if(params1 == 1.5){
  13220. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  13221. }
  13222. if(params1 == 1.6){
  13223. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Santa Maria Beach, Los Santos")
  13224. }
  13225. if(params1 == 3.216){
  13226. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  13227. }
  13228. if(params1 == 3.217){
  13229. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  13230. }
  13231. if(params1 == 3.74){
  13232. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  13233. }
  13234. if(params1 == 3.75){
  13235. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  13236. }
  13237. if(params1 == 3.183){
  13238. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  13239. }
  13240. if(params1 == 2.178){
  13241. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  13242. }
  13243. if(params1 == 3.186){
  13244. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  13245. }
  13246. if(params1 == 3.179){
  13247. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  13248. }
  13249. if(params1 == 6.176){
  13250. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  13251. }
  13252. if(params1 == 3.184){
  13253. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Dillimore, Los Santos")
  13254. }
  13255. if(params1 == 1.192){
  13256. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Blueberry, Los Santos")
  13257. }
  13258. if(params1 == 1.191){
  13259. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Blueberry, Los Santos")
  13260. }
  13261. if(params1 == 2.181){
  13262. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Fern Ridge, Los Santos (Holzhütte im Wald gegenüber von GF Bauernhof)")
  13263. }
  13264. if(params1 == 4.195){
  13265. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Red County, Los Santos (Bauernhof neben der Autobahn LS-LV)")
  13266. }
  13267. if(params1 == 4.180){
  13268. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13269. }
  13270. if(params1 == 2.199){
  13271. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13272. }
  13273. if(params1 == 4.158){
  13274. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13275. }
  13276. if(params1 == 4.155){
  13277. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13278. }
  13279. if(params1 == 2.157){
  13280. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13281. }
  13282. if(params1 == 3.160){
  13283. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13284. }
  13285. if(params1 == 3.159){
  13286. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13287. }
  13288. if(params1 == 2.177){
  13289. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13290. }
  13291. if(params1 == 12.174){
  13292. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13293. }
  13294. if(params1 == 10.175){
  13295. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13296. }
  13297. if(params1 == 6.156){
  13298. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13299. }
  13300. if(params1 == 3.182){
  13301. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13302. }
  13303. if(params1 == 2.198){
  13304. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in palomino creek, Los Santos")
  13305. }
  13306. if(params1 == 2.23){
  13307. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  13308. }
  13309. if(params1 == 2.24){
  13310. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  13311. }
  13312. if(params1 == 2.25){
  13313. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  13314. }
  13315. if(params1 == 2.26){
  13316. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  13317. }
  13318. if(params1 == 2.35){
  13319. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  13320. }
  13321. if(params1 == 2.34){
  13322. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  13323. }
  13324. if(params1 == 2.33){
  13325. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  13326. }
  13327. if(params1 == 2.32){
  13328. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Oben, Los Santos")
  13329. }
  13330. if(params1 == 2.30){
  13331. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  13332. }
  13333. if(params1 == 2.31){
  13334. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  13335. }
  13336. if(params1 == 2.29){
  13337. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  13338. }
  13339. if(params1 == 2.28){
  13340. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  13341. }
  13342. if(params1 == 2.19){
  13343. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  13344. }
  13345. if(params1 == 2.20){
  13346. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  13347. }
  13348. if(params1 == 2.21){
  13349. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  13350. }
  13351. if(params1 == 2.22){
  13352. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple Apartment Unten, Los Santos")
  13353. }
  13354. if(params1 == 4.197){
  13355. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple (gegenüber vom Friedhof), Los Santos")
  13356. }
  13357. if(params1 == 6.88){
  13358. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple, Los Santos")
  13359. }
  13360. if(params1 == 3.87){
  13361. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple, Los Santos")
  13362. }
  13363. if(params1 == 2.89){
  13364. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple, Los Santos")
  13365. }
  13366. if(params1 == 2.90){
  13367. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Temple, Los Santos")
  13368. }
  13369. if(params1 == 6.27){
  13370. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Comerce (Haus neben der Stadthalle), Los Santos")
  13371. }
  13372. if(params1 == 1.102){
  13373. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13374. }
  13375. if(params1 == 1.101){
  13376. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13377. }
  13378. if(params1 == 1.99){
  13379. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13380. }
  13381. if(params1 == 1.110){
  13382. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13383. }
  13384. if(params1 == 1.109){
  13385. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13386. }
  13387. if(params1 == 1.108){
  13388. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13389. }
  13390. if(params1 == 1.107){
  13391. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13392. }
  13393. if(params1 == 1.118){
  13394. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13395. }
  13396. if(params1 == 1.117){
  13397. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13398. }
  13399. if(params1 == 1.116){
  13400. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13401. }
  13402. if(params1 == 1.115){
  13403. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13404. }
  13405. if(params1 == 1.126){
  13406. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13407. }
  13408. if(params1 == 1.125){
  13409. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13410. }
  13411. if(params1 == 1.124){
  13412. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13413. }
  13414. if(params1 == 1.23){
  13415. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Oben, Los Santos")
  13416. }
  13417. if(params1 == 1.121){
  13418. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13419. }
  13420. if(params1 == 1.122){
  13421. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13422. }
  13423. if(params1 == 1.19){
  13424. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13425. }
  13426. if(params1 == 1.120){
  13427. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13428. }
  13429. if(params1 == 1.112){
  13430. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13431. }
  13432. if(params1 == 1.111){
  13433. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13434. }
  13435. if(params1 == 1.114){
  13436. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13437. }
  13438. if(params1 == 1.113){
  13439. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13440. }
  13441. if(params1 == 1.103){
  13442. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13443. }
  13444. if(params1 == 1.104){
  13445. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13446. }
  13447. if(params1 == 1.106){
  13448. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13449. }
  13450. if(params1 == 1.105){
  13451. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13452. }
  13453. if(params1 == 1.97){
  13454. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13455. }
  13456. if(params1 == 1.98){
  13457. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13458. }
  13459. if(params1 == 1.95){
  13460. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13461. }
  13462. if(params1 == 1.96){
  13463. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN Apartment Unten, Los Santos")
  13464. }
  13465. if(params1 == 5.1){
  13466. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Pizza Laden in Ganton, Los Santos")
  13467. }
  13468. if(params1 == 9.3){
  13469. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Cluckin Bell Ganton, Los Santos")
  13470. }
  13471. if(params1 == 15.3){
  13472. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Binco Ganton, Los Santos")
  13473. }
  13474. if(params1 == 15.12){
  13475. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Binco an der Ballas Base, Los Santos")
  13476. }
  13477. if(params1 == 15.4){
  13478. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Binco Downtown, Los Santos")
  13479. }
  13480. if(params1 == 10.2){
  13481. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Tankstelle Temple, Los Santos")
  13482. }
  13483. if(params1 == 20.1){
  13484. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Bank, Los Santos")
  13485. }
  13486. if(params1 == 10.3){
  13487. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSN, Los Santos")
  13488. }
  13489. if(params1 == 10.10){
  13490. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in BSS, Los Santos")
  13491. }
  13492. if(params1 == 9.2){
  13493. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Cluckin Bell Market, Los Santos")
  13494. }
  13495. if(params1 == 15.0){
  13496. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Rodeo Binco, Los Santos")
  13497. }
  13498. if(params1 == 15.11){
  13499. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Rodeo Binco, Los Santos")
  13500. }
  13501. if(params1 == 10.13){
  13502. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 an der Statdhalle, Los Santos")
  13503. }
  13504. if(params1 == 17.0){
  13505. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Alhambra, Los Santos")
  13506. }
  13507. if(params1 == 1.0){
  13508. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ammu, Los Santos")
  13509. }
  13510. if(params1 == 10.15){
  13511. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 Dillimore, Los Santos")
  13512. }
  13513. if(params1 == 10.14){
  13514. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 Palomino Creek, Los Santos")
  13515. }
  13516. if(params1 == 5.4){
  13517. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Pizza Laden Palomino Creek, Los Santos")
  13518. }
  13519. if(params1 == 10.1){
  13520. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 Noob Spawn, Los Santos")
  13521. }
  13522. if(params1 == 10.2){
  13523. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Burger Short Garcia, San Fiero")
  13524. }
  13525. if(params1 == 3.170){
  13526. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats, San Fiero")
  13527. }
  13528. if(params1 == 3.78){
  13529. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats, San Fiero")
  13530. }
  13531. if(params1 == 2.77){
  13532. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats, San Fiero")
  13533. }
  13534. if(params1 == 2.76){
  13535. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats, San Fiero")
  13536. }
  13537. if(params1 == 9.11){
  13538. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ocean Flats (Cluckin Bell), San Fiero")
  13539. }
  13540. if(params1 == 7.209){
  13541. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Paradison, San Fiero")
  13542. }
  13543. if(params1 == 3.219){
  13544. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Paradison, San Fiero")
  13545. }
  13546. if(params1 == 6.188){
  13547. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Paradison, San Fiero")
  13548. }
  13549. if(params1 == 7.80){
  13550. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Paradison, San Fiero")
  13551. }
  13552. if(params1 == 15.17){
  13553. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jumper Hill, San Fiero")
  13554. }
  13555. if(params1 == 10.11){
  13556. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Jumper Hill, San Fiero")
  13557. }
  13558. if(params1 == 2.79){
  13559. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Calton Hights, San Fiero")
  13560. }
  13561. if(params1 == 5.81){
  13562. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Calton Hights (Kringelsraße), San Fiero")
  13563. }
  13564. if(params1 == 15.6){
  13565. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown Binco, San Fiero")
  13566. }
  13567. if(params1 == 10.1){
  13568. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown Burger Shot, San Fiero")
  13569. }
  13570. if(params1 == 9.1){
  13571. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown Cluckin Bell, San Fiero")
  13572. }
  13573. if(params1 == 10.1){
  13574. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown, San Fiero")
  13575. }
  13576. if(params1 == 20.2){
  13577. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Downtown Bank, San Fiero")
  13578. }
  13579. if(params1 == 7.227){
  13580. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Chinatown, San Fiero")
  13581. }
  13582. if(params1 == 9.8){
  13583. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Angel Pine Cluckin Bell, San Fiero")
  13584. }
  13585. if(params1 == 4.0){
  13586. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ammu, San Fiero")
  13587. }
  13588. if(params1 == 4.231){
  13589. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Farm über den Ls-Sf Tunnel, San Fiero")
  13590. }
  13591. if(params1 == 6.213){
  13592. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whetstone Farm, San Fiero")
  13593. }
  13594. if(params1 == 6.210){
  13595. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Flint County Farm, San Fiero")
  13596. }
  13597. if(params1 == 10.4){
  13598. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whetstone Tankstelle, San Fiero")
  13599. }
  13600. if(params1 == 4.173){
  13601. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Wohnwagensiedlung, San Fiero")
  13602. }
  13603. if(params1 == 6.0){
  13604. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ammu, Las Venturas")
  13605. }
  13606. if(params1 == 9.9){
  13607. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Cluckin Bell neben der Yakuza Base, Las Venturas")
  13608. }
  13609. if(params1 == 10.6){
  13610. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Burger Shot neben der Yakuza Base, Las Venturas")
  13611. }
  13612. if(params1 == 10.5){
  13613. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Old Venturas Strip 24/7, Las Venturas")
  13614. }
  13615. if(params1 == 10.7){
  13616. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 Neben der Yakuza Base, Las Venturas")
  13617. }
  13618. if(params1 == 20.3){
  13619. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in der Bank, Las Venturas")
  13620. }
  13621. if(params1 == 10.5){
  13622. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  13623. }
  13624. if(params1 == 9.10){
  13625. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  13626. }
  13627. if(params1 == 15.16){
  13628. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  13629. }
  13630. if(params1 == 15.15){
  13631. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  13632. }
  13633. if(params1 == 15.14){
  13634. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Creek Kaufhaus, Las Venturas")
  13635. }
  13636. if(params1 == 15.8){
  13637. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Binco neben den Krankenhaus, Las Venturas")
  13638. }
  13639. if(params1 == 10.9){
  13640. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Burger Shot Redsands East, Las Venturas")
  13641. }
  13642. if(params1 == 1.109){
  13643. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13644. }
  13645. if(params1 == 3.168){
  13646. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13647. }
  13648. if(params1 == 2.86){
  13649. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13650. }
  13651. if(params1 == 1.166){
  13652. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13653. }
  13654. if(params1 == 6.165){
  13655. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13656. }
  13657. if(params1 == 2.164){
  13658. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13659. }
  13660. if(params1 == 1.163){
  13661. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13662. }
  13663. if(params1 == 2.82){
  13664. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13665. }
  13666. if(params1 == 2.167){
  13667. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13668. }
  13669. if(params1 == 2.83){
  13670. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13671. }
  13672. if(params1 == 3.84){
  13673. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13674. }
  13675. if(params1 == 3.85){
  13676. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Redsands West, Las Venturas")
  13677. }
  13678. if(params1 == 4.211){
  13679. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Prikle Pine, Las Venturas")
  13680. }
  13681. if(params1 == 3.212){
  13682. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Prikle Pine, Las Venturas")
  13683. }
  13684. if(params1 == 15.2){
  13685. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  13686. }
  13687. if(params1 == 9.5){
  13688. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  13689. }
  13690. if(params1 == 10.9){
  13691. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  13692. }
  13693. if(params1 == 15.1){
  13694. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  13695. }
  13696. if(params1 == 5.2){
  13697. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Kaufhaus Strip, Las Venturas")
  13698. }
  13699. if(params1 == 10.8){
  13700. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 neben der O-Amt Base, Las Venturas")
  13701. }
  13702. if(params1 == 4.196){
  13703. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  13704. }
  13705. if(params1 == 2.17){
  13706. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  13707. }
  13708. if(params1 == 2.208){
  13709. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  13710. }
  13711. if(params1 == 3.193){
  13712. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  13713. }
  13714. if(params1 == 2.194){
  13715. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Whitewood Estates, Las Venturas")
  13716. }
  13717. if(params1 == 1.161){
  13718. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Valle Ocultado, Las Venturas")
  13719. }
  13720. if(params1 == 4.153){
  13721. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Bayside, Las Venturas")
  13722. }
  13723. if(params1 == 9.7){
  13724. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Cluckin Bell Tiera Robada, Las Venturas")
  13725. }
  13726. if(params1 == 2.214){
  13727. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Fort Carson, Las Venturas")
  13728. }
  13729. if(params1 == 6.225){
  13730. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Bone County Puff, Las Venturas")
  13731. }
  13732. if(params1 == 5.225){
  13733. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Piligrim, Las Venturas")
  13734. }
  13735. if(params1 == 1.171){
  13736. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Tiera Roba Wunschhaus, Las Venturas")
  13737. }
  13738. if(params1 == 6.0){
  13739. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Los Santos Polizei, Los Santos")
  13740. }
  13741. if(params1 == 10.0){
  13742. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in FBI, San Fiero")
  13743. }
  13744. if(params1 == 5.204){
  13745. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Ballas Base, Los Santos")
  13746. }
  13747. if(params1 == 3.0){
  13748. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Stadthalle, Los Santos")
  13749. }
  13750. if(params1 == 5.172){
  13751. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Presidenten Villa, Los Santos")
  13752. }
  13753. if(params1 == 1.224){
  13754. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Triaden Base, San Fiero")
  13755. }
  13756. if(params1 == 10.3){
  13757. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in 24/7 neben BSN, Los Santos")
  13758. }
  13759. if(params1 == 6.162){
  13760. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Haus neben FFH, Las Venturas")
  13761. }
  13762. if(params1 == 3.189){
  13763. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Haus neben der San News Base, Las Venturas")
  13764. }
  13765. if(params1 == 6.73){
  13766. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  13767. }
  13768. if(params1 == 3.71){
  13769. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  13770. }
  13771. if(params1 == 8.72){
  13772. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Marina, Los Santos")
  13773. }
  13774. if(params1 == 3.202){
  13775. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in der Hitman Base, Las Venturas")
  13776. }
  13777. if(params1 == 2.190){
  13778. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Bayside, Las Venturas")
  13779. }
  13780. if(params1 == 8.226){
  13781. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Verona Beach, Los Santos")
  13782. }
  13783. if(params1 == 15.9){
  13784. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in Rodeo Binco, Los Santos")
  13785. }
  13786. if(params1 == 15.221){
  13787. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in El Castilo Del Diablo, Las Venturas")
  13788. }
  13789. if(params1 == 8.220){
  13790. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in El Castilo Del Diablo, Las Venturas")
  13791. }
  13792. if(params1 == 4.223){
  13793. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in El Castilo Del Diablo, Las Venturas")
  13794. }
  13795. if(params1 == 5.222){
  13796. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in El Castilo Del Diablo, Las Venturas")
  13797. }
  13798. if(params1 == 9.75){
  13799. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befinindet sich in Marina (Jetty Lounge), Los Santos")
  13800. }
  13801. if(params1 == 3.206){
  13802. AddChatMessage(0xFFFFFF,"{FF0000}Der Spieler befindet sich in der San Fierro Rifa Base, Hashbury")
  13803. }
  13804. }
  13805. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement