Advertisement
Guest User

walker rgn keybinder

a guest
Apr 17th, 2016
1,172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 361.71 KB | None | 0 0
  1. version := 9.9
  2. FTPServer := "http://51.255.151.198/waLkerKeybinder"
  3. setbatchlines -1
  4. #SingleInstance
  5. IfNotExist,%A_MyDocuments%\TaKe-Binder
  6. {
  7. StreamTrayTip("TaKe-Binder","Verzeichnis wird erstellt.", 3)
  8. Activity("Verzeichniss wurde erstellt.")
  9. FileCreateDir, %A_MyDocuments%\TaKe-Binder
  10. }
  11. FormatTime,TagMonatYahr,,dd.MM.yyyy
  12. FormatTime,MonatYahr,,MMMM yyyy
  13. SetWorkingDir %A_MyDocuments%\TaKe-Binder
  14. IfNotExist, Zinsen
  15. {
  16. StreamTrayTip("TaKe-Binder","Zinsen Ordner wird erstellt.", 3)
  17. FileCreateDir, %A_MyDocuments%\TaKe-Binder\Zinsen
  18. }
  19. IfNotExist, %A_WorkingDir%\komplexe.ini
  20. {
  21. StreamTrayTip("TaKe-Binder","Komplexe.ini wird runtergeladen.", 3)
  22. URLDownloadToFile,%FTPServer%/komplexe.ini,komplexe.ini
  23. }
  24. IfNotExist, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini
  25. {
  26. IniWrite,0, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  27. Iniwrite,0, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  28. }
  29. Ifnotexist, Zinsen/Monatsstatistik im %MonatYahr%.ini
  30. {
  31. IniWrite,0,Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  32. Iniwrite,0,Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  33. }
  34. Ifnotexist, Statistik/Monats KD im %MonatYahr%.ini
  35. {
  36. Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  37. Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  38. }
  39. IfNotExist,Waffenstats\Monatsstats
  40. {
  41. StreamTrayTip("TaKe-Binder","Monatsstats Ordner wird erstellt.", 3)
  42. Activity("Monatsstats Ordner wurde erstellt.")
  43. FileCreateDir,Waffenstats\Monatsstats
  44. }
  45. IfNotExist,Waffenstats\Wochenstats
  46. {
  47. StreamTrayTip("TaKe-Binder","Wochenstats Ordner wird erstellt.", 3)
  48. Activity("Wochenstats Ordner wurde erstellt.")
  49. FileCreateDir,Waffenstats\Wochenstats
  50. }
  51. IfNotExist,Waffenstats\Tagesstats
  52. {
  53. StreamTrayTip("TaKe-Binder","Tagesstats Ordner wird erstellt.", 3)
  54. Activity("Tagesstats Ordner wurde erstellt.")
  55. FileCreateDir,Waffenstats\Tagesstats
  56. IniWrite, 0, Waffenstats\Monatsstats\Waffenstats von %A_MMMM%. %A_YYYY%.ini,Monat,Waffenlog
  57. IniWrite, 0, Waffenstats\Wochenstats\Waffenstats von %A_YWeek% . %A_YYYY%.ini,Woche,Waffenlog
  58. IniWrite, 0, Waffenstats\Tagesstats\Waffenstats von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Waffenlog
  59. IniWrite, 0,Waffenstats\Gesamtwaffenstats.ini,Gesammt,Gesammtausgaben
  60. }
  61. IfNotExist,Waffenstats\Gesamtwaffenstats.ini
  62. {
  63. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  64. Activity("Gesamtwaffenstats.ini wurde erstellt.")
  65. IniWrite, 0, Waffenstats\Gesamtwaffenstats.ini,Gesammt,Letzteausgaben
  66. IniWrite, 0, Waffenstats\Gesamtwaffenstats.ini,Gesammt,Gesammtausgaben
  67. }
  68. IfNotExist,%A_WorkingDir%\back01.png
  69. {
  70. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  71. Activity("Background1 wird geladen.")
  72. URLDownloadToFile,%FTPServer%/back01.png,back01.png
  73. }
  74. IfNotExist,%A_WorkingDir%\back02.png
  75. {
  76. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  77. Activity("Background2 wird geladen.")
  78. URLDownloadToFile,%FTPServer%/back02.png,back02.png
  79. }
  80. IfNotExist,%A_WorkingDir%\back03.png
  81. {
  82. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  83. Activity("Background3 wird geladen.")
  84. URLDownloadToFile,%FTPServer%/back03.png,back03.png
  85. }
  86. IfNotExist,%A_WorkingDir%\RGN-Stats-API.dll
  87. {
  88. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  89. Activity("RGN-Stats-API.dll wird geladen")
  90. URLDownloadToFile,%FTPServer%/RGN-Stats-API.dll,RGN-Stats-API.dll
  91. }
  92. IfNotExist,%A_WorkingDir%\getGametext.dll
  93. {
  94. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  95. Activity("getGametext.dll wird geladen")
  96. URLDownloadToFile,%FTPServer%/getGametext.dll,getGametext.dll
  97. }
  98. IfNotExist,%A_WorkingDir%\dx9_overlay.dll
  99. {
  100. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  101. Activity("benötigte Overlay.dll wird geladen.")
  102. URLDownloadToFile,%FTPServer%/dx9_overlay.dll,dx9_overlay.dll
  103. }
  104. IfNotExist,%A_WorkingDir%\Statistik
  105. {
  106. FileCreateDir, %A_WorkingDir%\Statistik
  107. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  108. Activity("Statistik-Ordner erstellt")
  109. }
  110. IfNotExist,%A_WorkingDir%\Statistik\Old
  111. {
  112. FileCreateDir, %A_WorkingDir%\Statistik\Old
  113. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  114. Activity("Statistik-Ordner Old erstellt")
  115. }
  116. IfNotExist,%A_WorkingDir%\gegner.ini
  117. {
  118. FileAppend,Gegnerliste`n,%A_WorkingDir%\gegner.ini
  119. }
  120. IfNotExist,%A_WorkingDir%\sticks.wav
  121. {
  122. URLDownloadToFile,%FTPServer%/sticks.wav,sticks.wav
  123. }
  124. IfNotExist,%A_WorkingDir%\thomas.wav
  125. {
  126. URLDownloadToFile,%FTPServer%/thomas.wav,thomas.wav
  127. }
  128. IfNotExist,%A_WorkingDir%\leo.wav
  129. {
  130. URLDownloadToFile,%FTPServer%/leo.wav,leo.wav
  131. }
  132. IfNotExist,%A_WorkingDir%\sms.wav
  133. {
  134. URLDownloadToFile,%FTPServer%/sms.wav,sms.wav
  135. }
  136. IfNotExist,%A_WorkingDir%\TaKe-Binder.ini
  137. {
  138. StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
  139. Activity("INI-File erstellt.")
  140. Iniwrite, "Name", TaKe-Binder.ini,Settings, name
  141. Iniwrite, "Unbekannt", TaKe-Binder.ini,Wanteds, Wanted-Grund
  142. Iniwrite, "Niemand", TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  143. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  144. IniWrite,0,Statistik\statsi.ini,Killstreak,streak
  145. IniWrite, 0, Statistik\statsi.ini, Tageskills, tKills
  146. IniWrite, 0, Statistik\statsi.ini, Tageskills, tDeaths
  147. IniWrite, 0.00, Statistik\statsi.ini, Tageskills, tKD
  148. IniWrite, 1, Statistik\statsi.ini, Tageskills, Aktiviert
  149. IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Zinsen
  150. IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,letzter Payday
  151. IniWrite, 0.0, Zinsen\Gesammtzinsen.ini,Tag,Zinssatz
  152. IniWrite, 0, Zinsen\Monatszinsen\Zinsen von %A_MMMM%. %A_YYYY%.ini,Monat,Zinsen
  153. IniWrite, 0, TaKe-Binder.ini,Drogensystem, Drogen
  154. IniWrite, 0, TaKe-Binder.ini,Drogensystem, Used
  155. gosub, firstsave
  156. }
  157. FileRead, stelle, TaKe-Binder.ini
  158. IfNotInString,stelle,HKATMDifferenz
  159. {
  160. Iniwrite, %HKATMDifferenz%, TaKe-Binder.ini,Wanteds, HKATMDifferenz
  161. }
  162. global ERROR_OK := 0
  163. global ERROR_PROCESS_NOT_FOUND := 1
  164. global ERROR_OPEN_PROCESS := 2
  165. global ERROR_INVALID_HANDLE := 3
  166. global ERROR_MODULE_NOT_FOUND := 4
  167. global ERROR_ENUM_PROCESS_MODULES := 5
  168. global ERROR_ZONE_NOT_FOUND := 6
  169. global ERROR_CITY_NOT_FOUND := 7
  170. global ERROR_READ_MEMORY := 8
  171. global ERROR_WRITE_MEMORY := 9
  172. global ERROR_ALLOC_MEMORY := 10
  173. global ERROR_FREE_MEMORY := 11
  174. global ERROR_WAIT_FOR_OBJECT := 12
  175. global ERROR_CREATE_THREAD := 13
  176. global ADDR_ZONECODE := 0xA49AD4
  177. global ADDR_POSITION_X := 0xB6F2E4
  178. global ADDR_POSITION_Y := 0xB6F2E8
  179. global ADDR_POSITION_Z := 0xB6F2EC
  180. global ADDR_CPED_PTR := 0xB6F5F0
  181. global ADDR_CPED_HPOFF := 0x540
  182. global ADDR_CPED_ARMOROFF := 0x548
  183. global ADDR_VEHICLE_PTR := 0xBA18FC
  184. global ADDR_VEHICLE_HPOFF := 0x4C0
  185. global ADDR_CPED_MONEY := 0xB7CE50
  186. global ADDR_CPED_INTID := 0xA4ACE8
  187. global ADDR_VEHICLE_DOORSTATE := 0x4F8
  188. global ADDR_VEHICLE_ENGINESTATE := 0x428
  189. global ADDR_VEHICLE_LIGHTSTATE := 0x584
  190. global ADDR_VEHICLE_MODEL := 0x22
  191. global ADDR_VEHICLE_TYPE := 0x590
  192. global ADDR_VEHICLE_DRIVER := 0x460
  193. global oAirplaneModels := [417, 425, 447, 460, 469, 476, 487, 488, 497, 511, 512, 513, 519, 520, 548, 553, 563, 577, 592, 593]
  194. global oBikeModels := [481,509,510]
  195. global ovehicleNames := ["Landstalker","Bravura","Buffalo","Linerunner","Perrenial","Sentinel","Dumper","Firetruck","Trashmaster","Stretch","Manana","Infernus","Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam","Esperanto","Taxi","Washington","Bobcat","Whoopee","BFInjection","Hunter","Premier","Enforcer","Securicar","Banshee","Predator","Bus","Rhino","Barracks","Hotknife","Trailer","Previon","Coach","Cabbie","Stallion","Rumpo","RCBandit","Romero","Packer","Monster","Admiral","Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder","Reefer","Tropic","Flatbed","Yankee","Caddy","Solair","Berkley'sRCVan","Skimmer","PCJ-600","Faggio","Freeway","RCBaron","RCRaider","Glendale","Oceanic","Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler","ZR-350","Walton","Regina","Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","NewsChopper","Rancher","FBIRancher","Virgo","Greenwood","Jetmax","Hotring","Sandking","BlistaCompact","PoliceMaverick","Boxvillde","Benson","Mesa","RCGoblin","HotringRacerA","HotringRacerB","BloodringBanger","Rancher","SuperGT","Elegant","Journey","Bike","MountainBike","Beagle","Cropduster","Stunt","Tanker","Roadtrain","Nebula","Majestic","Buccaneer","Shamal","hydra","FCR-900","NRG-500","HPV1000","CementTruck","TowTruck","Fortune","Cadrona","FBITruck","Willard","Forklift","Tractor","Combine","Feltzer","Remington","Slamvan","Blade","Freight","Streak","Vortex","Vincent","Bullet","Clover","Sadler","Firetruck","Hustler","Intruder","Primo","Cargobob","Tampa","Sunrise","Merit","Utility","Nevada","Yosemite","Windsor","Monster","Monster","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RCTiger","Flash","Tahoma","Savanna","Bandito","FreightFlat","StreakCarriage","Kart","Mower","Dune","Sweeper","Broadway","Tornado","AT-400","DFT-30","Huntley","Stafford","BF-400","NewsVan","Tug","Trailer","Emperor","Wayfarer","Euros","Hotdog","Club","FreightBox","Trailer","Andromada","Dodo","RCCam","Launch","PoliceCar","PoliceCar","PoliceCar","PoliceRanger","Picador","S.W.A.T","Alpha","Phoenix","GlendaleShit","SadlerShit","Luggage","Luggage","Stairs","Boxville","Tiller","UtilityTrailer"]
  196. global ADDR_SAMP_INCHAT_PTR := 0x21A10C
  197. global ADDR_SAMP_INCHAT_PTR_OFF := 0x55
  198. global ADDR_SAMP_USERNAME := 0x219A6F
  199. global ADDR_SAMP_CHATMSG_PTR := 0x21A0E4
  200. global ADDR_SAMP_SHOWDLG_PTR := 0x21A0B8
  201. global FUNC_SAMP_SENDCMD := 0x65C60
  202. global FUNC_SAMP_SENDSAY := 0x57F0
  203. global FUNC_SAMP_ADDTOCHATWND := 0x64520
  204. global FUNC_SAMP_SHOWGAMETEXT := 0x9C2C0
  205. global FUNC_SAMP_PLAYAUDIOSTR := 0x62DA0
  206. global FUNC_SAMP_STOPAUDIOSTR := 0x629A0
  207. global FUNC_SAMP_SHOWDIALOG := 0x6B9C0
  208. global FUNC_UPDATESCOREBOARD := 0x8A10
  209. global SAMP_INFO_OFFSET := 0x21A0F8
  210. global SAMP_PPOOLS_OFFSET := 0x3CD
  211. global SAMP_PPOOL_PLAYER_OFFSET := 0x18
  212. global SAMP_SLOCALPLAYERID_OFFSET := 0x4
  213. global SAMP_ISTRLEN_LOCALPLAYERNAME_OFFSET := 0x1A
  214. global SAMP_SZLOCALPLAYERNAME_OFFSET := 0xA
  215. global SAMP_PSZLOCALPLAYERNAME_OFFSET := 0xA
  216. global SAMP_PREMOTEPLAYER_OFFSET := 0x2E
  217. global SAMP_ISTRLENNAME___OFFSET := 0x1C
  218. global SAMP_SZPLAYERNAME_OFFSET := 0xC
  219. global SAMP_PSZPLAYERNAME_OFFSET := 0xC
  220. global SAMP_ILOCALPLAYERPING_OFFSET := 0x26
  221. global SAMP_ILOCALPLAYERSCORE_OFFSET := 0x2A
  222. global SAMP_IPING_OFFSET := 0x28
  223. global SAMP_ISCORE_OFFSET := 0x24
  224. global SAMP_ISNPC_OFFSET := 0x4
  225. global SAMP_SZIP_OFFSET := 0x20
  226. global SAMP_SZHOSTNAME_OFFSET := 0x121
  227. global SAMP_PLAYER_MAX := 1004
  228. global SIZE_SAMP_CHATMSG := 0xFC
  229. global hGTA := 0x0
  230. global dwGTAPID := 0x0
  231. global dwSAMP := 0x0
  232. global pMemory := 0x0
  233. global pParam1 := 0x0
  234. global pParam2 := 0x0
  235. global pParam3 := 0x0
  236. global pParam4 := 0x0
  237. global pParam5 := 0x0
  238. global pInjectFunc := 0x0
  239. global nZone := 1
  240. global nCity := 1
  241. global bInitZaC := 0
  242. global iRefreshScoreboard := 0
  243. global oScoreboardData := ""
  244. global iRefreshHandles := 0
  245. global iUpdateTick := 2500
  246. global bCheckSizeOnce := 1
  247. isInChat() {
  248. if(!checkHandles())
  249. return -1
  250. dwPtr := dwSAMP + ADDR_SAMP_INCHAT_PTR
  251. dwAddress := readDWORD(hGTA, dwPtr) + ADDR_SAMP_INCHAT_PTR_OFF
  252. if(ErrorLevel) {
  253. ErrorLevel := ERROR_READ_MEMORY
  254. return -1
  255. }
  256. dwInChat := readDWORD(hGTA, dwAddress)
  257. if(ErrorLevel) {
  258. ErrorLevel := ERROR_READ_MEMORY
  259. return -1
  260. }
  261. ErrorLevel := ERROR_OK
  262. if(dwInChat > 0) {
  263. return true
  264. } else {
  265. return false
  266. }
  267. }
  268. getUsername() {
  269. if(!checkHandles())
  270. return ""
  271. dwAddress := dwSAMP + ADDR_SAMP_USERNAME
  272. sUsername := readString(hGTA, dwAddress, 25)
  273. if(ErrorLevel) {
  274. ErrorLevel := ERROR_READ_MEMORY
  275. return ""
  276. }
  277. ErrorLevel := ERROR_OK
  278. return sUsername
  279. }
  280. getId() {
  281. s:=getUsername()
  282. return getPlayerIdByName(s)
  283. }
  284. sendChat(wText) {
  285. wText := "" wText
  286. if(!checkHandles())
  287. return false
  288. dwFunc:=0
  289. if(SubStr(wText, 1, 1) == "/") {
  290. dwFunc := dwSAMP + FUNC_SAMP_SENDCMD
  291. } else {
  292. dwFunc := dwSAMP + FUNC_SAMP_SENDSAY
  293. }
  294. callWithParams(hGTA, dwFunc, [["s", wText]], false)
  295. ErrorLevel := ERROR_OK
  296. return true
  297. }
  298. AddChatMessage(wText) {
  299. wText := "" wText
  300. if(!checkHandles())
  301. return false
  302. dwFunc := dwSAMP + FUNC_SAMP_ADDTOCHATWND
  303. dwChatInfo := readDWORD(hGTA, dwSAMP + ADDR_SAMP_CHATMSG_PTR)
  304. if(ErrorLevel) {
  305. ErrorLevel := ERROR_READ_MEMORY
  306. return false
  307. }
  308. callWithParams(hGTA, dwFunc, [["p", dwChatInfo], ["s", wText]], true)
  309. ErrorLevel := ERROR_OK
  310. return true
  311. }
  312. showGameText(wText, dwTime, dwSize) {
  313. wText := "" wText
  314. dwTime += 0
  315. dwTime := Floor(dwTime)
  316. dwSize += 0
  317. dwSize := Floor(dwSize)
  318. if(!checkHandles())
  319. return false
  320. dwFunc := dwSAMP + FUNC_SAMP_SHOWGAMETEXT
  321. callWithParams(hGTA, dwFunc, [["s", wText], ["i", dwTime], ["i", dwSize]], false)
  322. ErrorLevel := ERROR_OK
  323. return true
  324. }
  325. showDialog(dwStyle, wCaption, wInfo, wButton1 ) {
  326. dwStyle += 0
  327. dwStyle := Floor(dwStyle)
  328. wCaption := "" wCaption
  329. wInfo := "" wInfo
  330. wButton1 := "" wButton1
  331. if(dwStyle<0 || dwStyle>5 || StrLen(wCaption)>=64 || StrLen(wInfo)>=4096 || StrLen(wButton1)>10)
  332. return false
  333. if(!checkHandles())
  334. return false
  335. dwFunc := dwSAMP + FUNC_SAMP_SHOWDIALOG
  336. dwAddress := readDWORD(hGTA, dwSAMP + ADDR_SAMP_SHOWDLG_PTR)
  337. if(ErrorLevel || dwAddress==0) {
  338. ErrorLevel := ERROR_READ_MEMORY
  339. return false
  340. }
  341. writeString(hGTA, pParam5, wCaption)
  342. if(ErrorLevel)
  343. return false
  344. writeString(hGTA, pParam1, wInfo)
  345. if(ErrorLevel)
  346. return false
  347. writeString(hGTA, pParam5+512, wButton1)
  348. if(ErrorLevel)
  349. return false
  350. dwLen := 5 + 7*5 + 5 + 1
  351. VarSetCapacity(injectData, dwLen, 0)
  352. NumPut(0xB9, injectData, 0, "UChar")
  353. NumPut(dwAddress, injectData, 1, "UInt")
  354. NumPut(0x68, injectData, 5, "UChar")
  355. NumPut(0, injectData, 6, "UInt")
  356. NumPut(0x68, injectData, 10, "UChar")
  357. NumPut(pParam5+StrLen(wCaption), injectData, 11, "UInt")
  358. NumPut(0x68, injectData, 15, "UChar")
  359. NumPut(pParam5+512, injectData, 16, "UInt")
  360. NumPut(0x68, injectData, 20, "UChar")
  361. NumPut(pParam1, injectData, 21, "UInt")
  362. NumPut(0x68, injectData, 25, "UChar")
  363. NumPut(pParam5, injectData, 26, "UInt")
  364. NumPut(0x68, injectData, 30, "UChar")
  365. NumPut(dwStyle, injectData, 31, "UInt")
  366. NumPut(0x68, injectData, 35, "UChar")
  367. NumPut(1, injectData, 36, "UInt")
  368. NumPut(0xE8, injectData, 40, "UChar")
  369. offset := dwFunc - (pInjectFunc + 45)
  370. NumPut(offset, injectData, 41, "Int")
  371. NumPut(0xC3, injectData, 45, "UChar")
  372. writeRaw(hGTA, pInjectFunc, &injectData, dwLen)
  373. if(ErrorLevel)
  374. return false
  375. hThread := createRemoteThread(hGTA, 0, 0, pInjectFunc, 0, 0, 0)
  376. if(ErrorLevel)
  377. return false
  378. waitForSingleObject(hThread, 0xFFFFFFFF)
  379. closeProcess(hThread)
  380. return true
  381. }
  382. playAudioStream(wUrl) {
  383. wUrl := "" wUrl
  384. if(!checkHandles())
  385. return false
  386. dwFunc := dwSAMP + FUNC_SAMP_PLAYAUDIOSTR
  387. patchRadio()
  388. callWithParams(hGTA, dwFunc, [["s", wUrl], ["i", 0], ["i", 0], ["i", 0], ["i", 0], ["i", 0]], false)
  389. unPatchRadio()
  390. ErrorLevel := ERROR_OK
  391. return true
  392. }
  393. stopAudioStream() {
  394. if(!checkHandles())
  395. return false
  396. dwFunc := dwSAMP + FUNC_SAMP_STOPAUDIOSTR
  397. patchRadio()
  398. callWithParams(hGTA, dwFunc, [["i", 1]], false)
  399. unPatchRadio()
  400. ErrorLevel := ERROR_OK
  401. return true
  402. }
  403. blockChatInput() {
  404. if(!checkHandles())
  405. return false
  406. VarSetCapacity(nop, 2, 0)
  407. dwFunc := dwSAMP + FUNC_SAMP_SENDSAY
  408. NumPut(0x04C2,nop,0,"Short")
  409. writeRaw(hGTA, dwFunc, &nop, 2)
  410. dwFunc := dwSAMP + FUNC_SAMP_SENDCMD
  411. writeRaw(hGTA, dwFunc, &nop, 2)
  412. return true
  413. }
  414. unBlockChatInput() {
  415. if(!checkHandles())
  416. return false
  417. VarSetCapacity(nop, 2, 0)
  418. dwFunc := dwSAMP + FUNC_SAMP_SENDSAY
  419. NumPut(0xA164,nop,0,"Short")
  420. writeRaw(hGTA, dwFunc, &nop, 2)
  421. dwFunc := dwSAMP + FUNC_SAMP_SENDCMD
  422. writeRaw(hGTA, dwFunc, &nop, 2)
  423. return true
  424. }
  425. patchRadio() {
  426. if(!checkHandles())
  427. return false
  428. VarSetCapacity(nop, 4, 0)
  429. NumPut(0x90909090,nop,0,"UInt")
  430. dwFunc := dwSAMP + FUNC_SAMP_PLAYAUDIOSTR
  431. writeRaw(hGTA, dwFunc, &nop, 4)
  432. writeRaw(hGTA, dwFunc+4, &nop, 1)
  433. dwFunc := dwSAMP + FUNC_SAMP_STOPAUDIOSTR
  434. writeRaw(hGTA, dwFunc, &nop, 4)
  435. writeRaw(hGTA, dwFunc+4, &nop, 1)
  436. return true
  437. }
  438. unPatchRadio() {
  439. if(!checkHandles())
  440. return false
  441. VarSetCapacity(old, 4, 0)
  442. dwFunc := dwSAMP + FUNC_SAMP_PLAYAUDIOSTR
  443. NumPut(0x74003980,old,0,"UInt")
  444. writeRaw(hGTA, dwFunc, &old, 4)
  445. NumPut(0x39,old,0,"UChar")
  446. writeRaw(hGTA, dwFunc+4, &old, 1)
  447. dwFunc := dwSAMP + FUNC_SAMP_STOPAUDIOSTR
  448. NumPut(0x74003980,old,0,"UInt")
  449. writeRaw(hGTA, dwFunc, &old, 4)
  450. NumPut(0x09,old,0,"UChar")
  451. writeRaw(hGTA, dwFunc+4, &old, 1)
  452. return true
  453. }
  454. getPlayerNameById(dwId) {
  455. dwId += 0
  456. dwId := Floor(dwId)
  457. if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
  458. return ""
  459. if(!updateOScoreboardData())
  460. return ""
  461. if(oScoreboardData[dwId])
  462. return oScoreboardData[dwId].NAME
  463. return ""
  464. }
  465. getPlayerIdByName(wName) {
  466. wName := "" wName
  467. if(StrLen(wName) < 1 || StrLen(wName) > 20)
  468. return -1
  469. if(!updateOScoreboardData())
  470. return -1
  471. For i, o in oScoreboardData
  472. {
  473. if(InStr(o.NAME,wName)==1)
  474. return i
  475. }
  476. return -1
  477. }
  478. getPlayerScoreById(dwId) {
  479. dwId += 0
  480. dwId := Floor(dwId)
  481. if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
  482. return ""
  483. if(!updateOScoreboardData())
  484. return ""
  485. if(oScoreboardData[dwId])
  486. return oScoreboardData[dwId].SCORE
  487. return ""
  488. }
  489. getPlayerPingById(dwId) {
  490. dwId += 0
  491. dwId := Floor(dwId)
  492. if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
  493. return -1
  494. if(!updateOScoreboardData())
  495. return -1
  496. if(oScoreboardData[dwId])
  497. return oScoreboardData[dwId].PING
  498. return -1
  499. }
  500. isNPCById(dwId) {
  501. dwId += 0
  502. dwId := Floor(dwId)
  503. if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
  504. return -1
  505. if(!updateOScoreboardData())
  506. return -1
  507. if(oScoreboardData[dwId])
  508. return oScoreboardData[dwId].ISNPC
  509. return -1
  510. }
  511. getIP() {
  512. if(!checkHandles())
  513. return ""
  514. dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
  515. if(ErrorLevel || dwAddress==0) {
  516. ErrorLevel := ERROR_READ_MEMORY
  517. return ""
  518. }
  519. ipaddr := readString(hGTA, dwAddress+SAMP_SZIP_OFFSET, 257)
  520. if(ErrorLevel) {
  521. ErrorLevel := ERROR_READ_MEMORY
  522. return ""
  523. }
  524. return ipaddr
  525. }
  526. getHostname() {
  527. if(!checkHandles())
  528. return ""
  529. dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
  530. if(ErrorLevel || dwAddress==0) {
  531. ErrorLevel := ERROR_READ_MEMORY
  532. return ""
  533. }
  534. hostname := readString(hGTA, dwAddress+SAMP_SZHOSTNAME_OFFSET, 259)
  535. if(ErrorLevel) {
  536. ErrorLevel := ERROR_READ_MEMORY
  537. return ""
  538. }
  539. return hostname
  540. }
  541. countOnlinePlayers() {
  542. if(!updateOScoreboardData())
  543. return 0
  544. j := 0
  545. For i, o in oScoreboardData
  546. {
  547. if(isNPCById(i)==0)
  548. j += 1
  549. }
  550. return j
  551. }
  552. updateScoreboardDataEx() {
  553. if(!checkHandles())
  554. return false
  555. dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
  556. if(ErrorLevel || dwAddress==0) {
  557. ErrorLevel := ERROR_READ_MEMORY
  558. return false
  559. }
  560. dwFunc := dwSAMP + FUNC_UPDATESCOREBOARD
  561. VarSetCapacity(injectData, 11, 0)
  562. NumPut(0xB9, injectData, 0, "UChar")
  563. NumPut(dwAddress, injectData, 1, "UInt")
  564. NumPut(0xE8, injectData, 5, "UChar")
  565. offset := dwFunc - (pInjectFunc + 10)
  566. NumPut(offset, injectData, 6, "Int")
  567. NumPut(0xC3, injectData, 10, "UChar")
  568. writeRaw(hGTA, pInjectFunc, &injectData, 11)
  569. if(ErrorLevel)
  570. return false
  571. hThread := createRemoteThread(hGTA, 0, 0, pInjectFunc, 0, 0, 0)
  572. if(ErrorLevel)
  573. return false
  574. waitForSingleObject(hThread, 0xFFFFFFFF)
  575. closeProcess(hThread)
  576. return true
  577. }
  578. updateOScoreboardData() {
  579. if(!checkHandles())
  580. return 0
  581. if(iRefreshScoreboard+iUpdateTick > A_TickCount)
  582. return 1
  583. oScoreboardData := []
  584. if(!updateScoreboardDataEx())
  585. return 0
  586. iRefreshScoreboard := A_TickCount
  587. dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
  588. if(ErrorLevel || dwAddress==0) {
  589. ErrorLevel := ERROR_READ_MEMORY
  590. return 0
  591. }
  592. dwAddress := readDWORD(hGTA, dwAddress + SAMP_PPOOLS_OFFSET)
  593. if(ErrorLevel || dwAddress==0) {
  594. ErrorLevel := ERROR_READ_MEMORY
  595. return 0
  596. }
  597. dwPlayers := readDWORD(hGTA, dwAddress + SAMP_PPOOL_PLAYER_OFFSET)
  598. if(ErrorLevel || dwPlayers==0) {
  599. ErrorLevel := ERROR_READ_MEMORY
  600. return 0
  601. }
  602. wID := readMem(hGTA, dwPlayers + SAMP_SLOCALPLAYERID_OFFSET, 2, "Short")
  603. if(ErrorLevel) {
  604. ErrorLevel := ERROR_READ_MEMORY
  605. return 0
  606. }
  607. dwPing := readMem(hGTA, dwPlayers + SAMP_ILOCALPLAYERPING_OFFSET, 4, "Int")
  608. if(ErrorLevel) {
  609. ErrorLevel := ERROR_READ_MEMORY
  610. return 0
  611. }
  612. dwScore := readMem(hGTA, dwPlayers + SAMP_ILOCALPLAYERSCORE_OFFSET, 4, "Int")
  613. if(ErrorLevel) {
  614. ErrorLevel := ERROR_READ_MEMORY
  615. return 0
  616. }
  617. dwTemp := readMem(hGTA, dwPlayers + SAMP_ISTRLEN_LOCALPLAYERNAME_OFFSET, 4, "Int")
  618. if(ErrorLevel) {
  619. ErrorLevel := ERROR_READ_MEMORY
  620. return 0
  621. }
  622. sUsername := ""
  623. if(dwTemp <= 0xf) {
  624. sUsername := readString(hGTA, dwPlayers + SAMP_SZLOCALPLAYERNAME_OFFSET, 16)
  625. if(ErrorLevel) {
  626. ErrorLevel := ERROR_READ_MEMORY
  627. return 0
  628. }
  629. }
  630. else {
  631. dwAddress := readDWORD(hGTA, dwPlayers + SAMP_PSZLOCALPLAYERNAME_OFFSET)
  632. if(ErrorLevel) {
  633. ErrorLevel := ERROR_READ_MEMORY
  634. return 0
  635. }
  636. sUsername := readString(hGTA, dwAddress, 25)
  637. if(ErrorLevel) {
  638. ErrorLevel := ERROR_READ_MEMORY
  639. return 0
  640. }
  641. }
  642. oScoreboardData[wID] := Object("NAME", sUsername, "ID", wID, "PING", dwPing, "SCORE", dwScore, "ISNPC", 0)
  643. Loop, % SAMP_PLAYER_MAX
  644. {
  645. i := A_Index-1
  646. dwRemoteplayer := readDWORD(hGTA, dwPlayers+SAMP_PREMOTEPLAYER_OFFSET+i*4)
  647. if(ErrorLevel) {
  648. ErrorLevel := ERROR_READ_MEMORY
  649. return 0
  650. }
  651. if(dwRemoteplayer==0)
  652. continue
  653. dwPing := readMem(hGTA, dwRemoteplayer + SAMP_IPING_OFFSET, 4, "Int")
  654. if(ErrorLevel) {
  655. ErrorLevel := ERROR_READ_MEMORY
  656. return 0
  657. }
  658. dwScore := readMem(hGTA, dwRemoteplayer + SAMP_ISCORE_OFFSET, 4, "Int")
  659. if(ErrorLevel) {
  660. ErrorLevel := ERROR_READ_MEMORY
  661. return 0
  662. }
  663. dwIsNPC := readMem(hGTA, dwRemoteplayer + SAMP_ISNPC_OFFSET, 4, "Int")
  664. if(ErrorLevel) {
  665. ErrorLevel := ERROR_READ_MEMORY
  666. return 0
  667. }
  668. dwTemp := readMem(hGTA, dwRemoteplayer + SAMP_ISTRLENNAME___OFFSET, 4, "Int")
  669. if(ErrorLevel) {
  670. ErrorLevel := ERROR_READ_MEMORY
  671. return 0
  672. }
  673. sUsername := ""
  674. if(dwTemp <= 0xf)
  675. {
  676. sUsername := readString(hGTA, dwRemoteplayer+SAMP_SZPLAYERNAME_OFFSET, 16)
  677. if(ErrorLevel) {
  678. ErrorLevel := ERROR_READ_MEMORY
  679. return 0
  680. }
  681. }
  682. else {
  683. dwAddress := readDWORD(hGTA, dwRemoteplayer + SAMP_PSZPLAYERNAME_OFFSET)
  684. if(ErrorLevel || dwAddress==0) {
  685. ErrorLevel := ERROR_READ_MEMORY
  686. return 0
  687. }
  688. sUsername := readString(hGTA, dwAddress, 25)
  689. if(ErrorLevel) {
  690. ErrorLevel := ERROR_READ_MEMORY
  691. return 0
  692. }
  693. }
  694. o := Object("NAME", sUsername, "ID", i, "PING", dwPing, "SCORE", dwScore, "ISNPC", dwIsNPC)
  695. oScoreboardData[i] := o
  696. }
  697. ErrorLevel := ERROR_OK
  698. return 1
  699. }
  700. getPlayerHealth() {
  701. if(!checkHandles())
  702. return -1
  703. dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR)
  704. if(ErrorLevel) {
  705. ErrorLevel := ERROR_READ_MEMORY
  706. return -1
  707. }
  708. dwAddr := dwCPedPtr + ADDR_CPED_HPOFF
  709. fHealth := readFloat(hGTA, dwAddr)
  710. if(ErrorLevel) {
  711. ErrorLevel := ERROR_READ_MEMORY
  712. return -1
  713. }
  714. ErrorLevel := ERROR_OK
  715. return Round(fHealth)
  716. }
  717. getPlayerArmor() {
  718. if(!checkHandles())
  719. return -1
  720. dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR)
  721. if(ErrorLevel) {
  722. ErrorLevel := ERROR_READ_MEMORY
  723. return -1
  724. }
  725. dwAddr := dwCPedPtr + ADDR_CPED_ARMOROFF
  726. fHealth := readFloat(hGTA, dwAddr)
  727. if(ErrorLevel) {
  728. ErrorLevel := ERROR_READ_MEMORY
  729. return -1
  730. }
  731. ErrorLevel := ERROR_OK
  732. return Round(fHealth)
  733. }
  734. getPlayerInteriorId() {
  735. if(!checkHandles())
  736. return -1
  737. iid := readMem(hGTA, ADDR_CPED_INTID, 4, "Int")
  738. if(ErrorLevel) {
  739. ErrorLevel := ERROR_READ_MEMORY
  740. return -1
  741. }
  742. ErrorLevel := ERROR_OK
  743. return iid
  744. }
  745. getPlayerMoney() {
  746. if(!checkHandles())
  747. return ""
  748. money := readMem(hGTA, ADDR_CPED_MONEY, 4, "Int")
  749. if(ErrorLevel) {
  750. ErrorLevel := ERROR_READ_MEMORY
  751. return ""
  752. }
  753. ErrorLevel := ERROR_OK
  754. return money
  755. }
  756. isPlayerInAnyVehicle()
  757. {
  758. if(!checkHandles())
  759. return -1
  760. dwVehPtr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  761. if(ErrorLevel) {
  762. ErrorLevel := ERROR_READ_MEMORY
  763. return -1
  764. }
  765. return (dwVehPtr > 0)
  766. }
  767. isPlayerDriver() {
  768. if(!checkHandles())
  769. return -1
  770. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  771. if(ErrorLevel) {
  772. ErrorLevel := ERROR_READ_MEMORY
  773. return -1
  774. }
  775. if(!dwAddr)
  776. return -1
  777. dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR)
  778. if(ErrorLevel) {
  779. ErrorLevel := ERROR_READ_MEMORY
  780. return -1
  781. }
  782. dwVal := readDWORD(hGTA, dwAddr + ADDR_VEHICLE_DRIVER)
  783. if(ErrorLevel) {
  784. ErrorLevel := ERROR_READ_MEMORY
  785. return -1
  786. }
  787. ErrorLevel := ERROR_OK
  788. return (dwVal==dwCPedPtr)
  789. }
  790. getVehicleHealth() {
  791. if(!checkHandles())
  792. return -1
  793. dwVehPtr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  794. if(ErrorLevel) {
  795. ErrorLevel := ERROR_READ_MEMORY
  796. return -1
  797. }
  798. dwAddr := dwVehPtr + ADDR_VEHICLE_HPOFF
  799. fHealth := readFloat(hGTA, dwAddr)
  800. if(ErrorLevel) {
  801. ErrorLevel := ERROR_READ_MEMORY
  802. return -1
  803. }
  804. ErrorLevel := ERROR_OK
  805. return Round(fHealth)
  806. }
  807. getVehicleType() {
  808. if(!checkHandles())
  809. return 0
  810. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  811. if(ErrorLevel) {
  812. ErrorLevel := ERROR_READ_MEMORY
  813. return 0
  814. }
  815. if(!dwAddr)
  816. return 0
  817. cVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_TYPE, 1, "Char")
  818. if(ErrorLevel) {
  819. ErrorLevel := ERROR_READ_MEMORY
  820. return 0
  821. }
  822. ErrorLevel := ERROR_OK
  823. if(!cVal)
  824. {
  825. mid := getVehicleModelId()
  826. Loop % oAirplaneModels.MaxIndex()
  827. {
  828. if(oAirplaneModels[A_Index]==mid)
  829. return 5
  830. }
  831. return 1
  832. }
  833. else if(cVal==5)
  834. return 2
  835. else if(cVal==6)
  836. return 3
  837. else if(cVal==9)
  838. {
  839. mid := getVehicleModelId()
  840. Loop % oBikeModels.MaxIndex()
  841. {
  842. if(oBikeModels[A_Index]==mid)
  843. return 6
  844. }
  845. return 4
  846. }
  847. return 0
  848. }
  849. getVehicleModelId() {
  850. if(!checkHandles())
  851. return 0
  852. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  853. if(ErrorLevel) {
  854. ErrorLevel := ERROR_READ_MEMORY
  855. return 0
  856. }
  857. if(!dwAddr)
  858. return 0
  859. sVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_MODEL, 2, "Short")
  860. if(ErrorLevel) {
  861. ErrorLevel := ERROR_READ_MEMORY
  862. return 0
  863. }
  864. ErrorLevel := ERROR_OK
  865. return sVal
  866. }
  867. getVehicleModelName() {
  868. id:=getVehicleModelId()
  869. if(id>400 && id <611)
  870. {
  871. return ovehicleNames[id-399]
  872. }
  873. return ""
  874. }
  875. getVehicleLightState() {
  876. if(!checkHandles())
  877. return -1
  878. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  879. if(ErrorLevel) {
  880. ErrorLevel := ERROR_READ_MEMORY
  881. return -1
  882. }
  883. if(!dwAddr)
  884. return -1
  885. dwVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_LIGHTSTATE, 4, "Int")
  886. if(ErrorLevel) {
  887. ErrorLevel := ERROR_READ_MEMORY
  888. return -1
  889. }
  890. ErrorLevel := ERROR_OK
  891. return (dwVal>0)
  892. }
  893. getVehicleEngineState() {
  894. if(!checkHandles())
  895. return -1
  896. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  897. if(ErrorLevel) {
  898. ErrorLevel := ERROR_READ_MEMORY
  899. return -1
  900. }
  901. if(!dwAddr)
  902. return -1
  903. cVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_ENGINESTATE, 1, "Char")
  904. if(ErrorLevel) {
  905. ErrorLevel := ERROR_READ_MEMORY
  906. return -1
  907. }
  908. ErrorLevel := ERROR_OK
  909. return (cVal==24 || cVal==56 || cVal==88 || cVal==120)
  910. }
  911. getVehicleLockState() {
  912. if(!checkHandles())
  913. return -1
  914. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  915. if(ErrorLevel) {
  916. ErrorLevel := ERROR_READ_MEMORY
  917. return -1
  918. }
  919. if(!dwAddr)
  920. return -1
  921. dwVal := readDWORD(hGTA, dwAddr + ADDR_VEHICLE_DOORSTATE)
  922. if(ErrorLevel) {
  923. ErrorLevel := ERROR_READ_MEMORY
  924. return -1
  925. }
  926. ErrorLevel := ERROR_OK
  927. return (dwVal==2)
  928. }
  929. getCoordinates() {
  930. if(!checkHandles())
  931. return ""
  932. fX := readFloat(hGTA, ADDR_POSITION_X)
  933. if(ErrorLevel) {
  934. ErrorLevel := ERROR_READ_MEMORY
  935. return ""
  936. }
  937. fY := readFloat(hGTA, ADDR_POSITION_Y)
  938. if(ErrorLevel) {
  939. ErrorLevel := ERROR_READ_MEMORY
  940. return ""
  941. }
  942. fZ := readFloat(hGTA, ADDR_POSITION_Z)
  943. if(ErrorLevel) {
  944. ErrorLevel := ERROR_READ_MEMORY
  945. return ""
  946. }
  947. ErrorLevel := ERROR_OK
  948. return [fX, fY, fZ]
  949. }
  950. calculateZone(posX, posY, posZ) {
  951. posX += 0
  952. posY += 0
  953. posZ += 0
  954. if ( !bInitZaC )
  955. {
  956. initZonesAndCities()
  957. bInitZaC := 1
  958. }
  959. Loop % nZone-1
  960. {
  961. if (posX >= zone%A_Index%_x1) && (posY >= zone%A_Index%_y1) && (posZ >= zone%A_Index%_z1) && (posX <= zone%A_Index%_x2) && (posY <= zone%A_Index%_y2) && (posZ <= zone%A_Index%_z2)
  962. {
  963. ErrorLevel := ERROR_OK
  964. return zone%A_Index%_name
  965. }
  966. }
  967. ErrorLevel := ERROR_ZONE_NOT_FOUND
  968. return ""
  969. }
  970. calculateCity(posX, posY, posZ) {
  971. posX += 0
  972. posY += 0
  973. posZ += 0
  974. if ( !bInitZaC )
  975. {
  976. initZonesAndCities()
  977. bInitZaC := 1
  978. }
  979. smallestCity := ""
  980. currentCitySize := 0
  981. smallestCitySize := 0
  982. Loop % nCity-1
  983. {
  984. if (posX >= city%A_Index%_x1) && (posY >= city%A_Index%_y1) && (posZ >= city%A_Index%_z1) && (posX <= city%A_Index%_x2) && (posY <= city%A_Index%_y2) && (posZ <= city%A_Index%_z2)
  985. {
  986. currentCitySize := ((city%A_Index%_x2 - city%A_Index%_x1) * (city%A_Index%_y2 - city%A_Index%_y1) * (city%A_Index%_z2 - city%A_Index%_z1))
  987. if (!smallestCity) || (currentCitySize < smallestCitySize)
  988. {
  989. smallestCity := city%A_Index%_name
  990. smallestCitySize := currentCitySize
  991. }
  992. }
  993. }
  994. if(!smallestCity) {
  995. ErrorLevel := ERROR_CITY_NOT_FOUND
  996. } else {
  997. ErrorLevel := ERROR_OK
  998. }
  999. return smallestCity
  1000. }
  1001. initZonesAndCities() {
  1002. if(bInitZaC)
  1003. return
  1004. AddCity("Las Venturas", 685.0, 476.093, -500.0, 3000.0, 3000.0, 500.0)
  1005. AddCity("San Fierro", -3000.0, -742.306, -500.0, -1270.53, 1530.24, 500.0)
  1006. AddCity("San Fierro", -1270.53, -402.481, -500.0, -1038.45, 832.495, 500.0)
  1007. AddCity("San Fierro", -1038.45, -145.539, -500.0, -897.546, 376.632, 500.0)
  1008. AddCity("Los Santos", 480.0, -3000.0, -500.0, 3000.0, -850.0, 500.0)
  1009. AddCity("Los Santos", 80.0, -2101.61, -500.0, 1075.0, -1239.61, 500.0)
  1010. AddCity("Tierra Robada", -1213.91, 596.349, -242.99, -480.539, 1659.68, 900.0)
  1011. AddCity("Red County", -1213.91, -768.027, -242.99, 2997.06, 596.349, 900.0)
  1012. AddCity("Flint County", -1213.91, -2892.97, -242.99, 44.6147, -768.027, 900.0)
  1013. AddCity("Whetstone", -2997.47, -2892.97, -242.99, -1213.91, -1115.58, 900.0)
  1014. AddZone("Avispa Country Club", -2667.810, -302.135, -28.831, -2646.400, -262.320, 71.169)
  1015. AddZone("Easter Bay Airport", -1315.420, -405.388, 15.406, -1264.400, -209.543, 25.406)
  1016. AddZone("Avispa Country Club", -2550.040, -355.493, 0.000, -2470.040, -318.493, 39.700)
  1017. AddZone("Easter Bay Airport", -1490.330, -209.543, 15.406, -1264.400, -148.388, 25.406)
  1018. AddZone("Garcia", -2395.140, -222.589, -5.3, -2354.090, -204.792, 200.000)
  1019. AddZone("Shady Cabin", -1632.830, -2263.440, -3.0, -1601.330, -2231.790, 200.000)
  1020. AddZone("East Los Santos", 2381.680, -1494.030, -89.084, 2421.030, -1454.350, 110.916)
  1021. AddZone("LVA Freight Depot", 1236.630, 1163.410, -89.084, 1277.050, 1203.280, 110.916)
  1022. AddZone("Blackfield Intersection", 1277.050, 1044.690, -89.084, 1315.350, 1087.630, 110.916)
  1023. AddZone("Avispa Country Club", -2470.040, -355.493, 0.000, -2270.040, -318.493, 46.100)
  1024. AddZone("Temple", 1252.330, -926.999, -89.084, 1357.000, -910.170, 110.916)
  1025. AddZone("Unity Station", 1692.620, -1971.800, -20.492, 1812.620, -1932.800, 79.508)
  1026. AddZone("LVA Freight Depot", 1315.350, 1044.690, -89.084, 1375.600, 1087.630, 110.916)
  1027. AddZone("Los Flores", 2581.730, -1454.350, -89.084, 2632.830, -1393.420, 110.916)
  1028. AddZone("Starfish Casino", 2437.390, 1858.100, -39.084, 2495.090, 1970.850, 60.916)
  1029. AddZone("Easter Bay Chemicals", -1132.820, -787.391, 0.000, -956.476, -768.027, 200.000)
  1030. AddZone("Downtown Los Santos", 1370.850, -1170.870, -89.084, 1463.900, -1130.850, 110.916)
  1031. AddZone("Esplanade East", -1620.300, 1176.520, -4.5, -1580.010, 1274.260, 200.000)
  1032. AddZone("Market Station", 787.461, -1410.930, -34.126, 866.009, -1310.210, 65.874)
  1033. AddZone("Linden Station", 2811.250, 1229.590, -39.594, 2861.250, 1407.590, 60.406)
  1034. AddZone("Montgomery Intersection", 1582.440, 347.457, 0.000, 1664.620, 401.750, 200.000)
  1035. AddZone("Frederick Bridge", 2759.250, 296.501, 0.000, 2774.250, 594.757, 200.000)
  1036. AddZone("Yellow Bell Station", 1377.480, 2600.430, -21.926, 1492.450, 2687.360, 78.074)
  1037. AddZone("Downtown Los Santos", 1507.510, -1385.210, 110.916, 1582.550, -1325.310, 335.916)
  1038. AddZone("Jefferson", 2185.330, -1210.740, -89.084, 2281.450, -1154.590, 110.916)
  1039. AddZone("Mulholland", 1318.130, -910.170, -89.084, 1357.000, -768.027, 110.916)
  1040. AddZone("Avispa Country Club", -2361.510, -417.199, 0.000, -2270.040, -355.493, 200.000)
  1041. AddZone("Jefferson", 1996.910, -1449.670, -89.084, 2056.860, -1350.720, 110.916)
  1042. AddZone("Julius Thruway West", 1236.630, 2142.860, -89.084, 1297.470, 2243.230, 110.916)
  1043. AddZone("Jefferson", 2124.660, -1494.030, -89.084, 2266.210, -1449.670, 110.916)
  1044. AddZone("Julius Thruway North", 1848.400, 2478.490, -89.084, 1938.800, 2553.490, 110.916)
  1045. AddZone("Rodeo", 422.680, -1570.200, -89.084, 466.223, -1406.050, 110.916)
  1046. AddZone("Cranberry Station", -2007.830, 56.306, 0.000, -1922.000, 224.782, 100.000)
  1047. AddZone("Downtown Los Santos", 1391.050, -1026.330, -89.084, 1463.900, -926.999, 110.916)
  1048. AddZone("Redsands West", 1704.590, 2243.230, -89.084, 1777.390, 2342.830, 110.916)
  1049. AddZone("Little Mexico", 1758.900, -1722.260, -89.084, 1812.620, -1577.590, 110.916)
  1050. AddZone("Blackfield Intersection", 1375.600, 823.228, -89.084, 1457.390, 919.447, 110.916)
  1051. AddZone("Los Santos International", 1974.630, -2394.330, -39.084, 2089.000, -2256.590, 60.916)
  1052. AddZone("Beacon Hill", -399.633, -1075.520, -1.489, -319.033, -977.516, 198.511)
  1053. AddZone("Rodeo", 334.503, -1501.950, -89.084, 422.680, -1406.050, 110.916)
  1054. AddZone("Richman", 225.165, -1369.620, -89.084, 334.503, -1292.070, 110.916)
  1055. AddZone("Downtown Los Santos", 1724.760, -1250.900, -89.084, 1812.620, -1150.870, 110.916)
  1056. AddZone("The Strip", 2027.400, 1703.230, -89.084, 2137.400, 1783.230, 110.916)
  1057. AddZone("Downtown Los Santos", 1378.330, -1130.850, -89.084, 1463.900, -1026.330, 110.916)
  1058. AddZone("Blackfield Intersection", 1197.390, 1044.690, -89.084, 1277.050, 1163.390, 110.916)
  1059. AddZone("Conference Center", 1073.220, -1842.270, -89.084, 1323.900, -1804.210, 110.916)
  1060. AddZone("Montgomery", 1451.400, 347.457, -6.1, 1582.440, 420.802, 200.000)
  1061. AddZone("Foster Valley", -2270.040, -430.276, -1.2, -2178.690, -324.114, 200.000)
  1062. AddZone("Blackfield Chapel", 1325.600, 596.349, -89.084, 1375.600, 795.010, 110.916)
  1063. AddZone("Los Santos International", 2051.630, -2597.260, -39.084, 2152.450, -2394.330, 60.916)
  1064. AddZone("Mulholland", 1096.470, -910.170, -89.084, 1169.130, -768.027, 110.916)
  1065. AddZone("Yellow Bell Gol Course", 1457.460, 2723.230, -89.084, 1534.560, 2863.230, 110.916)
  1066. AddZone("The Strip", 2027.400, 1783.230, -89.084, 2162.390, 1863.230, 110.916)
  1067. AddZone("Jefferson", 2056.860, -1210.740, -89.084, 2185.330, -1126.320, 110.916)
  1068. AddZone("Mulholland", 952.604, -937.184, -89.084, 1096.470, -860.619, 110.916)
  1069. AddZone("Aldea Malvada", -1372.140, 2498.520, 0.000, -1277.590, 2615.350, 200.000)
  1070. AddZone("Las Colinas", 2126.860, -1126.320, -89.084, 2185.330, -934.489, 110.916)
  1071. AddZone("Las Colinas", 1994.330, -1100.820, -89.084, 2056.860, -920.815, 110.916)
  1072. AddZone("Richman", 647.557, -954.662, -89.084, 768.694, -860.619, 110.916)
  1073. AddZone("LVA Freight Depot", 1277.050, 1087.630, -89.084, 1375.600, 1203.280, 110.916)
  1074. AddZone("Julius Thruway North", 1377.390, 2433.230, -89.084, 1534.560, 2507.230, 110.916)
  1075. AddZone("Willowfield", 2201.820, -2095.000, -89.084, 2324.000, -1989.900, 110.916)
  1076. AddZone("Julius Thruway North", 1704.590, 2342.830, -89.084, 1848.400, 2433.230, 110.916)
  1077. AddZone("Temple", 1252.330, -1130.850, -89.084, 1378.330, -1026.330, 110.916)
  1078. AddZone("Little Mexico", 1701.900, -1842.270, -89.084, 1812.620, -1722.260, 110.916)
  1079. AddZone("Queens", -2411.220, 373.539, 0.000, -2253.540, 458.411, 200.000)
  1080. AddZone("Las Venturas Airport", 1515.810, 1586.400, -12.500, 1729.950, 1714.560, 87.500)
  1081. AddZone("Richman", 225.165, -1292.070, -89.084, 466.223, -1235.070, 110.916)
  1082. AddZone("Temple", 1252.330, -1026.330, -89.084, 1391.050, -926.999, 110.916)
  1083. AddZone("East Los Santos", 2266.260, -1494.030, -89.084, 2381.680, -1372.040, 110.916)
  1084. AddZone("Julius Thruway East", 2623.180, 943.235, -89.084, 2749.900, 1055.960, 110.916)
  1085. AddZone("Willowfield", 2541.700, -1941.400, -89.084, 2703.580, -1852.870, 110.916)
  1086. AddZone("Las Colinas", 2056.860, -1126.320, -89.084, 2126.860, -920.815, 110.916)
  1087. AddZone("Julius Thruway East", 2625.160, 2202.760, -89.084, 2685.160, 2442.550, 110.916)
  1088. AddZone("Rodeo", 225.165, -1501.950, -89.084, 334.503, -1369.620, 110.916)
  1089. AddZone("Las Brujas", -365.167, 2123.010, -3.0, -208.570, 2217.680, 200.000)
  1090. AddZone("Julius Thruway East", 2536.430, 2442.550, -89.084, 2685.160, 2542.550, 110.916)
  1091. AddZone("Rodeo", 334.503, -1406.050, -89.084, 466.223, -1292.070, 110.916)
  1092. AddZone("Vinewood", 647.557, -1227.280, -89.084, 787.461, -1118.280, 110.916)
  1093. AddZone("Rodeo", 422.680, -1684.650, -89.084, 558.099, -1570.200, 110.916)
  1094. AddZone("Julius Thruway North", 2498.210, 2542.550, -89.084, 2685.160, 2626.550, 110.916)
  1095. AddZone("Downtown Los Santos", 1724.760, -1430.870, -89.084, 1812.620, -1250.900, 110.916)
  1096. AddZone("Rodeo", 225.165, -1684.650, -89.084, 312.803, -1501.950, 110.916)
  1097. AddZone("Jefferson", 2056.860, -1449.670, -89.084, 2266.210, -1372.040, 110.916)
  1098. AddZone("Hampton Barns", 603.035, 264.312, 0.000, 761.994, 366.572, 200.000)
  1099. AddZone("Temple", 1096.470, -1130.840, -89.084, 1252.330, -1026.330, 110.916)
  1100. AddZone("Kincaid Bridge", -1087.930, 855.370, -89.084, -961.950, 986.281, 110.916)
  1101. AddZone("Verona Beach", 1046.150, -1722.260, -89.084, 1161.520, -1577.590, 110.916)
  1102. AddZone("Commerce", 1323.900, -1722.260, -89.084, 1440.900, -1577.590, 110.916)
  1103. AddZone("Mulholland", 1357.000, -926.999, -89.084, 1463.900, -768.027, 110.916)
  1104. AddZone("Rodeo", 466.223, -1570.200, -89.084, 558.099, -1385.070, 110.916)
  1105. AddZone("Mulholland", 911.802, -860.619, -89.084, 1096.470, -768.027, 110.916)
  1106. AddZone("Mulholland", 768.694, -954.662, -89.084, 952.604, -860.619, 110.916)
  1107. AddZone("Julius Thruway South", 2377.390, 788.894, -89.084, 2537.390, 897.901, 110.916)
  1108. AddZone("Idlewood", 1812.620, -1852.870, -89.084, 1971.660, -1742.310, 110.916)
  1109. AddZone("Ocean Docks", 2089.000, -2394.330, -89.084, 2201.820, -2235.840, 110.916)
  1110. AddZone("Commerce", 1370.850, -1577.590, -89.084, 1463.900, -1384.950, 110.916)
  1111. AddZone("Julius Thruway North", 2121.400, 2508.230, -89.084, 2237.400, 2663.170, 110.916)
  1112. AddZone("Temple", 1096.470, -1026.330, -89.084, 1252.330, -910.170, 110.916)
  1113. AddZone("Glen Park", 1812.620, -1449.670, -89.084, 1996.910, -1350.720, 110.916)
  1114. AddZone("Easter Bay Airport", -1242.980, -50.096, 0.000, -1213.910, 578.396, 200.000)
  1115. AddZone("Martin Bridge", -222.179, 293.324, 0.000, -122.126, 476.465, 200.000)
  1116. AddZone("The Strip", 2106.700, 1863.230, -89.084, 2162.390, 2202.760, 110.916)
  1117. AddZone("Willowfield", 2541.700, -2059.230, -89.084, 2703.580, -1941.400, 110.916)
  1118. AddZone("Marina", 807.922, -1577.590, -89.084, 926.922, -1416.250, 110.916)
  1119. AddZone("Las Venturas Airport", 1457.370, 1143.210, -89.084, 1777.400, 1203.280, 110.916)
  1120. AddZone("Idlewood", 1812.620, -1742.310, -89.084, 1951.660, -1602.310, 110.916)
  1121. AddZone("Esplanade East", -1580.010, 1025.980, -6.1, -1499.890, 1274.260, 200.000)
  1122. AddZone("Downtown Los Santos", 1370.850, -1384.950, -89.084, 1463.900, -1170.870, 110.916)
  1123. AddZone("The Mako Span", 1664.620, 401.750, 0.000, 1785.140, 567.203, 200.000)
  1124. AddZone("Rodeo", 312.803, -1684.650, -89.084, 422.680, -1501.950, 110.916)
  1125. AddZone("Pershing Square", 1440.900, -1722.260, -89.084, 1583.500, -1577.590, 110.916)
  1126. AddZone("Mulholland", 687.802, -860.619, -89.084, 911.802, -768.027, 110.916)
  1127. AddZone("Gant Bridge", -2741.070, 1490.470, -6.1, -2616.400, 1659.680, 200.000)
  1128. AddZone("Las Colinas", 2185.330, -1154.590, -89.084, 2281.450, -934.489, 110.916)
  1129. AddZone("Mulholland", 1169.130, -910.170, -89.084, 1318.130, -768.027, 110.916)
  1130. AddZone("Julius Thruway North", 1938.800, 2508.230, -89.084, 2121.400, 2624.230, 110.916)
  1131. AddZone("Commerce", 1667.960, -1577.590, -89.084, 1812.620, -1430.870, 110.916)
  1132. AddZone("Rodeo", 72.648, -1544.170, -89.084, 225.165, -1404.970, 110.916)
  1133. AddZone("Roca Escalante", 2536.430, 2202.760, -89.084, 2625.160, 2442.550, 110.916)
  1134. AddZone("Rodeo", 72.648, -1684.650, -89.084, 225.165, -1544.170, 110.916)
  1135. AddZone("Market", 952.663, -1310.210, -89.084, 1072.660, -1130.850, 110.916)
  1136. AddZone("Las Colinas", 2632.740, -1135.040, -89.084, 2747.740, -945.035, 110.916)
  1137. AddZone("Mulholland", 861.085, -674.885, -89.084, 1156.550, -600.896, 110.916)
  1138. AddZone("King's", -2253.540, 373.539, -9.1, -1993.280, 458.411, 200.000)
  1139. AddZone("Redsands East", 1848.400, 2342.830, -89.084, 2011.940, 2478.490, 110.916)
  1140. AddZone("Downtown", -1580.010, 744.267, -6.1, -1499.890, 1025.980, 200.000)
  1141. AddZone("Conference Center", 1046.150, -1804.210, -89.084, 1323.900, -1722.260, 110.916)
  1142. AddZone("Richman", 647.557, -1118.280, -89.084, 787.461, -954.662, 110.916)
  1143. AddZone("Ocean Flats", -2994.490, 277.411, -9.1, -2867.850, 458.411, 200.000)
  1144. AddZone("Greenglass College", 964.391, 930.890, -89.084, 1166.530, 1044.690, 110.916)
  1145. AddZone("Glen Park", 1812.620, -1100.820, -89.084, 1994.330, -973.380, 110.916)
  1146. AddZone("LVA Freight Depot", 1375.600, 919.447, -89.084, 1457.370, 1203.280, 110.916)
  1147. AddZone("Regular Tom", -405.770, 1712.860, -3.0, -276.719, 1892.750, 200.000)
  1148. AddZone("Verona Beach", 1161.520, -1722.260, -89.084, 1323.900, -1577.590, 110.916)
  1149. AddZone("East Los Santos", 2281.450, -1372.040, -89.084, 2381.680, -1135.040, 110.916)
  1150. AddZone("Caligula's Palace", 2137.400, 1703.230, -89.084, 2437.390, 1783.230, 110.916)
  1151. AddZone("Idlewood", 1951.660, -1742.310, -89.084, 2124.660, -1602.310, 110.916)
  1152. AddZone("Pilgrim", 2624.400, 1383.230, -89.084, 2685.160, 1783.230, 110.916)
  1153. AddZone("Idlewood", 2124.660, -1742.310, -89.084, 2222.560, -1494.030, 110.916)
  1154. AddZone("Queens", -2533.040, 458.411, 0.000, -2329.310, 578.396, 200.000)
  1155. AddZone("Downtown", -1871.720, 1176.420, -4.5, -1620.300, 1274.260, 200.000)
  1156. AddZone("Commerce", 1583.500, -1722.260, -89.084, 1758.900, -1577.590, 110.916)
  1157. AddZone("East Los Santos", 2381.680, -1454.350, -89.084, 2462.130, -1135.040, 110.916)
  1158. AddZone("Marina", 647.712, -1577.590, -89.084, 807.922, -1416.250, 110.916)
  1159. AddZone("Richman", 72.648, -1404.970, -89.084, 225.165, -1235.070, 110.916)
  1160. AddZone("Vinewood", 647.712, -1416.250, -89.084, 787.461, -1227.280, 110.916)
  1161. AddZone("East Los Santos", 2222.560, -1628.530, -89.084, 2421.030, -1494.030, 110.916)
  1162. AddZone("Rodeo", 558.099, -1684.650, -89.084, 647.522, -1384.930, 110.916)
  1163. AddZone("Easter Tunnel", -1709.710, -833.034, -1.5, -1446.010, -730.118, 200.000)
  1164. AddZone("Rodeo", 466.223, -1385.070, -89.084, 647.522, -1235.070, 110.916)
  1165. AddZone("Redsands East", 1817.390, 2202.760, -89.084, 2011.940, 2342.830, 110.916)
  1166. AddZone("The Clown's Pocket", 2162.390, 1783.230, -89.084, 2437.390, 1883.230, 110.916)
  1167. AddZone("Idlewood", 1971.660, -1852.870, -89.084, 2222.560, -1742.310, 110.916)
  1168. AddZone("Montgomery Intersection", 1546.650, 208.164, 0.000, 1745.830, 347.457, 200.000)
  1169. AddZone("Willowfield", 2089.000, -2235.840, -89.084, 2201.820, -1989.900, 110.916)
  1170. AddZone("Temple", 952.663, -1130.840, -89.084, 1096.470, -937.184, 110.916)
  1171. AddZone("Prickle Pine", 1848.400, 2553.490, -89.084, 1938.800, 2863.230, 110.916)
  1172. AddZone("Los Santos International", 1400.970, -2669.260, -39.084, 2189.820, -2597.260, 60.916)
  1173. AddZone("Garver Bridge", -1213.910, 950.022, -89.084, -1087.930, 1178.930, 110.916)
  1174. AddZone("Garver Bridge", -1339.890, 828.129, -89.084, -1213.910, 1057.040, 110.916)
  1175. AddZone("Kincaid Bridge", -1339.890, 599.218, -89.084, -1213.910, 828.129, 110.916)
  1176. AddZone("Kincaid Bridge", -1213.910, 721.111, -89.084, -1087.930, 950.022, 110.916)
  1177. AddZone("Verona Beach", 930.221, -2006.780, -89.084, 1073.220, -1804.210, 110.916)
  1178. AddZone("Verdant Bluffs", 1073.220, -2006.780, -89.084, 1249.620, -1842.270, 110.916)
  1179. AddZone("Vinewood", 787.461, -1130.840, -89.084, 952.604, -954.662, 110.916)
  1180. AddZone("Vinewood", 787.461, -1310.210, -89.084, 952.663, -1130.840, 110.916)
  1181. AddZone("Commerce", 1463.900, -1577.590, -89.084, 1667.960, -1430.870, 110.916)
  1182. AddZone("Market", 787.461, -1416.250, -89.084, 1072.660, -1310.210, 110.916)
  1183. AddZone("Rockshore West", 2377.390, 596.349, -89.084, 2537.390, 788.894, 110.916)
  1184. AddZone("Julius Thruway North", 2237.400, 2542.550, -89.084, 2498.210, 2663.170, 110.916)
  1185. AddZone("East Beach", 2632.830, -1668.130, -89.084, 2747.740, -1393.420, 110.916)
  1186. AddZone("Fallow Bridge", 434.341, 366.572, 0.000, 603.035, 555.680, 200.000)
  1187. AddZone("Willowfield", 2089.000, -1989.900, -89.084, 2324.000, -1852.870, 110.916)
  1188. AddZone("Chinatown", -2274.170, 578.396, -7.6, -2078.670, 744.170, 200.000)
  1189. AddZone("El Castillo del Diablo", -208.570, 2337.180, 0.000, 8.430, 2487.180, 200.000)
  1190. AddZone("Ocean Docks", 2324.000, -2145.100, -89.084, 2703.580, -2059.230, 110.916)
  1191. AddZone("Easter Bay Chemicals", -1132.820, -768.027, 0.000, -956.476, -578.118, 200.000)
  1192. AddZone("The Visage", 1817.390, 1703.230, -89.084, 2027.400, 1863.230, 110.916)
  1193. AddZone("Ocean Flats", -2994.490, -430.276, -1.2, -2831.890, -222.589, 200.000)
  1194. AddZone("Richman", 321.356, -860.619, -89.084, 687.802, -768.027, 110.916)
  1195. AddZone("Green Palms", 176.581, 1305.450, -3.0, 338.658, 1520.720, 200.000)
  1196. AddZone("Richman", 321.356, -768.027, -89.084, 700.794, -674.885, 110.916)
  1197. AddZone("Starfish Casino", 2162.390, 1883.230, -89.084, 2437.390, 2012.180, 110.916)
  1198. AddZone("East Beach", 2747.740, -1668.130, -89.084, 2959.350, -1498.620, 110.916)
  1199. AddZone("Jefferson", 2056.860, -1372.040, -89.084, 2281.450, -1210.740, 110.916)
  1200. AddZone("Downtown Los Santos", 1463.900, -1290.870, -89.084, 1724.760, -1150.870, 110.916)
  1201. AddZone("Downtown Los Santos", 1463.900, -1430.870, -89.084, 1724.760, -1290.870, 110.916)
  1202. AddZone("Garver Bridge", -1499.890, 696.442, -179.615, -1339.890, 925.353, 20.385)
  1203. AddZone("Julius Thruway South", 1457.390, 823.228, -89.084, 2377.390, 863.229, 110.916)
  1204. AddZone("East Los Santos", 2421.030, -1628.530, -89.084, 2632.830, -1454.350, 110.916)
  1205. AddZone("Greenglass College", 964.391, 1044.690, -89.084, 1197.390, 1203.220, 110.916)
  1206. AddZone("Las Colinas", 2747.740, -1120.040, -89.084, 2959.350, -945.035, 110.916)
  1207. AddZone("Mulholland", 737.573, -768.027, -89.084, 1142.290, -674.885, 110.916)
  1208. AddZone("Ocean Docks", 2201.820, -2730.880, -89.084, 2324.000, -2418.330, 110.916)
  1209. AddZone("East Los Santos", 2462.130, -1454.350, -89.084, 2581.730, -1135.040, 110.916)
  1210. AddZone("Ganton", 2222.560, -1722.330, -89.084, 2632.830, -1628.530, 110.916)
  1211. AddZone("Avispa Country Club", -2831.890, -430.276, -6.1, -2646.400, -222.589, 200.000)
  1212. AddZone("Willowfield", 1970.620, -2179.250, -89.084, 2089.000, -1852.870, 110.916)
  1213. AddZone("Esplanade North", -1982.320, 1274.260, -4.5, -1524.240, 1358.900, 200.000)
  1214. AddZone("The High Roller", 1817.390, 1283.230, -89.084, 2027.390, 1469.230, 110.916)
  1215. AddZone("Ocean Docks", 2201.820, -2418.330, -89.084, 2324.000, -2095.000, 110.916)
  1216. AddZone("Last Dime Motel", 1823.080, 596.349, -89.084, 1997.220, 823.228, 110.916)
  1217. AddZone("Bayside Marina", -2353.170, 2275.790, 0.000, -2153.170, 2475.790, 200.000)
  1218. AddZone("King's", -2329.310, 458.411, -7.6, -1993.280, 578.396, 200.000)
  1219. AddZone("El Corona", 1692.620, -2179.250, -89.084, 1812.620, -1842.270, 110.916)
  1220. AddZone("Blackfield Chapel", 1375.600, 596.349, -89.084, 1558.090, 823.228, 110.916)
  1221. AddZone("The Pink Swan", 1817.390, 1083.230, -89.084, 2027.390, 1283.230, 110.916)
  1222. AddZone("Julius Thruway West", 1197.390, 1163.390, -89.084, 1236.630, 2243.230, 110.916)
  1223. AddZone("Los Flores", 2581.730, -1393.420, -89.084, 2747.740, -1135.040, 110.916)
  1224. AddZone("The Visage", 1817.390, 1863.230, -89.084, 2106.700, 2011.830, 110.916)
  1225. AddZone("Prickle Pine", 1938.800, 2624.230, -89.084, 2121.400, 2861.550, 110.916)
  1226. AddZone("Verona Beach", 851.449, -1804.210, -89.084, 1046.150, -1577.590, 110.916)
  1227. AddZone("Robada Intersection", -1119.010, 1178.930, -89.084, -862.025, 1351.450, 110.916)
  1228. AddZone("Linden Side", 2749.900, 943.235, -89.084, 2923.390, 1198.990, 110.916)
  1229. AddZone("Ocean Docks", 2703.580, -2302.330, -89.084, 2959.350, -2126.900, 110.916)
  1230. AddZone("Willowfield", 2324.000, -2059.230, -89.084, 2541.700, -1852.870, 110.916)
  1231. AddZone("King's", -2411.220, 265.243, -9.1, -1993.280, 373.539, 200.000)
  1232. AddZone("Commerce", 1323.900, -1842.270, -89.084, 1701.900, -1722.260, 110.916)
  1233. AddZone("Mulholland", 1269.130, -768.027, -89.084, 1414.070, -452.425, 110.916)
  1234. AddZone("Marina", 647.712, -1804.210, -89.084, 851.449, -1577.590, 110.916)
  1235. AddZone("Battery Point", -2741.070, 1268.410, -4.5, -2533.040, 1490.470, 200.000)
  1236. AddZone("The Four Dragons Casino", 1817.390, 863.232, -89.084, 2027.390, 1083.230, 110.916)
  1237. AddZone("Blackfield", 964.391, 1203.220, -89.084, 1197.390, 1403.220, 110.916)
  1238. AddZone("Julius Thruway North", 1534.560, 2433.230, -89.084, 1848.400, 2583.230, 110.916)
  1239. AddZone("Yellow Bell Gol Course", 1117.400, 2723.230, -89.084, 1457.460, 2863.230, 110.916)
  1240. AddZone("Idlewood", 1812.620, -1602.310, -89.084, 2124.660, -1449.670, 110.916)
  1241. AddZone("Redsands West", 1297.470, 2142.860, -89.084, 1777.390, 2243.230, 110.916)
  1242. AddZone("Doherty", -2270.040, -324.114, -1.2, -1794.920, -222.589, 200.000)
  1243. AddZone("Hilltop Farm", 967.383, -450.390, -3.0, 1176.780, -217.900, 200.000)
  1244. AddZone("Las Barrancas", -926.130, 1398.730, -3.0, -719.234, 1634.690, 200.000)
  1245. AddZone("Pirates in Men's Pants", 1817.390, 1469.230, -89.084, 2027.400, 1703.230, 110.916)
  1246. AddZone("City Hall", -2867.850, 277.411, -9.1, -2593.440, 458.411, 200.000)
  1247. AddZone("Avispa Country Club", -2646.400, -355.493, 0.000, -2270.040, -222.589, 200.000)
  1248. AddZone("The Strip", 2027.400, 863.229, -89.084, 2087.390, 1703.230, 110.916)
  1249. AddZone("Hashbury", -2593.440, -222.589, -1.0, -2411.220, 54.722, 200.000)
  1250. AddZone("Los Santos International", 1852.000, -2394.330, -89.084, 2089.000, -2179.250, 110.916)
  1251. AddZone("Whitewood Estates", 1098.310, 1726.220, -89.084, 1197.390, 2243.230, 110.916)
  1252. AddZone("Sherman Reservoir", -789.737, 1659.680, -89.084, -599.505, 1929.410, 110.916)
  1253. AddZone("El Corona", 1812.620, -2179.250, -89.084, 1970.620, -1852.870, 110.916)
  1254. AddZone("Downtown", -1700.010, 744.267, -6.1, -1580.010, 1176.520, 200.000)
  1255. AddZone("Foster Valley", -2178.690, -1250.970, 0.000, -1794.920, -1115.580, 200.000)
  1256. AddZone("Las Payasadas", -354.332, 2580.360, 2.0, -133.625, 2816.820, 200.000)
  1257. AddZone("Valle Ocultado", -936.668, 2611.440, 2.0, -715.961, 2847.900, 200.000)
  1258. AddZone("Blackfield Intersection", 1166.530, 795.010, -89.084, 1375.600, 1044.690, 110.916)
  1259. AddZone("Ganton", 2222.560, -1852.870, -89.084, 2632.830, -1722.330, 110.916)
  1260. AddZone("Easter Bay Airport", -1213.910, -730.118, 0.000, -1132.820, -50.096, 200.000)
  1261. AddZone("Redsands East", 1817.390, 2011.830, -89.084, 2106.700, 2202.760, 110.916)
  1262. AddZone("Esplanade East", -1499.890, 578.396, -79.615, -1339.890, 1274.260, 20.385)
  1263. AddZone("Caligula's Palace", 2087.390, 1543.230, -89.084, 2437.390, 1703.230, 110.916)
  1264. AddZone("Royal Casino", 2087.390, 1383.230, -89.084, 2437.390, 1543.230, 110.916)
  1265. AddZone("Richman", 72.648, -1235.070, -89.084, 321.356, -1008.150, 110.916)
  1266. AddZone("Starfish Casino", 2437.390, 1783.230, -89.084, 2685.160, 2012.180, 110.916)
  1267. AddZone("Mulholland", 1281.130, -452.425, -89.084, 1641.130, -290.913, 110.916)
  1268. AddZone("Downtown", -1982.320, 744.170, -6.1, -1871.720, 1274.260, 200.000)
  1269. AddZone("Hankypanky Point", 2576.920, 62.158, 0.000, 2759.250, 385.503, 200.000)
  1270. AddZone("K.A.C.C. Military Fuels", 2498.210, 2626.550, -89.084, 2749.900, 2861.550, 110.916)
  1271. AddZone("Harry Gold Parkway", 1777.390, 863.232, -89.084, 1817.390, 2342.830, 110.916)
  1272. AddZone("Bayside Tunnel", -2290.190, 2548.290, -89.084, -1950.190, 2723.290, 110.916)
  1273. AddZone("Ocean Docks", 2324.000, -2302.330, -89.084, 2703.580, -2145.100, 110.916)
  1274. AddZone("Richman", 321.356, -1044.070, -89.084, 647.557, -860.619, 110.916)
  1275. AddZone("Randolph Industrial Estate", 1558.090, 596.349, -89.084, 1823.080, 823.235, 110.916)
  1276. AddZone("East Beach", 2632.830, -1852.870, -89.084, 2959.350, -1668.130, 110.916)
  1277. AddZone("Flint Water", -314.426, -753.874, -89.084, -106.339, -463.073, 110.916)
  1278. AddZone("Blueberry", 19.607, -404.136, 3.8, 349.607, -220.137, 200.000)
  1279. AddZone("Linden Station", 2749.900, 1198.990, -89.084, 2923.390, 1548.990, 110.916)
  1280. AddZone("Glen Park", 1812.620, -1350.720, -89.084, 2056.860, -1100.820, 110.916)
  1281. AddZone("Downtown", -1993.280, 265.243, -9.1, -1794.920, 578.396, 200.000)
  1282. AddZone("Redsands West", 1377.390, 2243.230, -89.084, 1704.590, 2433.230, 110.916)
  1283. AddZone("Richman", 321.356, -1235.070, -89.084, 647.522, -1044.070, 110.916)
  1284. AddZone("Gant Bridge", -2741.450, 1659.680, -6.1, -2616.400, 2175.150, 200.000)
  1285. AddZone("Lil' Probe Inn", -90.218, 1286.850, -3.0, 153.859, 1554.120, 200.000)
  1286. AddZone("Flint Intersection", -187.700, -1596.760, -89.084, 17.063, -1276.600, 110.916)
  1287. AddZone("Las Colinas", 2281.450, -1135.040, -89.084, 2632.740, -945.035, 110.916)
  1288. AddZone("Sobell Rail Yards", 2749.900, 1548.990, -89.084, 2923.390, 1937.250, 110.916)
  1289. AddZone("The Emerald Isle", 2011.940, 2202.760, -89.084, 2237.400, 2508.230, 110.916)
  1290. AddZone("El Castillo del Diablo", -208.570, 2123.010, -7.6, 114.033, 2337.180, 200.000)
  1291. AddZone("Santa Flora", -2741.070, 458.411, -7.6, -2533.040, 793.411, 200.000)
  1292. AddZone("Playa del Seville", 2703.580, -2126.900, -89.084, 2959.350, -1852.870, 110.916)
  1293. AddZone("Market", 926.922, -1577.590, -89.084, 1370.850, -1416.250, 110.916)
  1294. AddZone("Queens", -2593.440, 54.722, 0.000, -2411.220, 458.411, 200.000)
  1295. AddZone("Pilson Intersection", 1098.390, 2243.230, -89.084, 1377.390, 2507.230, 110.916)
  1296. AddZone("Spinybed", 2121.400, 2663.170, -89.084, 2498.210, 2861.550, 110.916)
  1297. AddZone("Pilgrim", 2437.390, 1383.230, -89.084, 2624.400, 1783.230, 110.916)
  1298. AddZone("Blackfield", 964.391, 1403.220, -89.084, 1197.390, 1726.220, 110.916)
  1299. AddZone("'The Big Ear'", -410.020, 1403.340, -3.0, -137.969, 1681.230, 200.000)
  1300. AddZone("Dillimore", 580.794, -674.885, -9.5, 861.085, -404.790, 200.000)
  1301. AddZone("El Quebrados", -1645.230, 2498.520, 0.000, -1372.140, 2777.850, 200.000)
  1302. AddZone("Esplanade North", -2533.040, 1358.900, -4.5, -1996.660, 1501.210, 200.000)
  1303. AddZone("Easter Bay Airport", -1499.890, -50.096, -1.0, -1242.980, 249.904, 200.000)
  1304. AddZone("Fisher's Lagoon", 1916.990, -233.323, -100.000, 2131.720, 13.800, 200.000)
  1305. AddZone("Mulholland", 1414.070, -768.027, -89.084, 1667.610, -452.425, 110.916)
  1306. AddZone("East Beach", 2747.740, -1498.620, -89.084, 2959.350, -1120.040, 110.916)
  1307. AddZone("San Andreas Sound", 2450.390, 385.503, -100.000, 2759.250, 562.349, 200.000)
  1308. AddZone("Shady Creeks", -2030.120, -2174.890, -6.1, -1820.640, -1771.660, 200.000)
  1309. AddZone("Market", 1072.660, -1416.250, -89.084, 1370.850, -1130.850, 110.916)
  1310. AddZone("Rockshore West", 1997.220, 596.349, -89.084, 2377.390, 823.228, 110.916)
  1311. AddZone("Prickle Pine", 1534.560, 2583.230, -89.084, 1848.400, 2863.230, 110.916)
  1312. AddZone("Easter Basin", -1794.920, -50.096, -1.04, -1499.890, 249.904, 200.000)
  1313. AddZone("Leafy Hollow", -1166.970, -1856.030, 0.000, -815.624, -1602.070, 200.000)
  1314. AddZone("LVA Freight Depot", 1457.390, 863.229, -89.084, 1777.400, 1143.210, 110.916)
  1315. AddZone("Prickle Pine", 1117.400, 2507.230, -89.084, 1534.560, 2723.230, 110.916)
  1316. AddZone("Blueberry", 104.534, -220.137, 2.3, 349.607, 152.236, 200.000)
  1317. AddZone("El Castillo del Diablo", -464.515, 2217.680, 0.000, -208.570, 2580.360, 200.000)
  1318. AddZone("Downtown", -2078.670, 578.396, -7.6, -1499.890, 744.267, 200.000)
  1319. AddZone("Rockshore East", 2537.390, 676.549, -89.084, 2902.350, 943.235, 110.916)
  1320. AddZone("San Fierro Bay", -2616.400, 1501.210, -3.0, -1996.660, 1659.680, 200.000)
  1321. AddZone("Paradiso", -2741.070, 793.411, -6.1, -2533.040, 1268.410, 200.000)
  1322. AddZone("The Camel's Toe", 2087.390, 1203.230, -89.084, 2640.400, 1383.230, 110.916)
  1323. AddZone("Old Venturas Strip", 2162.390, 2012.180, -89.084, 2685.160, 2202.760, 110.916)
  1324. AddZone("Juniper Hill", -2533.040, 578.396, -7.6, -2274.170, 968.369, 200.000)
  1325. AddZone("Juniper Hollow", -2533.040, 968.369, -6.1, -2274.170, 1358.900, 200.000)
  1326. AddZone("Roca Escalante", 2237.400, 2202.760, -89.084, 2536.430, 2542.550, 110.916)
  1327. AddZone("Julius Thruway East", 2685.160, 1055.960, -89.084, 2749.900, 2626.550, 110.916)
  1328. AddZone("Verona Beach", 647.712, -2173.290, -89.084, 930.221, -1804.210, 110.916)
  1329. AddZone("Foster Valley", -2178.690, -599.884, -1.2, -1794.920, -324.114, 200.000)
  1330. AddZone("Arco del Oeste", -901.129, 2221.860, 0.000, -592.090, 2571.970, 200.000)
  1331. AddZone("Fallen Tree", -792.254, -698.555, -5.3, -452.404, -380.043, 200.000)
  1332. AddZone("The Farm", -1209.670, -1317.100, 114.981, -908.161, -787.391, 251.981)
  1333. AddZone("The Sherman Dam", -968.772, 1929.410, -3.0, -481.126, 2155.260, 200.000)
  1334. AddZone("Esplanade North", -1996.660, 1358.900, -4.5, -1524.240, 1592.510, 200.000)
  1335. AddZone("Financial", -1871.720, 744.170, -6.1, -1701.300, 1176.420, 300.000)
  1336. AddZone("Garcia", -2411.220, -222.589, -1.14, -2173.040, 265.243, 200.000)
  1337. AddZone("Montgomery", 1119.510, 119.526, -3.0, 1451.400, 493.323, 200.000)
  1338. AddZone("Creek", 2749.900, 1937.250, -89.084, 2921.620, 2669.790, 110.916)
  1339. AddZone("Los Santos International", 1249.620, -2394.330, -89.084, 1852.000, -2179.250, 110.916)
  1340. AddZone("Santa Maria Beach", 72.648, -2173.290, -89.084, 342.648, -1684.650, 110.916)
  1341. AddZone("Mulholland Intersection", 1463.900, -1150.870, -89.084, 1812.620, -768.027, 110.916)
  1342. AddZone("Angel Pine", -2324.940, -2584.290, -6.1, -1964.220, -2212.110, 200.000)
  1343. AddZone("Verdant Meadows", 37.032, 2337.180, -3.0, 435.988, 2677.900, 200.000)
  1344. AddZone("Octane Springs", 338.658, 1228.510, 0.000, 664.308, 1655.050, 200.000)
  1345. AddZone("Come-A-Lot", 2087.390, 943.235, -89.084, 2623.180, 1203.230, 110.916)
  1346. AddZone("Redsands West", 1236.630, 1883.110, -89.084, 1777.390, 2142.860, 110.916)
  1347. AddZone("Santa Maria Beach", 342.648, -2173.290, -89.084, 647.712, -1684.650, 110.916)
  1348. AddZone("Verdant Bluffs", 1249.620, -2179.250, -89.084, 1692.620, -1842.270, 110.916)
  1349. AddZone("Las Venturas Airport", 1236.630, 1203.280, -89.084, 1457.370, 1883.110, 110.916)
  1350. AddZone("Flint Range", -594.191, -1648.550, 0.000, -187.700, -1276.600, 200.000)
  1351. AddZone("Verdant Bluffs", 930.221, -2488.420, -89.084, 1249.620, -2006.780, 110.916)
  1352. AddZone("Palomino Creek", 2160.220, -149.004, 0.000, 2576.920, 228.322, 200.000)
  1353. AddZone("Ocean Docks", 2373.770, -2697.090, -89.084, 2809.220, -2330.460, 110.916)
  1354. AddZone("Easter Bay Airport", -1213.910, -50.096, -4.5, -947.980, 578.396, 200.000)
  1355. AddZone("Whitewood Estates", 883.308, 1726.220, -89.084, 1098.310, 2507.230, 110.916)
  1356. AddZone("Calton Heights", -2274.170, 744.170, -6.1, -1982.320, 1358.900, 200.000)
  1357. AddZone("Easter Basin", -1794.920, 249.904, -9.1, -1242.980, 578.396, 200.000)
  1358. AddZone("Los Santos Inlet", -321.744, -2224.430, -89.084, 44.615, -1724.430, 110.916)
  1359. AddZone("Doherty", -2173.040, -222.589, -1.0, -1794.920, 265.243, 200.000)
  1360. AddZone("Mount Chiliad", -2178.690, -2189.910, -47.917, -2030.120, -1771.660, 576.083)
  1361. AddZone("Fort Carson", -376.233, 826.326, -3.0, 123.717, 1220.440, 200.000)
  1362. AddZone("Foster Valley", -2178.690, -1115.580, 0.000, -1794.920, -599.884, 200.000)
  1363. AddZone("Ocean Flats", -2994.490, -222.589, -1.0, -2593.440, 277.411, 200.000)
  1364. AddZone("Fern Ridge", 508.189, -139.259, 0.000, 1306.660, 119.526, 200.000)
  1365. AddZone("Bayside", -2741.070, 2175.150, 0.000, -2353.170, 2722.790, 200.000)
  1366. AddZone("Las Venturas Airport", 1457.370, 1203.280, -89.084, 1777.390, 1883.110, 110.916)
  1367. AddZone("Blueberry Acres", -319.676, -220.137, 0.000, 104.534, 293.324, 200.000)
  1368. AddZone("Palisades", -2994.490, 458.411, -6.1, -2741.070, 1339.610, 200.000)
  1369. AddZone("North Rock", 2285.370, -768.027, 0.000, 2770.590, -269.740, 200.000)
  1370. AddZone("Hunter Quarry", 337.244, 710.840, -115.239, 860.554, 1031.710, 203.761)
  1371. AddZone("Los Santos International", 1382.730, -2730.880, -89.084, 2201.820, -2394.330, 110.916)
  1372. AddZone("Missionary Hill", -2994.490, -811.276, 0.000, -2178.690, -430.276, 200.000)
  1373. AddZone("San Fierro Bay", -2616.400, 1659.680, -3.0, -1996.660, 2175.150, 200.000)
  1374. AddZone("Restricted Area", -91.586, 1655.050, -50.000, 421.234, 2123.010, 250.000)
  1375. AddZone("Mount Chiliad", -2997.470, -1115.580, -47.917, -2178.690, -971.913, 576.083)
  1376. AddZone("Mount Chiliad", -2178.690, -1771.660, -47.917, -1936.120, -1250.970, 576.083)
  1377. AddZone("Easter Bay Airport", -1794.920, -730.118, -3.0, -1213.910, -50.096, 200.000)
  1378. AddZone("The Panopticon", -947.980, -304.320, -1.1, -319.676, 327.071, 200.000)
  1379. AddZone("Shady Creeks", -1820.640, -2643.680, -8.0, -1226.780, -1771.660, 200.000)
  1380. AddZone("Back o Beyond", -1166.970, -2641.190, 0.000, -321.744, -1856.030, 200.000)
  1381. AddZone("Mount Chiliad", -2994.490, -2189.910, -47.917, -2178.690, -1115.580, 576.083)
  1382. AddZone("Tierra Robada", -1213.910, 596.349, -242.990, -480.539, 1659.680, 900.000)
  1383. AddZone("Flint County", -1213.910, -2892.970, -242.990, 44.615, -768.027, 900.000)
  1384. AddZone("Whetstone", -2997.470, -2892.970, -242.990, -1213.910, -1115.580, 900.000)
  1385. AddZone("Bone County", -480.539, 596.349, -242.990, 869.461, 2993.870, 900.000)
  1386. AddZone("Tierra Robada", -2997.470, 1659.680, -242.990, -480.539, 2993.870, 900.000)
  1387. AddZone("San Fierro", -2997.470, -1115.580, -242.990, -1213.910, 1659.680, 900.000)
  1388. AddZone("Las Venturas", 869.461, 596.349, -242.990, 2997.060, 2993.870, 900.000)
  1389. AddZone("Red County", -1213.910, -768.027, -242.990, 2997.060, 596.349, 900.000)
  1390. AddZone("Los Santos", 44.615, -2892.970, -242.990, 2997.060, -768.027, 900.000)
  1391. }
  1392. AddZone(sName, x1, y1, z1, x2, y2, z2) {
  1393. global
  1394. zone%nZone%_name := sName
  1395. zone%nZone%_x1 := x1
  1396. zone%nZone%_y1 := y1
  1397. zone%nZone%_z1 := z1
  1398. zone%nZone%_x2 := x2
  1399. zone%nZone%_y2 := y2
  1400. zone%nZone%_z2 := z2
  1401. nZone := nZone + 1
  1402. }
  1403. AddCity(sName, x1, y1, z1, x2, y2, z2) {
  1404. global
  1405. city%nCity%_name := sName
  1406. city%nCity%_x1 := x1
  1407. city%nCity%_y1 := y1
  1408. city%nCity%_z1 := z1
  1409. city%nCity%_x2 := x2
  1410. city%nCity%_y2 := y2
  1411. city%nCity%_z2 := z2
  1412. nCity := nCity + 1
  1413. }
  1414. checkHandles() {
  1415. if(bCheckSizeOnce)
  1416. {
  1417. bCheckSizeOnce:=false
  1418. if (A_PtrSize==8)
  1419. {
  1420. MsgBox % "Script is 64-bit, this won't work.`nCompile with 32-bit!"
  1421. Exitapp
  1422. }
  1423. }
  1424. if(iRefreshHandles+500>A_TickCount)
  1425. return true
  1426. iRefreshHandles:=A_TickCount
  1427. if(!refreshGTA() || !refreshSAMP() || !refreshMemory()) {
  1428. return false
  1429. } else {
  1430. return true
  1431. }
  1432. return true
  1433. }
  1434. refreshGTA() {
  1435. newPID := getPID("GTA:SA:MP")
  1436. if(!newPID) {
  1437. if(hGTA) {
  1438. virtualFreeEx(hGTA, pMemory, 0, 0x8000)
  1439. closeProcess(hGTA)
  1440. hGTA := 0x0
  1441. }
  1442. dwGTAPID := 0
  1443. hGTA := 0x0
  1444. dwSAMP := 0x0
  1445. pMemory := 0x0
  1446. return false
  1447. }
  1448. if(!hGTA || (dwGTAPID != newPID)) {
  1449. hGTA := openProcess(newPID)
  1450. if(ErrorLevel) {
  1451. dwGTAPID := 0
  1452. hGTA := 0x0
  1453. dwSAMP := 0x0
  1454. pMemory := 0x0
  1455. return false
  1456. }
  1457. dwGTAPID := newPID
  1458. dwSAMP := 0x0
  1459. pMemory := 0x0
  1460. return true
  1461. }
  1462. return true
  1463. }
  1464. refreshSAMP() {
  1465. if(dwSAMP)
  1466. return true
  1467. dwSAMP := getModuleBaseAddress("samp.dll", hGTA)
  1468. if(!dwSAMP)
  1469. return false
  1470. return true
  1471. }
  1472. refreshMemory() {
  1473. if(!pMemory) {
  1474. pMemory := virtualAllocEx(hGTA, 6144, 0x1000 | 0x2000, 0x40)
  1475. if(ErrorLevel) {
  1476. pMemory := 0x0
  1477. return false
  1478. }
  1479. pParam1 := pMemory
  1480. pParam2 := pMemory + 1024
  1481. pParam3 := pMemory + 2048
  1482. pParam4 := pMemory + 3072
  1483. pParam5 := pMemory + 4096
  1484. pInjectFunc := pMemory + 5120
  1485. }
  1486. return true
  1487. }
  1488. getPID(szWindow) {
  1489. local dwPID := 0
  1490. WinGet, dwPID, PID, %szWindow%
  1491. return dwPID
  1492. }
  1493. openProcess(dwPID, dwRights = 0x1F0FFF) {
  1494. hProcess := DllCall("OpenProcess"
  1495. , "UInt", dwRights
  1496. , "int", 0
  1497. , "UInt", dwPID
  1498. , "Uint")
  1499. if(hProcess == 0) {
  1500. ErrorLevel := ERROR_OPEN_PROCESS
  1501. return 0
  1502. }
  1503. ErrorLevel := ERROR_OK
  1504. return hProcess
  1505. }
  1506. closeProcess(hProcess) {
  1507. if(hProcess == 0) {
  1508. ErrorLevel := ERROR_INVALID_HANDLE
  1509. return 0
  1510. }
  1511. dwRet := DllCall( "CloseHandle"
  1512. , "Uint", hProcess
  1513. , "UInt")
  1514. ErrorLevel := ERROR_OK
  1515. }
  1516. getModuleBaseAddress(sModule, hProcess) {
  1517. if(!sModule) {
  1518. ErrorLevel := ERROR_MODULE_NOT_FOUND
  1519. return 0
  1520. }
  1521. if(!hProcess) {
  1522. ErrorLevel := ERROR_INVALID_HANDLE
  1523. return 0
  1524. }
  1525. dwSize = 1024*4
  1526. VarSetCapacity(hMods, dwSize)
  1527. VarSetCapacity(cbNeeded, 4)
  1528. dwRet := DllCall( "Psapi.dll\EnumProcessModules"
  1529. , "UInt", hProcess
  1530. , "UInt", &hMods
  1531. , "UInt", dwSize
  1532. , "UInt*", cbNeeded
  1533. , "UInt")
  1534. if(dwRet == 0) {
  1535. ErrorLevel := ERROR_ENUM_PROCESS_MODULES
  1536. return 0
  1537. }
  1538. dwMods := cbNeeded / 4
  1539. i := 0
  1540. VarSetCapacity(hModule, 4)
  1541. VarSetCapacity(sCurModule, 260)
  1542. while(i < dwMods) {
  1543. hModule := NumGet(hMods, i*4)
  1544. DllCall("Psapi.dll\GetModuleFileNameEx"
  1545. , "UInt", hProcess
  1546. , "UInt", hModule
  1547. , "Str", sCurModule
  1548. , "UInt", 260)
  1549. SplitPath, sCurModule, sFilename
  1550. if(sModule == sFilename) {
  1551. ErrorLevel := ERROR_OK
  1552. return hModule
  1553. }
  1554. i := i + 1
  1555. }
  1556. ErrorLevel := ERROR_MODULE_NOT_FOUND
  1557. return 0
  1558. }
  1559. readString(hProcess, dwAddress, dwLen) {
  1560. if(!hProcess) {
  1561. ErrorLevel := ERROR_INVALID_HANDLE
  1562. return 0
  1563. }
  1564. VarSetCapacity(sRead, dwLen)
  1565. dwRet := DllCall( "ReadProcessMemory"
  1566. , "UInt", hProcess
  1567. , "UInt", dwAddress
  1568. , "Str", sRead
  1569. , "UInt", dwLen
  1570. , "UInt*", 0
  1571. , "UInt")
  1572. if(dwRet == 0) {
  1573. ErrorLevel := ERROR_READ_MEMORY
  1574. return 0
  1575. }
  1576. ErrorLevel := ERROR_OK
  1577. if A_IsUnicode
  1578. return __ansiToUnicode(sRead)
  1579. return sRead
  1580. }
  1581. readFloat(hProcess, dwAddress) {
  1582. if(!hProcess) {
  1583. ErrorLevel := ERROR_INVALID_HANDLE
  1584. return 0
  1585. }
  1586. VarSetCapacity(dwRead, 4)
  1587. dwRet := DllCall( "ReadProcessMemory"
  1588. , "UInt", hProcess
  1589. , "UInt", dwAddress
  1590. , "Str", dwRead
  1591. , "UInt", 4
  1592. , "UInt*", 0
  1593. , "UInt")
  1594. if(dwRet == 0) {
  1595. ErrorLevel := ERROR_READ_MEMORY
  1596. return 0
  1597. }
  1598. ErrorLevel := ERROR_OK
  1599. return NumGet(dwRead, 0, "Float")
  1600. }
  1601. readDWORD(hProcess, dwAddress) {
  1602. if(!hProcess) {
  1603. ErrorLevel := ERROR_INVALID_HANDLE
  1604. return 0
  1605. }
  1606. VarSetCapacity(dwRead, 4)
  1607. dwRet := DllCall( "ReadProcessMemory"
  1608. , "UInt", hProcess
  1609. , "UInt", dwAddress
  1610. , "Str", dwRead
  1611. , "UInt", 4
  1612. , "UInt*", 0)
  1613. if(dwRet == 0) {
  1614. ErrorLevel := ERROR_READ_MEMORY
  1615. return 0
  1616. }
  1617. ErrorLevel := ERROR_OK
  1618. return NumGet(dwRead, 0, "UInt")
  1619. }
  1620. readMem(hProcess, dwAddress, dwLen=4, type="UInt") {
  1621. if(!hProcess) {
  1622. ErrorLevel := ERROR_INVALID_HANDLE
  1623. return 0
  1624. }
  1625. VarSetCapacity(dwRead, dwLen)
  1626. dwRet := DllCall( "ReadProcessMemory"
  1627. , "UInt", hProcess
  1628. , "UInt", dwAddress
  1629. , "Str", dwRead
  1630. , "UInt", dwLen
  1631. , "UInt*", 0)
  1632. if(dwRet == 0) {
  1633. ErrorLevel := ERROR_READ_MEMORY
  1634. return 0
  1635. }
  1636. ErrorLevel := ERROR_OK
  1637. return NumGet(dwRead, 0, type)
  1638. }
  1639. writeString(hProcess, dwAddress, wString) {
  1640. if(!hProcess) {
  1641. ErrorLevel := ERROR_INVALID_HANDLE
  1642. return false
  1643. }
  1644. sString := wString
  1645. if A_IsUnicode
  1646. sString := __unicodeToAnsi(wString)
  1647. dwRet := DllCall( "WriteProcessMemory"
  1648. , "UInt", hProcess
  1649. , "UInt", dwAddress
  1650. , "Str", sString
  1651. , "UInt", StrLen(wString) + 1
  1652. , "UInt", 0
  1653. , "UInt")
  1654. if(dwRet == 0) {
  1655. ErrorLEvel := ERROR_WRITE_MEMORY
  1656. return false
  1657. }
  1658. ErrorLevel := ERROR_OK
  1659. return true
  1660. }
  1661. writeRaw(hProcess, dwAddress, pBuffer, dwLen) {
  1662. if(!hProcess) {
  1663. ErrorLevel := ERROR_INVALID_HANDLE
  1664. return false
  1665. }
  1666. dwRet := DllCall( "WriteProcessMemory"
  1667. , "UInt", hProcess
  1668. , "UInt", dwAddress
  1669. , "UInt", pBuffer
  1670. , "UInt", dwLen
  1671. , "UInt", 0
  1672. , "UInt")
  1673. if(dwRet == 0) {
  1674. ErrorLEvel := ERROR_WRITE_MEMORY
  1675. return false
  1676. }
  1677. ErrorLevel := ERROR_OK
  1678. return true
  1679. }
  1680. callWithParams(hProcess, dwFunc, aParams, bCleanupStack = true) {
  1681. if(!hProcess) {
  1682. ErrorLevel := ERROR_INVALID_HANDLE
  1683. return false
  1684. }
  1685. validParams := 0
  1686. i := aParams.MaxIndex()
  1687. dwLen := i * 5 + 5 + 1
  1688. if(bCleanupStack)
  1689. dwLen += 3
  1690. VarSetCapacity(injectData, i * 5 + 5 + 3 + 1, 0)
  1691. i_ := 1
  1692. while(i > 0) {
  1693. if(aParams[i][1] != "") {
  1694. dwMemAddress := 0x0
  1695. if(aParams[i][1] == "p") {
  1696. dwMemAddress := aParams[i][2]
  1697. } else if(aParams[i][1] == "s") {
  1698. if(i_>3)
  1699. return false
  1700. dwMemAddress := pParam%i_%
  1701. writeString(hProcess, dwMemAddress, aParams[i][2])
  1702. if(ErrorLevel)
  1703. return false
  1704. i_ += 1
  1705. } else if(aParams[i][1] == "i") {
  1706. dwMemAddress := aParams[i][2]
  1707. } else {
  1708. return false
  1709. }
  1710. NumPut(0x68, injectData, validParams * 5, "UChar")
  1711. NumPut(dwMemAddress, injectData, validParams * 5 + 1, "UInt")
  1712. validParams += 1
  1713. }
  1714. i -= 1
  1715. }
  1716. offset := dwFunc - ( pInjectFunc + validParams * 5 + 5 )
  1717. NumPut(0xE8, injectData, validParams * 5, "UChar")
  1718. NumPut(offset, injectData, validParams * 5 + 1, "Int")
  1719. if(bCleanupStack) {
  1720. NumPut(0xC483, injectData, validParams * 5 + 5, "UShort")
  1721. NumPut(validParams*4, injectData, validParams * 5 + 7, "UChar")
  1722. NumPut(0xC3, injectData, validParams * 5 + 8, "UChar")
  1723. } else {
  1724. NumPut(0xC3, injectData, validParams * 5 + 5, "UChar")
  1725. }
  1726. writeRaw(hGTA, pInjectFunc, &injectData, dwLen)
  1727. if(ErrorLevel)
  1728. return false
  1729. hThread := createRemoteThread(hGTA, 0, 0, pInjectFunc, 0, 0, 0)
  1730. if(ErrorLevel)
  1731. return false
  1732. waitForSingleObject(hThread, 0xFFFFFFFF)
  1733. closeProcess(hThread)
  1734. return true
  1735. }
  1736. virtualAllocEx(hProcess, dwSize, flAllocationType, flProtect) {
  1737. if(!hProcess) {
  1738. ErrorLevel := ERROR_INVALID_HANDLE
  1739. return 0
  1740. }
  1741. dwRet := DllCall( "VirtualAllocEx"
  1742. , "UInt", hProcess
  1743. , "UInt", 0
  1744. , "UInt", dwSize
  1745. , "UInt", flAllocationType
  1746. , "UInt", flProtect
  1747. , "UInt")
  1748. if(dwRet == 0) {
  1749. ErrorLEvel := ERROR_ALLOC_MEMORY
  1750. return 0
  1751. }
  1752. ErrorLevel := ERROR_OK
  1753. return dwRet
  1754. }
  1755. virtualFreeEx(hProcess, lpAddress, dwSize, dwFreeType) {
  1756. if(!hProcess) {
  1757. ErrorLevel := ERROR_INVALID_HANDLE
  1758. return 0
  1759. }
  1760. dwRet := DllCall( "VirtualFreeEx"
  1761. , "UInt", hProcess
  1762. , "UInt", lpAddress
  1763. , "UInt", dwSize
  1764. , "UInt", dwFreeType
  1765. , "UInt")
  1766. if(dwRet == 0) {
  1767. ErrorLEvel := ERROR_FREE_MEMORY
  1768. return 0
  1769. }
  1770. ErrorLevel := ERROR_OK
  1771. return dwRet
  1772. }
  1773. createRemoteThread(hProcess, lpThreadAttributes, dwStackSize, lpStartAddress, lpParameter, dwCreationFlags, lpThreadId) {
  1774. if(!hProcess) {
  1775. ErrorLevel := ERROR_INVALID_HANDLE
  1776. return 0
  1777. }
  1778. dwRet := DllCall( "CreateRemoteThread"
  1779. , "UInt", hProcess
  1780. , "UInt", lpThreadAttributes
  1781. , "UInt", dwStackSize
  1782. , "UInt", lpStartAddress
  1783. , "UInt", lpParameter
  1784. , "UInt", dwCreationFlags
  1785. , "UInt", lpThreadId
  1786. , "UInt")
  1787. if(dwRet == 0) {
  1788. ErrorLEvel := ERROR_ALLOC_MEMORY
  1789. return 0
  1790. }
  1791. ErrorLevel := ERROR_OK
  1792. return dwRet
  1793. }
  1794. waitForSingleObject(hThread, dwMilliseconds) {
  1795. if(!hThread) {
  1796. ErrorLevel := ERROR_INVALID_HANDLE
  1797. return 0
  1798. }
  1799. dwRet := DllCall( "WaitForSingleObject"
  1800. , "UInt", hThread
  1801. , "UInt", dwMilliseconds
  1802. , "UInt")
  1803. if(dwRet == 0xFFFFFFFF) {
  1804. ErrorLEvel := ERROR_WAIT_FOR_OBJECT
  1805. return 0
  1806. }
  1807. ErrorLevel := ERROR_OK
  1808. return dwRet
  1809. }
  1810. __ansiToUnicode(sString, nLen = 0) {
  1811. If !nLen
  1812. {
  1813. nLen := DllCall("MultiByteToWideChar"
  1814. , "Uint", 0
  1815. , "Uint", 0
  1816. , "Uint", &sString
  1817. , "int", -1
  1818. , "Uint", 0
  1819. , "int", 0)
  1820. }
  1821. VarSetCapacity(wString, nLen * 2)
  1822. DllCall("MultiByteToWideChar"
  1823. , "Uint", 0
  1824. , "Uint", 0
  1825. , "Uint", &sString
  1826. , "int", -1
  1827. , "Uint", &wString
  1828. , "int", nLen)
  1829. return wString
  1830. }
  1831. __unicodeToAnsi(wString, nLen = 0) {
  1832. pString := wString + 1 > 65536 ? wString : &wString
  1833. If !nLen
  1834. {
  1835. nLen := DllCall("WideCharToMultiByte"
  1836. , "Uint", 0
  1837. , "Uint", 0
  1838. , "Uint", pString
  1839. , "int", -1
  1840. , "Uint", 0
  1841. , "int", 0
  1842. , "Uint", 0
  1843. , "Uint", 0)
  1844. }
  1845. VarSetCapacity(sString, nLen)
  1846. DllCall("WideCharToMultiByte"
  1847. , "Uint", 0
  1848. , "Uint", 0
  1849. , "Uint", pString
  1850. , "int", -1
  1851. , "str", sString
  1852. , "int", nLen
  1853. , "Uint", 0
  1854. , "Uint", 0)
  1855. return sString
  1856. }
  1857. #NoEnv
  1858. PATH_OVERLAY := RelToAbs(A_ScriptDir, "dx9_overlay.dll")
  1859. hModule := DllCall("LoadLibrary", Str, PATH_OVERLAY)
  1860. if(hModule == -1 || hModule == 0)
  1861. {
  1862. MsgBox, 48, Error, The dll-file couldn't be found!
  1863. ExitApp
  1864. }
  1865. Init_func := DllCall("GetProcAddress", UInt, hModule, Str, "Init")
  1866. SetParam_func := DllCall("GetProcAddress", UInt, hModule, Str, "SetParam")
  1867. TextCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextCreate")
  1868. TextDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextDestroy")
  1869. TextSetShadow_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetShadow")
  1870. TextSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetShown")
  1871. TextSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetColor")
  1872. TextSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetPos")
  1873. TextSetString_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetString")
  1874. TextUpdate_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextUpdate")
  1875. BoxCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxCreate")
  1876. BoxDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxDestroy")
  1877. BoxSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetShown")
  1878. BoxSetBorder_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetBorder")
  1879. BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetBorderColor")
  1880. BoxSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetColor")
  1881. BoxSetHeight_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetHeight")
  1882. BoxSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetPos")
  1883. BoxSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetWidth")
  1884. LineCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineCreate")
  1885. LineDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineDestroy")
  1886. LineSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetShown")
  1887. LineSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetColor")
  1888. LineSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetWidth")
  1889. LineSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetPos")
  1890. ImageCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageCreate")
  1891. ImageDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageDestroy")
  1892. ImageSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetShown")
  1893. ImageSetAlign_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetAlign")
  1894. ImageSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetPos")
  1895. ImageSetRotation_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetRotation")
  1896. DestroyAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "DestroyAllVisual")
  1897. ShowAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "ShowAllVisual")
  1898. HideAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "HideAllVisual")
  1899. GetFrameRate_func := DllCall("GetProcAddress", UInt, hModule, Str, "GetFrameRate")
  1900. GetScreenSpecs_func := DllCall("GetProcAddress", UInt, hModule, Str, "GetScreenSpecs")
  1901. Init()
  1902. {
  1903. global Init_func
  1904. res := DllCall(Init_func)
  1905. return res
  1906. }
  1907. SetParam(str_Name, str_Value)
  1908. {
  1909. global SetParam_func
  1910. res := DllCall(SetParam_func, Str, str_Name, Str, str_Value)
  1911. return res
  1912. }
  1913. TextCreate(Font, fontsize, bold, italic, x, y, color, text, shadow, show)
  1914. {
  1915. global TextCreate_func
  1916. res := DllCall(TextCreate_func,Str,Font,Int,fontsize,UChar,bold,UChar,italic,Int,x,Int,y,UInt,color,Str,text,UChar,shadow,UChar,show)
  1917. return res
  1918. }
  1919. TextDestroy(id)
  1920. {
  1921. global TextDestroy_func
  1922. res := DllCall(TextDestroy_func,Int,id)
  1923. return res
  1924. }
  1925. TextSetShadow(id, shadow)
  1926. {
  1927. global TextSetShadow_func
  1928. res := DllCall(TextSetShadow_func,Int,id,UChar,shadow)
  1929. return res
  1930. }
  1931. TextSetShown(id, show)
  1932. {
  1933. global TextSetShown_func
  1934. res := DllCall(TextSetShown_func,Int,id,UChar,show)
  1935. return res
  1936. }
  1937. TextSetColor(id,color)
  1938. {
  1939. global TextSetColor_func
  1940. res := DllCall(TextSetColor_func,Int,id,UInt,color)
  1941. return res
  1942. }
  1943. TextSetPos(id,x,y)
  1944. {
  1945. global TextSetPos_func
  1946. res := DllCall(TextSetPos_func,Int,id,Int,x,Int,y)
  1947. return res
  1948. }
  1949. TextSetString(id,Text)
  1950. {
  1951. global TextSetString_func
  1952. res := DllCall(TextSetString_func,Int,id,Str,Text)
  1953. return res
  1954. }
  1955. TextUpdate(id,Font,Fontsize,bold,italic)
  1956. {
  1957. global TextUpdate_func
  1958. res := DllCall(TextUpdate_func,Int,id,Str,Font,int,Fontsize,UChar,bold,UChar,italic)
  1959. return res
  1960. }
  1961. BoxCreate(x,y,width,height,Color,show)
  1962. {
  1963. global BoxCreate_func
  1964. res := DllCall(BoxCreate_func,Int,x,Int,y,Int,width,Int,height,UInt,Color,UChar,show)
  1965. return res
  1966. }
  1967. BoxDestroy(id)
  1968. {
  1969. global BoxDestroy_func
  1970. res := DllCall(BoxDestroy_func,Int,id)
  1971. return res
  1972. }
  1973. BoxSetShown(id,Show)
  1974. {
  1975. global BoxSetShown_func
  1976. res := DllCall(BoxSetShown_func,Int,id,UChar,Show)
  1977. return res
  1978. }
  1979. BoxSetBorder(id,height,Show)
  1980. {
  1981. global BoxSetBorder_func
  1982. res := DllCall(BoxSetBorder_func,Int,id,Int,height,Int,Show)
  1983. return res
  1984. }
  1985. BoxSetBorderColor(id,Color)
  1986. {
  1987. global BoxSetBorderColor_func
  1988. res := DllCall(BoxSetBorderColor_func,Int,id,UInt,Color)
  1989. return res
  1990. }
  1991. BoxSetColor(id,Color)
  1992. {
  1993. global BoxSetColor_func
  1994. res := DllCall(BoxSetColor_func,Int,id,UInt,Color)
  1995. return res
  1996. }
  1997. BoxSetHeight(id,height)
  1998. {
  1999. global BoxSetHeight_func
  2000. res := DllCall(BoxSetHeight_func,Int,id,Int,height)
  2001. return res
  2002. }
  2003. BoxSetPos(id,x,y)
  2004. {
  2005. global BoxSetPos_func
  2006. res := DllCall(BoxSetPos_func,Int,id,Int,x,Int,y)
  2007. return res
  2008. }
  2009. BoxSetWidth(id,width)
  2010. {
  2011. global BoxSetWidth_func
  2012. res := DllCall(BoxSetWidth_func,Int,id,Int,width)
  2013. return res
  2014. }
  2015. LineCreate(x1,y1,x2,y2,width,color,show)
  2016. {
  2017. global LineCreate_func
  2018. res := DllCall(LineCreate_func,Int,x1,Int,y1,Int,x2,Int,y2,Int,Width,UInt,color,UChar,show)
  2019. return res
  2020. }
  2021. LineDestroy(id)
  2022. {
  2023. global LineDestroy_func
  2024. res := DllCall(LineDestroy_func,Int,id)
  2025. return res
  2026. }
  2027. LineSetShown(id,show)
  2028. {
  2029. global LineSetShown_func
  2030. res := DllCall(LineSetShown_func,Int,id,UChar,show)
  2031. return res
  2032. }
  2033. LineSetColor(id,color)
  2034. {
  2035. global LineSetColor_func
  2036. res := DllCall(LineSetColor_func,Int,id,UInt,color)
  2037. return res
  2038. }
  2039. LineSetWidth(id, width)
  2040. {
  2041. global LineSetWidth_func
  2042. res := DllCall(LineSetWidth_func,Int,id,Int,width)
  2043. return res
  2044. }
  2045. LineSetPos(id,x1,y1,x2,y2)
  2046. {
  2047. global LineSetPos_func
  2048. res := DllCall(LineSetPos_func,Int,id,Int,x1,Int,y1,Int,x2,Int,y2)
  2049. return res
  2050. }
  2051. ImageCreate(path, x, y, rotation, align, show)
  2052. {
  2053. global ImageCreate_func
  2054. res := DllCall(ImageCreate_func, Str, path, Int, x, Int, y, Int, rotation, Int, align, UChar, show)
  2055. return res
  2056. }
  2057. ImageDestroy(id)
  2058. {
  2059. global ImageDestroy_func
  2060. res := DllCall(ImageDestroy_func,Int,id)
  2061. return res
  2062. }
  2063. ImageSetShown(id,show)
  2064. {
  2065. global ImageSetShown_func
  2066. res := DllCall(ImageSetShown_func,Int,id,UChar,show)
  2067. return res
  2068. }
  2069. ImageSetAlign(id,align)
  2070. {
  2071. global ImageSetAlign_func
  2072. res := DllCall(ImageSetAlign_func,Int,id,Int,align)
  2073. return res
  2074. }
  2075. ImageSetPos(id, x, y)
  2076. {
  2077. global ImageSetPos_func
  2078. res := DllCall(ImageSetPos_func,Int,id,Int,x, Int, y)
  2079. return res
  2080. }
  2081. ImageSetRotation(id, rotation)
  2082. {
  2083. global ImageSetRotation_func
  2084. res := DllCall(ImageSetRotation_func,Int,id,Int, rotation)
  2085. return res
  2086. }
  2087. DestroyAllVisual()
  2088. {
  2089. global DestroyAllVisual_func
  2090. res := DllCall(DestroyAllVisual_func)
  2091. return res
  2092. }
  2093. ShowAllVisual()
  2094. {
  2095. global ShowAllVisual_func
  2096. res := DllCall(ShowAllVisual_func)
  2097. return res
  2098. }
  2099. HideAllVisual()
  2100. {
  2101. global HideAllVisual_func
  2102. res := DllCall(HideAllVisual_func )
  2103. return res
  2104. }
  2105. GetScreenSpecs(ByRef width, ByRef height)
  2106. {
  2107. global GetScreenSpecs_func
  2108. res := DllCall(GetScreenSpecs_func, IntP, width, IntP, height)
  2109. return res
  2110. }
  2111. GetFrameRate()
  2112. {
  2113. global GetFrameRate_func
  2114. res := DllCall(GetFrameRate_func )
  2115. return res
  2116. }
  2117. RelToAbs(root, dir, s = "\") {
  2118. pr := SubStr(root, 1, len := InStr(root, s, "", InStr(root, s . s) + 2) - 1)
  2119. , root := SubStr(root, len + 1), sk := 0
  2120. If InStr(root, s, "", 0) = StrLen(root)
  2121. StringTrimRight, root, root, 1
  2122. If InStr(dir, s, "", 0) = StrLen(dir)
  2123. StringTrimRight, dir, dir, 1
  2124. Loop, Parse, dir, %s%
  2125. {
  2126. If A_LoopField = ..
  2127. StringLeft, root, root, InStr(root, s, "", 0) - 1
  2128. Else If A_LoopField =
  2129. root =
  2130. Else If A_LoopField != .
  2131. Continue
  2132. StringReplace, dir, dir, %A_LoopField%%s%
  2133. }
  2134. Return, pr . root . s . dir
  2135. }
  2136. isPlayerOnline(Name)
  2137. {
  2138. return GetPlayerIDByname(Name) != -1
  2139. }
  2140. getSkinID() {
  2141. if(!checkHandles())
  2142. return -1
  2143. dwAddress := readDWORD(hGTA, 0xB6F3B8)
  2144. if(ErrorLevel || dwAddress==0) {
  2145. ErrorLevel := ERROR_READ_MEMORY
  2146. return -1
  2147. }
  2148. id := readMem(hGTA, dwAddress + 0x22, 2, "UShort")
  2149. if(ErrorLevel) {
  2150. ErrorLevel := ERROR_READ_MEMORY
  2151. return -1
  2152. }
  2153. ErrorLevel := ERROR_OK
  2154. return id
  2155. }
  2156. UrlDownloadToVar(URL, Proxy="", ProxyBypass="") {
  2157. AutoTrim, Off
  2158. hModule := DllCall("LoadLibrary", "str", "wininet.dll")
  2159. If (Proxy != "")
  2160. AccessType=3
  2161. Else
  2162. AccessType=1
  2163. io_hInternet := DllCall("wininet\InternetOpenA"
  2164. , "str", ""
  2165. , "uint", AccessType
  2166. , "str", Proxy
  2167. , "str", ProxyBypass
  2168. , "uint", 0)
  2169. iou := DllCall("wininet\InternetOpenUrlA"
  2170. , "uint", io_hInternet
  2171. , "str", url
  2172. , "str", ""
  2173. , "uint", 0
  2174. , "uint", 0x80000000
  2175. , "uint", 0)
  2176. If (ErrorLevel != 0 or iou = 0) {
  2177. DllCall("FreeLibrary", "uint", hModule)
  2178. return 0
  2179. }
  2180. VarSetCapacity(buffer, 512, 0)
  2181. VarSetCapacity(NumberOfBytesRead, 4, 0)
  2182. Loop
  2183. {
  2184. irf := DllCall("wininet\InternetReadFile", "uint", iou, "uint", &buffer, "uint", 512, "uint", &NumberOfBytesRead)
  2185. NOBR = 0
  2186. Loop 4
  2187. NOBR += *(&NumberOfBytesRead + A_Index-1) << 8*(A_Index-1)
  2188. IfEqual, NOBR, 0, break
  2189. DllCall("lstrcpy", "str", buffer, "uint", &buffer)
  2190. res = %res%%buffer%
  2191. }
  2192. DllCall("wininet\InternetCloseHandle", "uint", iou)
  2193. DllCall("wininet\InternetCloseHandle", "uint", io_hInternet)
  2194. DllCall("FreeLibrary", "uint", hModule)
  2195. AutoTrim, on
  2196. return, res
  2197. }
  2198. getPlayerNameByName2(wName) {
  2199. if(StrLen(wName) < 1 || StrLen(wName) > 24)
  2200. return -1
  2201. if(iRefreshScoreboard+1000 > A_TickCount)
  2202. {
  2203. Loop % oScoreboardData.MaxIndex()
  2204. {
  2205. if(InStr(oScoreboardData[A_Index].NAME,wName)==1)
  2206. return oScoreboardData[A_Index].NAME
  2207. }
  2208. return -1
  2209. }
  2210. if(!updateOScoreboardData())
  2211. return -1
  2212. Loop % oScoreboardData.MaxIndex()
  2213. {
  2214. if(InStr(oScoreboardData[A_Index].NAME,wName)==1)
  2215. return oScoreboardData[A_Index].NAME
  2216. }
  2217. return -1
  2218. }
  2219. GetPlayerPos(ByRef fX,ByRef fY,ByRef fZ) {
  2220. if(!checkHandles())
  2221. return 0
  2222. fX := readFloat(hGTA, ADDR_POSITION_X)
  2223. if(ErrorLevel) {
  2224. ErrorLevel := ERROR_READ_MEMORY
  2225. return 0
  2226. }
  2227. fY := readFloat(hGTA, ADDR_POSITION_Y)
  2228. if(ErrorLevel) {
  2229. ErrorLevel := ERROR_READ_MEMORY
  2230. return 0
  2231. }
  2232. fZ := readFloat(hGTA, ADDR_POSITION_Z)
  2233. if(ErrorLevel) {
  2234. ErrorLevel := ERROR_READ_MEMORY
  2235. return 0
  2236. }
  2237. ErrorLevel := ERROR_OK
  2238. }
  2239. getPlayerName() {
  2240. if(!checkHandles())
  2241. return ""
  2242. dwAddress := dwSAMP + ADDR_SAMP_USERNAME
  2243. sUsername := readString(hGTA, dwAddress, 25)
  2244. if(ErrorLevel) {
  2245. ErrorLevel := ERROR_READ_MEMORY
  2246. return ""
  2247. }
  2248. ErrorLevel := ERROR_OK
  2249. return sUsername
  2250. }
  2251. GetChatLine(Line, ByRef Output, timestamp=0, color=0)
  2252. {
  2253. chatindex := 0
  2254. FileRead, file, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2255. loop, Parse, file, `n, `r
  2256. {
  2257. if(A_LoopField)
  2258. chatindex := A_Index
  2259. }
  2260. loop, Parse, file, `n, `r
  2261. {
  2262. if(A_Index = chatindex - line)
  2263. {
  2264. output := A_LoopField
  2265. break
  2266. }
  2267. }
  2268. file := ""
  2269. if(!timestamp)
  2270. output := RegExReplace(output, "U)^\[\d{2}:\d{2}:\d{2}\]")
  2271. if(!color)
  2272. output := RegExReplace(output, "Ui)\{[a-f0-9]{6}\}")
  2273. return
  2274. }
  2275. IsPlayerInAnyInterior()
  2276. {
  2277. address := readDWORD(hGTA,0xB6F5F0)
  2278. address := readMem(hGTA,address + 0x2F, 4, "byte")
  2279. if(address == 0)
  2280. {
  2281. return false
  2282. }
  2283. else
  2284. {
  2285. return true
  2286. }
  2287. }
  2288. isVehicleLocked() {
  2289. if(!checkHandles())
  2290. return -1
  2291. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  2292. if(ErrorLevel) {
  2293. ErrorLevel := ERROR_READ_MEMORY
  2294. return -1
  2295. }
  2296. if(!dwAddr)
  2297. return -1
  2298. dwVal := readDWORD(hGTA, dwAddr + ADDR_VEHICLE_DOORSTATE)
  2299. if(ErrorLevel) {
  2300. ErrorLevel := ERROR_READ_MEMORY
  2301. return -1
  2302. }
  2303. ErrorLevel := ERROR_OK
  2304. return (dwVal==2)
  2305. }
  2306. IsPlayerInRangeOfPoint(_posX, _posY, _posZ, _posRadius)
  2307. {
  2308. GetPlayerPos(posX, posY, posZ)
  2309. X := posX -_posX
  2310. Y := posY -_posY
  2311. Z := posZ -_posZ
  2312. if(((X < _posRadius) && (X > -_posRadius)) && ((Y < _posRadius) && (Y > -_posRadius)) && ((Z < _posRadius) && (Z > -_posRadius)))
  2313. return TRUE
  2314. return FALSE
  2315. }
  2316. IsPlayerInRangeOfPoint2D(_posX, _posY, _posRadius)
  2317. {
  2318. GetPlayerPos(posX, posY, posZ)
  2319. X := posX - _posX
  2320. Y := posY - _posY
  2321. if(((X < _posRadius) && (X > -_posRadius)) && ((Y < _posRadius) && (Y > -_posRadius)))
  2322. return TRUE
  2323. return FALSE
  2324. }
  2325. RGN_Location()
  2326. {
  2327. If(IsPlayerinanyVehicle() == 0 or IsPlayerinanyVehicle() == 1)
  2328. If(IsPlayerinRangeofPoint(865.2680,-1848.3965,8.8229, 50))
  2329. Location .= "{FFFFFF}{5B89CB} S-Box`n"
  2330. If(IsPlayerinRangeofPoint(618.9803,891.4091,-37.1285, 50))
  2331. Location .= "{FFFFFF}{5B89CB} LV-Box`n"
  2332. If(IsPlayerinRangeofPoint(-2542.8196,1214.7948,37.4219, 50))
  2333. Location .= "{FFFFFF}{5B89CB} SF-Box`n"
  2334. If(IsPlayerinRangeofPoint(-91.8221,-1575.8837,2.6172, 50))
  2335. Location .= "{FFFFFF}{5B89CB} C-Box`n"
  2336. If(IsPlayerinRangeofPoint(2803.7937,-1173.2924,25.5283, 50))
  2337. Location .= "{FFFFFF}{5B89CB} V-Box`n"
  2338. If(IsPlayerinRangeofPoint(1361.5474,-1277.2314,13.2149, 50))
  2339. Location .= "{FFFFFF}{5B89CB} H-Ammu`n"
  2340. If(IsPlayerinRangeofPoint(1785.4504,-1168.1224,23.5266, 50))
  2341. Location .= "{FFFFFF}{5B89CB} B-Ammu`n"
  2342. If(IsPlayerinRangeofPoint(2398.4109,-1977.3693,13.2938, 50))
  2343. Location .= "{FFFFFF}{5B89CB} A-Ammu`n"
  2344. If(IsPlayerinRangeofPoint(1630.5735,-1713.2440,13.2467, 50))
  2345. Location .= "{FFFFFF}{5B89CB} NewsBase`n"
  2346. If(IsPlayerinRangeofPoint(1482.8983,-1739.8231,13.3733, 50))
  2347. Location .= "{FFFFFF}{5B89CB} LSPD`n"
  2348. If(IsPlayerinRangeofPoint(927.0983,-1218.6907,16.7811, 50))
  2349. Location .= "{FFFFFF}{5B89CB} Ordnungsamt LS`n"
  2350. If(IsPlayerinRangeofPoint(1293.4557,-1653.1652,13.2560, 50))
  2351. Location .= "{FFFFFF}{5B89CB} BBZ-Base`n"
  2352. If(IsPlayerinRangeofPoint(2027.1482,59.6459,89.6968, 50))
  2353. Location .= "{FFFFFF}{5B89CB} BM-Berg | Parkplatz`n"
  2354. If(IsPlayerinRangeofPoint(1150.9980,-2035.9952,69.0078, 50))
  2355. Location .= "{FFFFFF}{5B89CB} BM-Berg | Vorhof`n"
  2356. If(IsPlayerinRangeofPoint(-1323.4214,15.1953,77.6709, 50))
  2357. Location .= "{FFFFFF}{5B89CB} Ballas Base`n"
  2358. If(IsPlayerinRangeofPoint(1085.4507,-1779.5840,13.4077, 50))
  2359. Location .= "{FFFFFF}{5B89CB} Zivi LS`n"
  2360. If(IsPlayerinRangeofPoint(1189.8468,-1325.5841,13.3583, 50))
  2361. Location .= "{FFFFFF}{5B89CB} Krankenhaus LS`n"
  2362. If(IsPlayerinRangeofPoint(1473.2754,-1134.6586,23.7460, 50))
  2363. Location .= "{FFFFFF}{5B89CB} LS - Zip`n"
  2364. If(IsPlayerinRangeofPoint(1901.2186,-1400.2524,10.0905, 50))
  2365. Location .= "{FFFFFF}{5B89CB} LS - Skatepark`n"
  2366. If(IsPlayerinRangeofPoint(1828.9387,-1677.3389,13.2160, 50))
  2367. Location .= "{FFFFFF}{5B89CB} LS - Alhambra`n"
  2368. If(IsPlayerinRangeofPoint(1317.3267,-910.3878,37.7085, 50))
  2369. Location .= "{FFFFFF}{5B89CB} BSN - 24/7 Markt`n"
  2370. If(IsPlayerinRangeofPoint(1195.8245,-934.5256,42.5729, 50))
  2371. Location .= "{FFFFFF}{5B89CB} Burger Shot Nord`n"
  2372. If(IsPlayerinRangeofPoint(1413.7136,-1029.5038,23.5712, 50))
  2373. Location .= "{FFFFFF}{5B89CB} Bank LS`n"
  2374. If(IsPlayerinRangeofPoint(1482.8983,-1739.8231,13.3733, 50))
  2375. Location .= "{FFFFFF}{5B89CB} Stadthalle LS`n"
  2376. If(IsPlayerinRangeofPoint(1046.5426,-1337.9905,13.3838, 50))
  2377. Location .= "{FFFFFF}{5B89CB} Donutladen LS`n"
  2378. If(IsPlayerinRangeofPoint(927.1336,-1088.1931,24.1257, 50))
  2379. Location .= "{FFFFFF}{5B89CB} Friedhof`n"
  2380. If(IsPlayerinRangeofPoint(1633.6104,-1166.6841,23.8062, 50))
  2381. Location .= "{FFFFFF}{5B89CB} Post LS`n"
  2382. If(IsPlayerinRangeofPoint(2126.1274,-1132.8147,25.3377, 50))
  2383. Location .= "{FFFFFF}{5B89CB} Coutt and Schutz`n"
  2384. If(IsPlayerinRangeofPoint(2076.9094,-1833.2446,13.2982, 50))
  2385. Location .= "{FFFFFF}{5B89CB} Idle PnS`n"
  2386. If(IsPlayerinRangeofPoint(1019.7659,-1033.2211,31.4444, 50))
  2387. Location .= "{FFFFFF}{5B89CB} BSN - Pay n Spray`n"
  2388. If(IsPlayerinRangeofPoint(569.9393,-1246.9713,17.2601, 50))
  2389. Location .= "{FFFFFF}{5B89CB} RentCar LS/Arbeitsamt`n"
  2390. If(IsPlayerinRangeofPoint(337.2855,-1466.0365,34.6306, 50))
  2391. Location .= "{FFFFFF}{5B89CB} LS Tresor`n"
  2392. If(IsPlayerinRangeofPoint(1796.8107,-1588.9391,13.3385, 50))
  2393. Location .= "{FFFFFF}{5B89CB} LS Prison | Einlieferung`n"
  2394. If(IsPlayerinRangeofPoint(1973.8052,-2222.5020,13.3723, 50))
  2395. Location .= "{FFFFFF}{5B89CB} LS Airport | Pilotenjob`n"
  2396. If(IsPlayerinRangeofPoint(1786.3898,-1891.9207,13.2215, 50))
  2397. Location .= "{FFFFFF}{5B89CB} Taxistand (El Corona)`n"
  2398. If(IsPlayerinRangeofPoint(773.9288,-1344.6210,13.3606, 50))
  2399. Location .= "{FFFFFF}{5B89CB} LS Autohaus {FFFFFF}({5B89CB}Billig{FFFFFF})`n"
  2400. If(IsPlayerinRangeofPoint(484.9954,-1729.9358,10.9251, 50))
  2401. Location .= "{FFFFFF}{5B89CB} Beach PNS`n"
  2402. If(IsPlayerinRangeofPoint(373.0871,-2040.7933,7.5892, 50))
  2403. Location .= "{FFFFFF}{5B89CB} LS Pier {FFFFFF}({5B89CB}Angelsteg{FFFFFF})`n"
  2404. If(IsPlayerinRangeofPoint(814.4036,-1625.8116,13.3697, 50))
  2405. Location .= "{FFFFFF}{5B89CB} LS Burger Shot Sd`n"
  2406. If(IsPlayerinRangeofPoint(-1116.6902,-1623.7961,76.3739, 150))
  2407. Location .= "{FFFFFF}{5B89CB} Matspoint SF`n"
  2408. If(IsPlayerinRangeofPoint(2458.6230,1913.4160,10.4345, 150))
  2409. Location .= "{FFFFFF}{5B89CB} Matspoint LV`n"
  2410. If(IsPlayerinRangeofPoint(-1949.2745,263.5099,35.2161, 150))
  2411. Location .= "{FFFFFF}{5B89CB} Rentcar SF/Zivi SF `n"
  2412. If(IsPlayerinRangeofPoint(-2561.1628,310.3709,15.9453, 150))
  2413. Location .= "{FFFFFF}{5B89CB} Gardenshop`n"
  2414. if(IsPlayerInRangeOfPoint(1004.0354,-939.3308,42.1797,50) || IsPlayerInRangeOfPoint(1944.8086,-1773.6176,13.1606,50) || IsPlayerInRangeOfPoint(2639.0801,1105.7590,10.8203,50) || IsPlayerInRangeOfPoint(2114.0857,920.0013,10.5910,50) || IsPlayerInRangeOfPoint( 1380.9998,458.0788,19.7261,50) || IsPlayerInRangeOfPoint( 653.4886,-565.2499,16.1065,50) || IsPlayerInRangeOfPoint( -2244.2161,-2560.7793,31.6916,50) || IsPlayerInRangeOfPoint(-2407.9282,976.3934,45.0646,50) || IsPlayerInRangeOfPoint( -1608.4758,-2719.3704,48.3096,50) || IsPlayerInRangeOfPoint( -90.6088,-1168.8462,2.1866,50) || IsPlayerInRangeOfPoint(2202.0085,2474.5103,10.5773,50) || IsPlayerInRangeOfPoint(2147.4446,2747.6521,10.5920,50) || IsPlayerInRangeOfPoint(-736.3005,2742.9827,46.9891,50) || IsPlayerInRangeOfPoint(-1328.9005,2677.5923,49.8199,50) || IsPlayerInRangeOfPoint(-1676.5333,413.2540,6.9505,50) || IsPlayerInRangeOfPoint( 615.4907,1689.9753,6.7566,50) || IsPlayerInRangeOfPoint(70.5293,1219.1754,18.5799,50) || IsPlayerInRangeOfPoint(1598.0482,2199.4724,10.5925 ,50) || IsPlayerInRangeOfPoint( -1471.8784,1863.9641,32.3972,50) || IsPlayerInRangeOfPoint(-2026.3326,155.4140,29.0391,50))
  2415. Location .= "{FFFFFF}{5B89CB} Tankstelle " myzone "`n"
  2416. If(Location = "")
  2417. Location .= "{FFFFFF} {5B89CB} Unbekannt `n"
  2418. return %Location%
  2419. }
  2420. Organizer(message)
  2421. {
  2422. If(GetUsername() != "Luiz.waLker")
  2423. {
  2424. AddChatMessage("" . CHATMESSAGECOLOR . "{980000}waLker:{FFFFFF} " message "")
  2425. }
  2426. else
  2427. {
  2428. AddChatMessage("" . CHATMESSAGECOLOR . "{FF0000}waLker:{FFFFFF} " message "")
  2429. }
  2430. }
  2431. PATH_STATS_API := RelToAbs(A_WorkingDir, "RGN-Stats-API.dll")
  2432. hModule := DllCall("LoadLibrary", Str, PATH_STATS_API)
  2433. if(hModule == -1 || hModule == 0)
  2434. {
  2435. MsgBox, 48, Error,Die RGN-Stats-API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
  2436. ExitApp
  2437. }
  2438. g_whenIsAllowedToSend := 0
  2439. g_szText := 0
  2440. ReadStats_func := DllCall("GetProcAddress", UInt, hModule, Str, "ReadStats")
  2441. ReadStats(byref string)
  2442. {
  2443. global ReadStats_func, g_szText
  2444. allocationSize := 4096
  2445. static once := true
  2446. if(once)
  2447. {
  2448. VarSetCapacity(g_szText, allocationSize, 0)
  2449. once := false
  2450. }
  2451. res := DllCall(ReadStats_func, StrP, g_szText, UInt, allocationSize)
  2452. string := g_szText
  2453. return res
  2454. }
  2455. ReadStats_s(byref string)
  2456. {
  2457. global g_whenIsAllowedToSend, g_szText
  2458. if(g_whenIsAllowedToSend > A_TickCount)
  2459. {
  2460. string := g_szText
  2461. if(strLen(g_szText) == 0)
  2462. return false
  2463. return true
  2464. }
  2465. return ReadStats(string)
  2466. }
  2467. keyForEntry(text, entry)
  2468. {
  2469. RegExMatch(text, "i)" . entry . "\:\[(.*?)\]", match)
  2470. return match1
  2471. }
  2472. getChatlogLineCount()
  2473. {
  2474. local i := 0
  2475. Loop, read , %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2476. i++
  2477. return i
  2478. }
  2479. AntiSpamHandler()
  2480. {
  2481. global g_whenIsAllowedToSend
  2482. if(wAntiSpam=1)
  2483. {
  2484. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2485. {
  2486. If InStr(A_LoopReadLine,"] Antiflood: Achtung! Unterlasse das")
  2487. {
  2488. If(AntiSpamVar <> ZeitVarSpam)
  2489. {
  2490. if(conquern=1 || tp=1)
  2491. {
  2492. return
  2493. }
  2494. else
  2495. {
  2496. Organizer("Chat wegen Anti-Flood für 1 Sekunde blockiert.")
  2497. BlockChatInput:=1
  2498. g_whenIsAllowedToSend := A_TickCount + 1000
  2499. BlockChatInput:=0
  2500. Organizer("Chat wieder freigegeben.")
  2501. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2502. }
  2503. }
  2504. }
  2505. }
  2506. }
  2507. }
  2508. RelToAbs2(root, dir, s = "\") {
  2509. pr := SubStr(root, 1, len := InStr(root, s, "", InStr(root, s . s) + 2) - 1)
  2510. , root := SubStr(root, len + 1), sk := 0
  2511. If InStr(root, s, "", 0) = StrLen(root)
  2512. StringTrimRight, root, root, 1
  2513. If InStr(dir, s, "", 0) = StrLen(dir)
  2514. StringTrimRight, dir, dir, 1
  2515. Loop, Parse, dir, %s%
  2516. {
  2517. If A_LoopField = ..
  2518. StringLeft, root, root, InStr(root, s, "", 0) - 1
  2519. Else If A_LoopField =
  2520. root =
  2521. Else If A_LoopField != .
  2522. Continue
  2523. StringReplace, dir, dir, %A_LoopField%%s%
  2524. }
  2525. Return, pr . root . s . dir
  2526. }
  2527. SetTimerF( Function, Period=0, ParmObject=0, dwTime=0 ) {
  2528. Static tmrs:=Object()
  2529. If IsFunc( Function ) {
  2530. if IsObject(tmrs[Function])
  2531. ret := DllCall( "KillTimer", "UInt",0, "UInt" ,tmrs[Function,"tmr"])
  2532. , DllCall("GlobalFree", "UInt", tmrs[Function,"CBA"])
  2533. , ObjRelease(tmrs[Function,"REF"])
  2534. , tmrs.remove(Function)
  2535. if (Period = 0 || Period ? "off")
  2536. return ret
  2537. Period := (Period && Period!="On") ? Period : 250
  2538. tmrs[Function]:=Object("func",Function,"OneTime",(Period<0),"params",IsObject(ParmObject)?ParmObject:Object())
  2539. tmrs[Function,"REF"] := &tmrs[Function]
  2540. tmrs[Function,"CBA"] := RegisterCallback(A_ThisFunc,"",4,tmrs[Function,"REF"])
  2541. return !!tmrs[Function,"tmr"] := DllCall("SetTimer", "UInt",0, "UInt",0, "UInt",Abs(Period), "UInt",tmrs[Function,"CBA"])
  2542. }
  2543. tmr := Object(A_EventInfo)
  2544. if IsObject(tmr) {
  2545. if (tmr.OneTime)
  2546. DllCall("KillTimer", "UInt",0, "UInt",tmr.tmr)
  2547. , DllCall("GlobalFree", "UInt",tmr.CBA)
  2548. , ObjRelease(tmr.REF)
  2549. , tmr := tmrs.remove(tmr.func)
  2550. ErrorLevel:=dwTime
  2551. tmr.func(tmr.params*)
  2552. }
  2553. }
  2554. OnExit, ExitSub
  2555. global OverlayAktiv:= false
  2556. global VehOverlay:= false
  2557. global VehValue := False
  2558. global oVehValue := False
  2559. global OverlayOn := false
  2560. global Wanteds:= 0
  2561. global Grund:= "Unbekannt"
  2562. global Zeuge:= "Niemand"
  2563. global LastNum:= 0
  2564. global ADSMS:= 0
  2565. global Kills:= 0
  2566. global Deaths:= 0
  2567. global LoggedIn:= False
  2568. global oSMS:= 0
  2569. global MonatTag := A_MM
  2570. global NeuerTag := A_DD
  2571. global Jahr := A_YYYY
  2572. global tKills:= 0
  2573. global tDeaths:= 0
  2574. global tKD := 0
  2575. global GameTextAktiv:= 0
  2576. global Zinzen:= 0
  2577. global DZinzen:= 0
  2578. global WZinzen:= 0
  2579. global MZinzen:= 0
  2580. global GZinzen:= 0
  2581. global Zinssatz:= 0
  2582. global down:= 0
  2583. global Started := 0
  2584. IniRead, Aktiviert, Statistik\statsi.ini, Tageskills, Aktiviert
  2585. IniRead, Tag, Statistik\statsi.ini, Tageskills, Tag
  2586. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  2587. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  2588. FormatTime,TagMonatYahr,,dd.MM.yyyy
  2589. FormatTime,MonatYahr,,MMMM yyyy
  2590. CheckReplace(Number) {
  2591. IfInString, Own%Number%, <HP>
  2592. {
  2593. HP := GetPlayerHealth()
  2594. StringReplace, Own%Number%, Own%Number%, <HP> , %HP%, All
  2595. }
  2596. IfInString, Own%Number%, <Zone>
  2597. {
  2598. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  2599. StringReplace, Own%Number%, Own%Number%, <Zone> , %Zone%, All
  2600. }
  2601. IfInString, Own%Number%, <Stadt>
  2602. {
  2603. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  2604. StringReplace, Own%Number%, Own%Number%, <Stadt> , %City%, All
  2605. }
  2606. IfInString, Own%Number%, <ID>
  2607. {
  2608. ID := GetId()
  2609. StringReplace, Own%Number%, Own%Number%, <ID> , %ID%, All
  2610. }
  2611. IfInString, Own%Number%, <Ping>
  2612. {
  2613. ID := GetId()
  2614. Ping := GetPlayerPingById(ID)
  2615. StringReplace, Own%Number%, Own%Number%, <Ping> , %Ping%, All
  2616. }
  2617. IfInString, Own%Number%, <FPS>
  2618. {
  2619. FPS := GetFramerate()
  2620. StringReplace, Own%Number%, Own%Number%, <FPS> , %FPS%, All
  2621. }
  2622. IfInString, Own%Number%, <DL>
  2623. {
  2624. VehicleHealth:= GetVehicleHealth()
  2625. StringReplace, Own%Number%, Own%Number%, <DL> , %VehicleHealth%, All
  2626. }
  2627. IfInString, Own%Number%, <Carname>
  2628. {
  2629. Vehiclename := getVehicleModelName()
  2630. StringReplace, Own%Number%, Own%Number%, <Carname> , %Vehiclename%, All
  2631. }
  2632. IfInString, Own%Number%, <Username>
  2633. {
  2634. Username := GetUsername()
  2635. StringReplace, Own%Number%, Own%Number%, <Username> , %Username%, All
  2636. }
  2637. }
  2638. #IfWinActive, GTA:SA:MP
  2639. :?:/rc::
  2640. Suspend Permit
  2641. SendInput, {enter}
  2642. SendChat("/rentcar")
  2643. Suspend Off
  2644. return
  2645. :?:/deagle::
  2646. suspend Permit
  2647. SendInput /buygun deagle{space}
  2648. return
  2649. :?:/shot::
  2650. suspend Permit
  2651. SendInput /buygun shotgun{space}
  2652. return
  2653. :?:/mp5::
  2654. suspend Permit
  2655. SendInput /buygun mp5{space}
  2656. return
  2657. :?:/m4::
  2658. suspend Permit
  2659. SendInput /buygun m4{space}
  2660. return
  2661. :?:/rifle::
  2662. suspend Permit
  2663. SendInput /buygun rifle{space}
  2664. return
  2665. :?:/9mm::
  2666. suspend Permit
  2667. SendInput /buygun 9mm{space}
  2668. return
  2669. :?:/sniper::
  2670. suspend Permit
  2671. SendInput /buygun sniper{space}
  2672. return
  2673. :?:/as::
  2674. Suspend Permit
  2675. SendInput, {enter}
  2676. SendChat("/accept sex")
  2677. Suspend Off
  2678. return
  2679. :?:/ah::
  2680. Suspend Permit
  2681. SendInput, {enter}
  2682. SendChat("/accept hotdog")
  2683. Suspend Off
  2684. return
  2685. :?:/aheal::
  2686. Suspend Permit
  2687. SendInput, {enter}
  2688. SendChat("/accept heal")
  2689. Suspend Off
  2690. return
  2691. :?:/adrugs::
  2692. Suspend Permit
  2693. SendInput, {enter}
  2694. SendChat("/accept drugs")
  2695. Suspend Off
  2696. return
  2697. :?:/arep::
  2698. Suspend Permit
  2699. SendInput, {enter}
  2700. SendChat("/accept repair")
  2701. Suspend Off
  2702. return
  2703. :?:/aref::
  2704. Suspend Permit
  2705. SendInput, {enter}
  2706. SendChat("/accept refill")
  2707. Suspend Off
  2708. return
  2709. :?:/fix::
  2710. suspend permit
  2711. sendinput {enter}
  2712. sendchat("/fixgangcar")
  2713. Suspend Off
  2714. return
  2715. :?:/handy::
  2716. suspend permit
  2717. sendinput {enter}
  2718. sendchat("/togphone")
  2719. Suspend Off
  2720. return
  2721. :?:/trob::
  2722. suspend permit
  2723. sendinput {enter}
  2724. sendchat("/tresorrob")
  2725. Suspend Off
  2726. return
  2727. :?:/ci::
  2728. suspend permit
  2729. sendinput {enter}
  2730. sendchat("/carinfo")
  2731. Suspend Off
  2732. return
  2733. Hotkey, Enter, Off
  2734. Hotkey, Escape, Off
  2735. return
  2736. !Pause::
  2737. suspend
  2738. return
  2739. :?:/td::
  2740. suspend permit
  2741. sendinput /gtake drugs{space}
  2742. Suspend On
  2743. Suspend Off
  2744. return
  2745. :?:/pd::
  2746. suspend permit
  2747. sendinput /put drugs{space}
  2748. Suspend On
  2749. Suspend Off
  2750. return
  2751. :?:/gegner::
  2752. SendInput, {Enter}
  2753. sleep 200
  2754. runner := 0
  2755. runner_on := 0
  2756. if(con_all == 0)
  2757. {
  2758. Organizer("Es ist niemand auf der Gegnerliste.")
  2759. }
  2760. else
  2761. {
  2762. Organizer("Aktuelle Gegnerliste (Onlinespieler)")
  2763. Loop, Read, Gegner.txt
  2764. {
  2765. StringSplit, split, A_LoopReadLine, |
  2766. idname := getPlayerIdByName(split1)
  2767. GegnerPing := getPlayerPingById(split1)
  2768. if(idname != -1)
  2769. {
  2770. Organizer("[" IDname "] " split1 " - Fraktion: " . split2 "")
  2771. runner_on++
  2772. }
  2773. runner++
  2774. }
  2775. Organizer("Es sind " . runner_on . "/" . runner . " Gegner online.")
  2776. Sendchat("/f Es sind " . runner_on . "/" . runner . " Gegner online")
  2777. }
  2778. return
  2779. :?:/fgegner::
  2780. SendInput, {Enter}
  2781. runner := 0
  2782. runner_on3 := 0
  2783. if(con_all == 0)
  2784. {
  2785. Organizer("Es ist niemand auf der Gegnerliste.")
  2786. }
  2787. else
  2788. {
  2789. SendChat("/f |___________________Aktuelle Gegnerliste (Onlinespieler)___________________|")
  2790. Loop, Read, Gegner.txt
  2791. {
  2792. StringSplit, split, A_LoopReadLine, |
  2793. idname := getPlayerIdByName(split1)
  2794. GegnerPing := getPlayerPingById(idname)
  2795. level := getPlayerScoreById(idname)
  2796. if(idname != -1)
  2797. {
  2798. sendchat("/f Name: " split1 ", (ID: {5B89CB}" idname ") Fraktion: " split2 ", Level: " level ", Ping: " GegnerPing)
  2799. sleep 1005
  2800. runner_on3++
  2801. }
  2802. runner++
  2803. }
  2804. sleep 1005
  2805. SendChat("/f Es sind " . runner_on3 . "/" . runner . " Gegner online.")
  2806. }
  2807. return
  2808. :?:/bgegner::
  2809. SendInput, {Enter}
  2810. runner := 0
  2811. runner_on1 := 0
  2812. if(con_all == 0)
  2813. {
  2814. Organizer("Es ist niemand auf der Gegnerliste.")
  2815. }
  2816. else
  2817. {
  2818. SendChat("|___________________Aktuelle Gegnerliste (Onlinespieler)___________________|")
  2819. Loop, Read, Gegner.txt
  2820. {
  2821. StringSplit, split, A_LoopReadLine, |
  2822. idname := getPlayerIdByName(split1)
  2823. GegnerPing := getPlayerPingById(idname)
  2824. level := getPlayerScoreById(idname)
  2825. if(idname != -1)
  2826. {
  2827. sendchat("Name: " split1 "{FFFFFF}, (ID: " idname ") Fraktion: " split2 ", Level: {5B89CB}" level ", Ping: {5B89CB}" GegnerPing)
  2828. sleep 1005
  2829. runner_on1++
  2830. }
  2831. runner++
  2832. }
  2833. sleep 1005
  2834. SendChat("Es sind " . runner_on1 . "/" . runner . " Gegner online.")
  2835. }
  2836. return
  2837. :?:/ggegner::
  2838. SendInput, {Enter}
  2839. runner := 0
  2840. runner_on2 := 0
  2841. if(con_all == 0)
  2842. {
  2843. Organizer("Es ist niemand auf der Gegnerliste.")
  2844. }
  2845. else
  2846. {
  2847. SendChat("/g |___________________Aktuelle Gegnerliste (Onlinespieler)___________________|")
  2848. Loop, Read, Gegner.txt
  2849. {
  2850. StringSplit, split, A_LoopReadLine, |
  2851. idname := getPlayerIdByName(split1)
  2852. GegnerPing := getPlayerPingById(idname)
  2853. level := getPlayerScoreById(idname)
  2854. if(idname != -1)
  2855. {
  2856. sendchat("/g Name: " split1 ", (ID: {5B89CB}" idname ") Fraktion: " split2 ", Level: " level ", Ping: " GegnerPing)
  2857. sleep 1005
  2858. runner_on2++
  2859. }
  2860. runner++
  2861. }
  2862. sleep 1005
  2863. SendChat("/g Es sind " . runner_on2 . "/" . runner . " Gegner online.")
  2864. }
  2865. return
  2866. :?:/wert::
  2867. Suspend, Permit
  2868. Sendinput {enter}
  2869. if(ReadStats(text))
  2870. {
  2871. safedrugs := keyForEntry(text, "SafeDrugs")
  2872. safemats := keyForEntry(text, "SafeMats")
  2873. fische := keyForEntry(text, "Illegale Fische")
  2874. codes := keyForEntry(text, "Hackingcodes")
  2875. dmkill := keyForEntry(text, "Kills\(DM\)")
  2876. tode := keyForEntry(text, "Tode")
  2877. rate := keyForEntry(text, "DM-Rate")
  2878. Bank := keyForEntry(text, "Bank")
  2879. Geldd := keyForEntry(text, "Geld")
  2880. Level := keyForEntry(text, "Level")
  2881. Respekt := keyForEntry(text, "Respekt")
  2882. drugs := keyForEntry(text, "Drogen")
  2883. mats := keyForEntry(text, "Materialien")
  2884. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
  2885. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  2886. RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
  2887. RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
  2888. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  2889. StringReplace, VarBack, Materials2, .
  2890. StringReplace, drugls, drogen2, .
  2891. StringReplace, fischew, fischi2, .
  2892. StringReplace, VarBack88, Bankl1,.,,All
  2893. drugwert := drugls * 3500
  2894. Organizer("| Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
  2895. Organizer("| Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
  2896. Organizer("| Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
  2897. Organizer("| Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
  2898. Organizer("| Gesamtwert (Drogen + Konto): {5B89CB}$" number_format(varback88 + drugwert) "")
  2899. }
  2900. return
  2901. :?:/bwert::
  2902. Suspend, Permit
  2903. Sendinput {enter}
  2904. if(ReadStats(text))
  2905. {
  2906. safedrugs := keyForEntry(text, "SafeDrugs")
  2907. safemats := keyForEntry(text, "SafeMats")
  2908. fische := keyForEntry(text, "Illegale Fische")
  2909. codes := keyForEntry(text, "Hackingcodes")
  2910. dmkill := keyForEntry(text, "Kills\(DM\)")
  2911. tode := keyForEntry(text, "Tode")
  2912. rate := keyForEntry(text, "DM-Rate")
  2913. Bank := keyForEntry(text, "Bank")
  2914. Geldd := keyForEntry(text, "Geld")
  2915. Level := keyForEntry(text, "Level")
  2916. Respekt := keyForEntry(text, "Respekt")
  2917. drugs := keyForEntry(text, "Drogen")
  2918. mats := keyForEntry(text, "Materialien")
  2919. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
  2920. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  2921. RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
  2922. RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
  2923. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  2924. StringReplace, VarBack, Materials2, .
  2925. StringReplace, drugls, drogen2, .
  2926. StringReplace, VarBack88, Bankl1,.,,All
  2927. StringReplace, fischew, fischi2, .
  2928. iniwrite, %varback88%, Take-binder.ini, Wert, Geld
  2929. iniwrite, %drugls%, Take-binder.ini, Wert, Drugs
  2930. iniread, Geld, Take-binder.ini, Wert, Geld
  2931. iniread, Drugs, Take-binder.ini, Wert, Drugs
  2932. drugwert := Drugs * 3500
  2933. SendChat("| Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
  2934. sleep 1000
  2935. SendChat("| Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
  2936. sleep 1000
  2937. SendChat("| Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
  2938. sleep 1000
  2939. SendChat("| Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
  2940. SendChat("| Gesamtwert (Drogen + Konto): $" number_format(Geld + Drugwert) "")
  2941. }
  2942. return
  2943. :?:/gwert::
  2944. Suspend, Permit
  2945. Sendinput {enter}
  2946. if(ReadStats(text))
  2947. {
  2948. safedrugs := keyForEntry(text, "SafeDrugs")
  2949. safemats := keyForEntry(text, "SafeMats")
  2950. fische := keyForEntry(text, "Illegale Fische")
  2951. codes := keyForEntry(text, "Hackingcodes")
  2952. dmkill := keyForEntry(text, "Kills\(DM\)")
  2953. tode := keyForEntry(text, "Tode")
  2954. rate := keyForEntry(text, "DM-Rate")
  2955. Bank := keyForEntry(text, "Bank")
  2956. Geldd := keyForEntry(text, "Geld")
  2957. Level := keyForEntry(text, "Level")
  2958. Respekt := keyForEntry(text, "Respekt")
  2959. drugs := keyForEntry(text, "Drogen")
  2960. mats := keyForEntry(text, "Materialien")
  2961. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
  2962. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  2963. RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
  2964. RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
  2965. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  2966. StringReplace, VarBack, Materials2, .
  2967. StringReplace, drugls, drogen2, .
  2968. StringReplace, VarBack88, Bankl1,.,,All
  2969. StringReplace, fischew, fischi2, .
  2970. iniwrite, %varback88%, Take-binder.ini, Wert, Geld
  2971. iniwrite, %drugls%, Take-binder.ini, Wert, Drugs
  2972. iniread, Geld, Take-binder.ini, Wert, Geld
  2973. iniread, Drugs, Take-binder.ini, Wert, Drugs
  2974. drugwert := Drugs * 3500
  2975. SendChat("/g | Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
  2976. sleep 1000
  2977. SendChat("/g | Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
  2978. sleep 1000
  2979. SendChat("/g | Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
  2980. sleep 1000
  2981. SendChat("/g | Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
  2982. SendChat("/g | Gesamtwert (Drogen + Konto): $" number_format(Geld + Drugwert) "")
  2983. }
  2984. return
  2985. :?:/fwert::
  2986. Suspend, Permit
  2987. Sendinput {enter}
  2988. if(ReadStats(text))
  2989. {
  2990. safedrugs := keyForEntry(text, "SafeDrugs")
  2991. safemats := keyForEntry(text, "SafeMats")
  2992. fische := keyForEntry(text, "Illegale Fische")
  2993. codes := keyForEntry(text, "Hackingcodes")
  2994. dmkill := keyForEntry(text, "Kills\(DM\)")
  2995. tode := keyForEntry(text, "Tode")
  2996. rate := keyForEntry(text, "DM-Rate")
  2997. Bank := keyForEntry(text, "Bank")
  2998. Geldd := keyForEntry(text, "Geld")
  2999. Level := keyForEntry(text, "Level")
  3000. Respekt := keyForEntry(text, "Respekt")
  3001. drugs := keyForEntry(text, "Drogen")
  3002. mats := keyForEntry(text, "Materialien")
  3003. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
  3004. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  3005. RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
  3006. RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
  3007. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  3008. StringReplace, VarBack, Materials2, .
  3009. StringReplace, drugls, drogen2, .
  3010. StringReplace, fischew, fischi2, .
  3011. StringReplace, VarBack88, Bankl1,.,,All
  3012. iniwrite, %varback88%, Take-binder.ini, Wert, Geld
  3013. iniwrite, %drugls%, Take-binder.ini, Wert, Drugs
  3014. iniread, Geld, Take-binder.ini, Wert, Geld
  3015. iniread, Drugs, Take-binder.ini, Wert, Drugs
  3016. drugwert := drugls * 3500
  3017. SendChat("/f | Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
  3018. sleep 1000
  3019. SendChat("/f | Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
  3020. sleep 1000
  3021. SendChat("/f | Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
  3022. sleep 1000
  3023. SendChat("/f | Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
  3024. SendChat("/f | Gesamtwert (Drogen + Konto): $" number_format(varback88 + drugwert) "")
  3025. }
  3026. return
  3027. :?:/fdurchgabe::
  3028. Suspend,permit
  3029. SendInput,{enter}
  3030. if(fd = false)
  3031. {
  3032. fd:=true
  3033. Organizer(" {27C403}F-Chat druchgabe ist aktiviert!")
  3034. iniwrite, %true%, Take-binder.ini, fdurchgabe, fdurchgabe
  3035. }else{
  3036. fd:=false
  3037. iniwrite, %false%, Take-binder.ini, fdurchgabe, fdurchgabe
  3038. Organizer(" {B21111}F-Chat druchgabe ist deaktiviert!")
  3039. }
  3040. return
  3041. :?:/cp::
  3042. suspend permit
  3043. Sendinput {enter}
  3044. Sleep 50
  3045. Sendchat("/changepayment")
  3046. Hotkey, t, On
  3047. Suspend off
  3048. return
  3049. :?:/sc::
  3050. suspend permit
  3051. Sendinput {enter}
  3052. Sleep 50
  3053. Sendchat("/spawnchange")
  3054. Hotkey, t, On
  3055. Suspend off
  3056. return
  3057. :?:7f::
  3058. Suspend Permit
  3059. SendiNput /f{space}
  3060. return
  3061. :?:7g::
  3062. Suspend Permit
  3063. SendiNput /g{space}
  3064. return
  3065. :?:7w::
  3066. Suspend Permit
  3067. SendiNput /w{space}
  3068. return
  3069. :?:7s::
  3070. Suspend Permit
  3071. SendiNput /s{space}
  3072. return
  3073. :?:7a::
  3074. Suspend Permit
  3075. SendiNput /a{space}
  3076. return
  3077. :?:7ad::
  3078. Suspend Permit
  3079. SendiNput /ad{space}
  3080. return
  3081. :?:7sup::
  3082. Suspend permit
  3083. SendInput /sup{space}
  3084. Return
  3085. :?:7help::
  3086. Suspend permit
  3087. SendInput /help{space}
  3088. Return
  3089. :?:7b::
  3090. Suspend permit
  3091. SendInput /b{space}
  3092. Return
  3093. :?:/ein::
  3094. suspend permit
  3095. sendinput /atm{enter}
  3096. sleep 500
  3097. sendinput {enter}
  3098. Suspend Off
  3099. return
  3100. :?:/aus::
  3101. suspend permit
  3102. sendinput /atm{enter}
  3103. sleep 500
  3104. sendinput {down}
  3105. sendinput {enter}
  3106. Suspend Off
  3107. return
  3108. :?:/über::
  3109. suspend permit
  3110. sendinput /atm{enter}
  3111. sleep 500
  3112. sendinput {down 2}
  3113. sendinput {enter}
  3114. Suspend Off
  3115. return
  3116. :?:/25k::
  3117. Suspend Permit
  3118. SendInput {enter}t/atm{enter}
  3119. Sleep 150
  3120. SendInput {down}{enter}
  3121. Sleep 100
  3122. SendInput 25000{enter}
  3123. Sleep 100
  3124. SendInput {esc}
  3125. Suspend off
  3126. return
  3127. :?:/50k::
  3128. Suspend Permit
  3129. SendInput {enter}t/atm{enter}
  3130. Sleep 150
  3131. SendInput {down}{enter}
  3132. Sleep 100
  3133. SendInput 50000{enter}
  3134. Sleep 100
  3135. SendInput {esc}
  3136. Suspend off
  3137. return
  3138. :?:/75k::
  3139. Suspend Permit
  3140. SendInput {enter}t/atm{enter}
  3141. Sleep 150
  3142. SendInput {down}{enter}
  3143. Sleep 100
  3144. SendInput 75000{enter}
  3145. Sleep 100
  3146. SendInput {esc}
  3147. Suspend off
  3148. return
  3149. :?:/100k::
  3150. Suspend Permit
  3151. SendInput {enter}t/atm{enter}
  3152. Sleep 150
  3153. SendInput {down}{enter}
  3154. Sleep 100
  3155. SendInput 100000{enter}
  3156. Sleep 100
  3157. SendInput {esc}
  3158. Suspend off
  3159. return
  3160. :?:/200k::
  3161. Suspend Permit
  3162. SendInput {enter}t/atm{enter}
  3163. Sleep 150
  3164. SendInput {down}{enter}
  3165. Sleep 100
  3166. SendInput 200000{enter}
  3167. Sleep 100
  3168. SendInput {esc}
  3169. Suspend off
  3170. return
  3171. :?:/300k::
  3172. Suspend Permit
  3173. SendInput {enter}t/atm{enter}
  3174. Sleep 150
  3175. SendInput {down}{enter}
  3176. Sleep 100
  3177. SendInput 300000{enter}
  3178. Sleep 100
  3179. SendInput {esc}
  3180. Suspend off
  3181. return
  3182. :?:/400k::
  3183. Suspend Permit
  3184. SendInput {enter}t/atm{enter}
  3185. Sleep 150
  3186. SendInput {down}{enter}
  3187. Sleep 100
  3188. SendInput 400000{enter}
  3189. Sleep 100
  3190. SendInput {esc}
  3191. Suspend off
  3192. return
  3193. :?:/250k::
  3194. Suspend Permit
  3195. SendInput {enter}t/atm{enter}
  3196. Sleep 150
  3197. SendInput {down}{enter}
  3198. Sleep 100
  3199. SendInput 250000{enter}
  3200. Sleep 100
  3201. SendInput {esc}
  3202. Suspend off
  3203. return
  3204. :?:/500k::
  3205. Suspend Permit
  3206. SendInput {enter}t/atm{enter}
  3207. Sleep 150
  3208. SendInput {down}{enter}
  3209. Sleep 100
  3210. SendInput 500000{enter}
  3211. Sleep 100
  3212. SendInput {esc}
  3213. Suspend off
  3214. return
  3215. :?:/750k::
  3216. Suspend Permit
  3217. SendInput {enter}t/atm{enter}
  3218. Sleep 150
  3219. SendInput {down}{enter}
  3220. Sleep 100
  3221. SendInput 750000{enter}
  3222. Sleep 100
  3223. SendInput {esc}
  3224. Suspend off
  3225. return
  3226. :?:/1kk::
  3227. Suspend Permit
  3228. SendInput {enter}t/atm{enter}
  3229. Sleep 150
  3230. SendInput {down}{enter}
  3231. Sleep 100
  3232. SendInput 1000000{enter}
  3233. Sleep 100
  3234. SendInput {esc}
  3235. Suspend off
  3236. return
  3237. :?:/fgc::
  3238. suspend permit
  3239. SendChat("/fixgangcar")
  3240. Suspend Off
  3241. return
  3242. :?:/wi::
  3243. suspend permit
  3244. sendinput {enter}
  3245. SendChat("/warinfo")
  3246. Suspend Off
  3247. return
  3248. :?:/lgc::
  3249. suspend permit
  3250. SendChat("/listgangcars")
  3251. Suspend Off
  3252. return
  3253. :?:/gu::
  3254. suspend permit
  3255. sendinput {enter}
  3256. sendchat("/gangupgrade")
  3257. Suspend Off
  3258. return
  3259. :?:/mbegin::
  3260. suspend permit
  3261. sendinput {enter}
  3262. sendchat("/mission begin")
  3263. Suspend Off
  3264. return
  3265. :?:/mi::
  3266. suspend permit
  3267. sendinput {enter}
  3268. sendchat("/mission info")
  3269. Suspend Off
  3270. return
  3271. :?:/mend::
  3272. suspend permit
  3273. sendinput {enter}
  3274. sendchat("/mission end")
  3275. Suspend Off
  3276. return
  3277. :?:/mstart::
  3278. suspend permit
  3279. sendinput {enter}
  3280. sendchat("/mission start")
  3281. Suspend Off
  3282. return
  3283. :?:/upg::
  3284. Suspend Permit
  3285. SendChat("/upgrade")
  3286. return
  3287. :?:/hacker::
  3288. Suspend Permit
  3289. SendInput {ESC}
  3290. SendInput tPreis/W:{space}
  3291. Input, lohn, V I M,{enter}
  3292. SendInput {end}+{home}{Del}{Esc}
  3293. If lohn is not number
  3294. {
  3295. Organizer("Bitte nur Zahlen eingeben.")
  3296. Return
  3297. }
  3298. gsmtwanted := lohn * wanteds
  3299. SendChat("/g Suche Hacker für " wanteds " Wanteds! Bezahlung: $" number_format(gsmtwanted) ", | " Getplayername() " (ID: " getId() ")")
  3300. return
  3301. :?:/dete::
  3302. Suspend Permit
  3303. SendInput {ESC}
  3304. SendChat("/g Suche Detektiv [S5] - Melden bei " Getplayername() " (ID: " getId() ")")
  3305. return
  3306. :?:/ghd::
  3307. suspend permit
  3308. Send, {enter}
  3309. SendChat("/orgmembers")
  3310. sleep , 350
  3311. ohd := 0
  3312. var := 1
  3313. index := 0
  3314. while ( var == 1 )
  3315. {
  3316. GetChatLine(index, text)
  3317. if ( InStr(text, "(Tel."))
  3318. {
  3319. if(InstR(text, "Hotdogverkäufer"))
  3320. ohd ++
  3321. index ++
  3322. var := 1
  3323. }
  3324. else
  3325. {
  3326. var := 0
  3327. }
  3328. }
  3329. sleep, 250
  3330. Organizer("Es sind " ohd " Hotdogverkäufer in der Organisation online.")
  3331. return
  3332. :?:/ghacker::
  3333. suspend permit
  3334. Send, {enter}
  3335. SendChat("/orgmembers")
  3336. sleep , 350
  3337. ohack := 0
  3338. var := 1
  3339. index := 0
  3340. while ( var == 1 )
  3341. {
  3342. GetChatLine(index, text)
  3343. if ( InStr(text, "(Tel."))
  3344. {
  3345. if(InstR(text, "Hacker"))
  3346. ohack ++
  3347. index ++
  3348. var := 1
  3349. }
  3350. else
  3351. {
  3352. var := 0
  3353. }
  3354. }
  3355. sleep, 250
  3356. Organizer("Es sind " ohack " Hacker in der Organisation online.")
  3357. return
  3358. :?:/gwd::
  3359. suspend permit
  3360. Send, {enter}
  3361. SendChat("/orgmembers")
  3362. sleep , 350
  3363. owd := 0
  3364. var := 1
  3365. index := 0
  3366. while ( var == 1 )
  3367. {
  3368. GetChatLine(index, text)
  3369. if ( InStr(text, "(Tel."))
  3370. {
  3371. if(InstR(text, "Waffenhändler"))
  3372. owd ++
  3373. index ++
  3374. var := 1
  3375. }
  3376. else
  3377. {
  3378. var := 0
  3379. }
  3380. }
  3381. sleep, 250
  3382. Organizer("Es sind " owd " Waffenhndler in der Organisation online.")
  3383. return
  3384. :?:/gdete::
  3385. suspend permit
  3386. Send, {enter}
  3387. SendChat("/orgmembers")
  3388. sleep , 350
  3389. odete := 0
  3390. var := 1
  3391. index := 0
  3392. while ( var == 1 )
  3393. {
  3394. GetChatLine(index, text)
  3395. if ( InStr(text, "(Tel."))
  3396. {
  3397. if(InstR(text, "Detektiv"))
  3398. odete ++
  3399. index ++
  3400. var := 1
  3401. }
  3402. else
  3403. {
  3404. var := 0
  3405. }
  3406. }
  3407. sleep, 250
  3408. Organizer("Es sind " odete " Detektive in der Organisation online.")
  3409. return
  3410. :?:/ganwalt::
  3411. suspend permit
  3412. Send, {enter}
  3413. SendChat("/orgmembers")
  3414. sleep , 350
  3415. oanwalt := 0
  3416. var := 1
  3417. index := 0
  3418. while ( var == 1 )
  3419. {
  3420. GetChatLine(index, text)
  3421. if ( InStr(text, "(Tel."))
  3422. {
  3423. if(InstR(text, "Anwalt"))
  3424. oanwalt ++
  3425. index ++
  3426. var := 1
  3427. }
  3428. else
  3429. {
  3430. var := 0
  3431. }
  3432. }
  3433. sleep, 250
  3434. Organizer("Es sind " oanwalt " Anwlte in der Organisation online.")
  3435. return
  3436. :?:/gdd::
  3437. suspend permit
  3438. Send, {enter}
  3439. SendChat("/orgmembers")
  3440. sleep , 350
  3441. odd := 0
  3442. var := 1
  3443. index := 0
  3444. while ( var == 1 )
  3445. {
  3446. GetChatLine(index, text)
  3447. if ( InStr(text, "(Tel."))
  3448. {
  3449. if(InstR(text, "Drogendealer"))
  3450. odd ++
  3451. index ++
  3452. var := 1
  3453. }
  3454. else
  3455. {
  3456. var := 0
  3457. }
  3458. }
  3459. sleep, 250
  3460. Organizer("Es sind " odd " Drogendealer in der Organisation online.")
  3461. return
  3462. :?:/oi::
  3463. Suspend Permit
  3464. SendInput /orginvite{space}
  3465. return
  3466. :?:/ou::
  3467. Suspend Permit
  3468. SendInput /orguninvite{space}
  3469. return
  3470. :?:/swh::
  3471. suspend permit
  3472. SendChat("/service")
  3473. sleep 100
  3474. Sendinput {Down 5}
  3475. sleep 100
  3476. SendInput {Enter}
  3477. Suspend off
  3478. return
  3479. :?:/cwh::
  3480. suspend permit
  3481. SendChat("/cancel wheelman")
  3482. Suspend off
  3483. return
  3484. :?:/smedic::
  3485. suspend permit
  3486. SendChat("/service")
  3487. sleep 100
  3488. sendinput {down}{enter}
  3489. Suspend Off
  3490. return
  3491. :?:/cmedic::
  3492. Suspend permit
  3493. SendChat("/cancel medic")
  3494. Sleep 100
  3495. SendInput {enter}
  3496. Suspend Off
  3497. return
  3498. :?:/staxi::
  3499. suspend permit
  3500. SendChat("/service")
  3501. sleep 100
  3502. sendinput {enter}
  3503. Suspend Off
  3504. return
  3505. :?:/ctaxi::
  3506. suspend permit
  3507. SendChat("/cancel taxi")
  3508. Suspend Off
  3509. return
  3510. :?:/smecha::
  3511. Suspend Permit
  3512. SendChat("/service")
  3513. Sleep 100
  3514. SendInput {down 2}{enter}
  3515. Suspend Off
  3516. return
  3517. :?:/cmecha::
  3518. Suspend Permit
  3519. SendChat("/cancel mechanic")
  3520. return
  3521. :?:/sfeuer::
  3522. Suspend Permit
  3523. SendChat("/service")
  3524. Sleep 100
  3525. Sendinput {down 6}{enter}
  3526. Suspend Off
  3527. return
  3528. :?:/cfeuer::
  3529. Suspend Permit
  3530. SendChat("/cancel feuerwehr")
  3531. return
  3532. :?:/soamt::
  3533. Suspend Permit
  3534. SendChat("/service")
  3535. Sleep 100
  3536. Sendinput {down 4}{enter}
  3537. Suspend Off
  3538. return
  3539. :?:/coamt::
  3540. Suspend Permit
  3541. SendChat("/cancel ordnungsamt")
  3542. return
  3543. :?:/spizza::
  3544. Suspend Permit
  3545. SendChat("/service")
  3546. Sleep 100
  3547. Sendinput {down 3}{enter}
  3548. Suspend Off
  3549. return
  3550. :?:/cpizza::
  3551. Suspend Permit
  3552. SendChat("/cancel pizza")
  3553. return
  3554. :?:/gmdbox::
  3555. Suspend, Permit
  3556. Sendinput {enter}
  3557. if(ReadStats(text))
  3558. {
  3559. drugs := keyForEntry(text, "Drogen")
  3560. mats := keyForEntry(text, "Materialien")
  3561. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  3562. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  3563. sendchat("/g Drogen dabei: "druglss1 "g, Drogen in der Box: " druglss2 "g, Mats in der Box: " Materials2 " Stück")
  3564. }
  3565. Else
  3566. {
  3567. Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
  3568. }
  3569. Suspend, Off
  3570. Hotkey, t, on
  3571. return
  3572. :?:/adre::
  3573. Suspend Permit
  3574. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3575. {
  3576. if InStr(A_LoopReadLine, ", Kontakt: ")
  3577. {
  3578. RegExMatch(A_LoopReadLine, "Tel: (.*)" ,adantwort)
  3579. }
  3580. }
  3581. SendInput, /sms %adantwort1%{space}
  3582. Hotkey, T, On
  3583. Suspend Off
  3584. return
  3585. :?:/fmdbox::
  3586. Suspend, Permit
  3587. Sendinput {enter}
  3588. if(ReadStats(text))
  3589. {
  3590. drugs := keyForEntry(text, "Drogen")
  3591. mats := keyForEntry(text, "Materialien")
  3592. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  3593. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  3594. sendchat("/f Drogen dabei: "druglss1 "g, Drogen in der Box: " druglss2 "g, Mats in der Box: " Materials2 " Stück")
  3595. }
  3596. Else
  3597. {
  3598. Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
  3599. }
  3600. Suspend, Off
  3601. Hotkey, t, on
  3602. return
  3603. :?:/mdbox::
  3604. Suspend, Permit
  3605. Sendinput {enter}
  3606. if(ReadStats(text))
  3607. {
  3608. drugs := keyForEntry(text, "Drogen")
  3609. mats := keyForEntry(text, "Materialien")
  3610. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  3611. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  3612. sendchat("Drogen dabei: "druglss1 "g, Drogen in der Box: " druglss2 "g, Mats in der Box: " Materials2 " Stück")
  3613. }
  3614. Else
  3615. {
  3616. Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
  3617. }
  3618. Suspend, Off
  3619. Hotkey, t, on
  3620. return
  3621. :?:/aa::
  3622. Suspend Permit
  3623. send, {enter}
  3624. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3625. {
  3626. If InStr(A_LoopReadLine, "/accept drugs")
  3627. {
  3628. Service = drugs
  3629. }
  3630. else If InStr(A_LoopReadLine, "/accept sex")
  3631. {
  3632. Service = sex
  3633. }
  3634. else If InStr(A_LoopReadLine, "/accept repair")
  3635. {
  3636. Service = repair
  3637. }
  3638. else If InStr(A_LoopReadLine, "/accept refill")
  3639. {
  3640. Service = refill
  3641. }
  3642. else If InStr(A_LoopReadLine, "/accept ticket")
  3643. {
  3644. Service = ticket
  3645. }
  3646. else If InStr(A_LoopReadLine, "/accept heal")
  3647. {
  3648. Service = heal
  3649. }
  3650. else If InStr(A_LoopReadLine, "/accept hotdog")
  3651. {
  3652. Service = hotdog
  3653. }
  3654. else if instr(A_LoopReadLine, "/accept vertrag")
  3655. {
  3656. Service = vertrag
  3657. }
  3658. else if instr(A_LoopReadLine, "/accept dice")
  3659. {
  3660. Service = dice
  3661. }
  3662. else if instr(A_LoopReadLine, "/accept invite")
  3663. {
  3664. Service = invite
  3665. }
  3666. else if instr(A_LoopReadLine, "/accept orginvite")
  3667. {
  3668. Service = orginvite
  3669. }
  3670. else if instr(A_LoopReadLine, "/accept lesson")
  3671. {
  3672. Service = lesson
  3673. }
  3674. }
  3675. SendChat("/accept " Service "")
  3676. Suspend Off
  3677. return
  3678. :?:/grenze::
  3679. Suspend Permit
  3680. SendInput {enter}
  3681. if(ReadStats(text))
  3682. {
  3683. safedrugs := keyForEntry(text, "SafeDrugs")
  3684. safemats := keyForEntry(text, "SafeMats")
  3685. fische := keyForEntry(text, "Illegale Fische")
  3686. codes := keyForEntry(text, "Hackingcodes")
  3687. dmkill := keyForEntry(text, "Kills\(DM\)")
  3688. tode := keyForEntry(text, "Tode")
  3689. rate := keyForEntry(text, "DM-Rate")
  3690. Bank := keyForEntry(text, "Bank")
  3691. Geldd := keyForEntry(text, "Geld")
  3692. Level := keyForEntry(text, "Level")
  3693. Respekt := keyForEntry(text, "Respekt")
  3694. drugs := keyForEntry(text, "Drogen")
  3695. mats := keyForEntry(text, "Materialien")
  3696. sdrugs := number_format(safedrugs)
  3697. smats := number_format(safemats)
  3698. gesamt := number_format(bank)
  3699. geld := number_format(geldd)
  3700. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  3701. StringReplace, VarBack, Bankl1,.,,All
  3702. zw1 := 2147483647/VarBack
  3703. rw1 := log(zw1)
  3704. rw2 := log(1.001)
  3705. rw3 := log(1.0015)
  3706. res := Round(rw1/rw2)
  3707. res1 := Round(rw1/rw3)
  3708. Organizer("Bis zu deiner Geldgrenze benötigst du noch " res " Paydays ohne und " res1 " mit Donator.")
  3709. SendChat("Bis zu meiner Geldgrenze benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  3710. }
  3711. Suspend off
  3712. return
  3713. :?:/ggrenze::
  3714. Suspend Permit
  3715. SendInput {enter}
  3716. if(ReadStats(text))
  3717. {
  3718. safedrugs := keyForEntry(text, "SafeDrugs")
  3719. safemats := keyForEntry(text, "SafeMats")
  3720. fische := keyForEntry(text, "Illegale Fische")
  3721. codes := keyForEntry(text, "Hackingcodes")
  3722. dmkill := keyForEntry(text, "Kills\(DM\)")
  3723. tode := keyForEntry(text, "Tode")
  3724. rate := keyForEntry(text, "DM-Rate")
  3725. Bank := keyForEntry(text, "Bank")
  3726. Geldd := keyForEntry(text, "Geld")
  3727. Level := keyForEntry(text, "Level")
  3728. Respekt := keyForEntry(text, "Respekt")
  3729. drugs := keyForEntry(text, "Drogen")
  3730. mats := keyForEntry(text, "Materialien")
  3731. sdrugs := number_format(safedrugs)
  3732. smats := number_format(safemats)
  3733. gesamt := number_format(bank)
  3734. geld := number_format(geldd)
  3735. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  3736. StringReplace, VarBack, Bankl1,.,,All
  3737. zw1 := 2147483647/VarBack
  3738. rw1 := log(zw1)
  3739. rw2 := log(1.001)
  3740. rw3 := log(1.0015)
  3741. res := Round(rw1/rw2)
  3742. res1 := Round(rw1/rw3)
  3743. SendChat("/g Bis zu meiner Geldgrenze benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  3744. }
  3745. Suspend off
  3746. return
  3747. :?:/fgrenze::
  3748. Suspend Permit
  3749. SendInput {enter}
  3750. if(ReadStats(text))
  3751. {
  3752. safedrugs := keyForEntry(text, "SafeDrugs")
  3753. safemats := keyForEntry(text, "SafeMats")
  3754. fische := keyForEntry(text, "Illegale Fische")
  3755. codes := keyForEntry(text, "Hackingcodes")
  3756. dmkill := keyForEntry(text, "Kills\(DM\)")
  3757. tode := keyForEntry(text, "Tode")
  3758. rate := keyForEntry(text, "DM-Rate")
  3759. Bank := keyForEntry(text, "Bank")
  3760. Geldd := keyForEntry(text, "Geld")
  3761. Level := keyForEntry(text, "Level")
  3762. Respekt := keyForEntry(text, "Respekt")
  3763. drugs := keyForEntry(text, "Drogen")
  3764. mats := keyForEntry(text, "Materialien")
  3765. sdrugs := number_format(safedrugs)
  3766. smats := number_format(safemats)
  3767. gesamt := number_format(bank)
  3768. geld := number_format(geldd)
  3769. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  3770. StringReplace, VarBack, Bankl1,.,,All
  3771. zw1 := 2147483647/VarBack
  3772. rw1 := log(zw1)
  3773. rw2 := log(1.001)
  3774. rw3 := log(1.0015)
  3775. res := Round(rw1/rw2)
  3776. res1 := Round(rw1/rw3)
  3777. SendChat("/f Bis zu meiner Geldgrenze benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  3778. }
  3779. Suspend off
  3780. return
  3781. :?:/mel::
  3782. Suspend Permit
  3783. SendInput, {enter}
  3784. Organizer("* Du wurdest für 1.620 Sekunden eingesperrt und verlierst wegen Flucht und Kill durch einen Polizist $90.000.")
  3785. Suspend Off
  3786. return
  3787. :?:/p::
  3788. Suspend Permit
  3789. SendInput {ESC}
  3790. sendchat("/pickup")
  3791. sendchat("Guten Tag hier spricht " getplayername() ", was kann ich für Sie tun? ")
  3792. return
  3793. :?:/hallo::
  3794. suspend permit
  3795. sendinput {enter}
  3796. if(ReadStats(text))
  3797. {
  3798. Team := keyForEntry(text, "Team")
  3799. Rang := keyForEntry(text, "Rang")
  3800. Sendchat("Guten Tag! Ich bin " getplayername() ", " Rang " des " Team ".")
  3801. }
  3802. Else
  3803. {
  3804. Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
  3805. }
  3806. Hotkey, t, On
  3807. Suspend off
  3808. return
  3809. :?:/clearchat::
  3810. :?:/cc::
  3811. suspend permit
  3812. sendinput, {enter}
  3813. loop, 20
  3814. AddChatMessage("{FFFFFF} " "")
  3815. Organizer("Chat wurde gecleart.")
  3816. Suspend off
  3817. return
  3818. :?:/ud::
  3819. Suspend Permit
  3820. SendInput, {enter}
  3821. SendChat("/usedrugs")
  3822. Suspend Off
  3823. return
  3824. :?:/bk::
  3825. Suspend Permit
  3826. SendInput, {enter}
  3827. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  3828. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  3829. If(IsPlayerInAnyInterior()==1)
  3830. {
  3831. SendChat("/f Benötige Unterstützung in einem Interior. HP: " GetPlayerHealth() "")
  3832. }
  3833. else
  3834. SendChat("/f Benötige Unterstützung in " City ", " Zone ". HP: " GetPlayerHealth() "")
  3835. Suspend Off
  3836. return
  3837. :?:/gi::
  3838. Suspend Permit
  3839. SendInput, {enter}
  3840. IniRead, wGebietinfo, TaKe-Binder.ini,Sonstiges, wGebietinfo
  3841. if(wGebietinfo=1)
  3842. {
  3843. SendChat("/gebietinfo")
  3844. Sleep, 200
  3845. GetChatLine(6, Chat6)
  3846. GetChatLine(5, Chat5)
  3847. GetChatLine(4, Chat4)
  3848. GetChatLine(3, Chat3)
  3849. GetChatLine(2, Chat2)
  3850. GetChatLine(1, Chat1)
  3851. GetChatLine(0, Chat0)
  3852. if(Instr(Chat1, " Restzeit:"))
  3853. {
  3854. RegExMatch(Chat1, "Restzeit: (.*) Tage, (.*) Stunden und (.*) Minuten", regzeit)
  3855. RegExMatch(Chat2, " Kills: (.*)", regkills)
  3856. RegExMatch(Chat3, " Herausforderer: (.*)", regher)
  3857. RegExMatch(Chat4, " Kills: (.*)", reg1kills)
  3858. RegExMatch(Chat5, " Besitzer: (.*)", regbe)
  3859. SendChat("/f -> Gebietinfo von " regher1 " - " regbe1 " <-")
  3860. SendChat("/f " regbe1 ": " reg1kills1 " Kills - " regher1 ": " regkills1 " Kills")
  3861. SendChat("/f Restzeit: " regzeit1 " Tage " regzeit2 " Stunden " regzeit3 " Minuten")
  3862. return
  3863. }
  3864. }
  3865. else
  3866. {
  3867. SendChat("/gebietinfo")
  3868. }
  3869. Suspend Off
  3870. return
  3871. :?:/wi::
  3872. Suspend Permit
  3873. SendInput, {enter}
  3874. SendChat("/warinfo")
  3875. Suspend Off
  3876. return
  3877. :?:/re::
  3878. suspend Permit
  3879. IniRead,sms6,TaKe-Binder.ini,SMS,Tel
  3880. IniRead,sms5,TaKe-Binder,SMS,Name
  3881. EigenerName:=GetPlayerName()
  3882. if(EigenerName != sms5)
  3883. {
  3884. SendInput /t %sms6%{space}
  3885. }
  3886. else
  3887. {
  3888. SendInput /t{space}
  3889. }
  3890. return
  3891. :?:/aus::
  3892. Suspend Permit
  3893. SendChat("/atm")
  3894. Sleep 150
  3895. Sendinput {Down}
  3896. sleep 100
  3897. SendInput {Enter}
  3898. return
  3899. :?:/ber::
  3900. Suspend Permit
  3901. SendChat("/atm")
  3902. Sleep 150
  3903. Sendinput {Down}
  3904. sleep 100
  3905. Sendinput {Down}
  3906. sleep 100
  3907. SendInput {Enter}
  3908. return
  3909. :?:/ein::
  3910. Suspend Permit
  3911. SendChat("/atm")
  3912. Sleep 150
  3913. SendInput {Enter}
  3914. return
  3915. :?:/pa::
  3916. Suspend permit
  3917. SendInput /id{space}
  3918. Input, partnerid, V I M,{enter}
  3919. If(partnerid = "")
  3920. {
  3921. SendInput, {end}+{home}{Del}{Esc}
  3922. Organizer("Keine Eingabe!")
  3923. return
  3924. }
  3925. else
  3926. {
  3927. sleep 200
  3928. {
  3929. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3930. {
  3931. IfInString, A_LoopReadLine, ID:
  3932. {
  3933. RegExMatch(A_LoopReadLine, "ID: \((.*)\) (.*), Level (.*)" ,partnerauslese)
  3934. partnerid := partnerauslese1
  3935. partnername := partnerauslese2
  3936. }
  3937. }
  3938. }
  3939. SendChat("/f Neuer Partner: " partnername " (ID: " partnerid ") wurde eingetragen")
  3940. }
  3941. return
  3942. :?:/ku::
  3943. Suspend permit
  3944. SendInput /id{space}
  3945. Input, opferid, V I M,{enter}
  3946. If(opferid = "")
  3947. {
  3948. SendInput, {end}+{home}{Del}{Esc}
  3949. Organizer("Keine Eingabe!")
  3950. return
  3951. }
  3952. else
  3953. {
  3954. sleep 200
  3955. {
  3956. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3957. {
  3958. IfInString, A_LoopReadLine, ID:
  3959. {
  3960. RegExMatch(A_LoopReadLine, "ID: \((.*)\) (.*), Level (.*)" ,opferauslese)
  3961. opferid := opferauslese1
  3962. opfername := opferauslese2
  3963. }
  3964. }
  3965. }
  3966. SendChat("/f Neues Ziel: " opfername " (ID: " opferid ") wurde eingetragen")
  3967. }
  3968. return
  3969. :?:/napinfo::
  3970. Suspend Permit
  3971. SendInput {enter}
  3972. Iniread, HKKnap1, TaKe-Binder.ini,Wanteds, HKKnap1
  3973. Iniread, HKKnap2, TaKe-Binder.ini,Wanteds, HKKnap2
  3974. Organizer("|_______NAP-Info_______|")
  3975. if(partnername="")
  3976. {
  3977. Organizer("Partner: Niemand")
  3978. }
  3979. else
  3980. {
  3981. Organizer("Partner: " partnername "(" partnerid ")")
  3982. }
  3983. if(opfername="")
  3984. {
  3985. Organizer("Opfer: Niemand")
  3986. }
  3987. else
  3988. {
  3989. Organizer("Opfer: " opfername "(" opferid ")")
  3990. }
  3991. if(HKKnap1=%test%)
  3992. {
  3993. Organizer("Sitz links: Taste nicht belegt")
  3994. }
  3995. else
  3996. {
  3997. Organizer("Sitz links: " HKKnap1 "")
  3998. }
  3999. if(HKKnap2=%test%)
  4000. {
  4001. Organizer("Sitz rechts: Taste nicht belegt")
  4002. }
  4003. else
  4004. {
  4005. Organizer("Sitz rechts: " HKKnap2 "")
  4006. }
  4007. Suspend Off
  4008. return
  4009. :?:/fgcs::
  4010. Suspend permit
  4011. SendInput {enter}
  4012. SendChat("/fixgangcars")
  4013. sleep 200
  4014. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  4015. {
  4016. IfInString, A_LoopReadLine, Aktuelle Kosten:
  4017. {
  4018. RegExMatch(A_LoopReadLine, "Aktuelle Kosten: \$(.*)" ,fixgangcars)
  4019. reparaturkosten := fixgangcars1
  4020. }
  4021. }
  4022. SendChat("/fixgangcars " reparaturkosten "")
  4023. return
  4024. :?:/ff::
  4025. Suspend Permit
  4026. SendInput /fastfood{space}{space}1{left}{left}
  4027. return
  4028. :?:/se::
  4029. Suspend Permit
  4030. SendInput /sex{space}{space}1{left}{left}
  4031. return
  4032. :?:/wp1::
  4033. Suspend Permit
  4034. SendInput,{enter}
  4035. if (wpc11 == 1)
  4036. {
  4037. if (wp11 == 1)
  4038. {
  4039. Waffe1 := "Deagle"
  4040. }
  4041. else if (wp11 == 2)
  4042. {
  4043. Waffe1 := "Shotgun"
  4044. }
  4045. else if (wp11 == 3)
  4046. {
  4047. Waffe1 := "MP5"
  4048. }
  4049. else if (wp11 == 4)
  4050. {
  4051. Waffe1 := "M4"
  4052. }
  4053. else if (wp11 == 5)
  4054. {
  4055. Waffe1 := "Rifle"
  4056. }
  4057. else if (wp11 == 6)
  4058. {
  4059. Waffe1 := "Sniper"
  4060. }
  4061. else if (wp11 == 7)
  4062. {
  4063. Waffe1 := "katana"
  4064. }
  4065. else
  4066. return
  4067. SendChat("/buygun " Waffe1 " " wpa11)
  4068. }
  4069. if (wpc12 == 1)
  4070. {
  4071. if (wp12 == 1)
  4072. {
  4073. Waffe1 := "Deagle"
  4074. }
  4075. else if (wp12 == 2)
  4076. {
  4077. Waffe1 := "Shotgun"
  4078. }
  4079. else if (wp12 == 3)
  4080. {
  4081. Waffe1 := "MP5"
  4082. }
  4083. else if (wp12 == 4)
  4084. {
  4085. Waffe1 := "M4"
  4086. }
  4087. else if (wp12 == 5)
  4088. {
  4089. Waffe1 := "Rifle"
  4090. }
  4091. else if (wp12 == 6)
  4092. {
  4093. Waffe1 := "Sniper"
  4094. }
  4095. else if (wp12 == 7)
  4096. {
  4097. Waffe1 := "katana"
  4098. }
  4099. else
  4100. return
  4101. SendChat("/buygun " Waffe1 " " wpa12)
  4102. }
  4103. if (wpc13 == 1)
  4104. {
  4105. if (wp13 == 1)
  4106. {
  4107. Waffe1 := "Deagle"
  4108. }
  4109. else if (wp13 == 2)
  4110. {
  4111. Waffe1 := "Shotgun"
  4112. }
  4113. else if (wp13 == 3)
  4114. {
  4115. Waffe1 := "MP5"
  4116. }
  4117. else if (wp13 == 4)
  4118. {
  4119. Waffe1 := "M4"
  4120. }
  4121. else if (wp13 == 5)
  4122. {
  4123. Waffe1 := "Rifle"
  4124. }
  4125. else if (wp13 == 6)
  4126. {
  4127. Waffe1 := "Sniper"
  4128. }
  4129. else if (wp13 == 7)
  4130. {
  4131. Waffe1 := "katana"
  4132. }
  4133. else
  4134. return
  4135. SendChat("/buygun " Waffe1 " " wpa13)
  4136. }
  4137. if (wpc14 == 1)
  4138. {
  4139. if (wp14 == 1)
  4140. {
  4141. Waffe1 := "Deagle"
  4142. }
  4143. else if (wp14 == 2)
  4144. {
  4145. Waffe1 := "Shotgun"
  4146. }
  4147. else if (wp14 == 3)
  4148. {
  4149. Waffe1 := "MP5"
  4150. }
  4151. else if (wp14 == 4)
  4152. {
  4153. Waffe1 := "M4"
  4154. }
  4155. else if (wp14 == 5)
  4156. {
  4157. Waffe1 := "Rifle"
  4158. }
  4159. else if (wp14 == 6)
  4160. {
  4161. Waffe1 := "Sniper"
  4162. }
  4163. else if (wp14 == 7)
  4164. {
  4165. Waffe1 := "katana"
  4166. }
  4167. else
  4168. return
  4169. SendChat("/buygun " Waffe1 " " wpa14)
  4170. }
  4171. if (wpc15 == 1)
  4172. {
  4173. if (wp15 == 1)
  4174. {
  4175. Waffe1 := "Deagle"
  4176. }
  4177. else if (wp15 == 2)
  4178. {
  4179. Waffe1 := "Shotgun"
  4180. }
  4181. else if (wp15 == 3)
  4182. {
  4183. Waffe1 := "MP5"
  4184. }
  4185. else if (wp15 == 4)
  4186. {
  4187. Waffe1 := "M4"
  4188. }
  4189. else if (wp15 == 5)
  4190. {
  4191. Waffe1 := "Rifle"
  4192. }
  4193. else if (wp15 == 6)
  4194. {
  4195. Waffe1 := "Sniper"
  4196. }
  4197. else if (wp15 == 7)
  4198. {
  4199. Waffe1 := "katana"
  4200. }
  4201. else
  4202. return
  4203. SendChat("/buygun " Waffe1 " " wpa15)
  4204. }
  4205. Suspend Off
  4206. return
  4207. :?:/wp2::
  4208. Suspend Permit
  4209. SendInput,{enter}
  4210. if (wpc21 == 1)
  4211. {
  4212. if (wp21 == 1)
  4213. {
  4214. Waffe1 := "Deagle"
  4215. }
  4216. else if (wp21 == 2)
  4217. {
  4218. Waffe1 := "Shotgun"
  4219. }
  4220. else if (wp21 == 3)
  4221. {
  4222. Waffe1 := "MP5"
  4223. }
  4224. else if (wp21 == 4)
  4225. {
  4226. Waffe1 := "M4"
  4227. }
  4228. else if (wp21 == 5)
  4229. {
  4230. Waffe1 := "Rifle"
  4231. }
  4232. else if (wp21 == 6)
  4233. {
  4234. Waffe1 := "Sniper"
  4235. }
  4236. else if (wp21 == 7)
  4237. {
  4238. Waffe1 := "katana"
  4239. }
  4240. else
  4241. return
  4242. SendChat("/buygun " Waffe1 " " wpa21)
  4243. }
  4244. if (wpc22 == 1)
  4245. {
  4246. if (wp22 == 1)
  4247. {
  4248. Waffe1 := "Deagle"
  4249. }
  4250. else if (wp22 == 2)
  4251. {
  4252. Waffe1 := "Shotgun"
  4253. }
  4254. else if (wp22 == 3)
  4255. {
  4256. Waffe1 := "MP5"
  4257. }
  4258. else if (wp22 == 4)
  4259. {
  4260. Waffe1 := "M4"
  4261. }
  4262. else if (wp22 == 5)
  4263. {
  4264. Waffe1 := "Rifle"
  4265. }
  4266. else if (wp22 == 6)
  4267. {
  4268. Waffe1 := "Sniper"
  4269. }
  4270. else if (wp22 == 7)
  4271. {
  4272. Waffe1 := "katana"
  4273. }
  4274. else
  4275. return
  4276. SendChat("/buygun " Waffe1 " " wpa22)
  4277. }
  4278. if (wpc23 == 1)
  4279. {
  4280. if (wp23 == 1)
  4281. {
  4282. Waffe1 := "Deagle"
  4283. }
  4284. else if (wp23 == 2)
  4285. {
  4286. Waffe1 := "Shotgun"
  4287. }
  4288. else if (wp23 == 3)
  4289. {
  4290. Waffe1 := "MP5"
  4291. }
  4292. else if (wp23 == 4)
  4293. {
  4294. Waffe1 := "M4"
  4295. }
  4296. else if (wp23 == 5)
  4297. {
  4298. Waffe1 := "Rifle"
  4299. }
  4300. else if (wp23 == 6)
  4301. {
  4302. Waffe1 := "Sniper"
  4303. }
  4304. else if (wp23 == 7)
  4305. {
  4306. Waffe1 := "katana"
  4307. }
  4308. else
  4309. return
  4310. SendChat("/buygun " Waffe1 " " wpa23)
  4311. }
  4312. if (wpc24 == 1)
  4313. {
  4314. if (wp24 == 1)
  4315. {
  4316. Waffe1 := "Deagle"
  4317. }
  4318. else if (wp24 == 2)
  4319. {
  4320. Waffe1 := "Shotgun"
  4321. }
  4322. else if (wp24 == 3)
  4323. {
  4324. Waffe1 := "MP5"
  4325. }
  4326. else if (wp24 == 4)
  4327. {
  4328. Waffe1 := "M4"
  4329. }
  4330. else if (wp24 == 5)
  4331. {
  4332. Waffe1 := "Rifle"
  4333. }
  4334. else if (wp24 == 6)
  4335. {
  4336. Waffe1 := "Sniper"
  4337. }
  4338. else if (wp24 == 7)
  4339. {
  4340. Waffe1 := "katana"
  4341. }
  4342. else
  4343. return
  4344. SendChat("/buygun " Waffe1 " " wpa24)
  4345. }
  4346. if (wpc25 == 1)
  4347. {
  4348. if (wp25 == 1)
  4349. {
  4350. Waffe1 := "Deagle"
  4351. }
  4352. else if (wp25 == 2)
  4353. {
  4354. Waffe1 := "Shotgun"
  4355. }
  4356. else if (wp25 == 3)
  4357. {
  4358. Waffe1 := "MP5"
  4359. }
  4360. else if (wp25 == 4)
  4361. {
  4362. Waffe1 := "M4"
  4363. }
  4364. else if (wp25 == 5)
  4365. {
  4366. Waffe1 := "Rifle"
  4367. }
  4368. else if (wp25 == 6)
  4369. {
  4370. Waffe1 := "Sniper"
  4371. }
  4372. else if (wp25 == 7)
  4373. {
  4374. Waffe1 := "katana"
  4375. }
  4376. else
  4377. return
  4378. SendChat("/buygun " Waffe1 " " wpa25)
  4379. Sleep 500
  4380. }
  4381. Suspend Off
  4382. return
  4383. :?:/mc::
  4384. Suspend Permit
  4385. Sendinput /service{enter}
  4386. sleep 300
  4387. Sendinput {Down}
  4388. sleep 300
  4389. SendInput {Enter}
  4390. suspend off
  4391. return
  4392. :?:/wh::
  4393. Suspend Permit
  4394. Sendinput /service{enter}
  4395. sleep 300
  4396. Sendinput {Down}
  4397. sleep 300
  4398. Sendinput {Down}
  4399. sleep 300
  4400. Sendinput {Down}
  4401. sleep 300
  4402. Sendinput {Down}
  4403. sleep 300
  4404. Sendinput {Down}
  4405. sleep 300
  4406. SendInput {Enter}
  4407. suspend off
  4408. return
  4409. :?:/setkills::
  4410. Suspend Permit
  4411. Sendinput Kills:{space}
  4412. Input Kills,V I M,{enter}
  4413. SendInput {end}+{home}{Del}{esc}
  4414. if Kills is not number
  4415. {
  4416. Organizer("Fehler! verwende dafür Zahlen!")
  4417. Kills:=0
  4418. }
  4419. else
  4420. {
  4421. Organizer("Kills auf " Kills " gesetzt.")
  4422. }
  4423. return
  4424. :?:/setdeaths::
  4425. Suspend Permit
  4426. Sendinput Deahts:{space}
  4427. Input Deaths,V I M,{enter}
  4428. SendInput {end}+{home}{Del}{esc}
  4429. if Deaths is not number
  4430. {
  4431. Organizer("Fehler! verwende dafür Zahlen!")
  4432. Deaths:=0
  4433. }
  4434. else
  4435. {
  4436. Organizer("Deaths auf " Deaths " gesetzt.")
  4437. }
  4438. return
  4439. :?:/clearkill::
  4440. suspend permit
  4441. sendinput {enter}
  4442. Kills--
  4443. tKills--
  4444. streak-=1
  4445. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  4446. if(Kills=-1)
  4447. {
  4448. Kills:=0
  4449. }
  4450. If(tKills=-1)
  4451. {
  4452. tKills:=0
  4453. }
  4454. If(streak=-1)
  4455. {
  4456. streak:=0
  4457. IniWrite,%streak%,Statistik\statsi.ini,Killstreak,streak
  4458. }
  4459. Organizer("1 Kill Gecleart - Aktuell: " number_format(gangwarkills) " | Heute: " tKills "")
  4460. Sendchat("/f 1 Tages Kill wurde gelöscht - Aktuell: " number_format(gangwarkills) " | Heute: " tKills "")
  4461. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
  4462. Suspend Off
  4463. return
  4464. :?:/cleardeath::
  4465. suspend permit
  4466. sendinput {enter}
  4467. Deaths--
  4468. If(Deaths=-1)
  4469. {
  4470. Deaths:=0
  4471. }
  4472. Organizer("1 Tod Gecleart - Aktuell: " number_format(tode) " Tode")
  4473. Suspend Off
  4474. return
  4475. :?:/setwanteds::
  4476. Suspend Permit
  4477. Sendinput Wanteds:{space}
  4478. Input Wanteds,V I M,{enter}
  4479. SendInput {end}+{home}{Del}{esc}
  4480. if Wanteds is not number
  4481. {
  4482. Organizer("Fehler! verwende dafür Zahlen!")
  4483. Wanteds:=0
  4484. }
  4485. else
  4486. {
  4487. Organizer("Wanteds auf " Wanteds " gesetzt.")
  4488. }
  4489. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  4490. if Wanteds=0
  4491. {
  4492. Wanteds:= 0
  4493. Grund:= "Unbekannt"
  4494. Zeuge:= "Niemand"
  4495. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  4496. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  4497. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  4498. }
  4499. return
  4500. :?:/ad1::
  4501. Suspend Permit
  4502. SendInput,{enter}
  4503. SendChat("/ad " AD1)
  4504. Suspend Off
  4505. return
  4506. :?:/ad2::
  4507. Suspend Permit
  4508. SendInput,{enter}
  4509. SendChat("/ad " AD2)
  4510. Suspend Off
  4511. return
  4512. :?:/ad3::
  4513. Suspend Permit
  4514. SendInput,{enter}
  4515. SendChat("/ad " AD3)
  4516. Suspend Off
  4517. return
  4518. :?:/ad4::
  4519. Suspend Permit
  4520. SendInput,{enter}
  4521. SendChat("/ad " AD4)
  4522. Suspend Off
  4523. return
  4524. :?:/adinfo::
  4525. Suspend permit
  4526. SendInput {enter}
  4527. if(AD1=%test%)
  4528. {
  4529. Organizer("AD1: Nicht belegt")
  4530. }
  4531. else
  4532. {
  4533. Organizer("AD1: " AD1 "")
  4534. }
  4535. if(AD2=%test%)
  4536. {
  4537. Organizer("AD2: Nicht belegt")
  4538. }
  4539. else
  4540. {
  4541. Organizer("AD2: " AD2 "")
  4542. }
  4543. if(AD3=%test%)
  4544. {
  4545. Organizer("AD3: Nicht belegt")
  4546. }
  4547. else
  4548. {
  4549. Organizer("AD3: " AD3 "")
  4550. }
  4551. if(AD4=%test%)
  4552. {
  4553. Organizer("AD4: Nicht belegt")
  4554. }
  4555. else
  4556. {
  4557. Organizer("AD4: " AD4 "")
  4558. }
  4559. Suspend off
  4560. return
  4561. MainGuiOpen:
  4562. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  4563. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  4564. box :=
  4565. (
  4566. "[Account-Informationen]`n
  4567. Name: `" getplayername() "
  4568. Kills: `" number_format(GangwarKills) " | Heute: " tKills "
  4569. Deaths: `" number_format(tode) " | Heute: " tDeaths
  4570. )
  4571. Gui,Main: Font,s10, Comic Sans
  4572. Gui,Main: Add, Picture,x0 y0,%A_WorkingDir%\back01.png
  4573. Gui,Main: Add, Button, x12 y10 w100 h30 gbtnoverlay, Overlay
  4574. Gui,Main: Add, Button, x12 y50 w100 h30 gbtnkeybinds, Keybinds
  4575. Gui,Main: Add, Button, x12 y90 w100 h30 gOptionGui, Optionen
  4576. Gui,Main: Add, Button, x12 y130 w100 h30 gEnemyGui, Gegnerliste
  4577. Gui,Main: Add, Button, x12 y170 w100 h30 gChangelog, Changelog
  4578. Gui,Main: Add, Button, x12 y210 w100 h30 gMOTD, MOTD
  4579. Gui,Main: Add, Edit, x132 y190 w310 h170 +ReadOnly, %box%
  4580. Gui,Main: Font, s10 bold, Times
  4581. Gui,Main: Show, x719 y316 h384 w454, Main-Control
  4582. gosub, OverlayLoad
  4583. gosub, KeybindsLoad
  4584. gosub, OwnWPLoad
  4585. gosub, LoadOptions
  4586. streak:=0
  4587. conquern:=0
  4588. tp:=0
  4589. SetTimer, 250dl, 500
  4590. SetTimer, carlowdl, 500
  4591. SetTimer, Payday, 1000
  4592. settimer, sterne, 100
  4593. settimer, schaden, 100
  4594. settimer, carschaden, 100
  4595. SetTimer, DrogenSystem, 100
  4596. SetTimer, Auslesen, 200
  4597. SetTimer, Overlay, 200
  4598. SetTimer, GameText, 900
  4599. SetTimer, CheckDate, 10000
  4600. SetTimer, AntiSpam, 150
  4601. settimer, drogenbox, 100
  4602. settimer, tanken, 100
  4603. return
  4604. MOTD:
  4605. GUI,MOTD: Destroy
  4606. URLDownloadToFile,http://51.255.151.198/waLkerKeybinder/MOTD.txt,MOTD.txt
  4607. FileRead,motd,MOTD.txt
  4608. Gui,MOTD: Add, Picture, x0 y0 +0x4000000 h556 w557, back03.png
  4609. Gui,MOTD: Font, s30
  4610. Gui,MOTD: Add, Text, x12 y35 w400 h60 +BackgroundTrans cred, Message of the Day
  4611. Gui,MOTD: Font, s10
  4612. Gui,MOTD: Add, Edit, x12 y100 w355 h340 +ReadOnly, %motd%
  4613. Gui,MOTD: Show, x437 y164 h462 w377,MOTD
  4614. FileDelete,MOTD.txt
  4615. return
  4616. Changelog:
  4617. changelog=
  4618. (
  4619. ------------------------------------------------------------------------------------------------------------------
  4620. 30.03.2016 - Version 1.3.1 by paco
  4621.  
  4622. - /untieenemy eingebaut(Untie Countdown mit Waffenabnehmen etc.)
  4623. - /fud (Fakeusedrugs)
  4624. - /ep (Eatpizza)
  4625. - /twp (/take weapons [id])
  4626. - /(g)(f)paydaysbis [Betrag] (Zeigt die Paydays bis zum angebebenen Betrag an)
  4627. - /gk System überarbeitet absofort /gk [Leertaste] eingeben dann die Nummer
  4628. - /members Hotkey überarbeitet
  4629. - /napinfo gefixxt
  4630. - Im Rechner kann der Preis pro Gramm selbst bestimmt werden
  4631.  
  4632. ------------------------------------------------------------------------------------------------------------------
  4633.  
  4634. 29.03.2016 - Version 1.3 by paco
  4635.  
  4636. - Varibalen in Eigenen Binds anpassbar Beispiel <HP>.
  4637. - Zinssystem entbuggt
  4638. - paar Bugfixes
  4639. - Chatkillspruch festlegbar
  4640. - Bei dem Hotkey "/members" wird angezeigt wie viele Member AFK sind
  4641.  
  4642. ------------------------------------------------------------------------------------------------------------------
  4643.  
  4644. 09.12.2015 - Version 1.0
  4645.  
  4646. - Neuer Release by TaKeshi.ShinoDa
  4647.  
  4648. - Killzähler angepasst
  4649.  
  4650. - Overlay angepasst
  4651.  
  4652. - Keybinder auf aktuellesten Stand gebracht
  4653.  
  4654. ------------------------------------------------------------------------------------------------------------------
  4655.  
  4656. 13.12.2015 - Version 1.1
  4657.  
  4658. - Kleine Bugs behoben
  4659.  
  4660. - /fdkd hinzugefügt
  4661.  
  4662. - Overlay-Bug beim Drogenoverlay behoben
  4663.  
  4664. - Spruch bei Tod angepasst
  4665.  
  4666.  
  4667. ------------------------------------------------------------------------------------------------------------------
  4668.  
  4669. 15.12.2015 - Version 1.2
  4670.  
  4671. - Wantedkills werden automatisch addiert
  4672.  
  4673. - Low DL Meldung
  4674.  
  4675. - Explosions CD hinzugefügt
  4676.  
  4677. ------------------------------------------------------------------------------------------------------------------
  4678.  
  4679. 16.12.2015 - Version 1.2
  4680.  
  4681. - WantedKills im F-Chat herausgenommen (BUG)
  4682.  
  4683.  
  4684. )
  4685. Gui,Changelog:Add, Picture,x0 y0,%A_WorkingDir%\back02.png
  4686. Gui,Changelog:Add, Edit, x12 y10 w370 h210 +ReadOnly, %changelog%
  4687. Gui,Changelog:Show, w397 h234,Changelog
  4688. return
  4689. MainGuiClose:
  4690. DestroyAllVisual()
  4691. ExitApp
  4692. return
  4693. btnoverlay:
  4694. Gui,Overlay: Destroy
  4695. gosub,OverlayLoad
  4696. Gui,Overlay: Add, Picture,x0 y0 w654 h404,%A_WorkingDir%\back02.png
  4697. Gui,Overlay: Add, Button, x332 y330 w100 h30 gOverlaySave, Save
  4698. Gui,Overlay: Add, GroupBox, x12 y10 w190 h140 , Health
  4699. Gui,Overlay: Add, GroupBox, x222 y10 w190 h140 , Wanteds
  4700. Gui,Overlay: Add, GroupBox, x12 y160 w190 h140 , Vehicle
  4701. Gui,Overlay: Add, GroupBox, x222 y160 w190 h140 , Position
  4702. Gui,Overlay: Add, GroupBox, x432 y10 w190 h140 , Gegnerliste
  4703. Gui,Overlay: Add, GroupBox, x432 y160 w190 h140 , DrogenInfo
  4704. Gui,Overlay: Add, CheckBox,-Checked%HPC% x22 y120 w90 h20 vHPC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4705. Gui,Overlay: Add, DropDownList,AltSubmit Choose%HPF% x122 y120 w70 h100 vHPF, Weiß|Grün|Blau|Türkis|Lila|Rot|Orange|Gelb|Hellgrün|Hellblau|Hellrot
  4706. Gui,Overlay: Add, CheckBox,-Checked%WC% x232 y120 w90 h20 vWC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4707. Gui,Overlay: Add, DropDownList,AltSubmit Choose%WCF% x330 y120 w70 h100 vWCF, Weiß|Grün|Blau|Türkis|Lila|Rot|Orange|Gelb|Hellgrün|Hellblau|Hellrot
  4708. Gui,Overlay: Add, CheckBox,-Checked%PC% x232 y270 w90 h20 vPC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4709. Gui,Overlay: Add, DropDownList,AltSubmit Choose%PCF% x330 y270 w70 h100 vPCF, Weiß |Grün |Blau |Türkis |Lila |Rot |Orange |Gelb |Hellgrün |Hellblau |Hellrot
  4710. Gui,Overlay: Add, CheckBox,-Checked%VC% x22 y270 w90 h20 vVC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4711. Gui,Overlay: Add, DropDownList,AltSubmit Choose%VCF% x122 y270 w70 h100 vVCF, Weiß|Grün|Blau|Türkis|Lila|Rot|Orange|Gelb|Hellgrün|Hellblau|Hellrot
  4712. Gui,Overlay: Add, CheckBox,-Checked%GC% x442 y120 w90 h20 vGC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4713. Gui,Overlay: Add, DropDownList,AltSubmit Choose%GCF% x540 y120 w70 h100 vGCF, Weiß|Grün|Blau|Türkis|Lila|Rot|Orange|Gelb|Hellgrün|Hellblau|Hellrot
  4714. Gui,Overlay: Add, CheckBox,-Checked%DC% x442 y270 w90 h20 vDC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4715. Gui,Overlay: Add, DropDownList,AltSubmit Choose%DCF% x538 y270 w70 h100 vDCF, Weiß|Grün|Blau|Türkis|Lila|Rot|Orange|Gelb|Hellgrün|Hellblau|Hellrot
  4716. Gui,Overlay: Add, Edit, x22 y30 w80 h20 vHPX, %HPX%
  4717. Gui,Overlay: Add, UpDown, x33 y30 w80 h20 Range0-1000, %HPX%
  4718. Gui,Overlay: Add, Edit, x22 y60 w80 h20 vHPY, %HPY%
  4719. Gui,Overlay: Add, UpDown, x33 y60 w80 h20 Range0-1000, %HPY%
  4720. Gui,Overlay: Add, Edit, x22 y90 w80 h20 vHPSize, %HPSize%
  4721. Gui,Overlay: Add, UpDown, x33 y90 w80 h20 Range0-1000, %HPSize%
  4722. Gui,Overlay: Add, Edit, x232 y30 w80 h20 vWX, %WX%
  4723. Gui,Overlay: Add, UpDown, x243 y30 w80 h20 Range0-1000, %WX%
  4724. Gui,Overlay: Add, Edit, x232 y60 w80 h20 vWY, %WY%
  4725. Gui,Overlay: Add, UpDown, x243 y60 w80 h20 Range0-1000, %WY%
  4726. Gui,Overlay: Add, Edit, x232 y90 w80 h20 vWSize, %WSize%
  4727. Gui,Overlay: Add, UpDown, x243 y30 w80 h20 Range0-1000, %WSize%
  4728. Gui,Overlay: Add, Edit, x232 y180 w80 h20 vPX, %PX%
  4729. Gui,Overlay: Add, UpDown,x243 y180 w80 h20 Range0-1000, %PX%
  4730. Gui,Overlay: Add, Edit, x232 y210 w80 h20 vPY, %PY%
  4731. Gui,Overlay: Add, UpDown,x243 y210 w80 h20 Range0-1000, %PY%
  4732. Gui,Overlay: Add, Edit, x232 y240 w80 h20 vPSize, %PSize%
  4733. Gui,Overlay: Add, UpDown,x243 y240 w80 h20 Range0-1000, %PSize%
  4734. Gui,Overlay: Add, Edit, x22 y180 w80 h20 vVX, %VX%
  4735. Gui,Overlay: Add, UpDown,x33 y180 w80 h20 Range0-1000, %VX%
  4736. Gui,Overlay: Add, Edit, x22 y210 w80 h20 vVY, %VY%
  4737. Gui,Overlay: Add, UpDown,x33 y210 w80 h20 Range0-1000, %VY%
  4738. Gui,Overlay: Add, Edit, x22 y240 w80 h20 vVSize, %VSize%
  4739. Gui,Overlay: Add, UpDown,x33 y240 w80 h20 Range0-1000, %VSize%
  4740. Gui,Overlay: Add, Edit, x442 y30 w80 h20 vGX, %WX%
  4741. Gui,Overlay: Add, UpDown, x453 y30 w80 h20 Range0-1000, %GX%
  4742. Gui,Overlay: Add, Edit, x442 y60 w80 h20 vGY, %WY%
  4743. Gui,Overlay: Add, UpDown, x453 y60 w80 h20 Range0-1000, %GY%
  4744. Gui,Overlay: Add, Edit, x442 y90 w80 h20 vGSize, %GSize%
  4745. Gui,Overlay: Add, UpDown, x453 y30 w80 h20 Range0-1000, %GSize%
  4746. Gui,Overlay: Add, Edit, x442 y180 w80 h20 vDX, %DX%
  4747. Gui,Overlay: Add, UpDown,x453 y180 w80 h20 Range0-1000, %DX%
  4748. Gui,Overlay: Add, Edit, x442 y210 w80 h20 vDY, %DY%
  4749. Gui,Overlay: Add, UpDown,x453 y210 w80 h20 Range0-1000, %DY%
  4750. Gui,Overlay: Add, Edit, x442 y240 w80 h20 vDSize, %DSize%
  4751. Gui,Overlay: Add, UpDown,x453 y240 w80 h20 Range0-1000, %DSize%
  4752. Gui,Overlay: Add, Text, x112 y30 w70 h20 +BackgroundTrans, X
  4753. Gui,Overlay: Add, Text, x112 y60 w70 h20 +BackgroundTrans, Y
  4754. Gui,Overlay: Add, Text, x112 y90 w70 h20 +BackgroundTrans, Size
  4755. Gui,Overlay: Add, Text, x322 y30 w70 h20 +BackgroundTrans, X
  4756. Gui,Overlay: Add, Text, x322 y180 w70 h20 +BackgroundTrans, X
  4757. Gui,Overlay: Add, Text, x322 y210 w70 h20 +BackgroundTrans, Y
  4758. Gui,Overlay: Add, Text, x322 y240 w70 h20 +BackgroundTrans, Size
  4759. Gui,Overlay: Add, Text, x112 y180 w70 h20 +BackgroundTrans, X
  4760. Gui,Overlay: Add, Text, x112 y210 w70 h20 +BackgroundTrans, Y
  4761. Gui,Overlay: Add, Text, x112 y240 w70 h20 +BackgroundTrans, Size
  4762. Gui,Overlay: Add, Text, x322 y60 w70 h20 +BackgroundTrans, Y
  4763. Gui,Overlay: Add, Text, x322 y90 w70 h20 +BackgroundTrans, Size
  4764. Gui,Overlay: Add, Text, x532 y30 w70 h20 +BackgroundTrans, X
  4765. Gui,Overlay: Add, Text, x532 y60 w70 h20 +BackgroundTrans, Y
  4766. Gui,Overlay: Add, Text, x532 y90 w70 h20 +BackgroundTrans, Size
  4767. Gui,Overlay: Add, Text, x532 y210 w70 h20 +BackgroundTrans, Y
  4768. Gui,Overlay: Add, Text, x532 y180 w70 h20 +BackgroundTrans, X
  4769. Gui,Overlay: Add, Text, x532 y240 w70 h20 +BackgroundTrans, Size
  4770. Gui,Overlay: Add, Text, x22 y320 w240 h40 +BackgroundTrans, /ovhelp = Overlay-Hilfe
  4771. Gui,Overlay: Add, Text, x22 y340 w240 h40 +BackgroundTrans cred, waLker: Während dem Movemodus darf keine Pfeiltaste belegt sein!
  4772. Gui,Overlay: Show, w634 h384, Overlay-Options
  4773. return
  4774. OverlayGuiClose:
  4775. Gui,Overlay: Destroy
  4776. return
  4777. OverlaySave:
  4778. StreamTrayTip("TaKe-Binder","Overlay-Settings gespeichert.",2)
  4779. Gui,Overlay: Submit,nohide
  4780. Iniwrite, %HPC%, TaKe-Binder.ini,Settings, HPC
  4781. Iniwrite, %VC%, TaKe-Binder.ini,Settings, VC
  4782. Iniwrite, %PC%, TaKe-Binder.ini,Settings, PC
  4783. Iniwrite, %WC%, TaKe-Binder.ini,Settings, WC
  4784. Iniwrite, %GC%, TaKe-Binder.ini,Settings, GC
  4785. Iniwrite, %DC%, TaKe-Binder.ini,Settings, DC
  4786. Iniwrite, %HPX%, TaKe-Binder.ini,Settings, HPX
  4787. Iniwrite, %HPY%, TaKe-Binder.ini,Settings, HPY
  4788. Iniwrite, %HPSize%, TaKe-Binder.ini,Settings, HPSize
  4789. Iniwrite, %WX%, TaKe-Binder.ini,Settings, WX
  4790. Iniwrite, %WY%, TaKe-Binder.ini,Settings, WY
  4791. Iniwrite, %WSize%, TaKe-Binder.ini,Settings, WSize
  4792. Iniwrite, %GX%, TaKe-Binder.ini,Settings, GX
  4793. Iniwrite, %GY%, TaKe-Binder.ini,Settings, GY
  4794. Iniwrite, %GSize%, TaKe-Binder.ini,Settings, GSize
  4795. Iniwrite, %DX%, TaKe-Binder.ini,Settings, DX
  4796. Iniwrite, %DY%, TaKe-Binder.ini,Settings, DY
  4797. Iniwrite, %DSize%, TaKe-Binder.ini,Settings, DSize
  4798. Iniwrite, %PX%, TaKe-Binder.ini,Settings, PX
  4799. Iniwrite, %PY%, TaKe-Binder.ini,Settings, PY
  4800. Iniwrite, %PSize%, TaKe-Binder.ini,Settings, PSize
  4801. Iniwrite, %VX%, TaKe-Binder.ini,Settings, VX
  4802. Iniwrite, %VY%, TaKe-Binder.ini,Settings, VY
  4803. Iniwrite, %VSize%, TaKe-Binder.ini,Settings, VSize
  4804. IniWrite, %HPF%, TaKe-Binder.ini,Settings,HPF
  4805. IniWrite, %VCF%, TaKe-Binder.ini,Settings,VCF
  4806. IniWrite, %WCF%, TaKe-Binder.ini,Settings,WCF
  4807. IniWrite, %GCF%, TaKe-Binder.ini,Settings,GCF
  4808. IniWrite, %PCF%, TaKe-Binder.ini,Settings,PCF
  4809. IniWrite, %DCF%, TaKe-Binder.ini,Settings,DCF
  4810. return
  4811. OverlayLoad:
  4812. Iniread, HPX, TaKe-Binder.ini,Settings, HPX
  4813. Iniread, HPY, TaKe-Binder.ini,Settings, HPY
  4814. Iniread, HPSize, TaKe-Binder.ini,Settings, HPSize
  4815. Iniread, DX, TaKe-Binder.ini,Settings, DX
  4816. Iniread, DY, TaKe-Binder.ini,Settings, DY
  4817. Iniread, DSize, TaKe-Binder.ini,Settings, DSize
  4818. Iniread, VX, TaKe-Binder.ini,Settings, VX
  4819. Iniread, VY, TaKe-Binder.ini,Settings, VY
  4820. Iniread, VSize, TaKe-Binder.ini,Settings, VSize
  4821. Iniread, PX, TaKe-Binder.ini,Settings, PX
  4822. Iniread, PY, TaKe-Binder.ini,Settings, PY
  4823. Iniread, PSize, TaKe-Binder.ini,Settings, PSize
  4824. Iniread, WX, TaKe-Binder.ini,Settings, WX
  4825. Iniread, WY, TaKe-Binder.ini,Settings, WY
  4826. Iniread, WSize, TaKe-Binder.ini,Settings, WSize
  4827. Iniread, GX, TaKe-Binder.ini,Settings, GX
  4828. Iniread, GY, TaKe-Binder.ini,Settings, GY
  4829. Iniread, GSize, TaKe-Binder.ini,Settings, GSize
  4830. Iniread, HPC, TaKe-Binder.ini,Settings, HPC
  4831. Iniread, WC, TaKe-Binder.ini,Settings, WC
  4832. Iniread, PC, TaKe-Binder.ini,Settings, PC
  4833. Iniread, VC, TaKe-Binder.ini,Settings, VC
  4834. Iniread, GC, TaKe-Binder.ini,Settings, GC
  4835. Iniread, DC, TaKe-Binder.ini,Settings, DC
  4836. Iniread, Wanteds, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  4837. Iniread, Grund, TaKe-Binder.ini,Wanteds, Wanted-Grund
  4838. Iniread, Zeuge, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  4839. IniRead, HPF, TaKe-Binder.ini, Settings, HPF
  4840. IniRead, VCF, TaKe-Binder.ini, Settings, VCF
  4841. IniRead, WCF, TaKe-Binder.ini, Settings, WCF
  4842. IniRead, PCF, TaKe-Binder.ini, Settings, PCF
  4843. IniRead, GCF, TaKe-Binder.ini, Settings, GCF
  4844. IniRead, DCF, TaKe-Binder.ini, Settings, DCF
  4845. return
  4846. btnkeybinds:
  4847. Gui,Keybinds: Destroy
  4848. gosub, KeybindsLoad
  4849. IfNotEqual,HKEnterExit,
  4850. StringReplace, HKEnterExit, HKEnterExit,~
  4851. IfNotEqual,HKEngine,
  4852. StringReplace, HKEngine, HKEngine,~
  4853. IfNotEqual,HKLock,
  4854. StringReplace, HKLock, HKLock,~
  4855. IfNotEqual,HKLights,
  4856. StringReplace, HKLights, HKLights,~
  4857. IfNotEqual,HKCarlock,
  4858. StringReplace, HKCarlock, HKCarlock,~
  4859. IfNotEqual,HKEngineLock,
  4860. StringReplace, HKEngineLock, HKEngineLock,~
  4861. IfNotEqual,HKTime,
  4862. StringReplace, HKTime, HKTime,~
  4863. IfNotEqual,HKMembers,
  4864. StringReplace, HKMembers, HKMembers,~
  4865. IfNotEqual,HKFriends,
  4866. StringReplace, HKFriends, HKFriends,~
  4867. IfNotEqual,HKNotafk,
  4868. StringReplace, HKNotafk, HKNotafk,~
  4869. IfNotEqual,HKWarinfo,
  4870. StringReplace, HKWarinfo, HKWarinfo,~
  4871. IfNotEqual,HKKnap1,
  4872. StringReplace, HKKnap1, HKKnap1,~
  4873. IfNotEqual,HKKnap2,
  4874. StringReplace, HKKnap2, HKKnap2,~
  4875. IfNotEqual,HKTie,
  4876. StringReplace, HKTie, HKTie,~
  4877. IfNotEqual,HKUntie,
  4878. StringReplace, HKUntie, HKUntie,~
  4879. IfNotEqual,HKSex,
  4880. StringReplace, HKSex, HKSex,~
  4881. IfNotEqual,HKFastfood,
  4882. StringReplace, HKFastfood, HKFastfood,~
  4883. IfNotEqual,HKRepeat,
  4884. StringReplace, HKRepeat, HKRepeat,~
  4885. IfNotEqual,HKFPS20,
  4886. StringReplace, HKFPS20, HKFPS20,~
  4887. IfNotEqual,HKFPS90,
  4888. StringReplace, HKFPS90, HKFPS90,~
  4889. IfNotEqual,HKSuspend,
  4890. StringReplace, HKSuspend, HKSuspend,~
  4891. IfNotEqual,HKHPDL,
  4892. StringReplace, HKHPDL, HKHPDL,~
  4893. IfNotEqual,HKBK,
  4894. StringReplace, HKBK, HKBK,~
  4895. IfNotEqual,HKCTF,
  4896. StringReplace, HKCTF, HKCTF,~
  4897. IfNotEqual,HKGiveUp,
  4898. StringReplace, HKGiveUp, HKGiveUp,~
  4899. IfNotEqual,HKFPos,
  4900. StringReplace, HKFPos, HKFPos,~
  4901. IfNotEqual,HKGebietInfo,
  4902. StringReplace, HKGebietInfo, HKGebietInfo,~
  4903. IfNotEqual,HKFWanted,
  4904. StringReplace, HKFWanted, HKFWanted,~
  4905. IfNotEqual,HKFill,
  4906. StringReplace, HKFill, HKFill,~
  4907. IfNotEqual,HKFillCar,
  4908. StringReplace, HKFillCar, HKFillCar,~
  4909. IfNotEqual,HKCargo,
  4910. StringReplace, HKCargo, HKCargo,~
  4911. IfNotEqual,HKOpenCargo,
  4912. StringReplace, HKOpenCargo, HKOpenCargo,~
  4913. IfNotEqual,HKATMDifferenz,
  4914. StringReplace, HKATMDifferenz, HKATMDifferenz,~
  4915. IfNotEqual,HKWP1,
  4916. StringReplace, HKWP1, HKWP1,~
  4917. IfNotEqual,HKWP2,
  4918. StringReplace, HKWP2, HKWP2,~
  4919. IfNotEqual,HKKillSpruch,
  4920. StringReplace, HKKillSpruch, HKKillSpruch,~
  4921. IfNotEqual,HKKillPlus,
  4922. StringReplace, HKKillPlus, HKKillPlus,~
  4923. IfNotEqual,HKOwn1,
  4924. StringReplace, HKOwn1, HKOwn1,~
  4925. IfNotEqual,HKOwn2,
  4926. StringReplace, HKOwn2, HKOwn2,~
  4927. IfNotEqual,HKOwn3,
  4928. StringReplace, HKOwn3, HKOwn3,~
  4929. IfNotEqual,HKOwn4,
  4930. StringReplace, HKOwn4, HKOwn4,~
  4931. IfNotEqual,HKOwn5,
  4932. StringReplace, HKOwn5, HKOwn5,~
  4933. IfNotEqual,HKOwn6,
  4934. StringReplace, HKOwn6, HKOwn6,~
  4935. IfNotEqual,HKOwn7,
  4936. StringReplace, HKOwn7, HKOwn7,~
  4937. IfNotEqual,HKOwn8,
  4938. StringReplace, HKOwn8, HKOwn8,~
  4939. IfNotEqual,HKOwn9,
  4940. StringReplace, HKOwn9, HKOwn9,~
  4941. IfNotEqual,HKOwn10,
  4942. StringReplace, HKOwn10, HKOwn10,~
  4943. IfNotEqual,HKOwn11,
  4944. StringReplace, HKOwn11, HKOwn11,~
  4945. IfNotEqual,HKOwn12,
  4946. StringReplace, HKOwn12, HKOwn12,~
  4947. Gui,Keybinds: Font,s11,Comic Sans
  4948. Gui,Keybinds: Add, Button, x12 y530 w170 h20 gKeybindsSave, Speichern
  4949. Gui,Keybinds: Add, Tab, x12 y10 w600 h520 , Tasten|Textbinds|Textbinds 2|Waffen|Kills|Eigene Binds|Werbungen
  4950. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w567, %A_WorkingDir%\back03.png
  4951. Gui,Keybinds: Add, Hotkey, vHKEnterExit x22 y40 w90 h20 , %HKEnterExit%
  4952. Gui,Keybinds: Add, Hotkey, vHKEngine x22 y70 w90 h20 , %HKEngine%
  4953. Gui,Keybinds: Add, Hotkey, vHKLock x22 y100 w90 h20 , %HKLock%
  4954. Gui,Keybinds: Add, Hotkey, vHKLights x22 y130 w90 h20 , %HKLights%
  4955. Gui,Keybinds: Add, Hotkey, vHKCarlock x22 y160 w90 h20 , %HKCarlock%
  4956. Gui,Keybinds: Add, Hotkey, vHKEngineLock x22 y190 w90 h20 , %HKEngineLock%
  4957. Gui,Keybinds: Add, Hotkey, vHKTime x22 y220 w90 h20 , %HKTime%
  4958. Gui,Keybinds: Add, Hotkey, vHKMembers x22 y250 w90 h20 , %HKMembers%
  4959. Gui,Keybinds: Add, Hotkey, vHKFriends x22 y280 w90 h20 , %HKFriends%
  4960. Gui,Keybinds: Add, Hotkey, vHKNotafk x22 y310 w90 h20 , %HKNotafk%
  4961. Gui,Keybinds: Add, Hotkey, vHKWarinfo x22 y340 w90 h20 , %HKWarinfo%
  4962. Gui,Keybinds: Add, Hotkey, vHKKnap1 x22 y370 w90 h20 , %HKKnap1%
  4963. Gui,Keybinds: Add, Hotkey, vHKKnap2 x22 y400 w90 h20 , %HKKnap2%
  4964. Gui,Keybinds: Add, Hotkey, vHKTie x22 y430 w90 h20 , %HKTie%
  4965. Gui,Keybinds: Add, Hotkey, vHKUntie x22 y460 w90 h20 , %HKUntie%
  4966. Gui,Keybinds: Add, Hotkey, vHKSex x22 y490 w90 h20 , %HKSex%
  4967. Gui,Keybinds: Add, Text, x122 y40 w110 h20 , /enter + /exit
  4968. Gui,Keybinds: Add, Text, x122 y70 w110 h20 , /engine
  4969. Gui,Keybinds: Add, Text, x122 y100 w110 h20 , /lock
  4970. Gui,Keybinds: Add, Text, x122 y130 w110 h20 , /lights
  4971. Gui,Keybinds: Add, Text, x122 y160 w110 h20 , /carlock
  4972. Gui,Keybinds: Add, Text, x122 y190 w110 h20 , /engine + /lock
  4973. Gui,Keybinds: Add, Text, x122 y220 w110 h20 , /time
  4974. Gui,Keybinds: Add, Text, x122 y250 w110 h20 , /members
  4975. Gui,Keybinds: Add, Text, x122 y280 w110 h20 , /friends
  4976. Gui,Keybinds: Add, Text, x122 y310 w110 h20 , /notafk
  4977. Gui,Keybinds: Add, Text, x122 y340 w110 h20 , Motorstart vormerken
  4978. Gui,Keybinds: Add, Text, x122 y370 w110 h20 , /kidnap _ _ 0
  4979. Gui,Keybinds: Add, Text, x122 y400 w110 h20 , /kidnap _ _ 1
  4980. Gui,Keybinds: Add, Text, x122 y430 w110 h20 , /tie _
  4981. Gui,Keybinds: Add, Text, x122 y460 w110 h20 , /untie _
  4982. Gui,Keybinds: Add, Text, x122 y490 w110 h20 , /sex _ 1
  4983. Gui,Keybinds: Add, Hotkey, vHKFastfood x262 y40 w90 h20 , %HKFastfood%
  4984. Gui,Keybinds: Add, Hotkey, vHKRepeat x262 y70 w90 h20 , %HKRepeat%
  4985. Gui,Keybinds: Add, Hotkey, vHKFPS20 x262 y100 w90 h20 , %HKFPS20%
  4986. Gui,Keybinds: Add, Hotkey, vHKFPS90 x262 y130 w90 h20 , %HKFPS90%
  4987. Gui,Keybinds: Add, Hotkey, vHKSuspend x262 y160 w90 h20 , %HKSuspend%
  4988. Gui,Keybinds: Add, Hotkey, vHKHPDL x262 y190 w90 h20 , %HKHPDL%
  4989. Gui,Keybinds: Add, Hotkey, vHKBK x262 y220 w90 h20 , %HKBK%
  4990. Gui,Keybinds: Add, Hotkey, vHKCTF x262 y250 w90 h20 , %HKCTF%
  4991. Gui,Keybinds: Add, Hotkey, vHKGiveUp x262 y280 w90 h20 , %HKGiveUp%
  4992. Gui,Keybinds: Add, Hotkey, vHKFPos x262 y310 w90 h20 , %HKFPos%
  4993. Gui,Keybinds: Add, Hotkey, vHKGebietInfo x262 y340 w90 h20 , %HKGebietInfo%
  4994. Gui,Keybinds: Add, Hotkey, vHKFWanted x262 y370 w90 h20 , %HKFWanted%
  4995. Gui,Keybinds: Add, Hotkey, vHKFill x262 y400 w90 h20 , %HKFill%
  4996. Gui,Keybinds: Add, Hotkey, vHKFillCar x262 y430 w90 h20 , %HKFillCar%
  4997. Gui,Keybinds: Add, Hotkey, vHKCargo x262 y460 w90 h20 , %HKCargo%
  4998. Gui,Keybinds: Add, Hotkey, vHKOpenCargo x262 y490 w90 h20 , %HKOpenCargo%
  4999. Gui,Keybinds: Add, Text, x362 y40 w110 h20 , /fastfood _ 1
  5000. Gui,Keybinds: Add, Text, x362 y70 w120 h20 , Letzte Eingabe wdh.
  5001. Gui,Keybinds: Add, Text, x362 y100 w110 h20 , /fpslimit 20
  5002. Gui,Keybinds: Add, Text, x362 y130 w110 h20 , /fpslimit 90
  5003. Gui,Keybinds: Add, Text, x362 y160 w140 h20 , Keybinder Pausieren
  5004. Gui,Keybinds: Add, Text, x362 y190 w110 h20 , HP/DL im Chat
  5005. Gui,Keybinds: Add, Text, x362 y220 w110 h20 , Backup
  5006. Gui,Keybinds: Add, Text, x362 y250 w110 h20 , Finanzausgabe
  5007. Gui,Keybinds: Add, Text, x362 y280 w110 h20 , /giveup
  5008. Gui,Keybinds: Add, Text, x362 y310 w110 h20 , /f Position
  5009. Gui,Keybinds: Add, Text, x362 y340 w110 h20 , /gebietinfo
  5010. Gui,Keybinds: Add, Text, x362 y370 w110 h20 , Wanteds anzeigen
  5011. Gui,Keybinds: Add, Text, x362 y400 w110 h20 , /fill + /getfuel
  5012. Gui,Keybinds: Add, Text, x362 y430 w110 h20 , /fillcar
  5013. Gui,Keybinds: Add, Text, x362 y460 w110 h20 , /cargo
  5014. Gui,Keybinds: Add, Text, x362 y490 w110 h20 , /opencargo
  5015. Gui,Keybinds: Tab, Textbinds
  5016. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5017. Gui,Keybinds: Add, Text, x22 y40 w100 h20 , /gk _
  5018. Gui,Keybinds: Add, Text, x22 y70 w100 h20 , /se
  5019. Gui,Keybinds: Add, Text, x22 y100 w100 h20 , /ff
  5020. Gui,Keybinds: Add, Text, x22 y130 w100 h20 , /as
  5021. Gui,Keybinds: Add, Text, x22 y160 w100 h20 , /ah
  5022. Gui,Keybinds: Add, Text, x22 y190 w100 h20 , /aheal
  5023. Gui,Keybinds: Add, Text, x22 y220 w100 h20 , /adrugs
  5024. Gui,Keybinds: Add, Text, x22 y250 w100 h20 , /arep
  5025. Gui,Keybinds: Add, Text, x22 y280 w100 h20 , /aref
  5026. Gui,Keybinds: Add, Text, x22 y310 w100 h20 , /ud
  5027. Gui,Keybinds: Add, Text, x22 y370 w100 h20 , /gi
  5028. Gui,Keybinds: Add, Text, x22 y400 w100 h20 , /wi
  5029. Gui,Keybinds: Add, Text, x22 y430 w100 h20 , /re
  5030. Gui,Keybinds: Add, Text, x22 y460 w100 h20 , /ein
  5031. Gui,Keybinds: Add, Text, x22 y490 w100 h20 , /aus
  5032. Gui,Keybinds: Add, Text, x132 y40 w100 h20 , Gebaeudekomplex
  5033. Gui,Keybinds: Add, Text, x132 y70 w100 h20 , /sex _ 1
  5034. Gui,Keybinds: Add, Text, x132 y100 w100 h20 , /fastfood _ 1
  5035. Gui,Keybinds: Add, Text, x132 y130 w100 h20 , /accept sex
  5036. Gui,Keybinds: Add, Text, x132 y160 w100 h20 , /accept hotdog
  5037. Gui,Keybinds: Add, Text, x132 y190 w100 h20 , /accept heal
  5038. Gui,Keybinds: Add, Text, x132 y220 w100 h20 , /accept drugs
  5039. Gui,Keybinds: Add, Text, x132 y250 w100 h20 , /accept repair
  5040. Gui,Keybinds: Add, Text, x132 y280 w100 h20 , /accept refill
  5041. Gui,Keybinds: Add, Text, x132 y310 w100 h20 , /usedrugs
  5042. Gui,Keybinds: Add, Text, x132 y340 w100 h20 , /backup
  5043. Gui,Keybinds: Add, Text, x132 y370 w100 h20 , /gebietinfo
  5044. Gui,Keybinds: Add, Text, x132 y400 w100 h20 , /warinfo
  5045. Gui,Keybinds: Add, Text, x132 y430 w140 h20 , SMS zurueckschr.
  5046. Gui,Keybinds: Add, Text, x132 y460 w100 h20 , ATM einzahlen
  5047. Gui,Keybinds: Add, Text, x132 y490 w100 h20 , ATM auszahlen
  5048. Gui,Keybinds: Add, Text, x22 y340 w100 h20 , /bk
  5049. Gui,Keybinds: Add, Text, x252 y40 w100 h20 , /rc
  5050. Gui,Keybinds: Add, Text, x252 y70 w100 h20 , /deagle
  5051. Gui,Keybinds: Add, Text, x252 y100 w100 h20 , /shot
  5052. Gui,Keybinds: Add, Text, x252 y130 w100 h20 , /mp5
  5053. Gui,Keybinds: Add, Text, x252 y160 w100 h20 , /m4
  5054. Gui,Keybinds: Add, Text, x252 y190 w100 h20 , /rifle
  5055. Gui,Keybinds: Add, Text, x252 y220 w100 h20 , /9mm
  5056. Gui,Keybinds: Add, Text, x252 y250 w100 h20 , /sniper
  5057. Gui,Keybinds: Add, Text, x252 y280 w100 h20 , /pa
  5058. Gui,Keybinds: Add, Text, x252 y310 w100 h20 , /op
  5059. Gui,Keybinds: Add, Text, x252 y340 w100 h20 , /mc
  5060. Gui,Keybinds: Add, Text, x252 y370 w100 h20 , /wh
  5061. Gui,Keybinds: Add, Text, x252 y400 w100 h20 , /kd
  5062. Gui,Keybinds: Add, Text, x252 y430 w100 h20 , /dkd
  5063. Gui,Keybinds: Add, Text, x252 y460 w100 h20 , /setdeaths
  5064. Gui,Keybinds: Add, Text, x252 y490 w100 h20 , /setddeaths
  5065. Gui,Keybinds: Add, Text, x362 y40 w100 h20 , /rentcar
  5066. Gui,Keybinds: Add, Text, x362 y70 w100 h20 , /buygun deagle _
  5067. Gui,Keybinds: Add, Text, x362 y100 w100 h20 , /buygun shotgun _
  5068. Gui,Keybinds: Add, Text, x362 y130 w100 h20 , /buygun mp5 _
  5069. Gui,Keybinds: Add, Text, x362 y160 w100 h20 , /buygun m4 _
  5070. Gui,Keybinds: Add, Text, x362 y190 w100 h20 , /buygun rifle _
  5071. Gui,Keybinds: Add, Text, x362 y220 w100 h20 , /buygun 9mm _
  5072. Gui,Keybinds: Add, Text, x362 y250 w100 h20 , /buygun sniper _
  5073. Gui,Keybinds: Add, Text, x362 y280 w120 h20 , Partner fuer Kidnap
  5074. Gui,Keybinds: Add, Text, x362 y310 w120 h20 , Opfer fuer Kidnap
  5075. Gui,Keybinds: Add, Text, x362 y340 w100 h20 , /service medic
  5076. Gui,Keybinds: Add, Text, x362 y370 w120 h20 , /service wheelman
  5077. Gui,Keybinds: Add, Text, x362 y400 w120 h20 , Kills / Deaths
  5078. Gui,Keybinds: Add, Text, x362 y430 w120 h20 , Tages Kills / Deaths
  5079. Gui,Keybinds: Add, Text, x362 y460 w120 h20 , Tode setzen
  5080. Gui,Keybinds: Add, Text, x362 y490 w120 h20 , Tages Tode setzen
  5081. Gui,Keybinds: Tab, Textbinds 2
  5082. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5083. Gui,Keybinds: Add, Text, x22 y40 w100 h20 , /setdrugs
  5084. Gui,Keybinds: Add, Text, x22 y70 w100 h20 , /setused
  5085. Gui,Keybinds: Add, Text, x22 y100 w100 h20 , /drugs
  5086. Gui,Keybinds: Add, Text, x22 y130 w100 h20 , /reset
  5087. Gui,Keybinds: Add, Text, x22 y160 w100 h20 , /d[2-26]
  5088. Gui,Keybinds: Add, Text, x22 y190 w100 h20 , /zinsen
  5089. Gui,Keybinds: Add, Text, x22 y220 w100 h20 , /kstand
  5090. Gui,Keybinds: Add, Text, x22 y250 w100 h20 , /fstand
  5091. Gui,Keybinds: Add, Text, x22 y280 w100 h20 , /gstand
  5092. Gui,Keybinds: Add, Text, x22 y310 w100 h20 , /cd
  5093. Gui,Keybinds: Add, Text, x22 y340 w100 h20 , /rechner
  5094. Gui,Keybinds: Add, Text, x22 y370 w100 h20 , /25k
  5095. Gui,Keybinds: Add, Text, x22 y400 w100 h20 , /50k
  5096. Gui,Keybinds: Add, Text, x22 y430 w100 h20 , /75k
  5097. Gui,Keybinds: Add, Text, x22 y460 w100 h20 , /99k
  5098. Gui,Keybinds: Add, Text, x22 y490 w100 h20 , /150k
  5099. Gui,Keybinds: Add, Text, x132 y40 w100 h20 , Drugs
  5100. Gui,Keybinds: Add, Text, x132 y70 w100 h20 , Used Drugs
  5101. Gui,Keybinds: Add, Text, x132 y100 w100 h20 , Drugsinfo
  5102. Gui,Keybinds: Add, Text, x132 y130 w100 h20 , reset Drugs
  5103. Gui,Keybinds: Add, Text, x132 y160 w100 h20 , /gtake drugs
  5104. Gui,Keybinds: Add, Text, x132 y190 w100 h20 , Zinsen
  5105. Gui,Keybinds: Add, Text, x132 y220 w100 h20 , Finances ff.
  5106. Gui,Keybinds: Add, Text, x132 y250 w100 h20 , Finances /f
  5107. Gui,Keybinds: Add, Text, x132 y280 w100 h20 , Finances /g
  5108. Gui,Keybinds: Add, Text, x132 y310 w100 h20 , Countdown
  5109. Gui,Keybinds: Add, Text, x132 y340 w100 h20 , Multi-Rechner
  5110. Gui,Keybinds: Add, Text, x132 y370 w100 h20 , /atm 25k
  5111. Gui,Keybinds: Add, Text, x132 y400 w100 h20 , /atm 50k
  5112. Gui,Keybinds: Add, Text, x132 y430 w140 h20 , /atm 75k
  5113. Gui,Keybinds: Add, Text, x132 y460 w100 h20 , /atm 99k
  5114. Gui,Keybinds: Add, Text, x132 y490 w100 h20 , /atm 150k
  5115. Gui,Keybinds: Add, Text, x252 y40 w100 h20 , /200k
  5116. Gui,Keybinds: Add, Text, x252 y70 w100 h20 , /300k
  5117. Gui,Keybinds: Add, Text, x252 y100 w100 h20 , /500k
  5118. Gui,Keybinds: Add, Text, x252 y130 w100 h20 , /999k
  5119. Gui,Keybinds: Add, Text, x252 y160 w100 h20 , /conquer
  5120. Gui,Keybinds: Add, Text, x252 y190 w100 h20 , /clearkill
  5121. Gui,Keybinds: Add, Text, x252 y220 w100 h20 , /cleardeath
  5122. Gui,Keybinds: Add, Text, x252 y250 w100 h20 , /idsms
  5123. Gui,Keybinds: Add, Text, x252 y280 w100 h20 , /reload
  5124. Gui,Keybinds: Add, Text, x252 y310 w100 h20 , /napinfo
  5125. Gui,Keybinds: Add, Text, x252 y340 w100 h20 , /killstreak
  5126. Gui,Keybinds: Add, Text, x252 y370 w100 h20 , /tp
  5127. Gui,Keybinds: Add, Text, x252 y400 w100 h20 , /sp
  5128. Gui,Keybinds: Add, Text, x252 y430 w100 h20 , /kills
  5129. Gui,Keybinds: Add, Text, x252 y460 w100 h20 , /deaths
  5130. Gui,Keybinds: Add, Text, x252 y490 w100 h20 , /ovhelp
  5131. Gui,Keybinds: Add, Text, x362 y40 w100 h20 , /atm 200k
  5132. Gui,Keybinds: Add, Text, x362 y70 w100 h20 , /atm 300k
  5133. Gui,Keybinds: Add, Text, x362 y100 w100 h20 , /atm 500k
  5134. Gui,Keybinds: Add, Text, x362 y130 w100 h20 , /atm 999k
  5135. Gui,Keybinds: Add, Text, x362 y160 w100 h20 , Conquerscript
  5136. Gui,Keybinds: Add, Text, x362 y190 w100 h20 , Kill clearen
  5137. Gui,Keybinds: Add, Text, x362 y220 w100 h20 , Tod clearen
  5138. Gui,Keybinds: Add, Text, x362 y250 w100 h20 , /number -> /sms
  5139. Gui,Keybinds: Add, Text, x362 y280 w120 h20 , Keybinder neustart
  5140. Gui,Keybinds: Add, Text, x362 y310 w120 h20 , Napinfo
  5141. Gui,Keybinds: Add, Text, x362 y340 w100 h20 , Killstreak
  5142. Gui,Keybinds: Add, Text, x362 y370 w100 h20 , /takepizza Spam
  5143. Gui,Keybinds: Add, Text, x362 y400 w120 h20 , /sellpizza 2x
  5144. Gui,Keybinds: Add, Text, x362 y430 w120 h20 , Kills - Tages Kills
  5145. Gui,Keybinds: Add, Text, x362 y460 w120 h20 , Tode - Tages Tode
  5146. Gui,Keybinds: Add, Text, x362 y490 w120 h20 , Overlay-Hilfe
  5147. Gui,Keybinds: Tab, Waffen
  5148. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5149. Gui,Keybinds: Add, Text, x32 y100 w140 h20 , /wp1 oder
  5150. Gui,Keybinds: Add, Hotkey, x182 y100 w60 h20 vHKWP1, %HKWP1%
  5151. Gui,Keybinds: Add, Text, x272 y50 w60 h20 , - Waffen -
  5152. Gui,Keybinds: Add, Text, x362 y50 w60 h20 , - Munition -
  5153. Gui,Keybinds: Add, Text, x432 y50 w60 h20 , - Aktiv ? -
  5154. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp11% x272 y100 w70 h100 vwp11, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5155. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp12% x272 y130 w70 h100 vwp12, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5156. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp13% x272 y160 w70 h100 vwp13, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5157. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp14% x272 y190 w70 h100 vwp14, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5158. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp15% x272 y220 w70 h100 vwp15, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5159. Gui,Keybinds: Add, Edit, x362 y100 w60 h20 vwpa11, %wpa11%
  5160. Gui,Keybinds: Add, Edit, x362 y130 w60 h20 vwpa12, %wpa12%
  5161. Gui,Keybinds: Add, Edit, x362 y160 w60 h20 vwpa13, %wpa13%
  5162. Gui,Keybinds: Add, Edit, x362 y190 w60 h20 vwpa14, %wpa14%
  5163. Gui,Keybinds: Add, Edit, x362 y220 w60 h20 vwpa15, %wpa15%
  5164. Gui,Keybinds: Add, CheckBox,-Checked%wpc11% x432 y100 w70 h20 vwpc11,
  5165. Gui,Keybinds: Add, CheckBox,-Checked%wpc12% x432 y130 w70 h20 vwpc12,
  5166. Gui,Keybinds: Add, CheckBox,-Checked%wpc13% x432 y160 w70 h20 vwpc13,
  5167. Gui,Keybinds: Add, CheckBox,-Checked%wpc14% x432 y190 w70 h20 vwpc14,
  5168. Gui,Keybinds: Add, CheckBox,-Checked%wpc15% x432 y220 w70 h20 vwpc15,
  5169. Gui,Keybinds: Add, Text, x32 y290 w140 h20 , /wp2 oder
  5170. Gui,Keybinds: Add, Hotkey, x182 y290 w60 h20 vHKWP2, %HKWP2%
  5171. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp21% x272 y290 w70 h100 vwp21, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5172. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp22% x272 y320 w70 h100 vwp22, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5173. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp23% x272 y350 w70 h100 vwp23, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5174. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp24% x272 y380 w70 h100 vwp24, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5175. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp25% x272 y410 w70 h100 vwp25, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5176. Gui,Keybinds: Add, Edit, x362 y290 w60 h20 vwpa21, %wpa21%
  5177. Gui,Keybinds: Add, Edit, x362 y320 w60 h20 vwpa22, %wpa22%
  5178. Gui,Keybinds: Add, Edit, x362 y350 w60 h20 vwpa23, %wpa23%
  5179. Gui,Keybinds: Add, Edit, x362 y380 w60 h20 vwpa24, %wpa24%
  5180. Gui,Keybinds: Add, Edit, x362 y410 w60 h20 vwpa25, %wpa25%
  5181. Gui,Keybinds: Add, CheckBox,-Checked%wpc21% x432 y290 w70 h20 vwpc21,
  5182. Gui,Keybinds: Add, CheckBox,-Checked%wpc22% x432 y320 w70 h20 vwpc22,
  5183. Gui,Keybinds: Add, CheckBox,-Checked%wpc23% x432 y350 w70 h20 vwpc23,
  5184. Gui,Keybinds: Add, CheckBox,-Checked%wpc24% x432 y380 w70 h20 vwpc24,
  5185. Gui,Keybinds: Add, CheckBox,-Checked%wpc25% x432 y410 w70 h20 vwpc25,
  5186. Gui,Keybinds: Add, Button, x22 y490 w200 h20 gOwnWeaponsGui, Einzelne Waffen belegen
  5187. Gui,Keybinds: Tab, Kills
  5188. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5189. Gui,Keybinds: Add, Hotkey,vHKKillSpruch x32 y90 w70 h20 , %HKKillSpruch%
  5190. Gui,Keybinds: Add, Text, x32 y50 w70 h20 , - Taste -
  5191. Gui,Keybinds: Add, Text, x132 y50 w160 h20 , - Zufallsspruch -
  5192. Gui,Keybinds: Add, Edit,vSpruch1 x132 y90 w330 h20 , %Spruch1%
  5193. Gui,Keybinds: Add, Edit,vSpruch2 x132 y120 w330 h20 , %Spruch2%
  5194. Gui,Keybinds: Add, Edit,vSpruch3 x132 y150 w330 h20 , %Spruch3%
  5195. Gui,Keybinds: Add, Edit,vSpruch4 x132 y180 w330 h20 , %Spruch4%
  5196. Gui,Keybinds: Add, Edit,vSpruch5 x132 y210 w330 h20 , %Spruch5%
  5197. Gui,Keybinds: Add, CheckBox,-Checked%KC1% vKC1 x472 y90 w40 h20 ,
  5198. Gui,Keybinds: Add, CheckBox,-Checked%KC2% vKC2 x472 y120 w40 h20 ,
  5199. Gui,Keybinds: Add, CheckBox,-Checked%KC3% vKC3 x472 y150 w40 h20 ,
  5200. Gui,Keybinds: Add, CheckBox,-Checked%KC4% vKC4 x472 y180 w40 h20 ,
  5201. Gui,Keybinds: Add, CheckBox,-Checked%KC5% vKC5 x472 y210 w40 h20 ,
  5202. Gui,Keybinds: Add, Text, x22 y280 w180 h20 , "/setkills" um Kills zu setzen
  5203. Gui,Keybinds: Add, Hotkey,vHKKillPlus x22 y340 w90 h20 , %HKKillPlus%
  5204. Gui,Keybinds: Add, Edit,vFSpruch x122 y340 w380 h20 , %FSpruch%
  5205. Gui,Keybinds: Add, Text, x22 y310 w90 h20 , Taste
  5206. Gui,Keybinds: Add, Text, x122 y310 w400 h20 , Gangwarkill Spruch. | waLker: Anzahl der Kills wird auto. angehaengt
  5207. Gui,Keybinds: Add, Text, x22 y380 w90 h20 , Aktiviert?
  5208. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv1% +BackgroundTrans vChatKillspruchAktiv1 x30 y403 w13 h13,
  5209. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv2% +BackgroundTrans vChatKillspruchAktiv2 x30 y433 w13 h13,
  5210. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv3% +BackgroundTrans vChatKillspruchAktiv3 x30 y463 w13 h13,
  5211. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv4% +BackgroundTrans vChatKillspruchAktiv4 x30 y493 w13 h13,
  5212. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchmain% +BackgroundTrans vChatKillspruchmain x80 y382 w13 h13,
  5213. Gui,Keybinds: Add, Text, x122 y380 w400 h20 , Killspruch der im Chat kommen soll
  5214. Gui,Keybinds: Add, Edit,vChatKillSpruch1 x122 y400 w380 h20 , %ChatKillSpruch1%
  5215. Gui,Keybinds: Add, Edit,vChatKillSpruch2 x122 y430 w380 h20 , %ChatKillSpruch2%
  5216. Gui,Keybinds: Add, Edit,vChatKillSpruch3 x122 y460 w380 h20 , %ChatKillSpruch3%
  5217. Gui,Keybinds: Add, Edit,vChatKillSpruch4 x122 y490 w380 h20 , %ChatKillSpruch4%
  5218. Gui,Keybinds: Tab, Eigene Binds
  5219. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5220. Gui,Keybinds: Add, Text, x32 y40 w100 h20 , - Taste -
  5221. Gui,Keybinds: Add, Text, x162 y40 w120 h20 , - Eigener Bind -
  5222. Gui,Keybinds: Add, Edit, x162 y80 w350 h20 vOwn1, %Own1%
  5223. Gui,Keybinds: Add, Edit, x162 y110 w350 h20 vOwn2, %Own2%
  5224. Gui,Keybinds: Add, Edit, x162 y140 w350 h20 vOwn3, %Own3%
  5225. Gui,Keybinds: Add, Edit, x162 y170 w350 h20 vOwn4, %Own4%
  5226. Gui,Keybinds: Add, Edit, x162 y200 w350 h20 vOwn5, %Own5%
  5227. Gui,Keybinds: Add, Edit, x162 y230 w350 h20 vOwn6, %Own6%
  5228. Gui,Keybinds: Add, Edit, x162 y260 w350 h20 vOwn7, %Own7%
  5229. Gui,Keybinds: Add, Edit, x162 y290 w350 h20 vOwn8, %Own8%
  5230. Gui,Keybinds: Add, Edit, x162 y320 w350 h20 vOwn9, %Own9%
  5231. Gui,Keybinds: Add, Edit, x162 y350 w350 h20 vOwn10, %Own10%
  5232. Gui,Keybinds: Add, Edit, x162 y380 w350 h20 vOwn11, %Own11%
  5233. Gui,Keybinds: Add, Edit, x162 y410 w350 h20 vOwn12, %Own12%
  5234. Gui,Keybinds: Add, Hotkey, x32 y80 w110 h20 vHKOwn1, %HKOwn1%
  5235. Gui,Keybinds: Add, Hotkey, x32 y110 w110 h20 vHKOwn2, %HKOwn2%
  5236. Gui,Keybinds: Add, Hotkey, x32 y140 w110 h20 vHKOwn3, %HKOwn3%
  5237. Gui,Keybinds: Add, Hotkey, x32 y170 w110 h20 vHKOwn4, %HKOwn4%
  5238. Gui,Keybinds: Add, Hotkey, x32 y200 w110 h20 vHKOwn5, %HKOwn5%
  5239. Gui,Keybinds: Add, Hotkey, x32 y230 w110 h20 vHKOwn6, %HKOwn6%
  5240. Gui,Keybinds: Add, Hotkey, x32 y260 w110 h20 vHKOwn7, %HKOwn7%
  5241. Gui,Keybinds: Add, Hotkey, x32 y290 w110 h20 vHKOwn8, %HKOwn8%
  5242. Gui,Keybinds: Add, Hotkey, x32 y320 w110 h20 vHKOwn9, %HKOwn9%
  5243. Gui,Keybinds: Add, Hotkey, x32 y350 w110 h20 vHKOwn10, %HKOwn10%
  5244. Gui,Keybinds: Add, Hotkey, x32 y380 w110 h20 vHKOwn11, %HKOwn11%
  5245. Gui,Keybinds: Add, Hotkey, x32 y410 w110 h20 vHKOwn12, %HKOwn12%
  5246. Gui,Keybinds: Add, Text, x25 y435 w700 h20 , INFO: Du kannst eigene Variabeln einbauen einfach <Variable> in ein Feld schreiben
  5247. Gui,Keybinds: Add, Text, x25 y455 w200 h70 , <HP> => HP`n<FPS> => frames per second`n<ID> => ID`n<Ping> => Ping
  5248. Gui,Keybinds: Add, Text, x215 y455 w205 h70 , <Zone> => Standort`n<Stadt> => Stadt`n<DL> => Fahrzeughealth`n<Carname> => Fahrzeugname
  5249. Gui,Keybinds: Add, Text, x395 y455 w200 h70 , <Username> => Nutzername
  5250. Gui,Keybinds: Tab, Werbungen
  5251. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5252. Gui,Keybinds: Add, Text, x32 y80 w100 h20 , /ad1
  5253. Gui,Keybinds: Add, Text, x32 y170 w100 h20 , /ad2
  5254. Gui,Keybinds: Add, Text, x32 y260 w100 h20 , /ad3
  5255. Gui,Keybinds: Add, Text, x32 y350 w100 h20 , /ad4
  5256. Gui,Keybinds: Add, Text, x32 y450 w350 h20 , /adinfo Wiedergibt Ingame die belegten /ad[1-4]
  5257. Gui,Keybinds: Add, Edit, x142 y80 w340 h40 vAD1 , %AD1%
  5258. Gui,Keybinds: Add, Edit, x142 y170 w340 h40 vAD2 , %AD2%
  5259. Gui,Keybinds: Add, Edit, x142 y260 w340 h40 vAD3 , %AD3%
  5260. Gui,Keybinds: Add, Edit, x142 y350 w340 h40 vAD4 , %AD4%
  5261. Gui,Keybinds: Show, x354 y188 h556 w567, Keybinds
  5262. IfNotEqual,HKEnterExit,
  5263. HKEnterExit:= "~" HKEnterExit
  5264. IfNotEqual,HKEngine,
  5265. HKEngine:= "~" HKEngine
  5266. IfNotEqual,HKLock,
  5267. HKLock:= "~" HKLock
  5268. IfNotEqual,HKLights,
  5269. HKLights:= "~" HKLights
  5270. IfNotEqual,HKCarlock,
  5271. HKCarlock:= "~" HKCarlock
  5272. IfNotEqual,HKEngineLock,
  5273. HKEngineLock:= "~" HKEngineLock
  5274. IfNotEqual,HKTime,
  5275. HKTime:= "~" HKTime
  5276. IfNotEqual,HKMembers,
  5277. HKMembers:= "~" HKMembers
  5278. IfNotEqual,HKFriends,
  5279. HKFriends:= "~" HKFriends
  5280. IfNotEqual,HKNotafk,
  5281. HKNotafk:= "~" HKNotafk
  5282. IfNotEqual,HKWarinfo,
  5283. HKWarinfo:= "~" HKWarinfo
  5284. IfNotEqual,HKKnap1,
  5285. HKKnap1:= "~" HKKnap1
  5286. IfNotEqual,HKKnap2,
  5287. HKKnap2:= "~" HKKnap2
  5288. IfNotEqual,HKTie,
  5289. HKTie:= "~" HKTie
  5290. IfNotEqual,HKUntie,
  5291. HKUntie:= "~" HKUntie
  5292. IfNotEqual,HKSex,
  5293. HKSex:= "~" HKSex
  5294. IfNotEqual,HKFastfood,
  5295. HKFastfood:= "~" HKFastfood
  5296. IfNotEqual,HKRepeat,
  5297. HKRepeat:= "~" HKRepeat
  5298. IfNotEqual,HKFPS20,
  5299. HKFPS20:= "~" HKFPS20
  5300. IfNotEqual,HKFPS90,
  5301. HKFPS90:= "~" HKFPS90
  5302. IfNotEqual,HKSuspend,
  5303. HKSuspend:= "~" HKSuspend
  5304. IfNotEqual,HKHPDL,
  5305. HKHPDL:= "~" HKHPDL
  5306. IfNotEqual,HKBK,
  5307. HKBK:= "~" HKBK
  5308. IfNotEqual,HKCTF,
  5309. HKCTF:= "~" HKCTF
  5310. IfNotEqual,HKGiveUp,
  5311. HKGiveUp:= "~" HKGiveUp
  5312. IfNotEqual,HKFPos,
  5313. HKFPos:= "~" HKFPos
  5314. IfNotEqual,HKGebietInfo,
  5315. HKGebietinfo:= "~" HKGebietInfo
  5316. IfNotEqual,HKFWanted,
  5317. HKFWanted:= "~" HKFWanted
  5318. IfNotEqual,HKFill,
  5319. HKFill:= "~" HKFill
  5320. IfNotEqual,HKFillCar,
  5321. HKFillCar:= "~" HKFillCar
  5322. IfNotEqual,HKCargo,
  5323. HKCargo:= "~" HKCargo
  5324. IfNotEqual,HKOpenCargo,
  5325. HKOpenCargo:= "~" HKOpenCargo
  5326. IfNotEqual,HKATMDifferenz,
  5327. HKATMDifferenz:= "~" HKATMDifferenz
  5328. IfNotEqual,HKWP1,
  5329. HKWP1:= "~" HKWP1
  5330. IfNotEqual,HKWP2,
  5331. HKWP2:= "~" HKWP2
  5332. IfNotEqual,HKKillSpruch,
  5333. HKKillSpruch:= "~" HKKillSpruch
  5334. IfNotEqual,HKKillPlus,
  5335. HKKillPlus:= "~" HKKillPlus
  5336. IfNotEqual,HKOwn1,
  5337. HKOwn1:= "~" HKOwn1
  5338. IfNotEqual,HKOwn2,
  5339. HKOwn2:= "~" HKOwn2
  5340. IfNotEqual,HKOwn3,
  5341. HKOwn3:= "~" HKOwn3
  5342. IfNotEqual,HKOwn4,
  5343. HKOwn4:= "~" HKOwn4
  5344. IfNotEqual,HKOwn5,
  5345. HKOwn5:= "~" HKOwn5
  5346. IfNotEqual,HKOwn6,
  5347. HKOwn6:= "~" HKOwn6
  5348. IfNotEqual,HKOwn7,
  5349. HKOwn7:= "~" HKOwn7
  5350. IfNotEqual,HKOwn8,
  5351. HKOwn8:= "~" HKOwn8
  5352. IfNotEqual,HKOwn9,
  5353. HKOwn9:= "~" HKOwn9
  5354. IfNotEqual,HKOwn10,
  5355. HKOwn10:= "~" HKOwn10
  5356. IfNotEqual,HKOwn11,
  5357. HKOwn11:= "~" HKOwn11
  5358. IfNotEqual,HKOwn12,
  5359. HKOwn12:= "~" HKOwn12
  5360. return
  5361. KeybindsGuiClose:
  5362. Gui,Keybinds: Destroy
  5363. return
  5364. KeybindsLoad:
  5365. IfNotEqual,HKEnterExit,
  5366. Hotkey, %HKEnterExit%, lHKEnterExit, Off
  5367. IfNotEqual,HKEngine,
  5368. Hotkey, %HKEngine%, lHKEngine, Off
  5369. IfNotEqual,HKLock,
  5370. Hotkey, %HKLock%, lHKLock, Off
  5371. IfNotEqual,HKLights,
  5372. Hotkey, %HKLights%, lHKLights, Off
  5373. IfNotEqual,HKCarlock,
  5374. Hotkey, %HKCarlock%, lHKCarlock, Off
  5375. IfNotEqual,HKEngineLock,
  5376. Hotkey, %HKEngineLock%, lHKEngineLock, Off
  5377. IfNotEqual,HKTime,
  5378. Hotkey, %HKTime%, lHKTime, Off
  5379. IfNotEqual,HKMembers,
  5380. Hotkey, %HKMembers%, lHKMembers, Off
  5381. IfNotEqual,HKFriends,
  5382. Hotkey, %HKFriends%, lHKFriends, Off
  5383. IfNotEqual,HKNotafk,
  5384. Hotkey, %HKNotafk%, lHKNotafk, Off
  5385. IfNotEqual,HKWarinfo,
  5386. Hotkey, %HKWarinfo%, lHKWarinfo, Off
  5387. IfNotEqual,HKKnap1,
  5388. Hotkey, %HKKnap1%, lHKKnap1, Off
  5389. IfNotEqual,HKKnap2,
  5390. Hotkey, %HKKnap2%, lHKKnap2, Off
  5391. IfNotEqual,HKTie,
  5392. Hotkey, %HKTie%, lHKTie, Off
  5393. IfNotEqual,HKUntie,
  5394. Hotkey, %HKUntie%, lHKUntie, Off
  5395. IfNotEqual,HKSex,
  5396. Hotkey, %HKSex%, lHKSex, Off
  5397. IfNotEqual,HKFastfood,
  5398. Hotkey, %HKFastfood%, lHKFastfood, Off
  5399. IfNotEqual,HKRepeat,
  5400. Hotkey, %HKRepeat%, lHKRepeat, Off
  5401. IfNotEqual,HKFPS20,
  5402. Hotkey, %HKFPS20%, lHKFPS20, Off
  5403. IfNotEqual,HKFPS90,
  5404. Hotkey, %HKFPS90%, lHKFPS90, Off
  5405. IfNotEqual,HKSuspend,
  5406. Hotkey, %HKSuspend%, lHKSuspend, Off
  5407. IfNotEqual,HKHPDL,
  5408. Hotkey, %HKHPDL%, lHKHPDL, Off
  5409. IfNotEqual,HKBK,
  5410. Hotkey, %HKBK%, lHKBK, Off
  5411. IfNotEqual,HKCTF,
  5412. Hotkey, %HKCTF%, lHKCTF, Off
  5413. IfNotEqual,HKGiveUp,
  5414. Hotkey, %HKGiveUp%, lHKGiveUp, Off
  5415. IfNotEqual,HKFPos,
  5416. Hotkey, %HKFPos%, lHKFPos, Off
  5417. IfNotEqual,HKGebietInfo,
  5418. Hotkey, %HKGebietInfo%, lHKGebietInfo, Off
  5419. IfNotEqual,HKFWanted,
  5420. Hotkey, %HKFWanted%, lHKFWanted, Off
  5421. IfNotEqual,HKFill,
  5422. Hotkey, %HKFill%, lHKFill, Off
  5423. IfNotEqual,HKFillCar,
  5424. Hotkey, %HKFillCar%, lHKFillCar, Off
  5425. IfNotEqual,HKCargo,
  5426. Hotkey, %HKCargo%, lHKCargo, Off
  5427. IfNotEqual,HKOpenCargo,
  5428. Hotkey, %HKOpenCargo%, lHKOpenCargo, Off
  5429. IfNotEqual,HKATMDifferenz,
  5430. Hotkey, %HKATMDifferenz%, lHKATMDifferenz, Off
  5431. IfNotEqual,HKWP1,
  5432. Hotkey, %HKWP1%, lHKWP1, Off
  5433. IfNotEqual,HKWP2,
  5434. Hotkey, %HKWP2%, lHKWP2, Off
  5435. IfNotEqual,HKKillSpruch,
  5436. Hotkey, %HKKillSpruch%, lHKKillSpruch, Off
  5437. IfNotEqual,HKKillPlus,
  5438. Hotkey, %HKKillPlus%, lHKKillPlus, Off
  5439. IfNotEqual,HKOwn1,
  5440. Hotkey, %HKOwn1%, lHKOwn1, Off
  5441. IfNotEqual,HKOwn2,
  5442. Hotkey, %HKOwn2%, lHKOwn2, Off
  5443. IfNotEqual,HKOwn3,
  5444. Hotkey, %HKOwn3%, lHKOwn3, Off
  5445. IfNotEqual,HKOwn4,
  5446. Hotkey, %HKOwn4%, lHKOwn4, Off
  5447. IfNotEqual,HKOwn5,
  5448. Hotkey, %HKOwn5%, lHKOwn5, Off
  5449. IfNotEqual,HKOwn6,
  5450. Hotkey, %HKOwn6%, lHKOwn6, Off
  5451. IfNotEqual,HKOwn7,
  5452. Hotkey, %HKOwn7%, lHKOwn7, Off
  5453. IfNotEqual,HKOwn8,
  5454. Hotkey, %HKOwn8%, lHKOwn8, Off
  5455. IfNotEqual,HKOwn9,
  5456. Hotkey, %HKOwn9%, lHKOwn9, Off
  5457. IfNotEqual,HKOwn10,
  5458. Hotkey, %HKOwn10%, lHKOwn10, Off
  5459. IfNotEqual,HKOwn11,
  5460. Hotkey, %HKOwn11%, lHKOwn11, Off
  5461. IfNotEqual,HKOwn12,
  5462. Hotkey, %HKOwn12%, lHKOwn12, Off
  5463. Iniread, HKEnterExit, TaKe-Binder.ini,Wanteds, HKEnterExit
  5464. Iniread, HKEngine, TaKe-Binder.ini,Wanteds, HKEngine
  5465. Iniread, HKLock ,TaKe-Binder.ini,Wanteds, HKLock
  5466. Iniread, HKLights, TaKe-Binder.ini,Wanteds, HKLights
  5467. Iniread, HKCarlock, TaKe-Binder.ini,Wanteds, HKCarlock
  5468. Iniread, HKEngineLock, TaKe-Binder.ini,Wanteds, HKEngineLock
  5469. Iniread, HKTime, TaKe-Binder.ini,Wanteds, HKTime
  5470. Iniread, HKMembers, TaKe-Binder.ini,Wanteds, HKMembers
  5471. Iniread, HKFriends, TaKe-Binder.ini,Wanteds, HKFriends
  5472. Iniread, HKNotafk, TaKe-Binder.ini,Wanteds, HKNotafk
  5473. Iniread, HKWarinfo, TaKe-Binder.ini,Wanteds, HKWarinfo
  5474. Iniread, HKKnap1, TaKe-Binder.ini,Wanteds, HKKnap1
  5475. Iniread, HKKnap2, TaKe-Binder.ini,Wanteds, HKKnap2
  5476. Iniread, HKTie, TaKe-Binder.ini,Wanteds, HKTie
  5477. Iniread, HKUntie, TaKe-Binder.ini,Wanteds, HKUntie
  5478. Iniread, HKSex, TaKe-Binder.ini,Wanteds, HKSex
  5479. Iniread, HKFastfood, TaKe-Binder.ini,Wanteds, HKFastfood
  5480. Iniread, HKRepeat, TaKe-Binder.ini,Wanteds, HKRepeat
  5481. Iniread, HKFPS20, TaKe-Binder.ini,Wanteds, HKFPS20
  5482. Iniread, HKFPS90, TaKe-Binder.ini,Wanteds, HKFPS90
  5483. Iniread, HKSuspend, TaKe-Binder.ini,Wanteds, HKSuspend
  5484. Iniread, HKHPDL, TaKe-Binder.ini,Wanteds, HKHPDL
  5485. Iniread, HKBK, TaKe-Binder.ini,Wanteds, HKBK
  5486. Iniread, HKCTF, TaKe-Binder.ini,Wanteds, HKCTF
  5487. Iniread, HKFPos, TaKe-Binder.ini,Wanteds, HKFPos
  5488. Iniread, HKGebietInfo, TaKe-Binder.ini,Wanteds, HKGebietInfo
  5489. Iniread, HKFWanted, TaKe-Binder.ini,Wanteds, HKFWanted
  5490. Iniread, HKFill, TaKe-Binder.ini,Wanteds, HKFill
  5491. Iniread, HKFillCar, TaKe-Binder.ini,Wanteds, HKFillCar
  5492. Iniread, HKCargo, TaKe-Binder.ini,Wanteds, HKCargo
  5493. Iniread, HKOpenCargo, TaKe-Binder.ini,Wanteds, HKOpenCargo
  5494. Iniread, HKATMDifferenz, TaKe-Binder.ini,Wanteds, HKATMDifferenz
  5495. Iniread, HKWP1, TaKe-Binder.ini,Wanteds, HKWP1
  5496. Iniread, HKWP2, TaKe-Binder.ini,Wanteds, HKWP2
  5497. Iniread, wpa11, TaKe-Binder.ini,Wanteds, wpa11
  5498. Iniread, wpa12, TaKe-Binder.ini,Wanteds, wpa12
  5499. Iniread, wpa13, TaKe-Binder.ini,Wanteds, wpa13
  5500. Iniread, wpa14, TaKe-Binder.ini,Wanteds, wpa14
  5501. Iniread, wpa15, TaKe-Binder.ini,Wanteds, wpa15
  5502. Iniread, wpa21, TaKe-Binder.ini,Wanteds, wpa21
  5503. Iniread, wpa22, TaKe-Binder.ini,Wanteds, wpa22
  5504. Iniread, wpa23, TaKe-Binder.ini,Wanteds, wpa23
  5505. Iniread, wpa24, TaKe-Binder.ini,Wanteds, wpa24
  5506. Iniread, wpa25, TaKe-Binder.ini,Wanteds, wpa25
  5507. Iniread, wpc11, TaKe-Binder.ini,Wanteds, wpc11
  5508. Iniread, wpc12, TaKe-Binder.ini,Wanteds, wpc12
  5509. Iniread, wpc13, TaKe-Binder.ini,Wanteds, wpc13
  5510. Iniread, wpc14, TaKe-Binder.ini,Wanteds, wpc14
  5511. Iniread, wpc15, TaKe-Binder.ini,Wanteds, wpc15
  5512. Iniread, wpc21, TaKe-Binder.ini,Wanteds, wpc21
  5513. Iniread, wpc22, TaKe-Binder.ini,Wanteds, wpc22
  5514. Iniread, wpc23, TaKe-Binder.ini,Wanteds, wpc23
  5515. Iniread, wpc24, TaKe-Binder.ini,Wanteds, wpc24
  5516. Iniread, wpc25, TaKe-Binder.ini,Wanteds, wpc25
  5517. Iniread, wp11, TaKe-Binder.ini,Wanteds, wp11
  5518. Iniread, wp12, TaKe-Binder.ini,Wanteds, wp12
  5519. Iniread, wp13, TaKe-Binder.ini,Wanteds, wp13
  5520. Iniread, wp14, TaKe-Binder.ini,Wanteds, wp14
  5521. Iniread, wp15, TaKe-Binder.ini,Wanteds, wp15
  5522. Iniread, wp21, TaKe-Binder.ini,Wanteds, wp21
  5523. Iniread, wp22, TaKe-Binder.ini,Wanteds, wp22
  5524. Iniread, wp23, TaKe-Binder.ini,Wanteds, wp23
  5525. Iniread, wp24, TaKe-Binder.ini,Wanteds, wp24
  5526. Iniread, wp25, TaKe-Binder.ini,Wanteds, wp25
  5527. Iniread, HKKillPlus, TaKe-Binder.ini,Wanteds, HKKillPlus
  5528. Iniread, HKKillSpruch, TaKe-Binder.ini,Wanteds, HKKillSpruch
  5529. Iniread, Spruch1, TaKe-Binder.ini,Wanteds, Spruch1
  5530. Iniread, Spruch2, TaKe-Binder.ini,Wanteds, Spruch2
  5531. Iniread, Spruch3, TaKe-Binder.ini,Wanteds, Spruch3
  5532. Iniread, Spruch4, TaKe-Binder.ini,Wanteds, Spruch4
  5533. Iniread, Spruch5, TaKe-Binder.ini,Wanteds, Spruch5
  5534. Iniread, FSpruch, TaKe-Binder.ini,Wanteds, FSpruch
  5535. Iniread, ChatKillspruchmain, TaKe-Binder.ini,Wanteds, ChatKillspruchmain, 0
  5536. Iniread, ChatKillspruchaktiv1, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv1, 0
  5537. Iniread, ChatKillspruchaktiv2, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv2, 0
  5538. Iniread, ChatKillspruchaktiv3, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv3, 0
  5539. Iniread, ChatKillspruchaktiv4, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv4, 0
  5540. Iniread, ChatKillSpruch1, TaKe-Binder.ini,Wanteds, ChatKillSpruch1, Eintragen!
  5541. Iniread, ChatKillSpruch2, TaKe-Binder.ini,Wanteds, ChatKillSpruch2, Eintragen!
  5542. Iniread, ChatKillSpruch3, TaKe-Binder.ini,Wanteds, ChatKillSpruch3, Eintragen!
  5543. Iniread, ChatKillSpruch4, TaKe-Binder.ini,Wanteds, ChatKillSpruch4, Eintragen!
  5544. Iniread, KC1, TaKe-Binder.ini,Wanteds, KC1
  5545. Iniread, KC2, TaKe-Binder.ini,Wanteds, KC2
  5546. Iniread, KC3, TaKe-Binder.ini,Wanteds, KC3
  5547. Iniread, KC4, TaKe-Binder.ini,Wanteds, KC4
  5548. Iniread, KC5, TaKe-Binder.ini,Wanteds, KC5
  5549. Iniread, Own1, TaKe-Binder.ini,Wanteds, Own1
  5550. Iniread, Own2, TaKe-Binder.ini,Wanteds, Own2
  5551. Iniread, Own3, TaKe-Binder.ini,Wanteds, Own3
  5552. Iniread, Own4, TaKe-Binder.ini,Wanteds, Own4
  5553. Iniread, Own5, TaKe-Binder.ini,Wanteds, Own5
  5554. Iniread, Own6, TaKe-Binder.ini,Wanteds, Own6
  5555. Iniread, Own7, TaKe-Binder.ini,Wanteds, Own7
  5556. Iniread, Own8, TaKe-Binder.ini,Wanteds, Own8
  5557. Iniread, Own9, TaKe-Binder.ini,Wanteds, Own9
  5558. Iniread, Own10, TaKe-Binder.ini,Wanteds, Own10
  5559. Iniread, Own11, TaKe-Binder.ini,Wanteds, Own11
  5560. Iniread, Own12, TaKe-Binder.ini,Wanteds, Own12
  5561. Iniread, HKOwn1, TaKe-Binder.ini,Wanteds, HKOwn1
  5562. Iniread, HKOwn2, TaKe-Binder.ini,Wanteds, HKOwn2
  5563. Iniread, HKOwn3, TaKe-Binder.ini,Wanteds, HKOwn3
  5564. Iniread, HKOwn4, TaKe-Binder.ini,Wanteds, HKOwn4
  5565. Iniread, HKOwn5, TaKe-Binder.ini,Wanteds, HKOwn5
  5566. Iniread, HKOwn6, TaKe-Binder.ini,Wanteds, HKOwn6
  5567. Iniread, HKOwn7, TaKe-Binder.ini,Wanteds, HKOwn7
  5568. Iniread, HKOwn8, TaKe-Binder.ini,Wanteds, HKOwn8
  5569. Iniread, HKOwn9, TaKe-Binder.ini,Wanteds, HKOwn9
  5570. Iniread, HKOwn10, TaKe-Binder.ini,Wanteds, HKOwn10
  5571. Iniread, HKOwn11, TaKe-Binder.ini,Wanteds, HKOwn11
  5572. Iniread, HKOwn12, TaKe-Binder.ini,Wanteds, HKOwn12
  5573. Iniread, AD1, TaKe-Binder.ini,Wanteds, AD1
  5574. Iniread, AD2, TaKe-Binder.ini,Wanteds, AD2
  5575. Iniread, AD3, TaKe-Binder.ini,Wanteds, AD3
  5576. Iniread, AD4, TaKe-Binder.ini,Wanteds, AD4
  5577. Iniread, wunschgeld, TaKe-Binder.ini,Wanteds, wunschgeld
  5578. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  5579. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  5580. IniRead,Drogenlimit, TaKe-Binder.ini,Drogen, Drogenlimit
  5581. IniRead, homespawn,Take-binder.ini, Optionen, Homespawn
  5582. iniread, base1, Take-binder.ini, Optionen, base1
  5583. iniread, MonatTode, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  5584. iniread, MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  5585. IniRead,Used, TaKe-Binder.ini,Drogensystem, Used
  5586. IfNotEqual,HKEnterExit,
  5587. HKEnterExit:= "~" HKEnterExit
  5588. IfNotEqual,HKEngine,
  5589. HKEngine:= "~" HKEngine
  5590. IfNotEqual,HKLock,
  5591. HKLock:= "~" HKLock
  5592. IfNotEqual,HKLights,
  5593. HKLights:= "~" HKLights
  5594. IfNotEqual,HKCarlock,
  5595. HKCarlock:= "~" HKCarlock
  5596. IfNotEqual,HKEngineLock,
  5597. HKEngineLock:= "~" HKEngineLock
  5598. IfNotEqual,HKTime,
  5599. HKTime:= "~" HKTime
  5600. IfNotEqual,HKMembers,
  5601. HKMembers:= "~" HKMembers
  5602. IfNotEqual,HKFriends,
  5603. HKFriends:= "~" HKFriends
  5604. IfNotEqual,HKNotafk,
  5605. HKNotafk:= "~" HKNotafk
  5606. IfNotEqual,HKWarinfo,
  5607. HKWarinfo:= "~" HKWarinfo
  5608. IfNotEqual,HKKnap1,
  5609. HKKnap1:= "~" HKKnap1
  5610. IfNotEqual,HKKnap2,
  5611. HKKnap2:= "~" HKKnap2
  5612. IfNotEqual,HKTie,
  5613. HKTie:= "~" HKTie
  5614. IfNotEqual,HKUntie,
  5615. HKUntie:= "~" HKUntie
  5616. IfNotEqual,HKSex,
  5617. HKSex:= "~" HKSex
  5618. IfNotEqual,HKFastfood,
  5619. HKFastfood:= "~" HKFastfood
  5620. IfNotEqual,HKRepeat,
  5621. HKRepeat:= "~" HKRepeat
  5622. IfNotEqual,HKFPS20,
  5623. HKFPS20:= "~" HKFPS20
  5624. IfNotEqual,HKFPS90,
  5625. HKFPS90:= "~" HKFPS90
  5626. IfNotEqual,HKSuspend,
  5627. HKSuspend:= "~" HKSuspend
  5628. IfNotEqual,HKHPDL,
  5629. HKHPDL:= "~" HKHPDL
  5630. IfNotEqual,HKBK,
  5631. HKBK:= "~" HKBK
  5632. IfNotEqual,HKCTF,
  5633. HKCTF:= "~" HKCTF
  5634. IfNotEqual,HKGiveUp,
  5635. HKGiveUp:= "~" HKGiveUp
  5636. IfNotEqual,HKFPos,
  5637. HKFPos:= "~" HKFPos
  5638. IfNotEqual,HKGebietInfo,
  5639. HKGebietinfo:= "~" HKGebietInfo
  5640. IfNotEqual,HKFWanted,
  5641. HKFWanted:= "~" HKFWanted
  5642. IfNotEqual,HKFill,
  5643. HKFill:= "~" HKFill
  5644. IfNotEqual,HKFillCar,
  5645. HKFillCar:= "~" HKFillCar
  5646. IfNotEqual,HKCargo,
  5647. HKCargo:= "~" HKCargo
  5648. IfNotEqual,HKOpenCargo,
  5649. HKOpenCargo:= "~" HKOpenCargo
  5650. IfNotEqual,HKATMDifferenz,
  5651. HKATMDifferenz:= "~" HKATMDifferenz
  5652. IfNotEqual,HKWP1,
  5653. HKWP1:= "~" HKWP1
  5654. IfNotEqual,HKWP2,
  5655. HKWP2:= "~" HKWP2
  5656. IfNotEqual,HKKillSpruch,
  5657. HKKillSpruch:= "~" HKKillSpruch
  5658. IfNotEqual,HKKillPlus,
  5659. HKKillPlus:= "~" HKKillPlus,
  5660. IfNotEqual,HKOwn1,
  5661. HKOwn1:= "~" HKOwn1
  5662. IfNotEqual,HKOwn2,
  5663. HKOwn2:= "~" HKOwn2
  5664. IfNotEqual,HKOwn3,
  5665. HKOwn3:= "~" HKOwn3
  5666. IfNotEqual,HKOwn4,
  5667. HKOwn4:= "~" HKOwn4
  5668. IfNotEqual,HKOwn5,
  5669. HKOwn5:= "~" HKOwn5
  5670. IfNotEqual,HKOwn6,
  5671. HKOwn6:= "~" HKOwn6
  5672. IfNotEqual,HKOwn7,
  5673. HKOwn7:= "~" HKOwn7
  5674. IfNotEqual,HKOwn8,
  5675. HKOwn8:= "~" HKOwn8
  5676. IfNotEqual,HKOwn9,
  5677. HKOwn9:= "~" HKOwn9
  5678. IfNotEqual,HKOwn10,
  5679. HKOwn10:= "~" HKOwn10
  5680. IfNotEqual,HKOwn11,
  5681. HKOwn11:= "~" HKOwn11
  5682. IfNotEqual,HKOwn12,
  5683. HKOwn12:= "~" HKOwn12
  5684. IfNotEqual,HKEnterExit,
  5685. Hotkey, %HKEnterExit%, lHKEnterExit, On
  5686. IfNotEqual,HKEngine,
  5687. Hotkey, %HKEngine%, lHKEngine, On
  5688. IfNotEqual,HKLock,
  5689. Hotkey, %HKLock%, lHKLock, On
  5690. IfNotEqual,HKLights,
  5691. Hotkey, %HKLights%, lHKLights, On
  5692. IfNotEqual,HKCarlock,
  5693. Hotkey, %HKCarlock%, lHKCarlock, On
  5694. IfNotEqual,HKEngineLock,
  5695. Hotkey, %HKEngineLock%, lHKEngineLock, On
  5696. IfNotEqual,HKTime,
  5697. Hotkey, %HKTime%, lHKTime, On
  5698. IfNotEqual,HKMembers,
  5699. Hotkey, %HKMembers%, lHKMembers, On
  5700. IfNotEqual,HKFriends,
  5701. Hotkey, %HKFriends%, lHKFriends, On
  5702. IfNotEqual,HKNotafk,
  5703. Hotkey, %HKNotafk%, lHKNotafk, On
  5704. IfNotEqual,HKWarinfo,
  5705. Hotkey, %HKWarinfo%, lHKWarinfo, On
  5706. IfNotEqual,HKKnap1,
  5707. Hotkey, %HKKnap1%, lHKKnap1, On
  5708. IfNotEqual,HKKnap2,
  5709. Hotkey, %HKKnap2%, lHKKnap2, On
  5710. IfNotEqual,HKTie,
  5711. Hotkey, %HKTie%, lHKTie, On
  5712. IfNotEqual,HKUntie,
  5713. Hotkey, %HKUntie%, lHKUntie, On
  5714. IfNotEqual,HKSex,
  5715. Hotkey, %HKSex%, lHKSex, On
  5716. IfNotEqual,HKFastfood,
  5717. Hotkey, %HKFastfood%, lHKFastfood, On
  5718. IfNotEqual,HKRepeat,
  5719. Hotkey, %HKRepeat%, lHKRepeat, On
  5720. IfNotEqual,HKFPS20,
  5721. Hotkey, %HKFPS20%, lHKFPS20, On
  5722. IfNotEqual,HKFPS90,
  5723. Hotkey, %HKFPS90%, lHKFPS90, On
  5724. IfNotEqual,HKSuspend,
  5725. Hotkey, %HKSuspend%, lHKSuspend, On
  5726. IfNotEqual,HKHPDL,
  5727. Hotkey, %HKHPDL%, lHKHPDL, On
  5728. IfNotEqual,HKBK,
  5729. Hotkey, %HKBK%, lHKBK, On
  5730. IfNotEqual,HKCTF,
  5731. Hotkey, %HKCTF%, lHKCTF, On
  5732. IfNotEqual,HKGiveUp,
  5733. Hotkey, %HKGiveUp%, lHKGiveUp, On
  5734. IfNotEqual,HKFPos,
  5735. Hotkey, %HKFPos%, lHKFPos, On
  5736. IfNotEqual,HKGebietInfo,
  5737. Hotkey, %HKGebietInfo%, lHKGebietInfo, On
  5738. IfNotEqual,HKFWanted,
  5739. Hotkey, %HKFWanted%, lHKFWanted, On
  5740. IfNotEqual,HKFill,
  5741. Hotkey, %HKFill%, lHKFill, On
  5742. IfNotEqual,HKFillCar,
  5743. Hotkey, %HKFillCar%, lHKFillCar, On
  5744. IfNotEqual,HKCargo,
  5745. Hotkey, %HKCargo%, lHKCargo, On
  5746. IfNotEqual,HKOpenCargo,
  5747. Hotkey, %HKOpenCargo%, lHKOpenCargo, On
  5748. IfNotEqual,HKATMDiffernz,
  5749. Hotkey, %HKATMDifferenz%, lHKATMDifferenz, On
  5750. IfNotEqual,HKWP1,
  5751. Hotkey, %HKWP1%, lHKWP1, On
  5752. IfNotEqual,HKWP2,
  5753. Hotkey, %HKWP2%, lHKWP2, On
  5754. IfNotEqual,HKKillSpruch,
  5755. Hotkey, %HKKillSpruch%, lHKKillSpruch, On
  5756. IfNotEqual,HKKillPlus,
  5757. Hotkey, %HKKillPlus%, lHKKillPlus, On
  5758. IfNotEqual,HKOwn1,
  5759. Hotkey, %HKOwn1%, lHKOwn1, On
  5760. IfNotEqual,HKOwn2,
  5761. Hotkey, %HKOwn2%, lHKOwn2, On
  5762. IfNotEqual,HKOwn3,
  5763. Hotkey, %HKOwn3%, lHKOwn3, On
  5764. IfNotEqual,HKOwn4,
  5765. Hotkey, %HKOwn4%, lHKOwn4, On
  5766. IfNotEqual,HKOwn5,
  5767. Hotkey, %HKOwn5%, lHKOwn5, On
  5768. IfNotEqual,HKOwn6,
  5769. Hotkey, %HKOwn6%, lHKOwn6, On
  5770. IfNotEqual,HKOwn7,
  5771. Hotkey, %HKOwn7%, lHKOwn7, On
  5772. IfNotEqual,HKOwn8,
  5773. Hotkey, %HKOwn8%, lHKOwn8, On
  5774. IfNotEqual,HKOwn9,
  5775. Hotkey, %HKOwn9%, lHKOwn9, On
  5776. IfNotEqual,HKOwn10,
  5777. Hotkey, %HKOwn10%, lHKOwn10, On
  5778. IfNotEqual,HKOwn11,
  5779. Hotkey, %HKOwn11%, lHKOwn11, On
  5780. IfNotEqual,HKOwn12,
  5781. Hotkey, %HKOwn12%, lHKOwn12, On
  5782. return
  5783. KeybindsSave:
  5784. IfNotEqual,HKEnterExit,
  5785. Hotkey, %HKEnterExit%, lHKEnterExit, Off
  5786. IfNotEqual,HKEngine,
  5787. Hotkey, %HKEngine%, lHKEngine, Off
  5788. IfNotEqual,HKLock,
  5789. Hotkey, %HKLock%, lHKLock, Off
  5790. IfNotEqual,HKLights,
  5791. Hotkey, %HKLights%, lHKLights, Off
  5792. IfNotEqual,HKCarlock,
  5793. Hotkey, %HKCarlock%, lHKCarlock, Off
  5794. IfNotEqual,HKEngineLock,
  5795. Hotkey, %HKEngineLock%, lHKEngineLock, Off
  5796. IfNotEqual,HKTime,
  5797. Hotkey, %HKTime%, lHKTime, Off
  5798. IfNotEqual,HKMembers,
  5799. Hotkey, %HKMembers%, lHKMembers, Off
  5800. IfNotEqual,HKFriends,
  5801. Hotkey, %HKFriends%, lHKFriends, Off
  5802. IfNotEqual,HKNotafk,
  5803. Hotkey, %HKNotafk%, lHKNotafk, Off
  5804. IfNotEqual,HKWarinfo,
  5805. Hotkey, %HKWarinfo%, lHKWarinfo, Off
  5806. IfNotEqual,HKKnap1,
  5807. Hotkey, %HKKnap1%, lHKKnap1, Off
  5808. IfNotEqual,HKKnap2,
  5809. Hotkey, %HKKnap2%, lHKKnap2, Off
  5810. IfNotEqual,HKTie,
  5811. Hotkey, %HKTie%, lHKTie, Off
  5812. IfNotEqual,HKUntie,
  5813. Hotkey, %HKUntie%, lHKUntie, Off
  5814. IfNotEqual,HKSex,
  5815. Hotkey, %HKSex%, lHKSex, Off
  5816. IfNotEqual,HKFastfood,
  5817. Hotkey, %HKFastfood%, lHKFastfood, Off
  5818. IfNotEqual,HKRepeat,
  5819. Hotkey, %HKRepeat%, lHKRepeat, Off
  5820. IfNotEqual,HKFPS20,
  5821. Hotkey, %HKFPS20%, lHKFPS20, Off
  5822. IfNotEqual,HKFPS90,
  5823. Hotkey, %HKFPS90%, lHKFPS90, Off
  5824. IfNotEqual,HKSuspend,
  5825. Hotkey, %HKSuspend%, lHKSuspend, Off
  5826. IfNotEqual,HKHPDL,
  5827. Hotkey, %HKHPDL%, lHKHPDL, Off
  5828. IfNotEqual,HKBK,
  5829. Hotkey, %HKBK%, lHKBK, Off
  5830. IfNotEqual,HKCTF,
  5831. Hotkey, %HKCTF%, lHKCTF, Off
  5832. IfNotEqual,HKGiveUp,
  5833. Hotkey, %HKGiveUp%, lHKGiveUp, Off
  5834. IfNotEqual,HKFPos,
  5835. Hotkey, %HKFPos%, lHKFPos, Off
  5836. IfNotEqual,HKGebietInfo,
  5837. Hotkey, %HKGebietInfo%, lHKGebietInfo, Off
  5838. IfNotEqual,HKFWanted,
  5839. Hotkey, %HKFWanted%, lHKFWanted, Off
  5840. IfNotEqual,HKFill,
  5841. Hotkey, %HKFill%, lHKFill, Off
  5842. IfNotEqual,HKFillCar,
  5843. Hotkey, %HKFillCar%, lHKFillCar, Off
  5844. IfNotEqual,HKCargo,
  5845. Hotkey, %HKCargo%, lHKCargo, Off
  5846. IfNotEqual,HKOpenCargo,
  5847. Hotkey, %HKOpenCargo%, lHKOpenCargo, Off
  5848. IfNotEqual,HKATMDifferenz,
  5849. Hotkey, %HKATMDifferenz%, lHKATMDifferenz, Off
  5850. IfNotEqual,HKWP1,
  5851. Hotkey, %HKWP1%, lHKWP1, Off
  5852. IfNotEqual,HKWP2,
  5853. Hotkey, %HKWP2%, lHKWP2, Off
  5854. IfNotEqual,HKKillSpruch,
  5855. Hotkey, %HKKillSpruch%, lHKKillSpruch, Off
  5856. IfNotEqual,HKKillPlus,
  5857. Hotkey, %HKKillPlus%, lHKKillPlus, Off
  5858. IfNotEqual,HKOwn1,
  5859. Hotkey, %HKOwn1%, lHKOwn1, Off
  5860. IfNotEqual,HKOwn2,
  5861. Hotkey, %HKOwn2%, lHKOwn2, Off
  5862. IfNotEqual,HKOwn3,
  5863. Hotkey, %HKOwn3%, lHKOwn3, Off
  5864. IfNotEqual,HKOwn4,
  5865. Hotkey, %HKOwn4%, lHKOwn4, Off
  5866. IfNotEqual,HKOwn5,
  5867. Hotkey, %HKOwn5%, lHKOwn5, Off
  5868. IfNotEqual,HKOwn6,
  5869. Hotkey, %HKOwn6%, lHKOwn6, Off
  5870. IfNotEqual,HKOwn7,
  5871. Hotkey, %HKOwn7%, lHKOwn7, Off
  5872. IfNotEqual,HKOwn8,
  5873. Hotkey, %HKOwn8%, lHKOwn8, Off
  5874. IfNotEqual,HKOwn9,
  5875. Hotkey, %HKOwn9%, lHKOwn9, Off
  5876. IfNotEqual,HKOwn10,
  5877. Hotkey, %HKOwn10%, lHKOwn10, Off
  5878. IfNotEqual,HKOwn11,
  5879. Hotkey, %HKOwn11%, lHKOwn11, Off
  5880. IfNotEqual,HKOwn12,
  5881. Hotkey, %HKOwn12%, lHKOwn12, Off
  5882. Gui,Keybinds: Submit, NoHide
  5883. IfNotEqual,HKEnterExit,
  5884. StringReplace, HKEnterExit, HKEnterExit,~
  5885. IfNotEqual,HKEngine,
  5886. StringReplace, HKEngine, HKEngine,~
  5887. IfNotEqual,HKLock,
  5888. StringReplace, HKLock, HKLock,~
  5889. IfNotEqual,HKLights,
  5890. StringReplace, HKLights, HKLights,~
  5891. IfNotEqual,HKCarlock,
  5892. StringReplace, HKCarlock, HKCarlock,~
  5893. IfNotEqual,HKEngineLock,
  5894. StringReplace, HKEngineLock, HKEngineLock,~
  5895. IfNotEqual,HKTime,
  5896. StringReplace, HKTime, HKTime,~
  5897. IfNotEqual,HKMembers,
  5898. StringReplace, HKMembers, HKMembers,~
  5899. IfNotEqual,HKFriends,
  5900. StringReplace, HKFriends, HKFriends,~
  5901. IfNotEqual,HKNotafk,
  5902. StringReplace, HKNotafk, HKNotafk,~
  5903. IfNotEqual,HKWarinfo,
  5904. StringReplace, HKWarinfo, HKWarinfo,~
  5905. IfNotEqual,HKKnap1,
  5906. StringReplace, HKKnap1, HKKnap1,~
  5907. IfNotEqual,HKKnap2,
  5908. StringReplace, HKKnap2, HKKnap2,~
  5909. IfNotEqual,HKTie,
  5910. StringReplace, HKTie, HKTie,~
  5911. IfNotEqual,HKUntie,
  5912. StringReplace, HKUntie, HKUntie,~
  5913. IfNotEqual,HKSex,
  5914. StringReplace, HKSex, HKSex,~
  5915. IfNotEqual,HKFastfood,
  5916. StringReplace, HKFastfood, HKFastfood,~
  5917. IfNotEqual,HKRepeat,
  5918. StringReplace, HKRepeat, HKRepeat,~
  5919. IfNotEqual,HKFPS20,
  5920. StringReplace, HKFPS20, HKFPS20,~
  5921. IfNotEqual,HKFPS90,
  5922. StringReplace, HKFPS90, HKFPS90,~
  5923. IfNotEqual,HKSuspend,
  5924. StringReplace, HKSuspend, HKSuspend,~
  5925. IfNotEqual,HKHPDL,
  5926. StringReplace, HKHPDL, HKHPDL,~
  5927. IfNotEqual,HKBK,
  5928. StringReplace, HKBK, HKBK,~
  5929. IfNotEqual,HKCTF,
  5930. StringReplace, HKCTF, HKCTF,~
  5931. IfNotEqual,HKGiveUp,
  5932. StringReplace, HKGiveUp, HKGiveUp,~
  5933. IfNotEqual,HKFPos,
  5934. StringReplace, HKFPos, HKFPos,~
  5935. IfNotEqual,HKGebietInfo,
  5936. StringReplace, HKGebietInfo, HKGebietInfo,~
  5937. IfNotEqual,HKFWanted,
  5938. StringReplace, HKFWanted, HKFWanted,~
  5939. IfNotEqual,HKFill,
  5940. StringReplace, HKFill, HKFill,~
  5941. IfNotEqual,HKFillCar,
  5942. StringReplace, HKFillCar, HKFillCar,~
  5943. IfNotEqual,HKCargo,
  5944. StringReplace, HKCargo, HKCargo,~
  5945. IfNotEqual,HKOpenCargo,
  5946. StringReplace, HKOpenCargo, HKOpenCargo,~
  5947. IfNotEqual,HKATMDifferenz,
  5948. StringReplace, HKATMDifferenz, HKATMDifferenz,~
  5949. IfNotEqual,HKWP1,
  5950. StringReplace, HKWP1, HKWP1,~
  5951. IfNotEqual,HKWP2,
  5952. StringReplace, HKWP2, HKWP2,~
  5953. IfNotEqual,HKKillSpruch,
  5954. StringReplace, HKKillSpruch, HKKillSpruch,~
  5955. IfNotEqual,HKKillPlus,
  5956. StringReplace, HKKillPlus, HKKillPlus,~
  5957. IfNotEqual,HKOwn1,
  5958. StringReplace, HKOwn1, HKOwn1,~
  5959. IfNotEqual,HKOwn2,
  5960. StringReplace, HKOwn2, HKOwn2,~
  5961. IfNotEqual,HKOwn3,
  5962. StringReplace, HKOwn3, HKOwn3,~
  5963. IfNotEqual,HKOwn4,
  5964. StringReplace, HKOwn4, HKOwn4,~
  5965. IfNotEqual,HKOwn5,
  5966. StringReplace, HKOwn5, HKOwn5,~
  5967. IfNotEqual,HKOwn6,
  5968. StringReplace, HKOwn6, HKOwn6,~
  5969. IfNotEqual,HKOwn7,
  5970. StringReplace, HKOwn7, HKOwn7,~
  5971. IfNotEqual,HKOwn8,
  5972. StringReplace, HKOwn8, HKOwn8,~
  5973. IfNotEqual,HKOwn9,
  5974. StringReplace, HKOwn9, HKOwn9,~
  5975. IfNotEqual,HKOwn10,
  5976. StringReplace, HKOwn10, HKOwn10,~
  5977. IfNotEqual,HKOwn11,
  5978. StringReplace, HKOwn11, HKOwn11,~
  5979. IfNotEqual,HKOwn12,
  5980. StringReplace, HKOwn12, HKOwn12,~
  5981. Iniwrite, %HKEnterExit%, TaKe-Binder.ini,Wanteds, HKEnterExit
  5982. Iniwrite, %HKEngine%, TaKe-Binder.ini,Wanteds, HKEngine
  5983. Iniwrite, %HKLock%, TaKe-Binder.ini,Wanteds, HKLock
  5984. Iniwrite, %HKLights%, TaKe-Binder.ini,Wanteds, HKLights
  5985. Iniwrite, %HKCarlock%, TaKe-Binder.ini,Wanteds, HKCarlock
  5986. Iniwrite, %HKEngineLock%, TaKe-Binder.ini,Wanteds, HKEngineLock
  5987. Iniwrite, %HKTime%, TaKe-Binder.ini,Wanteds, HKTime
  5988. Iniwrite, %HKMembers%, TaKe-Binder.ini,Wanteds, HKMembers
  5989. Iniwrite, %HKFriends%, TaKe-Binder.ini,Wanteds, HKFriends
  5990. Iniwrite, %HKNotafk%, TaKe-Binder.ini,Wanteds, HKNotafk
  5991. Iniwrite, %HKWarinfo%, TaKe-Binder.ini,Wanteds, HKWarinfo
  5992. Iniwrite, %HKKnap1%, TaKe-Binder.ini,Wanteds, HKKnap1
  5993. Iniwrite, %HKKnap2%, TaKe-Binder.ini,Wanteds, HKKnap2
  5994. Iniwrite, %HKTie%, TaKe-Binder.ini,Wanteds, HKTie
  5995. Iniwrite, %HKUntie%, TaKe-Binder.ini,Wanteds, HKUntie
  5996. Iniwrite, %HKSex%, TaKe-Binder.ini,Wanteds, HKSex
  5997. Iniwrite, %HKFastfood%, TaKe-Binder.ini,Wanteds, HKFastfood
  5998. Iniwrite, %HKRepeat%, TaKe-Binder.ini,Wanteds, HKRepeat
  5999. Iniwrite, %HKFPS20%, TaKe-Binder.ini,Wanteds, HKFPS20
  6000. Iniwrite, %HKFPS90%, TaKe-Binder.ini,Wanteds, HKFPS90
  6001. Iniwrite, %HKSuspend%, TaKe-Binder.ini,Wanteds, HKSuspend
  6002. Iniwrite, %HKHPDL%, TaKe-Binder.ini,Wanteds, HKHPDL
  6003. Iniwrite, %HKBK%, TaKe-Binder.ini,Wanteds, HKBK
  6004. Iniwrite, %HKCTF%, TaKe-Binder.ini,Wanteds, HKCTF
  6005. Iniwrite, %HKFPos%, TaKe-Binder.ini,Wanteds, HKFPos
  6006. Iniwrite, %HKGebietInfo%, TaKe-Binder.ini,Wanteds, HKGebietInfo
  6007. Iniwrite, %HKFWanted%, TaKe-Binder.ini,Wanteds, HKFWanted
  6008. Iniwrite, %HKFill%, TaKe-Binder.ini,Wanteds, HKFill
  6009. Iniwrite, %HKFillCar%, TaKe-Binder.ini,Wanteds, HKFillCar
  6010. Iniwrite, %HKCargo%, TaKe-Binder.ini,Wanteds, HKCargo
  6011. Iniwrite, %HKOpenCargo%, TaKe-Binder.ini,Wanteds, HKOpenCargo
  6012. Iniwrite, %HKATMDifferenz%, TaKe-Binder.ini,Wanteds, HKATMDifferenz
  6013. Iniwrite, %HKWP1%, TaKe-Binder.ini,Wanteds, HKWP1
  6014. Iniwrite, %HKWP2%, TaKe-Binder.ini,Wanteds, HKWP2
  6015. Iniwrite, %wpa11%, TaKe-Binder.ini,Wanteds, wpa11
  6016. Iniwrite, %wpa12%, TaKe-Binder.ini,Wanteds, wpa12
  6017. Iniwrite, %wpa13%, TaKe-Binder.ini,Wanteds, wpa13
  6018. Iniwrite, %wpa14%, TaKe-Binder.ini,Wanteds, wpa14
  6019. Iniwrite, %wpa15%, TaKe-Binder.ini,Wanteds, wpa15
  6020. Iniwrite, %wpa21%, TaKe-Binder.ini,Wanteds, wpa21
  6021. Iniwrite, %wpa22%, TaKe-Binder.ini,Wanteds, wpa22
  6022. Iniwrite, %wpa23%, TaKe-Binder.ini,Wanteds, wpa23
  6023. Iniwrite, %wpa24%, TaKe-Binder.ini,Wanteds, wpa24
  6024. Iniwrite, %wpa25%, TaKe-Binder.ini,Wanteds, wpa25
  6025. Iniwrite, %wpc11%, TaKe-Binder.ini,Wanteds, wpc11
  6026. Iniwrite, %wpc12%, TaKe-Binder.ini,Wanteds, wpc12
  6027. Iniwrite, %wpc13%, TaKe-Binder.ini,Wanteds, wpc13
  6028. Iniwrite, %wpc14%, TaKe-Binder.ini,Wanteds, wpc14
  6029. Iniwrite, %wpc15%, TaKe-Binder.ini,Wanteds, wpc15
  6030. Iniwrite, %wpc21%, TaKe-Binder.ini,Wanteds, wpc21
  6031. Iniwrite, %wpc22%, TaKe-Binder.ini,Wanteds, wpc22
  6032. Iniwrite, %wpc23%, TaKe-Binder.ini,Wanteds, wpc23
  6033. Iniwrite, %wpc24%, TaKe-Binder.ini,Wanteds, wpc24
  6034. Iniwrite, %wpc25%, TaKe-Binder.ini,Wanteds, wpc25
  6035. Iniwrite, %wp11%, TaKe-Binder.ini,Wanteds, wp11
  6036. Iniwrite, %wp12%, TaKe-Binder.ini,Wanteds, wp12
  6037. Iniwrite, %wp13%, TaKe-Binder.ini,Wanteds, wp13
  6038. Iniwrite, %wp14%, TaKe-Binder.ini,Wanteds, wp14
  6039. Iniwrite, %wp15%, TaKe-Binder.ini,Wanteds, wp15
  6040. Iniwrite, %wp21%, TaKe-Binder.ini,Wanteds, wp21
  6041. Iniwrite, %wp22%, TaKe-Binder.ini,Wanteds, wp22
  6042. Iniwrite, %wp23%, TaKe-Binder.ini,Wanteds, wp23
  6043. Iniwrite, %wp24%, TaKe-Binder.ini,Wanteds, wp24
  6044. Iniwrite, %wp25%, TaKe-Binder.ini,Wanteds, wp25
  6045. Iniwrite, %HKKillPlus%, TaKe-Binder.ini,Wanteds, HKKillPlus
  6046. Iniwrite, %HKKillSpruch%, TaKe-Binder.ini,Wanteds, HKKillSpruch
  6047. Iniwrite, %Spruch1%, TaKe-Binder.ini,Wanteds, Spruch1
  6048. Iniwrite, %Spruch2%, TaKe-Binder.ini,Wanteds, Spruch2
  6049. Iniwrite, %Spruch3%, TaKe-Binder.ini,Wanteds, Spruch3
  6050. Iniwrite, %Spruch4%, TaKe-Binder.ini,Wanteds, Spruch4
  6051. Iniwrite, %Spruch5%, TaKe-Binder.ini,Wanteds, Spruch5
  6052. Iniwrite, %FSpruch%, TaKe-Binder.ini,Wanteds, FSpruch
  6053. Iniwrite, %ChatKillspruchAktiv1%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv1
  6054. Iniwrite, %ChatKillspruchAktiv2%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv2
  6055. Iniwrite, %ChatKillspruchAktiv3%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv3
  6056. Iniwrite, %ChatKillspruchAktiv4%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv4
  6057. Iniwrite, %ChatKillspruchmain%, TaKe-Binder.ini,Wanteds, ChatKillspruchmain
  6058. Iniwrite, %ChatKillSpruch1%, TaKe-Binder.ini,Wanteds, ChatKillSpruch1
  6059. Iniwrite, %ChatKillSpruch2%, TaKe-Binder.ini,Wanteds, ChatKillSpruch2
  6060. Iniwrite, %ChatKillSpruch3%, TaKe-Binder.ini,Wanteds, ChatKillSpruch3
  6061. Iniwrite, %ChatKillSpruch4%, TaKe-Binder.ini,Wanteds, ChatKillSpruch4
  6062. Iniwrite, %KC1%, TaKe-Binder.ini,Wanteds, KC1
  6063. Iniwrite, %KC2%, TaKe-Binder.ini,Wanteds, KC2
  6064. Iniwrite, %KC3%, TaKe-Binder.ini,Wanteds, KC3
  6065. Iniwrite, %KC4%, TaKe-Binder.ini,Wanteds, KC4
  6066. Iniwrite, %KC5%, TaKe-Binder.ini,Wanteds, KC5
  6067. Iniwrite, %Own1%, TaKe-Binder.ini,Wanteds, Own1
  6068. Iniwrite, %Own2%, TaKe-Binder.ini,Wanteds, Own2
  6069. Iniwrite, %Own3%, TaKe-Binder.ini,Wanteds, Own3
  6070. Iniwrite, %Own4%, TaKe-Binder.ini,Wanteds, Own4
  6071. Iniwrite, %Own5%, TaKe-Binder.ini,Wanteds, Own5
  6072. Iniwrite, %Own6%, TaKe-Binder.ini,Wanteds, Own6
  6073. Iniwrite, %Own7%, TaKe-Binder.ini,Wanteds, Own7
  6074. Iniwrite, %Own8%, TaKe-Binder.ini,Wanteds, Own8
  6075. Iniwrite, %Own9%, TaKe-Binder.ini,Wanteds, Own9
  6076. Iniwrite, %Own10%, TaKe-Binder.ini,Wanteds, Own10
  6077. Iniwrite, %Own11%, TaKe-Binder.ini,Wanteds, Own11
  6078. Iniwrite, %Own12%, TaKe-Binder.ini,Wanteds, Own12
  6079. Iniwrite, %HKOwn1%, TaKe-Binder.ini,Wanteds, HKOwn1
  6080. Iniwrite, %HKOwn2%, TaKe-Binder.ini,Wanteds, HKOwn2
  6081. Iniwrite, %HKOwn3%, TaKe-Binder.ini,Wanteds, HKOwn3
  6082. Iniwrite, %HKOwn4%, TaKe-Binder.ini,Wanteds, HKOwn4
  6083. Iniwrite, %HKOwn5%, TaKe-Binder.ini,Wanteds, HKOwn5
  6084. Iniwrite, %HKOwn6%, TaKe-Binder.ini,Wanteds, HKOwn6
  6085. Iniwrite, %HKOwn7%, TaKe-Binder.ini,Wanteds, HKOwn7
  6086. Iniwrite, %HKOwn8%, TaKe-Binder.ini,Wanteds, HKOwn8
  6087. Iniwrite, %HKOwn9%, TaKe-Binder.ini,Wanteds, HKOwn9
  6088. Iniwrite, %HKOwn10%, TaKe-Binder.ini,Wanteds, HKOwn10
  6089. Iniwrite, %HKOwn11%, TaKe-Binder.ini,Wanteds, HKOwn11
  6090. Iniwrite, %HKOwn12%, TaKe-Binder.ini,Wanteds, HKOwn12
  6091. Iniwrite, %AD1%, TaKe-Binder.ini,Wanteds, AD1
  6092. Iniwrite, %AD2%, TaKe-Binder.ini,Wanteds, AD2
  6093. Iniwrite, %AD3%, TaKe-Binder.ini,Wanteds, AD3
  6094. Iniwrite, %AD4%, TaKe-Binder.ini,Wanteds, AD4
  6095. IniWrite, %wunschgeld%, TaKe-Binder.ini,Wanteds, wunschgeld
  6096. StreamTrayTip("TaKe-Binder","Keybinds wurden gespeichert",2)
  6097. IfNotEqual,HKEnterExit,
  6098. HKEnterExit:= "~" HKEnterExit
  6099. IfNotEqual,HKEngine,
  6100. HKEngine:= "~" HKEngine
  6101. IfNotEqual,HKLock,
  6102. HKLock:= "~" HKLock
  6103. IfNotEqual,HKLights,
  6104. HKLights:= "~" HKLights
  6105. IfNotEqual,HKCarlock,
  6106. HKCarlock:= "~" HKCarlock
  6107. IfNotEqual,HKEngineLock,
  6108. HKEngineLock:= "~" HKEngineLock
  6109. IfNotEqual,HKTime,
  6110. HKTime:= "~" HKTime
  6111. IfNotEqual,HKMembers,
  6112. HKMembers:= "~" HKMembers
  6113. IfNotEqual,HKFriends,
  6114. HKFriends:= "~" HKFriends
  6115. IfNotEqual,HKNotafk,
  6116. HKNotafk:= "~" HKNotafk
  6117. IfNotEqual,HKWarinfo,
  6118. HKWarinfo:= "~" HKWarinfo
  6119. IfNotEqual,HKKnap1,
  6120. HKKnap1:= "~" HKKnap1
  6121. IfNotEqual,HKKnap2,
  6122. HKKnap2:= "~" HKKnap2
  6123. IfNotEqual,HKTie,
  6124. HKTie:= "~" HKTie
  6125. IfNotEqual,HKUntie,
  6126. HKUntie:= "~" HKUntie
  6127. IfNotEqual,HKSex,
  6128. HKSex:= "~" HKSex
  6129. IfNotEqual,HKFastfood,
  6130. HKFastfood:= "~" HKFastfood
  6131. IfNotEqual,HKRepeat,
  6132. HKRepeat:= "~" HKRepeat
  6133. IfNotEqual,HKFPS20,
  6134. HKFPS20:= "~" HKFPS20
  6135. IfNotEqual,HKFPS90,
  6136. HKFPS90:= "~" HKFPS90
  6137. IfNotEqual,HKSuspend,
  6138. HKSuspend:= "~" HKSuspend
  6139. IfNotEqual,HKHPDL,
  6140. HKHPDL:= "~" HKHPDL
  6141. IfNotEqual,HKBK,
  6142. HKBK:= "~" HKBK
  6143. IfNotEqual,HKCTF,
  6144. HKCTF:= "~" HKCTF
  6145. IfNotEqual,HKGiveUp,
  6146. HKGiveUp:= "~" HKGiveUp
  6147. IfNotEqual,HKFPos,
  6148. HKFPos:= "~" HKFPos
  6149. IfNotEqual,HKGebietInfo,
  6150. HKGebietInfo:= "~" HKGebietInfo
  6151. IfNotEqual,HKFWanted,
  6152. HKFWanted:= "~" HKFWanted
  6153. IfNotEqual,HKFill,
  6154. HKFill:= "~" HKFill
  6155. IfNotEqual,HKFillCar,
  6156. HKFillCar:= "~" HKFillCar
  6157. IfNotEqual,HKCargo,
  6158. HKCargo:= "~" HKCargo
  6159. IfNotEqual,HKOpenCargo,
  6160. HKOpenCargo:= "~" HKOpenCargo
  6161. IfNotEqual,HKATMDifferenz,
  6162. HKATMDifferenz:= "~" HKATMDifferenz
  6163. IfNotEqual,HKWP1,
  6164. HKWP1:= "~" HKWP1
  6165. IfNotEqual,HKWP2,
  6166. HKWP2:= "~" HKWP2
  6167. IfNotEqual,HKKillSpruch,
  6168. HKKillSpruch:= "~" HKKillSpruch
  6169. IfNotEqual,HKKillPlus,
  6170. HKKillPlus:= "~" HKKillPlus
  6171. IfNotEqual,HKOwn1,
  6172. HKOwn1:= "~" HKOwn1
  6173. IfNotEqual,HKOwn2,
  6174. HKOwn2:= "~" HKOwn2
  6175. IfNotEqual,HKOwn3,
  6176. HKOwn3:= "~" HKOwn3
  6177. IfNotEqual,HKOwn4,
  6178. HKOwn4:= "~" HKOwn4
  6179. IfNotEqual,HKOwn5,
  6180. HKOwn5:= "~" HKOwn5
  6181. IfNotEqual,HKOwn6,
  6182. HKOwn6:= "~" HKOwn6
  6183. IfNotEqual,HKOwn7,
  6184. HKOwn7:= "~" HKOwn7
  6185. IfNotEqual,HKOwn8,
  6186. HKOwn8:= "~" HKOwn8
  6187. IfNotEqual,HKOwn9,
  6188. HKOwn9:= "~" HKOwn9
  6189. IfNotEqual,HKOwn10,
  6190. HKOwn10:= "~" HKOwn10
  6191. IfNotEqual,HKOwn11,
  6192. HKOwn11:= "~" HKOwn11
  6193. IfNotEqual,HKOwn12,
  6194. HKOwn12:= "~" HKOwn12
  6195. IfNotEqual,HKEnterExit,
  6196. Hotkey, %HKEnterExit%, lHKEnterExit, On
  6197. IfNotEqual,HKEngine,
  6198. Hotkey, %HKEngine%, lHKEngine, On
  6199. IfNotEqual,HKLock,
  6200. Hotkey, %HKLock%, lHKLock, On
  6201. IfNotEqual,HKLights,
  6202. Hotkey, %HKLights%, lHKLights, On
  6203. IfNotEqual,HKCarlock,
  6204. Hotkey, %HKCarlock%, lHKCarlock, On
  6205. IfNotEqual,HKEngineLock,
  6206. Hotkey, %HKEngineLock%, lHKEngineLock, On
  6207. IfNotEqual,HKTime,
  6208. Hotkey, %HKTime%, lHKTime, On
  6209. IfNotEqual,HKMembers,
  6210. Hotkey, %HKMembers%, lHKMembers, On
  6211. IfNotEqual,HKFriends,
  6212. Hotkey, %HKFriends%, lHKFriends, On
  6213. IfNotEqual,HKNotafk,
  6214. Hotkey, %HKNotafk%, lHKNotafk, On
  6215. IfNotEqual,HKWarinfo,
  6216. Hotkey, %HKWarinfo%, lHKWarinfo, On
  6217. IfNotEqual,HKKnap1,
  6218. Hotkey, %HKKnap1%, lHKKnap1, On
  6219. IfNotEqual,HKKnap2,
  6220. Hotkey, %HKKnap2%, lHKKnap2, On
  6221. IfNotEqual,HKTie,
  6222. Hotkey, %HKTie%, lHKTie, On
  6223. IfNotEqual,HKUntie,
  6224. Hotkey, %HKUntie%, lHKUntie, On
  6225. IfNotEqual,HKSex,
  6226. Hotkey, %HKSex%, lHKSex, On
  6227. IfNotEqual,HKFastfood,
  6228. Hotkey, %HKFastfood%, lHKFastfood, On
  6229. IfNotEqual,HKRepeat,
  6230. Hotkey, %HKRepeat%, lHKRepeat, On
  6231. IfNotEqual,HKFPS20,
  6232. Hotkey, %HKFPS20%, lHKFPS20, On
  6233. IfNotEqual,HKFPS90,
  6234. Hotkey, %HKFPS90%, lHKFPS90, On
  6235. IfNotEqual,HKSuspend,
  6236. Hotkey, %HKSuspend%, lHKSuspend, On
  6237. IfNotEqual,HKHPDL,
  6238. Hotkey, %HKHPDL%, lHKHPDL, On
  6239. IfNotEqual,HKBK,
  6240. Hotkey, %HKBK%, lHKBK, On
  6241. IfNotEqual,HKCTF,
  6242. Hotkey, %HKCTF%, lHKCTF, On
  6243. IfNotEqual,HKGiveUp,
  6244. Hotkey, %HKGiveUp%, lHKGiveUp, On
  6245. IfNotEqual,HKFPos,
  6246. Hotkey, %HKFPos%, lHKFPos, On
  6247. IfNotEqual,HKGebietInfo,
  6248. Hotkey, %HKGebietInfo%, lHKGebietInfo, On
  6249. IfNotEqual,HKFWanted,
  6250. Hotkey, %HKFWanted%, lHKFWanted, On
  6251. IfNotEqual,HKFill,
  6252. Hotkey, %HKFill%, lHKFill, On
  6253. IfNotEqual,HKFillCar,
  6254. Hotkey, %HKFillCar%, lHKFillCar, On
  6255. IfNotEqual,HKCargo,
  6256. Hotkey, %HKCargo%, lHKCargo, On
  6257. IfNotEqual,HKOpenCargo,
  6258. Hotkey, %HKOpenCargo%, lHKOpenCargo, On
  6259. IfNotEqual,HKATMDifferenz,
  6260. Hotkey, %HKATMDifferenz%, lHKATMDifferenz, On
  6261. IfNotEqual,HKWP1,
  6262. Hotkey, %HKWP1%, lHKWP1, On
  6263. IfNotEqual,HKWP2,
  6264. Hotkey, %HKWP2%, lHKWP2, On
  6265. IfNotEqual,HKKillSpruch,
  6266. Hotkey, %HKKillSpruch%, lHKKillSpruch, On
  6267. IfNotEqual,HKKillPlus,
  6268. Hotkey, %HKKillPlus%, lHKKillPlus, On
  6269. IfNotEqual,HKOwn1,
  6270. Hotkey, %HKOwn1%, lHKOwn1, On
  6271. IfNotEqual,HKOwn2,
  6272. Hotkey, %HKOwn2%, lHKOwn2, On
  6273. IfNotEqual,HKOwn3,
  6274. Hotkey, %HKOwn3%, lHKOwn3, On
  6275. IfNotEqual,HKOwn4,
  6276. Hotkey, %HKOwn4%, lHKOwn4, On
  6277. IfNotEqual,HKOwn5,
  6278. Hotkey, %HKOwn5%, lHKOwn5, On
  6279. IfNotEqual,HKOwn6,
  6280. Hotkey, %HKOwn6%, lHKOwn6, On
  6281. IfNotEqual,HKOwn7,
  6282. Hotkey, %HKOwn7%, lHKOwn7, On
  6283. IfNotEqual,HKOwn8,
  6284. Hotkey, %HKOwn8%, lHKOwn8, On
  6285. IfNotEqual,HKOwn9,
  6286. Hotkey, %HKOwn9%, lHKOwn9, On
  6287. IfNotEqual,HKOwn10,
  6288. Hotkey, %HKOwn10%, lHKOwn10, On
  6289. IfNotEqual,HKOwn11,
  6290. Hotkey, %HKOwn11%, lHKOwn11, On
  6291. IfNotEqual,HKOwn12,
  6292. Hotkey, %HKOwn12%, lHKOwn12, On
  6293. return
  6294. StreamTrayTip(title, text, time)
  6295. {
  6296. timertime := time * 1000
  6297. TrayTip, %title%, %text%, %timertime%, 1
  6298. Settimer, remove_tip, %timertime%
  6299. }
  6300. remove_tip:
  6301. TrayTip
  6302. Settimer, remove_tip, off
  6303. return
  6304. Activity(doing)
  6305. {
  6306. activity_time = [%a_DD%.%a_MM%.%a_YYYY% | %a_hour%:%a_min%]
  6307. fileappend, %activity_time% %doing%`n, logfile.txt
  6308. }
  6309. InitOverlay:
  6310. if(OverlayAktiv == True || OverlayOn == true)
  6311. {
  6312. Organizer("Dein Overlay ist bereits Aktiv.")
  6313. return
  6314. }
  6315. DestroyAllVisual()
  6316. HPFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6317. PCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6318. WCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6319. VCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6320. GCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6321. DCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6322. If(DC == 1)
  6323. {
  6324. infooverlay := TextCreate("Arial", DSize, true, false, DX, DY, DCFC[DCF], "", true, true)
  6325. }
  6326. if(PC == 1)
  6327. {
  6328. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  6329. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  6330. If(IsPlayerInAnyInterior()==1)
  6331. {
  6332. Overlay_Pos:= TextCreate("Arial",PSize, 1, 0, PX, PY, PCFC[PCF],"Interior", 1, 1)
  6333. }
  6334. else
  6335. Overlay_Pos:= TextCreate("Arial",PSize, 1, 0, PX, PY, PCFC[PCF],City ", " Zone " ~" RGN_Location() "", 1, 1)
  6336. }
  6337. if(HPC == 1)
  6338. {
  6339. Overlay_HP:= TextCreate("Arial",HPSize, 1, 0, HPX, HPY, HPFC[HPF],GetPlayerHealth(), 1, 1)
  6340. }
  6341. if(VC == 1)
  6342. {
  6343. if(IsVehicleLocked()==1)
  6344. State:= GESCHLOSSEN
  6345. else
  6346. State:= OFFEN
  6347. Overlay_Veh:= TextCreate("Arial",VSize, 1, 0, VX, VY, VCFC[VCF],"Dein Fahrzeug hat " Round(GetVehicleHealth(),0) " DL und ist " State ".", 1, 1)
  6348. }
  6349. if(WC == 1)
  6350. {
  6351. Overlay_Wanted:= TextCreate("Arial",WSize, 1, 0, WX, WY, WCFC[WCF],"Wanted(s): " Wanteds "`nGrund: " Grund "`nZeuge: " Zeuge, 1, 1)
  6352. }
  6353. If(GC == 1)
  6354. {
  6355. Gegner := TextCreate("Arial", GSize, 1, 0, GX, GY, GCFC[GCF], "Niemand`n-----------------------------------`nGegner Online: 0", 1, 1)
  6356. }
  6357. OverlayAktiv := True
  6358. OverlayOn := True
  6359. Organizer("Dein Overlay wurde gestartet.")
  6360. return
  6361. Overlay:
  6362. myhealth := GetPlayerHealth()
  6363. mycardl := GetVehicleHealth()
  6364. myname := getplayername()
  6365. myid := getPlayerIdByName(myname)
  6366. myping := getPlayerPingById(myid)
  6367. mycardl := getVehicleHealth()
  6368. mymoney := getPlayerMoney()
  6369. myfps := GetFrameRate()
  6370. SetParam("use_window", "1")
  6371. SetParam("window", "GTA:SA:MP")
  6372. if(!WinExist("GTA:SA:MP"))
  6373. {
  6374. if(OverlayAktiv)
  6375. {
  6376. DestroyAllVisual()
  6377. OverlayAktiv:= false
  6378. OverlayOn:= false
  6379. }
  6380. GameTextAktiv:= 0
  6381. }
  6382. if(WinActive("GTA:SA:MP"))
  6383. {
  6384. if(GameTextAktiv == 0)
  6385. {
  6386. ret := DllCall("getGametext.dll\Load")
  6387. GameTextAktiv:= 1
  6388. }
  6389. If(!OverlayAktiv)
  6390. {
  6391. gosub, InitOverlay
  6392. return
  6393. }
  6394. if(PC == 1)
  6395. {
  6396. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  6397. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  6398. If(IsPlayerInAnyInterior()==1)
  6399. {
  6400. TextSetString(Overlay_Pos,"Interior")
  6401. }
  6402. else
  6403. TextSetString(Overlay_Pos, Zone " ~" RGN_Location() "")
  6404. }
  6405. if(HPC == 1)
  6406. {
  6407. TextSetString(Overlay_HP,"HP: " myhealth " (FPS: " GetframeRate() ") ID: " myid)
  6408. }
  6409. if(VC == 1)
  6410. {
  6411. if(IsPlayerInAnyVehicle() == 1 && GetVehicleHealth() > 0)
  6412. {
  6413. if(VehOverlay == False)
  6414. {
  6415. TextSetShown(Overlay_Veh,1)
  6416. VehOverlay:= True
  6417. }
  6418. if(isPlayerInAnyVehicle() == 1)
  6419. {
  6420. if(getVehicleEngineState() == 1 && isvehiclelocked() == 1)
  6421. {
  6422. Textsetstring(Overlay_Veh, "Fahrzeug AN und ABGESCHLOSSEN! (Fahrzeug-DL: " mycardl ")")
  6423. }
  6424. if(getVehicleEngineState() == 0 && isvehiclelocked() == 1)
  6425. {
  6426. Textsetstring(Overlay_Veh, "Fahrzeug AUS und ABGESCHLOSSEN! (Fahrzeug-DL: " mycardl ")")
  6427. }
  6428. if(getVehicleEngineState() == 1 && isvehiclelocked() == 0)
  6429. {
  6430. Textsetstring(Overlay_Veh, "{DF0101}Fahrzeug AN und AUFGESCHLOSSEN! {FFFFFF}(Fahrzeug-DL: " mycardl ")")
  6431. }
  6432. if(getVehicleEngineState() == 0 && isvehiclelocked() == 0)
  6433. {
  6434. Textsetstring(Overlay_Veh, "Fahrzeug AUS und AUFGESCHLOSSEN! (Fahrzeug-DL: " mycardl ")")
  6435. }
  6436. }
  6437. }
  6438. else
  6439. {
  6440. TextSetShown(Overlay_Veh,0)
  6441. VehOverlay:= False
  6442. }
  6443. }
  6444. if(DC == 1)
  6445. {
  6446. Textsetstring(infooverlay, "Drogen: " drogen "g`nEinnehmbar: " 26 - genommen "g")
  6447. }
  6448. if(WC == 1)
  6449. {
  6450. {
  6451. TextSetString(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: " zeuge "`nVorwarnung: " spamtime)
  6452. if(!secs == 0)
  6453. {
  6454. Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "")
  6455. }
  6456. else
  6457. {
  6458. Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "")
  6459. }
  6460. if(!knastzeit == 0)
  6461. {
  6462. Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "`n`nKnastzeit: " knastzeit " Sekunden (" minutes1 " Minuten) ")
  6463. }
  6464. else
  6465. {
  6466. Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "")
  6467. }
  6468. }
  6469. }
  6470. }
  6471. if(GC == 1)
  6472. {
  6473. list := ""
  6474. online := 0
  6475. runner := 0
  6476. GegnergehtonlineID := 0
  6477. Loop, read, Gegner.txt
  6478. {
  6479. GegnergehtonlineID ++ 1
  6480. runner++
  6481. if(A_LoopReadLine = "")
  6482. continue
  6483. StringSplit, splitted, A_LoopReadLine, |
  6484. id:= GetPlayerIdByName(splitted1)
  6485. GegnerPing := getPlayerPingById(id)
  6486. if(id != -1)
  6487. {
  6488. list = %list%(%id%) %splitted1% | %splitted2% (Ping: %GegnerPing%)`n
  6489. online++
  6490. }
  6491. Gegnergehtonline := splitted1
  6492. GegnerFraktion := splitted2
  6493. New_IsOnGegner%GegnergehtonlineID% := IsPlayerOnline(Gegnergehtonline)
  6494. If(New_IsOnGegner%GegnergehtonlineID% > Old_IsOnGegner%GegnergehtonlineID%)
  6495. {
  6496. splittedid := GetPlayerIdByName(Gegnergehtonline)
  6497. If(splittedid > -1)
  6498. {
  6499. Organizer("Gegner {5B89CB}" Gegnergehtonline "{FFFFFF} ({5B89CB}" splittedid "{FFFFFF}) | {5B89CB}" splitted2 " {FFFFFF}ist soeben online gegangen")
  6500. }
  6501. }
  6502. If(New_IsOnGegner%GegnergehtonlineID% < Old_IsOnGegner%GegnergehtonlineID%)
  6503. {
  6504. Organizer("Gegner {5B89CB}" Gegnergehtonline " {FFFFFF}| {5B89CB}" splitted2 " {FFFFFF}ist soeben offline gegangen")
  6505. }
  6506. Old_IsOnGegner%GegnergehtonlineID% := New_IsOnGegner%GegnergehtonlineID%
  6507. }
  6508. if(online == 0)
  6509. {
  6510. TextSetString(Gegner, "Niemand`n-----------------------------------`nGegner Online: 0")
  6511. }
  6512. else
  6513. {
  6514. if(OverlayMove == 1)
  6515. {
  6516. TextSetString(Gegner, "Niemand`n-----------------------------------`nGegner Online: 0")
  6517. } else {
  6518. TextSetString(Gegner, list "-----------------------------------`nGegner Online: " online "/" runner "")
  6519. TextSetPos(Gegner, GX, GY - (online * (GSize+3)))
  6520. }
  6521. }
  6522. If(greload=1)
  6523. {
  6524. TextDestroy(Gegner)
  6525. sleep 100
  6526. Gegner := TextCreate("Arial", GSize, 1, 0, GX, GY, GCFC[GCF], "Niemand`n-----------------------------------`nGegner Online: 0", 1, 1)
  6527. greload:=0
  6528. }
  6529. }
  6530. return
  6531. ExitOverlay:
  6532. DestroyAllVisual()
  6533. OverlayAktiv := False
  6534. OverlayOn := False
  6535. Organizer("Dein Overlay wurde beendet.")
  6536. return
  6537. HideOverlay:
  6538. HideAllVisual()
  6539. OverlayOn := False
  6540. Organizer("Dein Overlay ist nun unsichtbar.")
  6541. return
  6542. ShowOverlay:
  6543. ShowAllVisual()
  6544. OverlayOn := True
  6545. Organizer("Dein Overlay ist nun sichtbar.")
  6546. return
  6547. DrogenSystem:
  6548. IfWinNotActive, GTA:SA:MP
  6549. return
  6550. ZeitVar1 := DrogenkofferaumgelegtZeit
  6551. ZeitVar2 := DrogenkofferaumgenommenZeit
  6552. ZeitVar3 := DrogenKaufZeit
  6553. ZeitVar4 := DrogenVerkaufZeit
  6554. ZeitVar5 := DrogenRausZeit
  6555. ZeitVar6 := DrogenGelegtZeit
  6556. ZeitVar7 := DrogenUsedZeit
  6557. ZeitVar8 := DrogenentzugZeit
  6558. ZeitVar9 := AnwaltZeit
  6559. IniRead,genommen, TaKe-Binder.ini,Drogensystem, Used
  6560. IniRead,drogen, TaKe-Binder.ini,Drogensystem, Drogen
  6561. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6562. {
  6563. if(InStr(A_LoopReadLine, "] * Du hast") && InStr(A_LoopReadLine, "g Drogen in den Kofferraum gelegt."))
  6564. {
  6565. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast (\d+)g Drogen in den Kofferraum gelegt\.", kofferraumgelegtedrugs)
  6566. StringReplace, VarBack1, kofferraumgelegtedrugs4, .
  6567. DrogenkofferaumgelegtZeit := kofferraumgelegtedrugs1 kofferraumgelegtedrugs2 kofferraumgelegtedrugs3
  6568. }
  6569. else if(InStr(A_LoopReadLine, "] * Du hast") && InStr(A_LoopReadLine, "g Drogen aus dem Kofferraum genommen."))
  6570. {
  6571. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast (\d+)g Drogen aus dem Kofferraum genommen\.", kofferraumgenommenedrugs)
  6572. StringReplace, VarBack2, kofferraumgenommenedrugs4, .
  6573. DrogenkofferaumgenommenZeit := kofferraumgenommenedrugs1 kofferraumgenommenedrugs2 kofferraumgenommenedrugs3
  6574. }
  6575. else if(InStr(A_LoopReadLine, "] * Du hast") && InStr(A_LoopReadLine, "für") && InStr(A_LoopReadLine, "von Drogendealer") && InStr(A_LoopReadLine, "gekauft."))
  6576. {
  6577. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast (.*) Gramm für \$(.*) von Drogendealer (.*) gekauft.", drogenbuy)
  6578. StringReplace, VarBack3, drogenbuy4, .
  6579. DrogenKaufZeit := drogenbuy1 drogenbuy2 drogenbuy3
  6580. }
  6581. else if(InStr(A_LoopReadLine, "hat dir") && InStr(A_LoopReadLine,"Gramm abgekauft, die Summe von"))
  6582. {
  6583. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] (.*) hat dir (.*) Gramm abgekauft, die Summe von \$(.*) wird zu deinem PayCheck addiert\.", drogenverkaufen)
  6584. StringReplace, VarBack4, drogenverkaufen5, .
  6585. DrogenVerkaufZeit := drogenverkaufen1 drogenverkaufen2 drogenverkaufen3
  6586. }
  6587. else if(InStr(A_LoopReadLine, "Drogen aus der SafeBox genommen!"))
  6588. {
  6589. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] (.*) Drogen aus der SafeBox genommen\!", drogenrausgenommen)
  6590. StringReplace, VarBack5, drogenrausgenommen4, .
  6591. DrogenRausZeit := drogenrausgenommen1 drogenrausgenommen2 drogenrausgenommen3
  6592. }
  6593. else if(InStr(A_LoopReadLine, "Drogen in der SafeBox hinterlegt!"))
  6594. {
  6595. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] (.*) Drogen in der SafeBox hinterlegt\!", drogengelagert)
  6596. StringReplace, VarBack6, drogengelagert4, .
  6597. DrogenGelegtZeit := drogengelagert1 drogengelagert2 drogengelagert3
  6598. }
  6599. else if(InStr(A_LoopReadLine, "] * Du hast 2 Gramm Drogen genommen!"))
  6600. {
  6601. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast 2 Gramm Drogen genommen!", drogengenommen)
  6602. DrogenUsedZeit := drogengenommen1 drogengenommen2 drogengenommen3
  6603. }
  6604. else if(InStr(A_LoopReadLine, "] * Du warst in der Entzugsklinik und bist jetzt nicht mehr stoned!"))
  6605. {
  6606. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du warst in der Entzugsklinik und bist jetzt nicht mehr stoned!", drogenentzug)
  6607. DrogenentzugZeit := drogenentzug1 drogenentzug2 drogenentzug3
  6608. }
  6609. else if Instr(A_LoopReadLine, "] Restzeit deines Anwalts:")
  6610. {
  6611. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Restzeit deines Anwalts: (.*) Sekunden", zeit)
  6612. AnwaltZeit := zeit1 zeit2 zeit3
  6613. anwalt:=1
  6614. }
  6615. }
  6616. if(ZeitVar1 <> DrogenkofferaumgelegtZeit)
  6617. {
  6618. if(ReadStats_s(text))
  6619. {
  6620. sleep 1100
  6621. drugs := keyForEntry(text, "Drogen")
  6622. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6623. drogen := druglss1
  6624. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6625. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6626. Organizer("Du hast {DF0101}" varback1 "g {FFFFFF}Drogen verstaut und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei")
  6627. }
  6628. else
  6629. {
  6630. Organizer("Du hast {DF0101}" varback1 "g {FFFFFF}Drogen verstaut und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei")
  6631. }
  6632. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6633. }
  6634. else if(ZeitVar2 <> DrogenkofferaumgenommenZeit)
  6635. {
  6636. if(ReadStats_s(text))
  6637. {
  6638. sleep 1100
  6639. drugs := keyForEntry(text, "Drogen")
  6640. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6641. drogen := druglss1
  6642. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6643. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6644. Organizer("Du hast {DF0101}" varback2 "g {FFFFFF}Drogen aus dem Kofferraum genommen und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei")
  6645. }
  6646. else
  6647. {
  6648. Organizer("Du hast {DF0101}" varback2 "g {FFFFFF}Drogen aus dem Kofferraum genommen und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei")
  6649. }
  6650. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6651. }
  6652. else if(ZeitVar3 <> DrogenKaufZeit)
  6653. {
  6654. sleep 1100
  6655. if(ReadStats_s(text))
  6656. {
  6657. drugs := keyForEntry(text, "Drogen")
  6658. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6659. drogen := druglss1
  6660. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6661. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6662. Organizer("Du hast {DF0101}" varback3 "g {FFFFFF}Drogen gekauft und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei")
  6663. }
  6664. else
  6665. {
  6666. Organizer("Du hast {DF0101}" varback3 "g {FFFFFF}Drogen gekauft und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei")
  6667. }
  6668. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6669. }
  6670. else if(ZeitVar4 <> DrogenVerkaufZeit)
  6671. {
  6672. sleep 1100
  6673. if(ReadStats_s(text))
  6674. {
  6675. sleep 1100
  6676. drugs := keyForEntry(text, "Drogen")
  6677. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6678. drogen := druglss1
  6679. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6680. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6681. Organizer("Du hast {DF0101}" varback4 "g {FFFFFF}Drogen verkauft und noch: {435CE7}" druglss1 "g {FFFFFF}dabei.")
  6682. }
  6683. else
  6684. {
  6685. Organizer("Du hast {DF0101}" varback4 "g {FFFFFF}Drogen verkauft und noch: {435CE7}" . druglss1 . "g {FFFFFF}dabei.")
  6686. }
  6687. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6688. }
  6689. else if(ZeitVar5 <> DrogenRausZeit)
  6690. {
  6691. if(ReadStats_s(text))
  6692. {
  6693. sleep 1100
  6694. drugs := keyForEntry(text, "Drogen")
  6695. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6696. drogen := druglss1
  6697. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6698. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6699. Organizer("Du hast {DF0101}" varback5 "g {FFFFFF}Drogen herausgenommen und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei.")
  6700. }
  6701. else
  6702. {
  6703. Organizer("Du hast {DF0101}" varback5 "g {FFFFFF}Drogen herausgenommen und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei.")
  6704. }
  6705. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6706. }
  6707. else if(ZeitVar6 <> DrogenGelegtZeit)
  6708. {
  6709. if(ReadStats_s(text))
  6710. {
  6711. sleep 1100
  6712. drugs := keyForEntry(text, "Drogen")
  6713. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6714. drogen := druglss1
  6715. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6716. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6717. Organizer("Du hast Drogen {DF0101}" varback6 "g {FFFFFF}in die SafeBox gelegt und noch {435CE7}" druglss1 "g {FFFFFF} dabei")
  6718. }
  6719. else
  6720. {
  6721. Organizer("Du hast Drogen {DF0101}" varback6 "g {FFFFFF}in die SafeBox gelegt und noch {435CE7}" . druglss1 . "g {FFFFFF} dabei")
  6722. }
  6723. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6724. }
  6725. else if(ZeitVar7 <> DrogenUsedZeit)
  6726. {
  6727. if(ReadStats_s(text))
  6728. {
  6729. sleep 1100
  6730. drugs := keyForEntry(text, "Drogen")
  6731. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6732. drogen := druglss1
  6733. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6734. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6735. genommen += 2
  6736. druglimit--
  6737. druglimit--
  6738. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6739. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6740. Iniwrite,%genommen%, TaKe-Binder.ini,Drogensystem, Used
  6741. if(ReadStats_s(text))
  6742. {
  6743. sleep 1100
  6744. drugs := keyForEntry(text, "Drogen")
  6745. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6746. drogen := druglss1
  6747. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6748. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6749. Organizer("Du hast insgesamt schon {DF0101}" genommen "g {FFFFFF}Drogen genommen und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei.")
  6750. }
  6751. else
  6752. {
  6753. Organizer("Du hast insgesamt schon {DF0101}" genommen "g {FFFFFF}Drogen genommen und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei.")
  6754. }
  6755. }
  6756. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6757. Settimer,Drugs,-20000
  6758. }
  6759. else if(ZeitVar8 <> DrogenentzugZeit)
  6760. {
  6761. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Used
  6762. Organizer("Drogenzähler wurde zurückgesetzt")
  6763. Organizer("Schlag einmal gegen die SafeBox um {5B89CB}" Drogenmenge "g {FFFFFF}aus der Box zu nehmen")
  6764. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6765. }
  6766. else if(ZeitVar9 <> AnwaltZeit)
  6767. {
  6768. IniWrite,%meinanwalt1%,TaKe-Binder.ini,Anwalt,User
  6769. IniRead,meinanwalt1,TaKe-Binder.ini,Anwalt,User
  6770. Organizer("Restliche Haftstrafe durch Anwalt " meinanwalt1 ": {2EFE9A}" FormatSeconds(zeit4) "")
  6771. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6772. }
  6773. return
  6774. Auslesen:
  6775. global CHATMESSAGECOLOR1 := "22CCFF"
  6776. user := getplayername()
  6777. If(!getplayerinteriorid() != "0")
  6778. {
  6779. lastcity := city
  6780. }
  6781. GetChatline(1, Chat1)
  6782. GetChatline(0, Chat0)
  6783. ZeitVar10 := TodZeit
  6784. ZeitVar11 := WantedZeit
  6785. ZeitVar12 := HackerZeit
  6786. ZeitVar13 := WantedClearZeit
  6787. ZeitVar14 := WanClearZeit
  6788. ZeitVar15 := ArrestZeit
  6789. ZeitVar16 := ArrestDownZeit
  6790. ZeitVar17 := HealZeit
  6791. ZeitVar18 := MechaZeit
  6792. ZeitVar19 := MechaRefZeit
  6793. ZeitVar20 := HDZeit
  6794. ZeitVar88 := AutoHD
  6795. ZeitVar21 := WantedGrund
  6796. ZeitVar22 := ZinsZeit
  6797. ZeitVar23 := SMSZeit
  6798. ZeitVar24 := AnwaltZeit
  6799. ZeitVar25 := TakepizzaZeit
  6800. ZeitVar26 := Takepizza2Zeit
  6801. ZeitVar27 := FreiheitZeit
  6802. ZeitVar28 := Wan2ClearZeit
  6803. ZeitVar29 := HelpZeit
  6804. ZeitVar30 := KnastKorrektur
  6805. ZeitVar31 := He1pZeit
  6806. ZeitVar32 := BeschussZeit
  6807. ZeitVar33 := WaffenausgabeZeit1
  6808. ZeitVar34 := HeIpZeit
  6809. ZeitVar35 := FabianSMS
  6810. ZeitVar36 := PayZeit
  6811. ZeitVar37 := BekommenZeit
  6812. ZeitVar38 := OrgZeit
  6813. ZeitVar39 := BlitzerZeit
  6814. ZeitVar40 := SupZeit
  6815. ZeitVar41 := MissionZeit
  6816. ZeitVar42 := EinweisungZeit
  6817. ZeitVar43 := KunZeit
  6818. ZeitVar44 := ÃœberweisungZeit
  6819. ZeitVar45 := Haus1
  6820. ZeitVar46 := Base1
  6821. ZeitVar47 := RobMichzeit
  6822. ZeitVar48 := RobZeit
  6823. ZeitVar49 := HealZeit
  6824. ZeitVar50 := VorwarnungZeit
  6825. ZeitVar51 := TazeZeit
  6826. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6827. {
  6828. If (chatlog_zeile >= A_Index)
  6829. {
  6830. Continue
  6831. }
  6832. else
  6833. {
  6834. If (Instr(A_LoopReadLine,"] Du hast wegen deines Todes $") && !InStr(A_LoopReadLine, "Tode: "))
  6835. {
  6836. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\]", tod)
  6837. TodZeit := tod1 tod2 tod3
  6838. streak:=0
  6839. IniWrite, 0, Statistik\statsi.ini, Killstreak, streak
  6840. verlust:=tod4
  6841. }
  6842. if(Instr(A_LoopReadLine, "Du spawnst jetzt in deinem eigenen / gemieteten Haus"))
  6843. {
  6844. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du spawnst jetzt in deinem eigenen / gemieteten Haus!", house)
  6845. haus1 := house1 house2 house3
  6846. }
  6847. if(haus1 != oldhaus1)
  6848. {
  6849. oldhaus1 := haus1
  6850. iniwrite, %haus1%, Take-binder.ini, Optionen, haus1
  6851. homespawn := 1
  6852. Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
  6853. }
  6854. oldbase1 := base1
  6855. if(Instr(A_LoopReadLine, "Ab jetzt spawnst du wieder am gewohnten Platz!"))
  6856. {
  6857. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Ab jetzt spawnst du wieder am gewohnten Platz!", basis)
  6858. base1 := basis1 basis2 basis3
  6859. }
  6860. if(base1 != oldbase1)
  6861. {
  6862. oldbase1 := base1
  6863. iniwrite, %base1%, Take-binder.ini, Optionen, base1
  6864. homespawn := 0
  6865. Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
  6866. }
  6867. else If InStr(A_LoopReadLine," überwiesen.")
  6868. {
  6869. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Du hast (.*) \(ID (.*)\), \$(.*) überwiesen.",var)
  6870. PayZeit := var1 var2 var3
  6871. PayName := var4
  6872. PayBetrag := var6
  6873. }
  6874. else If InStr(A_LoopReadLine,"du erhältst $")
  6875. {
  6876. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Du erhältst \$(.*) von (.*) \(ID (.*)\).",varlol)
  6877. BekommenZeit := varlol1 varlol2 varlol3
  6878. BekommenName := varlol5
  6879. BekommenBetrag := varlol4
  6880. }
  6881. else If InStr(A_LoopReadLine, "versucht, " user " auszurauben")
  6882. {
  6883. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeit)
  6884. RobMichzeit := Zeit1 Zeit2 Zeit3
  6885. }
  6886. else If InStr(A_LoopReadLine,"" getplayername() " versucht")
  6887. {
  6888. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeitn)
  6889. Robzeit := Zeitn1 Zeitn2 Zeitn3
  6890. }
  6891. else If InStr(A_LoopReadLine, "bietet dir eine Heilung")
  6892. {
  6893. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeit)
  6894. Healzeit := Zeit1 Zeit2 Zeit3
  6895. }
  6896. chat := substr(A_LoopReadLine, 12)
  6897. if not(InStr(chat, "sagt:"))
  6898. {
  6899. If InStr(A_LoopReadLine, "sofort rechts ran")
  6900. {
  6901. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeit)
  6902. VorWarnungZeit := Zeit1 Zeit2 Zeit3
  6903. }
  6904. }
  6905. If InStr(A_LoopReadLine, "für 30 Sekunden unter Strom gesetzt")
  6906. {
  6907. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .* wurdest von (.*) für 30 Sekunden unter Strom gesetzt.",Zeit)
  6908. TazeZeit := Zeit1 Zeit2 Zeit3
  6909. TazeName := Zeit4
  6910. }
  6911. Loop, read,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  6912. {
  6913. last_line:=A_LoopReadLine
  6914. }
  6915. if InStr(last_line, "~n~~w~Restliche Haftstrafe:")
  6916. {
  6917. if RegExMatch(last_line, "Restliche Haftstrafe: (\d+) sec", ptime)
  6918. {
  6919. Organizer("Restliche Haftstrafe: " FormatSeconds(Ptime1))
  6920. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  6921. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  6922. }
  6923. }
  6924. else If InStr(A_LoopReadLine," in die Organisation eingeladen")
  6925. {
  6926. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] >> (.*) wurde von (.*) in die Organisation eingeladen.",orginvite)
  6927. OrgZeit := orginvite1 orginvite2 orginvite3
  6928. OrgName := orginvite4
  6929. }
  6930. else If InStr(A_LoopReadLine,"h, Blitzer:")
  6931. {
  6932. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] .* schneller als (.*)\((.*)\) .* Strafe: \$(.*), (.*)Punkte .* Blitzer\: (.*)\)",blitzer)
  6933. BlitzerZeit := Blitzer1 Blitzer2 Blitzer3
  6934. Blitzer := Blitzer8
  6935. BlitzerKMH := Blitzer5-Blitzer4
  6936. BlitzerPunkte := Blitzer7
  6937. }
  6938. else If InStr(A_LoopReadLine," hat dein Supportticket geöffnet.")
  6939. {
  6940. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] >>> Admin/Supporter (.*) hat dein Supportticket geöffnet. Per /sup kannst du jetzt direkt mit ihm/ihr schreiben.",admin)
  6941. IniWrite,%admin1%, Take-binder.ini, Optionen,Admin
  6942. SupZeit := admin1 admin2 admin3
  6943. SupName := admin4
  6944. }
  6945. else If InStr(A_LoopReadLine," hat die Mission erfolgreich beendet.")
  6946. {
  6947. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .* (.*) hat die Mission erfolgreich beendet. Belohnung: (.*) Einflusspunkte",xd)
  6948. MissionZeit := xd1 xd2 xd3
  6949. MissionName := xd4
  6950. MissionPunkte := xd5
  6951. }
  6952. else If InStr(A_LoopReadLine," hat dir eine Einlieferung für")
  6953. {
  6954. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Einweisung)
  6955. EinweisungZeit := Einweisung1 Einweisung2 Einweisung3
  6956. }
  6957. else If InStr(A_LoopReadLine,"] Du hast folgendes Verbrechen begangen:")
  6958. {
  6959. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du hast folgendes Verbrechen begangen: \[(.*)\], Zeuge: (.*)", reason)
  6960. WantedGrund := reason1 reason2 reason3
  6961. Grund:= reason4
  6962. Zeuge:= reason5
  6963. }
  6964. else If InStr(A_LoopReadLine,"] * Aktuelles Wantedlevel:")
  6965. {
  6966. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Aktuelles Wantedlevel: (.*)" ,wanted)
  6967. WantedZeit := wanted1 wanted2 wanted3
  6968. Wanteds:= wanted4
  6969. }
  6970. else if instr(A_LoopReadLine,"hat sich in deine Polizeiakte gehackt")
  6971. {
  6972. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] (.*) hat sich in deine Polizeiakte gehackt und (.*) Wanteds entfernt.", hacker)
  6973. HackerZeit := hacker1 hacker2 hacker3
  6974. Hackername:=hacker4
  6975. Hackerwanteds:=hacker5
  6976. NeuWanted:=Wanteds-Hackerwanteds
  6977. Wanteds:=NeuWanted
  6978. }
  6979. else if Instr(A_LoopReadLine,"hat dein Beschusswanted gelöscht. Grund:")
  6980. {
  6981. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat dein Beschusswanted gelöscht. Grund: (.*)", wclear)
  6982. WantedClearZeit := wclear1 wclear2 wclear3
  6983. Wanteds-=2
  6984. grund:=wclear5
  6985. }
  6986. else if(Instr(A_LoopReadLine,"] * Officer") && Instr(A_LoopReadLine,"hat dir") && Instr(A_LoopReadLine,"Wanted gelöscht. Grund:"))
  6987. {
  6988. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat dir (.*) Wanted gelöscht. Grund: (.*)", wanclear)
  6989. WanClearZeit := wanclear1 wanclear2 wanclear3
  6990. Wanteds-=wanclear5
  6991. grund:=wanclear6
  6992. }
  6993. else if(Instr(A_LoopReadLine,"] * Officer") && Instr(A_LoopReadLine,"hat dir") && Instr(A_LoopReadLine,"Wanteds gelöscht. Grund:"))
  6994. {
  6995. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat dir (.*) Wanteds gelöscht. Grund: (.*)", wan2clear)
  6996. Wan2ClearZeit := wan2clear1 wan2clear2 wan2clear3
  6997. Wanteds-=wan2clear5
  6998. w2Grund:=wan2clear6
  6999. }
  7000. else if Instr(A_LoopReadLine,"Sekunden eingesperrt. Kaution: nicht möglich")
  7001. {
  7002. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Du wurdest von (.*) für (.*) Sekunden eingesperrt. Kaution: nicht möglich",arrestknast)
  7003. ArrestZeit := arrestknast1 arrestknast2 arrestknast3
  7004. ArrestName := Arrestknast4
  7005. }
  7006. else if Instr(A_LoopReadLine,"Sekunden eingesperrt und verlierst wegen Flucht und Kill durch einen Polizist")
  7007. {
  7008. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\].* Du wurdest für (.*) Sekunden eingesperrt und verlierst wegen Flucht und Kill durch einen Polizist \$(.*).",arrestdown)
  7009. StringReplace, VarBack, arrestdown4, .
  7010. ArrestDownZeit := arrestdown1 arrestdown2 arrestdown3
  7011. arrestcop:= varback
  7012. Organizer("" arrestdownzeit "")
  7013. }
  7014. else If InStr(A_LoopReadLine, "bietet dir eine Heilung")
  7015. {
  7016. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\].*Arzt (.*) bietet .* für \$(.*) an.*" ,heal)
  7017. HealZeit := heal1 heal2 heal3
  7018. HealName := heal4
  7019. HealPreis := Heal5
  7020. }
  7021. else If InStr(line, "Ph:")
  7022. {
  7023. RegExMatch(line, "Name: (.*), Ph: (.*)" ,num)
  7024. LastNum:= num2
  7025. }
  7026. else If InStr(line, "] Werbung: ")
  7027. {
  7028. RegExMatch(line, ", Kontakt: (.*) Tel: (.*)" ,ad)
  7029. adname := ad1
  7030. ADSMS := ad2
  7031. }
  7032. else If InStr(A_LoopReadLine,"bietet dir die Betankung deines Autos mit")
  7033. {
  7034. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\].* KFZ-Mechaniker (.*) bietet dir die Betankung deines Autos mit (.*) Litern für (.*) an. Gib '/accept refill' ein,",mecha)
  7035. MechaZeit := mecha1 mecha2 mecha3
  7036. }
  7037. else If InStr(A_LoopReadLine,"bietet dir eine Reparatur deines Wagens für")
  7038. {
  7039. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\].* KFZ-Mechaniker (.*) bietet dir eine Reparatur deines Wagens für (.*) an. Gib '/accept repair' ein, um anzunehmen.",mecharef)
  7040. MechaRefZeit := mecharef1 mecharef2 mecharef3
  7041. }
  7042. else If InStr(A_LoopReadLine," bietet dir einen Hotdog für")
  7043. {
  7044. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\].*Verkäufer (.*) bietet .* für \$(.*) an.*",AutoHDZeit)
  7045. AutoHDZeit := AutoHDZeit1 AutoHDZeit2 AutoHDZeit3
  7046. }
  7047. else If InStr(A_LoopReadLine,"einen Hotdog verkauft.")
  7048. {
  7049. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* (.*) hat (.*) einen Hotdog verkauft.",hd)
  7050. HDZeit := hd1 hd2 hd3
  7051. }
  7052. else If InStr(A_LoopReadLine, "Sender:")
  7053. {
  7054. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] SMS: (.*), Sender: (.*) \((.*)\)" ,sms)
  7055. SMSZeit:=sms1 sms2 sms3
  7056. }
  7057. else If InStr(A_LoopReadLine, "] Anwalt") && InStr(A_LoopReadLine,"hat dich aus dem Gefgnis geholt")
  7058. {
  7059. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Anwalt (.*) hat dich aus dem Gefägnis geholt." ,deinanwalt)
  7060. AnwaltZeit:=deinanwalt1 deinanwalt2 deinanwalt3
  7061. Anwalt:=deinanwalt4
  7062. }
  7063. else If InStr(A_LoopReadLine,"] Du hast schon zehn Pizzen dabei, mehr kannst du nicht tragen.")
  7064. {
  7065. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du hast schon zehn Pizzen dabei, mehr kannst du nicht tragen." ,pizzaZeit)
  7066. TakepizzaZeit:=pizzaZeit1 pizzaZeit2 pizzaZeit3
  7067. }
  7068. else If InStr(A_LoopReadLine,"] Du bist nicht an der Theke eines Well Stacked Pizza")
  7069. {
  7070. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du bist nicht an der Theke eines Well Stacked Pizza" ,pizza2Zeit)
  7071. Takepizza2Zeit:=pizza2Zeit1 pizza2Zeit2 pizza2Zeit3
  7072. }
  7073. else If InStr(A_LoopReadLine,"] Du hast deine Schuld gegenber der Gesellschaft beglichen.")
  7074. {
  7075. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du hast deine Schuld gegenber der Gesellschaft beglichen" ,frei)
  7076. FreiheitZeit:= frei1 frei2 frei3
  7077. }
  7078. else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Benötige Backup in") && Instr(A_LoopReadLine, ". HP:")
  7079. {
  7080. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Benötige Backup in (.*). HP: (.*). \)\)", help)
  7081. HelpZeit := help1 help2 help3
  7082. HelpName := help5
  7083. HelpCity := help6
  7084. HelpHP := help7
  7085. }
  7086. else If (Instr(A_LoopReadLine, "] * Officer") && Instr(A_LoopReadLine, "hat deine Haftstrafe korrigiert: noch"))
  7087. {
  7088. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat deine Haftstrafe korrigiert: noch (\d+) Minuten im Knast",mink)
  7089. StringReplace, VarBack, mink5, .
  7090. KnastKorrektur := mink1 mink2 mink3
  7091. }
  7092. else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Brauche dringend Verstrkung in")
  7093. {
  7094. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Brauche dringend Verstrkung in (.*). HP (.*). \)\)", he1p)
  7095. He1pZeit := he1p1 he1p2 he1p3
  7096. He1pName := he1p5
  7097. He1pCity := he1p6
  7098. }
  7099. else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Benötige Unterstützung in")
  7100. {
  7101. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Benötige Unterstützung in (.*). HP: (.*). \)\)", heIp)
  7102. HeIpZeit := heIp1 heIp2 heIp3
  7103. HeIpName := heIp5
  7104. HeIpCity := heIp6
  7105. }
  7106. else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Ich stehe mit") && Instr(A_LoopReadLine, "HP unter Beschuss in")
  7107. {
  7108. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Ich stehe mit (.*) HP unter Beschuss in (.*). \)\)", beschuss)
  7109. BeschussZeit := beschuss1 beschuss2 beschuss3
  7110. BeschussName := beschuss5
  7111. BeschussHP := beschuss6
  7112. BeschussCity := beschuss7
  7113. }
  7114. if(Instr(A_LoopReadLine, "Munition für"))
  7115. {
  7116. RegExMatch(A_LoopReadLine, "Du hast dir (.*) mit (.*) Munition für \$(.*) \((.*)\) (.*)", preis)
  7117. StringReplace, waffengelder, preis3, .
  7118. IniRead, WaffengeldTotal, Ausgaben/Ausgaben.ini,Waffengeld, WaffengeldTotal
  7119. IniRead, DWaffengeld, Ausgaben/Ausgaben.ini, Ausgaben vom %TagMonatYahr%.ini,Waffengeld, DWaffengeld
  7120. IniRead, MWaffengeld, Ausgaben/Ausgaben.ini/Ausgaben im %MonatYahr%.ini,Waffengeld, MWaffengeld
  7121. WaffengeldTotal += %waffengelder%
  7122. DWaffengeld += %waffengelder%
  7123. MWaffengeld += %waffengelder%
  7124. Iniwrite, %WaffengeldTotal%, Ausgaben/Ausgaben.ini,Waffengeld, WaffengeldTotal
  7125. Iniwrite, %DWaffengeld%, Ausgaben/Ausgaben.ini, Ausgaben vom %TagMonatYahr%.ini,Waffengeld, DWaffengeld
  7126. Iniwrite, %MWaffengeld%, Ausgaben/Ausgaben.ini/Ausgaben im %MonatYahr%.ini,Waffengeld, MWaffengeld
  7127. }
  7128. if(instr(A_LoopReadLine, "Der Spieler ist in"))
  7129. {
  7130. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Der Spieler ist in (.*)", Kun)
  7131. KunZeit := kun1 kun2 kun3
  7132. findPosition:= kun4
  7133. }
  7134. else if(instr(A_LoopReadLine," überwiesen bekommen"))
  7135. {
  7136. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Sie haben \$(.*) von (.*) überwiesen bekommen. Grund: (.*)",Überweisung)
  7137. ÃœberweisungZeit := Ãœberweisung1 Ãœberweisung2 Ãœberweisung3
  7138. ÃœberweisungName := Ãœberweisung5
  7139. ÃœberweisungGrund := Ãœberweisung6
  7140. ÃœberweisungBetrag := Ãœberweisung4
  7141. }
  7142. else if(InStr(A_LoopReadLine, "Fabrizio.MeraZ: hi."))
  7143. {
  7144. RegExMatch(A_LoopReadLine, "i)[(.*):(.*):(.*)] \*\* Underboss Fabrizio.MeraZ: hi. \)\) \*\*", fabianhi)
  7145. FabianSMS := fabianhi1 fabianhi2 fabianhi3
  7146. }
  7147. }
  7148. }
  7149. If (ZeitVar10 <> TodZeit)
  7150. {
  7151. Deaths++
  7152. streak:=0
  7153. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Drogen
  7154. Iniwrite,26, TaKe-Binder.ini,Drogen, Drogenlimit
  7155. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Used
  7156. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  7157. if(ReadStats(text))
  7158. {
  7159. level := keyForEntry(text, "Level")
  7160. KillsDM := keyForEntry(text, "Kills \(DM\)")
  7161. death := keyForEntry(text, "Tode")
  7162. payday := keyForEntry(text, "Minuten seit Payday")
  7163. bank := keyForEntry(text, "Bank")
  7164. }
  7165. Organizer("Tode: " death " | Heute: " tDeaths "")
  7166. Organizer("Drogen/Killstreak zähler wurde zurückgesetzt")
  7167. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7168. }
  7169. else if (ZeitVar21 <> WantedGrund)
  7170. {
  7171. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7172. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7173. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7174. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7175. if(BlockChatInput=1)
  7176. return
  7177. if(wMSG == 1)
  7178. SendChat("Neues Wanted erhalten: Aktuelles Wantedlevel: (" wanteds ") - Grund (" grund ") - Zeuge (" zeuge ")")
  7179. if(wSound == 1)
  7180. SoundBeep,
  7181. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7182. }
  7183. else If (ZeitVar11 <> WantedZeit)
  7184. {
  7185. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7186. if(BlockChatInput=1)
  7187. return
  7188. if(wMSG == 1)
  7189. SendChat("Ich habe nun (" Wanteds ") Wanteds.")
  7190. if(wSound == 1)
  7191. SoundBeep,
  7192. if(Wanteds == 0)
  7193. {
  7194. Wanteds:= 0
  7195. Grund:= "Unbekannt"
  7196. Zeuge:= "Niemand"
  7197. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7198. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7199. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7200. }
  7201. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7202. }
  7203. else If (ZeitVar12 <> HackerZeit)
  7204. {
  7205. if(BlockChatInput=1)
  7206. return
  7207. if(wMSG == 1)
  7208. SendChat("Mir wurden soeben (" Hackerwanteds ") Wanteds gehackt. Wantedlevel: (" Wanteds ")")
  7209. if(Wanteds == 0)
  7210. {
  7211. Grund:= "Unbekannt"
  7212. Zeuge:= "Niemand"
  7213. Wanteds:= 0
  7214. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7215. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7216. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7217. }
  7218. if(wSound == 1)
  7219. {
  7220. SoundBeep,
  7221. }
  7222. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7223. }
  7224. else If (ZeitVar13 <> WantedClearZeit)
  7225. {
  7226. Iniwrite,%Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7227. if(BlockChatInput=1)
  7228. return
  7229. if(wMSG == 1)
  7230. SendChat("Mir wurden soeben 2 Wanteds gelöscht. Grund: (" grund ")")
  7231. if(wMSG == 1)
  7232. {
  7233. if(wanteds = 1)
  7234. sendchat("Ich habe nun (1) Wanted")
  7235. else
  7236. sendchat("Ich habe nun (" wanteds ") Wanteds ")
  7237. if(Wanteds == 0)
  7238. {
  7239. Grund:= "Unbekannt"
  7240. Zeuge:= "Niemand"
  7241. Wanteds:= 0
  7242. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7243. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7244. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7245. }
  7246. if(wSound == 1)
  7247. {
  7248. SoundBeep,
  7249. }
  7250. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7251. }
  7252. }
  7253. else If (ZeitVar28 <> Wan2ClearZeit)
  7254. {
  7255. if(BlockChatInput=1)
  7256. return
  7257. if(wMSG == 1)
  7258. SendChat("Mir wurde soeben (" wan2clear5 ") Wanted gelöscht. Grund: (" w2Grund ")")
  7259. if(wMSG == 1)
  7260. SendChat("Aktuelles Wantedlevel: (" Wanteds ")")
  7261. if(Wanteds == 0)
  7262. {
  7263. Grund:= "Unbekannt"
  7264. Zeuge:= "Niemand"
  7265. Wanteds:= 0
  7266. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7267. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7268. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7269. }
  7270. if(wSound == 1)
  7271. {
  7272. SoundBeep,
  7273. }
  7274. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7275. }
  7276. else If (ZeitVar14 <> WanClearZeit)
  7277. {
  7278. if(BlockChatInput=1)
  7279. return
  7280. if(wMSG == 1)
  7281. SendChat("Mir wurden soeben (" wanclear5 ") Wanteds gelöscht. Grund: (" grund ")")
  7282. SendChat("Wantedlevel: (" Wanteds ")")
  7283. if(Wanteds == 0)
  7284. {
  7285. Grund:= "Unbekannt"
  7286. Zeuge:= "Niemand"
  7287. Wanteds:= 0
  7288. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7289. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7290. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7291. }
  7292. if(wSound == 1)
  7293. {
  7294. SoundBeep,
  7295. }
  7296. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7297. }
  7298. else If (ZeitVar15 <> ArrestZeit)
  7299. {
  7300. if(BlockChatInput=1)
  7301. return
  7302. SendChat("/f Wurde von " arrestname " für " Round((arrestknast5 / 60),0) " Minuten ins " lastcity " PD eingesperrt")
  7303. Wanteds:= 0
  7304. Grund:= "Unbekannt"
  7305. Zeuge:= "Niemand"
  7306. Iniwrite, %Unbekannt%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7307. Iniwrite, %Niemand%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7308. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7309. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7310. }
  7311. else If (ZeitVar16 <> ArrestDownZeit)
  7312. {
  7313. if(BlockChatInput=1)
  7314. return
  7315. sendchat("/f Wurde von einem Cop erschossen und sitze für " Round((arrestcop / 60),0) " Minuten im " lastcity " PD")
  7316. Wanteds:= 0
  7317. Grund:= "Unbekannt"
  7318. Zeuge:= "Niemand"
  7319. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7320. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7321. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7322. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7323. }
  7324. else If (ZeitVar17 <> HealZeit)
  7325. {
  7326. if(BlockChatInput=1)
  7327. return
  7328. if(mAuto == 1)
  7329. SendChat("/accept Heal")
  7330. if(mTHX == 1)
  7331. SendChat("Vielen Dank " heal4 ", für die Heilung ")
  7332. if(mTGC == 1)
  7333. SendChat("/pay " healname " " mTG)
  7334. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7335. }
  7336. else if (ZeitVar18 <> MechaZeit)
  7337. {
  7338. if(BlockChatInput=1)
  7339. return
  7340. if(mechREF == 1)
  7341. SendChat("/accept refill")
  7342. if(mechTHX == 1)
  7343. SendChat("Vielen Dank, " mecha4)
  7344. if(mechTGC == 1)
  7345. SendChat("/pay " mecha4 " " mechTG)
  7346. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7347. }
  7348. else if (ZeitVar19 <> MechaRefZeit)
  7349. {
  7350. if(BlockChatInput=1)
  7351. return
  7352. if(mechREP == 1)
  7353. SendChat("/accept repair")
  7354. if(mechTHX == 1)
  7355. SendChat("Vielen Dank, " mecharef4)
  7356. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7357. }
  7358. else if (ZeitVar88 <> AutoHD)
  7359. {
  7360. if(BlockChatInput=1)
  7361. return
  7362. if(AutoHD == 1)
  7363. If (GetPlayerHealth() <= 90)
  7364. {
  7365. SendChat("/Accept Hotdog")
  7366. SendChat("Vielen Dank " AutoHDZeit4 " für den Hotdog zum Preis von $" AutoHDZeit5 "!" )
  7367. }
  7368. else
  7369. {
  7370. SendChat("Vielen Dank " AutoHDZeit4 ", aber ich bin schon satt !")
  7371. }
  7372. }
  7373. else if (ZeitVar20 <> HDZeit)
  7374. {
  7375. EigenerName:=GetPlayerName()
  7376. if(EigenerName == hd4)
  7377. {
  7378. SetTimer,Hotdog,-29000
  7379. }
  7380. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7381. }
  7382. else if(ZeitVar23 <> SMSZeit)
  7383. {
  7384. myName:=GetPlayerName()
  7385. if(sms5 != myName)
  7386. {
  7387. IniWrite,%sms5%,TaKe-Binder.ini,SMS,Name
  7388. IniWrite,%sms6%,TaKe-Binder.ini,SMS,Tel
  7389. SoundPlay, sms.wav
  7390. }
  7391. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7392. }
  7393. else if(ZeitVar24 <> AnwaltZeit)
  7394. {
  7395. Grund:= "Unbekannt"
  7396. Zeuge:= "Niemand"
  7397. Wanteds:= 0
  7398. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7399. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7400. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7401. Organizer("Anwalt {00FF04}" Anwalt " {FFFFFF}hat dich aus dem Knast geholt")
  7402. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7403. }
  7404. else if(ZeitVar25 <> TakepizzaZeit)
  7405. {
  7406. SetTimer,Takepizza,off
  7407. Organizer("Takepizza gestoppt!")
  7408. tp:=0
  7409. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7410. }
  7411. else if(ZeitVar26 <> Takepizza2Zeit)
  7412. {
  7413. SetTimer,Takepizza,off
  7414. Organizer("Takepizza gestoppt!")
  7415. tp:=0
  7416. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7417. }
  7418. else if(ZeitVar27 <> FreiheitZeit)
  7419. {
  7420. if(BlockChatInput=1)
  7421. return
  7422. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  7423. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  7424. SendChat("/f wurde aus dem Prison/Knast entlassen. Standort: " City ", " Zone "")
  7425. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7426. }
  7427. else if(ZeitVar29 <> HelpZeit)
  7428. {
  7429. ownname:=GetPlayerName()
  7430. If(HelpName != ownname)
  7431. {
  7432. Organizer("{DF0101}" HelpName " benötigt Backup in " HelpCity " und hat noch " HelpHP " HP")
  7433. SoundBeep,,
  7434. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7435. }
  7436. }
  7437. else if(ZeitVar30 <> KnastKorrektur)
  7438. {
  7439. if(BlockChatInput=1)
  7440. return
  7441. SendChat("/f Haftstrafe von " mink4 " korrigiert: noch " Varback " Minuten im Knast")
  7442. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7443. }
  7444. else if(ZeitVar31 <> He1pZeit)
  7445. {
  7446. ownname:=GetPlayerName()
  7447. If(He1pName != ownname)
  7448. {
  7449. Organizer("{DF0101}" He1pName " benötigt Backup in " He1pCity "")
  7450. SoundBeep,,
  7451. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7452. }
  7453. }
  7454. else if(ZeitVar32 <> BeschussZeit)
  7455. {
  7456. ownname:=GetPlayerName()
  7457. If(BeschussName != ownname)
  7458. {
  7459. Organizer("{DF0101}" BeschussName " steht in " BeschussCity " unter Beschuss, und hat noch " BeschussHP " HP")
  7460. SoundBeep,,
  7461. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7462. }
  7463. }
  7464. else if(ZeitVar34 <> HeIpZeit)
  7465. {
  7466. ownname:=GetPlayerName()
  7467. If(HeIpName != ownname)
  7468. {
  7469. Organizer("{DF0101}" HeIpName " benötigt Backup in " HeIpCity " und hat noch " heIp7 " HP")
  7470. SoundBeep,,
  7471. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7472. }
  7473. }
  7474. else if(ZeitVar35 <> FabianSMS)
  7475. {
  7476. SendChat("/sms 4448 Hallo")
  7477. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7478. }
  7479. else if(ZeitVar36 <> PayZeit)
  7480. {
  7481. Organizer("Du hast {5B89CB}" PayName "{FFFFFF} , {5B89CB}" PayBetrag " Dollar{FFFFFF} gegeben !")
  7482. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7483. }
  7484. else if(ZeitVar37 <> BekommenZeit)
  7485. {
  7486. Organizer("Du hast von {5B89CB}" bekommenname "{FFFFFF} , {5B89CB}" bekommenbetrag " Dollar{FFFFFF} bekommen !")
  7487. Sendchat("Danke " bekommenname ", für die " bekommenbetrag " Dollar")
  7488. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7489. }
  7490. else if(ZeitVar38 <> OrgZeit)
  7491. {
  7492. SendChat("/g Willkommen @" orgname " in der Organisation ")
  7493. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7494. }
  7495. else if(ZeitVar39 <> BlitzerZeit)
  7496. {
  7497. Organizer("Du wurdest vom {5B89CB}" Blitzer "-Blitzer {FFFFFF}geblitzt! {5B89CB}" BlitzerKMH " {FFFFFF}KM/H zu schnell | Punkte: {5B89CB}" BlitzerPunkte "")
  7498. if(wSound == 1)
  7499. SoundBeep,
  7500. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7501. }
  7502. else if(ZeitVar40 <> SupZeit)
  7503. {
  7504. user := getplayername()
  7505. SendChat("/sup Hallo, [RGN] Team-Mitglied @" SupName ".")
  7506. sleep 100
  7507. SendChat("/sup Mein Name ist " user " - können Sie mir helfen?")
  7508. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7509. }
  7510. else if(ZeitVar41 <> MissionZeit)
  7511. {
  7512. user := getplayername()
  7513. sendchat("/f Die Mission wurde erfolgreich durch " MissionName " beendet. (" MissionPunkte " Punkte)")
  7514. }
  7515. else if(ZeitVar42 <> EinweisungZeit)
  7516. {
  7517. SendChat("Danke für die Einweisung, Herr Doktor")
  7518. sleep 500
  7519. SendChat("/accept einweisung")
  7520. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7521. }
  7522. else if (ZeitVar43 <> KunZeit)
  7523. {
  7524. iniread, fdurchgabe, Take-binder.ini, fdurchgabe, fdurchgabe
  7525. if(fd = true)
  7526. sendchat("/f Der Gegner befindet sich in " findposition)
  7527. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7528. }
  7529. else if (ZeitVar44 <> ÃœberweisungZeit)
  7530. {
  7531. Organizer("Ãœberweisung von {5B89CB}" ÃœberweisungName " {FFFFFF}erhalten: {5B89CB}$" ÃœberweisungBetrag " {FFFFFF}Grund: {5B89CB}" ÃœberweisungGrund "")
  7532. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7533. }
  7534. else if (ZeitVar45 <> haus1)
  7535. {
  7536. if(haus1 != oldhaus1)
  7537. {
  7538. oldhaus1 := haus1
  7539. iniwrite, %haus1%, Take-binder.ini, Optionen, haus1
  7540. homespawn := 1
  7541. Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
  7542. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7543. }
  7544. oldbase1 := base1
  7545. }
  7546. else if (ZeitVar46 <> Base1)
  7547. {
  7548. if(base1 != oldbase1)
  7549. {
  7550. oldbase1 := base1
  7551. Organizer("Du spawnst nun in deiner Base ")
  7552. iniwrite, %base1%, Take-binder.ini, Optionen, base1
  7553. homespawn := 0
  7554. Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
  7555. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7556. }
  7557. }
  7558. else if (ZeitVar47 <> RobMichzeit)
  7559. {
  7560. Organizer("Jemand versucht dich auszurauben. Renn weg !")
  7561. Sleep 1700
  7562. Organizer("»» 7 ««")
  7563. Sleep 1000
  7564. Organizer("»» 6 ««")
  7565. Sleep 1000
  7566. Organizer("»» 5 ««")
  7567. Sleep 1000
  7568. Organizer("»» 4 ««")
  7569. SoundBeep, 400, 200
  7570. Sleep 1000
  7571. Organizer("»» 3 ««")
  7572. SoundBeep, 500, 200
  7573. Sleep 1000
  7574. Organizer("»» 2 ««")
  7575. SoundBeep, 780, 200
  7576. Sleep 1000
  7577. Organizer("»» 1 ««")
  7578. SoundBeep, 880, 200
  7579. Sleep 700
  7580. Organizer("»» Countdown [ENDE] «« !")
  7581. SoundBeep, 1100, 950
  7582. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7583. }
  7584. else if (ZeitVar48 <> Robzeit)
  7585. {
  7586. Organizer("Du versuchst jemanden auszurauben. Bleib dran !")
  7587. Sleep 1700
  7588. Organizer("»» 7 ««")
  7589. Sleep 1000
  7590. Organizer("»» 6 ««")
  7591. Sleep 1000
  7592. Organizer("»» 5 ««")
  7593. Sleep 1000
  7594. Organizer("»» 4 ««")
  7595. SoundBeep, 400, 200
  7596. Sleep 1000
  7597. Organizer("»» 3 ««")
  7598. SoundBeep, 500, 200
  7599. Sleep 1000
  7600. Organizer("»» 2 ««")
  7601. SoundBeep, 780, 200
  7602. Sleep 1000
  7603. Organizer("»» 1 ««")
  7604. SoundBeep, 880, 200
  7605. Sleep 700
  7606. Organizer("»» Countdown [ENDE] «« !")
  7607. SoundBeep, 1100, 950
  7608. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7609. }
  7610. else if (ZeitVar49 <> Healzeit)
  7611. {
  7612. SendChat("/accept heal")
  7613. SendChat("Vielen Dank!")
  7614. }
  7615. else if (ZeitVar50 <> VorWarnungZeit)
  7616. {
  7617. Spamtime := A_Hour ":" A_Min ":" A_Sec
  7618. SoundPlay, vorwarnung.wav
  7619. Organizer("{5B89CB} Organizer {FFFFFF}Vorwarnung registriert !")
  7620. }
  7621. if (ZeitVar51 <> TazeZeit)
  7622. {
  7623. If (IsPlayerInAnyInterior() == 0)
  7624. {
  7625. SendChat("/f >> Wurde von " tazename " in " zone " getazed ! <<")
  7626. }
  7627. else
  7628. If (IsPlayerInAnyInterior() ==1)
  7629. {
  7630. SendChat("/f >> Wurde von " tazename " in einem Interior getazed ! <<")
  7631. }
  7632. }
  7633. return
  7634. warten2:
  7635. if(IsPlayerInAnyVehicle() = 1)
  7636. {
  7637. settimer, warten2, off
  7638. sleep 50
  7639. SendChat("/engine")
  7640. SendChat("/lock")
  7641. }
  7642. return
  7643. Piepen:
  7644. SoundBeep, 400, 200
  7645. Sleep, 900
  7646. SoundBeep, 500, 200
  7647. Sleep, 900
  7648. SoundBeep, 780, 200
  7649. Sleep, 900
  7650. SoundBeep, 880, 200
  7651. Sleep, 900
  7652. bctime := 0
  7653. SoundBeep, 1100, 950
  7654. Sleep, 50
  7655. Settimer, Piepen, off
  7656. return
  7657. endtimer:
  7658. endtime--
  7659. if(endtime == 1)
  7660. {
  7661. spamtime =
  7662. Organizer("Du kannst wieder gehackt werden!")
  7663. settimer, endtimer, off
  7664. }
  7665. return
  7666. aktiv:
  7667. SendChat("Tarnung aktiv!")
  7668. sleep 15000
  7669. Organizer("Deine Tarnung ist nur noch 30 Sekunden aktiv!")
  7670. sleep 15000
  7671. Organizer("Deine Tarnung ist nur noch 15 Sekunden aktiv!")
  7672. sleep 14000
  7673. SendChat("Tarnung erloschen!")
  7674. settimer, aktiv, off
  7675. return
  7676. Carlowdl:
  7677. if(isPlayerInAnyVehicle() == 0)
  7678. {
  7679. return
  7680. }
  7681. Cardl := GetVehicleHealth()
  7682. If( Cardl < 350)
  7683. {
  7684. if(beep == 1)
  7685. SoundBeep
  7686. Organizer("Dein Fahrzeug hat LOW-DL (" GetVehicleHealth() "DL)")
  7687. SetTimer, Carlowdl, 120000
  7688. }
  7689. Suspend Off
  7690. return
  7691. 250dl:
  7692. if(isPlayerInAnyVehicle() == 0)
  7693. {
  7694. return
  7695. }
  7696. Cardl := GetVehicleHealth()
  7697. If( Cardl < 251)
  7698. {
  7699. SoundBeep
  7700. Organizer("Hau rein du Unfähiger dein Fahrzeug brennt :(")
  7701. Organizer("»» 5 ««")
  7702. Sleep 1000
  7703. Organizer("»» 4 ««")
  7704. Sleep 1000
  7705. Organizer("»» 3 ««")
  7706. Sleep 1000
  7707. Organizer("»» 2 ««")
  7708. Sleep 1000
  7709. Organizer("»» 1 ««")
  7710. Sleep 700
  7711. Organizer("»» Fahrzeug ist nun explodiert! ««")
  7712. SetTimer, 250dl, 15000
  7713. }
  7714. Suspend Off
  7715. return
  7716. mordmeldung:
  7717. if(ReadStats(text))
  7718. {
  7719. level := keyForEntry(text, "Level")
  7720. KillsDM := keyForEntry(text, "Kills \(DM\)")
  7721. death := keyForEntry(text, "Tode")
  7722. payday := keyForEntry(text, "Minuten seit Payday")
  7723. bank := keyForEntry(text, "Bank")
  7724. }
  7725. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  7726. kills := kills1
  7727. tKills +=1
  7728. streak+=1
  7729. MonatKills +=1
  7730. {
  7731. If(IsPlayerInAnyInterior()==1)
  7732. {
  7733. SendChat("/f " FSpruch " in einem Interior | Kills: " Kills " - Heute: " tKills)
  7734. }
  7735. else
  7736. {
  7737. SendChat("/f " FSpruch " in " zone " | Kills: " Kills " - Heute: " tKills)
  7738. }
  7739. If(ChatKillspruchmain = 1)
  7740. {
  7741. Sleep, 500
  7742. gosub, RandomSpruch
  7743. }
  7744. if(Killstreak == 1)
  7745. {
  7746. if(streak=3)
  7747. {
  7748. SendChat("/f »» 3er «« | Killstreak erreicht!")
  7749. }
  7750. else if(streak=6)
  7751. {
  7752. SendChat("/f »» 6er «« | Killstreak erreicht!")
  7753. }
  7754. else if(streak=9)
  7755. {
  7756. SendChat("/f >> 9er «« | Killstreak erreicht!")
  7757. }
  7758. else if(streak=12)
  7759. {
  7760. SendChat("/f >> 12er «« | Killstreak erreicht!")
  7761. }
  7762. else if(streak=15)
  7763. {
  7764. SendChat("/f >> 15er «« | Killstreak erreicht!")
  7765. }
  7766. else if(streak=18)
  7767. {
  7768. SendChat("/f >> 18er «« | Killstreak erreicht!")
  7769. }
  7770. else if(streak=21)
  7771. {
  7772. SendChat("/f >> 21er «« | Killstreak erreicht!")
  7773. }
  7774. else if(streak=24)
  7775. {
  7776. SendChat("/f >> 24er «« | Killstreak erreicht!")
  7777. }
  7778. }
  7779. }
  7780. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills,tkills
  7781. StringReplace, VarBack, Kills, .
  7782. StringReplace, VarBack1, Tode, .
  7783. Iniwrite,%MonatKills%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  7784. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  7785. IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  7786. IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
  7787. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  7788. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  7789. KD := gangwarkills / tode
  7790. Organizer("Tages Kills: {5B89CB}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {5B89CB}" kills "{FF6E00}|{FFFFFF} K/D: {5B89CB}" KD "")
  7791. sleep, 3100
  7792. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  7793. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  7794. settimer, mordmeldung, off
  7795. return
  7796. sterne:
  7797. If(IsPlayerInRangeOfPoint(2819.41, 1639.75, 11.17, 15))
  7798. {
  7799. secs := 45
  7800. SetTimer, aktiv, 1000
  7801. if(beep == 1)
  7802. settimer, Piepen, 40000
  7803. }
  7804. If(IsPlayerInRangeOfPoint(266.60, 2880.35, 13.34, 5))
  7805. {
  7806. secs := 45
  7807. SetTimer, aktiv, 1000
  7808. if(beep == 1)
  7809. settimer, Piepen, 40000
  7810. }
  7811. If(IsPlayerInRangeOfPoint(-1666.44, 2543.64, 85.53, 10))
  7812. {
  7813. secs := 45
  7814. SetTimer, aktiv, 1000
  7815. if(beep == 1)
  7816. settimer, Piepen, 40000
  7817. }
  7818. If(IsPlayerInRangeOfPoint(-410.79, 1338.31, 13.54, 4))
  7819. {
  7820. secs := 45
  7821. SetTimer, aktiv, 1000
  7822. if(beep == 1)
  7823. settimer, Piepen, 40000
  7824. }
  7825. If(IsPlayerInRangeOfPoint(-2105.30, 893.97, 77.05, 3))
  7826. {
  7827. secs := 45
  7828. SetTimer, aktiv, 1000
  7829. if(beep == 1)
  7830. settimer, Piepen, 40000
  7831. }
  7832. If(IsPlayerInRangeOfPoint(-1856.21, -1664.16, 22.42, 10))
  7833. {
  7834. secs := 45
  7835. SetTimer, aktiv, 1000
  7836. if(beep == 1)
  7837. settimer, Piepen, 40000
  7838. }
  7839. If(IsPlayerInRangeOfPoint(-5.15, -2515.81, 37.01, 5))
  7840. {
  7841. secs := 45
  7842. SetTimer, aktiv, 1000
  7843. if(beep == 1)
  7844. settimer, Piepen, 40000
  7845. }
  7846. If(IsPlayerInRangeOfPoint(2351.66, -652.35, 128.40, 10))
  7847. {
  7848. secs := 45
  7849. SetTimer, aktiv, 1000
  7850. if(beep == 1)
  7851. settimer, Piepen, 40000
  7852. }
  7853. If(IsPlayerInRangeOfPoint(482.20, -256.24, 11.20, 5))
  7854. {
  7855. secs := 45
  7856. SetTimer, aktiv, 1000
  7857. if(beep == 1)
  7858. settimer, Piepen, 40000
  7859. }
  7860. return
  7861. Knastzeit:
  7862. knastzeit--
  7863. if(knastzeit == 0)
  7864. {
  7865. SetTimer, knastzeit, Off
  7866. TextSetString(wantedov, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: " zeuge "`nVorwarnung: " spamtime)
  7867. }
  7868. return
  7869. schaden:
  7870. If(Started == 0)
  7871. {
  7872. Healmoin := GetPlayerHealth()
  7873. If(Healmoin > 0)
  7874. {
  7875. SendChat("/f waLker Keybinder gestartet")
  7876. Organizer("start")
  7877. Started := 1
  7878. }
  7879. }
  7880. PlayerHealth := GetPlayerHealth()
  7881. PlayerHealthOld -= 5
  7882. lastDamage := 0
  7883. if(PlayerHealth < PlayerHealthOld)
  7884. {
  7885. PlayerHealthOld += 5
  7886. PlayerHealthOld -= PlayerHealth
  7887. lastDamage := PlayerHealthOld
  7888. if(PlayerHealthOld = 8)
  7889. {
  7890. wep = MP5
  7891. }
  7892. if(PlayerHealthOld = 10)
  7893. {
  7894. wep = M4
  7895. }
  7896. if(PlayerHealthOld = 46)
  7897. {
  7898. wep = Deagle
  7899. }
  7900. if(PlayerHealthOld = 41)
  7901. {
  7902. wep = Sniper
  7903. }
  7904. if(PlayerHealthOld = 25)
  7905. {
  7906. wep = Rifle
  7907. }
  7908. if(PlayerHealthOld = 1)
  7909. {
  7910. wep = Sonstige
  7911. }
  7912. if(PlayerHealthOld = 2)
  7913. {
  7914. wep = Sonstige
  7915. }
  7916. if(PlayerHealthOld = 3)
  7917. {
  7918. wep = Sonstige
  7919. }
  7920. if(PlayerHealthOld = 4)
  7921. {
  7922. wep = Sonstige
  7923. }
  7924. if(PlayerHealthOld = 5)
  7925. {
  7926. wep = Sonstige
  7927. }
  7928. if(PlayerHealthOld = 6)
  7929. {
  7930. wep = Sonstige
  7931. }
  7932. if(PlayerHealthOld = 7)
  7933. {
  7934. wep = Sonstige
  7935. }
  7936. if(PlayerHealthOld = 9)
  7937. {
  7938. wep = Sonstige
  7939. }
  7940. if(PlayerHealthOld = 11)
  7941. {
  7942. wep = Sonstige
  7943. }
  7944. if(PlayerHealthOld = 12)
  7945. {
  7946. wep = Sonstige
  7947. }
  7948. if(PlayerHealthOld = 13)
  7949. {
  7950. wep = Sonstige
  7951. }
  7952. if(PlayerHealthOld = 14)
  7953. {
  7954. wep = Sonstige
  7955. }
  7956. if(PlayerHealthOld = 15)
  7957. {
  7958. wep = Sonstige
  7959. }
  7960. if(PlayerHealthOld = 16)
  7961. {
  7962. wep = Sonstige
  7963. }
  7964. if(PlayerHealthOld = 17)
  7965. {
  7966. wep = Sonstige
  7967. }
  7968. if(PlayerHealthOld = 18)
  7969. {
  7970. wep = Sonstige
  7971. }
  7972. if(PlayerHealthOld = 19)
  7973. {
  7974. wep = Sonstige
  7975. }
  7976. if(PlayerHealthOld = 20)
  7977. {
  7978. wep = Sonstige
  7979. }
  7980. if(PlayerHealthOld = 21)
  7981. {
  7982. wep = Sonstige
  7983. }
  7984. if(PlayerHealthOld = 22)
  7985. {
  7986. wep = Sonstige
  7987. }
  7988. if(PlayerHealthOld = 23)
  7989. {
  7990. wep = Sonstige
  7991. }
  7992. if(PlayerHealthOld = 24)
  7993. {
  7994. wep = Sonstige
  7995. }
  7996. if(PlayerHealthOld = 26)
  7997. {
  7998. wep = Sonstige
  7999. }
  8000. if(PlayerHealthOld = 27)
  8001. {
  8002. wep = Sonstige
  8003. }
  8004. if(PlayerHealthOld = 28)
  8005. {
  8006. wep = Sonstige
  8007. }
  8008. if(PlayerHealthOld = 29)
  8009. {
  8010. wep = Sonstige
  8011. }
  8012. if(PlayerHealthOld = 30)
  8013. {
  8014. wep = Sonstige
  8015. }
  8016. if(PlayerHealthOld = 31)
  8017. {
  8018. wep = Sonstige
  8019. }
  8020. if(PlayerHealthOld = 32)
  8021. {
  8022. wep = Sonstige
  8023. }
  8024. if(PlayerHealthOld = 33)
  8025. {
  8026. wep = Sonstige
  8027. }if(PlayerHealthOld = 34)
  8028. {
  8029. wep = Sonstige
  8030. }
  8031. if(PlayerHealthOld = 35)
  8032. {
  8033. wep = Sonstige
  8034. }
  8035. if(PlayerHealthOld = 36)
  8036. {
  8037. wep = Sonstige
  8038. }
  8039. if(PlayerHealthOld = 37)
  8040. {
  8041. wep = Sonstige
  8042. }
  8043. if(PlayerHealthOld = 38)
  8044. {
  8045. wep = Sonstige
  8046. }
  8047. if(PlayerHealthOld = 39)
  8048. {
  8049. wep = Sonstige
  8050. }
  8051. if(PlayerHealthOld = 40)
  8052. {
  8053. wep = Sonstige
  8054. }
  8055. if(PlayerHealthOld = 42)
  8056. {
  8057. wep = Sniper
  8058. }
  8059. if(PlayerHealthOld = 43)
  8060. {
  8061. wep = Sonstige
  8062. }
  8063. if(PlayerHealthOld = 44)
  8064. {
  8065. wep = Sonstige
  8066. }
  8067. if(PlayerHealthOld = 45)
  8068. {
  8069. wep = Sonstige
  8070. }
  8071. if(PlayerHealthOld = 47)
  8072. {
  8073. wep = Deagle
  8074. }
  8075. if(PlayerHealthOld = 48)
  8076. {
  8077. wep = Sonstige
  8078. }
  8079. if(PlayerHealthOld = 49)
  8080. {
  8081. wep = Sonstige
  8082. }
  8083. if(PlayerHealthOld = 50)
  8084. {
  8085. wep = Sonstige
  8086. }
  8087. if(PlayerHealthOld = 51)
  8088. {
  8089. wep = Sniper
  8090. }
  8091. if(PlayerHealthOld = 52)
  8092. {
  8093. wep = Sonstige
  8094. }
  8095. if(PlayerHealthOld = 53)
  8096. {
  8097. wep = Sonstige
  8098. }
  8099. if(PlayerHealthOld = 54)
  8100. {
  8101. wep = Sonstige
  8102. }
  8103. if(PlayerHealthOld = 55)
  8104. {
  8105. wep = Sonstige
  8106. }
  8107. if(PlayerHealthOld = 56)
  8108. {
  8109. wep = Sonstige
  8110. }
  8111. if(PlayerHealthOld = 57)
  8112. {
  8113. wep = Sonstige
  8114. }
  8115. if(PlayerHealthOld = 58)
  8116. {
  8117. wep = Sonstige
  8118. }
  8119. if(PlayerHealthOld = 59)
  8120. {
  8121. wep = Sonstige
  8122. }
  8123. if(PlayerHealthOld = 60)
  8124. {
  8125. wep = Sonstiged
  8126. }
  8127. Organizer("Du hast soeben ({5B89CB}-" PlayerHealthOld " {FFFFFF}HP) {5B89CB}(" wep "){FFFFFF} verloren. Aktuelle HP: {5B89CB}" GetPlayerHealth() "{FFFFFF}.")
  8128. if(hitsoundl == 1)
  8129. {
  8130. if(beep == 1)
  8131. SoundBeep
  8132. if(mp3 == 1)
  8133. SoundPlay, %A_ScriptDir%/Sounds/beep.wav
  8134. }
  8135. }
  8136. PlayerHealthOld := PlayerHealth
  8137. playerHealth := PlayerHealth
  8138. if(playerHealth == 0)
  8139. {
  8140. }
  8141. return
  8142. robcd:
  8143. Organizer("Du kannst nun wieder jemanden ausrauben")
  8144. settimer, robcd, off
  8145. return
  8146. carschaden:
  8147. If(GetVehicleHealth() != Healthalt)
  8148. {
  8149. Schaden := Healthalt - GetVehicleHealth()
  8150. Healthalt := GetVehicleHealth()
  8151. If(Schaden > 10 and Schaden < 300)
  8152. {
  8153. Organizer("Dein Fahrzeug hat Schaden genommen, {B40226}" Schaden "{FFFFFF} DL verloren, noch {33AA33}" GetVehicleHealth()"{FFFFFF} DL übrig.")
  8154. }
  8155. }
  8156. return
  8157. Payday:
  8158. oldZinsen1 := Zinsen1
  8159. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8160. {
  8161. If (InStr(A_LoopReadLine, "Zinsen:"))
  8162. {
  8163. RegExMatch(A_LoopReadline, "i)Zinsen: \{00FF00\}\+\$(.*) \{B4B5B7\}\((.*)\)", VarZinsen)
  8164. StringReplace, Zinsen1, VarZinsen1,.,,All
  8165. }
  8166. If (InStr(A_LoopReadLine, "Steuern:"))
  8167. {
  8168. Regexmatch(A_LoopReadLine, "i)Steuern: \{FF0000\}\-\$(.*)", VarSteuern)
  8169. StringReplace, Steuern1, VarSteuern1,.,,All
  8170. }
  8171. If (InStr(A_LoopReadLine, "Stromrechnung:"))
  8172. {
  8173. Regexmatch(A_LoopReadLine, "i)Stromrechnung: \{FF0000\}\-\$(.*)", VarRechnung)
  8174. StringReplace, Rechnung1, VarRechnung1,.,,All
  8175. }
  8176. If (InStr(A_LoopReadLine, "Miete:"))
  8177. {
  8178. Regexmatch(A_LoopReadLine, "i)Miete: \{FF0000\}\-\$(.*)", VarMiete)
  8179. StringReplace, Miete1, VarMiete1,.,,All
  8180. }
  8181. If (InStr(A_LoopReadLine, "Kreditkarte:"))
  8182. {
  8183. Regexmatch(A_LoopReadLine, "i)Kreditkarte: \{FF0000\}\-\$(.*)", VarKredit)
  8184. StringReplace, Kredit1, VarKredit1,.,,All
  8185. }
  8186. If (InStr(A_LoopReadLine, "Gebhren:"))
  8187. {
  8188. Regexmatch(A_LoopReadLine, "Gebhren: \{FF0000\}\-\$(\d+) \{B4B5B7\}(.*)", VarGebhren)
  8189. StringReplace, Gebhren1, VarGebhren1,.,,All
  8190. }
  8191. }
  8192. If(Zinsen1 != OldZinsen1)
  8193. {
  8194. if(Zinsen1 = "") OR (Zinsen1 = "Error"){
  8195. return
  8196. }else{
  8197. if(Steuern1 = ""){
  8198. Steuern1 := 0
  8199. }
  8200. if(Rechnung1 = ""){
  8201. Rechnung1 := 0
  8202. }
  8203. if(Miete1= ""){
  8204. Miete1 := 0
  8205. }
  8206. if(Kredit1 = ""){
  8207. Kredit1 := 0
  8208. }
  8209. if(Gebhren1 = ""){
  8210. Gebhren1 := 0
  8211. }
  8212. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  8213. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  8214. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  8215. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  8216. ZinsenGes += Zinsen1
  8217. OldZinsen1 := Zinsen1
  8218. OldZinsenGes := ZinsenGes
  8219. AlteZinsen1 := OldZinsen1
  8220. Paydays++
  8221. OldPaydays := Paydays
  8222. AllZins := Zinsen1-Steuern1-Rechnung1-Miete1-Kredit1-Gebhren1
  8223. Organizer("Du hast durch diesen Payday {435CE7}" number_format(Zinsen1) "$ {FFFFFF}Zinsen erhalten und {435CE7}" number_format(AllZins) "$ {FFFFFF}eingenommen")
  8224. Organizer("Du hast {435CE7}" number_Format(Zinsen1 - AllZins) "$ {FFFFFF}ausgegeben")
  8225. Organizer("HINWEIS: Nutze /payday für eine genaue Auskunft des letzten Payday's")
  8226. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8227. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  8228. if(ReadStats(text))
  8229. {
  8230. sleep 1100
  8231. Bank := keyForEntry(text, "Bank")
  8232. Geldd := keyForEntry(text, "Geld")
  8233. Level := keyForEntry(text, "Level")
  8234. Respekt := keyForEntry(text, "Respekt")
  8235. barren := keyForEntry(text, "Goldbarren")
  8236. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  8237. StringReplace, VarBack11, Bankl1,.,,All
  8238. If( VarBack11 > 2089000000)
  8239. {
  8240. if(beep == 1)
  8241. SoundBeep
  8242. if(mp3 == 1)
  8243. SoundPlay, %A_ScriptDir%/Sounds/beep.wav
  8244. Organizer("Falls du einen Infernus etc. besitzt bist du fast auf der Geldgrenze ! ")
  8245. }
  8246. }
  8247. OldZinsen1 := AlteZinsen1
  8248. Zinsen1 := OldZinsen1
  8249. ZinsenGes := OldZinsenGes
  8250. Paydays := OldPaydays
  8251. iniwrite, %paydays%, Take-binder.ini, Zinsen, Paydays
  8252. iniwrite, %OldZinsen1%, Take-binder.ini, Zinsen, OldZinsen1
  8253. iniwrite, %Zinsen1%, Take-binder.ini, Zinsen, Zinsen21
  8254. iniwrite, %ZinsenGes%, Take-binder.ini, Zinsen, ZinsenGes
  8255. iniwrite, %AllZins%, Take-binder.ini, Zinsen, Einnahmen
  8256. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  8257. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  8258. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  8259. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  8260. DZinsen += %Zinsen1%
  8261. Deinnahmen += %AllZins%
  8262. IniWrite,%DZinsen%, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  8263. iniWrite,%Deinnahmen%, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  8264. MonatZinsen += %Zinsen1%
  8265. Meinnahmen += %AllZins%
  8266. IniWrite,%MonatZinsen%, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  8267. Iniwrite,%meinnahmen%, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  8268. SendInput {enter}
  8269. finwer := getplayername()
  8270. if(finwer == "takeshi.shinoda")
  8271. soundbeep
  8272. sleep 1200
  8273. GetChatLine(0,finwas)
  8274. RegExMatch(finwas, "Level\:\[(.*)\] Respekt\:\[(.*)\] Geld\:\[\$(.*)\] Bank\:\[\$(.*)\] (.*)\:\[\$(.*)\]", findas)
  8275. HanGel := findas3
  8276. BanGel := findas4
  8277. GesGel := findas6
  8278. if(ReadStats(text))
  8279. {
  8280. sleep 1000
  8281. Bank := keyForEntry(text, "Bank")
  8282. Geldd := keyForEntry(text, "Geld")
  8283. Level := keyForEntry(text, "Level")
  8284. Respekt := keyForEntry(text, "Respekt")
  8285. barren := keyForEntry(text, "Goldbarren")
  8286. }
  8287. gesamt := number_format(bank)
  8288. geld := number_format(geldd)
  8289. if(conpayday == 1)
  8290. Organizer("|________Finanzen von " getplayername() "________|")
  8291. if(conpayday == 1)
  8292. Organizer("Level: [" level "] Respekt: [" respekt "] Bargeld: [$" geld "]")
  8293. if(conpayday == 1)
  8294. Organizer("Bankvermgen: [" gesamt "] Goldbarren: [" barren "]")
  8295. }
  8296. sleep 1100
  8297. Sendinput {enter}
  8298. If FileExist("Userlist.txt")
  8299. {
  8300. if(conpayday == 1)
  8301. Organizer("Das Contracten beginnt.")
  8302. neu=
  8303. Loop, read, Userlist.txt
  8304. {
  8305. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  8306. id := GetPlayerIdByName(wordarrey2)
  8307. if(id == -1)
  8308. {
  8309. if(conpayday == 1)
  8310. Organizer("" A_LoopReadLine " || Status:""{FF0000} Offline")
  8311. neu=%neu%Name: %wordarrey2%`n
  8312. }
  8313. else
  8314. {
  8315. if(conpayday == 1)
  8316. SendChat("/contract " wordarrey2 " 10000")
  8317. newcounter:=wordarrey6+1
  8318. neu=%neu%Name: %wordarrey2%`n
  8319. sleep 2000
  8320. }
  8321. }
  8322. if(conpayday == 1)
  8323. Organizer("Alle User haben einen Contract.")
  8324. FileCopy, Userlist.txt,Userlist2.txt
  8325. FileDelete, Userlist.txt
  8326. FileCopy, Userlist2.txt,Userlist.txt
  8327. FileDelete, Userlist2.txt
  8328. }
  8329. else
  8330. {
  8331. if(conpayday == 1)
  8332. Organizer("Noch keine User eingetragen")
  8333. }
  8334. Suspend Off
  8335. }
  8336. return
  8337. Tanken:
  8338. if(autotanken == 1)
  8339. {
  8340. if(IsPlayerInRangeOfPoint(1004.0354,-939.3308,42.1797,5))
  8341. {
  8342. if(IsPlayerinanyvehicle() == 1 )
  8343. if(isPlayerDriver() == 1 )
  8344. {
  8345. Organizer("Tankstelle:{5B89CB} " Zone "")
  8346. sleep 100
  8347. SendChat("/fill")
  8348. sleep, 3000
  8349. SendChat("/get fuel")
  8350. sleep 20000
  8351. }
  8352. }
  8353. if(IsPlayerInRangeOfPoint(1944.8086,-1773.6176,13.1606,5))
  8354. {
  8355. if(IsPlayerinanyvehicle() == 1 )
  8356. if(isPlayerDriver() == 1 )
  8357. {
  8358. Organizer("Tankstelle:{5B89CB} " Zone "")
  8359. sleep 100
  8360. SendChat("/fill")
  8361. sleep, 3000
  8362. SendChat("/get fuel")
  8363. sleep 20000
  8364. }
  8365. }
  8366. if(IsPlayerInRangeOfPoint(2639.0801,1105.7590,10.8203,5))
  8367. {
  8368. if(IsPlayerinanyvehicle() == 1 )
  8369. if(isPlayerDriver() == 1 )
  8370. {
  8371. Organizer("Tankstelle: {5B89CB}" Zone "")
  8372. sleep 100
  8373. SendChat("/fill")
  8374. sleep, 3000
  8375. SendChat("/get fuel")
  8376. sleep 20000
  8377. }
  8378. }
  8379. if(IsPlayerInRangeOfPoint(2114.0857,920.0013,10.5910,5))
  8380. {
  8381. if(IsPlayerinanyvehicle() == 1 )
  8382. if(isPlayerDriver() == 1 )
  8383. {
  8384. Organizer("Tankstelle: {5B89CB}" Zone "")
  8385. sleep 100
  8386. SendChat("/fill")
  8387. sleep, 3000
  8388. SendChat("/get fuel")
  8389. sleep 20000
  8390. }
  8391. }
  8392. if(IsPlayerInRangeOfPoint(2147.4446,2747.6521,10.5920,5))
  8393. {
  8394. if(IsPlayerinanyvehicle() == 1 )
  8395. if(isPlayerDriver() == 1 )
  8396. {
  8397. Organizer("Tankstelle:{5B89CB} " Zone "")
  8398. sleep 100
  8399. SendChat("/fill")
  8400. sleep, 3000
  8401. SendChat("/get fuel")
  8402. sleep 20000
  8403. }
  8404. }
  8405. if(IsPlayerInRangeOfPoint(2202.0085,2474.5103,10.5773,5))
  8406. {
  8407. if(IsPlayerinanyvehicle() == 1 )
  8408. if(isPlayerDriver() == 1 )
  8409. {
  8410. Organizer("Tankstelle: {5B89CB}" Zone "")
  8411. sleep 100
  8412. SendChat("/fill")
  8413. sleep, 3000
  8414. SendChat("/get fuel")
  8415. sleep 20000
  8416. }
  8417. }
  8418. if(IsPlayerInRangeOfPoint(-736.3005,2742.9827,46.9891,5))
  8419. {
  8420. if(IsPlayerinanyvehicle() == 1 )
  8421. if(isPlayerDriver() == 1 )
  8422. {
  8423. Organizer("Tankstelle: {5B89CB}" Zone "")
  8424. sleep 100
  8425. SendChat("/fill")
  8426. sleep, 3000
  8427. SendChat("/get fuel")
  8428. sleep 20000
  8429. }
  8430. }
  8431. if(IsPlayerInRangeOfPoint(-1328.9005,2677.5923,49.8199,5))
  8432. {
  8433. if(IsPlayerinanyvehicle() == 1 )
  8434. if(isPlayerDriver() == 1 )
  8435. {
  8436. Organizer("Tankstelle: {5B89CB}" Zone "")
  8437. sleep 100
  8438. SendChat("/fill")
  8439. sleep, 3000
  8440. SendChat("/get fuel")
  8441. sleep 20000
  8442. }
  8443. }
  8444. if(IsPlayerInRangeOfPoint(70.5293,1219.1754,18.5799,5))
  8445. {
  8446. if(IsPlayerinanyvehicle() == 1 )
  8447. if(isPlayerDriver() == 1 )
  8448. {
  8449. Organizer("Tankstelle: {5B89CB}" Zone "")
  8450. sleep 100
  8451. SendChat("/fill")
  8452. sleep, 3000
  8453. SendChat("/get fuel")
  8454. sleep 20000
  8455. }
  8456. }
  8457. if(IsPlayerInRangeOfPoint( 615.4907,1689.9753,6.7566,5))
  8458. {
  8459. if(IsPlayerinanyvehicle() == 1 )
  8460. if(isPlayerDriver() == 1 )
  8461. {
  8462. Organizer("Tankstelle: {5B89CB}" Zone "")
  8463. sleep 100
  8464. SendChat("/fill")
  8465. sleep, 3000
  8466. SendChat("/get fuel")
  8467. sleep 20000
  8468. }
  8469. }
  8470. if(IsPlayerInRangeOfPoint(1598.0482,2199.4724,10.5925 ,5))
  8471. {
  8472. if(IsPlayerinanyvehicle() == 1 )
  8473. if(isPlayerDriver() == 1 )
  8474. {
  8475. Organizer("Tankstelle:{5B89CB} " Zone "")
  8476. sleep 100
  8477. SendChat("/fill")
  8478. sleep, 3000
  8479. SendChat("/get fuel")
  8480. sleep 20000
  8481. }
  8482. }
  8483. if(IsPlayerInRangeOfPoint( -1471.8784,1863.9641,32.3972,5))
  8484. {
  8485. if(IsPlayerinanyvehicle() == 1 )
  8486. if(isPlayerDriver() == 1 )
  8487. {
  8488. Organizer("Tankstelle: {5B89CB}" Zone "")
  8489. sleep 100
  8490. SendChat("/fill")
  8491. sleep, 3000
  8492. SendChat("/get fuel")
  8493. sleep 20000
  8494. }
  8495. }
  8496. if(IsPlayerInRangeOfPoint(-2026.3326,155.4140,29.0391,5))
  8497. {
  8498. if(IsPlayerinanyvehicle() == 1 )
  8499. if(isPlayerDriver() == 1 )
  8500. {
  8501. Organizer("Tankstelle: {5B89CB}" Zone "")
  8502. sleep 100
  8503. SendChat("/fill")
  8504. sleep, 3000
  8505. SendChat("/get fuel")
  8506. sleep 20000
  8507. }
  8508. }
  8509. if(IsPlayerInRangeOfPoint(-1676.5333,413.2540,6.9505,5))
  8510. {
  8511. if(IsPlayerinanyvehicle() == 1 )
  8512. if(isPlayerDriver() == 1 )
  8513. {
  8514. Organizer("Tankstelle:{5B89CB} " Zone "")
  8515. sleep 100
  8516. SendChat("/fill")
  8517. sleep, 3000
  8518. SendChat("/get fuel")
  8519. sleep 20000
  8520. }
  8521. }
  8522. if(IsPlayerInRangeOfPoint(-2407.9282,976.3934,45.0646,5))
  8523. {
  8524. if(IsPlayerinanyvehicle() == 1 )
  8525. if(isPlayerDriver() == 1 )
  8526. {
  8527. Organizer("Tankstelle: {5B89CB}" Zone "")
  8528. sleep 100
  8529. SendChat("/fill")
  8530. sleep, 3000
  8531. SendChat("/get fuel")
  8532. sleep 20000
  8533. }
  8534. }
  8535. if(IsPlayerInRangeOfPoint( -2244.2161,-2560.7793,31.6916,5))
  8536. {
  8537. if(IsPlayerinanyvehicle() == 1 )
  8538. if(isPlayerDriver() == 1 )
  8539. {
  8540. Organizer("Tankstelle: {5B89CB}" Zone "")
  8541. sleep 100
  8542. SendChat("/fill")
  8543. sleep, 3000
  8544. SendChat("/get fuel")
  8545. sleep 20000
  8546. }
  8547. }
  8548. if(IsPlayerInRangeOfPoint( -1608.4758,-2719.3704,48.3096,5))
  8549. {
  8550. if(IsPlayerinanyvehicle() == 1 )
  8551. if(isPlayerDriver() == 1 )
  8552. {
  8553. Organizer("Tankstelle: {5B89CB}" Zone "")
  8554. sleep 100
  8555. SendChat("/fill")
  8556. sleep, 3000
  8557. SendChat("/get fuel")
  8558. sleep 20000
  8559. }
  8560. }
  8561. if(IsPlayerInRangeOfPoint( -90.6088,-1168.8462,2.1866,5))
  8562. {
  8563. if(IsPlayerinanyvehicle() == 1 )
  8564. if(isPlayerDriver() == 1 )
  8565. {
  8566. Organizer("Tankstelle: {5B89CB}" Zone "")
  8567. sleep 100
  8568. SendChat("/fill")
  8569. sleep, 3000
  8570. SendChat("/get fuel")
  8571. sleep 20000
  8572. }
  8573. }
  8574. if(IsPlayerInRangeOfPoint( 653.4886,-565.2499,16.1065,5))
  8575. {
  8576. if(IsPlayerinanyvehicle() == 1 )
  8577. if(isPlayerDriver() == 1 )
  8578. {
  8579. Organizer("Tankstelle: {5B89CB}" Zone "")
  8580. sleep 100
  8581. SendChat("/fill")
  8582. sleep, 3000
  8583. SendChat("/get fuel")
  8584. sleep 20000
  8585. }
  8586. }
  8587. if(IsPlayerInRangeOfPoint( 1380.9998,458.0788,19.7261,5))
  8588. {
  8589. if(IsPlayerinanyvehicle() == 1 )
  8590. if(isPlayerDriver() == 1 )
  8591. {
  8592. Organizer("Tankstelle: {5B89CB}" Zone "")
  8593. sleep 100
  8594. SendChat("/fill")
  8595. sleep, 3000
  8596. SendChat("/get fuel")
  8597. sleep 20000
  8598. }
  8599. }
  8600. }
  8601. return
  8602. drogenbox:
  8603. If(IsPlayerInRangeOfPoint(837.241211, -1854.104736, 8.398911, 2))
  8604. {
  8605. KeyWait, LButton, D
  8606. If !ErrorLevel
  8607. {
  8608. sendchat("/gtake drugs " Drogenmenge "")
  8609. sleep 1100
  8610. return
  8611. }
  8612. }
  8613. If(IsPlayerInRangeOfPoint(-2543.551514, 1214.305054, 37.421875, 2))
  8614. {
  8615. KeyWait, LButton, D
  8616. If !ErrorLevel
  8617. {
  8618. sendchat("/gtake drugs " Drogenmenge "")
  8619. sleep 1100
  8620. return
  8621. }
  8622. }
  8623. If(IsPlayerInRangeOfPoint(-91.169647, -1576.896606, 2.617188, 2))
  8624. {
  8625. KeyWait, LButton, D T1
  8626. If !ErrorLevel
  8627. {
  8628. sendchat("/gtake drugs " Drogenmenge "")
  8629. sleep 1100
  8630. return
  8631. }
  8632. }
  8633. If(IsPlayerInRangeOfPoint(2802.488525, -1171.602661, 25.569313, 2))
  8634. {
  8635. KeyWait, LButton, D T1
  8636. If !ErrorLevel
  8637. {
  8638. sendchat("/gtake drugs " Drogenmenge "")
  8639. sleep 1100
  8640. return
  8641. }
  8642. }
  8643. return
  8644. AntiSpam:
  8645. AntiSpamVar := SpamZeitVar
  8646. if(wAntiSpam=1)
  8647. {
  8648. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8649. {
  8650. If InStr(A_LoopReadLine,"] Antiflood: Achtung! Unterlasse das")
  8651. {
  8652. if(conquern=1 || tp=1)
  8653. {
  8654. return
  8655. }
  8656. else
  8657. {
  8658. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Antiflood: Achtung! Unterlasse das", Spam)
  8659. SpamZeitVar := Spam1 Spam2 Spam3
  8660. }
  8661. }
  8662. }
  8663. If(AntiSpamVar <> SpamZeitVar)
  8664. {
  8665. Organizer("Chat wegen Anti-Flood für 1 Sekunde blockiert.")
  8666. BlockChatInput:=1
  8667. sleep 1000
  8668. BlockChatInput:=0
  8669. Organizer("Chat wieder freigegeben.")
  8670. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8671. }
  8672. }
  8673. return
  8674. Hotdog:
  8675. Organizer("Du kannst den nächsten Hotdog verkaufen.")
  8676. return
  8677. Drugs:
  8678. Organizer("Du kannst wieder Drogen nehmen.")
  8679. return
  8680. OverlayCheckBox:
  8681. gosub, OverlaySave
  8682. gosub, OverlayLoad
  8683. gosub,ExitOverlay
  8684. gosub,InitOverlay
  8685. return
  8686. F6::
  8687. ~t::
  8688. If(BlockChatInput=1)
  8689. {
  8690. SendInput ^a{backspace}{esc}
  8691. return
  8692. }
  8693. return
  8694. lHKEnterExit:
  8695. If(BlockChatInput=1)
  8696. return
  8697. if(IsInChat())
  8698. {
  8699. Send, {%A_ThisHotkey%}
  8700. return
  8701. }
  8702. Int := IsPlayerInAnyInterior()
  8703. If (Int == 0)
  8704. {
  8705. SendChat("/enter")
  8706. }
  8707. else
  8708. {
  8709. SendChat("/exit")
  8710. }
  8711. return
  8712. lHKEngine:
  8713. If(BlockChatInput=1)
  8714. return
  8715. if(IsInChat())
  8716. {
  8717. Send, {%A_ThisHotkey%}
  8718. return
  8719. }
  8720. SendChat("/engine")
  8721. return
  8722. lHKLock:
  8723. If(BlockChatInput=1)
  8724. return
  8725. if(IsInChat())
  8726. {
  8727. Send, {%A_ThisHotkey%}
  8728. return
  8729. }
  8730. SendChat("/lock")
  8731. return
  8732. lHKLights:
  8733. If(BlockChatInput=1)
  8734. return
  8735. if(IsInChat())
  8736. {
  8737. Send, {%A_ThisHotkey%}
  8738. return
  8739. }
  8740. SendChat("/lights")
  8741. return
  8742. lHKCarlock:
  8743. If(BlockChatInput=1)
  8744. return
  8745. if(IsInChat())
  8746. {
  8747. Send, {%A_ThisHotkey%}
  8748. return
  8749. }
  8750. SendChat("/carlock")
  8751. return
  8752. lHKEngineLock:
  8753. If(BlockChatInput=1)
  8754. return
  8755. if(IsInChat())
  8756. {
  8757. Send, {%A_ThisHotkey%}
  8758. return
  8759. }
  8760. SendChat("/lock")
  8761. Sleep 500
  8762. SendChat("/engine")
  8763. return
  8764. lHKTime:
  8765. If(BlockChatInput=1)
  8766. return
  8767. if(IsInChat())
  8768. {
  8769. Send, {%A_ThisHotkey%}
  8770. return
  8771. }
  8772. SendChat("/time")
  8773. return
  8774. lHKMembers:
  8775. If(BlockChatInput=1)
  8776. return
  8777. if(IsInChat())
  8778. {
  8779. Send, {%A_ThisHotkey%}
  8780. return
  8781. }
  8782. SendChat("/members")
  8783. AFK := 0
  8784. Prisonmember := 0
  8785. Sleep 300
  8786. loop{
  8787. GetChatLine(A_Index - 1, chat)
  8788. if(InStr(chat, ", Rank:") OR InStr(chat, ", Leader"))
  8789. {
  8790. members := A_Index
  8791. If(InStr(chat, "(AFK)"))
  8792. {
  8793. AFK++
  8794. }
  8795. If(InStr(chat, "(Prison)"))
  8796. {
  8797. Prisonmember++
  8798. }
  8799. If(InStr(chat, "(Prison, AFK)"))
  8800. {
  8801. AFK++
  8802. Prisonmember++
  8803. }
  8804. }
  8805. else
  8806. {
  8807. break
  8808. }
  8809. }
  8810. if(members=1)
  8811. {
  8812. Organizer("Es ist 1 Member online.")
  8813. }
  8814. if(members>1)
  8815. {
  8816. Organizer("Es sind " members " Member online (" AFK " AFK | " Prisonmember " im Prison).")
  8817. }
  8818. return
  8819. lHKFriends:
  8820. If(BlockChatInput=1)
  8821. return
  8822. if(IsInChat())
  8823. {
  8824. Send, {%A_ThisHotkey%}
  8825. return
  8826. }
  8827. SendChat("/friends")
  8828. sleep 300
  8829. loop
  8830. {
  8831. GetChatLine(A_Index - 1, chat)
  8832. if(InStr(chat, "(Tel."))
  8833. friends := A_Index
  8834. else
  8835. break
  8836. }
  8837. If(friends=1)
  8838. {
  8839. Organizer("Es ist " friends " Freund online.")
  8840. }
  8841. if(friends>1)
  8842. {
  8843. Organizer("Es sind " friends " Freunde online.")
  8844. }
  8845. return
  8846. lHKNotafk:
  8847. If(BlockChatInput=1)
  8848. return
  8849. if(IsInChat())
  8850. {
  8851. Send, {%A_ThisHotkey%}
  8852. return
  8853. }
  8854. SendInput t/notafk{space}
  8855. return
  8856. lHKWarinfo:
  8857. If(BlockChatInput=1)
  8858. return
  8859. if(isInChat())
  8860. return
  8861. if(IsPlayerInAnyVehicle() = 0)
  8862. {
  8863. settimer, warten2, 100
  8864. Organizer("Motorstart und abschließen vorgemerkt!")
  8865. }
  8866. else
  8867. {
  8868. SendChat("/lock")
  8869. SendChat("/engine")
  8870. }
  8871. return
  8872. lHKKnap1:
  8873. If(BlockChatInput=1)
  8874. return
  8875. if(IsInChat())
  8876. {
  8877. Send, {%A_ThisHotkey%}
  8878. return
  8879. }
  8880. SendChat("/kidnap " Opfername " " Partnername " 0")
  8881. return
  8882. lHKKnap2:
  8883. If(BlockChatInput=1)
  8884. return
  8885. if(IsInChat())
  8886. {
  8887. Send, {%A_ThisHotkey%}
  8888. return
  8889. }
  8890. SendChat("/kidnap " Opfername " " Partnername " 1")
  8891. return
  8892. lHKTie:
  8893. If(BlockChatInput=1)
  8894. return
  8895. if(IsInChat())
  8896. {
  8897. Send, {%A_ThisHotkey%}
  8898. return
  8899. }
  8900. SendInput t/tie{space}
  8901. return
  8902. lHKUntie:
  8903. If(BlockChatInput=1)
  8904. return
  8905. if(IsInChat())
  8906. {
  8907. Send, {%A_ThisHotkey%}
  8908. return
  8909. }
  8910. SendInput t/untie{space}
  8911. return
  8912. lHKSex:
  8913. If(BlockChatInput=1)
  8914. return
  8915. if(IsInChat())
  8916. {
  8917. Send, {%A_ThisHotkey%}
  8918. return
  8919. }
  8920. SendInput t/sex{space}{space}1{left}{left}
  8921. return
  8922. lHKFastfood:
  8923. If(BlockChatInput=1)
  8924. return
  8925. if(IsInChat())
  8926. {
  8927. Send, {%A_ThisHotkey%}
  8928. return
  8929. }
  8930. SendInput t/fastfood{space}{space}1{left}{left}
  8931. return
  8932. lHKRepeat:
  8933. If(BlockChatInput=1)
  8934. return
  8935. if(IsInChat())
  8936. {
  8937. Send, {%A_ThisHotkey%}
  8938. return
  8939. }
  8940. SendInput,t
  8941. SendInput,{Up}
  8942. SendInput,{enter}
  8943. return
  8944. lHKFPS20:
  8945. If(BlockChatInput=1)
  8946. return
  8947. if(IsInChat())
  8948. {
  8949. Send, {%A_ThisHotkey%}
  8950. return
  8951. }
  8952. Sendinput t/fpslimit 20{enter}
  8953. return
  8954. lHKFPS90:
  8955. If(BlockChatInput=1)
  8956. return
  8957. if(IsInChat())
  8958. {
  8959. Send, {%A_ThisHotkey%}
  8960. return
  8961. }
  8962. Sendinput t/fpslimit 90{enter}
  8963. return
  8964. lHKSuspend:
  8965. suspend
  8966. if ( A_IsSuspended )
  8967. {
  8968. Organizer("Du hast den Keybinder deaktiviert.")
  8969. }
  8970. if ( !A_IsSuspended )
  8971. {
  8972. Organizer("Du hast den Keybinder aktiviert.")
  8973. }
  8974. return
  8975. lHKHPDL:
  8976. If(BlockChatInput=1)
  8977. return
  8978. if(IsInChat())
  8979. {
  8980. Send, {%A_ThisHotkey%}
  8981. return
  8982. }
  8983. if(IsPlayerInAnyVehicle())
  8984. SendChat("Ich habe noch " GetPlayerHealth() " HP und " Round(GetVehicleHealth(),0) " DL.")
  8985. else
  8986. SendChat("Ich habe noch " GetPlayerHealth() " HP.")
  8987. return
  8988. lHKBK:
  8989. If(BlockChatInput=1)
  8990. return
  8991. if(IsInChat())
  8992. {
  8993. Send, {%A_ThisHotkey%}
  8994. return
  8995. }
  8996. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  8997. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  8998. If(IsPlayerInAnyInterior()==1)
  8999. {
  9000. SendChat("/f Benötige Backup in einem Interior. HP: " GetPlayerHealth())
  9001. }
  9002. else
  9003. {
  9004. SendChat("/f Benötige Backup in " City ", " Zone ". HP: " GetPlayerHealth())
  9005. }
  9006. return
  9007. lHKCTF:
  9008. If(BlockChatInput=1)
  9009. return
  9010. if(IsInChat())
  9011. {
  9012. Send, {%A_ThisHotkey%}
  9013. return
  9014. }
  9015. Suspend permit
  9016. SendInput {enter}
  9017. finwer := getplayername()
  9018. sendChat("/finances " . finwer)
  9019. sleep 1200
  9020. GetChatLine(0,finwas)
  9021. RegExMatch(finwas, "Level\:\[(.*)\] Respekt\:\[(.*)\] Geld\:\[\$(.*)\] Bank\:\[\$(.*)\] (.*)\:\[\$(.*)\]", findas)
  9022. HanGel := number_format(findas3)
  9023. BanGel := number_format(findas4)
  9024. GesGel := number_format(findas6)
  9025. SendChat("|________Finanzen von " finwer "________|")
  9026. Sendchat("Level: [" . findas1 . "] Respekt: [" . findas2 . "] Bargeld: [$" . HanGel . "]")
  9027. SendChat("Bankvermögen: [$" Bangel "] Gesamtvermögen: [$" GesGel "]")
  9028. Suspend Off
  9029. Hotkey, t, On
  9030. return
  9031. return
  9032. lHKGiveUp:
  9033. If(BlockChatInput=1)
  9034. return
  9035. if(IsInChat())
  9036. {
  9037. Send, {%A_ThisHotkey%}
  9038. return
  9039. }
  9040. SendChat("/giveup")
  9041. return
  9042. lHKFPos:
  9043. If(BlockChatInput=1)
  9044. return
  9045. if(IsInChat())
  9046. {
  9047. Send, {%A_ThisHotkey%}
  9048. return
  9049. }
  9050. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  9051. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  9052. If(IsPlayerInAnyInterior()==1)
  9053. {
  9054. SendChat("/f Standort: Interior, HP: " GetPlayerHealth() ", ID: " getid() ", Ping: " getPlayerPingById(getid()) ", Drogen: " drogen "g, Wanteds: " wanteds)
  9055. }
  9056. else
  9057. {
  9058. SendChat("/f Standort: " zone ", HP: " GetPlayerHealth() ", ID: " getid() ", Ping: " getPlayerPingById(getid()) ", Drogen: " drogen "g, Wanteds: " wanteds)
  9059. }
  9060. return
  9061. lHKGebietInfo:
  9062. If(BlockChatInput=1)
  9063. return
  9064. if(IsInChat())
  9065. {
  9066. Send, {%A_ThisHotkey%}
  9067. return
  9068. }
  9069. IniRead, wGebietinfo, TaKe-Binder.ini,GebietInfo, wGebietinfo
  9070. if(wGebietinfo=1)
  9071. {
  9072. SendChat("/gebietinfo")
  9073. Sleep, 200
  9074. GetChatLine(6, Chat6)
  9075. GetChatLine(5, Chat5)
  9076. GetChatLine(4, Chat4)
  9077. GetChatLine(3, Chat3)
  9078. GetChatLine(2, Chat2)
  9079. GetChatLine(1, Chat1)
  9080. GetChatLine(0, Chat0)
  9081. if(Instr(Chat1, " Restzeit:"))
  9082. {
  9083. RegExMatch(Chat1, "Restzeit: (.*) Tage, (.*) Stunden und (.*) Minuten", regzeit)
  9084. RegExMatch(Chat2, " Kills: (.*)", regkills)
  9085. RegExMatch(Chat3, " Herausforderer: (.*)", regher)
  9086. RegExMatch(Chat4, " Kills: (.*)", reg1kills)
  9087. RegExMatch(Chat5, " Besitzer: (.*)", regbe)
  9088. Sendchat("/f Gebietinfo: " regher1 " - " regbe1 " ")
  9089. sendchat("/f " regbe1 ": " reg1kills1 " Kills - " regher1 ": " regkills1 " Kills ")
  9090. sendchat("/f Restzeit: " regzeit1 " Tage " regzeit2 " Stunden " regzeit3 " Minuten ")
  9091. return
  9092. }
  9093. }
  9094. else
  9095. {
  9096. SendChat("/gebietinfo")
  9097. }
  9098. return
  9099. lHKFWanted:
  9100. If(BlockChatInput=1)
  9101. return
  9102. if(IsInChat())
  9103. {
  9104. Send, {%A_ThisHotkey%}
  9105. return
  9106. }
  9107. SendChat("Aktuelle Wanteds: (" Wanteds ")")
  9108. SendChat("Grund: (" Grund ") Zeuge: (" Zeuge ")")
  9109. return
  9110. lHKFill:
  9111. If(BlockChatInput=1)
  9112. return
  9113. if(IsInChat())
  9114. {
  9115. Send, {%A_ThisHotkey%}
  9116. return
  9117. }
  9118. SendChat("/fill")
  9119. Sleep, 3000
  9120. SendChat("/get fuel")
  9121. return
  9122. lHKFillCar:
  9123. If(BlockChatInput=1)
  9124. return
  9125. if(IsInChat())
  9126. {
  9127. Send, {%A_ThisHotkey%}
  9128. return
  9129. }
  9130. SendChat("/fillcar")
  9131. return
  9132. lHKCargo:
  9133. If(BlockChatInput=1)
  9134. return
  9135. if(IsInChat())
  9136. {
  9137. Send, {%A_ThisHotkey%}
  9138. return
  9139. }
  9140. SendChat("/cargo")
  9141. return
  9142. lHKOpenCargo:
  9143. If(BlockChatInput=1)
  9144. return
  9145. if(IsInChat())
  9146. {
  9147. Send, {%A_ThisHotkey%}
  9148. return
  9149. }
  9150. SendChat("/opencargo")
  9151. return
  9152. lHKATMDifferenz:
  9153. return
  9154. lHKWP1:
  9155. If(BlockChatInput=1)
  9156. return
  9157. if(IsInChat())
  9158. {
  9159. Send, {%A_ThisHotkey%}
  9160. return
  9161. }
  9162. if (wpc11 == 1)
  9163. {
  9164. if (wp11 == 1)
  9165. {
  9166. Waffe1 := "Deagle"
  9167. }
  9168. else if (wp11 == 2)
  9169. {
  9170. Waffe1 := "Shotgun"
  9171. }
  9172. else if (wp11 == 3)
  9173. {
  9174. Waffe1 := "MP5"
  9175. }
  9176. else if (wp11 == 4)
  9177. {
  9178. Waffe1 := "M4"
  9179. }
  9180. else if (wp11 == 5)
  9181. {
  9182. Waffe1 := "Rifle"
  9183. }
  9184. else if (wp11 == 6)
  9185. {
  9186. Waffe1 := "Sniper"
  9187. }
  9188. else if (wp11 == 7)
  9189. {
  9190. Waffe1 := "katana"
  9191. }
  9192. else
  9193. return
  9194. SendChat("/buygun " Waffe1 " " wpa11)
  9195. }
  9196. if (wpc12 == 1)
  9197. {
  9198. if (wp12 == 1)
  9199. {
  9200. Waffe1 := "Deagle"
  9201. }
  9202. else if (wp12 == 2)
  9203. {
  9204. Waffe1 := "Shotgun"
  9205. }
  9206. else if (wp12 == 3)
  9207. {
  9208. Waffe1 := "MP5"
  9209. }
  9210. else if (wp12 == 4)
  9211. {
  9212. Waffe1 := "M4"
  9213. }
  9214. else if (wp12 == 5)
  9215. {
  9216. Waffe1 := "Rifle"
  9217. }
  9218. else if (wp12 == 6)
  9219. {
  9220. Waffe1 := "Sniper"
  9221. }
  9222. else if (wp12 == 7)
  9223. {
  9224. Waffe1 := "katana"
  9225. }
  9226. else
  9227. return
  9228. SendChat("/buygun " Waffe1 " " wpa12)
  9229. }
  9230. if (wpc13 == 1)
  9231. {
  9232. if (wp13 == 1)
  9233. {
  9234. Waffe1 := "Deagle"
  9235. }
  9236. else if (wp13 == 2)
  9237. {
  9238. Waffe1 := "Shotgun"
  9239. }
  9240. else if (wp13 == 3)
  9241. {
  9242. Waffe1 := "MP5"
  9243. }
  9244. else if (wp13 == 4)
  9245. {
  9246. Waffe1 := "M4"
  9247. }
  9248. else if (wp13 == 5)
  9249. {
  9250. Waffe1 := "Rifle"
  9251. }
  9252. else if (wp13 == 6)
  9253. {
  9254. Waffe1 := "Sniper"
  9255. }
  9256. else if (wp13 == 7)
  9257. {
  9258. Waffe1 := "katana"
  9259. }
  9260. else
  9261. return
  9262. SendChat("/buygun " Waffe1 " " wpa13)
  9263. }
  9264. if (wpc14 == 1)
  9265. {
  9266. if (wp14 == 1)
  9267. {
  9268. Waffe1 := "Deagle"
  9269. }
  9270. else if (wp14 == 2)
  9271. {
  9272. Waffe1 := "Shotgun"
  9273. }
  9274. else if (wp14 == 3)
  9275. {
  9276. Waffe1 := "MP5"
  9277. }
  9278. else if (wp14 == 4)
  9279. {
  9280. Waffe1 := "M4"
  9281. }
  9282. else if (wp14 == 5)
  9283. {
  9284. Waffe1 := "Rifle"
  9285. }
  9286. else if (wp14 == 6)
  9287. {
  9288. Waffe1 := "Sniper"
  9289. }
  9290. else if (wp14 == 7)
  9291. {
  9292. Waffe1 := "katana"
  9293. }
  9294. else
  9295. return
  9296. SendChat("/buygun " Waffe1 " " wpa14)
  9297. }
  9298. if (wpc15 == 1)
  9299. {
  9300. if (wp15 == 1)
  9301. {
  9302. Waffe1 := "Deagle"
  9303. }
  9304. else if (wp15 == 2)
  9305. {
  9306. Waffe1 := "Shotgun"
  9307. }
  9308. else if (wp15 == 3)
  9309. {
  9310. Waffe1 := "MP5"
  9311. }
  9312. else if (wp15 == 4)
  9313. {
  9314. Waffe1 := "M4"
  9315. }
  9316. else if (wp15 == 5)
  9317. {
  9318. Waffe1 := "Rifle"
  9319. }
  9320. else if (wp15 == 6)
  9321. {
  9322. Waffe1 := "Sniper"
  9323. }
  9324. else if (wp15 == 7)
  9325. {
  9326. Waffe1 := "katana"
  9327. }
  9328. else
  9329. return
  9330. SendChat("/buygun " Waffe1 " " wpa15)
  9331. }
  9332. return
  9333. lHKWP2:
  9334. If(BlockChatInput=1)
  9335. return
  9336. if(IsInChat())
  9337. {
  9338. Send, {%A_ThisHotkey%}
  9339. return
  9340. }
  9341. if (wpc21 == 1)
  9342. {
  9343. if (wp21 == 1)
  9344. {
  9345. Waffe1 := "Deagle"
  9346. }
  9347. else if (wp21 == 2)
  9348. {
  9349. Waffe1 := "Shotgun"
  9350. }
  9351. else if (wp21 == 3)
  9352. {
  9353. Waffe1 := "MP5"
  9354. }
  9355. else if (wp21 == 4)
  9356. {
  9357. Waffe1 := "M4"
  9358. }
  9359. else if (wp21 == 5)
  9360. {
  9361. Waffe1 := "Rifle"
  9362. }
  9363. else if (wp21 == 6)
  9364. {
  9365. Waffe1 := "Sniper"
  9366. }
  9367. else if (wp21 == 7)
  9368. {
  9369. Waffe1 := "katana"
  9370. }
  9371. else
  9372. return
  9373. SendChat("/buygun " Waffe1 " " wpa21)
  9374. }
  9375. if (wpc22 == 1)
  9376. {
  9377. if (wp22 == 1)
  9378. {
  9379. Waffe1 := "Deagle"
  9380. }
  9381. else if (wp22 == 2)
  9382. {
  9383. Waffe1 := "Shotgun"
  9384. }
  9385. else if (wp22 == 3)
  9386. {
  9387. Waffe1 := "MP5"
  9388. }
  9389. else if (wp22 == 4)
  9390. {
  9391. Waffe1 := "M4"
  9392. }
  9393. else if (wp22 == 5)
  9394. {
  9395. Waffe1 := "Rifle"
  9396. }
  9397. else if (wp22 == 6)
  9398. {
  9399. Waffe1 := "Sniper"
  9400. }
  9401. else if (wp22 == 7)
  9402. {
  9403. Waffe1 := "katana"
  9404. }
  9405. else
  9406. return
  9407. SendChat("/buygun " Waffe1 " " wpa22)
  9408. }
  9409. if (wpc23 == 1)
  9410. {
  9411. if (wp23 == 1)
  9412. {
  9413. Waffe1 := "Deagle"
  9414. }
  9415. else if (wp23 == 2)
  9416. {
  9417. Waffe1 := "Shotgun"
  9418. }
  9419. else if (wp23 == 3)
  9420. {
  9421. Waffe1 := "MP5"
  9422. }
  9423. else if (wp23 == 4)
  9424. {
  9425. Waffe1 := "M4"
  9426. }
  9427. else if (wp23 == 5)
  9428. {
  9429. Waffe1 := "Rifle"
  9430. }
  9431. else if (wp23 == 6)
  9432. {
  9433. Waffe1 := "Sniper"
  9434. }
  9435. else if (wp23 == 7)
  9436. {
  9437. Waffe1 := "katana"
  9438. }
  9439. else
  9440. return
  9441. SendChat("/buygun " Waffe1 " " wpa23)
  9442. }
  9443. if (wpc24 == 1)
  9444. {
  9445. if (wp24 == 1)
  9446. {
  9447. Waffe1 := "Deagle"
  9448. }
  9449. else if (wp24 == 2)
  9450. {
  9451. Waffe1 := "Shotgun"
  9452. }
  9453. else if (wp24 == 3)
  9454. {
  9455. Waffe1 := "MP5"
  9456. }
  9457. else if (wp24 == 4)
  9458. {
  9459. Waffe1 := "M4"
  9460. }
  9461. else if (wp24 == 5)
  9462. {
  9463. Waffe1 := "Rifle"
  9464. }
  9465. else if (wp24 == 6)
  9466. {
  9467. Waffe1 := "Sniper"
  9468. }
  9469. else if (wp24 == 7)
  9470. {
  9471. Waffe1 := "katana"
  9472. }
  9473. else
  9474. return
  9475. SendChat("/buygun " Waffe1 " " wpa24)
  9476. }
  9477. if (wpc25 == 1)
  9478. {
  9479. if (wp25 == 1)
  9480. {
  9481. Waffe1 := "Deagle"
  9482. }
  9483. else if (wp25 == 2)
  9484. {
  9485. Waffe1 := "Shotgun"
  9486. }
  9487. else if (wp25 == 3)
  9488. {
  9489. Waffe1 := "MP5"
  9490. }
  9491. else if (wp25 == 4)
  9492. {
  9493. Waffe1 := "M4"
  9494. }
  9495. else if (wp25 == 5)
  9496. {
  9497. Waffe1 := "Rifle"
  9498. }
  9499. else if (wp25 == 6)
  9500. {
  9501. Waffe1 := "Sniper"
  9502. }
  9503. else if (wp25 == 7)
  9504. {
  9505. Waffe1 := "katana"
  9506. }
  9507. else
  9508. return
  9509. SendChat("/buygun " Waffe1 " " wpa25)
  9510. Sleep 500
  9511. }
  9512. return
  9513. ExitSub:
  9514. If(LoggedIn == True)
  9515. {
  9516. }
  9517. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  9518. DestroyAllVisual()
  9519. ExitApp
  9520. return
  9521. OwnWeaponsGui:
  9522. gosub, OwnWPLoad
  9523. IfNotEqual,HKOG1,
  9524. StringReplace, HKOG1, HKOG1,~
  9525. IfNotEqual,HKOG2,
  9526. StringReplace, HKOG2, HKOG2,~
  9527. IfNotEqual,HKOG3,
  9528. StringReplace, HKOG3, HKOG3,~
  9529. IfNotEqual,HKOG4,
  9530. StringReplace, HKOG4, HKOG4,~
  9531. IfNotEqual,HKOG5,
  9532. StringReplace, HKOG5, HKOG5,~
  9533. Gui,OwnWP: Add, Picture, x0 y0 h349 w398, back03.png
  9534. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG1% vOG1 x142 y60 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9535. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG2% vOG2 x142 y100 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9536. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG3% vOG3 x142 y140 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9537. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG4% vOG4 x142 y180 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9538. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG5% vOG5 x142 y220 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9539. Gui,OwnWP: Add, Hotkey, x22 y60 w90 h20 vHKOG1, %HKOG1%
  9540. Gui,OwnWP: Add, Hotkey, x22 y100 w90 h20 vHKOG2, %HKOG2%
  9541. Gui,OwnWP: Add, Hotkey, x22 y140 w90 h20 vHKOG3, %HKOG3%
  9542. Gui,OwnWP: Add, Hotkey, x22 y180 w90 h20 vHKOG4, %HKOG4%
  9543. Gui,OwnWP: Add, Hotkey, x22 y220 w90 h20 vHKOG5, %HKOG5%
  9544. Gui,OwnWP: Add, Edit, x252 y60 w100 h20 voga1, %oga1%
  9545. Gui,OwnWP: Add, Edit, x252 y100 w100 h20 voga2, %oga2%
  9546. Gui,OwnWP: Add, Edit, x252 y140 w100 h20 voga3, %oga3%
  9547. Gui,OwnWP: Add, Edit, x252 y180 w100 h20 voga4, %oga4%
  9548. Gui,OwnWP: Add, Edit, x252 y220 w100 h20 voga5, %oga5%
  9549. Gui,OwnWP: Add, Text, x22 y20 w90 h20 , - Taste -
  9550. Gui,OwnWP: Add, Text, x142 y20 w90 h20 , - Waffe -
  9551. Gui,OwnWP: Add, Text, x252 y20 w90 h20 , - Munition -
  9552. Gui,OwnWP: Add, Button, x272 y300 w100 h20 gOwnWPSave, Speichern
  9553. Gui,OwnWP: Show, x628 y344 h349 w398, Eigene Waffen belegen
  9554. IfNotEqual,HKOG1,
  9555. HKOG1:= "~" HKOG1
  9556. IfNotEqual,HKOG2,
  9557. HKOG2:= "~" HKOG2
  9558. IfNotEqual,HKOG3,
  9559. HKOG3:= "~" HKOG3
  9560. IfNotEqual,HKOG4,
  9561. HKOG4:= "~" HKOG4
  9562. IfNotEqual,HKOG5,
  9563. HKOG5:= "~" HKOG5
  9564. return
  9565. OwnWPGuiClose:
  9566. Gui,OwnWP: Destroy
  9567. return
  9568. OwnWPSave:
  9569. IfNotEqual,HKOG1,
  9570. Hotkey, %HKOG1%, Off, UseErrorLevel
  9571. IfNotEqual,HKOG2,
  9572. Hotkey, %HKOG2%, Off, UseErrorLevel
  9573. IfNotEqual,HKOG3,
  9574. Hotkey, %HKOG3%, Off, UseErrorLevel
  9575. IfNotEqual,HKOG4,
  9576. Hotkey, %HKOG4%, Off, UseErrorLevel
  9577. IfNotEqual,HKOG5,
  9578. Hotkey, %HKOG5%, Off, UseErrorLevel
  9579. Gui,OwnWP: Submit, NoHide
  9580. IfNotEqual,HKOG1,
  9581. StringReplace, HKOG1, HKOG1,~
  9582. IfNotEqual,HKOG2,
  9583. StringReplace, HKOG2, HKOG2,~
  9584. IfNotEqual,HKOG3,
  9585. StringReplace, HKOG3, HKOG3,~
  9586. IfNotEqual,HKOG4,
  9587. StringReplace, HKOG4, HKOG4,~
  9588. IfNotEqual,HKOG5,
  9589. StringReplace, HKOG5, HKOG5,~
  9590. Iniwrite, %HKOG1%, TaKe-Binder.ini,Wanteds, HKOG1
  9591. Iniwrite, %HKOG2%, TaKe-Binder.ini,Wanteds, HKOG2
  9592. Iniwrite, %HKOG3%, TaKe-Binder.ini,Wanteds, HKOG3
  9593. Iniwrite, %HKOG4%, TaKe-Binder.ini,Wanteds, HKOG4
  9594. Iniwrite, %HKOG5%, TaKe-Binder.ini,Wanteds, HKOG5
  9595. Iniwrite, %oga1%, TaKe-Binder.ini,Wanteds, oga1
  9596. Iniwrite, %oga2%, TaKe-Binder.ini,Wanteds, oga2
  9597. Iniwrite, %oga3%, TaKe-Binder.ini,Wanteds, oga3
  9598. Iniwrite, %oga4%, TaKe-Binder.ini,Wanteds, oga4
  9599. Iniwrite, %oga5%, TaKe-Binder.ini,Wanteds, oga5
  9600. Iniwrite, %OG1%, TaKe-Binder.ini,Wanteds, OG1
  9601. Iniwrite, %OG2%, TaKe-Binder.ini,Wanteds, OG2
  9602. Iniwrite, %OG3%, TaKe-Binder.ini,Wanteds, OG3
  9603. Iniwrite, %OG4%, TaKe-Binder.ini,Wanteds, OG4
  9604. Iniwrite, %OG5%, TaKe-Binder.ini,Wanteds, OG5
  9605. IfNotEqual,HKOG1,
  9606. HKOG1:= "~" HKOG1
  9607. IfNotEqual,HKOG2,
  9608. HKOG2:= "~" HKOG2
  9609. IfNotEqual,HKOG3,
  9610. HKOG3:= "~" HKOG3
  9611. IfNotEqual,HKOG4,
  9612. HKOG4:= "~" HKOG4
  9613. IfNotEqual,HKOG5,
  9614. HKOG5:= "~" HKOG5
  9615. IfNotEqual,HKOG1,
  9616. Hotkey, %HKOG1%, lHKOG1, UseErrorLevel
  9617. IfNotEqual,HKOG2,
  9618. Hotkey, %HKOG2%, lHKOG2, UseErrorLevel
  9619. IfNotEqual,HKOG3,
  9620. Hotkey, %HKOG3%, lHKOG3, UseErrorLevel
  9621. IfNotEqual,HKOG4,
  9622. Hotkey, %HKOG4%, lHKOG4, UseErrorLevel
  9623. IfNotEqual,HKOG5,
  9624. Hotkey, %HKOG5%, lHKOG5, UseErrorLevel
  9625. return
  9626. OwnWPLoad:
  9627. IfNotEqual,HKOG1,
  9628. Hotkey, %HKOG1%, Off, UseErrorLevel
  9629. IfNotEqual,HKOG2,
  9630. Hotkey, %HKOG2%, Off, UseErrorLevel
  9631. IfNotEqual,HKOG3,
  9632. Hotkey, %HKOG3%, Off, UseErrorLevel
  9633. IfNotEqual,HKOG4,
  9634. Hotkey, %HKOG4%, Off, UseErrorLevel
  9635. IfNotEqual,HKOG5,
  9636. Hotkey, %HKOG5%, Off, UseErrorLevel
  9637. IniRead, HKOG1, TaKe-Binder.ini,Wanteds, HKOG1
  9638. IniRead, HKOG2, TaKe-Binder.ini,Wanteds, HKOG2
  9639. IniRead, HKOG3, TaKe-Binder.ini,Wanteds, HKOG3
  9640. IniRead, HKOG4, TaKe-Binder.ini,Wanteds, HKOG4
  9641. IniRead, HKOG5, TaKe-Binder.ini,Wanteds, HKOG5
  9642. IniRead, oga1, TaKe-Binder.ini,Wanteds, oga1
  9643. IniRead, oga2, TaKe-Binder.ini,Wanteds, oga2
  9644. IniRead, oga3, TaKe-Binder.ini,Wanteds, oga3
  9645. IniRead, oga4, TaKe-Binder.ini,Wanteds, oga4
  9646. IniRead, oga5, TaKe-Binder.ini,Wanteds, oga5
  9647. IniRead, OG1, TaKe-Binder.ini,Wanteds, OG1
  9648. IniRead, OG2, TaKe-Binder.ini,Wanteds, OG2
  9649. IniRead, OG3, TaKe-Binder.ini,Wanteds, OG3
  9650. IniRead, OG4, TaKe-Binder.ini,Wanteds, OG4
  9651. IniRead, OG5, TaKe-Binder.ini,Wanteds, OG5
  9652. IfNotEqual,HKOG1,
  9653. HKOG1:= "~" HKOG1
  9654. IfNotEqual,HKOG2,
  9655. HKOG2:= "~" HKOG2
  9656. IfNotEqual,HKOG3,
  9657. HKOG3:= "~" HKOG3
  9658. IfNotEqual,HKOG4,
  9659. HKOG4:= "~" HKOG4
  9660. IfNotEqual,HKOG5,
  9661. HKOG5:= "~" HKOG5
  9662. IfNotEqual,HKOG1,
  9663. Hotkey, %HKOG1%, lHKOG1, UseErrorLevel
  9664. IfNotEqual,HKOG2,
  9665. Hotkey, %HKOG2%, lHKOG2, UseErrorLevel
  9666. IfNotEqual,HKOG3,
  9667. Hotkey, %HKOG3%, lHKOG3, UseErrorLevel
  9668. IfNotEqual,HKOG4,
  9669. Hotkey, %HKOG4%, lHKOG4, UseErrorLevel
  9670. IfNotEqual,HKOG5,
  9671. Hotkey, %HKOG5%, lHKOG5, UseErrorLevel
  9672. return
  9673. firstsave:
  9674. gosub, OverlaySave
  9675. gosub, KeybindsSave
  9676. gosub, OwnWPSave
  9677. gosub, SaveOptions
  9678. Iniwrite, 713, TaKe-Binder.ini,Settings, HPX
  9679. Iniwrite, 89, TaKe-Binder.ini,Settings, HPY
  9680. Iniwrite, 8, TaKe-Binder.ini,Settings, HPSize
  9681. Iniwrite, 630, TaKe-Binder.ini,Settings, WX
  9682. Iniwrite, 170, TaKe-Binder.ini,Settings, WY
  9683. Iniwrite, 9, TaKe-Binder.ini,Settings, WSize
  9684. Iniwrite, 26, TaKe-Binder.ini,Settings, PX
  9685. Iniwrite, 442, TaKe-Binder.ini,Settings, PY
  9686. Iniwrite, 9, TaKe-Binder.ini,Settings, PSize
  9687. Iniwrite, 0, TaKe-Binder.ini,Settings, VX
  9688. Iniwrite, 381, TaKe-Binder.ini,Settings, VY
  9689. Iniwrite, 8, TaKe-Binder.ini,Settings, VSize
  9690. IniWrite, 4, TaKe-Binder.ini,Settings,HPF
  9691. IniWrite, 4, TaKe-Binder.ini,Settings,VCF
  9692. IniWrite, 4, TaKe-Binder.ini,Settings,WCF
  9693. IniWrite, 4, TaKe-Binder.ini,Settings,PCF
  9694. return
  9695. lHKOG1:
  9696. If(BlockChatInput=1)
  9697. return
  9698. if(IsInChat())
  9699. {
  9700. Send, {%A_ThisHotkey%}
  9701. return
  9702. }
  9703. if (OG1 == 1)
  9704. {
  9705. Waffe1 := "Deagle"
  9706. }
  9707. else if (OG1 == 2)
  9708. {
  9709. Waffe1 := "Shotgun"
  9710. }
  9711. else if (OG1 == 3)
  9712. {
  9713. Waffe1 := "MP5"
  9714. }
  9715. else if (OG1 == 4)
  9716. {
  9717. Waffe1 := "M4"
  9718. }
  9719. else if (OG1 == 5)
  9720. {
  9721. Waffe1 := "Rifle"
  9722. }
  9723. else if (OG1 == 6)
  9724. {
  9725. Waffe1 := "Sniper"
  9726. }
  9727. else if (OG1 == 7)
  9728. {
  9729. Waffe1 := "katana"
  9730. }
  9731. else
  9732. return
  9733. SendChat("/buygun " Waffe1 " " oga1)
  9734. Sleep 500
  9735. return
  9736. lHKOG2:
  9737. If(BlockChatInput=1)
  9738. return
  9739. if(IsInChat())
  9740. {
  9741. Send, {%A_ThisHotkey%}
  9742. return
  9743. }
  9744. if (OG2 == 1)
  9745. {
  9746. Waffe1 := "Deagle"
  9747. }
  9748. else if (OG2 == 2)
  9749. {
  9750. Waffe1 := "Shotgun"
  9751. }
  9752. else if (OG2 == 3)
  9753. {
  9754. Waffe1 := "MP5"
  9755. }
  9756. else if (OG2 == 4)
  9757. {
  9758. Waffe1 := "M4"
  9759. }
  9760. else if (OG2 == 5)
  9761. {
  9762. Waffe1 := "Rifle"
  9763. }
  9764. else if (OG2 == 6)
  9765. {
  9766. Waffe1 := "Sniper"
  9767. }
  9768. else if (OG2 == 7)
  9769. {
  9770. Waffe1 := "katana"
  9771. }
  9772. else
  9773. return
  9774. SendChat("/buygun " Waffe1 " " oga2)
  9775. Sleep 500
  9776. return
  9777. lHKOG3:
  9778. If(BlockChatInput=1)
  9779. return
  9780. if(IsInChat())
  9781. {
  9782. Send, {%A_ThisHotkey%}
  9783. return
  9784. }
  9785. if (OG3 == 1)
  9786. {
  9787. Waffe1 := "Deagle"
  9788. }
  9789. else if (OG3 == 2)
  9790. {
  9791. Waffe1 := "Shotgun"
  9792. }
  9793. else if (OG3 == 3)
  9794. {
  9795. Waffe1 := "MP5"
  9796. }
  9797. else if (OG3 == 4)
  9798. {
  9799. Waffe1 := "M4"
  9800. }
  9801. else if (OG3 == 5)
  9802. {
  9803. Waffe1 := "Rifle"
  9804. }
  9805. else if (OG3 == 6)
  9806. {
  9807. Waffe1 := "Sniper"
  9808. }
  9809. else if (OG3 == 7)
  9810. {
  9811. Waffe1 := "katana"
  9812. }
  9813. else
  9814. return
  9815. SendChat("/buygun " Waffe1 " " oga3)
  9816. Sleep 500
  9817. return
  9818. lHKOG4:
  9819. If(BlockChatInput=1)
  9820. return
  9821. if(IsInChat())
  9822. {
  9823. Send, {%A_ThisHotkey%}
  9824. return
  9825. }
  9826. if (OG4 == 1)
  9827. {
  9828. Waffe1 := "Deagle"
  9829. }
  9830. else if (OG4 == 2)
  9831. {
  9832. Waffe1 := "Shotgun"
  9833. }
  9834. else if (OG4 == 3)
  9835. {
  9836. Waffe1 := "MP5"
  9837. }
  9838. else if (OG4 == 4)
  9839. {
  9840. Waffe1 := "M4"
  9841. }
  9842. else if (OG4 == 5)
  9843. {
  9844. Waffe1 := "Rifle"
  9845. }
  9846. else if (OG4 == 6)
  9847. {
  9848. Waffe1 := "Sniper"
  9849. }
  9850. else if (OG4 == 7)
  9851. {
  9852. Waffe1 := "katana"
  9853. }
  9854. else
  9855. return
  9856. SendChat("/buygun " Waffe1 " " oga4)
  9857. Sleep 500
  9858. return
  9859. lHKOG5:
  9860. If(BlockChatInput=1)
  9861. return
  9862. if(IsInChat())
  9863. {
  9864. Send, {%A_ThisHotkey%}
  9865. return
  9866. }
  9867. if (OG5 == 1)
  9868. {
  9869. Waffe1 := "Deagle"
  9870. }
  9871. else if (OG5 == 2)
  9872. {
  9873. Waffe1 := "Shotgun"
  9874. }
  9875. else if (OG5 == 3)
  9876. {
  9877. Waffe1 := "MP5"
  9878. }
  9879. else if (OG5 == 4)
  9880. {
  9881. Waffe1 := "M4"
  9882. }
  9883. else if (OG5 == 5)
  9884. {
  9885. Waffe1 := "Rifle"
  9886. }
  9887. else if (OG5 == 6)
  9888. {
  9889. Waffe1 := "Sniper"
  9890. }
  9891. else if (OG5 == 7)
  9892. {
  9893. Waffe1 := "katana"
  9894. }
  9895. else
  9896. return
  9897. SendChat("/buygun " Waffe1 " " oga5)
  9898. Sleep 500
  9899. return
  9900. lHKKillPlus:
  9901. If(BlockChatInput=1)
  9902. return
  9903. if(IsInChat())
  9904. {
  9905. Send, {%A_ThisHotkey%}
  9906. return
  9907. }
  9908. Kills++
  9909. tKills++
  9910. streak+=1
  9911. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  9912. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
  9913. if(ReadStats(text))
  9914. {
  9915. level := keyForEntry(text, "Level")
  9916. KillsDM := keyForEntry(text, "Kills \(DM\)")
  9917. death := keyForEntry(text, "Tode")
  9918. payday := keyForEntry(text, "Minuten seit Payday")
  9919. bank := keyForEntry(text, "Bank")
  9920. }
  9921. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  9922. kills := kills1
  9923. If(IsPlayerInAnyInterior()==1)
  9924. {
  9925. SendChat("/f " FSpruch " in einem Interior | Kills: " Kills " - Heute: " tKills)
  9926. }
  9927. else
  9928. SendChat("/f " FSpruch " in " zone " | Kills: " Kills " - Heute: " tKills)
  9929. if(Killstreak=1)
  9930. {
  9931. if(streak=3)
  9932. {
  9933. SendChat("/f >> 3er «« | Killstreak erreicht!")
  9934. }
  9935. else if(streak=6)
  9936. {
  9937. SendChat("/f >> 6er «« | Killstreak erreicht!")
  9938. }
  9939. else if(streak=9)
  9940. {
  9941. SendChat("/f >> 9er «« | Killstreak erreicht!")
  9942. }
  9943. else if(streak=12)
  9944. {
  9945. SendChat("/f >> 12er «« | Killstreak erreicht!")
  9946. }
  9947. else if(streak=15)
  9948. {
  9949. SendChat("/f >> 15er «« | Killstreak erreicht!")
  9950. }
  9951. else if(streak=18)
  9952. {
  9953. SendChat("/f >> 18er «« | Killstreak erreicht!")
  9954. }
  9955. else if(streak=21)
  9956. {
  9957. SendChat("/f >> 21er «« | Killstreak erreicht!")
  9958. }
  9959. else if(streak=24)
  9960. {
  9961. SendChat("/f >> 24er «« | Killstreak erreicht!")
  9962. }
  9963. }
  9964. return
  9965. lHKKillSpruch:
  9966. If(BlockChatInput=1)
  9967. return
  9968. if(IsInChat())
  9969. {
  9970. Send, {%A_ThisHotkey%}
  9971. return
  9972. }
  9973. Random,rand,1,5
  9974. if(KC%rand% == 1)
  9975. SendChat(Spruch%rand%)
  9976. else
  9977. gosub, lHKKillSpruch
  9978. return
  9979. lHKOwn1:
  9980. If(BlockChatInput=1)
  9981. return
  9982. if(IsInChat())
  9983. {
  9984. Send, {%A_ThisHotkey%}
  9985. return
  9986. }
  9987. Own1Old := Own1
  9988. CheckReplace("1")
  9989. SendChat(Own1)
  9990. Own1 := Own1Old
  9991. return
  9992. lHKOwn2:
  9993. If(BlockChatInput=1)
  9994. return
  9995. if(IsInChat())
  9996. {
  9997. Send, {%A_ThisHotkey%}
  9998. return
  9999. }
  10000. Own2Old := Own2
  10001. CheckReplace("2")
  10002. SendChat(Own2)
  10003. Own2 := Own2Old
  10004. return
  10005. lHKOwn3:
  10006. If(BlockChatInput=1)
  10007. return
  10008. if(IsInChat())
  10009. {
  10010. Send, {%A_ThisHotkey%}
  10011. return
  10012. }
  10013. Own3Old := Own3
  10014. CheckReplace("3")
  10015. SendChat(Own3)
  10016. Own3 := Own3Old
  10017. return
  10018. lHKOwn4:
  10019. If(BlockChatInput=1)
  10020. return
  10021. if(IsInChat())
  10022. {
  10023. Send, {%A_ThisHotkey%}
  10024. return
  10025. }
  10026. Own4Old := Own4
  10027. CheckReplace("4")
  10028. SendChat(Own4)
  10029. Own4 := Own4Old
  10030. return
  10031. lHKOwn5:
  10032. If(BlockChatInput=1)
  10033. return
  10034. if(IsInChat())
  10035. {
  10036. Send, {%A_ThisHotkey%}
  10037. return
  10038. }
  10039. Own5Old := Own5
  10040. CheckReplace("5")
  10041. SendChat(Own5)
  10042. Own5 := Own5Old
  10043. return
  10044. lHKOwn6:
  10045. If(BlockChatInput=1)
  10046. return
  10047. if(IsInChat())
  10048. {
  10049. Send, {%A_ThisHotkey%}
  10050. return
  10051. }
  10052. Own6Old := Own6
  10053. CheckReplace("6")
  10054. SendChat(Own6)
  10055. Own6 := Own6Old
  10056. return
  10057. lHKOwn7:
  10058. If(BlockChatInput=1)
  10059. return
  10060. if(IsInChat())
  10061. {
  10062. Send, {%A_ThisHotkey%}
  10063. return
  10064. }
  10065. Own7Old := Own7
  10066. CheckReplace("7")
  10067. SendChat(Own7)
  10068. Own7 := Own7Old
  10069. return
  10070. lHKOwn8:
  10071. If(BlockChatInput=1)
  10072. return
  10073. if(IsInChat())
  10074. {
  10075. Send, {%A_ThisHotkey%}
  10076. return
  10077. }
  10078. Own8Old := Own8
  10079. CheckReplace("8")
  10080. SendChat(Own8)
  10081. Own8 := Own8Old
  10082. return
  10083. lHKOwn9:
  10084. If(BlockChatInput=1)
  10085. return
  10086. if(IsInChat())
  10087. {
  10088. Send, {%A_ThisHotkey%}
  10089. return
  10090. }
  10091. Own9Old := Own9
  10092. CheckReplace("9")
  10093. SendChat(Own9)
  10094. Own9 := Own9Old
  10095. return
  10096. lHKOwn10:
  10097. If(BlockChatInput=1)
  10098. return
  10099. if(IsInChat())
  10100. {
  10101. Send, {%A_ThisHotkey%}
  10102. return
  10103. }
  10104. Own10Old := Own10
  10105. CheckReplace("10")
  10106. SendChat(Own10)
  10107. Own10 := Own10Old
  10108. return
  10109. lHKOwn11:
  10110. If(BlockChatInput=1)
  10111. return
  10112. if(IsInChat())
  10113. {
  10114. Send, {%A_ThisHotkey%}
  10115. return
  10116. }
  10117. Own11Old := Own11
  10118. CheckReplace("11")
  10119. SendChat(Own11)
  10120. Own11 := Own11Old
  10121. return
  10122. lHKOwn12:
  10123. If(BlockChatInput=1)
  10124. return
  10125. if(IsInChat())
  10126. {
  10127. Send, {%A_ThisHotkey%}
  10128. return
  10129. }
  10130. Own12Old := Own12
  10131. CheckReplace("12")
  10132. SendChat(Own12)
  10133. Own12 := Own12Old
  10134. return
  10135. :?:/gk 1.0::
  10136. Suspend Permit
  10137. SendiNput /me schaut im Stadtplan nach - Gebudekomplex 1.0:{enter}
  10138. Sleep 200
  10139. SendiNput t--Prison--{enter}
  10140. Sleep 200
  10141. SendiNput t--Gunshop bei den Ballas--{enter}
  10142. Sleep 200
  10143. SendiNput t--Shamal Interior--{enter}
  10144. Suspend Off
  10145. return
  10146. :?:/gk::
  10147. Suspend Permit
  10148. SendInput /gk
  10149. Organizer("/gk[Nummer]")
  10150. Input, komplex, V I M, {enter}
  10151. SendInput {end}+{home}{Del}{Esc}
  10152. if komplex is not number
  10153. {
  10154. Organizer("Bitte eine gültige Summe eingeben!")
  10155. return
  10156. }
  10157. IniRead, GK, %A_WorkingDir%/Komplexe.ini, GKs, %komplex%
  10158. if(GK == "ERROR")
  10159. {
  10160. Organizer("Dieser Gebäudekomplex ist nicht eingetragen !!")
  10161. return
  10162. }
  10163. else
  10164. {
  10165. Sendchat("Keybinder sagt Gebäudekomplex " komplex " ist " GK "")
  10166. }
  10167. Suspend off
  10168. return
  10169. :?:/tp::
  10170. suspend permit
  10171. SendInput {enter}
  10172. Organizer("{5B89CB}Takepizza gestartet schreib nichts ins Chat! {FFFFFF}'<' Abbruchtaste")
  10173. sleep 2000
  10174. SetTimer, Takepizza, 1050
  10175. return
  10176. Takepizza:
  10177. global:= pizzaverkauf
  10178. tp:=1
  10179. loop, 3
  10180. {
  10181. SendChat("/takepizza")
  10182. }
  10183. pizzaverkauf := A_TickCount + 1050
  10184. Suspend Off
  10185. return
  10186. :?:/sp::
  10187. suspend permit
  10188. SendInput /sellpizza{space}
  10189. Input, UID4, V I M, {enter}
  10190. Sendchat("/sellpizza " UID4 "")
  10191. Suspend off
  10192. return
  10193. return
  10194. ~<::
  10195. if(IsInChat()){
  10196. SendInput {%A_ThisHotkey%}
  10197. return
  10198. }
  10199. SetTimer, Takepizza, off
  10200. if(conquern=1)
  10201. {
  10202. Organizer("Conquer Abbruch!")
  10203. conquern:=0
  10204. }
  10205. if(tp=1)
  10206. {
  10207. Organizer("Takepizza gestoppt!")
  10208. tp:=0
  10209. }
  10210. else
  10211. {
  10212. return
  10213. }
  10214. tp:=0
  10215. conquern:=0
  10216. return
  10217. OptionGui:
  10218. Gui,Option: Destroy
  10219. Gui,Option: Add, Picture,x0 y0 w496 h459,back03.png
  10220. Gui,Option: Add, GroupBox, x22 y10 w220 h160, Medic
  10221. Gui,Option: Add, CheckBox,-Checked%mAuto% x32 y40 w140 h20 vmAuto, Heal autom. annehmen?
  10222. Gui,Option: Add, CheckBox,-Checked%mTHX% x32 y70 w140 h20 vmTHX, Bedanken?
  10223. Gui,Option: Add, CheckBox,-Checked%mTGC% x32 y100 w140 h20 vmTGC, Trinkgeld?
  10224. Gui,Option: Add, Edit, x32 y130 w140 h20 vmTG, %mTG%
  10225. Gui,Option: Add, GroupBox, x252 y10 w220 h190, Mechaniker
  10226. Gui,Option: Add, CheckBox,-Checked%mechREP% x262 y40 w150 h20 vmechREP, Rep. autom. annehmen?
  10227. Gui,Option: Add, CheckBox,-Checked%mechREF% x262 y70 w150 h20 vmechREF, Ref. autom. annehmen?
  10228. Gui,Option: Add, CheckBox,-Checked%mechTHX% x262 y100 w140 h20 vmechTHX, Bedanken?
  10229. Gui,Option: Add, CheckBox,-Checked%mechTGC% x262 y130 w140 h20 vmechTGC, Trinkgeld?
  10230. Gui,Option: Add, Edit, x262 y160 w140 h20 vmechTG, %mechTG%
  10231. Gui,Option: Add, GroupBox, x22 y210 w170 h90, Wanteds
  10232. Gui,Option: Add, CheckBox,-Checked%wMSG% x32 y240 w110 h20 vwMSG, Nachricht im Chat?
  10233. Gui,Option: Add, CheckBox,-Checked%wSound% x32 y265 w160 h20 vwSound, Sound abspielen?
  10234. Gui,Option: Add, GroupBox, x22 y320 w170 h75, Gangwar-/Gangzonesound
  10235. Gui,Option: Add, DropDownList,AltSubmit Choose%GZS% x32 y350 w70 h100 vGZS, Leo2201|Thomas Nike|DJ_Sticks
  10236. Gui,Option: Add, Button, x32 y375 w55 h15 gabspielen, abspielen
  10237. Gui,Option: Add, CheckBox,-Checked%gSound% x117 y350 w60 h20 vgSound, aktiviert?
  10238. Gui,Option: Add, GroupBox, x252 y210 w170 h120, Sonstiges
  10239. Gui,Option: Add, CheckBox,-Checked%wGebietinfo% x262 y240 w130 h20 vwGebietinfo, Gebietinfo im /f Chat?
  10240. Gui,Option: Add, CheckBox,-Checked%wAntiSpam% x262 y270 w150 h20 vwAntiSpam, AntiSpam Funktion an?
  10241. Gui,Option: Add, CheckBox,-Checked%Killstreak% x262 y300 w100 h20 vKillstreak, Killstreak an?
  10242. Gui,Option: Add, CheckBox,-Checked%Autotanken% x262 y330 w100 h20 vautotanken, Tanken autom. ?
  10243. Gui,Option: Add, CheckBox,-Checked%Autohd% x262 y360 w160 h20 vautohd, Hotdog autom. annehmen ?
  10244. Gui,Option: Add, Edit, x340 y385 w80 h20 vDrogenmenge, %Drogenmenge%
  10245. Gui,Option: Add, Text, x260 y387 w80 h20 +BackgroundTrans, Drogenmenge:
  10246. Gui,Option: Add, Button, x372 y410 w100 h30 gSaveOptions, Speichern
  10247. Gui,Option: Show, x616 y282 h459 w496, Optionen
  10248. Return
  10249. abspielen:
  10250. GuiControlGet, GZS
  10251. if(GZS=1)
  10252. {
  10253. SoundPlay, leo.wav
  10254. }
  10255. else if(GZS=2)
  10256. {
  10257. SoundPlay, thomas.wav
  10258. }
  10259. else if(GZS=3)
  10260. {
  10261. SoundPlay, sticks.wav
  10262. }
  10263. return
  10264. SaveOptions:
  10265. Gui,Option: Submit, noHide
  10266. Iniwrite, %mAuto%, TaKe-Binder.ini,Wanteds, mAuto
  10267. Iniwrite, %mTHX%, TaKe-Binder.ini,Wanteds, mTHX
  10268. Iniwrite, %mTGC%, TaKe-Binder.ini,Wanteds, mTGC
  10269. Iniwrite, %mTG%, TaKe-Binder.ini,Wanteds, mTG
  10270. Iniwrite, %mechREP%, TaKe-Binder.ini,Wanteds, mechREP
  10271. Iniwrite, %mechREF%, TaKe-Binder.ini,Wanteds, mechREF
  10272. Iniwrite, %mechTHX%, TaKe-Binder.ini,Wanteds, mechTHX
  10273. Iniwrite, %mechTGC%, TaKe-Binder.ini,Wanteds, mechTGC
  10274. Iniwrite, %mechTG%, TaKe-Binder.ini,Wanteds, mechTG
  10275. Iniwrite, %wMSG%, TaKe-Binder.ini,Wanteds, wMSG
  10276. Iniwrite, %wSound%, TaKe-Binder.ini,Wanteds, wSound
  10277. Iniwrite, %wGebietinfo%, TaKe-Binder.ini,Sonstiges, wGebietinfo
  10278. Iniwrite, %wAntiSpam%, TaKe-Binder.ini,Sonstiges, wAntiSpam
  10279. Iniwrite, %Killstreak%, TaKe-Binder.ini,Sonstiges, Killstreak
  10280. Iniwrite, %AutoTanken%, TaKe-Binder.ini,Sonstiges, AutoTanken
  10281. Iniwrite, %Autohd%, TaKe-Binder.ini,Sonstiges, Autohd
  10282. Iniwrite, %Drogenmenge%, TaKe-Binder.ini,Sonstiges, Drogenmenge
  10283. IniWrite, %GZS%, TaKe-Binder.ini,Sonstiges, Gangwar
  10284. IniWrite, %gSound%, TaKe-Binder.ini,Sonstiges, sGangwar
  10285. StreamTrayTip("TaKe-Binder","Optionen erfolgreich gespeichert", 4)
  10286. return
  10287. LoadOptions:
  10288. IniRead, mAuto, TaKe-Binder.ini,Wanteds, mAuto
  10289. IniRead, mTHX, TaKe-Binder.ini,Wanteds, mTHX
  10290. IniRead, mTGC, TaKe-Binder.ini,Wanteds, mTGC
  10291. IniRead, mTG, TaKe-Binder.ini,Wanteds, mTG
  10292. IniRead, mechREP, TaKe-Binder.ini,Wanteds, mechREP
  10293. IniRead, mechREF, TaKe-Binder.ini,Wanteds, mechREF
  10294. IniRead, mechTHX, TaKe-Binder.ini,Wanteds, mechTHX
  10295. IniRead, mechTGC, TaKe-Binder.ini,Wanteds, mechTGC
  10296. IniRead, mechTG, TaKe-Binder.ini,Wanteds, mechTG
  10297. IniRead, wMSG, TaKe-Binder.ini,Wanteds, wMSG
  10298. IniRead, wSound, TaKe-Binder.ini,Wanteds, wSound
  10299. IniRead, wGebietinfo, TaKe-Binder.ini,Sonstiges, wGebietinfo
  10300. IniRead, wAntiSpam, TaKe-Binder.ini,Sonstiges, wAntiSpam
  10301. IniRead, Killstreak, TaKe-Binder.ini,Sonstiges, Killstreak
  10302. IniRead, AutoTanken, TaKe-Binder.ini,Sonstiges, AutoTanken
  10303. IniRead, Autohd, TaKe-Binder.ini,Sonstiges, Autohd
  10304. IniRead, Drogenmenge, TaKe-Binder.ini,Sonstiges, Drogenmenge
  10305. IniRead, GZS, TaKe-Binder.ini,Sonstiges, Gangwar
  10306. IniRead, gSound, TaKe-Binder.ini,Sonstiges, sGangwar
  10307. return
  10308. OptionGuiClose:
  10309. Gui,Option: Destroy
  10310. return
  10311. :?:/cadd::
  10312. Suspend permit
  10313. Organizer("Den ganzen Namen oder id ID eintragen!")
  10314. Organizer("Nach dem eintragen des Namens 'Enter' Drücken!")
  10315. SendInput Name:{space}
  10316. Input bname,V I M,{enter}
  10317. SendInput t{end}+{home}{esc}
  10318. if(bname>=0 && bname<500)
  10319. {
  10320. blaname:=GetPlayerNameById(bname)
  10321. }
  10322. else
  10323. {
  10324. blaname:=bname
  10325. }
  10326. sleep 200
  10327. Suspend on
  10328. Organizer("Den Grund des Contracts der auf den Spieler erstellt wird eintragen.")
  10329. Organizer("Nach dem eintragen des Grundes 'Enter' Drücken!")
  10330. SendInput tGrund:{space}
  10331. Suspend on
  10332. Input bgrund,V I M,{enter}
  10333. SendInput t{end}+{home}{esc}
  10334. sleep 200
  10335. If FileExist("Userlist.txt")
  10336. {
  10337. Loop, read, Userlist.txt
  10338. {
  10339. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10340. if (wordarrey2 = blaname)
  10341. {
  10342. inlist := 1
  10343. linetemp = %A_LoopReadLine%
  10344. break
  10345. }
  10346. else
  10347. {
  10348. inlist := 0
  10349. }
  10350. }
  10351. if(inlist == 1)
  10352. {
  10353. Organizer("User bereits in der Liste vorhanden.")
  10354. Organizer("" linetemp )
  10355. }
  10356. else
  10357. {
  10358. FileAppend,
  10359. (
  10360. Name: %blaname% || Grund: %bgrund%`n
  10361. ), Userlist.txt
  10362. Organizer("Name: " blaname " | Grund: " bgrund " --- in die Userlist eingefgt.")
  10363. }
  10364. }
  10365. else
  10366. {
  10367. FileAppend,
  10368. (
  10369. Name: %blaname% || Grund: %bgrund%`n
  10370. ), Userlist.txt
  10371. Organizer("Name: " blaname " | Grund: " bgrund " --- in die Userlist eingefgt.")
  10372. }
  10373. Suspend Off
  10374. return
  10375. :?:/ccheck::
  10376. Suspend permit
  10377. found := 0
  10378. SendInput Suchbegriff:{space}
  10379. Input bsearch,V I M,{enter}
  10380. SendInput t{end}+{home}{esc}
  10381. sleep 200
  10382. If FileExist("Userlist.txt")
  10383. {
  10384. Loop, read, Userlist.txt
  10385. {
  10386. IfInString, A_LoopReadLine, %bsearch%
  10387. {
  10388. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10389. id := GetPlayerIdByName(wordarrey2)
  10390. if(id == -1 && id == -1 or id == -1 or id == -1)
  10391. Organizer("" A_LoopReadLine " || Status:{5B89CB} Offline")
  10392. else
  10393. Organizer("" A_LoopReadLine " || Status:{00FF00} Online (ID: " id ")")
  10394. found := 1
  10395. }
  10396. }
  10397. if(found == 1)
  10398. {
  10399. Organizer("Suche Abgeschlossen")
  10400. }
  10401. else
  10402. {
  10403. Organizer("Keine bereinstimmung gefunden")
  10404. }
  10405. }
  10406. else
  10407. {
  10408. Organizer("Noch keine User eingetragen")
  10409. }
  10410. Suspend Off
  10411. return
  10412. :?:/clist::
  10413. Suspend permit
  10414. If FileExist("Userlist.txt")
  10415. {
  10416. Organizer("{AFAFAF}{00FF04}<<<Contractlist>>>")
  10417. Loop, read, Userlist.txt
  10418. {
  10419. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10420. id := GetPlayerIdByName(wordarrey2)
  10421. if(id == -1 && id == -1 or id == -1 or id == -1)
  10422. Organizer("" A_LoopReadLine " || Status:{5B89CB} Offline")
  10423. else
  10424. Organizer("" A_LoopReadLine " || Status:{00FF00} Online (ID: " id ")")
  10425. }
  10426. }
  10427. else
  10428. {
  10429. Organizer("Noch keine User eingetragen")
  10430. }
  10431. Suspend Off
  10432. return
  10433. :?:/cdel::
  10434. Suspend permit
  10435. zeile := -1
  10436. SendInput Userlöschen:{space}
  10437. Input bdelete,V I M,{enter}
  10438. SendInput t{end}+{home}{esc}
  10439. sleep 200
  10440. Loop, read, Userlist.txt
  10441. {
  10442. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10443. if (wordarrey2 = bdelete)
  10444. {
  10445. zeile := A_Index
  10446. break
  10447. }
  10448. }
  10449. if(zeile = -1)
  10450. {
  10451. Organizer("" bdelete " wurde nicht gefunden. Vergewissern sie sich das der Name")
  10452. Organizer("komplett richtig geschrieben wurde und versuchen sie es erneut")
  10453. Suspend Off
  10454. return
  10455. }
  10456. neu=
  10457. Loop, read, Userlist.txt
  10458. {
  10459. if(A_Index != zeile)
  10460. {
  10461. neu=%neu%%A_LoopReadLine%`n
  10462. }
  10463. }
  10464. FileDelete, Userlist.txt
  10465. FileAppend, %neu%, Userlist.txt
  10466. Organizer("" wordarrey2 " wurde aus der Userliste entfernt.")
  10467. Suspend Off
  10468. return
  10469. :?:/conall::
  10470. Suspend permit
  10471. If FileExist("Userlist.txt")
  10472. {
  10473. Organizer("Das Contracten beginnt.")
  10474. neu=
  10475. Loop, read, Userlist.txt
  10476. {
  10477. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10478. id := GetPlayerIdByName(wordarrey2)
  10479. if(id == -1)
  10480. {
  10481. Organizer("" A_LoopReadLine " || Status:{5B89CB} Offline")
  10482. neu=%neu%Name: %wordarrey2%`n
  10483. }
  10484. else
  10485. {
  10486. SendChat("/contract " wordarrey2 " 10000")
  10487. newcounter:=wordarrey6+1
  10488. neu=%neu%Name: %wordarrey2%`n
  10489. sleep 2000
  10490. }
  10491. }
  10492. Organizer("Alle User haben einen Contract.")
  10493. FileCopy, Userlist.txt,Userlist2.txt
  10494. FileDelete, Userlist.txt
  10495. FileCopy, Userlist2.txt,Userlist.txt
  10496. FileDelete, Userlist2.txt
  10497. }
  10498. else
  10499. {
  10500. Organizer("Noch keine User eingetragen")
  10501. }
  10502. Suspend Off
  10503. return
  10504. :?:/badd::
  10505. suspend permit
  10506. SendInput /add{Space}
  10507. Input, bname, V I M, {enter}
  10508. SendInput {end}+{home}{Del}{Esc}
  10509. if bname is not number
  10510. {
  10511. Organizer("Achtung: Bitte eine gltige ID eingeben!")
  10512. return
  10513. }
  10514. gid:=getplayernamebyid(bname)
  10515. ownbname:=getplayername()
  10516. if ( gid = ownbname )
  10517. {
  10518. Organizer("Du kannst dich nicht selbst zur Blackliste hinzufügen!")
  10519. return
  10520. }
  10521. if( gid == -1)
  10522. {
  10523. Organizer("Dieser Spieler ist nicht online!")
  10524. return
  10525. }
  10526. bumwandeln:=GetPlayernameByID(bname)
  10527. FileRead, bListe, Blackliste.txt
  10528. If InStr(bListe,bumwandeln)
  10529. {
  10530. Organizer("{00FF04}" bumwandeln " {FFFFFF}ist bereits vorhanden!")
  10531. }
  10532. else
  10533. {
  10534. FileAppend, `nbname=%bumwandeln%, Blackliste.txt
  10535. Organizer("{00FF04}" bumwandeln " {FFFFFF}erfolgreich zur Blackliste hinzugefgt!")
  10536. }
  10537. return
  10538. :?:/bdel::
  10539. Suspend Permit
  10540. SendInput ID des Spielers, den du entfernen mchtest:{space}
  10541. Input, bbnameID, V I M, {enter}
  10542. SendInput {end}+{home}{Del}{Esc}
  10543. if bbnameID is not number
  10544. {
  10545. Organizer("Bitte eine gltige ID eingeben!")
  10546. return
  10547. }
  10548. gbname:=GetPlayernameByID(bbnameID)
  10549. if ( gbname == -1) {
  10550. Organizer("Dieser Spieler ist nicht online!")
  10551. return
  10552. }
  10553. FileRead, bListe, Blackliste.txt
  10554. if ( not InStr(bListe, gbname) ) {
  10555. Organizer("{00FF04}" gbname " {FFFFFF}ist nicht in deiner Blackliste!")
  10556. return
  10557. }
  10558. FileRead, bnamen, Blackliste.txt
  10559. ifInString, bnamen, %gbname%
  10560. {
  10561. Loop, read, Blackliste.txt
  10562. {
  10563. ifInString, A_Loopreadline, %gbname%
  10564. continue
  10565. if(A_LoopReadLine!="")
  10566. {
  10567. FileAppend, %a_loopreadline%`n, Blackliste.txt.new
  10568. }
  10569. }
  10570. }
  10571. {
  10572. FileDelete, Blackliste.txt
  10573. FileMove, Blackliste.txt.new, Blackliste.txt, 1
  10574. Organizer("{00FF04}" gbname " {FFFFFF}wurde von deiner Blackliste entfernt!")
  10575. return
  10576. }
  10577. if(gbname == -1)
  10578. {
  10579. Organizer("Fehler: diese ID ist nicht Online!")
  10580. }
  10581. return
  10582. :?:/blist::
  10583. suspend permit
  10584. SendInput {enter}
  10585. Blackon:=0
  10586. Organizer("{AFAFAF}{00FF04}<<<Blackliste>>>")
  10587. Loop, read, Blackliste.txt
  10588. {
  10589. If (A_LoopReadLine = "")
  10590. continue
  10591. IfNotInString, A_LoopReadLine, bname
  10592. continue
  10593. StringSplit, bwort, A_LoopReadLine, =
  10594. id:=getPlayerIdByname(bwort2)
  10595. if (id != -1)
  10596. {
  10597. Organizer("" bwort2 ", ID: " id "")
  10598. Blackon++
  10599. }
  10600. }
  10601. Organizer("Es sind {00FF04}" Blackon " {FFFFFF}Blacklist Spieler Online")
  10602. return
  10603. :?:/bcheck::
  10604. Suspend Permit
  10605. SendInput ID zum überprüfen:{space}
  10606. Input, BLbnameID, V I M, {enter}
  10607. SendInput {end}+{home}{Del}{Esc}
  10608. if BLbnameID is not number
  10609. {
  10610. Organizer("Bitte eine gltige ID eingeben!")
  10611. }
  10612. gbname:=GetPlayernameByID(BLbnameID)
  10613. if ( gbname == -1) {
  10614. Organizer("Dieser Spieler ist nicht online!")
  10615. }
  10616. FileRead, Liste, Blackliste.txt
  10617. if ( not InStr(Liste, gbname) ) {
  10618. Organizer("{00FF04}" gbname " {FFFFFF}wurde nicht auf der Blackliste gefunden.")
  10619. }
  10620. else {
  10621. Organizer("{00FF04}" gbname " {FFFFFF}wurde auf der Blackliste gefunden.")
  10622. }
  10623. return
  10624. :?:/fcops::
  10625. SendInput, {Enter}
  10626. cops_on := 0
  10627. cops := 0
  10628. if(con_all == 0)
  10629. {
  10630. Organizer("{5B89CB}<<<Copliste leer!>>>")
  10631. }
  10632. else
  10633. {
  10634. sendchat("/f |___________________Aktuelle Copliste (Onlinespieler)___________________|")
  10635. Loop, Read, Copliste.txt
  10636. {
  10637. StringSplit, split, A_LoopReadLine, =
  10638. idname:=getPlayerIdByName(split2)
  10639. GegnerPing := getPlayerPingById(idname)
  10640. level := getPlayerScoreById(idname)
  10641. if(idname != -1)
  10642. {
  10643. sendchat("/f Name: " split2 ", (ID: {5B89CB}" idname ") Level: " level ", Ping: " GegnerPing)
  10644. sleep 1005
  10645. cops_on++
  10646. }
  10647. cops++
  10648. }
  10649. sleep 1005
  10650. sendchat("/f Es sind " cops_on "/" cops " Cops Online")
  10651. }
  10652. return
  10653. :?:/bcops::
  10654. SendInput, {Enter}
  10655. cops_on := 0
  10656. cops := 0
  10657. if(con_all == 0)
  10658. {
  10659. Organizer("{5B89CB}<<<Copliste leer!>>>")
  10660. }
  10661. else
  10662. {
  10663. sendchat("|___________________Aktuelle Copliste (Onlinespieler)___________________|")
  10664. Loop, Read, Copliste.txt
  10665. {
  10666. StringSplit, split, A_LoopReadLine, =
  10667. idname:=getPlayerIdByName(split2)
  10668. GegnerPing := getPlayerPingById(idname)
  10669. level := getPlayerScoreById(idname)
  10670. if(idname != -1)
  10671. {
  10672. sendchat("Name: " split2 ", (ID: {5B89CB}" idname ") Level: " level ", Ping: " GegnerPing)
  10673. sleep 1005
  10674. cops_on++
  10675. }
  10676. cops++
  10677. }
  10678. sleep 1005
  10679. sendchat("Es sind " cops_on "/" cops " Cops Online")
  10680. }
  10681. return
  10682. :?:/gcops::
  10683. SendInput, {Enter}
  10684. cops_on := 0
  10685. cops := 0
  10686. if(con_all == 0)
  10687. {
  10688. Organizer("{5B89CB}<<<Copliste leer!>>>")
  10689. }
  10690. else
  10691. {
  10692. sendchat("/g |___________________Aktuelle Copliste (Onlinespieler)___________________|")
  10693. Loop, Read, Copliste.txt
  10694. {
  10695. StringSplit, split, A_LoopReadLine, =
  10696. idname:=getPlayerIdByName(split2)
  10697. GegnerPing := getPlayerPingById(idname)
  10698. level := getPlayerScoreById(idname)
  10699. if(idname != -1)
  10700. {
  10701. sendchat("/f Name: " split2 ", (ID: {5B89CB}" idname ") , Level: " level ", Ping: " GegnerPing)
  10702. sleep 1005
  10703. cops_on++
  10704. }
  10705. cops++
  10706. }
  10707. sleep 1005
  10708. sendchat("/g Es sind " cops_on "/" cops " Cops Online")
  10709. }
  10710. return
  10711. :?:/fgegner::
  10712. SendInput, {Enter}
  10713. runner := 0
  10714. runner_on := 0
  10715. if(con_all == 0)
  10716. {
  10717. Organizer("{5B89CB}<<<Gegnerliste leer!>>>")
  10718. }
  10719. else
  10720. {
  10721. SendChat("/f Aktuelle Gegnerliste (Online)")
  10722. Loop, Read, Gegner.txt
  10723. {
  10724. StringSplit, split, A_LoopReadLine, =
  10725. idname:=getPlayerIdByName(split2)
  10726. if(idname != -1)
  10727. {
  10728. SendChat("/f " split2 " - (ID: " idname ")")
  10729. sleep 1005
  10730. runner_on++
  10731. }
  10732. runner++
  10733. }
  10734. sleep 1005
  10735. SendChat("/f Es sind " . runner_on . " Gegner Online")
  10736. }
  10737. return
  10738. :?:/ggegner::
  10739. SendInput, {Enter}
  10740. runner := 0
  10741. runner_on := 0
  10742. if(con_all == 0)
  10743. {
  10744. Organizer("{00B9FF}<<<Gegnerliste leer!>>>")
  10745. }
  10746. else
  10747. {
  10748. SendChat("/g Aktuelle Gegnerliste (Online)")
  10749. Loop, Read, Gegner.txt
  10750. {
  10751. StringSplit, split, A_LoopReadLine, =
  10752. idname:=getPlayerIdByName(split2)
  10753. if(idname != -1)
  10754. {
  10755. SendChat("/g " split2 " - (ID: " idname ") - ")
  10756. sleep 1005
  10757. runner_on++
  10758. }
  10759. runner++
  10760. }
  10761. sleep 1005
  10762. SendChat("/g Es sind " . runner_on . " Gegner Online")
  10763. }
  10764. return
  10765. :?:/copadd::
  10766. suspend permit
  10767. SendInput /add{Space}
  10768. Input, bname, V I M, {enter}
  10769. SendInput {end}+{home}{Del}{Esc}
  10770. if bname is not number
  10771. {
  10772. Organizer("Achtung: Bitte eine gültige ID eingeben!")
  10773. return
  10774. }
  10775. gid:=getplayernamebyid(bname)
  10776. ownbname:=getplayername()
  10777. if ( gid = ownbname )
  10778. {
  10779. Organizer("Du kannst dich nicht selbst zur Copliste hinzufügen!")
  10780. return
  10781. }
  10782. if( gid == -1)
  10783. {
  10784. Organizer("Dieser Spieler ist nicht online!")
  10785. return
  10786. }
  10787. bumwandeln:=GetPlayernameByID(bname)
  10788. FileRead, bListe, Copliste.txt
  10789. If InStr(bListe,bumwandeln)
  10790. {
  10791. Organizer("{00FF04}" bumwandeln " {FFFFFF}ist bereits vorhanden!")
  10792. }
  10793. else
  10794. {
  10795. FileAppend, `nbname=%bumwandeln%, Copliste.txt
  10796. Organizer("{00FF04}" bumwandeln " {FFFFFF}erfolgreich zur Copliste hinzugefügt!")
  10797. }
  10798. return
  10799. :?:/copdel::
  10800. Suspend Permit
  10801. SendInput ID des Spielers, den du entfernen mchtest:{space}
  10802. Input, bbnameID, V I M, {enter}
  10803. SendInput {end}+{home}{Del}{Esc}
  10804. if bbnameID is not number
  10805. {
  10806. Organizer("Achtung: Bitte eine gültige ID eingeben!")
  10807. return
  10808. }
  10809. gbname:=GetPlayernameByID(bbnameID)
  10810. if ( gbname == -1) {
  10811. Organizer("Dieser Spieler ist nicht online!")
  10812. return
  10813. }
  10814. FileRead, bListe, Copliste.txt
  10815. if ( not InStr(bListe, gbname) ) {
  10816. Organizer("{00FF04}" gbname "{FFFFFF}ist nicht in deiner Copliste!")
  10817. return
  10818. }
  10819. FileRead, bnamen, Copliste.txt
  10820. ifInString, bnamen, %gbname%
  10821. {
  10822. Loop, read, Copliste.txt
  10823. {
  10824. ifInString, A_Loopreadline, %gbname%
  10825. continue
  10826. if(A_LoopReadLine!="")
  10827. {
  10828. FileAppend, %a_loopreadline%`n, Copliste.txt.new
  10829. }
  10830. }
  10831. }
  10832. {
  10833. FileDelete, Copliste.txt
  10834. FileMove, Copliste.txt.new, Copliste.txt, 1
  10835. Organizer("{00FF04}" gbname " {FFFFFF}wurde von deiner Copliste entfernt!")
  10836. return
  10837. }
  10838. if(gbname == -1)
  10839. {
  10840. Organizer("{00FF04}Fehler: diese ID ist nicht Online!")
  10841. }
  10842. return
  10843. :?:/cops::
  10844. suspend permit
  10845. SendInput {enter}
  10846. Blackon:=0
  10847. cops := 0
  10848. Organizer("{AFAFAF}{00FF04}<<<Polizisten>>>")
  10849. Loop, Read, Copliste.txt
  10850. {
  10851. cops++
  10852. If (A_LoopReadLine = "")
  10853. continue
  10854. IfNotInString, A_LoopReadLine, bname
  10855. continue
  10856. StringSplit, bwort, A_LoopReadLine, =
  10857. id:=getPlayerIdByname(bwort2)
  10858. GegnerPing := getPlayerPingById(id)
  10859. if (id != -1)
  10860. {
  10861. Organizer("{FFFFFF}" bwort2 ", ID:{00FF04} " id " - Ping: " GegnerPing "")
  10862. Blackon++
  10863. }
  10864. }
  10865. if(blackon == 1)
  10866. Organizer("Es ist {00FF04}" Blackon "/" cops " {FFFFFF}Polizist Online")
  10867. else
  10868. Organizer("Es sind {00FF04}" Blackon "/" cops " {FFFFFF}Polizisten Online")
  10869. Sendchat("/f Es sind {00FF04}" Blackon "/" cops " Polizisten Online")
  10870. return
  10871. :?:/copcheck::
  10872. Suspend Permit
  10873. SendInput ID zum berprfen:{space}
  10874. Input, BLbnameID, V I M, {enter}
  10875. SendInput {end}+{home}{Del}{Esc}
  10876. if BLbnameID is not number
  10877. {
  10878. Organizer("Achtung: Bitte eine gültige ID eingeben!")
  10879. }
  10880. gbname:=GetPlayernameByID(BLbnameID)
  10881. if ( gbname == -1) {
  10882. Organizer("Dieser Spieler ist nicht online!")
  10883. }
  10884. FileRead, Liste, Copliste.txt
  10885. if ( not InStr(Liste, gbname) ) {
  10886. Organizer("{00FF04}" gbname " {FFFFFF}wurde nicht auf der Gegnerliste gefunden.")
  10887. }
  10888. else {
  10889. Organizer("{00FF04}" gbname " {FFFFFF}wurde auf der Gegnerliste gefunden.")
  10890. }
  10891. return
  10892. :?:/add::
  10893. suspend permit
  10894. Organizer("/add {5B89CB}[ID/Name] {5B89CB}[Gang/Mafia]")
  10895. Organizer("/add 88 Cali Kartell oder /add TaKeshi.ShinoDa Cali Kartell")
  10896. SendInput, /add{Space}
  10897. Input, user1, V I M, {Space}
  10898. Input, GangMafia, V I M, {Enter}
  10899. SendInput {end}+{home}{Del}{Esc}
  10900. if(user == "" || GangMafia == "")
  10901. {
  10902. Organizer("{5B89CB}FEHLER! Der Gegner konnte nicht gespeichert werden.")
  10903. }
  10904. else
  10905. {
  10906. if user1 is integer
  10907. username := getPlayerNameById(user1)
  10908. else
  10909. username := user1
  10910. own:=getplayername()
  10911. if ( username = own )
  10912. {
  10913. Organizer("{5B89CB}FEHLER! Du kannst dich nicht selbst zur Gegnerliste hinzufügen!")
  10914. return
  10915. }
  10916. FileRead, Liste, Gegner.txt
  10917. name:=GetPlayernameByID(user1)
  10918. If InStr(Liste, name)
  10919. {
  10920. Organizer("{5B89CB}FEHLER! {5B89CB}" name " {FFFFFF}ist bereits in der Gegnerliste vorhanden!")
  10921. return
  10922. }
  10923. if(username == "")
  10924. {
  10925. Organizer("Der Gegner konnte nicht gefunden werden.")
  10926. }
  10927. else
  10928. {
  10929. FileAppend, %username%|%GangMafia%`n, Gegner.txt
  10930. Organizer("Der Gegner {5B89CB}'" . username . "' {FFFFFF}wurde auf die Gegnerliste gesetzt.")
  10931. con_all++
  10932. }
  10933. }
  10934. return
  10935. :?:/del::
  10936. Suspend Permit
  10937. Organizer("/del {5B89CB}[ID]")
  10938. SendInput /del{space}
  10939. Input, bbnameID, V I M, {enter}
  10940. SendInput {end}+{home}{Del}{Esc}
  10941. if bbnameID is not number
  10942. {
  10943. Organizer("{5B89CB}FEHLER! Bitte eine gültige ID eingeben!")
  10944. return
  10945. }
  10946. gbname:=GetPlayernameByID(bbnameID)
  10947. if ( gbname == -1) {
  10948. Organizer("{5B89CB}FEHLER! Dieser Spieler ist nicht online!")
  10949. return
  10950. }
  10951. if ( bbnameID == "") {
  10952. Organizer("{5B89CB}FEHLER! Es konnte kein Name festgestellt werden!")
  10953. return
  10954. }
  10955. FileRead, bListe, Gegner.txt
  10956. if ( not InStr(bListe, gbname) ) {
  10957. Organizer("{5B89CB}FEHLER! {5B89CB}" gbname "{FFFFFF} ist nicht in deiner Gegnerliste!")
  10958. return
  10959. }
  10960. FileRead, bnamen, Gegner.txt
  10961. ifInString, bnamen, %gbname%
  10962. {
  10963. Loop, read, Gegner.txt
  10964. {
  10965. ifInString, A_Loopreadline, %gbname%
  10966. continue
  10967. if(A_LoopReadLine!="")
  10968. {
  10969. FileAppend, %a_loopreadline%`n, Gegner.txt.new
  10970. }
  10971. }
  10972. }
  10973. {
  10974. FileDelete, Gegner.txt
  10975. FileMove, Gegner.txt.new, Gegner.txt, 1
  10976. FileDelete, Gegner.txt.new
  10977. Organizer("{00FF04}" gbname " wurde von deiner Gegnerliste entfernt!")
  10978. return
  10979. }
  10980. return
  10981. EnemyGui:
  10982. Gui,Enemy: Destroy
  10983. Gui,Enemy: Font,s10, Comic Sans
  10984. Gui,Enemy: Add, Picture, x0 y0 w600 h436, back03.png
  10985. Gui,Enemy: Add, Text, x32 y30 w200 h20 +BackgroundTrans, - Gegnerliste -
  10986. Gui,Enemy: Add, Text, x32 y60 w200 h20 +BackgroundTrans, /add - Gegner hinzufügen
  10987. Gui,Enemy: Add, Text, x32 y90 w200 h20 +BackgroundTrans, /del - Gegner löschen
  10988. Gui,Enemy: Add, Text, x32 y120 w220 h20 +BackgroundTrans, /check - überprüfen ob schon in Liste
  10989. Gui,Enemy: Add, Text, x32 y150 w200 h20 +BackgroundTrans, /gegner - Liste abrufen
  10990. Gui,Enemy: Add, Text, x282 y30 w200 h20 +BackgroundTrans, - Contractliste -
  10991. Gui,Enemy: Add, Text, x282 y60 w200 h20 +BackgroundTrans, /cadd - Gegner hinzufügen
  10992. Gui,Enemy: Add, Text, x282 y120 w240 h20 +BackgroundTrans, /ccheck - überprüfen ob schon in Liste
  10993. Gui,Enemy: Add, Text, x282 y150 w200 h20 +BackgroundTrans, /conall - Contracten
  10994. Gui,Enemy: Add, Text, x282 y90 w200 h20 +BackgroundTrans, /cdel - Gegner löschen
  10995. Gui,Enemy: Add, Text, x32 y200 w200 h20 +BackgroundTrans, - Blacklist -
  10996. Gui,Enemy: Add, Text, x32 y230 w200 h20 +BackgroundTrans, /badd - Gegner hinzufügen
  10997. Gui,Enemy: Add, Text, x32 y260 w200 h20 +BackgroundTrans, /bdel - Gegner löschen
  10998. Gui,Enemy: Add, Text, x32 y290 w200 h20 +BackgroundTrans, /blist - Liste abrufen
  10999. Gui,Enemy: Show, x611 y271 h436 w600, Gegnerliste
  11000. Return
  11001. EnemyGuiClose:
  11002. Gui,Enemy: Destroy
  11003. return
  11004. :?:/25k::
  11005. Suspend Permit
  11006. SendInput {enter}t/atm{enter}
  11007. Sleep 150
  11008. SendInput {down}{enter}
  11009. Sleep 100
  11010. SendInput 25000{enter}
  11011. Sleep 100
  11012. SendInput {esc}
  11013. Suspend off
  11014. return
  11015. :?:/99k::
  11016. Suspend Permit
  11017. SendInput {enter}t/atm{enter}
  11018. Sleep 150
  11019. SendInput {down}{enter}
  11020. Sleep 100
  11021. SendInput 99000{enter}
  11022. Sleep 100
  11023. SendInput {esc}
  11024. Suspend off
  11025. return
  11026. :?:/50k::
  11027. Suspend Permit
  11028. SendInput {enter}t/atm{enter}
  11029. Sleep 150
  11030. SendInput {down}{enter}
  11031. Sleep 100
  11032. SendInput 50000{enter}
  11033. Sleep 100
  11034. SendInput {esc}
  11035. Suspend off
  11036. return
  11037. :?:/75k::
  11038. Suspend Permit
  11039. SendInput {enter}t/atm{enter}
  11040. Sleep 150
  11041. SendInput {down}{enter}
  11042. Sleep 100
  11043. SendInput 75000{enter}
  11044. Sleep 100
  11045. SendInput {esc}
  11046. Suspend off
  11047. return
  11048. :?:/150k::
  11049. Suspend Permit
  11050. SendInput {enter}t/atm{enter}
  11051. Sleep 150
  11052. SendInput {down}{enter}
  11053. Sleep 100
  11054. SendInput 150000{enter}
  11055. Sleep 100
  11056. SendInput {esc}
  11057. Suspend off
  11058. return
  11059. :?:/200k::
  11060. Suspend Permit
  11061. SendInput {enter}t/atm{enter}
  11062. Sleep 150
  11063. SendInput {down}{enter}
  11064. Sleep 100
  11065. SendInput 200000{enter}
  11066. Sleep 100
  11067. SendInput {esc}
  11068. Suspend off
  11069. return
  11070. :?:/300k::
  11071. Suspend Permit
  11072. SendInput {enter}t/atm{enter}
  11073. Sleep 150
  11074. SendInput {down}{enter}
  11075. Sleep 100
  11076. SendInput 300000{enter}
  11077. Sleep 100
  11078. SendInput {esc}
  11079. Suspend off
  11080. return
  11081. :?:/500k::
  11082. Suspend Permit
  11083. SendInput {enter}t/atm{enter}
  11084. Sleep 150
  11085. SendInput {down}{enter}
  11086. Sleep 100
  11087. SendInput 500000{enter}
  11088. Sleep 100
  11089. SendInput {esc}
  11090. Suspend off
  11091. return
  11092. :?:/999k::
  11093. Suspend Permit
  11094. SendInput {enter}t/atm{enter}
  11095. Sleep 150
  11096. SendInput {down}{enter}
  11097. Sleep 100
  11098. SendInput 999999{enter}
  11099. Sleep 100
  11100. SendInput {esc}
  11101. Suspend off
  11102. return
  11103. GameText:
  11104. IfWinNotActive, GTA:SA:MP
  11105. return
  11106. Loop, read,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11107. {
  11108. Zeile:=A_LoopReadLine
  11109. }
  11110. IfInString,Zeile, ~g~Gangwarkill
  11111. {
  11112. if(gSound=1)
  11113. {
  11114. if(GZS=1)
  11115. {
  11116. SoundPlay, leo.wav
  11117. }
  11118. else if(GZS=2)
  11119. {
  11120. SoundPlay, thomas.wav
  11121. }
  11122. else if(GZS=3)
  11123. {
  11124. SoundPlay, sticks.wav
  11125. }
  11126. }
  11127. if(FSpruch == "")
  11128. FSpruch = GangwarKill
  11129. Kills++
  11130. tKills++
  11131. streak+=1
  11132. MonatKills +=1
  11133. if(ReadStats(text))
  11134. {
  11135. level := keyForEntry(text, "Level")
  11136. KillsDM := keyForEntry(text, "Kills \(DM\)")
  11137. death := keyForEntry(text, "Tode")
  11138. payday := keyForEntry(text, "Minuten seit Payday")
  11139. bank := keyForEntry(text, "Bank")
  11140. }
  11141. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  11142. kills := kills1
  11143. StringReplace, varback,kills, .
  11144. StringReplace, VarBack1,death, .
  11145. IniWrite,%MonatKills%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  11146. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  11147. IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11148. IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
  11149. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
  11150. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11151. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  11152. IniRead, Diff, Take-binder.ini, Optionen, Differenz
  11153. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  11154. Dif:= gangwarkills - tode
  11155. KD:= gangwarkills / tode
  11156. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11157. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11158. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11159. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11160. Organizer("Tages Kills: {56bfeb}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {56bfeb}" kills "{FFFFFF}K/D: {56bfeb}" KD "")
  11161. If(IsPlayerInAnyInterior()==1)
  11162. {
  11163. SendChat("/f " FSpruch " in einem Interior | Kills: " number_format(GangwarKills) " - Heute: " tKills)
  11164. }
  11165. else
  11166. {
  11167. SendChat("/f " FSpruch " in " zone " | Kills: " number_format(GangwarKills) " - Heute: " tKills)
  11168. }
  11169. If(ChatKillspruchmain = 1)
  11170. {
  11171. gosub, RandomSpruch
  11172. Sleep, 300
  11173. }
  11174. if(Killstreak=1)
  11175. {
  11176. if(streak=3)
  11177. {
  11178. SendChat("/f >> 3er «« | Killstreak erreicht!")
  11179. }
  11180. else if(streak=6)
  11181. {
  11182. SendChat("/f >> 6er «« | Killstreak erreicht!")
  11183. }
  11184. else if(streak=9)
  11185. {
  11186. SendChat("/f >> 9er «« | Killstreak erreicht!")
  11187. }
  11188. else if(streak=12)
  11189. {
  11190. SendChat("/f >> 12er «« | Killstreak erreicht!")
  11191. }
  11192. else if(streak=15)
  11193. {
  11194. SendChat("/f >> 15er «« | Killstreak erreicht!")
  11195. }
  11196. else if(streak=18)
  11197. {
  11198. SendChat("/f >> 18er «« | Killstreak erreicht!")
  11199. }
  11200. else if(streak=21)
  11201. {
  11202. SendChat("/f >> 21er «« | Killstreak erreicht!")
  11203. }
  11204. else if(streak=24)
  11205. {
  11206. SendChat("/f >> 24er «« | Killstreak erreicht!")
  11207. }
  11208. }
  11209. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11210. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11211. return
  11212. }
  11213. IfInString,Zeile, ~r~gangwarkill
  11214. {
  11215. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  11216. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  11217. streak:=0
  11218. tdeaths +=1
  11219. MonatTode++
  11220. Iniwrite,0, TaKe-Binder.ini,Drogensystem, DrogenLost
  11221. IniWrite, %tDeaths%, Statistik\statsi.ini, Tageskills, tDeaths
  11222. Iniwrite,%MonatTode%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  11223. IniWrite, 0, Statistik\statsi.ini, Killstreak, streak
  11224. drogenlost := drogen
  11225. If(IsPlayerInAnyInterior()==1)
  11226. {
  11227. SendChat("/f Ein Feind hat mich soeben in einem Interior getötet")
  11228. }
  11229. else
  11230. {
  11231. SendChat("/f Ein Feind hat mich soeben in " zone " getötet")
  11232. }
  11233. FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11234. return
  11235. }
  11236. IfInString,Zeile, ~r~gangzonekill
  11237. {
  11238. streak:=0
  11239. IniWrite, 0, Statistik\statsi.ini, Killstreak, streak
  11240. Deaths++
  11241. tDeaths++
  11242. MonatTode++
  11243. Iniwrite,0, TaKe-Binder.ini,Drogensystem, DrogenLost
  11244. Iniwrite,%MonatTode%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  11245. IniWrite, %tDeaths%, Statistik\statsi.ini, Tageskills, tDeaths
  11246. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  11247. Iniwrite,0, Take-Binder.ini,Drogensystem, Drogen
  11248. Iniwrite,0, Take-Binder.ini,Drogensystem, Used
  11249. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11250. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11251. Organizer("Tages Kills: {56bfeb}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {56bfeb}" kills "{FFFFFF}K/D: {56bfeb}" KD "")
  11252. Organizer("Drogen/Killstreak zhler wurde zurckgesetzt")
  11253. SendChat("/f Ich bin soeben im Gebiet gestorben! (Gangzone down)")
  11254. FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11255. return
  11256. }
  11257. IfInString,Zeile, ~g~Gangzonekill
  11258. {
  11259. if(gSound=1)
  11260. {
  11261. if(GZS=1)
  11262. {
  11263. SoundPlay, leo.wav
  11264. }
  11265. else if(GZS=2)
  11266. {
  11267. SoundPlay, thomas.wav
  11268. }
  11269. else if(GZS=3)
  11270. {
  11271. SoundPlay, sticks.wav
  11272. }
  11273. }
  11274. Kills++
  11275. tKills++
  11276. streak+=1
  11277. MonatKills +=1
  11278. if(ReadStats(text))
  11279. {
  11280. level := keyForEntry(text, "Level")
  11281. KillsDM := keyForEntry(text, "Kills \(DM\)")
  11282. death := keyForEntry(text, "Tode")
  11283. payday := keyForEntry(text, "Minuten seit Payday")
  11284. bank := keyForEntry(text, "Bank")
  11285. }
  11286. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  11287. kills := kills1
  11288. StringReplace, varback,kills, .
  11289. StringReplace, VarBack1,death, .
  11290. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  11291. IniWrite,%MonatKills%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  11292. IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11293. IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
  11294. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11295. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  11296. IniRead, Diff, Take-binder.ini, Optionen, Differenz
  11297. Dif:= gangwarkills - tode
  11298. KD:= gangwarkills / tode
  11299. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11300. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11301. SendChat("/f GangZone | Kills: " Kills " - Heute: " tKills)
  11302. if(Killstreak=1)
  11303. {
  11304. if(streak=3)
  11305. {
  11306. SendChat("/f >> 3er «« | Killstreak erreicht!")
  11307. }
  11308. else if(streak=6)
  11309. {
  11310. SendChat("/f >> 6er «« | Killstreak erreicht!")
  11311. }
  11312. else if(streak=9)
  11313. {
  11314. SendChat("/f >> 9er «« | Killstreak erreicht!")
  11315. }
  11316. else if(streak=12)
  11317. {
  11318. SendChat("/f >> 12er «« | Killstreak erreicht!")
  11319. }
  11320. else if(streak=15)
  11321. {
  11322. SendChat("/f >> 15er «« | Killstreak erreicht!")
  11323. }
  11324. else if(streak=18)
  11325. {
  11326. SendChat("/f >> 18er «« | Killstreak erreicht!")
  11327. }
  11328. else if(streak=21)
  11329. {
  11330. SendChat("/f >> 21er «« | Killstreak erreicht!")
  11331. }
  11332. else if(streak=24)
  11333. {
  11334. SendChat("/f >> 24er «« | Killstreak erreicht!")
  11335. }
  11336. }
  11337. Organizer("Tages Kills: {56bfeb}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {56bfeb}" kills "{FFFFFF}K/D: {56bfeb}" KD "")
  11338. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
  11339. FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11340. return
  11341. }
  11342. IfInString,Zeile, ~n~~w~Restliche Haftstrafe:
  11343. {
  11344. RegExMatch(Zeile,"Restliche Haftstrafe: (.*) sec", Ptime)
  11345. Organizer("Restliche Haftstrafe: " FormatSeconds(Ptime1))
  11346. FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11347. return
  11348. }
  11349. return
  11350. :?:/idsms::
  11351. suspend permit
  11352. SendInput /number{space}
  11353. Input uwe,V I M,{enter}
  11354. Sleep 250
  11355. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  11356. {
  11357. If InStr(A_LoopReadLine, ", Ph:")
  11358. {
  11359. RegExMatch(A_LoopReadLine, "Name: .*, Ph: (\w*)" ,number)
  11360. SendInput, t^a/sms %number1%{space}
  11361. }
  11362. }
  11363. Suspend off
  11364. return
  11365. :?:/cd::
  11366. Suspend Permit
  11367. SendInput,{enter}
  11368. Suspend Off
  11369. Sleep 200
  11370. {
  11371. SendChat("/s 3 ")
  11372. KeyWait, <, D T1
  11373. If !ErrorLevel
  11374. {
  11375. SendChat("/s Countdown abgebrochen")
  11376. return
  11377. }
  11378. }
  11379. {
  11380. SendChat("/s 2 ")
  11381. KeyWait, <, D T1
  11382. If !ErrorLevel
  11383. {
  11384. SendChat("/s Countdown abgebrochen")
  11385. return
  11386. }
  11387. }
  11388. {
  11389. SendChat("/s 1 ")
  11390. KeyWait, <, D T1
  11391. If !ErrorLevel
  11392. {
  11393. SendChat("/s Countdown abgebrochen")
  11394. return
  11395. }
  11396. }
  11397. {
  11398. SendChat("/s GO ")
  11399. KeyWait, <, D T1
  11400. If !ErrorLevel
  11401. {
  11402. SendChat("/s Countdown abgebrochen")
  11403. return
  11404. }
  11405. }
  11406. Return
  11407. :?:/fstand::
  11408. Suspend permit
  11409. SendInput {enter}
  11410. if(ReadStats(text))
  11411. {
  11412. Bank := keyForEntry(text, "Bank")
  11413. Geldd := keyForEntry(text, "Geld")
  11414. Level := keyForEntry(text, "Level")
  11415. Respekt := keyForEntry(text, "Respekt")
  11416. barren := keyForEntry(text, "Goldbarren")
  11417. gesamt := number_format(bank)
  11418. geld := number_format(geldd)
  11419. SendChat("/f |________Finanzen von " getplayername() "________|")
  11420. Sendchat("/f Level: [" level "] Respekt: [" respekt "] Bargeld: [" geld "]")
  11421. sleep 1100
  11422. SendChat("/f Bankvermögen: [" bank "] Goldbarren: [" barren "]")
  11423. }
  11424. Suspend Off
  11425. Hotkey, t, On
  11426. return
  11427. :?:/kstand::
  11428. Suspend permit
  11429. SendInput {enter}
  11430. if(ReadStats(text))
  11431. {
  11432. Bank := keyForEntry(text, "Bank")
  11433. Geldd := keyForEntry(text, "Geld")
  11434. Level := keyForEntry(text, "Level")
  11435. Respekt := keyForEntry(text, "Respekt")
  11436. barren := keyForEntry(text, "Goldbarren")
  11437. gesamt := number_format(bank)
  11438. geld := number_format(geldd)
  11439. SendChat("|________Finanzen von " getplayername() "________|")
  11440. Sendchat("Level: [" level "] Respekt: [" respekt "] Bargeld: [" geld "]")
  11441. sleep 1100
  11442. SendChat("Bankvermögen: [" bank "] Goldbarren: [" barren "]")
  11443. }
  11444. Suspend Off
  11445. Hotkey, t, On
  11446. return
  11447. :?:/gstand::
  11448. Suspend permit
  11449. SendInput {enter}
  11450. if(ReadStats(text))
  11451. {
  11452. Bank := keyForEntry(text, "Bank")
  11453. Geldd := keyForEntry(text, "Geld")
  11454. Level := keyForEntry(text, "Level")
  11455. Respekt := keyForEntry(text, "Respekt")
  11456. barren := keyForEntry(text, "Goldbarren")
  11457. gesamt := number_format(bank)
  11458. geld := number_format(geldd)
  11459. SendChat("/g |________Finanzen von " getplayername() "________|")
  11460. Sendchat("/g Level: [" level "] Respekt: [" respekt "] Bargeld: [" geld "]")
  11461. sleep 1100
  11462. SendChat("/g Bankvermögen: [" bank "] Goldbarren: [" barren "]")
  11463. }
  11464. Suspend Off
  11465. Hotkey, t, On
  11466. return
  11467. number_format(num){
  11468. return RegExReplace(num, "\B(?=(\d{3})+(?!\d))", ".")
  11469. }
  11470. :?:/d2::
  11471. Suspend Permit
  11472. SendChat("/gtake drugs 2")
  11473. SendInput, {enter}
  11474. Suspend Off
  11475. return
  11476. :?:/d4::
  11477. Suspend Permit
  11478. SendChat("/gtake drugs 4")
  11479. SendInput, {enter}
  11480. Suspend Off
  11481. return
  11482. :?:/d6::
  11483. Suspend Permit
  11484. SendChat("/gtake drugs 6")
  11485. SendInput, {enter}
  11486. Suspend Off
  11487. return
  11488. :?:/d8::
  11489. Suspend Permit
  11490. SendChat("/gtake drugs 8")
  11491. SendInput, {enter}
  11492. Suspend Off
  11493. return
  11494. :?:/d10::
  11495. Suspend Permit
  11496. SendChat("/gtake drugs 10")
  11497. SendInput, {enter}
  11498. Suspend Off
  11499. return
  11500. :?:/d12::
  11501. Suspend Permit
  11502. SendChat("/gtake drugs 12")
  11503. SendInput, {enter}
  11504. Suspend Off
  11505. return
  11506. :?:/d14::
  11507. Suspend Permit
  11508. SendChat("/gtake drugs 14")
  11509. SendInput, {enter}
  11510. Suspend Off
  11511. return
  11512. :?:/d16::
  11513. Suspend Permit
  11514. SendChat("/gtake drugs 16")
  11515. SendInput, {enter}
  11516. Suspend Off
  11517. return
  11518. :?:/d18::
  11519. Suspend Permit
  11520. SendChat("/gtake drugs 18")
  11521. SendInput, {enter}
  11522. Suspend Off
  11523. return
  11524. :?:/d20::
  11525. Suspend Permit
  11526. SendChat("/gtake drugs 20")
  11527. SendInput, {enter}
  11528. Suspend Off
  11529. return
  11530. :?:/d24::
  11531. Suspend Permit
  11532. SendChat("/gtake drugs 24")
  11533. SendInput, {enter}
  11534. Suspend Off
  11535. return
  11536. :?:/d26::
  11537. Suspend Permit
  11538. SendChat("/gtake drugs 26")
  11539. SendInput, {enter}
  11540. Suspend Off
  11541. return
  11542. :?:/reload::
  11543. Suspend Permit
  11544. SendInput {enter}
  11545. Organizer("{00FF04}Keybinder wird neu gestartet!")
  11546. ShowGameText("~h~~w~Keybinder wird ~b~neugestartet", 2000, 3)
  11547. Reload
  11548. WinMaximize GTA:SA:MP
  11549. Suspend Off
  11550. return
  11551. :?:/dkd::
  11552. suspend permit
  11553. Sendinput {enter}
  11554. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  11555. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  11556. tKD := tKills/tDeaths
  11557. StringTrimRight,DKD,tKD,4
  11558. If(%tDeaths%=0)
  11559. {
  11560. tKD := tKills/1
  11561. StringTrimRight,DKD,tKD,4
  11562. }
  11563. DDif := tKills-tDeaths
  11564. IfEqual, DKD
  11565. DKD:= 0.00
  11566. sendchat("Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
  11567. Suspend Off
  11568. return
  11569. :?:/fdkd::
  11570. suspend permit
  11571. Sendinput {enter}
  11572. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  11573. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  11574. tKD := tKills/tDeaths
  11575. StringTrimRight,DKD,tKD,4
  11576. If(%tDeaths%=0)
  11577. {
  11578. tKD := tKills/1
  11579. StringTrimRight,DKD,tKD,4
  11580. }
  11581. DDif := tKills-tDeaths
  11582. IfEqual, DKD
  11583. DKD:= 0.00
  11584. sendchat("/f Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
  11585. Suspend Off
  11586. return
  11587. :?:/paydaysbis::
  11588. Suspend Permit
  11589. SendInput /betrag{Space}
  11590. Organizer("/betrag [Betrag]")
  11591. Input, betrag, V I M, {enter}
  11592. SendInput {end}+{home}{Del}{Esc}
  11593. if betrag is not number
  11594. {
  11595. Organizer("Bitte eine gültige Summe eingeben!")
  11596. return
  11597. }
  11598. if(ReadStats(text))
  11599. {
  11600. Bank := keyForEntry(text, "Bank")
  11601. gesamt := number_format(bank)
  11602. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  11603. StringReplace, VarBack, Bankl1,.,,All
  11604. If(Varback > betrag)
  11605. {
  11606. Organizer("Du hast diesen Betrag schon erreicht!")
  11607. return
  11608. }
  11609. zw1 := betrag/VarBack
  11610. rw1 := log(zw1)
  11611. rw2 := log(1.001)
  11612. rw3 := log(1.0015)
  11613. res := Round(rw1/rw2)
  11614. res1 := Round(rw1/rw3)
  11615. Betragsplitted := number_format(Betrag)
  11616. Organizer("Bis $" Betragsplitted " Bankvermögen benötigst du noch " res " Paydays ohne und " res1 " mit Donator.")
  11617. SendChat("Bis $" Betragsplitted " Bankvermögen benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  11618. }
  11619. Suspend off
  11620. return
  11621. :?:/gpaydaysbis::
  11622. Suspend Permit
  11623. SendInput /betrag{Space}
  11624. Organizer("/betrag [Betrag]")
  11625. Input, betrag, V I M, {enter}
  11626. SendInput {end}+{home}{Del}{Esc}
  11627. if betrag is not number
  11628. {
  11629. Organizer("Bitte eine gültige Summe eingeben!")
  11630. return
  11631. }
  11632. if(ReadStats(text))
  11633. {
  11634. Bank := keyForEntry(text, "Bank")
  11635. gesamt := number_format(bank)
  11636. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  11637. StringReplace, VarBack, Bankl1,.,,All
  11638. If(Varback > betrag)
  11639. {
  11640. Organizer("Du hast diesen Betrag schon erreicht!")
  11641. return
  11642. }
  11643. zw1 := betrag/VarBack
  11644. rw1 := log(zw1)
  11645. rw2 := log(1.001)
  11646. rw3 := log(1.0015)
  11647. res := Round(rw1/rw2)
  11648. res1 := Round(rw1/rw3)
  11649. Betragsplitted := number_format(Betrag)
  11650. SendChat("/g Bis $" Betragsplitted " Bankvermögen benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  11651. }
  11652. Suspend off
  11653. return
  11654. :?:/fpaydaysbis::
  11655. Suspend Permit
  11656. SendInput /betrag{Space}
  11657. Organizer("/betrag [Betrag]")
  11658. Input, betrag, V I M, {enter}
  11659. SendInput {end}+{home}{Del}{Esc}
  11660. if betrag is not number
  11661. {
  11662. Organizer("Bitte eine gültige Summe eingeben!")
  11663. return
  11664. }
  11665. if(ReadStats(text))
  11666. {
  11667. Bank := keyForEntry(text, "Bank")
  11668. gesamt := number_format(bank)
  11669. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  11670. StringReplace, VarBack, Bankl1,.,,All
  11671. If(Varback > betrag)
  11672. {
  11673. Organizer("Du hast diesen Betrag schon erreicht!")
  11674. return
  11675. }
  11676. zw1 := betrag/VarBack
  11677. rw1 := log(zw1)
  11678. rw2 := log(1.001)
  11679. rw3 := log(1.0015)
  11680. res := Round(rw1/rw2)
  11681. res1 := Round(rw1/rw3)
  11682. Betragsplitted := number_format(Betrag)
  11683. SendChat("/f Bis $" Betragsplitted " Bankvermögen benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  11684. }
  11685. Suspend off
  11686. return
  11687. :?:/twp::
  11688. suspend permit
  11689. sendinput /take weapons{space}
  11690. return
  11691. :?:/ep::
  11692. Suspend Permit
  11693. SendInput, {enter}
  11694. SendChat("/eatpizza")
  11695. Suspend Off
  11696. return
  11697. :?:/fud::
  11698. Suspend Permit
  11699. SendInput, {enter}
  11700. SendChat("/me pfeift sich 2 Gramm Drogen rein.")
  11701. Suspend Off
  11702. return
  11703. :?:/untieenemy::
  11704. Suspend Permit
  11705. SendInput, {enter}
  11706. If(opferid = "")
  11707. {
  11708. Organizer("Es wurde kein Opfer eingetragen")
  11709. return
  11710. }
  11711. If(partnerid = "")
  11712. {
  11713. Organizer("Es wurde kein Partner eingetragen")
  11714. return
  11715. }
  11716. SendInput, {enter}
  11717. SendChat("/f " opfername " wird in 3 Sekunden entfesselt. " partnername " bereite dich vor !")
  11718. Sendchat("/take weapons " opfername "")
  11719. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  11720. {
  11721. IfInString, A_LoopReadLine, deiner nähe
  11722. {
  11723. sendchat("/f Countdown abgebrochen ! " opfername " ist nicht in deiner Nähe !")
  11724. return
  11725. }
  11726. }
  11727. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  11728. {
  11729. IfInString, A_LoopReadLine, Waffen abgenommen.
  11730. {
  11731. Sendchat("/f " opfername " wurden die Waffen abgnommen")
  11732. }
  11733. }
  11734. Sleep 2000
  11735. {
  11736. SendChat("/f >> 3 <<")
  11737. KeyWait, <, D T1
  11738. If !ErrorLevel
  11739. {
  11740. SendChat("/f Countdown abgebrochen")
  11741. return
  11742. }
  11743. }
  11744. {
  11745. SendChat("/f >> 2 <<")
  11746. KeyWait, <, D T1
  11747. If !ErrorLevel
  11748. {
  11749. SendChat("/f Countdown abgebrochen")
  11750. return
  11751. }
  11752. }
  11753. {
  11754. SendChat("/f >> 1 <<")
  11755. KeyWait, <, D T1
  11756. If !ErrorLevel
  11757. {
  11758. SendChat("/f Countdown abgebrochen")
  11759. return
  11760. }
  11761. }
  11762. {
  11763. SendChat("/f " opfername " wurde entfesselt !")
  11764. SendChat("/untie " opfername "")
  11765. KeyWait, <, D T1
  11766. If !ErrorLevel
  11767. {
  11768. SendChat("/f Countdown abgebrochen")
  11769. return
  11770. }
  11771. }
  11772. Suspend Off
  11773. return
  11774. :?:/gdkd::
  11775. suspend permit
  11776. Sendinput {enter}
  11777. IniRead, tKills, Statistik\statsi.ini, Tageskills,tkills
  11778. IniRead, tDeaths, Statistik\statsi.ini, Tageskills,tkills
  11779. tKD := tKills/tDeaths
  11780. StringTrimRight,DKD,tKD,4
  11781. If(%tDeaths%=0)
  11782. {
  11783. tKD := tKills/1
  11784. StringTrimRight,DKD,tKD,4
  11785. }
  11786. DDif := tKills-tDeaths
  11787. IfEqual, DKD
  11788. DKD:= 0.00
  11789. sendchat("/g Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
  11790. Suspend Off
  11791. return
  11792. :?:/dkd::
  11793. suspend permit
  11794. Sendinput {enter}
  11795. IniRead, tKills, Statistik\statsi.ini, Tageskills,tkills
  11796. IniRead, tDeaths, Statistik\statsi.ini, Tageskills,tkills
  11797. tKD := tKills/tDeaths
  11798. StringTrimRight,DKD,tKD,4
  11799. If(%tDeaths%=0)
  11800. {
  11801. tKD := tKills/1
  11802. StringTrimRight,DKD,tKD,4
  11803. }
  11804. DDif := tKills-tDeaths
  11805. IfEqual, DKD
  11806. DKD:= 0.00
  11807. sendchat("/F Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
  11808. Suspend Off
  11809. return
  11810. :?:/setddeaths::
  11811. Suspend Permit
  11812. Sendinput Tages Tode:{space}
  11813. Input tDeaths,V I M,{enter}
  11814. IniWrite, %tDeaths%, Statistik\statsi.ini, Tageskills, tDeaths
  11815. SendInput {end}+{home}{Del}{esc}
  11816. if tDeaths is not number
  11817. {
  11818. Organizer("Fehler! verwende dafür Zahlen!")
  11819. tDeahts:=0
  11820. }
  11821. else
  11822. {
  11823. Organizer("Tages Tode auf " tDeaths " gesetzt")
  11824. }
  11825. Suspend Off
  11826. return
  11827. :?:/kd::
  11828. Suspend Permit
  11829. Sendinput, {enter}
  11830. if(ReadStats(text))
  11831. {
  11832. level := keyForEntry(text, "Level")
  11833. KillsDM := keyForEntry(text, "Kills \(DM\)")
  11834. death := keyForEntry(text, "Tode")
  11835. payday := keyForEntry(text, "Minuten seit Payday")
  11836. bank := keyForEntry(text, "Bank")
  11837. }
  11838. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  11839. kills := kills1
  11840. StringReplace, varback,kills, .
  11841. StringReplace, VarBack1,death, .
  11842. IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11843. IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
  11844. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11845. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  11846. IniRead, Diff, Take-binder.ini, Optionen, Differenz
  11847. Dif:= gangwarkills - tode
  11848. KD:= gangwarkills / tode
  11849. StringTrimRight, KD, KD, 3
  11850. IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
  11851. SendChat("Kills: " Kills " | Tode: " death " | Differenz: " number_format(dif) " | K/D: " KD "")
  11852. return
  11853. :?:/mkd::
  11854. suspend permit
  11855. Sendinput {enter}
  11856. IniRead,MonatTode,Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  11857. IniRead,MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  11858. MKD := Round(MonatKills/MonatTode,3)
  11859. MDif := MonatKills-MonatTode
  11860. FormatTime,Monattime,,MMMM
  11861. If(%MonatTode%=0)
  11862. {
  11863. MKD := Round(MonatKills/1,3)
  11864. }
  11865. if(MonatKills=="ERROR"){
  11866. MonatKills= 0
  11867. }
  11868. if(mKD=="ERROR"){
  11869. mKD= 0.00
  11870. }
  11871. if(MDif=="ERROR"){
  11872. MDif= 0
  11873. }
  11874. sendchat(">>>> Kills im " . Monattime . ": " . MonatKills . " - Tode im " Monattime ": " MonatTode " - Differenz: " . MDif . " Kills - KD: " . MKD . " ««")
  11875. Hotkey, t, On
  11876. Suspend off
  11877. return
  11878. :?:/fmkd::
  11879. suspend permit
  11880. Sendinput {enter}
  11881. IniRead,MonatTode,Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  11882. IniRead,MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  11883. MKD := Round(MonatKills/MonatTode,3)
  11884. MDif := MonatKills-MonatTode
  11885. FormatTime,Monattime,,MMMM
  11886. If(%MonatTode%=0)
  11887. {
  11888. MKD := Round(MonatKills/1,3)
  11889. }
  11890. if(MonatKills=="ERROR"){
  11891. MonatKills= 0
  11892. }
  11893. if(mKD=="ERROR"){
  11894. mKD= 0.00
  11895. }
  11896. if(MDif=="ERROR"){
  11897. MDif= 0
  11898. }
  11899. sendchat("/f >>>> Kills im " . Monattime . ": " . MonatKills . " - Tode im " Monattime ": " MonatTode " - Differenz: " . MDif . " Kills - KD: " . MKD . " ««")
  11900. Hotkey, t, On
  11901. Suspend off
  11902. return
  11903. :?:/gmkd::
  11904. suspend permit
  11905. Sendinput {enter}
  11906. IniRead,MonatTode,Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  11907. IniRead,MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  11908. MKD := Round(MonatKills/MonatTode,3)
  11909. MDif := MonatKills-MonatTode
  11910. FormatTime,Monattime,,MMMM
  11911. If(%MonatTode%=0)
  11912. {
  11913. MKD := Round(MonatKills/1,3)
  11914. }
  11915. if(MonatKills=="ERROR"){
  11916. MonatKills= 0
  11917. }
  11918. if(mKD=="ERROR"){
  11919. mKD= 0.00
  11920. }
  11921. if(MDif=="ERROR"){
  11922. MDif= 0
  11923. }
  11924. sendchat("/g >>>> Kills im " . Monattime . ": " . MonatKills . " - Tode im " Monattime ": " MonatTode " - Differenz: " . MDif . " Kills - KD: " . MKD . " ««")
  11925. Hotkey, t, On
  11926. Suspend off
  11927. return
  11928. :?:/kd::
  11929. Suspend Permit
  11930. Sendinput, {enter}
  11931. if(ReadStats(text))
  11932. {
  11933. level := keyForEntry(text, "Level")
  11934. KillsDM := keyForEntry(text, "Kills \(DM\)")
  11935. death := keyForEntry(text, "Tode")
  11936. payday := keyForEntry(text, "Minuten seit Payday")
  11937. bank := keyForEntry(text, "Bank")
  11938. }
  11939. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  11940. kills := kills1
  11941. StringReplace, VarBack, Kills, .
  11942. StringReplace, VarBack1, Tode, .
  11943. IniWrite, %kills%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11944. IniWrite, %death%, Statistik\statsi.ini, TodeGesamt, Tode
  11945. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11946. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  11947. StringReplace, killsw, gangwarkills, .
  11948. StringReplace, tods, Tode, .
  11949. Dif:= gangwarkills - tode
  11950. KD:= gangwarkills / tode
  11951. StringTrimRight, KD, KD, 3
  11952. IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
  11953. SendChat("Kills: " Gangwarkills " | Tode: " tode " | Differenz: " number_format(killsw - tods) " | K/D: " KD "")
  11954. return
  11955. :?:/fkd::
  11956. Suspend Permit
  11957. Sendinput, {enter}
  11958. if(ReadStats(text))
  11959. {
  11960. level := keyForEntry(text, "Level")
  11961. KillsDM := keyForEntry(text, "Kills \(DM\)")
  11962. death := keyForEntry(text, "Tode")
  11963. payday := keyForEntry(text, "Minuten seit Payday")
  11964. bank := keyForEntry(text, "Bank")
  11965. }
  11966. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  11967. kills := kills1
  11968. StringReplace, VarBack, Kills, .
  11969. StringReplace, VarBack1, Tode, .
  11970. IniWrite, %kills%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11971. IniWrite, %death%, Statistik\statsi.ini, TodeGesamt, Tode
  11972. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11973. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  11974. StringReplace, killsw, gangwarkills, .
  11975. StringReplace, tods, Tode, .
  11976. Dif:= gangwarkills - tode
  11977. KD:= gangwarkills / tode
  11978. StringTrimRight, KD, KD, 3
  11979. IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
  11980. SendChat("/f Kills: " Gangwarkills " | Tode: " tode " | Differenz: " number_format(killsw - tods) " | K/D: " KD "")
  11981. return
  11982. :?:/gkd::
  11983. Suspend Permit
  11984. Sendinput, {enter}
  11985. if(ReadStats(text))
  11986. {
  11987. level := keyForEntry(text, "Level")
  11988. KillsDM := keyForEntry(text, "Kills \(DM\)")
  11989. death := keyForEntry(text, "Tode")
  11990. payday := keyForEntry(text, "Minuten seit Payday")
  11991. bank := keyForEntry(text, "Bank")
  11992. }
  11993. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  11994. kills := kills1
  11995. StringReplace, VarBack, Kills, .
  11996. StringReplace, VarBack1, Tode, .
  11997. IniWrite, %kills%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11998. IniWrite, %death%, Statistik\statsi.ini, TodeGesamt, Tode
  11999. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  12000. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  12001. StringReplace, killsw, gangwarkills, .
  12002. StringReplace, tods, Tode, .
  12003. Dif:= gangwarkills - tode
  12004. KD:= gangwarkills / tode
  12005. StringTrimRight, KD, KD, 3
  12006. IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
  12007. SendChat("/g Kills: " Gangwarkills " | Tode: " tode " | Differenz: " number_format(killsw - tods) " | K/D: " KD "")
  12008. return
  12009. :?:/kills::
  12010. Suspend Permit
  12011. SendInput {enter}
  12012. if(ReadStats_s(text))
  12013. {
  12014. skills := keyForEntry(text, "Kills\(DM\)")
  12015. sDeaths := keyForEntry(text, "Tode")
  12016. RegExMatch(skills,"(.*)\((.*)\)",pkills)
  12017. SendChat("/f Kills: " pkills1 " - Heute: " tKills " ")
  12018. }
  12019. else
  12020. {
  12021. SendChat("/f Kills: " Kills " - Heute: " tKills " ")
  12022. }
  12023. Suspend off
  12024. return
  12025. :?:/deaths::
  12026. Suspend Permit
  12027. SendInput {enter}
  12028. if(ReadStats_s(text))
  12029. {
  12030. sDeaths := keyForEntry(text, "Tode")
  12031. SendChat("/f Tode: " sDeaths " - Heute: " tDeaths " ")
  12032. }
  12033. else
  12034. {
  12035. SendChat("/f Tode: " Deaths " - Heute: " tDeaths " ")
  12036. }
  12037. Suspend off
  12038. return
  12039. :?:/rechner::
  12040. Suspend, Permit
  12041. Organizer("|________RECHNER________|")
  12042. Organizer("1. -- Materials --")
  12043. Organizer("2. -- Drogen --")
  12044. Organizer("3. -- Codes --")
  12045. Organizer("4. -- Illeagle Fische --")
  12046. Organizer("5. -- LBS Fische --")
  12047. Organizer("6. -- AD's -")
  12048. Organizer("7. -- Hackwanteds --")
  12049. SendInput Zahl:{space} (drücke Space nach der Eingabe){home}{right 6}
  12050. Input, writed, VIM, {space}
  12051. SendInput {end}+{home}{Del}{Esc}
  12052. if(writed=1)
  12053. {
  12054. sib = 0
  12055. SendInput tGib die gewnschte Menge der Materials ein: {space} (Enter -> Bestätigen){left 22}
  12056. Input, sib, VIM, {enter}
  12057. SendInput {end}+{home}{Del}{Esc}
  12058. if sib is not number
  12059. {
  12060. Organizer("Verwende dafür nur Zahlen!.")
  12061. return
  12062. }
  12063. dg:=sib*25
  12064. dg2:=sib*10
  12065. rechnen := number_format(dg)
  12066. min := number_format(dg2)
  12067. ware := number_format(sib)
  12068. Organizer("Rechner: " ware " Materials -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12069. }
  12070. if(writed=2)
  12071. {
  12072. sib = 0
  12073. SendInput tGib die gewnschte Menge in Gramm ein: {space} (space -> Bestätigen){left 22}
  12074. Input, sib, VIM, {space}
  12075. SendInput {end}+{home}{Del}{Esc}
  12076. SendInput tGib den gewünschten Preis pro Gramm ein: {space} (Enter -> Bestätigen){left 22}
  12077. Input, drugpreis, VIM, {enter}
  12078. if sib is not number
  12079. {
  12080. Organizer("Verwende dafür nur Zahlen!")
  12081. return
  12082. }
  12083. dg:=sib*drugpreis
  12084. drugspreis := number_format(drugpreis)
  12085. rechnen := number_format(dg)
  12086. ware := number_format(sib)
  12087. SendInput {end}+{home}{Del}{Esc}
  12088. Organizer("" "Rechner: " ware "g -> zum Preis von{5B89CB} $" drugspreis "/g{FFFFFF} sind{5B89CB} $" rechnen ".")
  12089. }
  12090. if(writed=3)
  12091. {
  12092. sib = 0
  12093. SendInput tGib die gewnschte Menge der Codes ein: {space} (Enter -> Bestätigen){left 22}
  12094. Input, sib, VIM, {enter}
  12095. if sib is not number
  12096. {
  12097. Organizer("Verwende dafür nur Zahlen!.")
  12098. return
  12099. }
  12100. dg:=sib*50000
  12101. dg2:=sib*30000
  12102. rechnen := number_format(dg)
  12103. min := number_format(dg2)
  12104. ware := number_format(sib)
  12105. SendInput {end}+{home}{Del}{Esc}
  12106. Organizer("Rechner: " ware " Codes -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12107. }
  12108. else if(writed=4)
  12109. {
  12110. sib = 0
  12111. SendInput tGib die gewnschte Menge der Illegalen Fische ein: {space} (Enter -> Bestätigen){left 22}
  12112. Input, sib, VIM, {enter}
  12113. if sib is not number
  12114. {
  12115. Organizer("Verwende dafür nur Zahlen!.")
  12116. return
  12117. }
  12118. dg:=sib*2000
  12119. dg2:=sib*1000
  12120. rechnen := number_format(dg)
  12121. min := number_format(dg2)
  12122. ware := number_format(sib)
  12123. SendInput {end}+{home}{Del}{Esc}
  12124. Organizer("Rechner: " ware " Fische -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12125. }
  12126. else if(writed=5)
  12127. {
  12128. sib = 0
  12129. SendInput tGib das Gewicht des LBS Fisches ein: {space} (Enter -> Bestätigen){left 22}
  12130. Input, sib, VIM, {enter}
  12131. if sib is not number
  12132. {
  12133. Organizer("Verwende dafür nur Zahlen!.")
  12134. return
  12135. }
  12136. dg:=sib*200
  12137. dg2:=sib*100
  12138. rechnen := number_format(dg)
  12139. min := number_format(dg2)
  12140. ware := number_format(sib)
  12141. SendInput {end}+{home}{Del}{Esc}
  12142. Organizer("Rechner: " ware " LBS -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12143. }
  12144. else if(writed=6)
  12145. {
  12146. sib = 0
  12147. SendInput tGib die gewnschte Menge der AD's ein: {space} (Enter -> Bestätigen){left 22}
  12148. Input, sib, VIM, {enter}
  12149. if sib is not number
  12150. {
  12151. Organizer("Verwende dafür nur Zahlen!.")
  12152. return
  12153. }
  12154. dg:=sib*50000
  12155. rechnen := number_format(dg)
  12156. ware := number_format(sib)
  12157. SendInput {end}+{home}{Del}{Esc}
  12158. Organizer("Rechner: " ware " AD's -> max. {088A08}" rechnen "$")
  12159. }
  12160. else if(writed=7)
  12161. {
  12162. sib = 0
  12163. SendInput tGib die gewnschte Hackwanteds ein: {space} (Enter -> Bestätigen){left 22}
  12164. Input, sib, VIM, {enter}
  12165. if sib is not number
  12166. {
  12167. Organizer("Verwende dafür nur Zahlen!.")
  12168. return
  12169. }
  12170. dg:=sib*500000
  12171. dg2:=sib*50000
  12172. rechnen := number_format(dg)
  12173. min := number_format(dg2)
  12174. ware := number_format(sib)
  12175. SendInput {end}+{home}{Del}{Esc}
  12176. Organizer("Rechner: " ware " Wanteds -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12177. }
  12178. Suspend Off
  12179. return
  12180. :?:/setdrugs::
  12181. Suspend permit
  12182. SendInput Drogen dabei:{space}
  12183. Input drogen,V I M,{enter}
  12184. SendInput {end}+{home}{Del}{Esc}
  12185. if drogen is not number
  12186. {
  12187. Organizer("Fehler! verwende dafür Zahlen!")
  12188. drogen:=0
  12189. }
  12190. else
  12191. {
  12192. IniWrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  12193. Organizer("Drogen dabei auf " drogen "g gesetzt.")
  12194. }
  12195. Suspend Off
  12196. return
  12197. :?:/setused::
  12198. Suspend permit
  12199. SendInput Drogen genommen:{space}
  12200. Input genommen,V I M,{enter}
  12201. SendInput {end}+{home}{Del}{Esc}
  12202. if genommen is not number
  12203. {
  12204. Organizer("Fehler! verwende dafür Zahlen!")
  12205. genommen:=0
  12206. }
  12207. else
  12208. {
  12209. IniWrite,%genommen%, TaKe-Binder.ini,Drogensystem, Used
  12210. Organizer("Drogen genommen auf " genommen "g gesetzt.")
  12211. }
  12212. Suspend Off
  12213. return
  12214. :?:/reset::
  12215. suspend permit
  12216. SendInput {enter}
  12217. IniWrite,0, TaKe-Binder.ini,Drogensystem, Used
  12218. IniWrite,0, TaKe-Binder.ini,Drogensystem, Drogen
  12219. Organizer("Du hast dein Drogenzähler auf {DF0101}0g {FFFFFF}gesetzt.")
  12220. Suspend Off
  12221. return
  12222. :?:/drugs::
  12223. suspend permit
  12224. SendInput {enter}
  12225. IniRead,genommen, TaKe-Binder.ini,Drogensystem, Used
  12226. IniRead,drogen, TaKe-Binder.ini,Drogensystem, Drogen
  12227. Organizer("Du hast schon {DF0101}" genommen "g {FFFFFF}zu dir genommen. Du kannst noch {00FF04}" 26 - genommen "g {FFFFFF}nehmen!")
  12228. Organizer("Du hast noch {435CE7}" drogen "g {FFFFFF}Drogen bei dir!")
  12229. Suspend Off
  12230. return
  12231. :?:/gzinsen::
  12232. Suspend Permit
  12233. SendInput {Esc}
  12234. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  12235. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  12236. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  12237. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  12238. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12239. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12240. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12241. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12242. Zinsen21 := number_format(Zinsen21)
  12243. ZinsenGes := number_format(ZinsenGes)
  12244. OldZinsen1 := Number_format(OldZinsen1)
  12245. Paydays := Number_Format(Paydays)
  12246. DZinsen := Number_Format(DZinsen)
  12247. MonatZinsen := Number_Format(MonatZinsen)
  12248. MEinnahmen := Number_Format(MEinnahmen)
  12249. Deinnahmen := Number_Format(Deinnahmen)
  12250. SendChat("/g |____________________ZINSEN von " getplayername() "____________________|")
  12251. SendChat("/g Letzte Zinsen: $" Oldzinsen1 " - Erhaltene Zinsen: $" Number_format(Allzins)"")
  12252. SendChat("/g Zinsen-Heute:{435CE7} $" DZinsen " - Einnahmen-Heute: $" Deinnahmen "")
  12253. sleep 1300
  12254. SendChat("/g Zinsen-Monat:{435CE7} $" MonatZinsen " - Einnahmen-Monat: $" MEinnahmen "")
  12255. SendChat("/g Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
  12256. SendChat("/g |____________________ZINSEN von " getplayername() "____________________|")
  12257. Suspend off
  12258. return
  12259. :?:/fzinsen::
  12260. Suspend Permit
  12261. SendInput {Esc}
  12262. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  12263. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  12264. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  12265. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  12266. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12267. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12268. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12269. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12270. Zinsen21 := number_format(Zinsen21)
  12271. ZinsenGes := number_format(ZinsenGes)
  12272. OldZinsen1 := Number_format(OldZinsen1)
  12273. Paydays := Number_Format(Paydays)
  12274. DZinsen := Number_Format(DZinsen)
  12275. MonatZinsen := Number_Format(MonatZinsen)
  12276. MEinnahmen := Number_Format(MEinnahmen)
  12277. Deinnahmen := Number_Format(Deinnahmen)
  12278. SendChat("/f |____________________ZINSEN von " getplayername() "____________________|")
  12279. SendChat("/f Letzte Zinsen: $" Oldzinsen1 " - Erhaltene Zinsen: $" Number_format(Allzins)"")
  12280. SendChat("/f Zinsen-Heute:{435CE7} $" DZinsen " - Einnahmen-Heute: $" Deinnahmen "")
  12281. sleep 1300
  12282. SendChat("/f Zinsen-Monat:{435CE7} $" MonatZinsen " - Einnahmen-Monat: $" MEinnahmen "")
  12283. SendChat("/f Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
  12284. SendChat("/f |____________________ZINSEN von " getplayername() "____________________|")
  12285. Suspend off
  12286. return
  12287. :?:/zinsen::
  12288. Suspend Permit
  12289. SendInput {Esc}
  12290. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  12291. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  12292. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  12293. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  12294. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12295. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12296. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12297. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12298. Zinsen21 := number_format(Zinsen21)
  12299. ZinsenGes := number_format(ZinsenGes)
  12300. OldZinsen1 := Number_format(OldZinsen1)
  12301. Paydays := Number_Format(Paydays)
  12302. DZinsen := Number_Format(DZinsen)
  12303. MonatZinsen := Number_Format(MonatZinsen)
  12304. MEinnahmen := Number_Format(MEinnahmen)
  12305. Deinnahmen := Number_Format(Deinnahmen)
  12306. SendChat("|____________________ZINSEN von " getplayername() "____________________|")
  12307. SendChat("Letzte Zinsen: $" Oldzinsen1 " - Erhaltene Zinsen: $" Number_format(Allzins)"")
  12308. SendChat("Zinsen-Heute:{435CE7} $" DZinsen " - Einnahmen-Heute: $" Deinnahmen "")
  12309. sleep 1300
  12310. SendChat("Zinsen-Monat:{435CE7} $" MonatZinsen " - Einnahmen-Monat: $" MEinnahmen "")
  12311. SendChat("Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
  12312. SendChat("|____________________ZINSEN von " getplayername() "____________________|")
  12313. Suspend off
  12314. return
  12315. :?:/payday::
  12316. suspend permit
  12317. send, {enter}
  12318. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12319. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12320. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12321. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12322. Zinsen1 := number_format(Zinsen1)
  12323. ZinsenGes := number_format(ZinsenGes)
  12324. OldZinsen1 := Number_format(OldZinsen1)
  12325. Paydays := Number_Format(Paydays)
  12326. AllZins := Number_Format(AllZins)
  12327. Organizer("Letzte Zinsen: {5B89CB}$" Oldzinsen1 "{FFFFFF}! - Zinsen Gesamt: {5B89CB}$" ZinsenGes "{FFFFFF}!")
  12328. Organizer("Letzte Payday Einnahmen: {5B89CB}$" AllZins "{FFFFFF}! - Paydays: {5B89CB}" Paydays "{FFFFFF}!")
  12329. Suspend off
  12330. return
  12331. :?:/zinsinfo::
  12332. Suspend Permit
  12333. SendInput {Esc}
  12334. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  12335. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  12336. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  12337. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  12338. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12339. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12340. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12341. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12342. Zinsen21 := number_format(Zinsen21)
  12343. ZinsenGes := number_format(ZinsenGes)
  12344. OldZinsen1 := Number_format(OldZinsen1)
  12345. Paydays := Number_Format(Paydays)
  12346. DZinsen := Number_Format(DZinsen)
  12347. MonatZinsen := Number_Format(MonatZinsen)
  12348. MEinnahmen := Number_Format(MEinnahmen)
  12349. Deinnahmen := Number_Format(Deinnahmen)
  12350. Organizer("|____________________ZINSEN von " getplayername() "____________________|")
  12351. Organizer("Letzte Zinsen:{435CE7} $" Oldzinsen1 " - {FFFFFF}Erhaltene Zinsen: {435CE7}$" Number_format(Allzins)"")
  12352. Organizer("Zinsen-Heute:{435CE7} $" DZinsen " - {FFFFFF}Einnahmen-Heute: {435CE7}$" Deinnahmen "")
  12353. Organizer("Zinsen-Monat:{435CE7} $" MonatZinsen " - {FFFFFF}Einnahmen-Monat: {435CE7}$" MEinnahmen "")
  12354. Organizer("Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
  12355. Organizer("|____________________ZINSEN von " getplayername() "____________________|")
  12356. Suspend off
  12357. return
  12358. :?:/killstreak::
  12359. suspend permit
  12360. Send, {enter}
  12361. IniRead, streak, Statistik\statsi.ini, Killstreak, streak
  12362. If(Killstreak=0)
  12363. {
  12364. Organizer("Du hast die Killstreak Funktion nicht aktiviert!")
  12365. }
  12366. else
  12367. {
  12368. if(streak=0)
  12369. {
  12370. Organizer("{FFFFFF}Du hast noch niemanden gekillt!")
  12371. }
  12372. else
  12373. {
  12374. Organizer("Du hast ein {435CE7}" streak "er{FFFFFF} Killstreak")
  12375. }
  12376. }
  12377. suspend off
  12378. return
  12379. :?:/ausgaben::
  12380. Suspend Permit
  12381. SendInput {Esc}
  12382. IniRead, KnastzeitTotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, KnastzeitTotal
  12383. IniRead, DKnastzeit, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Knast, DKnastzeit
  12384. IniRead, MKnastzeit, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,Knast, MKnastzeit
  12385. IniRead, SpritgeldTotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, SpritgeldTotal
  12386. IniRead, DSpritgeld, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Spritgeld, DSpritgeld
  12387. IniRead, MSpritgeld, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,Spritgeld, MSpritgeld
  12388. IniRead, Drogentotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, Drogentotal
  12389. IniRead, DDrogen, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Ausgaben, DDrogen
  12390. IniRead, MDrogen, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,Ausgaben, MDrogen
  12391. IniRead, CopDMTotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, CopDMTotal
  12392. IniRead, DCopDM, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,CopDM, DCopDM
  12393. IniRead, MCopDM, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,CopDM, MCopDM
  12394. IniRead, WaffengeldTotal, Ausgaben/Ausgaben.ini,Ausgaben, WaffengeldTotal
  12395. IniRead, DWaffengeld, Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Waffengeld, DWaffengeld
  12396. IniRead, MWaffengeld, Ausgaben/Ausgaben im %MonatYahr%.ini,Waffengeld, MWaffengeld
  12397. Organizer("========= {435CE7}Spritgeld (Ausgaben) {FFFFFF}=========")
  12398. Organizer("Gesamte Spritgeldausgaben: {435CE7}$"number_format(SpritgeldTotal)"")
  12399. Organizer("Tages Spritgeldausgaben:{435CE7} $" number_format(dSpritGeld)"")
  12400. Organizer("Monats Spritgeldausgaben:{435CE7} $" number_format(mspritGeld)"")
  12401. sleep 300
  12402. Organizer("========= {435CE7}Drogen (Verbrauch){FFFFFF} =========")
  12403. Organizer("Gesamter Drogenverbrauch:{435CE7} "number_format(Drogentotal)"g")
  12404. Organizer("Tages Drogenverbrauch:{435CE7} "number_format(dDrogen)"g")
  12405. Organizer("Monats Drogenverbrauch:{435CE7} "number_format(mDrogen)"g")
  12406. sleep 300
  12407. Organizer("======== {435CE7}CopDM (Geldverlust){FFFFFF} =========")
  12408. Organizer("Gesamter CopDM-Verlust:{435CE7} $" number_format(CopDMTotal)"")
  12409. Organizer("Tages CopDM-Verlust:{435CE7} $" number_format(dCopDM)"")
  12410. Organizer("Monats CopDM-Verlust:{435CE7}$"number_format(mCopDM)"")
  12411. sleep 300
  12412. Organizer("======== {435CE7}Knastzeit{FFFFFF} =========")
  12413. Organizer("Gesamte Knastzeit:{435CE7} "Floor(KnastzeitTotal/60) " Minuten")
  12414. Organizer("Tages Knastzeit:{435CE7} "Floor(dKnastzeit/60) " Minuten")
  12415. Organizer("Monats Knastzeit:{435CE7} "Floor(mKnastzeit/60) " Minuten")
  12416. sleep 300
  12417. Organizer("======== {435CE7}Waffengeld (Ausgaben){FFFFFF} =========")
  12418. Organizer("Gesamtes Waffengeld:{435CE7} $" number_format(WaffengeldTotal)"")
  12419. Organizer("Tages Waffengeld:{435CE7} $" number_format(dWaffengeld)"")
  12420. Organizer("Monats Waffengeld:{435CE7} $" number_format(mWaffengeld)"")
  12421. return
  12422. :?:/killstreak::
  12423. suspend permit
  12424. Send, {enter}
  12425. IniRead, streak, Statistik\statsi.ini, Killstreak, streak
  12426. If(Killstreak=0)
  12427. {
  12428. Organizer("Du hast die Killstreak Funktion nicht aktiviert!")
  12429. }
  12430. else
  12431. {
  12432. if(streak=0)
  12433. {
  12434. Organizer("{FFFFFF}Du hast noch niemanden gekillt!")
  12435. }
  12436. else
  12437. {
  12438. Organizer("Du hast ein {435CE7}" streak "er{FFFFFF} Killstreak")
  12439. }
  12440. }
  12441. suspend off
  12442. return
  12443. :?:/q::
  12444. Suspend Permit
  12445. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Drogen
  12446. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Used
  12447. druglimit := 26
  12448. IniWrite, %druglimit%, TaKe-Binder.ini,Drogen, Drogenlimit
  12449. SendInput /q{enter}
  12450. Suspend Off
  12451. return
  12452. :?:/ovmove::
  12453. suspend permit
  12454. OverlayMove = 1
  12455. Organizer("{FFCC50}|________Overlay-Move________|")
  12456. Organizer("1. HP Overlay")
  12457. Organizer("2. Wanted Overlay")
  12458. Organizer("3. Position Overlay")
  12459. Organizer("4. Carinfo Overlay")
  12460. Organizer("5. Gegner Overlay")
  12461. Organizer("6. Drogen-Info Overlay")
  12462. Organizer("{FFCC50}|________Overlay-Move________|")
  12463. SendInput Zahl: Drücke 'Space' nach der Eingabe{home}{right 6}
  12464. Input, ovzahl, VIM, {space}
  12465. SendInput {end}+{home}{Del}{Esc}
  12466. If(ovzahl=1)
  12467. {
  12468. Organizer("{FFBB50}Du kannst nun das HP-Overlay verschieben!")
  12469. }
  12470. If(ovzahl=2)
  12471. {
  12472. Organizer("{FFBB50}Du kannst nun das Wanted-Overlay verschieben!")
  12473. }
  12474. If(ovzahl=3)
  12475. {
  12476. Organizer("{FFBB50}Du kannst nun die Ortsanzeige verschieben!")
  12477. }
  12478. If(ovzahl=4)
  12479. {
  12480. Organizer("{FFBB50}Du kannst nun die Carinfoanzeige verschieben!")
  12481. }
  12482. If(ovzahl=5)
  12483. {
  12484. Organizer("{FFBB50}Du kannst nun das Gegner-Overlay verschieben!")
  12485. }
  12486. If(ovzahl=6)
  12487. {
  12488. Organizer("{FFBB50}Du kannst nun das DrogenInfo-Overlay verschieben!")
  12489. }
  12490. Suspend Off
  12491. return
  12492. :?:/ovhelp::
  12493. Suspend Permit
  12494. SendInput {enter}
  12495. Organizer("{FF5050}|________Overlay-Help________|")
  12496. Organizer("/ovmove = Movemodus starten")
  12497. Organizer("ALT + Pfeiltasten = schnell")
  12498. Organizer("STRG + Pfeiltasten = langsam")
  12499. Organizer("ENTER = Movemodus beenden")
  12500. Organizer("{FF5050}|________Overlay-Help________|")
  12501. Organizer("{5B89CB}waLker: Während dem Movemodus darf keine Pfeiltaste belegt sein!")
  12502. Suspend Off
  12503. return
  12504. ~Enter::
  12505. if(IsInChat())
  12506. {
  12507. Send, {%A_ThisHotkey%}
  12508. return
  12509. }
  12510. if(OverlayMove = 1)
  12511. {
  12512. if(ovzahl = 1)
  12513. {
  12514. ovzahl:=0
  12515. Iniwrite, %HPX%, TaKe-Binder.ini,Settings, HPX
  12516. Iniwrite, %HPY%, TaKe-Binder.ini,Settings, HPY
  12517. Organizer("{FFCC50}Healthposition wurde gespeichert!")
  12518. OverlayMove:=0
  12519. }
  12520. if(ovzahl = 2)
  12521. {
  12522. ovzahl:=0
  12523. Iniwrite, %WX%, TaKe-Binder.ini,Settings, WX
  12524. Iniwrite, %WY%, TaKe-Binder.ini,Settings, WY
  12525. Organizer("{FFCC50}Wantedposition wurde gespeichert!")
  12526. OverlayMove:=0
  12527. }
  12528. if(ovzahl = 3)
  12529. {
  12530. ovzahl:=0
  12531. Iniwrite, %PX%, TaKe-Binder.ini,Settings, PX
  12532. Iniwrite, %PY%, TaKe-Binder.ini,Settings, PY
  12533. Organizer("{FFCC50}Ortsanzeigeposition wurde gespeichert!")
  12534. OverlayMove:=0
  12535. }
  12536. if(ovzahl = 4)
  12537. {
  12538. ovzahl:=0
  12539. Iniwrite, %VX%, TaKe-Binder.ini,Settings, VX
  12540. Iniwrite, %VY%, TaKe-Binder.ini,Settings, VY
  12541. Organizer("{FFCC50}Carinfoposition wurde gespeichert!")
  12542. OverlayMove:=0
  12543. }
  12544. if(ovzahl = 5)
  12545. {
  12546. ovzahl:=0
  12547. Iniwrite, %GX%, TaKe-Binder.ini,Settings, GX
  12548. Iniwrite, %GY%, TaKe-Binder.ini,Settings, GY
  12549. Organizer("{FFCC50}Gegnerposition wurde gespeichert!")
  12550. OverlayMove:=0
  12551. }
  12552. if(ovzahl = 6)
  12553. {
  12554. ovzahl:=0
  12555. Iniwrite, %DX%, TaKe-Binder.ini,Settings, DX
  12556. Iniwrite, %DY%, TaKe-Binder.ini,Settings, DY
  12557. Organizer("{FFCC50}Drogenposition wurde gespeichert!")
  12558. OverlayMove:=0
  12559. }
  12560. }
  12561. return
  12562. ^up::
  12563. if(OverlayMove = 1)
  12564. {
  12565. if(ovzahl = 1)
  12566. {
  12567. HPY := HPY - 1.00
  12568. TextSetPos(Overlay_HP, HPX, HPY)
  12569. }
  12570. if(ovzahl = 2)
  12571. {
  12572. WY := WY - 1.00
  12573. TextSetPos(Overlay_Wanted, WX, WY)
  12574. }
  12575. if(ovzahl = 3)
  12576. {
  12577. PY := PY - 1.00
  12578. TextSetPos(Overlay_POS, PX, PY)
  12579. }
  12580. if(ovzahl = 4)
  12581. {
  12582. VY := VY - 1.00
  12583. TextSetPos(Overlay_Veh, VX, VY)
  12584. }
  12585. if(ovzahl = 5)
  12586. {
  12587. GY := GY - 1.00
  12588. TextSetPos(Gegner, GX, GY)
  12589. }
  12590. if(ovzahl = 6)
  12591. {
  12592. DY := DY - 1.00
  12593. TextSetPos(infooverlay, DX, DY)
  12594. }
  12595. }
  12596. return
  12597. ^down::
  12598. if(OverlayMove = 1)
  12599. {
  12600. if(ovzahl = 1)
  12601. {
  12602. HPY := HPY + 1.00
  12603. TextSetPos(Overlay_HP, HPX, HPY)
  12604. }
  12605. if(ovzahl = 2)
  12606. {
  12607. WY := WY + 1.00
  12608. TextSetPos(Overlay_Wanted, WX, WY)
  12609. }
  12610. if(ovzahl = 3)
  12611. {
  12612. PY := PY + 1.00
  12613. TextSetPos(Overlay_POS, PX, PY)
  12614. }
  12615. if(ovzahl = 4)
  12616. {
  12617. VY := VY + 1.00
  12618. TextSetPos(Overlay_Veh, VX, VY)
  12619. }
  12620. if(ovzahl = 5)
  12621. {
  12622. GY := GY + 1.00
  12623. TextSetPos(Gegner, GX, GY)
  12624. }
  12625. if(ovzahl = 6)
  12626. {
  12627. DY := DY + 1.00
  12628. TextSetPos(infooverlay, DX, DY)
  12629. }
  12630. }
  12631. return
  12632. ^left::
  12633. if(OverlayMove = 1)
  12634. {
  12635. if(ovzahl = 1)
  12636. {
  12637. HPX := HPX - 1.00
  12638. TextSetPos(Overlay_HP, HPX, HPY)
  12639. }
  12640. if(ovzahl = 2)
  12641. {
  12642. WX := WX - 1.00
  12643. TextSetPos(Overlay_Wanted, WX, WY)
  12644. }
  12645. if(ovzahl = 3)
  12646. {
  12647. PX := PX - 1.00
  12648. TextSetPos(Overlay_POS, PX, PY)
  12649. }
  12650. if(ovzahl = 4)
  12651. {
  12652. VX := VX - 1.00
  12653. TextSetPos(Overlay_Veh, VX, VY)
  12654. }
  12655. if(ovzahl = 5)
  12656. {
  12657. GX := GX - 1.00
  12658. TextSetPos(Gegner, GX, GY)
  12659. }
  12660. if(ovzahl = 6)
  12661. {
  12662. DX := DX - 1.00
  12663. TextSetPos(infooverlay, DX, DY)
  12664. }
  12665. }
  12666. return
  12667. ^right::
  12668. if(OverlayMove = 1)
  12669. {
  12670. if(ovzahl = 1)
  12671. {
  12672. HPX := HPX + 1.00
  12673. TextSetPos(Overlay_HP, HPX, HPY)
  12674. }
  12675. if(ovzahl = 2)
  12676. {
  12677. WX := WX + 1.00
  12678. TextSetPos(Overlay_Wanted, WX, WY)
  12679. }
  12680. if(ovzahl = 3)
  12681. {
  12682. PX := PX + 1.00
  12683. TextSetPos(Overlay_POS, PX, PY)
  12684. }
  12685. if(ovzahl = 4)
  12686. {
  12687. VX := VX + 1.00
  12688. TextSetPos(Overlay_Veh, VX, VY)
  12689. }
  12690. if(ovzahl = 5)
  12691. {
  12692. GX := GX + 1.00
  12693. TextSetPos(Gegner, GX, GY)
  12694. }
  12695. if(ovzahl = 6)
  12696. {
  12697. DX := DX + 1.00
  12698. TextSetPos(infooverlay, DX, DY)
  12699. }
  12700. return
  12701. }
  12702. return
  12703. !up::
  12704. if(OverlayMove = 1)
  12705. {
  12706. if(ovzahl = 1)
  12707. {
  12708. HPY := HPY - 3.00
  12709. TextSetPos(Overlay_HP, HPX, HPY)
  12710. }
  12711. if(ovzahl = 2)
  12712. {
  12713. WY := WY - 3.00
  12714. TextSetPos(Overlay_Wanted, WX, WY)
  12715. }
  12716. if(ovzahl = 3)
  12717. {
  12718. PY := PY - 3.00
  12719. TextSetPos(Overlay_POS, PX, PY)
  12720. }
  12721. if(ovzahl = 4)
  12722. {
  12723. VY := VY - 3.00
  12724. TextSetPos(Overlay_Veh, VX, VY)
  12725. }
  12726. if(ovzahl = 5)
  12727. {
  12728. GY := GY - 3.00
  12729. TextSetPos(Gegner, GX, GY)
  12730. }
  12731. if(ovzahl = 6)
  12732. {
  12733. DY := DY - 3.00
  12734. TextSetPos(infooverlay, DX, DY)
  12735. }
  12736. }
  12737. return
  12738. return
  12739. !down::
  12740. if(OverlayMove = 1)
  12741. {
  12742. if(ovzahl = 1)
  12743. {
  12744. HPY := HPY + 3.00
  12745. TextSetPos(Overlay_HP, HPX, HPY)
  12746. }
  12747. if(ovzahl = 2)
  12748. {
  12749. WY := WY + 3.00
  12750. TextSetPos(Overlay_Wanted, WX, WY)
  12751. }
  12752. if(ovzahl = 3)
  12753. {
  12754. PY := PY + 3.00
  12755. TextSetPos(Overlay_POS, PX, PY)
  12756. }
  12757. if(ovzahl = 4)
  12758. {
  12759. VY := VY + 3.00
  12760. TextSetPos(Overlay_Veh, VX, VY)
  12761. }
  12762. if(ovzahl = 5)
  12763. {
  12764. GY := GY + 3.00
  12765. TextSetPos(Gegner, GX, GY)
  12766. }
  12767. if(ovzahl = 6)
  12768. {
  12769. DY := DY + 3.00
  12770. TextSetPos(infooverlay, DX, DY)
  12771. }
  12772. }
  12773. return
  12774. return
  12775. !left::
  12776. if(OverlayMove = 1)
  12777. {
  12778. if(ovzahl = 1)
  12779. {
  12780. HPX := HPX - 3
  12781. TextSetPos(Overlay_HP, HPX, HPY)
  12782. }
  12783. if(ovzahl = 2)
  12784. {
  12785. WX := WX - 3
  12786. TextSetPos(Overlay_Wanted, WX, WY)
  12787. }
  12788. if(ovzahl = 3)
  12789. {
  12790. PX := PX - 3
  12791. TextSetPos(Overlay_POS, PX, PY)
  12792. }
  12793. if(ovzahl = 4)
  12794. {
  12795. VX := VX - 3
  12796. TextSetPos(Overlay_Veh, VX, VY)
  12797. }
  12798. if(ovzahl = 5)
  12799. {
  12800. GX := GX - 3
  12801. TextSetPos(Gegner, GX, GY)
  12802. }
  12803. if(ovzahl = 6)
  12804. {
  12805. DX := DX - 3.00
  12806. TextSetPos(infooverlay, DX, DY)
  12807. }
  12808. }
  12809. return
  12810. !right::
  12811. if(OverlayMove = 1)
  12812. {
  12813. if(ovzahl = 1)
  12814. {
  12815. HPX := HPX + 3
  12816. TextSetPos(Overlay_HP, HPX, HPY)
  12817. }
  12818. if(ovzahl = 2)
  12819. {
  12820. WX := WX + 3
  12821. TextSetPos(Overlay_Wanted, WX, WY)
  12822. }
  12823. if(ovzahl = 3)
  12824. {
  12825. PX := PX + 3
  12826. TextSetPos(Overlay_POS, PX, PY)
  12827. }
  12828. if(ovzahl = 4)
  12829. {
  12830. VX := VX + 3
  12831. TextSetPos(Overlay_Veh, VX, VY)
  12832. }
  12833. if(ovzahl = 5)
  12834. {
  12835. GX := GX + 3
  12836. TextSetPos(Gegner, GX, GY)
  12837. }
  12838. if(ovzahl = 6)
  12839. {
  12840. DX := DX + 3.00
  12841. TextSetPos(infooverlay, DX, DY)
  12842. }
  12843. }
  12844. return
  12845. CheckDate:
  12846. IniRead, Aktiviert, Statistik\statsi.ini, Tageskills, Aktiviert
  12847. IniRead, Tag, Statistik\statsi.ini, Tageskills, Tag
  12848. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  12849. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  12850. Aktiv = %Aktiviert%
  12851. Tag = %Tag%
  12852. OldDay = %Tag%
  12853. if(Tag = NeuerTag)
  12854. {
  12855. if(Aktiv != 1)
  12856. {
  12857. Organizer("Der Tag stimmt. Heutiger Tag: " Tag " ")
  12858. }
  12859. IniWrite, 1, Statistik\statsi.ini, Tageskills, Aktiviert
  12860. }
  12861. if(Tag != NeuerTag)
  12862. {
  12863. if(Aktiv != 1)
  12864. {
  12865. Organizer("Tages Statistik wurde zurückgesetzt! Alter Tag " OldDay " | Heute: " NeuerTag)
  12866. }
  12867. FileMove, Statistik\statsi.ini, Statistik\Old\Stats vom %OldDay%_%MonatTag%_%Jahr%.ini
  12868. IniWrite, 0, Statistik\statsi.ini, Tageskills, tKills
  12869. IniWrite, 0, Statistik\statsi.ini, Tageskills, tDeaths
  12870. IniWrite, %NeuerTag%, Statistik\statsi.ini, Tageskills, Tag
  12871. IniWrite, 0.00, Statistik\statsi.ini, Tageskills, tKD
  12872. IniWrite, 1, Statistik\statsi.ini, Tageskills, Aktiviert
  12873. }
  12874. Ifnotexist, Statistik/Monats KD im %MonatYahr%.ini
  12875. {
  12876. Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  12877. Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  12878. }
  12879. IfNotExist,Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini
  12880. {
  12881. Activity("Tageszinsen " A_DD " . " A_MMMM " . " A_YYYY ".ini wurde erstellt.")
  12882. IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Zinsen
  12883. IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,letzter Payday
  12884. IniWrite, 0.0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Zinssatz
  12885. }
  12886. IfNotExist,Zinsen\Wochenzinsen\Zinsen von %A_YWeek% . %A_YYYY%.ini
  12887. {
  12888. Activity("Wochenzinsen " A_YWeek " . " A_YYYY ".ini wurde erstellt.")
  12889. IniWrite, 0, Zinsen\Wochenzinsen\Zinsen von %A_YWeek% . %A_YYYY%.ini,Woche,Zinsen
  12890. }
  12891. IfNotExist,Zinsen\Monatszinsen\Zinsen von %A_MMMM%. %A_YYYY%.ini
  12892. {
  12893. Activity("Monatszinsen " A_MMMM " . " A_YYYY ".ini wurde erstellt.")
  12894. IniWrite, 0, Zinsen\Monatszinsen\Zinsen von %A_MMMM%. %A_YYYY%.ini,Monat,Zinsen
  12895. }
  12896. IfNotExist,Waffenstats\Tagesstats\Waffenstats von %A_DD% . %A_MMMM% . %A_YYYY%.ini
  12897. {
  12898. Activity("Waffenstats " A_DD " . " A_MMMM " . " A_YYYY ".ini wurde erstellt.")
  12899. IniWrite, 0, Waffenstats\Monatsstats\Waffenstats von %A_MMMM%. %A_YYYY%.ini,Monat,Waffenlog
  12900. IniWrite, 0, Waffenstats\Wochenstats\Waffenstats von %A_YWeek% . %A_YYYY%.ini,Woche,Waffenlog
  12901. IniWrite, 0, Waffenstats\Tagesstats\Waffenstats von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Waffenlog
  12902. }
  12903. return
  12904. UndefineBinds:
  12905. return
  12906. DefineBinds:
  12907. return
  12908. :?:/matsrein::
  12909. Suspend Permit
  12910. sendChat("/opencargo")
  12911. sleep,150
  12912. SendInput,{enter}
  12913. sleep,150
  12914. SendInput,{enter}
  12915. sleep,150
  12916. SendInput, 1000{enter}
  12917. sleep,150
  12918. sendChat("/opencargo")
  12919. sleep,150
  12920. SendInput,{down}
  12921. sleep,150
  12922. SendInput,{enter}
  12923. sleep,150
  12924. SendInput,{enter}
  12925. sleep,150
  12926. SendInput, 1000{enter}
  12927. sleep,150
  12928. sendChat("/opencargo")
  12929. sleep,400
  12930. SendInput,{down 2}
  12931. sleep,150
  12932. SendInput,{enter}
  12933. sleep,150
  12934. SendInput,{enter}
  12935. sleep,150
  12936. SendInput, 1000{enter}
  12937. sleep,150
  12938. sendChat("/opencargo")
  12939. sleep,150
  12940. SendInput,{down 3}
  12941. sleep,150
  12942. SendInput,{enter}
  12943. sleep,150
  12944. SendInput,{enter}
  12945. sleep,150
  12946. SendInput, 1000{enter}
  12947. sleep,150
  12948. sendChat("/opencargo")
  12949. sleep,150
  12950. SendInput,{down 4}
  12951. sleep,150
  12952. SendInput,{enter}
  12953. sleep,150
  12954. SendInput,{enter}
  12955. sleep,150
  12956. SendInput, 1000{enter}
  12957. sleep,200
  12958. sendChat("/me hat den Kofferraum mit Mats befüllt/ rausgenommen")
  12959. Return
  12960. RandomSpruch:
  12961. If(BlockChatInput=1)
  12962. return
  12963. Random,RandomKillspruch, 1, 3
  12964. if(ChatKillspruchAktiv%RandomKillspruch% == 1)
  12965. SendChat(ChatKillSpruch%RandomKillspruch%)
  12966. else
  12967. gosub, RandomSpruch
  12968. return
  12969. FormatSeconds(Sekunden) {
  12970. Return SubStr("0" . Sekunden // 3600, -1) . ":"
  12971. . SubStr("0" . Mod(Sekunden, 3600) // 60, -1) . ":"
  12972. . SubStr("0" . Mod(Sekunden, 60), -1)
  12973. }
  12974. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement