Advertisement
Guest User

Untitled

a guest
Nov 4th, 2016
1,265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 364.16 KB | None | 0 0
  1. version := 9.9
  2. FTPServer := "http://51.255.151.195/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, wButton2) {
  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. writeString(hGTA, pParam5+StrLen(caption) + 1, wButton2)
  351. if (ErrorLevel)
  352. return false
  353. dwLen := 5 + 7*5 + 5 + 1
  354. VarSetCapacity(injectData, dwLen, 0)
  355. NumPut(0xB9, injectData, 0, "UChar")
  356. NumPut(dwAddress, injectData, 1, "UInt")
  357. NumPut(0x68, injectData, 5, "UChar")
  358. NumPut(0, injectData, 6, "UInt")
  359. NumPut(0x68, injectData, 10, "UChar")
  360. NumPut(pParam5+StrLen(wCaption), injectData, 11, "UInt")
  361. NumPut(pParam5 + StrLen(caption) + 1, injectData, 11, "UInt")
  362. NumPut(0x68, injectData, 15, "UChar")
  363. NumPut(pParam5 + 512, injectData, 16, "UInt")
  364. NumPut(0x68, injectData, 20, "UChar")
  365. NumPut(pParam1, injectData, 21, "UInt")
  366. NumPut(0x68, injectData, 25, "UChar")
  367. NumPut(pParam5, injectData, 26, "UInt")
  368. NumPut(0x68, injectData, 30, "UChar")
  369. NumPut(dwStyle, injectData, 31, "UInt")
  370. NumPut(0x68, injectData, 35, "UChar")
  371. NumPut(1, injectData, 36, "UInt")
  372. NumPut(0xE8, injectData, 40, "UChar")
  373. offset := dwFunc - (pInjectFunc + 45)
  374. NumPut(offset, injectData, 41, "Int")
  375. NumPut(0xC3, injectData, 45, "UChar")
  376. writeRaw(hGTA, pInjectFunc, &injectData, dwLen)
  377. if(ErrorLevel)
  378. return false
  379. hThread := createRemoteThread(hGTA, 0, 0, pInjectFunc, 0, 0, 0)
  380. if(ErrorLevel)
  381. return false
  382. waitForSingleObject(hThread, 0xFFFFFFFF)
  383. closeProcess(hThread)
  384. return true
  385. }
  386. playAudioStream(wUrl) {
  387. wUrl := "" wUrl
  388. if(!checkHandles())
  389. return false
  390. dwFunc := dwSAMP + FUNC_SAMP_PLAYAUDIOSTR
  391. patchRadio()
  392. callWithParams(hGTA, dwFunc, [["s", wUrl], ["i", 0], ["i", 0], ["i", 0], ["i", 0], ["i", 0]], false)
  393. unPatchRadio()
  394. ErrorLevel := ERROR_OK
  395. return true
  396. }
  397. stopAudioStream() {
  398. if(!checkHandles())
  399. return false
  400. dwFunc := dwSAMP + FUNC_SAMP_STOPAUDIOSTR
  401. patchRadio()
  402. callWithParams(hGTA, dwFunc, [["i", 1]], false)
  403. unPatchRadio()
  404. ErrorLevel := ERROR_OK
  405. return true
  406. }
  407. blockChatInput() {
  408. if(!checkHandles())
  409. return false
  410. VarSetCapacity(nop, 2, 0)
  411. dwFunc := dwSAMP + FUNC_SAMP_SENDSAY
  412. NumPut(0x04C2,nop,0,"Short")
  413. writeRaw(hGTA, dwFunc, &nop, 2)
  414. dwFunc := dwSAMP + FUNC_SAMP_SENDCMD
  415. writeRaw(hGTA, dwFunc, &nop, 2)
  416. return true
  417. }
  418. unBlockChatInput() {
  419. if(!checkHandles())
  420. return false
  421. VarSetCapacity(nop, 2, 0)
  422. dwFunc := dwSAMP + FUNC_SAMP_SENDSAY
  423. NumPut(0xA164,nop,0,"Short")
  424. writeRaw(hGTA, dwFunc, &nop, 2)
  425. dwFunc := dwSAMP + FUNC_SAMP_SENDCMD
  426. writeRaw(hGTA, dwFunc, &nop, 2)
  427. return true
  428. }
  429. patchRadio() {
  430. if(!checkHandles())
  431. return false
  432. VarSetCapacity(nop, 4, 0)
  433. NumPut(0x90909090,nop,0,"UInt")
  434. dwFunc := dwSAMP + FUNC_SAMP_PLAYAUDIOSTR
  435. writeRaw(hGTA, dwFunc, &nop, 4)
  436. writeRaw(hGTA, dwFunc+4, &nop, 1)
  437. dwFunc := dwSAMP + FUNC_SAMP_STOPAUDIOSTR
  438. writeRaw(hGTA, dwFunc, &nop, 4)
  439. writeRaw(hGTA, dwFunc+4, &nop, 1)
  440. return true
  441. }
  442. unPatchRadio() {
  443. if(!checkHandles())
  444. return false
  445. VarSetCapacity(old, 4, 0)
  446. dwFunc := dwSAMP + FUNC_SAMP_PLAYAUDIOSTR
  447. NumPut(0x74003980,old,0,"UInt")
  448. writeRaw(hGTA, dwFunc, &old, 4)
  449. NumPut(0x39,old,0,"UChar")
  450. writeRaw(hGTA, dwFunc+4, &old, 1)
  451. dwFunc := dwSAMP + FUNC_SAMP_STOPAUDIOSTR
  452. NumPut(0x74003980,old,0,"UInt")
  453. writeRaw(hGTA, dwFunc, &old, 4)
  454. NumPut(0x09,old,0,"UChar")
  455. writeRaw(hGTA, dwFunc+4, &old, 1)
  456. return true
  457. }
  458. getPlayerNameById(dwId) {
  459. dwId += 0
  460. dwId := Floor(dwId)
  461. if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
  462. return ""
  463. if(!updateOScoreboardData())
  464. return ""
  465. if(oScoreboardData[dwId])
  466. return oScoreboardData[dwId].NAME
  467. return ""
  468. }
  469. getPlayerIdByName(wName) {
  470. wName := "" wName
  471. if(StrLen(wName) < 1 || StrLen(wName) > 20)
  472. return -1
  473. if(!updateOScoreboardData())
  474. return -1
  475. For i, o in oScoreboardData
  476. {
  477. if(InStr(o.NAME,wName)==1)
  478. return i
  479. }
  480. return -1
  481. }
  482. getPlayerScoreById(dwId) {
  483. dwId += 0
  484. dwId := Floor(dwId)
  485. if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
  486. return ""
  487. if(!updateOScoreboardData())
  488. return ""
  489. if(oScoreboardData[dwId])
  490. return oScoreboardData[dwId].SCORE
  491. return ""
  492. }
  493. getPlayerPingById(dwId) {
  494. dwId += 0
  495. dwId := Floor(dwId)
  496. if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
  497. return -1
  498. if(!updateOScoreboardData())
  499. return -1
  500. if(oScoreboardData[dwId])
  501. return oScoreboardData[dwId].PING
  502. return -1
  503. }
  504. isNPCById(dwId) {
  505. dwId += 0
  506. dwId := Floor(dwId)
  507. if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
  508. return -1
  509. if(!updateOScoreboardData())
  510. return -1
  511. if(oScoreboardData[dwId])
  512. return oScoreboardData[dwId].ISNPC
  513. return -1
  514. }
  515. getIP() {
  516. if(!checkHandles())
  517. return ""
  518. dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
  519. if(ErrorLevel || dwAddress==0) {
  520. ErrorLevel := ERROR_READ_MEMORY
  521. return ""
  522. }
  523. ipaddr := readString(hGTA, dwAddress+SAMP_SZIP_OFFSET, 257)
  524. if(ErrorLevel) {
  525. ErrorLevel := ERROR_READ_MEMORY
  526. return ""
  527. }
  528. return ipaddr
  529. }
  530. getHostname() {
  531. if(!checkHandles())
  532. return ""
  533. dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
  534. if(ErrorLevel || dwAddress==0) {
  535. ErrorLevel := ERROR_READ_MEMORY
  536. return ""
  537. }
  538. hostname := readString(hGTA, dwAddress+SAMP_SZHOSTNAME_OFFSET, 259)
  539. if(ErrorLevel) {
  540. ErrorLevel := ERROR_READ_MEMORY
  541. return ""
  542. }
  543. return hostname
  544. }
  545. countOnlinePlayers() {
  546. if(!updateOScoreboardData())
  547. return 0
  548. j := 0
  549. For i, o in oScoreboardData
  550. {
  551. if(isNPCById(i)==0)
  552. j += 1
  553. }
  554. return j
  555. }
  556. updateScoreboardDataEx() {
  557. if(!checkHandles())
  558. return false
  559. dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
  560. if(ErrorLevel || dwAddress==0) {
  561. ErrorLevel := ERROR_READ_MEMORY
  562. return false
  563. }
  564. dwFunc := dwSAMP + FUNC_UPDATESCOREBOARD
  565. VarSetCapacity(injectData, 11, 0)
  566. NumPut(0xB9, injectData, 0, "UChar")
  567. NumPut(dwAddress, injectData, 1, "UInt")
  568. NumPut(0xE8, injectData, 5, "UChar")
  569. offset := dwFunc - (pInjectFunc + 10)
  570. NumPut(offset, injectData, 6, "Int")
  571. NumPut(0xC3, injectData, 10, "UChar")
  572. writeRaw(hGTA, pInjectFunc, &injectData, 11)
  573. if(ErrorLevel)
  574. return false
  575. hThread := createRemoteThread(hGTA, 0, 0, pInjectFunc, 0, 0, 0)
  576. if(ErrorLevel)
  577. return false
  578. waitForSingleObject(hThread, 0xFFFFFFFF)
  579. closeProcess(hThread)
  580. return true
  581. }
  582. updateOScoreboardData() {
  583. if(!checkHandles())
  584. return 0
  585. if(iRefreshScoreboard+iUpdateTick > A_TickCount)
  586. return 1
  587. oScoreboardData := []
  588. if(!updateScoreboardDataEx())
  589. return 0
  590. iRefreshScoreboard := A_TickCount
  591. dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
  592. if(ErrorLevel || dwAddress==0) {
  593. ErrorLevel := ERROR_READ_MEMORY
  594. return 0
  595. }
  596. dwAddress := readDWORD(hGTA, dwAddress + SAMP_PPOOLS_OFFSET)
  597. if(ErrorLevel || dwAddress==0) {
  598. ErrorLevel := ERROR_READ_MEMORY
  599. return 0
  600. }
  601. dwPlayers := readDWORD(hGTA, dwAddress + SAMP_PPOOL_PLAYER_OFFSET)
  602. if(ErrorLevel || dwPlayers==0) {
  603. ErrorLevel := ERROR_READ_MEMORY
  604. return 0
  605. }
  606. wID := readMem(hGTA, dwPlayers + SAMP_SLOCALPLAYERID_OFFSET, 2, "Short")
  607. if(ErrorLevel) {
  608. ErrorLevel := ERROR_READ_MEMORY
  609. return 0
  610. }
  611. dwPing := readMem(hGTA, dwPlayers + SAMP_ILOCALPLAYERPING_OFFSET, 4, "Int")
  612. if(ErrorLevel) {
  613. ErrorLevel := ERROR_READ_MEMORY
  614. return 0
  615. }
  616. dwScore := readMem(hGTA, dwPlayers + SAMP_ILOCALPLAYERSCORE_OFFSET, 4, "Int")
  617. if(ErrorLevel) {
  618. ErrorLevel := ERROR_READ_MEMORY
  619. return 0
  620. }
  621. dwTemp := readMem(hGTA, dwPlayers + SAMP_ISTRLEN_LOCALPLAYERNAME_OFFSET, 4, "Int")
  622. if(ErrorLevel) {
  623. ErrorLevel := ERROR_READ_MEMORY
  624. return 0
  625. }
  626. sUsername := ""
  627. if(dwTemp <= 0xf) {
  628. sUsername := readString(hGTA, dwPlayers + SAMP_SZLOCALPLAYERNAME_OFFSET, 16)
  629. if(ErrorLevel) {
  630. ErrorLevel := ERROR_READ_MEMORY
  631. return 0
  632. }
  633. }
  634. else {
  635. dwAddress := readDWORD(hGTA, dwPlayers + SAMP_PSZLOCALPLAYERNAME_OFFSET)
  636. if(ErrorLevel) {
  637. ErrorLevel := ERROR_READ_MEMORY
  638. return 0
  639. }
  640. sUsername := readString(hGTA, dwAddress, 25)
  641. if(ErrorLevel) {
  642. ErrorLevel := ERROR_READ_MEMORY
  643. return 0
  644. }
  645. }
  646. oScoreboardData[wID] := Object("NAME", sUsername, "ID", wID, "PING", dwPing, "SCORE", dwScore, "ISNPC", 0)
  647. Loop, % SAMP_PLAYER_MAX
  648. {
  649. i := A_Index-1
  650. dwRemoteplayer := readDWORD(hGTA, dwPlayers+SAMP_PREMOTEPLAYER_OFFSET+i*4)
  651. if(ErrorLevel) {
  652. ErrorLevel := ERROR_READ_MEMORY
  653. return 0
  654. }
  655. if(dwRemoteplayer==0)
  656. continue
  657. dwPing := readMem(hGTA, dwRemoteplayer + SAMP_IPING_OFFSET, 4, "Int")
  658. if(ErrorLevel) {
  659. ErrorLevel := ERROR_READ_MEMORY
  660. return 0
  661. }
  662. dwScore := readMem(hGTA, dwRemoteplayer + SAMP_ISCORE_OFFSET, 4, "Int")
  663. if(ErrorLevel) {
  664. ErrorLevel := ERROR_READ_MEMORY
  665. return 0
  666. }
  667. dwIsNPC := readMem(hGTA, dwRemoteplayer + SAMP_ISNPC_OFFSET, 4, "Int")
  668. if(ErrorLevel) {
  669. ErrorLevel := ERROR_READ_MEMORY
  670. return 0
  671. }
  672. dwTemp := readMem(hGTA, dwRemoteplayer + SAMP_ISTRLENNAME___OFFSET, 4, "Int")
  673. if(ErrorLevel) {
  674. ErrorLevel := ERROR_READ_MEMORY
  675. return 0
  676. }
  677. sUsername := ""
  678. if(dwTemp <= 0xf)
  679. {
  680. sUsername := readString(hGTA, dwRemoteplayer+SAMP_SZPLAYERNAME_OFFSET, 16)
  681. if(ErrorLevel) {
  682. ErrorLevel := ERROR_READ_MEMORY
  683. return 0
  684. }
  685. }
  686. else {
  687. dwAddress := readDWORD(hGTA, dwRemoteplayer + SAMP_PSZPLAYERNAME_OFFSET)
  688. if(ErrorLevel || dwAddress==0) {
  689. ErrorLevel := ERROR_READ_MEMORY
  690. return 0
  691. }
  692. sUsername := readString(hGTA, dwAddress, 25)
  693. if(ErrorLevel) {
  694. ErrorLevel := ERROR_READ_MEMORY
  695. return 0
  696. }
  697. }
  698. o := Object("NAME", sUsername, "ID", i, "PING", dwPing, "SCORE", dwScore, "ISNPC", dwIsNPC)
  699. oScoreboardData[i] := o
  700. }
  701. ErrorLevel := ERROR_OK
  702. return 1
  703. }
  704. getPlayerHealth() {
  705. if(!checkHandles())
  706. return -1
  707. dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR)
  708. if(ErrorLevel) {
  709. ErrorLevel := ERROR_READ_MEMORY
  710. return -1
  711. }
  712. dwAddr := dwCPedPtr + ADDR_CPED_HPOFF
  713. fHealth := readFloat(hGTA, dwAddr)
  714. if(ErrorLevel) {
  715. ErrorLevel := ERROR_READ_MEMORY
  716. return -1
  717. }
  718. ErrorLevel := ERROR_OK
  719. return Round(fHealth)
  720. }
  721. getPlayerArmor() {
  722. if(!checkHandles())
  723. return -1
  724. dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR)
  725. if(ErrorLevel) {
  726. ErrorLevel := ERROR_READ_MEMORY
  727. return -1
  728. }
  729. dwAddr := dwCPedPtr + ADDR_CPED_ARMOROFF
  730. fHealth := readFloat(hGTA, dwAddr)
  731. if(ErrorLevel) {
  732. ErrorLevel := ERROR_READ_MEMORY
  733. return -1
  734. }
  735. ErrorLevel := ERROR_OK
  736. return Round(fHealth)
  737. }
  738. getPlayerInteriorId() {
  739. if(!checkHandles())
  740. return -1
  741. iid := readMem(hGTA, ADDR_CPED_INTID, 4, "Int")
  742. if(ErrorLevel) {
  743. ErrorLevel := ERROR_READ_MEMORY
  744. return -1
  745. }
  746. ErrorLevel := ERROR_OK
  747. return iid
  748. }
  749. getPlayerMoney() {
  750. if(!checkHandles())
  751. return ""
  752. money := readMem(hGTA, ADDR_CPED_MONEY, 4, "Int")
  753. if(ErrorLevel) {
  754. ErrorLevel := ERROR_READ_MEMORY
  755. return ""
  756. }
  757. ErrorLevel := ERROR_OK
  758. return money
  759. }
  760. isPlayerInAnyVehicle()
  761. {
  762. if(!checkHandles())
  763. return -1
  764. dwVehPtr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  765. if(ErrorLevel) {
  766. ErrorLevel := ERROR_READ_MEMORY
  767. return -1
  768. }
  769. return (dwVehPtr > 0)
  770. }
  771. isPlayerDriver() {
  772. if(!checkHandles())
  773. return -1
  774. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  775. if(ErrorLevel) {
  776. ErrorLevel := ERROR_READ_MEMORY
  777. return -1
  778. }
  779. if(!dwAddr)
  780. return -1
  781. dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR)
  782. if(ErrorLevel) {
  783. ErrorLevel := ERROR_READ_MEMORY
  784. return -1
  785. }
  786. dwVal := readDWORD(hGTA, dwAddr + ADDR_VEHICLE_DRIVER)
  787. if(ErrorLevel) {
  788. ErrorLevel := ERROR_READ_MEMORY
  789. return -1
  790. }
  791. ErrorLevel := ERROR_OK
  792. return (dwVal==dwCPedPtr)
  793. }
  794. getVehicleHealth() {
  795. if(!checkHandles())
  796. return -1
  797. dwVehPtr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  798. if(ErrorLevel) {
  799. ErrorLevel := ERROR_READ_MEMORY
  800. return -1
  801. }
  802. dwAddr := dwVehPtr + ADDR_VEHICLE_HPOFF
  803. fHealth := readFloat(hGTA, dwAddr)
  804. if(ErrorLevel) {
  805. ErrorLevel := ERROR_READ_MEMORY
  806. return -1
  807. }
  808. ErrorLevel := ERROR_OK
  809. return Round(fHealth)
  810. }
  811. getVehicleType() {
  812. if(!checkHandles())
  813. return 0
  814. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  815. if(ErrorLevel) {
  816. ErrorLevel := ERROR_READ_MEMORY
  817. return 0
  818. }
  819. if(!dwAddr)
  820. return 0
  821. cVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_TYPE, 1, "Char")
  822. if(ErrorLevel) {
  823. ErrorLevel := ERROR_READ_MEMORY
  824. return 0
  825. }
  826. ErrorLevel := ERROR_OK
  827. if(!cVal)
  828. {
  829. mid := getVehicleModelId()
  830. Loop % oAirplaneModels.MaxIndex()
  831. {
  832. if(oAirplaneModels[A_Index]==mid)
  833. return 5
  834. }
  835. return 1
  836. }
  837. else if(cVal==5)
  838. return 2
  839. else if(cVal==6)
  840. return 3
  841. else if(cVal==9)
  842. {
  843. mid := getVehicleModelId()
  844. Loop % oBikeModels.MaxIndex()
  845. {
  846. if(oBikeModels[A_Index]==mid)
  847. return 6
  848. }
  849. return 4
  850. }
  851. return 0
  852. }
  853. getVehicleModelId() {
  854. if(!checkHandles())
  855. return 0
  856. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  857. if(ErrorLevel) {
  858. ErrorLevel := ERROR_READ_MEMORY
  859. return 0
  860. }
  861. if(!dwAddr)
  862. return 0
  863. sVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_MODEL, 2, "Short")
  864. if(ErrorLevel) {
  865. ErrorLevel := ERROR_READ_MEMORY
  866. return 0
  867. }
  868. ErrorLevel := ERROR_OK
  869. return sVal
  870. }
  871. getVehicleModelName() {
  872. id:=getVehicleModelId()
  873. if(id>400 && id <611)
  874. {
  875. return ovehicleNames[id-399]
  876. }
  877. return ""
  878. }
  879. getVehicleLightState() {
  880. if(!checkHandles())
  881. return -1
  882. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  883. if(ErrorLevel) {
  884. ErrorLevel := ERROR_READ_MEMORY
  885. return -1
  886. }
  887. if(!dwAddr)
  888. return -1
  889. dwVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_LIGHTSTATE, 4, "Int")
  890. if(ErrorLevel) {
  891. ErrorLevel := ERROR_READ_MEMORY
  892. return -1
  893. }
  894. ErrorLevel := ERROR_OK
  895. return (dwVal>0)
  896. }
  897. getVehicleEngineState() {
  898. if(!checkHandles())
  899. return -1
  900. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  901. if(ErrorLevel) {
  902. ErrorLevel := ERROR_READ_MEMORY
  903. return -1
  904. }
  905. if(!dwAddr)
  906. return -1
  907. cVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_ENGINESTATE, 1, "Char")
  908. if(ErrorLevel) {
  909. ErrorLevel := ERROR_READ_MEMORY
  910. return -1
  911. }
  912. ErrorLevel := ERROR_OK
  913. return (cVal==24 || cVal==56 || cVal==88 || cVal==120)
  914. }
  915. getVehicleLockState() {
  916. if(!checkHandles())
  917. return -1
  918. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  919. if(ErrorLevel) {
  920. ErrorLevel := ERROR_READ_MEMORY
  921. return -1
  922. }
  923. if(!dwAddr)
  924. return -1
  925. dwVal := readDWORD(hGTA, dwAddr + ADDR_VEHICLE_DOORSTATE)
  926. if(ErrorLevel) {
  927. ErrorLevel := ERROR_READ_MEMORY
  928. return -1
  929. }
  930. ErrorLevel := ERROR_OK
  931. return (dwVal==2)
  932. }
  933. getCoordinates() {
  934. if(!checkHandles())
  935. return ""
  936. fX := readFloat(hGTA, ADDR_POSITION_X)
  937. if(ErrorLevel) {
  938. ErrorLevel := ERROR_READ_MEMORY
  939. return ""
  940. }
  941. fY := readFloat(hGTA, ADDR_POSITION_Y)
  942. if(ErrorLevel) {
  943. ErrorLevel := ERROR_READ_MEMORY
  944. return ""
  945. }
  946. fZ := readFloat(hGTA, ADDR_POSITION_Z)
  947. if(ErrorLevel) {
  948. ErrorLevel := ERROR_READ_MEMORY
  949. return ""
  950. }
  951. ErrorLevel := ERROR_OK
  952. return [fX, fY, fZ]
  953. }
  954. calculateZone(posX, posY, posZ) {
  955. posX += 0
  956. posY += 0
  957. posZ += 0
  958. if ( !bInitZaC )
  959. {
  960. initZonesAndCities()
  961. bInitZaC := 1
  962. }
  963. Loop % nZone-1
  964. {
  965. 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)
  966. {
  967. ErrorLevel := ERROR_OK
  968. return zone%A_Index%_name
  969. }
  970. }
  971. ErrorLevel := ERROR_ZONE_NOT_FOUND
  972. return ""
  973. }
  974. calculateCity(posX, posY, posZ) {
  975. posX += 0
  976. posY += 0
  977. posZ += 0
  978. if ( !bInitZaC )
  979. {
  980. initZonesAndCities()
  981. bInitZaC := 1
  982. }
  983. smallestCity := ""
  984. currentCitySize := 0
  985. smallestCitySize := 0
  986. Loop % nCity-1
  987. {
  988. 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)
  989. {
  990. 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))
  991. if (!smallestCity) || (currentCitySize < smallestCitySize)
  992. {
  993. smallestCity := city%A_Index%_name
  994. smallestCitySize := currentCitySize
  995. }
  996. }
  997. }
  998. if(!smallestCity) {
  999. ErrorLevel := ERROR_CITY_NOT_FOUND
  1000. } else {
  1001. ErrorLevel := ERROR_OK
  1002. }
  1003. return smallestCity
  1004. }
  1005. initZonesAndCities() {
  1006. if(bInitZaC)
  1007. return
  1008. AddCity("Las Venturas", 685.0, 476.093, -500.0, 3000.0, 3000.0, 500.0)
  1009. AddCity("San Fierro", -3000.0, -742.306, -500.0, -1270.53, 1530.24, 500.0)
  1010. AddCity("San Fierro", -1270.53, -402.481, -500.0, -1038.45, 832.495, 500.0)
  1011. AddCity("San Fierro", -1038.45, -145.539, -500.0, -897.546, 376.632, 500.0)
  1012. AddCity("Los Santos", 480.0, -3000.0, -500.0, 3000.0, -850.0, 500.0)
  1013. AddCity("Los Santos", 80.0, -2101.61, -500.0, 1075.0, -1239.61, 500.0)
  1014. AddCity("Tierra Robada", -1213.91, 596.349, -242.99, -480.539, 1659.68, 900.0)
  1015. AddCity("Red County", -1213.91, -768.027, -242.99, 2997.06, 596.349, 900.0)
  1016. AddCity("Flint County", -1213.91, -2892.97, -242.99, 44.6147, -768.027, 900.0)
  1017. AddCity("Whetstone", -2997.47, -2892.97, -242.99, -1213.91, -1115.58, 900.0)
  1018. AddZone("Avispa Country Club", -2667.810, -302.135, -28.831, -2646.400, -262.320, 71.169)
  1019. AddZone("Easter Bay Airport", -1315.420, -405.388, 15.406, -1264.400, -209.543, 25.406)
  1020. AddZone("Avispa Country Club", -2550.040, -355.493, 0.000, -2470.040, -318.493, 39.700)
  1021. AddZone("Easter Bay Airport", -1490.330, -209.543, 15.406, -1264.400, -148.388, 25.406)
  1022. AddZone("Garcia", -2395.140, -222.589, -5.3, -2354.090, -204.792, 200.000)
  1023. AddZone("Shady Cabin", -1632.830, -2263.440, -3.0, -1601.330, -2231.790, 200.000)
  1024. AddZone("East Los Santos", 2381.680, -1494.030, -89.084, 2421.030, -1454.350, 110.916)
  1025. AddZone("LVA Freight Depot", 1236.630, 1163.410, -89.084, 1277.050, 1203.280, 110.916)
  1026. AddZone("Blackfield Intersection", 1277.050, 1044.690, -89.084, 1315.350, 1087.630, 110.916)
  1027. AddZone("Avispa Country Club", -2470.040, -355.493, 0.000, -2270.040, -318.493, 46.100)
  1028. AddZone("Temple", 1252.330, -926.999, -89.084, 1357.000, -910.170, 110.916)
  1029. AddZone("Unity Station", 1692.620, -1971.800, -20.492, 1812.620, -1932.800, 79.508)
  1030. AddZone("LVA Freight Depot", 1315.350, 1044.690, -89.084, 1375.600, 1087.630, 110.916)
  1031. AddZone("Los Flores", 2581.730, -1454.350, -89.084, 2632.830, -1393.420, 110.916)
  1032. AddZone("Starfish Casino", 2437.390, 1858.100, -39.084, 2495.090, 1970.850, 60.916)
  1033. AddZone("Easter Bay Chemicals", -1132.820, -787.391, 0.000, -956.476, -768.027, 200.000)
  1034. AddZone("Downtown Los Santos", 1370.850, -1170.870, -89.084, 1463.900, -1130.850, 110.916)
  1035. AddZone("Esplanade East", -1620.300, 1176.520, -4.5, -1580.010, 1274.260, 200.000)
  1036. AddZone("Market Station", 787.461, -1410.930, -34.126, 866.009, -1310.210, 65.874)
  1037. AddZone("Linden Station", 2811.250, 1229.590, -39.594, 2861.250, 1407.590, 60.406)
  1038. AddZone("Montgomery Intersection", 1582.440, 347.457, 0.000, 1664.620, 401.750, 200.000)
  1039. AddZone("Frederick Bridge", 2759.250, 296.501, 0.000, 2774.250, 594.757, 200.000)
  1040. AddZone("Yellow Bell Station", 1377.480, 2600.430, -21.926, 1492.450, 2687.360, 78.074)
  1041. AddZone("Downtown Los Santos", 1507.510, -1385.210, 110.916, 1582.550, -1325.310, 335.916)
  1042. AddZone("Jefferson", 2185.330, -1210.740, -89.084, 2281.450, -1154.590, 110.916)
  1043. AddZone("Mulholland", 1318.130, -910.170, -89.084, 1357.000, -768.027, 110.916)
  1044. AddZone("Avispa Country Club", -2361.510, -417.199, 0.000, -2270.040, -355.493, 200.000)
  1045. AddZone("Jefferson", 1996.910, -1449.670, -89.084, 2056.860, -1350.720, 110.916)
  1046. AddZone("Julius Thruway West", 1236.630, 2142.860, -89.084, 1297.470, 2243.230, 110.916)
  1047. AddZone("Jefferson", 2124.660, -1494.030, -89.084, 2266.210, -1449.670, 110.916)
  1048. AddZone("Julius Thruway North", 1848.400, 2478.490, -89.084, 1938.800, 2553.490, 110.916)
  1049. AddZone("Rodeo", 422.680, -1570.200, -89.084, 466.223, -1406.050, 110.916)
  1050. AddZone("Cranberry Station", -2007.830, 56.306, 0.000, -1922.000, 224.782, 100.000)
  1051. AddZone("Downtown Los Santos", 1391.050, -1026.330, -89.084, 1463.900, -926.999, 110.916)
  1052. AddZone("Redsands West", 1704.590, 2243.230, -89.084, 1777.390, 2342.830, 110.916)
  1053. AddZone("Little Mexico", 1758.900, -1722.260, -89.084, 1812.620, -1577.590, 110.916)
  1054. AddZone("Blackfield Intersection", 1375.600, 823.228, -89.084, 1457.390, 919.447, 110.916)
  1055. AddZone("Los Santos International", 1974.630, -2394.330, -39.084, 2089.000, -2256.590, 60.916)
  1056. AddZone("Beacon Hill", -399.633, -1075.520, -1.489, -319.033, -977.516, 198.511)
  1057. AddZone("Rodeo", 334.503, -1501.950, -89.084, 422.680, -1406.050, 110.916)
  1058. AddZone("Richman", 225.165, -1369.620, -89.084, 334.503, -1292.070, 110.916)
  1059. AddZone("Downtown Los Santos", 1724.760, -1250.900, -89.084, 1812.620, -1150.870, 110.916)
  1060. AddZone("The Strip", 2027.400, 1703.230, -89.084, 2137.400, 1783.230, 110.916)
  1061. AddZone("Downtown Los Santos", 1378.330, -1130.850, -89.084, 1463.900, -1026.330, 110.916)
  1062. AddZone("Blackfield Intersection", 1197.390, 1044.690, -89.084, 1277.050, 1163.390, 110.916)
  1063. AddZone("Conference Center", 1073.220, -1842.270, -89.084, 1323.900, -1804.210, 110.916)
  1064. AddZone("Montgomery", 1451.400, 347.457, -6.1, 1582.440, 420.802, 200.000)
  1065. AddZone("Foster Valley", -2270.040, -430.276, -1.2, -2178.690, -324.114, 200.000)
  1066. AddZone("Blackfield Chapel", 1325.600, 596.349, -89.084, 1375.600, 795.010, 110.916)
  1067. AddZone("Los Santos International", 2051.630, -2597.260, -39.084, 2152.450, -2394.330, 60.916)
  1068. AddZone("Mulholland", 1096.470, -910.170, -89.084, 1169.130, -768.027, 110.916)
  1069. AddZone("Yellow Bell Gol Course", 1457.460, 2723.230, -89.084, 1534.560, 2863.230, 110.916)
  1070. AddZone("The Strip", 2027.400, 1783.230, -89.084, 2162.390, 1863.230, 110.916)
  1071. AddZone("Jefferson", 2056.860, -1210.740, -89.084, 2185.330, -1126.320, 110.916)
  1072. AddZone("Mulholland", 952.604, -937.184, -89.084, 1096.470, -860.619, 110.916)
  1073. AddZone("Aldea Malvada", -1372.140, 2498.520, 0.000, -1277.590, 2615.350, 200.000)
  1074. AddZone("Las Colinas", 2126.860, -1126.320, -89.084, 2185.330, -934.489, 110.916)
  1075. AddZone("Las Colinas", 1994.330, -1100.820, -89.084, 2056.860, -920.815, 110.916)
  1076. AddZone("Richman", 647.557, -954.662, -89.084, 768.694, -860.619, 110.916)
  1077. AddZone("LVA Freight Depot", 1277.050, 1087.630, -89.084, 1375.600, 1203.280, 110.916)
  1078. AddZone("Julius Thruway North", 1377.390, 2433.230, -89.084, 1534.560, 2507.230, 110.916)
  1079. AddZone("Willowfield", 2201.820, -2095.000, -89.084, 2324.000, -1989.900, 110.916)
  1080. AddZone("Julius Thruway North", 1704.590, 2342.830, -89.084, 1848.400, 2433.230, 110.916)
  1081. AddZone("Temple", 1252.330, -1130.850, -89.084, 1378.330, -1026.330, 110.916)
  1082. AddZone("Little Mexico", 1701.900, -1842.270, -89.084, 1812.620, -1722.260, 110.916)
  1083. AddZone("Queens", -2411.220, 373.539, 0.000, -2253.540, 458.411, 200.000)
  1084. AddZone("Las Venturas Airport", 1515.810, 1586.400, -12.500, 1729.950, 1714.560, 87.500)
  1085. AddZone("Richman", 225.165, -1292.070, -89.084, 466.223, -1235.070, 110.916)
  1086. AddZone("Temple", 1252.330, -1026.330, -89.084, 1391.050, -926.999, 110.916)
  1087. AddZone("East Los Santos", 2266.260, -1494.030, -89.084, 2381.680, -1372.040, 110.916)
  1088. AddZone("Julius Thruway East", 2623.180, 943.235, -89.084, 2749.900, 1055.960, 110.916)
  1089. AddZone("Willowfield", 2541.700, -1941.400, -89.084, 2703.580, -1852.870, 110.916)
  1090. AddZone("Las Colinas", 2056.860, -1126.320, -89.084, 2126.860, -920.815, 110.916)
  1091. AddZone("Julius Thruway East", 2625.160, 2202.760, -89.084, 2685.160, 2442.550, 110.916)
  1092. AddZone("Rodeo", 225.165, -1501.950, -89.084, 334.503, -1369.620, 110.916)
  1093. AddZone("Las Brujas", -365.167, 2123.010, -3.0, -208.570, 2217.680, 200.000)
  1094. AddZone("Julius Thruway East", 2536.430, 2442.550, -89.084, 2685.160, 2542.550, 110.916)
  1095. AddZone("Rodeo", 334.503, -1406.050, -89.084, 466.223, -1292.070, 110.916)
  1096. AddZone("Vinewood", 647.557, -1227.280, -89.084, 787.461, -1118.280, 110.916)
  1097. AddZone("Rodeo", 422.680, -1684.650, -89.084, 558.099, -1570.200, 110.916)
  1098. AddZone("Julius Thruway North", 2498.210, 2542.550, -89.084, 2685.160, 2626.550, 110.916)
  1099. AddZone("Downtown Los Santos", 1724.760, -1430.870, -89.084, 1812.620, -1250.900, 110.916)
  1100. AddZone("Rodeo", 225.165, -1684.650, -89.084, 312.803, -1501.950, 110.916)
  1101. AddZone("Jefferson", 2056.860, -1449.670, -89.084, 2266.210, -1372.040, 110.916)
  1102. AddZone("Hampton Barns", 603.035, 264.312, 0.000, 761.994, 366.572, 200.000)
  1103. AddZone("Temple", 1096.470, -1130.840, -89.084, 1252.330, -1026.330, 110.916)
  1104. AddZone("Kincaid Bridge", -1087.930, 855.370, -89.084, -961.950, 986.281, 110.916)
  1105. AddZone("Verona Beach", 1046.150, -1722.260, -89.084, 1161.520, -1577.590, 110.916)
  1106. AddZone("Commerce", 1323.900, -1722.260, -89.084, 1440.900, -1577.590, 110.916)
  1107. AddZone("Mulholland", 1357.000, -926.999, -89.084, 1463.900, -768.027, 110.916)
  1108. AddZone("Rodeo", 466.223, -1570.200, -89.084, 558.099, -1385.070, 110.916)
  1109. AddZone("Mulholland", 911.802, -860.619, -89.084, 1096.470, -768.027, 110.916)
  1110. AddZone("Mulholland", 768.694, -954.662, -89.084, 952.604, -860.619, 110.916)
  1111. AddZone("Julius Thruway South", 2377.390, 788.894, -89.084, 2537.390, 897.901, 110.916)
  1112. AddZone("Idlewood", 1812.620, -1852.870, -89.084, 1971.660, -1742.310, 110.916)
  1113. AddZone("Ocean Docks", 2089.000, -2394.330, -89.084, 2201.820, -2235.840, 110.916)
  1114. AddZone("Commerce", 1370.850, -1577.590, -89.084, 1463.900, -1384.950, 110.916)
  1115. AddZone("Julius Thruway North", 2121.400, 2508.230, -89.084, 2237.400, 2663.170, 110.916)
  1116. AddZone("Temple", 1096.470, -1026.330, -89.084, 1252.330, -910.170, 110.916)
  1117. AddZone("Glen Park", 1812.620, -1449.670, -89.084, 1996.910, -1350.720, 110.916)
  1118. AddZone("Easter Bay Airport", -1242.980, -50.096, 0.000, -1213.910, 578.396, 200.000)
  1119. AddZone("Martin Bridge", -222.179, 293.324, 0.000, -122.126, 476.465, 200.000)
  1120. AddZone("The Strip", 2106.700, 1863.230, -89.084, 2162.390, 2202.760, 110.916)
  1121. AddZone("Willowfield", 2541.700, -2059.230, -89.084, 2703.580, -1941.400, 110.916)
  1122. AddZone("Marina", 807.922, -1577.590, -89.084, 926.922, -1416.250, 110.916)
  1123. AddZone("Las Venturas Airport", 1457.370, 1143.210, -89.084, 1777.400, 1203.280, 110.916)
  1124. AddZone("Idlewood", 1812.620, -1742.310, -89.084, 1951.660, -1602.310, 110.916)
  1125. AddZone("Esplanade East", -1580.010, 1025.980, -6.1, -1499.890, 1274.260, 200.000)
  1126. AddZone("Downtown Los Santos", 1370.850, -1384.950, -89.084, 1463.900, -1170.870, 110.916)
  1127. AddZone("The Mako Span", 1664.620, 401.750, 0.000, 1785.140, 567.203, 200.000)
  1128. AddZone("Rodeo", 312.803, -1684.650, -89.084, 422.680, -1501.950, 110.916)
  1129. AddZone("Pershing Square", 1440.900, -1722.260, -89.084, 1583.500, -1577.590, 110.916)
  1130. AddZone("Mulholland", 687.802, -860.619, -89.084, 911.802, -768.027, 110.916)
  1131. AddZone("Gant Bridge", -2741.070, 1490.470, -6.1, -2616.400, 1659.680, 200.000)
  1132. AddZone("Las Colinas", 2185.330, -1154.590, -89.084, 2281.450, -934.489, 110.916)
  1133. AddZone("Mulholland", 1169.130, -910.170, -89.084, 1318.130, -768.027, 110.916)
  1134. AddZone("Julius Thruway North", 1938.800, 2508.230, -89.084, 2121.400, 2624.230, 110.916)
  1135. AddZone("Commerce", 1667.960, -1577.590, -89.084, 1812.620, -1430.870, 110.916)
  1136. AddZone("Rodeo", 72.648, -1544.170, -89.084, 225.165, -1404.970, 110.916)
  1137. AddZone("Roca Escalante", 2536.430, 2202.760, -89.084, 2625.160, 2442.550, 110.916)
  1138. AddZone("Rodeo", 72.648, -1684.650, -89.084, 225.165, -1544.170, 110.916)
  1139. AddZone("Market", 952.663, -1310.210, -89.084, 1072.660, -1130.850, 110.916)
  1140. AddZone("Las Colinas", 2632.740, -1135.040, -89.084, 2747.740, -945.035, 110.916)
  1141. AddZone("Mulholland", 861.085, -674.885, -89.084, 1156.550, -600.896, 110.916)
  1142. AddZone("King's", -2253.540, 373.539, -9.1, -1993.280, 458.411, 200.000)
  1143. AddZone("Redsands East", 1848.400, 2342.830, -89.084, 2011.940, 2478.490, 110.916)
  1144. AddZone("Downtown", -1580.010, 744.267, -6.1, -1499.890, 1025.980, 200.000)
  1145. AddZone("Conference Center", 1046.150, -1804.210, -89.084, 1323.900, -1722.260, 110.916)
  1146. AddZone("Richman", 647.557, -1118.280, -89.084, 787.461, -954.662, 110.916)
  1147. AddZone("Ocean Flats", -2994.490, 277.411, -9.1, -2867.850, 458.411, 200.000)
  1148. AddZone("Greenglass College", 964.391, 930.890, -89.084, 1166.530, 1044.690, 110.916)
  1149. AddZone("Glen Park", 1812.620, -1100.820, -89.084, 1994.330, -973.380, 110.916)
  1150. AddZone("LVA Freight Depot", 1375.600, 919.447, -89.084, 1457.370, 1203.280, 110.916)
  1151. AddZone("Regular Tom", -405.770, 1712.860, -3.0, -276.719, 1892.750, 200.000)
  1152. AddZone("Verona Beach", 1161.520, -1722.260, -89.084, 1323.900, -1577.590, 110.916)
  1153. AddZone("East Los Santos", 2281.450, -1372.040, -89.084, 2381.680, -1135.040, 110.916)
  1154. AddZone("Caligula's Palace", 2137.400, 1703.230, -89.084, 2437.390, 1783.230, 110.916)
  1155. AddZone("Idlewood", 1951.660, -1742.310, -89.084, 2124.660, -1602.310, 110.916)
  1156. AddZone("Pilgrim", 2624.400, 1383.230, -89.084, 2685.160, 1783.230, 110.916)
  1157. AddZone("Idlewood", 2124.660, -1742.310, -89.084, 2222.560, -1494.030, 110.916)
  1158. AddZone("Queens", -2533.040, 458.411, 0.000, -2329.310, 578.396, 200.000)
  1159. AddZone("Downtown", -1871.720, 1176.420, -4.5, -1620.300, 1274.260, 200.000)
  1160. AddZone("Commerce", 1583.500, -1722.260, -89.084, 1758.900, -1577.590, 110.916)
  1161. AddZone("East Los Santos", 2381.680, -1454.350, -89.084, 2462.130, -1135.040, 110.916)
  1162. AddZone("Marina", 647.712, -1577.590, -89.084, 807.922, -1416.250, 110.916)
  1163. AddZone("Richman", 72.648, -1404.970, -89.084, 225.165, -1235.070, 110.916)
  1164. AddZone("Vinewood", 647.712, -1416.250, -89.084, 787.461, -1227.280, 110.916)
  1165. AddZone("East Los Santos", 2222.560, -1628.530, -89.084, 2421.030, -1494.030, 110.916)
  1166. AddZone("Rodeo", 558.099, -1684.650, -89.084, 647.522, -1384.930, 110.916)
  1167. AddZone("Easter Tunnel", -1709.710, -833.034, -1.5, -1446.010, -730.118, 200.000)
  1168. AddZone("Rodeo", 466.223, -1385.070, -89.084, 647.522, -1235.070, 110.916)
  1169. AddZone("Redsands East", 1817.390, 2202.760, -89.084, 2011.940, 2342.830, 110.916)
  1170. AddZone("The Clown's Pocket", 2162.390, 1783.230, -89.084, 2437.390, 1883.230, 110.916)
  1171. AddZone("Idlewood", 1971.660, -1852.870, -89.084, 2222.560, -1742.310, 110.916)
  1172. AddZone("Montgomery Intersection", 1546.650, 208.164, 0.000, 1745.830, 347.457, 200.000)
  1173. AddZone("Willowfield", 2089.000, -2235.840, -89.084, 2201.820, -1989.900, 110.916)
  1174. AddZone("Temple", 952.663, -1130.840, -89.084, 1096.470, -937.184, 110.916)
  1175. AddZone("Prickle Pine", 1848.400, 2553.490, -89.084, 1938.800, 2863.230, 110.916)
  1176. AddZone("Los Santos International", 1400.970, -2669.260, -39.084, 2189.820, -2597.260, 60.916)
  1177. AddZone("Garver Bridge", -1213.910, 950.022, -89.084, -1087.930, 1178.930, 110.916)
  1178. AddZone("Garver Bridge", -1339.890, 828.129, -89.084, -1213.910, 1057.040, 110.916)
  1179. AddZone("Kincaid Bridge", -1339.890, 599.218, -89.084, -1213.910, 828.129, 110.916)
  1180. AddZone("Kincaid Bridge", -1213.910, 721.111, -89.084, -1087.930, 950.022, 110.916)
  1181. AddZone("Verona Beach", 930.221, -2006.780, -89.084, 1073.220, -1804.210, 110.916)
  1182. AddZone("Verdant Bluffs", 1073.220, -2006.780, -89.084, 1249.620, -1842.270, 110.916)
  1183. AddZone("Vinewood", 787.461, -1130.840, -89.084, 952.604, -954.662, 110.916)
  1184. AddZone("Vinewood", 787.461, -1310.210, -89.084, 952.663, -1130.840, 110.916)
  1185. AddZone("Commerce", 1463.900, -1577.590, -89.084, 1667.960, -1430.870, 110.916)
  1186. AddZone("Market", 787.461, -1416.250, -89.084, 1072.660, -1310.210, 110.916)
  1187. AddZone("Rockshore West", 2377.390, 596.349, -89.084, 2537.390, 788.894, 110.916)
  1188. AddZone("Julius Thruway North", 2237.400, 2542.550, -89.084, 2498.210, 2663.170, 110.916)
  1189. AddZone("East Beach", 2632.830, -1668.130, -89.084, 2747.740, -1393.420, 110.916)
  1190. AddZone("Fallow Bridge", 434.341, 366.572, 0.000, 603.035, 555.680, 200.000)
  1191. AddZone("Willowfield", 2089.000, -1989.900, -89.084, 2324.000, -1852.870, 110.916)
  1192. AddZone("Chinatown", -2274.170, 578.396, -7.6, -2078.670, 744.170, 200.000)
  1193. AddZone("El Castillo del Diablo", -208.570, 2337.180, 0.000, 8.430, 2487.180, 200.000)
  1194. AddZone("Ocean Docks", 2324.000, -2145.100, -89.084, 2703.580, -2059.230, 110.916)
  1195. AddZone("Easter Bay Chemicals", -1132.820, -768.027, 0.000, -956.476, -578.118, 200.000)
  1196. AddZone("The Visage", 1817.390, 1703.230, -89.084, 2027.400, 1863.230, 110.916)
  1197. AddZone("Ocean Flats", -2994.490, -430.276, -1.2, -2831.890, -222.589, 200.000)
  1198. AddZone("Richman", 321.356, -860.619, -89.084, 687.802, -768.027, 110.916)
  1199. AddZone("Green Palms", 176.581, 1305.450, -3.0, 338.658, 1520.720, 200.000)
  1200. AddZone("Richman", 321.356, -768.027, -89.084, 700.794, -674.885, 110.916)
  1201. AddZone("Starfish Casino", 2162.390, 1883.230, -89.084, 2437.390, 2012.180, 110.916)
  1202. AddZone("East Beach", 2747.740, -1668.130, -89.084, 2959.350, -1498.620, 110.916)
  1203. AddZone("Jefferson", 2056.860, -1372.040, -89.084, 2281.450, -1210.740, 110.916)
  1204. AddZone("Downtown Los Santos", 1463.900, -1290.870, -89.084, 1724.760, -1150.870, 110.916)
  1205. AddZone("Downtown Los Santos", 1463.900, -1430.870, -89.084, 1724.760, -1290.870, 110.916)
  1206. AddZone("Garver Bridge", -1499.890, 696.442, -179.615, -1339.890, 925.353, 20.385)
  1207. AddZone("Julius Thruway South", 1457.390, 823.228, -89.084, 2377.390, 863.229, 110.916)
  1208. AddZone("East Los Santos", 2421.030, -1628.530, -89.084, 2632.830, -1454.350, 110.916)
  1209. AddZone("Greenglass College", 964.391, 1044.690, -89.084, 1197.390, 1203.220, 110.916)
  1210. AddZone("Las Colinas", 2747.740, -1120.040, -89.084, 2959.350, -945.035, 110.916)
  1211. AddZone("Mulholland", 737.573, -768.027, -89.084, 1142.290, -674.885, 110.916)
  1212. AddZone("Ocean Docks", 2201.820, -2730.880, -89.084, 2324.000, -2418.330, 110.916)
  1213. AddZone("East Los Santos", 2462.130, -1454.350, -89.084, 2581.730, -1135.040, 110.916)
  1214. AddZone("Ganton", 2222.560, -1722.330, -89.084, 2632.830, -1628.530, 110.916)
  1215. AddZone("Avispa Country Club", -2831.890, -430.276, -6.1, -2646.400, -222.589, 200.000)
  1216. AddZone("Willowfield", 1970.620, -2179.250, -89.084, 2089.000, -1852.870, 110.916)
  1217. AddZone("Esplanade North", -1982.320, 1274.260, -4.5, -1524.240, 1358.900, 200.000)
  1218. AddZone("The High Roller", 1817.390, 1283.230, -89.084, 2027.390, 1469.230, 110.916)
  1219. AddZone("Ocean Docks", 2201.820, -2418.330, -89.084, 2324.000, -2095.000, 110.916)
  1220. AddZone("Last Dime Motel", 1823.080, 596.349, -89.084, 1997.220, 823.228, 110.916)
  1221. AddZone("Bayside Marina", -2353.170, 2275.790, 0.000, -2153.170, 2475.790, 200.000)
  1222. AddZone("King's", -2329.310, 458.411, -7.6, -1993.280, 578.396, 200.000)
  1223. AddZone("El Corona", 1692.620, -2179.250, -89.084, 1812.620, -1842.270, 110.916)
  1224. AddZone("Blackfield Chapel", 1375.600, 596.349, -89.084, 1558.090, 823.228, 110.916)
  1225. AddZone("The Pink Swan", 1817.390, 1083.230, -89.084, 2027.390, 1283.230, 110.916)
  1226. AddZone("Julius Thruway West", 1197.390, 1163.390, -89.084, 1236.630, 2243.230, 110.916)
  1227. AddZone("Los Flores", 2581.730, -1393.420, -89.084, 2747.740, -1135.040, 110.916)
  1228. AddZone("The Visage", 1817.390, 1863.230, -89.084, 2106.700, 2011.830, 110.916)
  1229. AddZone("Prickle Pine", 1938.800, 2624.230, -89.084, 2121.400, 2861.550, 110.916)
  1230. AddZone("Verona Beach", 851.449, -1804.210, -89.084, 1046.150, -1577.590, 110.916)
  1231. AddZone("Robada Intersection", -1119.010, 1178.930, -89.084, -862.025, 1351.450, 110.916)
  1232. AddZone("Linden Side", 2749.900, 943.235, -89.084, 2923.390, 1198.990, 110.916)
  1233. AddZone("Ocean Docks", 2703.580, -2302.330, -89.084, 2959.350, -2126.900, 110.916)
  1234. AddZone("Willowfield", 2324.000, -2059.230, -89.084, 2541.700, -1852.870, 110.916)
  1235. AddZone("King's", -2411.220, 265.243, -9.1, -1993.280, 373.539, 200.000)
  1236. AddZone("Commerce", 1323.900, -1842.270, -89.084, 1701.900, -1722.260, 110.916)
  1237. AddZone("Mulholland", 1269.130, -768.027, -89.084, 1414.070, -452.425, 110.916)
  1238. AddZone("Marina", 647.712, -1804.210, -89.084, 851.449, -1577.590, 110.916)
  1239. AddZone("Battery Point", -2741.070, 1268.410, -4.5, -2533.040, 1490.470, 200.000)
  1240. AddZone("The Four Dragons Casino", 1817.390, 863.232, -89.084, 2027.390, 1083.230, 110.916)
  1241. AddZone("Blackfield", 964.391, 1203.220, -89.084, 1197.390, 1403.220, 110.916)
  1242. AddZone("Julius Thruway North", 1534.560, 2433.230, -89.084, 1848.400, 2583.230, 110.916)
  1243. AddZone("Yellow Bell Gol Course", 1117.400, 2723.230, -89.084, 1457.460, 2863.230, 110.916)
  1244. AddZone("Idlewood", 1812.620, -1602.310, -89.084, 2124.660, -1449.670, 110.916)
  1245. AddZone("Redsands West", 1297.470, 2142.860, -89.084, 1777.390, 2243.230, 110.916)
  1246. AddZone("Doherty", -2270.040, -324.114, -1.2, -1794.920, -222.589, 200.000)
  1247. AddZone("Hilltop Farm", 967.383, -450.390, -3.0, 1176.780, -217.900, 200.000)
  1248. AddZone("Las Barrancas", -926.130, 1398.730, -3.0, -719.234, 1634.690, 200.000)
  1249. AddZone("Pirates in Men's Pants", 1817.390, 1469.230, -89.084, 2027.400, 1703.230, 110.916)
  1250. AddZone("City Hall", -2867.850, 277.411, -9.1, -2593.440, 458.411, 200.000)
  1251. AddZone("Avispa Country Club", -2646.400, -355.493, 0.000, -2270.040, -222.589, 200.000)
  1252. AddZone("The Strip", 2027.400, 863.229, -89.084, 2087.390, 1703.230, 110.916)
  1253. AddZone("Hashbury", -2593.440, -222.589, -1.0, -2411.220, 54.722, 200.000)
  1254. AddZone("Los Santos International", 1852.000, -2394.330, -89.084, 2089.000, -2179.250, 110.916)
  1255. AddZone("Whitewood Estates", 1098.310, 1726.220, -89.084, 1197.390, 2243.230, 110.916)
  1256. AddZone("Sherman Reservoir", -789.737, 1659.680, -89.084, -599.505, 1929.410, 110.916)
  1257. AddZone("El Corona", 1812.620, -2179.250, -89.084, 1970.620, -1852.870, 110.916)
  1258. AddZone("Downtown", -1700.010, 744.267, -6.1, -1580.010, 1176.520, 200.000)
  1259. AddZone("Foster Valley", -2178.690, -1250.970, 0.000, -1794.920, -1115.580, 200.000)
  1260. AddZone("Las Payasadas", -354.332, 2580.360, 2.0, -133.625, 2816.820, 200.000)
  1261. AddZone("Valle Ocultado", -936.668, 2611.440, 2.0, -715.961, 2847.900, 200.000)
  1262. AddZone("Blackfield Intersection", 1166.530, 795.010, -89.084, 1375.600, 1044.690, 110.916)
  1263. AddZone("Ganton", 2222.560, -1852.870, -89.084, 2632.830, -1722.330, 110.916)
  1264. AddZone("Easter Bay Airport", -1213.910, -730.118, 0.000, -1132.820, -50.096, 200.000)
  1265. AddZone("Redsands East", 1817.390, 2011.830, -89.084, 2106.700, 2202.760, 110.916)
  1266. AddZone("Esplanade East", -1499.890, 578.396, -79.615, -1339.890, 1274.260, 20.385)
  1267. AddZone("Caligula's Palace", 2087.390, 1543.230, -89.084, 2437.390, 1703.230, 110.916)
  1268. AddZone("Royal Casino", 2087.390, 1383.230, -89.084, 2437.390, 1543.230, 110.916)
  1269. AddZone("Richman", 72.648, -1235.070, -89.084, 321.356, -1008.150, 110.916)
  1270. AddZone("Starfish Casino", 2437.390, 1783.230, -89.084, 2685.160, 2012.180, 110.916)
  1271. AddZone("Mulholland", 1281.130, -452.425, -89.084, 1641.130, -290.913, 110.916)
  1272. AddZone("Downtown", -1982.320, 744.170, -6.1, -1871.720, 1274.260, 200.000)
  1273. AddZone("Hankypanky Point", 2576.920, 62.158, 0.000, 2759.250, 385.503, 200.000)
  1274. AddZone("K.A.C.C. Military Fuels", 2498.210, 2626.550, -89.084, 2749.900, 2861.550, 110.916)
  1275. AddZone("Harry Gold Parkway", 1777.390, 863.232, -89.084, 1817.390, 2342.830, 110.916)
  1276. AddZone("Bayside Tunnel", -2290.190, 2548.290, -89.084, -1950.190, 2723.290, 110.916)
  1277. AddZone("Ocean Docks", 2324.000, -2302.330, -89.084, 2703.580, -2145.100, 110.916)
  1278. AddZone("Richman", 321.356, -1044.070, -89.084, 647.557, -860.619, 110.916)
  1279. AddZone("Randolph Industrial Estate", 1558.090, 596.349, -89.084, 1823.080, 823.235, 110.916)
  1280. AddZone("East Beach", 2632.830, -1852.870, -89.084, 2959.350, -1668.130, 110.916)
  1281. AddZone("Flint Water", -314.426, -753.874, -89.084, -106.339, -463.073, 110.916)
  1282. AddZone("Blueberry", 19.607, -404.136, 3.8, 349.607, -220.137, 200.000)
  1283. AddZone("Linden Station", 2749.900, 1198.990, -89.084, 2923.390, 1548.990, 110.916)
  1284. AddZone("Glen Park", 1812.620, -1350.720, -89.084, 2056.860, -1100.820, 110.916)
  1285. AddZone("Downtown", -1993.280, 265.243, -9.1, -1794.920, 578.396, 200.000)
  1286. AddZone("Redsands West", 1377.390, 2243.230, -89.084, 1704.590, 2433.230, 110.916)
  1287. AddZone("Richman", 321.356, -1235.070, -89.084, 647.522, -1044.070, 110.916)
  1288. AddZone("Gant Bridge", -2741.450, 1659.680, -6.1, -2616.400, 2175.150, 200.000)
  1289. AddZone("Lil' Probe Inn", -90.218, 1286.850, -3.0, 153.859, 1554.120, 200.000)
  1290. AddZone("Flint Intersection", -187.700, -1596.760, -89.084, 17.063, -1276.600, 110.916)
  1291. AddZone("Las Colinas", 2281.450, -1135.040, -89.084, 2632.740, -945.035, 110.916)
  1292. AddZone("Sobell Rail Yards", 2749.900, 1548.990, -89.084, 2923.390, 1937.250, 110.916)
  1293. AddZone("The Emerald Isle", 2011.940, 2202.760, -89.084, 2237.400, 2508.230, 110.916)
  1294. AddZone("El Castillo del Diablo", -208.570, 2123.010, -7.6, 114.033, 2337.180, 200.000)
  1295. AddZone("Santa Flora", -2741.070, 458.411, -7.6, -2533.040, 793.411, 200.000)
  1296. AddZone("Playa del Seville", 2703.580, -2126.900, -89.084, 2959.350, -1852.870, 110.916)
  1297. AddZone("Market", 926.922, -1577.590, -89.084, 1370.850, -1416.250, 110.916)
  1298. AddZone("Queens", -2593.440, 54.722, 0.000, -2411.220, 458.411, 200.000)
  1299. AddZone("Pilson Intersection", 1098.390, 2243.230, -89.084, 1377.390, 2507.230, 110.916)
  1300. AddZone("Spinybed", 2121.400, 2663.170, -89.084, 2498.210, 2861.550, 110.916)
  1301. AddZone("Pilgrim", 2437.390, 1383.230, -89.084, 2624.400, 1783.230, 110.916)
  1302. AddZone("Blackfield", 964.391, 1403.220, -89.084, 1197.390, 1726.220, 110.916)
  1303. AddZone("'The Big Ear'", -410.020, 1403.340, -3.0, -137.969, 1681.230, 200.000)
  1304. AddZone("Dillimore", 580.794, -674.885, -9.5, 861.085, -404.790, 200.000)
  1305. AddZone("El Quebrados", -1645.230, 2498.520, 0.000, -1372.140, 2777.850, 200.000)
  1306. AddZone("Esplanade North", -2533.040, 1358.900, -4.5, -1996.660, 1501.210, 200.000)
  1307. AddZone("Easter Bay Airport", -1499.890, -50.096, -1.0, -1242.980, 249.904, 200.000)
  1308. AddZone("Fisher's Lagoon", 1916.990, -233.323, -100.000, 2131.720, 13.800, 200.000)
  1309. AddZone("Mulholland", 1414.070, -768.027, -89.084, 1667.610, -452.425, 110.916)
  1310. AddZone("East Beach", 2747.740, -1498.620, -89.084, 2959.350, -1120.040, 110.916)
  1311. AddZone("San Andreas Sound", 2450.390, 385.503, -100.000, 2759.250, 562.349, 200.000)
  1312. AddZone("Shady Creeks", -2030.120, -2174.890, -6.1, -1820.640, -1771.660, 200.000)
  1313. AddZone("Market", 1072.660, -1416.250, -89.084, 1370.850, -1130.850, 110.916)
  1314. AddZone("Rockshore West", 1997.220, 596.349, -89.084, 2377.390, 823.228, 110.916)
  1315. AddZone("Prickle Pine", 1534.560, 2583.230, -89.084, 1848.400, 2863.230, 110.916)
  1316. AddZone("Easter Basin", -1794.920, -50.096, -1.04, -1499.890, 249.904, 200.000)
  1317. AddZone("Leafy Hollow", -1166.970, -1856.030, 0.000, -815.624, -1602.070, 200.000)
  1318. AddZone("LVA Freight Depot", 1457.390, 863.229, -89.084, 1777.400, 1143.210, 110.916)
  1319. AddZone("Prickle Pine", 1117.400, 2507.230, -89.084, 1534.560, 2723.230, 110.916)
  1320. AddZone("Blueberry", 104.534, -220.137, 2.3, 349.607, 152.236, 200.000)
  1321. AddZone("El Castillo del Diablo", -464.515, 2217.680, 0.000, -208.570, 2580.360, 200.000)
  1322. AddZone("Downtown", -2078.670, 578.396, -7.6, -1499.890, 744.267, 200.000)
  1323. AddZone("Rockshore East", 2537.390, 676.549, -89.084, 2902.350, 943.235, 110.916)
  1324. AddZone("San Fierro Bay", -2616.400, 1501.210, -3.0, -1996.660, 1659.680, 200.000)
  1325. AddZone("Paradiso", -2741.070, 793.411, -6.1, -2533.040, 1268.410, 200.000)
  1326. AddZone("The Camel's Toe", 2087.390, 1203.230, -89.084, 2640.400, 1383.230, 110.916)
  1327. AddZone("Old Venturas Strip", 2162.390, 2012.180, -89.084, 2685.160, 2202.760, 110.916)
  1328. AddZone("Juniper Hill", -2533.040, 578.396, -7.6, -2274.170, 968.369, 200.000)
  1329. AddZone("Juniper Hollow", -2533.040, 968.369, -6.1, -2274.170, 1358.900, 200.000)
  1330. AddZone("Roca Escalante", 2237.400, 2202.760, -89.084, 2536.430, 2542.550, 110.916)
  1331. AddZone("Julius Thruway East", 2685.160, 1055.960, -89.084, 2749.900, 2626.550, 110.916)
  1332. AddZone("Verona Beach", 647.712, -2173.290, -89.084, 930.221, -1804.210, 110.916)
  1333. AddZone("Foster Valley", -2178.690, -599.884, -1.2, -1794.920, -324.114, 200.000)
  1334. AddZone("Arco del Oeste", -901.129, 2221.860, 0.000, -592.090, 2571.970, 200.000)
  1335. AddZone("Fallen Tree", -792.254, -698.555, -5.3, -452.404, -380.043, 200.000)
  1336. AddZone("The Farm", -1209.670, -1317.100, 114.981, -908.161, -787.391, 251.981)
  1337. AddZone("The Sherman Dam", -968.772, 1929.410, -3.0, -481.126, 2155.260, 200.000)
  1338. AddZone("Esplanade North", -1996.660, 1358.900, -4.5, -1524.240, 1592.510, 200.000)
  1339. AddZone("Financial", -1871.720, 744.170, -6.1, -1701.300, 1176.420, 300.000)
  1340. AddZone("Garcia", -2411.220, -222.589, -1.14, -2173.040, 265.243, 200.000)
  1341. AddZone("Montgomery", 1119.510, 119.526, -3.0, 1451.400, 493.323, 200.000)
  1342. AddZone("Creek", 2749.900, 1937.250, -89.084, 2921.620, 2669.790, 110.916)
  1343. AddZone("Los Santos International", 1249.620, -2394.330, -89.084, 1852.000, -2179.250, 110.916)
  1344. AddZone("Santa Maria Beach", 72.648, -2173.290, -89.084, 342.648, -1684.650, 110.916)
  1345. AddZone("Mulholland Intersection", 1463.900, -1150.870, -89.084, 1812.620, -768.027, 110.916)
  1346. AddZone("Angel Pine", -2324.940, -2584.290, -6.1, -1964.220, -2212.110, 200.000)
  1347. AddZone("Verdant Meadows", 37.032, 2337.180, -3.0, 435.988, 2677.900, 200.000)
  1348. AddZone("Octane Springs", 338.658, 1228.510, 0.000, 664.308, 1655.050, 200.000)
  1349. AddZone("Come-A-Lot", 2087.390, 943.235, -89.084, 2623.180, 1203.230, 110.916)
  1350. AddZone("Redsands West", 1236.630, 1883.110, -89.084, 1777.390, 2142.860, 110.916)
  1351. AddZone("Santa Maria Beach", 342.648, -2173.290, -89.084, 647.712, -1684.650, 110.916)
  1352. AddZone("Verdant Bluffs", 1249.620, -2179.250, -89.084, 1692.620, -1842.270, 110.916)
  1353. AddZone("Las Venturas Airport", 1236.630, 1203.280, -89.084, 1457.370, 1883.110, 110.916)
  1354. AddZone("Flint Range", -594.191, -1648.550, 0.000, -187.700, -1276.600, 200.000)
  1355. AddZone("Verdant Bluffs", 930.221, -2488.420, -89.084, 1249.620, -2006.780, 110.916)
  1356. AddZone("Palomino Creek", 2160.220, -149.004, 0.000, 2576.920, 228.322, 200.000)
  1357. AddZone("Ocean Docks", 2373.770, -2697.090, -89.084, 2809.220, -2330.460, 110.916)
  1358. AddZone("Easter Bay Airport", -1213.910, -50.096, -4.5, -947.980, 578.396, 200.000)
  1359. AddZone("Whitewood Estates", 883.308, 1726.220, -89.084, 1098.310, 2507.230, 110.916)
  1360. AddZone("Calton Heights", -2274.170, 744.170, -6.1, -1982.320, 1358.900, 200.000)
  1361. AddZone("Easter Basin", -1794.920, 249.904, -9.1, -1242.980, 578.396, 200.000)
  1362. AddZone("Los Santos Inlet", -321.744, -2224.430, -89.084, 44.615, -1724.430, 110.916)
  1363. AddZone("Doherty", -2173.040, -222.589, -1.0, -1794.920, 265.243, 200.000)
  1364. AddZone("Mount Chiliad", -2178.690, -2189.910, -47.917, -2030.120, -1771.660, 576.083)
  1365. AddZone("Fort Carson", -376.233, 826.326, -3.0, 123.717, 1220.440, 200.000)
  1366. AddZone("Foster Valley", -2178.690, -1115.580, 0.000, -1794.920, -599.884, 200.000)
  1367. AddZone("Ocean Flats", -2994.490, -222.589, -1.0, -2593.440, 277.411, 200.000)
  1368. AddZone("Fern Ridge", 508.189, -139.259, 0.000, 1306.660, 119.526, 200.000)
  1369. AddZone("Bayside", -2741.070, 2175.150, 0.000, -2353.170, 2722.790, 200.000)
  1370. AddZone("Las Venturas Airport", 1457.370, 1203.280, -89.084, 1777.390, 1883.110, 110.916)
  1371. AddZone("Blueberry Acres", -319.676, -220.137, 0.000, 104.534, 293.324, 200.000)
  1372. AddZone("Palisades", -2994.490, 458.411, -6.1, -2741.070, 1339.610, 200.000)
  1373. AddZone("North Rock", 2285.370, -768.027, 0.000, 2770.590, -269.740, 200.000)
  1374. AddZone("Hunter Quarry", 337.244, 710.840, -115.239, 860.554, 1031.710, 203.761)
  1375. AddZone("Los Santos International", 1382.730, -2730.880, -89.084, 2201.820, -2394.330, 110.916)
  1376. AddZone("Missionary Hill", -2994.490, -811.276, 0.000, -2178.690, -430.276, 200.000)
  1377. AddZone("San Fierro Bay", -2616.400, 1659.680, -3.0, -1996.660, 2175.150, 200.000)
  1378. AddZone("Restricted Area", -91.586, 1655.050, -50.000, 421.234, 2123.010, 250.000)
  1379. AddZone("Mount Chiliad", -2997.470, -1115.580, -47.917, -2178.690, -971.913, 576.083)
  1380. AddZone("Mount Chiliad", -2178.690, -1771.660, -47.917, -1936.120, -1250.970, 576.083)
  1381. AddZone("Easter Bay Airport", -1794.920, -730.118, -3.0, -1213.910, -50.096, 200.000)
  1382. AddZone("The Panopticon", -947.980, -304.320, -1.1, -319.676, 327.071, 200.000)
  1383. AddZone("Shady Creeks", -1820.640, -2643.680, -8.0, -1226.780, -1771.660, 200.000)
  1384. AddZone("Back o Beyond", -1166.970, -2641.190, 0.000, -321.744, -1856.030, 200.000)
  1385. AddZone("Mount Chiliad", -2994.490, -2189.910, -47.917, -2178.690, -1115.580, 576.083)
  1386. AddZone("Tierra Robada", -1213.910, 596.349, -242.990, -480.539, 1659.680, 900.000)
  1387. AddZone("Flint County", -1213.910, -2892.970, -242.990, 44.615, -768.027, 900.000)
  1388. AddZone("Whetstone", -2997.470, -2892.970, -242.990, -1213.910, -1115.580, 900.000)
  1389. AddZone("Bone County", -480.539, 596.349, -242.990, 869.461, 2993.870, 900.000)
  1390. AddZone("Tierra Robada", -2997.470, 1659.680, -242.990, -480.539, 2993.870, 900.000)
  1391. AddZone("San Fierro", -2997.470, -1115.580, -242.990, -1213.910, 1659.680, 900.000)
  1392. AddZone("Las Venturas", 869.461, 596.349, -242.990, 2997.060, 2993.870, 900.000)
  1393. AddZone("Red County", -1213.910, -768.027, -242.990, 2997.060, 596.349, 900.000)
  1394. AddZone("Los Santos", 44.615, -2892.970, -242.990, 2997.060, -768.027, 900.000)
  1395. }
  1396. AddZone(sName, x1, y1, z1, x2, y2, z2) {
  1397. global
  1398. zone%nZone%_name := sName
  1399. zone%nZone%_x1 := x1
  1400. zone%nZone%_y1 := y1
  1401. zone%nZone%_z1 := z1
  1402. zone%nZone%_x2 := x2
  1403. zone%nZone%_y2 := y2
  1404. zone%nZone%_z2 := z2
  1405. nZone := nZone + 1
  1406. }
  1407. AddCity(sName, x1, y1, z1, x2, y2, z2) {
  1408. global
  1409. city%nCity%_name := sName
  1410. city%nCity%_x1 := x1
  1411. city%nCity%_y1 := y1
  1412. city%nCity%_z1 := z1
  1413. city%nCity%_x2 := x2
  1414. city%nCity%_y2 := y2
  1415. city%nCity%_z2 := z2
  1416. nCity := nCity + 1
  1417. }
  1418. checkHandles() {
  1419. if(bCheckSizeOnce)
  1420. {
  1421. bCheckSizeOnce:=false
  1422. if (A_PtrSize==8)
  1423. {
  1424. MsgBox % "Script is 64-bit, this won't work.`nCompile with 32-bit!"
  1425. Exitapp
  1426. }
  1427. }
  1428. if(iRefreshHandles+500>A_TickCount)
  1429. return true
  1430. iRefreshHandles:=A_TickCount
  1431. if(!refreshGTA() || !refreshSAMP() || !refreshMemory()) {
  1432. return false
  1433. } else {
  1434. return true
  1435. }
  1436. return true
  1437. }
  1438. refreshGTA() {
  1439. newPID := getPID("GTA:SA:MP")
  1440. if(!newPID) {
  1441. if(hGTA) {
  1442. virtualFreeEx(hGTA, pMemory, 0, 0x8000)
  1443. closeProcess(hGTA)
  1444. hGTA := 0x0
  1445. }
  1446. dwGTAPID := 0
  1447. hGTA := 0x0
  1448. dwSAMP := 0x0
  1449. pMemory := 0x0
  1450. return false
  1451. }
  1452. if(!hGTA || (dwGTAPID != newPID)) {
  1453. hGTA := openProcess(newPID)
  1454. if(ErrorLevel) {
  1455. dwGTAPID := 0
  1456. hGTA := 0x0
  1457. dwSAMP := 0x0
  1458. pMemory := 0x0
  1459. return false
  1460. }
  1461. dwGTAPID := newPID
  1462. dwSAMP := 0x0
  1463. pMemory := 0x0
  1464. return true
  1465. }
  1466. return true
  1467. }
  1468. refreshSAMP() {
  1469. if(dwSAMP)
  1470. return true
  1471. dwSAMP := getModuleBaseAddress("samp.dll", hGTA)
  1472. if(!dwSAMP)
  1473. return false
  1474. return true
  1475. }
  1476. refreshMemory() {
  1477. if(!pMemory) {
  1478. pMemory := virtualAllocEx(hGTA, 6144, 0x1000 | 0x2000, 0x40)
  1479. if(ErrorLevel) {
  1480. pMemory := 0x0
  1481. return false
  1482. }
  1483. pParam1 := pMemory
  1484. pParam2 := pMemory + 1024
  1485. pParam3 := pMemory + 2048
  1486. pParam4 := pMemory + 3072
  1487. pParam5 := pMemory + 4096
  1488. pInjectFunc := pMemory + 5120
  1489. }
  1490. return true
  1491. }
  1492. getPID(szWindow) {
  1493. local dwPID := 0
  1494. WinGet, dwPID, PID, %szWindow%
  1495. return dwPID
  1496. }
  1497. openProcess(dwPID, dwRights = 0x1F0FFF) {
  1498. hProcess := DllCall("OpenProcess"
  1499. , "UInt", dwRights
  1500. , "int", 0
  1501. , "UInt", dwPID
  1502. , "Uint")
  1503. if(hProcess == 0) {
  1504. ErrorLevel := ERROR_OPEN_PROCESS
  1505. return 0
  1506. }
  1507. ErrorLevel := ERROR_OK
  1508. return hProcess
  1509. }
  1510. closeProcess(hProcess) {
  1511. if(hProcess == 0) {
  1512. ErrorLevel := ERROR_INVALID_HANDLE
  1513. return 0
  1514. }
  1515. dwRet := DllCall( "CloseHandle"
  1516. , "Uint", hProcess
  1517. , "UInt")
  1518. ErrorLevel := ERROR_OK
  1519. }
  1520. getModuleBaseAddress(sModule, hProcess) {
  1521. if(!sModule) {
  1522. ErrorLevel := ERROR_MODULE_NOT_FOUND
  1523. return 0
  1524. }
  1525. if(!hProcess) {
  1526. ErrorLevel := ERROR_INVALID_HANDLE
  1527. return 0
  1528. }
  1529. dwSize = 1024*4
  1530. VarSetCapacity(hMods, dwSize)
  1531. VarSetCapacity(cbNeeded, 4)
  1532. dwRet := DllCall( "Psapi.dll\EnumProcessModules"
  1533. , "UInt", hProcess
  1534. , "UInt", &hMods
  1535. , "UInt", dwSize
  1536. , "UInt*", cbNeeded
  1537. , "UInt")
  1538. if(dwRet == 0) {
  1539. ErrorLevel := ERROR_ENUM_PROCESS_MODULES
  1540. return 0
  1541. }
  1542. dwMods := cbNeeded / 4
  1543. i := 0
  1544. VarSetCapacity(hModule, 4)
  1545. VarSetCapacity(sCurModule, 260)
  1546. while(i < dwMods) {
  1547. hModule := NumGet(hMods, i*4)
  1548. DllCall("Psapi.dll\GetModuleFileNameEx"
  1549. , "UInt", hProcess
  1550. , "UInt", hModule
  1551. , "Str", sCurModule
  1552. , "UInt", 260)
  1553. SplitPath, sCurModule, sFilename
  1554. if(sModule == sFilename) {
  1555. ErrorLevel := ERROR_OK
  1556. return hModule
  1557. }
  1558. i := i + 1
  1559. }
  1560. ErrorLevel := ERROR_MODULE_NOT_FOUND
  1561. return 0
  1562. }
  1563. readString(hProcess, dwAddress, dwLen) {
  1564. if(!hProcess) {
  1565. ErrorLevel := ERROR_INVALID_HANDLE
  1566. return 0
  1567. }
  1568. VarSetCapacity(sRead, dwLen)
  1569. dwRet := DllCall( "ReadProcessMemory"
  1570. , "UInt", hProcess
  1571. , "UInt", dwAddress
  1572. , "Str", sRead
  1573. , "UInt", dwLen
  1574. , "UInt*", 0
  1575. , "UInt")
  1576. if(dwRet == 0) {
  1577. ErrorLevel := ERROR_READ_MEMORY
  1578. return 0
  1579. }
  1580. ErrorLevel := ERROR_OK
  1581. if A_IsUnicode
  1582. return __ansiToUnicode(sRead)
  1583. return sRead
  1584. }
  1585. readFloat(hProcess, dwAddress) {
  1586. if(!hProcess) {
  1587. ErrorLevel := ERROR_INVALID_HANDLE
  1588. return 0
  1589. }
  1590. VarSetCapacity(dwRead, 4)
  1591. dwRet := DllCall( "ReadProcessMemory"
  1592. , "UInt", hProcess
  1593. , "UInt", dwAddress
  1594. , "Str", dwRead
  1595. , "UInt", 4
  1596. , "UInt*", 0
  1597. , "UInt")
  1598. if(dwRet == 0) {
  1599. ErrorLevel := ERROR_READ_MEMORY
  1600. return 0
  1601. }
  1602. ErrorLevel := ERROR_OK
  1603. return NumGet(dwRead, 0, "Float")
  1604. }
  1605. readDWORD(hProcess, dwAddress) {
  1606. if(!hProcess) {
  1607. ErrorLevel := ERROR_INVALID_HANDLE
  1608. return 0
  1609. }
  1610. VarSetCapacity(dwRead, 4)
  1611. dwRet := DllCall( "ReadProcessMemory"
  1612. , "UInt", hProcess
  1613. , "UInt", dwAddress
  1614. , "Str", dwRead
  1615. , "UInt", 4
  1616. , "UInt*", 0)
  1617. if(dwRet == 0) {
  1618. ErrorLevel := ERROR_READ_MEMORY
  1619. return 0
  1620. }
  1621. ErrorLevel := ERROR_OK
  1622. return NumGet(dwRead, 0, "UInt")
  1623. }
  1624. readMem(hProcess, dwAddress, dwLen=4, type="UInt") {
  1625. if(!hProcess) {
  1626. ErrorLevel := ERROR_INVALID_HANDLE
  1627. return 0
  1628. }
  1629. VarSetCapacity(dwRead, dwLen)
  1630. dwRet := DllCall( "ReadProcessMemory"
  1631. , "UInt", hProcess
  1632. , "UInt", dwAddress
  1633. , "Str", dwRead
  1634. , "UInt", dwLen
  1635. , "UInt*", 0)
  1636. if(dwRet == 0) {
  1637. ErrorLevel := ERROR_READ_MEMORY
  1638. return 0
  1639. }
  1640. ErrorLevel := ERROR_OK
  1641. return NumGet(dwRead, 0, type)
  1642. }
  1643. writeString(hProcess, dwAddress, wString) {
  1644. if(!hProcess) {
  1645. ErrorLevel := ERROR_INVALID_HANDLE
  1646. return false
  1647. }
  1648. sString := wString
  1649. if A_IsUnicode
  1650. sString := __unicodeToAnsi(wString)
  1651. dwRet := DllCall( "WriteProcessMemory"
  1652. , "UInt", hProcess
  1653. , "UInt", dwAddress
  1654. , "Str", sString
  1655. , "UInt", StrLen(wString) + 1
  1656. , "UInt", 0
  1657. , "UInt")
  1658. if(dwRet == 0) {
  1659. ErrorLEvel := ERROR_WRITE_MEMORY
  1660. return false
  1661. }
  1662. ErrorLevel := ERROR_OK
  1663. return true
  1664. }
  1665. writeRaw(hProcess, dwAddress, pBuffer, dwLen) {
  1666. if(!hProcess) {
  1667. ErrorLevel := ERROR_INVALID_HANDLE
  1668. return false
  1669. }
  1670. dwRet := DllCall( "WriteProcessMemory"
  1671. , "UInt", hProcess
  1672. , "UInt", dwAddress
  1673. , "UInt", pBuffer
  1674. , "UInt", dwLen
  1675. , "UInt", 0
  1676. , "UInt")
  1677. if(dwRet == 0) {
  1678. ErrorLEvel := ERROR_WRITE_MEMORY
  1679. return false
  1680. }
  1681. ErrorLevel := ERROR_OK
  1682. return true
  1683. }
  1684. callWithParams(hProcess, dwFunc, aParams, bCleanupStack = true) {
  1685. if(!hProcess) {
  1686. ErrorLevel := ERROR_INVALID_HANDLE
  1687. return false
  1688. }
  1689. validParams := 0
  1690. i := aParams.MaxIndex()
  1691. dwLen := i * 5 + 5 + 1
  1692. if(bCleanupStack)
  1693. dwLen += 3
  1694. VarSetCapacity(injectData, i * 5 + 5 + 3 + 1, 0)
  1695. i_ := 1
  1696. while(i > 0) {
  1697. if(aParams[i][1] != "") {
  1698. dwMemAddress := 0x0
  1699. if(aParams[i][1] == "p") {
  1700. dwMemAddress := aParams[i][2]
  1701. } else if(aParams[i][1] == "s") {
  1702. if(i_>3)
  1703. return false
  1704. dwMemAddress := pParam%i_%
  1705. writeString(hProcess, dwMemAddress, aParams[i][2])
  1706. if(ErrorLevel)
  1707. return false
  1708. i_ += 1
  1709. } else if(aParams[i][1] == "i") {
  1710. dwMemAddress := aParams[i][2]
  1711. } else {
  1712. return false
  1713. }
  1714. NumPut(0x68, injectData, validParams * 5, "UChar")
  1715. NumPut(dwMemAddress, injectData, validParams * 5 + 1, "UInt")
  1716. validParams += 1
  1717. }
  1718. i -= 1
  1719. }
  1720. offset := dwFunc - ( pInjectFunc + validParams * 5 + 5 )
  1721. NumPut(0xE8, injectData, validParams * 5, "UChar")
  1722. NumPut(offset, injectData, validParams * 5 + 1, "Int")
  1723. if(bCleanupStack) {
  1724. NumPut(0xC483, injectData, validParams * 5 + 5, "UShort")
  1725. NumPut(validParams*4, injectData, validParams * 5 + 7, "UChar")
  1726. NumPut(0xC3, injectData, validParams * 5 + 8, "UChar")
  1727. } else {
  1728. NumPut(0xC3, injectData, validParams * 5 + 5, "UChar")
  1729. }
  1730. writeRaw(hGTA, pInjectFunc, &injectData, dwLen)
  1731. if(ErrorLevel)
  1732. return false
  1733. hThread := createRemoteThread(hGTA, 0, 0, pInjectFunc, 0, 0, 0)
  1734. if(ErrorLevel)
  1735. return false
  1736. waitForSingleObject(hThread, 0xFFFFFFFF)
  1737. closeProcess(hThread)
  1738. return true
  1739. }
  1740. virtualAllocEx(hProcess, dwSize, flAllocationType, flProtect) {
  1741. if(!hProcess) {
  1742. ErrorLevel := ERROR_INVALID_HANDLE
  1743. return 0
  1744. }
  1745. dwRet := DllCall( "VirtualAllocEx"
  1746. , "UInt", hProcess
  1747. , "UInt", 0
  1748. , "UInt", dwSize
  1749. , "UInt", flAllocationType
  1750. , "UInt", flProtect
  1751. , "UInt")
  1752. if(dwRet == 0) {
  1753. ErrorLEvel := ERROR_ALLOC_MEMORY
  1754. return 0
  1755. }
  1756. ErrorLevel := ERROR_OK
  1757. return dwRet
  1758. }
  1759. virtualFreeEx(hProcess, lpAddress, dwSize, dwFreeType) {
  1760. if(!hProcess) {
  1761. ErrorLevel := ERROR_INVALID_HANDLE
  1762. return 0
  1763. }
  1764. dwRet := DllCall( "VirtualFreeEx"
  1765. , "UInt", hProcess
  1766. , "UInt", lpAddress
  1767. , "UInt", dwSize
  1768. , "UInt", dwFreeType
  1769. , "UInt")
  1770. if(dwRet == 0) {
  1771. ErrorLEvel := ERROR_FREE_MEMORY
  1772. return 0
  1773. }
  1774. ErrorLevel := ERROR_OK
  1775. return dwRet
  1776. }
  1777. createRemoteThread(hProcess, lpThreadAttributes, dwStackSize, lpStartAddress, lpParameter, dwCreationFlags, lpThreadId) {
  1778. if(!hProcess) {
  1779. ErrorLevel := ERROR_INVALID_HANDLE
  1780. return 0
  1781. }
  1782. dwRet := DllCall( "CreateRemoteThread"
  1783. , "UInt", hProcess
  1784. , "UInt", lpThreadAttributes
  1785. , "UInt", dwStackSize
  1786. , "UInt", lpStartAddress
  1787. , "UInt", lpParameter
  1788. , "UInt", dwCreationFlags
  1789. , "UInt", lpThreadId
  1790. , "UInt")
  1791. if(dwRet == 0) {
  1792. ErrorLEvel := ERROR_ALLOC_MEMORY
  1793. return 0
  1794. }
  1795. ErrorLevel := ERROR_OK
  1796. return dwRet
  1797. }
  1798. waitForSingleObject(hThread, dwMilliseconds) {
  1799. if(!hThread) {
  1800. ErrorLevel := ERROR_INVALID_HANDLE
  1801. return 0
  1802. }
  1803. dwRet := DllCall( "WaitForSingleObject"
  1804. , "UInt", hThread
  1805. , "UInt", dwMilliseconds
  1806. , "UInt")
  1807. if(dwRet == 0xFFFFFFFF) {
  1808. ErrorLEvel := ERROR_WAIT_FOR_OBJECT
  1809. return 0
  1810. }
  1811. ErrorLevel := ERROR_OK
  1812. return dwRet
  1813. }
  1814. __ansiToUnicode(sString, nLen = 0) {
  1815. If !nLen
  1816. {
  1817. nLen := DllCall("MultiByteToWideChar"
  1818. , "Uint", 0
  1819. , "Uint", 0
  1820. , "Uint", &sString
  1821. , "int", -1
  1822. , "Uint", 0
  1823. , "int", 0)
  1824. }
  1825. VarSetCapacity(wString, nLen * 2)
  1826. DllCall("MultiByteToWideChar"
  1827. , "Uint", 0
  1828. , "Uint", 0
  1829. , "Uint", &sString
  1830. , "int", -1
  1831. , "Uint", &wString
  1832. , "int", nLen)
  1833. return wString
  1834. }
  1835. __unicodeToAnsi(wString, nLen = 0) {
  1836. pString := wString + 1 > 65536 ? wString : &wString
  1837. If !nLen
  1838. {
  1839. nLen := DllCall("WideCharToMultiByte"
  1840. , "Uint", 0
  1841. , "Uint", 0
  1842. , "Uint", pString
  1843. , "int", -1
  1844. , "Uint", 0
  1845. , "int", 0
  1846. , "Uint", 0
  1847. , "Uint", 0)
  1848. }
  1849. VarSetCapacity(sString, nLen)
  1850. DllCall("WideCharToMultiByte"
  1851. , "Uint", 0
  1852. , "Uint", 0
  1853. , "Uint", pString
  1854. , "int", -1
  1855. , "str", sString
  1856. , "int", nLen
  1857. , "Uint", 0
  1858. , "Uint", 0)
  1859. return sString
  1860. }
  1861. #NoEnv
  1862. PATH_OVERLAY := RelToAbs(A_ScriptDir, "dx9_overlay.dll")
  1863. hModule := DllCall("LoadLibrary", Str, PATH_OVERLAY)
  1864. if(hModule == -1 || hModule == 0)
  1865. {
  1866. MsgBox, 48, Error, The dll-file couldn't be found!
  1867. ExitApp
  1868. }
  1869. Init_func := DllCall("GetProcAddress", UInt, hModule, Str, "Init")
  1870. SetParam_func := DllCall("GetProcAddress", UInt, hModule, Str, "SetParam")
  1871. TextCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextCreate")
  1872. TextDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextDestroy")
  1873. TextSetShadow_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetShadow")
  1874. TextSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetShown")
  1875. TextSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetColor")
  1876. TextSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetPos")
  1877. TextSetString_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetString")
  1878. TextUpdate_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextUpdate")
  1879. BoxCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxCreate")
  1880. BoxDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxDestroy")
  1881. BoxSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetShown")
  1882. BoxSetBorder_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetBorder")
  1883. BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetBorderColor")
  1884. BoxSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetColor")
  1885. BoxSetHeight_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetHeight")
  1886. BoxSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetPos")
  1887. BoxSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetWidth")
  1888. LineCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineCreate")
  1889. LineDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineDestroy")
  1890. LineSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetShown")
  1891. LineSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetColor")
  1892. LineSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetWidth")
  1893. LineSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetPos")
  1894. ImageCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageCreate")
  1895. ImageDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageDestroy")
  1896. ImageSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetShown")
  1897. ImageSetAlign_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetAlign")
  1898. ImageSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetPos")
  1899. ImageSetRotation_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetRotation")
  1900. DestroyAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "DestroyAllVisual")
  1901. ShowAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "ShowAllVisual")
  1902. HideAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "HideAllVisual")
  1903. GetFrameRate_func := DllCall("GetProcAddress", UInt, hModule, Str, "GetFrameRate")
  1904. GetScreenSpecs_func := DllCall("GetProcAddress", UInt, hModule, Str, "GetScreenSpecs")
  1905. Init()
  1906. {
  1907. global Init_func
  1908. res := DllCall(Init_func)
  1909. return res
  1910. }
  1911. SetParam(str_Name, str_Value)
  1912. {
  1913. global SetParam_func
  1914. res := DllCall(SetParam_func, Str, str_Name, Str, str_Value)
  1915. return res
  1916. }
  1917. TextCreate(Font, fontsize, bold, italic, x, y, color, text, shadow, show)
  1918. {
  1919. global TextCreate_func
  1920. res := DllCall(TextCreate_func,Str,Font,Int,fontsize,UChar,bold,UChar,italic,Int,x,Int,y,UInt,color,Str,text,UChar,shadow,UChar,show)
  1921. return res
  1922. }
  1923. TextDestroy(id)
  1924. {
  1925. global TextDestroy_func
  1926. res := DllCall(TextDestroy_func,Int,id)
  1927. return res
  1928. }
  1929. TextSetShadow(id, shadow)
  1930. {
  1931. global TextSetShadow_func
  1932. res := DllCall(TextSetShadow_func,Int,id,UChar,shadow)
  1933. return res
  1934. }
  1935. TextSetShown(id, show)
  1936. {
  1937. global TextSetShown_func
  1938. res := DllCall(TextSetShown_func,Int,id,UChar,show)
  1939. return res
  1940. }
  1941. TextSetColor(id,color)
  1942. {
  1943. global TextSetColor_func
  1944. res := DllCall(TextSetColor_func,Int,id,UInt,color)
  1945. return res
  1946. }
  1947. TextSetPos(id,x,y)
  1948. {
  1949. global TextSetPos_func
  1950. res := DllCall(TextSetPos_func,Int,id,Int,x,Int,y)
  1951. return res
  1952. }
  1953. TextSetString(id,Text)
  1954. {
  1955. global TextSetString_func
  1956. res := DllCall(TextSetString_func,Int,id,Str,Text)
  1957. return res
  1958. }
  1959. TextUpdate(id,Font,Fontsize,bold,italic)
  1960. {
  1961. global TextUpdate_func
  1962. res := DllCall(TextUpdate_func,Int,id,Str,Font,int,Fontsize,UChar,bold,UChar,italic)
  1963. return res
  1964. }
  1965. BoxCreate(x,y,width,height,Color,show)
  1966. {
  1967. global BoxCreate_func
  1968. res := DllCall(BoxCreate_func,Int,x,Int,y,Int,width,Int,height,UInt,Color,UChar,show)
  1969. return res
  1970. }
  1971. BoxDestroy(id)
  1972. {
  1973. global BoxDestroy_func
  1974. res := DllCall(BoxDestroy_func,Int,id)
  1975. return res
  1976. }
  1977. BoxSetShown(id,Show)
  1978. {
  1979. global BoxSetShown_func
  1980. res := DllCall(BoxSetShown_func,Int,id,UChar,Show)
  1981. return res
  1982. }
  1983. BoxSetBorder(id,height,Show)
  1984. {
  1985. global BoxSetBorder_func
  1986. res := DllCall(BoxSetBorder_func,Int,id,Int,height,Int,Show)
  1987. return res
  1988. }
  1989. BoxSetBorderColor(id,Color)
  1990. {
  1991. global BoxSetBorderColor_func
  1992. res := DllCall(BoxSetBorderColor_func,Int,id,UInt,Color)
  1993. return res
  1994. }
  1995. BoxSetColor(id,Color)
  1996. {
  1997. global BoxSetColor_func
  1998. res := DllCall(BoxSetColor_func,Int,id,UInt,Color)
  1999. return res
  2000. }
  2001. BoxSetHeight(id,height)
  2002. {
  2003. global BoxSetHeight_func
  2004. res := DllCall(BoxSetHeight_func,Int,id,Int,height)
  2005. return res
  2006. }
  2007. BoxSetPos(id,x,y)
  2008. {
  2009. global BoxSetPos_func
  2010. res := DllCall(BoxSetPos_func,Int,id,Int,x,Int,y)
  2011. return res
  2012. }
  2013. BoxSetWidth(id,width)
  2014. {
  2015. global BoxSetWidth_func
  2016. res := DllCall(BoxSetWidth_func,Int,id,Int,width)
  2017. return res
  2018. }
  2019. LineCreate(x1,y1,x2,y2,width,color,show)
  2020. {
  2021. global LineCreate_func
  2022. res := DllCall(LineCreate_func,Int,x1,Int,y1,Int,x2,Int,y2,Int,Width,UInt,color,UChar,show)
  2023. return res
  2024. }
  2025. LineDestroy(id)
  2026. {
  2027. global LineDestroy_func
  2028. res := DllCall(LineDestroy_func,Int,id)
  2029. return res
  2030. }
  2031. LineSetShown(id,show)
  2032. {
  2033. global LineSetShown_func
  2034. res := DllCall(LineSetShown_func,Int,id,UChar,show)
  2035. return res
  2036. }
  2037. LineSetColor(id,color)
  2038. {
  2039. global LineSetColor_func
  2040. res := DllCall(LineSetColor_func,Int,id,UInt,color)
  2041. return res
  2042. }
  2043. LineSetWidth(id, width)
  2044. {
  2045. global LineSetWidth_func
  2046. res := DllCall(LineSetWidth_func,Int,id,Int,width)
  2047. return res
  2048. }
  2049. LineSetPos(id,x1,y1,x2,y2)
  2050. {
  2051. global LineSetPos_func
  2052. res := DllCall(LineSetPos_func,Int,id,Int,x1,Int,y1,Int,x2,Int,y2)
  2053. return res
  2054. }
  2055. ImageCreate(path, x, y, rotation, align, show)
  2056. {
  2057. global ImageCreate_func
  2058. res := DllCall(ImageCreate_func, Str, path, Int, x, Int, y, Int, rotation, Int, align, UChar, show)
  2059. return res
  2060. }
  2061. ImageDestroy(id)
  2062. {
  2063. global ImageDestroy_func
  2064. res := DllCall(ImageDestroy_func,Int,id)
  2065. return res
  2066. }
  2067. ImageSetShown(id,show)
  2068. {
  2069. global ImageSetShown_func
  2070. res := DllCall(ImageSetShown_func,Int,id,UChar,show)
  2071. return res
  2072. }
  2073. ImageSetAlign(id,align)
  2074. {
  2075. global ImageSetAlign_func
  2076. res := DllCall(ImageSetAlign_func,Int,id,Int,align)
  2077. return res
  2078. }
  2079. ImageSetPos(id, x, y)
  2080. {
  2081. global ImageSetPos_func
  2082. res := DllCall(ImageSetPos_func,Int,id,Int,x, Int, y)
  2083. return res
  2084. }
  2085. ImageSetRotation(id, rotation)
  2086. {
  2087. global ImageSetRotation_func
  2088. res := DllCall(ImageSetRotation_func,Int,id,Int, rotation)
  2089. return res
  2090. }
  2091. DestroyAllVisual()
  2092. {
  2093. global DestroyAllVisual_func
  2094. res := DllCall(DestroyAllVisual_func)
  2095. return res
  2096. }
  2097. ShowAllVisual()
  2098. {
  2099. global ShowAllVisual_func
  2100. res := DllCall(ShowAllVisual_func)
  2101. return res
  2102. }
  2103. HideAllVisual()
  2104. {
  2105. global HideAllVisual_func
  2106. res := DllCall(HideAllVisual_func )
  2107. return res
  2108. }
  2109. GetScreenSpecs(ByRef width, ByRef height)
  2110. {
  2111. global GetScreenSpecs_func
  2112. res := DllCall(GetScreenSpecs_func, IntP, width, IntP, height)
  2113. return res
  2114. }
  2115. GetFrameRate()
  2116. {
  2117. global GetFrameRate_func
  2118. res := DllCall(GetFrameRate_func )
  2119. return res
  2120. }
  2121. RelToAbs(root, dir, s = "\") {
  2122. pr := SubStr(root, 1, len := InStr(root, s, "", InStr(root, s . s) + 2) - 1)
  2123. , root := SubStr(root, len + 1), sk := 0
  2124. If InStr(root, s, "", 0) = StrLen(root)
  2125. StringTrimRight, root, root, 1
  2126. If InStr(dir, s, "", 0) = StrLen(dir)
  2127. StringTrimRight, dir, dir, 1
  2128. Loop, Parse, dir, %s%
  2129. {
  2130. If A_LoopField = ..
  2131. StringLeft, root, root, InStr(root, s, "", 0) - 1
  2132. Else If A_LoopField =
  2133. root =
  2134. Else If A_LoopField != .
  2135. Continue
  2136. StringReplace, dir, dir, %A_LoopField%%s%
  2137. }
  2138. Return, pr . root . s . dir
  2139. }
  2140. isPlayerOnline(Name)
  2141. {
  2142. return GetPlayerIDByname(Name) != -1
  2143. }
  2144. getSkinID() {
  2145. if(!checkHandles())
  2146. return -1
  2147. dwAddress := readDWORD(hGTA, 0xB6F3B8)
  2148. if(ErrorLevel || dwAddress==0) {
  2149. ErrorLevel := ERROR_READ_MEMORY
  2150. return -1
  2151. }
  2152. id := readMem(hGTA, dwAddress + 0x22, 2, "UShort")
  2153. if(ErrorLevel) {
  2154. ErrorLevel := ERROR_READ_MEMORY
  2155. return -1
  2156. }
  2157. ErrorLevel := ERROR_OK
  2158. return id
  2159. }
  2160. UrlDownloadToVar(URL, Proxy="", ProxyBypass="") {
  2161. AutoTrim, Off
  2162. hModule := DllCall("LoadLibrary", "str", "wininet.dll")
  2163. If (Proxy != "")
  2164. AccessType=3
  2165. Else
  2166. AccessType=1
  2167. io_hInternet := DllCall("wininet\InternetOpenA"
  2168. , "str", ""
  2169. , "uint", AccessType
  2170. , "str", Proxy
  2171. , "str", ProxyBypass
  2172. , "uint", 0)
  2173. iou := DllCall("wininet\InternetOpenUrlA"
  2174. , "uint", io_hInternet
  2175. , "str", url
  2176. , "str", ""
  2177. , "uint", 0
  2178. , "uint", 0x80000000
  2179. , "uint", 0)
  2180. If (ErrorLevel != 0 or iou = 0) {
  2181. DllCall("FreeLibrary", "uint", hModule)
  2182. return 0
  2183. }
  2184. VarSetCapacity(buffer, 512, 0)
  2185. VarSetCapacity(NumberOfBytesRead, 4, 0)
  2186. Loop
  2187. {
  2188. irf := DllCall("wininet\InternetReadFile", "uint", iou, "uint", &buffer, "uint", 512, "uint", &NumberOfBytesRead)
  2189. NOBR = 0
  2190. Loop 4
  2191. NOBR += *(&NumberOfBytesRead + A_Index-1) << 8*(A_Index-1)
  2192. IfEqual, NOBR, 0, break
  2193. DllCall("lstrcpy", "str", buffer, "uint", &buffer)
  2194. res = %res%%buffer%
  2195. }
  2196. DllCall("wininet\InternetCloseHandle", "uint", iou)
  2197. DllCall("wininet\InternetCloseHandle", "uint", io_hInternet)
  2198. DllCall("FreeLibrary", "uint", hModule)
  2199. AutoTrim, on
  2200. return, res
  2201. }
  2202. getPlayerNameByName2(wName) {
  2203. if(StrLen(wName) < 1 || StrLen(wName) > 24)
  2204. return -1
  2205. if(iRefreshScoreboard+1000 > A_TickCount)
  2206. {
  2207. Loop % oScoreboardData.MaxIndex()
  2208. {
  2209. if(InStr(oScoreboardData[A_Index].NAME,wName)==1)
  2210. return oScoreboardData[A_Index].NAME
  2211. }
  2212. return -1
  2213. }
  2214. if(!updateOScoreboardData())
  2215. return -1
  2216. Loop % oScoreboardData.MaxIndex()
  2217. {
  2218. if(InStr(oScoreboardData[A_Index].NAME,wName)==1)
  2219. return oScoreboardData[A_Index].NAME
  2220. }
  2221. return -1
  2222. }
  2223. GetPlayerPos(ByRef fX,ByRef fY,ByRef fZ) {
  2224. if(!checkHandles())
  2225. return 0
  2226. fX := readFloat(hGTA, ADDR_POSITION_X)
  2227. if(ErrorLevel) {
  2228. ErrorLevel := ERROR_READ_MEMORY
  2229. return 0
  2230. }
  2231. fY := readFloat(hGTA, ADDR_POSITION_Y)
  2232. if(ErrorLevel) {
  2233. ErrorLevel := ERROR_READ_MEMORY
  2234. return 0
  2235. }
  2236. fZ := readFloat(hGTA, ADDR_POSITION_Z)
  2237. if(ErrorLevel) {
  2238. ErrorLevel := ERROR_READ_MEMORY
  2239. return 0
  2240. }
  2241. ErrorLevel := ERROR_OK
  2242. }
  2243. getPlayerName() {
  2244. if(!checkHandles())
  2245. return ""
  2246. dwAddress := dwSAMP + ADDR_SAMP_USERNAME
  2247. sUsername := readString(hGTA, dwAddress, 25)
  2248. if(ErrorLevel) {
  2249. ErrorLevel := ERROR_READ_MEMORY
  2250. return ""
  2251. }
  2252. ErrorLevel := ERROR_OK
  2253. return sUsername
  2254. }
  2255. GetChatLine(Line, ByRef Output, timestamp=0, color=0)
  2256. {
  2257. chatindex := 0
  2258. FileRead, file, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2259. loop, Parse, file, `n, `r
  2260. {
  2261. if(A_LoopField)
  2262. chatindex := A_Index
  2263. }
  2264. loop, Parse, file, `n, `r
  2265. {
  2266. if(A_Index = chatindex - line)
  2267. {
  2268. output := A_LoopField
  2269. break
  2270. }
  2271. }
  2272. file := ""
  2273. if(!timestamp)
  2274. output := RegExReplace(output, "U)^\[\d{2}:\d{2}:\d{2}\]")
  2275. if(!color)
  2276. output := RegExReplace(output, "Ui)\{[a-f0-9]{6}\}")
  2277. return
  2278. }
  2279. IsPlayerInAnyInterior()
  2280. {
  2281. address := readDWORD(hGTA,0xB6F5F0)
  2282. address := readMem(hGTA,address + 0x2F, 4, "byte")
  2283. if(address == 0)
  2284. {
  2285. return false
  2286. }
  2287. else
  2288. {
  2289. return true
  2290. }
  2291. }
  2292. isVehicleLocked() {
  2293. if(!checkHandles())
  2294. return -1
  2295. dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
  2296. if(ErrorLevel) {
  2297. ErrorLevel := ERROR_READ_MEMORY
  2298. return -1
  2299. }
  2300. if(!dwAddr)
  2301. return -1
  2302. dwVal := readDWORD(hGTA, dwAddr + ADDR_VEHICLE_DOORSTATE)
  2303. if(ErrorLevel) {
  2304. ErrorLevel := ERROR_READ_MEMORY
  2305. return -1
  2306. }
  2307. ErrorLevel := ERROR_OK
  2308. return (dwVal==2)
  2309. }
  2310. IsPlayerInRangeOfPoint(_posX, _posY, _posZ, _posRadius)
  2311. {
  2312. GetPlayerPos(posX, posY, posZ)
  2313. X := posX -_posX
  2314. Y := posY -_posY
  2315. Z := posZ -_posZ
  2316. if(((X < _posRadius) && (X > -_posRadius)) && ((Y < _posRadius) && (Y > -_posRadius)) && ((Z < _posRadius) && (Z > -_posRadius)))
  2317. return TRUE
  2318. return FALSE
  2319. }
  2320. IsPlayerInRangeOfPoint2D(_posX, _posY, _posRadius)
  2321. {
  2322. GetPlayerPos(posX, posY, posZ)
  2323. X := posX - _posX
  2324. Y := posY - _posY
  2325. if(((X < _posRadius) && (X > -_posRadius)) && ((Y < _posRadius) && (Y > -_posRadius)))
  2326. return TRUE
  2327. return FALSE
  2328. }
  2329. RGN_Location()
  2330. {
  2331. If(IsPlayerinanyVehicle() == 0 or IsPlayerinanyVehicle() == 1)
  2332. If(IsPlayerinRangeofPoint(865.2680,-1848.3965,8.8229, 50))
  2333. Location .= "{FFFFFF}{5B89CB} S-Box`n"
  2334. If(IsPlayerinRangeofPoint(618.9803,891.4091,-37.1285, 50))
  2335. Location .= "{FFFFFF}{5B89CB} LV-Box`n"
  2336. If(IsPlayerinRangeofPoint(-2542.8196,1214.7948,37.4219, 50))
  2337. Location .= "{FFFFFF}{5B89CB} SF-Box`n"
  2338. If(IsPlayerinRangeofPoint(-91.8221,-1575.8837,2.6172, 50))
  2339. Location .= "{FFFFFF}{5B89CB} C-Box`n"
  2340. If(IsPlayerinRangeofPoint(2803.7937,-1173.2924,25.5283, 50))
  2341. Location .= "{FFFFFF}{5B89CB} V-Box`n"
  2342. If(IsPlayerinRangeofPoint(1361.5474,-1277.2314,13.2149, 50))
  2343. Location .= "{FFFFFF}{5B89CB} H-Ammu`n"
  2344. If(IsPlayerinRangeofPoint(1785.4504,-1168.1224,23.5266, 50))
  2345. Location .= "{FFFFFF}{5B89CB} B-Ammu`n"
  2346. If(IsPlayerinRangeofPoint(2398.4109,-1977.3693,13.2938, 50))
  2347. Location .= "{FFFFFF}{5B89CB} A-Ammu`n"
  2348. If(IsPlayerinRangeofPoint(1630.5735,-1713.2440,13.2467, 50))
  2349. Location .= "{FFFFFF}{5B89CB} NewsBase`n"
  2350. If(IsPlayerinRangeofPoint(1482.8983,-1739.8231,13.3733, 50))
  2351. Location .= "{FFFFFF}{5B89CB} LSPD`n"
  2352. If(IsPlayerinRangeofPoint(927.0983,-1218.6907,16.7811, 50))
  2353. Location .= "{FFFFFF}{5B89CB} Ordnungsamt LS`n"
  2354. If(IsPlayerinRangeofPoint(1293.4557,-1653.1652,13.2560, 50))
  2355. Location .= "{FFFFFF}{5B89CB} BBZ-Base`n"
  2356. If(IsPlayerinRangeofPoint(2027.1482,59.6459,89.6968, 50))
  2357. Location .= "{FFFFFF}{5B89CB} BM-Berg | Parkplatz`n"
  2358. If(IsPlayerinRangeofPoint(1150.9980,-2035.9952,69.0078, 50))
  2359. Location .= "{FFFFFF}{5B89CB} BM-Berg | Vorhof`n"
  2360. If(IsPlayerinRangeofPoint(-1323.4214,15.1953,77.6709, 50))
  2361. Location .= "{FFFFFF}{5B89CB} Ballas Base`n"
  2362. If(IsPlayerinRangeofPoint(1085.4507,-1779.5840,13.4077, 50))
  2363. Location .= "{FFFFFF}{5B89CB} Zivi LS`n"
  2364. If(IsPlayerinRangeofPoint(1189.8468,-1325.5841,13.3583, 50))
  2365. Location .= "{FFFFFF}{5B89CB} Krankenhaus LS`n"
  2366. If(IsPlayerinRangeofPoint(1473.2754,-1134.6586,23.7460, 50))
  2367. Location .= "{FFFFFF}{5B89CB} LS - Zip`n"
  2368. If(IsPlayerinRangeofPoint(1901.2186,-1400.2524,10.0905, 50))
  2369. Location .= "{FFFFFF}{5B89CB} LS - Skatepark`n"
  2370. If(IsPlayerinRangeofPoint(1828.9387,-1677.3389,13.2160, 50))
  2371. Location .= "{FFFFFF}{5B89CB} LS - Alhambra`n"
  2372. If(IsPlayerinRangeofPoint(1317.3267,-910.3878,37.7085, 50))
  2373. Location .= "{FFFFFF}{5B89CB} BSN - 24/7 Markt`n"
  2374. If(IsPlayerinRangeofPoint(1195.8245,-934.5256,42.5729, 50))
  2375. Location .= "{FFFFFF}{5B89CB} Burger Shot Nord`n"
  2376. If(IsPlayerinRangeofPoint(1413.7136,-1029.5038,23.5712, 50))
  2377. Location .= "{FFFFFF}{5B89CB} Bank LS`n"
  2378. If(IsPlayerinRangeofPoint(1482.8983,-1739.8231,13.3733, 50))
  2379. Location .= "{FFFFFF}{5B89CB} Stadthalle LS`n"
  2380. If(IsPlayerinRangeofPoint(1046.5426,-1337.9905,13.3838, 50))
  2381. Location .= "{FFFFFF}{5B89CB} Donutladen LS`n"
  2382. If(IsPlayerinRangeofPoint(927.1336,-1088.1931,24.1257, 50))
  2383. Location .= "{FFFFFF}{5B89CB} Friedhof`n"
  2384. If(IsPlayerinRangeofPoint(1633.6104,-1166.6841,23.8062, 50))
  2385. Location .= "{FFFFFF}{5B89CB} Post LS`n"
  2386. If(IsPlayerinRangeofPoint(2126.1274,-1132.8147,25.3377, 50))
  2387. Location .= "{FFFFFF}{5B89CB} Coutt and Schutz`n"
  2388. If(IsPlayerinRangeofPoint(2076.9094,-1833.2446,13.2982, 50))
  2389. Location .= "{FFFFFF}{5B89CB} Idle PnS`n"
  2390. If(IsPlayerinRangeofPoint(1019.7659,-1033.2211,31.4444, 50))
  2391. Location .= "{FFFFFF}{5B89CB} BSN - Pay n Spray`n"
  2392. If(IsPlayerinRangeofPoint(569.9393,-1246.9713,17.2601, 50))
  2393. Location .= "{FFFFFF}{5B89CB} RentCar LS/Arbeitsamt`n"
  2394. If(IsPlayerinRangeofPoint(337.2855,-1466.0365,34.6306, 50))
  2395. Location .= "{FFFFFF}{5B89CB} LS Tresor`n"
  2396. If(IsPlayerinRangeofPoint(1796.8107,-1588.9391,13.3385, 50))
  2397. Location .= "{FFFFFF}{5B89CB} LS Prison | Einlieferung`n"
  2398. If(IsPlayerinRangeofPoint(1973.8052,-2222.5020,13.3723, 50))
  2399. Location .= "{FFFFFF}{5B89CB} LS Airport | Pilotenjob`n"
  2400. If(IsPlayerinRangeofPoint(1786.3898,-1891.9207,13.2215, 50))
  2401. Location .= "{FFFFFF}{5B89CB} Taxistand (El Corona)`n"
  2402. If(IsPlayerinRangeofPoint(773.9288,-1344.6210,13.3606, 50))
  2403. Location .= "{FFFFFF}{5B89CB} LS Autohaus {FFFFFF}({5B89CB}Billig{FFFFFF})`n"
  2404. If(IsPlayerinRangeofPoint(484.9954,-1729.9358,10.9251, 50))
  2405. Location .= "{FFFFFF}{5B89CB} Beach PNS`n"
  2406. If(IsPlayerinRangeofPoint(373.0871,-2040.7933,7.5892, 50))
  2407. Location .= "{FFFFFF}{5B89CB} LS Pier {FFFFFF}({5B89CB}Angelsteg{FFFFFF})`n"
  2408. If(IsPlayerinRangeofPoint(814.4036,-1625.8116,13.3697, 50))
  2409. Location .= "{FFFFFF}{5B89CB} LS Burger Shot Sd`n"
  2410. If(IsPlayerinRangeofPoint(-1116.6902,-1623.7961,76.3739, 150))
  2411. Location .= "{FFFFFF}{5B89CB} Matspoint SF`n"
  2412. If(IsPlayerinRangeofPoint(2458.6230,1913.4160,10.4345, 150))
  2413. Location .= "{FFFFFF}{5B89CB} Matspoint LV`n"
  2414. If(IsPlayerinRangeofPoint(-1949.2745,263.5099,35.2161, 150))
  2415. Location .= "{FFFFFF}{5B89CB} Rentcar SF/Zivi SF `n"
  2416. If(IsPlayerinRangeofPoint(-2561.1628,310.3709,15.9453, 150))
  2417. Location .= "{FFFFFF}{5B89CB} Gardenshop`n"
  2418. 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))
  2419. Location .= "{FFFFFF}{5B89CB} Tankstelle " myzone "`n"
  2420. If(Location = "")
  2421. Location .= "{FFFFFF} {5B89CB} Unbekannt `n"
  2422. return %Location%
  2423. }
  2424. Organizer(message)
  2425. {
  2426. If(GetUsername() != "Luiz.waLker")
  2427. {
  2428. AddChatMessage("" . CHATMESSAGECOLOR . "{980000}* waLker:{FFFFFF} " message "")
  2429. }
  2430. else
  2431. {
  2432. AddChatMessage("" . CHATMESSAGECOLOR . "{FF0000}* waLker:{FFFFFF} " message "")
  2433. }
  2434. }
  2435. Spotify(message)
  2436. {
  2437. AddChatMessage("" . CHATMESSAGECOLOR . "{FF0000}* Spotify:{FFFFFF} " message "")
  2438. }
  2439. PATH_STATS_API := RelToAbs(A_WorkingDir, "RGN-Stats-API.dll")
  2440. hModule := DllCall("LoadLibrary", Str, PATH_STATS_API)
  2441. if(hModule == -1 || hModule == 0)
  2442. {
  2443. MsgBox, 48, Error,Die RGN-Stats-API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
  2444. ExitApp
  2445. }
  2446. g_whenIsAllowedToSend := 0
  2447. g_szText := 0
  2448. ReadStats_func := DllCall("GetProcAddress", UInt, hModule, Str, "ReadStats")
  2449. ReadStats(byref string)
  2450. {
  2451. global ReadStats_func, g_szText
  2452. allocationSize := 4096
  2453. static once := true
  2454. if(once)
  2455. {
  2456. VarSetCapacity(g_szText, allocationSize, 0)
  2457. once := false
  2458. }
  2459. res := DllCall(ReadStats_func, StrP, g_szText, UInt, allocationSize)
  2460. string := g_szText
  2461. return res
  2462. }
  2463. ReadStats_s(byref string)
  2464. {
  2465. global g_whenIsAllowedToSend, g_szText
  2466. if(g_whenIsAllowedToSend > A_TickCount)
  2467. {
  2468. string := g_szText
  2469. if(strLen(g_szText) == 0)
  2470. return false
  2471. return true
  2472. }
  2473. return ReadStats(string)
  2474. }
  2475. keyForEntry(text, entry)
  2476. {
  2477. RegExMatch(text, "i)" . entry . "\:\[(.*?)\]", match)
  2478. return match1
  2479. }
  2480. getChatlogLineCount()
  2481. {
  2482. local i := 0
  2483. Loop, read , %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2484. i++
  2485. return i
  2486. }
  2487. AntiSpamHandler()
  2488. {
  2489. global g_whenIsAllowedToSend
  2490. if(wAntiSpam=1)
  2491. {
  2492. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2493. {
  2494. If InStr(A_LoopReadLine,"] Antiflood: Achtung! Unterlasse das")
  2495. {
  2496. If(AntiSpamVar <> ZeitVarSpam)
  2497. {
  2498. if(conquern=1 || tp=1)
  2499. {
  2500. return
  2501. }
  2502. else
  2503. {
  2504. Organizer("Chat wegen Anti-Flood für 1 Sekunde blockiert.")
  2505. BlockChatInput:=1
  2506. g_whenIsAllowedToSend := A_TickCount + 1000
  2507. BlockChatInput:=0
  2508. Organizer("Chat wieder freigegeben.")
  2509. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  2510. }
  2511. }
  2512. }
  2513. }
  2514. }
  2515. }
  2516. RelToAbs2(root, dir, s = "\") {
  2517. pr := SubStr(root, 1, len := InStr(root, s, "", InStr(root, s . s) + 2) - 1)
  2518. , root := SubStr(root, len + 1), sk := 0
  2519. If InStr(root, s, "", 0) = StrLen(root)
  2520. StringTrimRight, root, root, 1
  2521. If InStr(dir, s, "", 0) = StrLen(dir)
  2522. StringTrimRight, dir, dir, 1
  2523. Loop, Parse, dir, %s%
  2524. {
  2525. If A_LoopField = ..
  2526. StringLeft, root, root, InStr(root, s, "", 0) - 1
  2527. Else If A_LoopField =
  2528. root =
  2529. Else If A_LoopField != .
  2530. Continue
  2531. StringReplace, dir, dir, %A_LoopField%%s%
  2532. }
  2533. Return, pr . root . s . dir
  2534. }
  2535. SetTimerF( Function, Period=0, ParmObject=0, dwTime=0 ) {
  2536. Static tmrs:=Object()
  2537. If IsFunc( Function ) {
  2538. if IsObject(tmrs[Function])
  2539. ret := DllCall( "KillTimer", "UInt",0, "UInt" ,tmrs[Function,"tmr"])
  2540. , DllCall("GlobalFree", "UInt", tmrs[Function,"CBA"])
  2541. , ObjRelease(tmrs[Function,"REF"])
  2542. , tmrs.remove(Function)
  2543. if (Period = 0 || Period ? "off")
  2544. return ret
  2545. Period := (Period && Period!="On") ? Period : 250
  2546. tmrs[Function]:=Object("func",Function,"OneTime",(Period<0),"params",IsObject(ParmObject)?ParmObject:Object())
  2547. tmrs[Function,"REF"] := &tmrs[Function]
  2548. tmrs[Function,"CBA"] := RegisterCallback(A_ThisFunc,"",4,tmrs[Function,"REF"])
  2549. return !!tmrs[Function,"tmr"] := DllCall("SetTimer", "UInt",0, "UInt",0, "UInt",Abs(Period), "UInt",tmrs[Function,"CBA"])
  2550. }
  2551. tmr := Object(A_EventInfo)
  2552. if IsObject(tmr) {
  2553. if (tmr.OneTime)
  2554. DllCall("KillTimer", "UInt",0, "UInt",tmr.tmr)
  2555. , DllCall("GlobalFree", "UInt",tmr.CBA)
  2556. , ObjRelease(tmr.REF)
  2557. , tmr := tmrs.remove(tmr.func)
  2558. ErrorLevel:=dwTime
  2559. tmr.func(tmr.params*)
  2560. }
  2561. }
  2562. OnExit, ExitSub
  2563. global OverlayAktiv:= false
  2564. global VehOverlay:= false
  2565. global VehValue := False
  2566. global oVehValue := False
  2567. global OverlayOn := false
  2568. global Wanteds:= 0
  2569. global drogen := 0
  2570. global Grund:= "Unbekannt"
  2571. global Zeuge:= "Niemand"
  2572. global LastNum:= 0
  2573. global ADSMS:= 0
  2574. global Kills:= 0
  2575. global Deaths:= 0
  2576. global LoggedIn:= False
  2577. global oSMS:= 0
  2578. global MonatTag := A_MM
  2579. global NeuerTag := A_DD
  2580. global Jahr := A_YYYY
  2581. global tKills:= 0
  2582. global tDeaths:= 0
  2583. global tKD := 0
  2584. global GameTextAktiv:= 0
  2585. global Zinzen:= 0
  2586. global DZinzen:= 0
  2587. global WZinzen:= 0
  2588. global MZinzen:= 0
  2589. global GZinzen:= 0
  2590. global Zinssatz:= 0
  2591. global down:= 0
  2592. global Started := 0
  2593. IniRead, Aktiviert, Statistik\statsi.ini, Tageskills, Aktiviert
  2594. IniRead, Tag, Statistik\statsi.ini, Tageskills, Tag
  2595. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  2596. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  2597. user := getplayername()
  2598. Skin := getSkinID()
  2599. If(Skin != "234" || Skin != "3" || Skin != "119" || Skin != "93" || Skin != "-1" || Skin != "0")
  2600. {
  2601. AddChatMessage("{5B89CB}Whitelist:{FFFFFF} Verifizierung {5B89CB}erfolgreich(Keine Whitelist vorhanden).")
  2602. FormatTime,Wochentag,,dddd
  2603. FormatTime,Monat,,MMMM
  2604. FormatTime,Tag,,d
  2605. FormatTime,Uhrzeit,,HH:mm
  2606. Organizer("Willkommen zurück - {5B89CB}" getplayername() "{FFFFFF}")
  2607. sleep 100
  2608. Organizer("Heute ist " . Wochentag . " der " . Tag . ". " . Monat . " " . Uhrzeit . " Uhr.")
  2609. goto, MainGuiOpen
  2610. }
  2611. else
  2612. {
  2613. AddChatMessage("{5B89CB}Whitelist:{FFFFFF} Verifizierung {5B89CB}FEHLGESCHLAGEN ICF DARF NICHT.")
  2614. ExitApp
  2615. }
  2616. Return
  2617. FormatTime,TagMonatYahr,,dd.MM.yyyy
  2618. FormatTime,MonatYahr,,MMMM yyyy
  2619. CheckReplace(Number) {
  2620. IfInString, Own%Number%, <HP>
  2621. {
  2622. HP := GetPlayerHealth()
  2623. StringReplace, Own%Number%, Own%Number%, <HP> , %HP%, All
  2624. }
  2625. IfInString, Own%Number%, <Zone>
  2626. {
  2627. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  2628. StringReplace, Own%Number%, Own%Number%, <Zone> , %Zone%, All
  2629. }
  2630. IfInString, Own%Number%, <Stadt>
  2631. {
  2632. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  2633. StringReplace, Own%Number%, Own%Number%, <Stadt> , %City%, All
  2634. }
  2635. IfInString, Own%Number%, <ID>
  2636. {
  2637. ID := GetId()
  2638. StringReplace, Own%Number%, Own%Number%, <ID> , %ID%, All
  2639. }
  2640. IfInString, Own%Number%, <Ping>
  2641. {
  2642. ID := GetId()
  2643. Ping := GetPlayerPingById(ID)
  2644. StringReplace, Own%Number%, Own%Number%, <Ping> , %Ping%, All
  2645. }
  2646. IfInString, Own%Number%, <FPS>
  2647. {
  2648. FPS := GetFramerate()
  2649. StringReplace, Own%Number%, Own%Number%, <FPS> , %FPS%, All
  2650. }
  2651. IfInString, Own%Number%, <DL>
  2652. {
  2653. VehicleHealth:= GetVehicleHealth()
  2654. StringReplace, Own%Number%, Own%Number%, <DL> , %VehicleHealth%, All
  2655. }
  2656. IfInString, Own%Number%, <Carname>
  2657. {
  2658. Vehiclename := getVehicleModelName()
  2659. StringReplace, Own%Number%, Own%Number%, <Carname> , %Vehiclename%, All
  2660. }
  2661. IfInString, Own%Number%, <Username>
  2662. {
  2663. Username := GetUsername()
  2664. StringReplace, Own%Number%, Own%Number%, <Username> , %Username%, All
  2665. }
  2666. IfInString, Own%Number%, <Drogen>
  2667. {
  2668. StringReplace, Own%Number%, Own%Number%, <Drogen> , %drogen%, All
  2669. }
  2670. IfInString, Own%Number%, <Wanteds>
  2671. {
  2672. StringReplace, Own%Number%, Own%Number%, <Wanteds> , %Wanteds%, All
  2673. }
  2674. }
  2675. #IfWinActive, GTA:SA:MP
  2676. :?:/rc::
  2677. Suspend Permit
  2678. SendInput, {enter}
  2679. SendChat("/rentcar")
  2680. Suspend Off
  2681. return
  2682. :?:/deagle::
  2683. suspend Permit
  2684. SendInput /buygun deagle{space}
  2685. return
  2686. :?:/shot::
  2687. suspend Permit
  2688. SendInput /buygun shotgun{space}
  2689. return
  2690. :?:/mp5::
  2691. suspend Permit
  2692. SendInput /buygun mp5{space}
  2693. return
  2694. :?:/m4::
  2695. suspend Permit
  2696. SendInput /buygun m4{space}
  2697. return
  2698. :?:/rifle::
  2699. suspend Permit
  2700. SendInput /buygun rifle{space}
  2701. return
  2702. :?:/9mm::
  2703. suspend Permit
  2704. SendInput /buygun 9mm{space}
  2705. return
  2706. :?:/sniper::
  2707. suspend Permit
  2708. SendInput /buygun sniper{space}
  2709. return
  2710. :?:/as::
  2711. Suspend Permit
  2712. SendInput, {enter}
  2713. SendChat("/accept sex")
  2714. Suspend Off
  2715. return
  2716. :?:/ah::
  2717. Suspend Permit
  2718. SendInput, {enter}
  2719. SendChat("/accept hotdog")
  2720. Suspend Off
  2721. return
  2722. :?:/aheal::
  2723. Suspend Permit
  2724. SendInput, {enter}
  2725. SendChat("/accept heal")
  2726. Suspend Off
  2727. return
  2728. :?:/adrugs::
  2729. Suspend Permit
  2730. SendInput, {enter}
  2731. SendChat("/accept drugs")
  2732. Suspend Off
  2733. return
  2734. :?:/arep::
  2735. Suspend Permit
  2736. SendInput, {enter}
  2737. SendChat("/accept repair")
  2738. Suspend Off
  2739. return
  2740. :?:/aref::
  2741. Suspend Permit
  2742. SendInput, {enter}
  2743. SendChat("/accept refill")
  2744. Suspend Off
  2745. return
  2746. :?:/fix::
  2747. suspend permit
  2748. sendinput {enter}
  2749. sendchat("/fixgangcar")
  2750. Suspend Off
  2751. return
  2752. :?:/handy::
  2753. suspend permit
  2754. sendinput {enter}
  2755. sendchat("/togphone")
  2756. Suspend Off
  2757. return
  2758. :?:/trob::
  2759. suspend permit
  2760. sendinput {enter}
  2761. sendchat("/tresorrob")
  2762. Suspend Off
  2763. return
  2764. :?:/ci::
  2765. suspend permit
  2766. sendinput {enter}
  2767. sendchat("/carinfo")
  2768. Suspend Off
  2769. return
  2770. Hotkey, Enter, Off
  2771. Hotkey, Escape, Off
  2772. return
  2773. !Pause::
  2774. suspend
  2775. return
  2776. ~r::
  2777. if(isInChat())
  2778. return
  2779. if(IsPlayerInAnyVehicle())
  2780. return
  2781. Loop
  2782. {
  2783. Sleep, 40
  2784. If !GetKeyState("r", "p")
  2785. break
  2786. SendInput {SPACE down}
  2787. sleep, 5
  2788. SendInput {SPACE up}
  2789. sleep, 5
  2790. }
  2791. return
  2792. :?:/td::
  2793. suspend permit
  2794. sendinput /gtake drugs{space}
  2795. Suspend On
  2796. Suspend Off
  2797. return
  2798. :?:/pd::
  2799. suspend permit
  2800. sendinput /put drugs{space}
  2801. Suspend On
  2802. Suspend Off
  2803. return
  2804. :?:/gegner::
  2805. SendInput, {Enter}
  2806. sleep 200
  2807. runner := 0
  2808. runner_on := 0
  2809. if(con_all == 0)
  2810. {
  2811. Organizer("Es ist niemand auf der Gegnerliste.")
  2812. }
  2813. else
  2814. {
  2815. Organizer("Aktuelle Gegnerliste (Onlinespieler)")
  2816. Loop, Read, Gegner.txt
  2817. {
  2818. StringSplit, split, A_LoopReadLine, |
  2819. idname := getPlayerIdByName(split1)
  2820. GegnerPing := getPlayerPingById(split1)
  2821. if(idname != -1)
  2822. {
  2823. Organizer("[" IDname "] " split1 " - Fraktion: " . split2 "")
  2824. runner_on++
  2825. }
  2826. runner++
  2827. }
  2828. Organizer("Es sind " . runner_on . "/" . runner . " Gegner online.")
  2829. Sendchat("/f Es sind " . runner_on . "/" . runner . " Gegner online")
  2830. }
  2831. return
  2832. :?:/fgegner::
  2833. SendInput, {Enter}
  2834. runner := 0
  2835. runner_on3 := 0
  2836. if(con_all == 0)
  2837. {
  2838. Organizer("Es ist niemand auf der Gegnerliste.")
  2839. }
  2840. else
  2841. {
  2842. SendChat("/f |___________________Aktuelle Gegnerliste (Onlinespieler)___________________|")
  2843. Loop, Read, Gegner.txt
  2844. {
  2845. StringSplit, split, A_LoopReadLine, |
  2846. idname := getPlayerIdByName(split1)
  2847. GegnerPing := getPlayerPingById(idname)
  2848. level := getPlayerScoreById(idname)
  2849. if(idname != -1)
  2850. {
  2851. sendchat("/f Name: " split1 ", (ID: {5B89CB}" idname ") Fraktion: " split2 ", Level: " level ", Ping: " GegnerPing)
  2852. sleep 1005
  2853. runner_on3++
  2854. }
  2855. runner++
  2856. }
  2857. sleep 1005
  2858. SendChat("/f Es sind " . runner_on3 . "/" . runner . " Gegner online.")
  2859. }
  2860. return
  2861. :?:/fnamegemerkt::
  2862. SendInput, {Enter}
  2863. runner := 0
  2864. runner_on3 := 0
  2865. if(con_all == 0)
  2866. {
  2867. Organizer("Es ist niemand gemerkt.")
  2868. }
  2869. else
  2870. {
  2871. SendChat("/f |___________________Name gemerkt___________________|")
  2872. Loop, Read, C:\Users\Luis\Desktop\namegemerkt.txt
  2873. {
  2874. idname := getPlayerIdByName(A_LoopReadLine)
  2875. if(idname != -1)
  2876. {
  2877. sendchat("/f Name: " A_LoopReadLine "(" idname ")")
  2878. sleep 1005
  2879. runner_on3++
  2880. }
  2881. else
  2882. {
  2883. sendchat("/f Name: " A_LoopReadLine "(Offline)")
  2884. sleep 1005
  2885. }
  2886. runner++
  2887. }
  2888. sleep 1005
  2889. SendChat("/f Ich hab mir schon " . runner . " Namen gemerkt(" runner_on3 " Online)")
  2890. }
  2891. return
  2892. :?:/bgegner::
  2893. SendInput, {Enter}
  2894. runner := 0
  2895. runner_on1 := 0
  2896. if(con_all == 0)
  2897. {
  2898. Organizer("Es ist niemand auf der Gegnerliste.")
  2899. }
  2900. else
  2901. {
  2902. SendChat("|___________________Aktuelle Gegnerliste (Onlinespieler)___________________|")
  2903. Loop, Read, Gegner.txt
  2904. {
  2905. StringSplit, split, A_LoopReadLine, |
  2906. idname := getPlayerIdByName(split1)
  2907. GegnerPing := getPlayerPingById(idname)
  2908. level := getPlayerScoreById(idname)
  2909. if(idname != -1)
  2910. {
  2911. sendchat("Name: " split1 "{FFFFFF}, (ID: " idname ") Fraktion: " split2 ", Level: {5B89CB}" level ", Ping: {5B89CB}" GegnerPing)
  2912. sleep 1005
  2913. runner_on1++
  2914. }
  2915. runner++
  2916. }
  2917. sleep 1005
  2918. SendChat("Es sind " . runner_on1 . "/" . runner . " Gegner online.")
  2919. }
  2920. return
  2921. :?:/ggegner::
  2922. SendInput, {Enter}
  2923. runner := 0
  2924. runner_on2 := 0
  2925. if(con_all == 0)
  2926. {
  2927. Organizer("Es ist niemand auf der Gegnerliste.")
  2928. }
  2929. else
  2930. {
  2931. SendChat("/g |___________________Aktuelle Gegnerliste (Onlinespieler)___________________|")
  2932. Loop, Read, Gegner.txt
  2933. {
  2934. StringSplit, split, A_LoopReadLine, |
  2935. idname := getPlayerIdByName(split1)
  2936. GegnerPing := getPlayerPingById(idname)
  2937. level := getPlayerScoreById(idname)
  2938. if(idname != -1)
  2939. {
  2940. sendchat("/g Name: " split1 ", (ID: {5B89CB}" idname ") Fraktion: " split2 ", Level: " level ", Ping: " GegnerPing)
  2941. sleep 1005
  2942. runner_on2++
  2943. }
  2944. runner++
  2945. }
  2946. sleep 1005
  2947. SendChat("/g Es sind " . runner_on2 . "/" . runner . " Gegner online.")
  2948. }
  2949. return
  2950. :?:/wert::
  2951. Suspend, Permit
  2952. Sendinput {enter}
  2953. if(ReadStats(text))
  2954. {
  2955. safedrugs := keyForEntry(text, "SafeDrugs")
  2956. safemats := keyForEntry(text, "SafeMats")
  2957. fische := keyForEntry(text, "Illegale Fische")
  2958. codes := keyForEntry(text, "Hackingcodes")
  2959. dmkill := keyForEntry(text, "Kills\(DM\)")
  2960. tode := keyForEntry(text, "Tode")
  2961. rate := keyForEntry(text, "DM-Rate")
  2962. Bank := keyForEntry(text, "Bank")
  2963. Geldd := keyForEntry(text, "Geld")
  2964. Level := keyForEntry(text, "Level")
  2965. Respekt := keyForEntry(text, "Respekt")
  2966. drugs := keyForEntry(text, "Drogen")
  2967. mats := keyForEntry(text, "Materialien")
  2968. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
  2969. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  2970. RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
  2971. RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
  2972. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  2973. StringReplace, VarBack, Materials2, .
  2974. StringReplace, drugls, drogen2, .
  2975. StringReplace, fischew, fischi2, .
  2976. StringReplace, VarBack88, Bankl1,.,,All
  2977. drugwert := drugls * 3500
  2978. Organizer("| Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
  2979. Organizer("| Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
  2980. Organizer("| Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
  2981. Organizer("| Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
  2982. Organizer("| Gesamtwert (Drogen + Konto): {5B89CB}$" number_format(varback88 + drugwert) "")
  2983. }
  2984. return
  2985. :?:/bwert::
  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, VarBack88, Bankl1,.,,All
  3011. StringReplace, fischew, fischi2, .
  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 := Drugs * 3500
  3017. SendChat("| Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
  3018. sleep 1000
  3019. SendChat("| Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
  3020. sleep 1000
  3021. SendChat("| Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
  3022. sleep 1000
  3023. SendChat("| Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
  3024. SendChat("| Gesamtwert (Drogen + Konto): $" number_format(Geld + Drugwert) "")
  3025. }
  3026. return
  3027. :?:/gwert::
  3028. Suspend, Permit
  3029. Sendinput {enter}
  3030. if(ReadStats(text))
  3031. {
  3032. safedrugs := keyForEntry(text, "SafeDrugs")
  3033. safemats := keyForEntry(text, "SafeMats")
  3034. fische := keyForEntry(text, "Illegale Fische")
  3035. codes := keyForEntry(text, "Hackingcodes")
  3036. dmkill := keyForEntry(text, "Kills\(DM\)")
  3037. tode := keyForEntry(text, "Tode")
  3038. rate := keyForEntry(text, "DM-Rate")
  3039. Bank := keyForEntry(text, "Bank")
  3040. Geldd := keyForEntry(text, "Geld")
  3041. Level := keyForEntry(text, "Level")
  3042. Respekt := keyForEntry(text, "Respekt")
  3043. drugs := keyForEntry(text, "Drogen")
  3044. mats := keyForEntry(text, "Materialien")
  3045. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
  3046. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  3047. RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
  3048. RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
  3049. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  3050. StringReplace, VarBack, Materials2, .
  3051. StringReplace, drugls, drogen2, .
  3052. StringReplace, VarBack88, Bankl1,.,,All
  3053. StringReplace, fischew, fischi2, .
  3054. iniwrite, %varback88%, Take-binder.ini, Wert, Geld
  3055. iniwrite, %drugls%, Take-binder.ini, Wert, Drugs
  3056. iniread, Geld, Take-binder.ini, Wert, Geld
  3057. iniread, Drugs, Take-binder.ini, Wert, Drugs
  3058. drugwert := Drugs * 3500
  3059. SendChat("/g | Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
  3060. sleep 1000
  3061. SendChat("/g | Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
  3062. sleep 1000
  3063. SendChat("/g | Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
  3064. sleep 1000
  3065. SendChat("/g | Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
  3066. SendChat("/g | Gesamtwert (Drogen + Konto): $" number_format(Geld + Drugwert) "")
  3067. }
  3068. return
  3069. :?:/fwert::
  3070. Suspend, Permit
  3071. Sendinput {enter}
  3072. if(ReadStats(text))
  3073. {
  3074. safedrugs := keyForEntry(text, "SafeDrugs")
  3075. safemats := keyForEntry(text, "SafeMats")
  3076. fische := keyForEntry(text, "Illegale Fische")
  3077. codes := keyForEntry(text, "Hackingcodes")
  3078. dmkill := keyForEntry(text, "Kills\(DM\)")
  3079. tode := keyForEntry(text, "Tode")
  3080. rate := keyForEntry(text, "DM-Rate")
  3081. Bank := keyForEntry(text, "Bank")
  3082. Geldd := keyForEntry(text, "Geld")
  3083. Level := keyForEntry(text, "Level")
  3084. Respekt := keyForEntry(text, "Respekt")
  3085. drugs := keyForEntry(text, "Drogen")
  3086. mats := keyForEntry(text, "Materialien")
  3087. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
  3088. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  3089. RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
  3090. RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
  3091. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  3092. StringReplace, VarBack, Materials2, .
  3093. StringReplace, drugls, drogen2, .
  3094. StringReplace, fischew, fischi2, .
  3095. StringReplace, VarBack88, Bankl1,.,,All
  3096. iniwrite, %varback88%, Take-binder.ini, Wert, Geld
  3097. iniwrite, %drugls%, Take-binder.ini, Wert, Drugs
  3098. iniread, Geld, Take-binder.ini, Wert, Geld
  3099. iniread, Drugs, Take-binder.ini, Wert, Drugs
  3100. drugwert := drugls * 3500
  3101. SendChat("/f | Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
  3102. sleep 1000
  3103. SendChat("/f | Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
  3104. sleep 1000
  3105. SendChat("/f | Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
  3106. sleep 1000
  3107. SendChat("/f | Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
  3108. SendChat("/f | Gesamtwert (Drogen + Konto): $" number_format(varback88 + drugwert) "")
  3109. }
  3110. return
  3111. :?:/fdurchgabe::
  3112. Suspend,permit
  3113. SendInput,{enter}
  3114. if(fd = false)
  3115. {
  3116. fd:=true
  3117. Organizer(" {27C403}F-Chat druchgabe ist aktiviert!")
  3118. iniwrite, %true%, Take-binder.ini, fdurchgabe, fdurchgabe
  3119. }else{
  3120. fd:=false
  3121. iniwrite, %false%, Take-binder.ini, fdurchgabe, fdurchgabe
  3122. Organizer(" {B21111}F-Chat druchgabe ist deaktiviert!")
  3123. }
  3124. return
  3125. :?:/cp::
  3126. suspend permit
  3127. Sendinput {enter}
  3128. Sleep 50
  3129. Sendchat("/changepayment")
  3130. Hotkey, t, On
  3131. Suspend off
  3132. return
  3133. :?:/sc::
  3134. suspend permit
  3135. Sendinput {enter}
  3136. Sleep 50
  3137. Sendchat("/spawnchange")
  3138. Hotkey, t, On
  3139. Suspend off
  3140. return
  3141. :?:7f::
  3142. Suspend Permit
  3143. SendiNput /f{space}
  3144. return
  3145. :?:7g::
  3146. Suspend Permit
  3147. SendiNput /g{space}
  3148. return
  3149. :?:7w::
  3150. Suspend Permit
  3151. SendiNput /w{space}
  3152. return
  3153. :?:7s::
  3154. Suspend Permit
  3155. SendiNput /s{space}
  3156. return
  3157. :?:7a::
  3158. Suspend Permit
  3159. SendiNput /a{space}
  3160. return
  3161. :?:7ad::
  3162. Suspend Permit
  3163. SendiNput /ad{space}
  3164. return
  3165. :?:7sup::
  3166. Suspend permit
  3167. SendInput /sup{space}
  3168. Return
  3169. :?:7help::
  3170. Suspend permit
  3171. SendInput /help{space}
  3172. Return
  3173. :?:7b::
  3174. Suspend permit
  3175. SendInput /b{space}
  3176. Return
  3177. :?:/ein::
  3178. suspend permit
  3179. sendinput /atm{enter}
  3180. sleep 500
  3181. sendinput {enter}
  3182. Suspend Off
  3183. return
  3184. :?:/aus::
  3185. suspend permit
  3186. sendinput /atm{enter}
  3187. sleep 500
  3188. sendinput {down}
  3189. sendinput {enter}
  3190. Suspend Off
  3191. return
  3192. :?:/über::
  3193. suspend permit
  3194. sendinput /atm{enter}
  3195. sleep 500
  3196. sendinput {down 2}
  3197. sendinput {enter}
  3198. Suspend Off
  3199. return
  3200. :?:/25k::
  3201. Suspend Permit
  3202. SendInput {enter}t/atm{enter}
  3203. Sleep 150
  3204. SendInput {down}{enter}
  3205. Sleep 100
  3206. SendInput 25000{enter}
  3207. Sleep 100
  3208. SendInput {esc}
  3209. Suspend off
  3210. return
  3211. :?:/50k::
  3212. Suspend Permit
  3213. SendInput {enter}t/atm{enter}
  3214. Sleep 150
  3215. SendInput {down}{enter}
  3216. Sleep 100
  3217. SendInput 50000{enter}
  3218. Sleep 100
  3219. SendInput {esc}
  3220. Suspend off
  3221. return
  3222. :?:/75k::
  3223. Suspend Permit
  3224. SendInput {enter}t/atm{enter}
  3225. Sleep 150
  3226. SendInput {down}{enter}
  3227. Sleep 100
  3228. SendInput 75000{enter}
  3229. Sleep 100
  3230. SendInput {esc}
  3231. Suspend off
  3232. return
  3233. :?:/100k::
  3234. Suspend Permit
  3235. SendInput {enter}t/atm{enter}
  3236. Sleep 150
  3237. SendInput {down}{enter}
  3238. Sleep 100
  3239. SendInput 100000{enter}
  3240. Sleep 100
  3241. SendInput {esc}
  3242. Suspend off
  3243. return
  3244. :?:/200k::
  3245. Suspend Permit
  3246. SendInput {enter}t/atm{enter}
  3247. Sleep 150
  3248. SendInput {down}{enter}
  3249. Sleep 100
  3250. SendInput 200000{enter}
  3251. Sleep 100
  3252. SendInput {esc}
  3253. Suspend off
  3254. return
  3255. :?:/300k::
  3256. Suspend Permit
  3257. SendInput {enter}t/atm{enter}
  3258. Sleep 150
  3259. SendInput {down}{enter}
  3260. Sleep 100
  3261. SendInput 300000{enter}
  3262. Sleep 100
  3263. SendInput {esc}
  3264. Suspend off
  3265. return
  3266. :?:/400k::
  3267. Suspend Permit
  3268. SendInput {enter}t/atm{enter}
  3269. Sleep 150
  3270. SendInput {down}{enter}
  3271. Sleep 100
  3272. SendInput 400000{enter}
  3273. Sleep 100
  3274. SendInput {esc}
  3275. Suspend off
  3276. return
  3277. :?:/250k::
  3278. Suspend Permit
  3279. SendInput {enter}t/atm{enter}
  3280. Sleep 150
  3281. SendInput {down}{enter}
  3282. Sleep 100
  3283. SendInput 250000{enter}
  3284. Sleep 100
  3285. SendInput {esc}
  3286. Suspend off
  3287. return
  3288. :?:/500k::
  3289. Suspend Permit
  3290. SendInput {enter}t/atm{enter}
  3291. Sleep 150
  3292. SendInput {down}{enter}
  3293. Sleep 100
  3294. SendInput 500000{enter}
  3295. Sleep 100
  3296. SendInput {esc}
  3297. Suspend off
  3298. return
  3299. :?:/750k::
  3300. Suspend Permit
  3301. SendInput {enter}t/atm{enter}
  3302. Sleep 150
  3303. SendInput {down}{enter}
  3304. Sleep 100
  3305. SendInput 750000{enter}
  3306. Sleep 100
  3307. SendInput {esc}
  3308. Suspend off
  3309. return
  3310. :?:/1kk::
  3311. Suspend Permit
  3312. SendInput {enter}t/atm{enter}
  3313. Sleep 150
  3314. SendInput {down}{enter}
  3315. Sleep 100
  3316. SendInput 1000000{enter}
  3317. Sleep 100
  3318. SendInput {esc}
  3319. Suspend off
  3320. return
  3321. :?:/fgc::
  3322. suspend permit
  3323. SendChat("/fixgangcar")
  3324. Suspend Off
  3325. return
  3326. :?:/wi::
  3327. suspend permit
  3328. sendinput {enter}
  3329. SendChat("/warinfo")
  3330. Suspend Off
  3331. return
  3332. :?:/lgc::
  3333. suspend permit
  3334. SendChat("/listgangcars")
  3335. Suspend Off
  3336. return
  3337. :?:/gu::
  3338. suspend permit
  3339. sendinput {enter}
  3340. sendchat("/gangupgrade")
  3341. Suspend Off
  3342. return
  3343. :?:/mbegin::
  3344. suspend permit
  3345. sendinput {enter}
  3346. sendchat("/mission begin")
  3347. Suspend Off
  3348. return
  3349. :?:/mi::
  3350. suspend permit
  3351. sendinput {enter}
  3352. sendchat("/mission info")
  3353. Suspend Off
  3354. return
  3355. :?:/mend::
  3356. suspend permit
  3357. sendinput {enter}
  3358. sendchat("/mission end")
  3359. Suspend Off
  3360. return
  3361. :?:/mstart::
  3362. suspend permit
  3363. sendinput {enter}
  3364. sendchat("/mission start")
  3365. Suspend Off
  3366. return
  3367. :?:/upg::
  3368. Suspend Permit
  3369. SendChat("/upgrade")
  3370. return
  3371. :?:/hacker::
  3372. Suspend Permit
  3373. SendInput {ESC}
  3374. SendInput tPreis/W:{space}
  3375. Input, lohn, V I M,{enter}
  3376. SendInput {end}+{home}{Del}{Esc}
  3377. If lohn is not number
  3378. {
  3379. Organizer("Bitte nur Zahlen eingeben.")
  3380. Return
  3381. }
  3382. gsmtwanted := lohn * wanteds
  3383. SendChat("/g Suche Hacker für " wanteds " Wanteds! Bezahlung: $" number_format(gsmtwanted) ", | " Getplayername() " (ID: " getId() ")")
  3384. return
  3385. :?:/dete::
  3386. Suspend Permit
  3387. SendInput {ESC}
  3388. SendChat("/g Suche Detektiv [S5] - Melden bei " Getplayername() " (ID: " getId() ")")
  3389. return
  3390. :?:/ghd::
  3391. suspend permit
  3392. Send, {enter}
  3393. SendChat("/orgmembers")
  3394. sleep , 350
  3395. ohd := 0
  3396. var := 1
  3397. index := 0
  3398. while ( var == 1 )
  3399. {
  3400. GetChatLine(index, text)
  3401. if ( InStr(text, "(Tel."))
  3402. {
  3403. if(InstR(text, "Hotdogverkäufer"))
  3404. ohd ++
  3405. index ++
  3406. var := 1
  3407. }
  3408. else
  3409. {
  3410. var := 0
  3411. }
  3412. }
  3413. sleep, 250
  3414. Organizer("Es sind " ohd " Hotdogverkäufer in der Organisation online.")
  3415. return
  3416. :?:/ghacker::
  3417. suspend permit
  3418. Send, {enter}
  3419. SendChat("/orgmembers")
  3420. sleep , 350
  3421. ohack := 0
  3422. var := 1
  3423. index := 0
  3424. while ( var == 1 )
  3425. {
  3426. GetChatLine(index, text)
  3427. if ( InStr(text, "(Tel."))
  3428. {
  3429. if(InstR(text, "Hacker"))
  3430. ohack ++
  3431. index ++
  3432. var := 1
  3433. }
  3434. else
  3435. {
  3436. var := 0
  3437. }
  3438. }
  3439. sleep, 250
  3440. Organizer("Es sind " ohack " Hacker in der Organisation online.")
  3441. return
  3442. :?:/gwd::
  3443. suspend permit
  3444. Send, {enter}
  3445. SendChat("/orgmembers")
  3446. sleep , 350
  3447. owd := 0
  3448. var := 1
  3449. index := 0
  3450. while ( var == 1 )
  3451. {
  3452. GetChatLine(index, text)
  3453. if ( InStr(text, "(Tel."))
  3454. {
  3455. if(InstR(text, "Waffenhändler"))
  3456. owd ++
  3457. index ++
  3458. var := 1
  3459. }
  3460. else
  3461. {
  3462. var := 0
  3463. }
  3464. }
  3465. sleep, 250
  3466. Organizer("Es sind " owd " Waffenhndler in der Organisation online.")
  3467. return
  3468. :?:/gdete::
  3469. suspend permit
  3470. Send, {enter}
  3471. SendChat("/orgmembers")
  3472. sleep , 350
  3473. odete := 0
  3474. var := 1
  3475. index := 0
  3476. while ( var == 1 )
  3477. {
  3478. GetChatLine(index, text)
  3479. if ( InStr(text, "(Tel."))
  3480. {
  3481. if(InstR(text, "Detektiv"))
  3482. odete ++
  3483. index ++
  3484. var := 1
  3485. }
  3486. else
  3487. {
  3488. var := 0
  3489. }
  3490. }
  3491. sleep, 250
  3492. Organizer("Es sind " odete " Detektive in der Organisation online.")
  3493. return
  3494. :?:/ganwalt::
  3495. suspend permit
  3496. Send, {enter}
  3497. SendChat("/orgmembers")
  3498. sleep , 350
  3499. oanwalt := 0
  3500. var := 1
  3501. index := 0
  3502. while ( var == 1 )
  3503. {
  3504. GetChatLine(index, text)
  3505. if ( InStr(text, "(Tel."))
  3506. {
  3507. if(InstR(text, "Anwalt"))
  3508. oanwalt ++
  3509. index ++
  3510. var := 1
  3511. }
  3512. else
  3513. {
  3514. var := 0
  3515. }
  3516. }
  3517. sleep, 250
  3518. Organizer("Es sind " oanwalt " Anwlte in der Organisation online.")
  3519. return
  3520. :?:/gdd::
  3521. suspend permit
  3522. Send, {enter}
  3523. SendChat("/orgmembers")
  3524. sleep , 350
  3525. odd := 0
  3526. var := 1
  3527. index := 0
  3528. while ( var == 1 )
  3529. {
  3530. GetChatLine(index, text)
  3531. if ( InStr(text, "(Tel."))
  3532. {
  3533. if(InstR(text, "Drogendealer"))
  3534. odd ++
  3535. index ++
  3536. var := 1
  3537. }
  3538. else
  3539. {
  3540. var := 0
  3541. }
  3542. }
  3543. sleep, 250
  3544. Organizer("Es sind " odd " Drogendealer in der Organisation online.")
  3545. return
  3546. :?:/oi::
  3547. Suspend Permit
  3548. SendInput /orginvite{space}
  3549. return
  3550. :?:/ou::
  3551. Suspend Permit
  3552. SendInput /orguninvite{space}
  3553. return
  3554. :?:/swh::
  3555. suspend permit
  3556. SendChat("/service")
  3557. sleep 100
  3558. Sendinput {Down 5}
  3559. sleep 100
  3560. SendInput {Enter}
  3561. Suspend off
  3562. return
  3563. :?:/cwh::
  3564. suspend permit
  3565. SendChat("/cancel wheelman")
  3566. Suspend off
  3567. return
  3568. :?:/smedic::
  3569. suspend permit
  3570. SendChat("/service")
  3571. sleep 100
  3572. sendinput {down}{enter}
  3573. Suspend Off
  3574. return
  3575. :?:/cmedic::
  3576. Suspend permit
  3577. SendChat("/cancel medic")
  3578. Sleep 100
  3579. SendInput {enter}
  3580. Suspend Off
  3581. return
  3582. :?:/staxi::
  3583. suspend permit
  3584. SendChat("/service")
  3585. sleep 100
  3586. sendinput {enter}
  3587. Suspend Off
  3588. return
  3589. :?:/ctaxi::
  3590. suspend permit
  3591. SendChat("/cancel taxi")
  3592. Suspend Off
  3593. return
  3594. :?:/smecha::
  3595. Suspend Permit
  3596. SendChat("/service")
  3597. Sleep 100
  3598. SendInput {down 2}{enter}
  3599. Suspend Off
  3600. return
  3601. :?:/cmecha::
  3602. Suspend Permit
  3603. SendChat("/cancel mechanic")
  3604. return
  3605. :?:/sfeuer::
  3606. Suspend Permit
  3607. SendChat("/service")
  3608. Sleep 100
  3609. Sendinput {down 6}{enter}
  3610. Suspend Off
  3611. return
  3612. :?:/cfeuer::
  3613. Suspend Permit
  3614. SendChat("/cancel feuerwehr")
  3615. return
  3616. :?:/soamt::
  3617. Suspend Permit
  3618. SendChat("/service")
  3619. Sleep 100
  3620. Sendinput {down 4}{enter}
  3621. Suspend Off
  3622. return
  3623. :?:/coamt::
  3624. Suspend Permit
  3625. SendChat("/cancel ordnungsamt")
  3626. return
  3627. :?:/spizza::
  3628. Suspend Permit
  3629. SendChat("/service")
  3630. Sleep 100
  3631. Sendinput {down 3}{enter}
  3632. Suspend Off
  3633. return
  3634. :?:/cpizza::
  3635. Suspend Permit
  3636. SendChat("/cancel pizza")
  3637. return
  3638. :?:/gmdbox::
  3639. Suspend, Permit
  3640. Sendinput {enter}
  3641. if(ReadStats(text))
  3642. {
  3643. drugs := keyForEntry(text, "Drogen")
  3644. mats := keyForEntry(text, "Materialien")
  3645. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  3646. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  3647. sendchat("/g Drogen dabei: "druglss1 "g, Drogen in der Box: " druglss2 "g, Mats in der Box: " Materials2 " Stück")
  3648. }
  3649. Else
  3650. {
  3651. Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
  3652. }
  3653. Suspend, Off
  3654. Hotkey, t, on
  3655. return
  3656. :?:/adre::
  3657. Suspend Permit
  3658. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3659. {
  3660. if InStr(A_LoopReadLine, ", Kontakt: ")
  3661. {
  3662. RegExMatch(A_LoopReadLine, "Tel: (.*)" ,adantwort)
  3663. }
  3664. }
  3665. SendInput, /sms %adantwort1%{space}
  3666. Hotkey, T, On
  3667. Suspend Off
  3668. return
  3669. :?:/fmdbox::
  3670. Suspend, Permit
  3671. Sendinput {enter}
  3672. if(ReadStats(text))
  3673. {
  3674. drugs := keyForEntry(text, "Drogen")
  3675. mats := keyForEntry(text, "Materialien")
  3676. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  3677. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  3678. sendchat("/f Drogen dabei: "druglss1 "g, Drogen in der Box: " druglss2 "g, Mats in der Box: " Materials2 " Stück")
  3679. }
  3680. Else
  3681. {
  3682. Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
  3683. }
  3684. Suspend, Off
  3685. Hotkey, t, on
  3686. return
  3687. :?:/mdbox::
  3688. Suspend, Permit
  3689. Sendinput {enter}
  3690. if(ReadStats(text))
  3691. {
  3692. drugs := keyForEntry(text, "Drogen")
  3693. mats := keyForEntry(text, "Materialien")
  3694. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  3695. RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
  3696. sendchat("Drogen dabei: "druglss1 "g, Drogen in der Box: " druglss2 "g, Mats in der Box: " Materials2 " Stück")
  3697. }
  3698. Else
  3699. {
  3700. Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
  3701. }
  3702. Suspend, Off
  3703. Hotkey, t, on
  3704. return
  3705. :?:/aa::
  3706. Suspend Permit
  3707. send, {enter}
  3708. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  3709. {
  3710. If InStr(A_LoopReadLine, "/accept drugs")
  3711. {
  3712. Service = drugs
  3713. }
  3714. else If InStr(A_LoopReadLine, "/accept sex")
  3715. {
  3716. Service = sex
  3717. }
  3718. else If InStr(A_LoopReadLine, "/accept repair")
  3719. {
  3720. Service = repair
  3721. }
  3722. else If InStr(A_LoopReadLine, "/accept refill")
  3723. {
  3724. Service = refill
  3725. }
  3726. else If InStr(A_LoopReadLine, "/accept ticket")
  3727. {
  3728. Service = ticket
  3729. }
  3730. else If InStr(A_LoopReadLine, "/accept heal")
  3731. {
  3732. Service = heal
  3733. }
  3734. else If InStr(A_LoopReadLine, "/accept hotdog")
  3735. {
  3736. Service = hotdog
  3737. }
  3738. else if instr(A_LoopReadLine, "/accept vertrag")
  3739. {
  3740. Service = vertrag
  3741. }
  3742. else if instr(A_LoopReadLine, "/accept dice")
  3743. {
  3744. Service = dice
  3745. }
  3746. else if instr(A_LoopReadLine, "/accept invite")
  3747. {
  3748. Service = invite
  3749. }
  3750. else if instr(A_LoopReadLine, "/accept orginvite")
  3751. {
  3752. Service = orginvite
  3753. }
  3754. else if instr(A_LoopReadLine, "/accept lesson")
  3755. {
  3756. Service = lesson
  3757. }
  3758. }
  3759. SendChat("/accept " Service "")
  3760. Suspend Off
  3761. return
  3762. :?:/grenze::
  3763. Suspend Permit
  3764. SendInput {enter}
  3765. if(ReadStats(text))
  3766. {
  3767. safedrugs := keyForEntry(text, "SafeDrugs")
  3768. safemats := keyForEntry(text, "SafeMats")
  3769. fische := keyForEntry(text, "Illegale Fische")
  3770. codes := keyForEntry(text, "Hackingcodes")
  3771. dmkill := keyForEntry(text, "Kills\(DM\)")
  3772. tode := keyForEntry(text, "Tode")
  3773. rate := keyForEntry(text, "DM-Rate")
  3774. Bank := keyForEntry(text, "Bank")
  3775. Geldd := keyForEntry(text, "Geld")
  3776. Level := keyForEntry(text, "Level")
  3777. Respekt := keyForEntry(text, "Respekt")
  3778. drugs := keyForEntry(text, "Drogen")
  3779. mats := keyForEntry(text, "Materialien")
  3780. sdrugs := number_format(safedrugs)
  3781. smats := number_format(safemats)
  3782. gesamt := number_format(bank)
  3783. geld := number_format(geldd)
  3784. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  3785. StringReplace, VarBack, Bankl1,.,,All
  3786. zw1 := 2147483647/VarBack
  3787. rw1 := log(zw1)
  3788. rw2 := log(1.001)
  3789. rw3 := log(1.0015)
  3790. res := Round(rw1/rw2)
  3791. res1 := Round(rw1/rw3)
  3792. Organizer("Bis zu deiner Geldgrenze benötigst du noch " res " Paydays ohne und " res1 " mit Donator.")
  3793. SendChat("Bis zu meiner Geldgrenze benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  3794. }
  3795. Suspend off
  3796. return
  3797. :?:/ggrenze::
  3798. Suspend Permit
  3799. SendInput {enter}
  3800. if(ReadStats(text))
  3801. {
  3802. safedrugs := keyForEntry(text, "SafeDrugs")
  3803. safemats := keyForEntry(text, "SafeMats")
  3804. fische := keyForEntry(text, "Illegale Fische")
  3805. codes := keyForEntry(text, "Hackingcodes")
  3806. dmkill := keyForEntry(text, "Kills\(DM\)")
  3807. tode := keyForEntry(text, "Tode")
  3808. rate := keyForEntry(text, "DM-Rate")
  3809. Bank := keyForEntry(text, "Bank")
  3810. Geldd := keyForEntry(text, "Geld")
  3811. Level := keyForEntry(text, "Level")
  3812. Respekt := keyForEntry(text, "Respekt")
  3813. drugs := keyForEntry(text, "Drogen")
  3814. mats := keyForEntry(text, "Materialien")
  3815. sdrugs := number_format(safedrugs)
  3816. smats := number_format(safemats)
  3817. gesamt := number_format(bank)
  3818. geld := number_format(geldd)
  3819. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  3820. StringReplace, VarBack, Bankl1,.,,All
  3821. zw1 := 2147483647/VarBack
  3822. rw1 := log(zw1)
  3823. rw2 := log(1.001)
  3824. rw3 := log(1.0015)
  3825. res := Round(rw1/rw2)
  3826. res1 := Round(rw1/rw3)
  3827. SendChat("/g Bis zu meiner Geldgrenze benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  3828. }
  3829. Suspend off
  3830. return
  3831. :?:/fgrenze::
  3832. Suspend Permit
  3833. SendInput {enter}
  3834. if(ReadStats(text))
  3835. {
  3836. safedrugs := keyForEntry(text, "SafeDrugs")
  3837. safemats := keyForEntry(text, "SafeMats")
  3838. fische := keyForEntry(text, "Illegale Fische")
  3839. codes := keyForEntry(text, "Hackingcodes")
  3840. dmkill := keyForEntry(text, "Kills\(DM\)")
  3841. tode := keyForEntry(text, "Tode")
  3842. rate := keyForEntry(text, "DM-Rate")
  3843. Bank := keyForEntry(text, "Bank")
  3844. Geldd := keyForEntry(text, "Geld")
  3845. Level := keyForEntry(text, "Level")
  3846. Respekt := keyForEntry(text, "Respekt")
  3847. drugs := keyForEntry(text, "Drogen")
  3848. mats := keyForEntry(text, "Materialien")
  3849. sdrugs := number_format(safedrugs)
  3850. smats := number_format(safemats)
  3851. gesamt := number_format(bank)
  3852. geld := number_format(geldd)
  3853. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  3854. StringReplace, VarBack, Bankl1,.,,All
  3855. zw1 := 2147483647/VarBack
  3856. rw1 := log(zw1)
  3857. rw2 := log(1.001)
  3858. rw3 := log(1.0015)
  3859. res := Round(rw1/rw2)
  3860. res1 := Round(rw1/rw3)
  3861. SendChat("/f Bis zu meiner Geldgrenze benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  3862. }
  3863. Suspend off
  3864. return
  3865. :?:/mel::
  3866. Suspend Permit
  3867. SendInput, {enter}
  3868. Organizer("* Du wurdest für 1.620 Sekunden eingesperrt und verlierst wegen Flucht und Kill durch einen Polizist $90.000.")
  3869. Suspend Off
  3870. return
  3871. :?:/p::
  3872. Suspend Permit
  3873. SendInput {ESC}
  3874. sendchat("/pickup")
  3875. sendchat("Guten Tag hier spricht " getplayername() ", was kann ich für Sie tun? ")
  3876. return
  3877. :?:/hallo::
  3878. suspend permit
  3879. sendinput {enter}
  3880. if(ReadStats(text))
  3881. {
  3882. Team := keyForEntry(text, "Team")
  3883. Rang := keyForEntry(text, "Rang")
  3884. Sendchat("Guten Tag! Ich bin " getplayername() ", " Rang " des " Team ".")
  3885. }
  3886. Else
  3887. {
  3888. Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
  3889. }
  3890. Hotkey, t, On
  3891. Suspend off
  3892. return
  3893. :?:/clearchat::
  3894. :?:/cc::
  3895. suspend permit
  3896. sendinput, {enter}
  3897. loop, 20
  3898. AddChatMessage("{FFFFFF} " "")
  3899. Organizer("Chat wurde gecleart.")
  3900. Suspend off
  3901. return
  3902. :?:/ud::
  3903. Suspend Permit
  3904. SendInput, {enter}
  3905. SendChat("/usedrugs")
  3906. Suspend Off
  3907. return
  3908. :?:/bk::
  3909. Suspend Permit
  3910. SendInput, {enter}
  3911. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  3912. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  3913. If(IsPlayerInAnyInterior()==1)
  3914. {
  3915. SendChat("/f Benötige Unterstützung in einem Interior. HP: " GetPlayerHealth() "")
  3916. }
  3917. else
  3918. SendChat("/f Benötige Unterstützung in " City ", " Zone ". HP: " GetPlayerHealth() "")
  3919. Suspend Off
  3920. return
  3921. :?:/gi::
  3922. Suspend Permit
  3923. SendInput, {enter}
  3924. IniRead, wGebietinfo, TaKe-Binder.ini,Sonstiges, wGebietinfo
  3925. if(wGebietinfo=1)
  3926. {
  3927. SendChat("/gebietinfo")
  3928. Sleep, 200
  3929. GetChatLine(6, Chat6)
  3930. GetChatLine(5, Chat5)
  3931. GetChatLine(4, Chat4)
  3932. GetChatLine(3, Chat3)
  3933. GetChatLine(2, Chat2)
  3934. GetChatLine(1, Chat1)
  3935. GetChatLine(0, Chat0)
  3936. if(Instr(Chat1, " Restzeit:"))
  3937. {
  3938. RegExMatch(Chat1, "Restzeit: (.*) Tage, (.*) Stunden und (.*) Minuten", regzeit)
  3939. RegExMatch(Chat2, " Kills: (.*)", regkills)
  3940. RegExMatch(Chat3, " Herausforderer: (.*)", regher)
  3941. RegExMatch(Chat4, " Kills: (.*)", reg1kills)
  3942. RegExMatch(Chat5, " Besitzer: (.*)", regbe)
  3943. SendChat("/f -> Gebietinfo von " regher1 " - " regbe1 " <-")
  3944. SendChat("/f " regbe1 ": " reg1kills1 " Kills - " regher1 ": " regkills1 " Kills")
  3945. SendChat("/f Restzeit: " regzeit1 " Tage " regzeit2 " Stunden " regzeit3 " Minuten")
  3946. return
  3947. }
  3948. }
  3949. else
  3950. {
  3951. SendChat("/gebietinfo")
  3952. }
  3953. Suspend Off
  3954. return
  3955. :?:/wi::
  3956. Suspend Permit
  3957. SendInput, {enter}
  3958. SendChat("/warinfo")
  3959. Suspend Off
  3960. return
  3961. :?:/re::
  3962. suspend Permit
  3963. IniRead,sms6,TaKe-Binder.ini,SMS,Tel
  3964. IniRead,sms5,TaKe-Binder,SMS,Name
  3965. EigenerName:=GetPlayerName()
  3966. if(EigenerName != sms5)
  3967. {
  3968. SendInput /t %sms6%{space}
  3969. }
  3970. else
  3971. {
  3972. SendInput /t{space}
  3973. }
  3974. return
  3975. :?:/aus::
  3976. Suspend Permit
  3977. SendChat("/atm")
  3978. Sleep 150
  3979. Sendinput {Down}
  3980. sleep 100
  3981. SendInput {Enter}
  3982. return
  3983. :?:/ber::
  3984. Suspend Permit
  3985. SendChat("/atm")
  3986. Sleep 150
  3987. Sendinput {Down}
  3988. sleep 100
  3989. Sendinput {Down}
  3990. sleep 100
  3991. SendInput {Enter}
  3992. return
  3993. :?:/ein::
  3994. Suspend Permit
  3995. SendChat("/atm")
  3996. Sleep 150
  3997. SendInput {Enter}
  3998. return
  3999. :?:/pa::
  4000. Suspend permit
  4001. SendInput /id{space}
  4002. Input, partnerid, V I M,{enter}
  4003. If(partnerid = "")
  4004. {
  4005. SendInput, {end}+{home}{Del}{Esc}
  4006. Organizer("Keine Eingabe!")
  4007. return
  4008. }
  4009. else
  4010. {
  4011. sleep 200
  4012. {
  4013. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  4014. {
  4015. IfInString, A_LoopReadLine, ID:
  4016. {
  4017. RegExMatch(A_LoopReadLine, "ID: \((.*)\) (.*), Level (.*)" ,partnerauslese)
  4018. partnerid := partnerauslese1
  4019. partnername := partnerauslese2
  4020. }
  4021. }
  4022. }
  4023. SendChat("/f Neuer Partner: " partnername " (ID: " partnerid ") wurde eingetragen")
  4024. }
  4025. return
  4026. :?:/ku::
  4027. Suspend permit
  4028. SendInput /id{space}
  4029. Input, opferid, V I M,{enter}
  4030. If(opferid = "")
  4031. {
  4032. SendInput, {end}+{home}{Del}{Esc}
  4033. Organizer("Keine Eingabe!")
  4034. return
  4035. }
  4036. else
  4037. {
  4038. sleep 200
  4039. {
  4040. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  4041. {
  4042. IfInString, A_LoopReadLine, ID:
  4043. {
  4044. RegExMatch(A_LoopReadLine, "ID: \((.*)\) (.*), Level (.*)" ,opferauslese)
  4045. opferid := opferauslese1
  4046. opfername := opferauslese2
  4047. }
  4048. }
  4049. }
  4050. SendChat("/f Neues Ziel: " opfername " (ID: " opferid ") wurde eingetragen")
  4051. }
  4052. return
  4053. :?:/napinfo::
  4054. Suspend Permit
  4055. SendInput {enter}
  4056. Iniread, HKKnap1, TaKe-Binder.ini,Wanteds, HKKnap1
  4057. Iniread, HKKnap2, TaKe-Binder.ini,Wanteds, HKKnap2
  4058. Organizer("|_______NAP-Info_______|")
  4059. if(partnername="")
  4060. {
  4061. Organizer("Partner: Niemand")
  4062. }
  4063. else
  4064. {
  4065. Organizer("Partner: " partnername "(" partnerid ")")
  4066. }
  4067. if(opfername="")
  4068. {
  4069. Organizer("Opfer: Niemand")
  4070. }
  4071. else
  4072. {
  4073. Organizer("Opfer: " opfername "(" opferid ")")
  4074. }
  4075. if(HKKnap1=%test%)
  4076. {
  4077. Organizer("Sitz links: Taste nicht belegt")
  4078. }
  4079. else
  4080. {
  4081. Organizer("Sitz links: " HKKnap1 "")
  4082. }
  4083. if(HKKnap2=%test%)
  4084. {
  4085. Organizer("Sitz rechts: Taste nicht belegt")
  4086. }
  4087. else
  4088. {
  4089. Organizer("Sitz rechts: " HKKnap2 "")
  4090. }
  4091. Suspend Off
  4092. return
  4093. :?:/fgcs::
  4094. Suspend permit
  4095. SendInput {enter}
  4096. SendChat("/fixgangcars")
  4097. sleep 200
  4098. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  4099. {
  4100. IfInString, A_LoopReadLine, Aktuelle Kosten:
  4101. {
  4102. RegExMatch(A_LoopReadLine, "Aktuelle Kosten: \$(.*)" ,fixgangcars)
  4103. reparaturkosten := fixgangcars1
  4104. }
  4105. }
  4106. SendChat("/fixgangcars " reparaturkosten "")
  4107. return
  4108. :?:/ff::
  4109. Suspend Permit
  4110. SendInput /fastfood{space}{space}1{left}{left}
  4111. return
  4112. :?:/se::
  4113. Suspend Permit
  4114. SendInput /sex{space}{space}1{left}{left}
  4115. return
  4116. :?:/wp1::
  4117. Suspend Permit
  4118. SendInput,{enter}
  4119. if (wpc11 == 1)
  4120. {
  4121. if (wp11 == 1)
  4122. {
  4123. Waffe1 := "Deagle"
  4124. }
  4125. else if (wp11 == 2)
  4126. {
  4127. Waffe1 := "Shotgun"
  4128. }
  4129. else if (wp11 == 3)
  4130. {
  4131. Waffe1 := "MP5"
  4132. }
  4133. else if (wp11 == 4)
  4134. {
  4135. Waffe1 := "M4"
  4136. }
  4137. else if (wp11 == 5)
  4138. {
  4139. Waffe1 := "Rifle"
  4140. }
  4141. else if (wp11 == 6)
  4142. {
  4143. Waffe1 := "Sniper"
  4144. }
  4145. else if (wp11 == 7)
  4146. {
  4147. Waffe1 := "katana"
  4148. }
  4149. else
  4150. return
  4151. SendChat("/buygun " Waffe1 " " wpa11)
  4152. }
  4153. if (wpc12 == 1)
  4154. {
  4155. if (wp12 == 1)
  4156. {
  4157. Waffe1 := "Deagle"
  4158. }
  4159. else if (wp12 == 2)
  4160. {
  4161. Waffe1 := "Shotgun"
  4162. }
  4163. else if (wp12 == 3)
  4164. {
  4165. Waffe1 := "MP5"
  4166. }
  4167. else if (wp12 == 4)
  4168. {
  4169. Waffe1 := "M4"
  4170. }
  4171. else if (wp12 == 5)
  4172. {
  4173. Waffe1 := "Rifle"
  4174. }
  4175. else if (wp12 == 6)
  4176. {
  4177. Waffe1 := "Sniper"
  4178. }
  4179. else if (wp12 == 7)
  4180. {
  4181. Waffe1 := "katana"
  4182. }
  4183. else
  4184. return
  4185. SendChat("/buygun " Waffe1 " " wpa12)
  4186. }
  4187. if (wpc13 == 1)
  4188. {
  4189. if (wp13 == 1)
  4190. {
  4191. Waffe1 := "Deagle"
  4192. }
  4193. else if (wp13 == 2)
  4194. {
  4195. Waffe1 := "Shotgun"
  4196. }
  4197. else if (wp13 == 3)
  4198. {
  4199. Waffe1 := "MP5"
  4200. }
  4201. else if (wp13 == 4)
  4202. {
  4203. Waffe1 := "M4"
  4204. }
  4205. else if (wp13 == 5)
  4206. {
  4207. Waffe1 := "Rifle"
  4208. }
  4209. else if (wp13 == 6)
  4210. {
  4211. Waffe1 := "Sniper"
  4212. }
  4213. else if (wp13 == 7)
  4214. {
  4215. Waffe1 := "katana"
  4216. }
  4217. else
  4218. return
  4219. SendChat("/buygun " Waffe1 " " wpa13)
  4220. }
  4221. if (wpc14 == 1)
  4222. {
  4223. if (wp14 == 1)
  4224. {
  4225. Waffe1 := "Deagle"
  4226. }
  4227. else if (wp14 == 2)
  4228. {
  4229. Waffe1 := "Shotgun"
  4230. }
  4231. else if (wp14 == 3)
  4232. {
  4233. Waffe1 := "MP5"
  4234. }
  4235. else if (wp14 == 4)
  4236. {
  4237. Waffe1 := "M4"
  4238. }
  4239. else if (wp14 == 5)
  4240. {
  4241. Waffe1 := "Rifle"
  4242. }
  4243. else if (wp14 == 6)
  4244. {
  4245. Waffe1 := "Sniper"
  4246. }
  4247. else if (wp14 == 7)
  4248. {
  4249. Waffe1 := "katana"
  4250. }
  4251. else
  4252. return
  4253. SendChat("/buygun " Waffe1 " " wpa14)
  4254. }
  4255. if (wpc15 == 1)
  4256. {
  4257. if (wp15 == 1)
  4258. {
  4259. Waffe1 := "Deagle"
  4260. }
  4261. else if (wp15 == 2)
  4262. {
  4263. Waffe1 := "Shotgun"
  4264. }
  4265. else if (wp15 == 3)
  4266. {
  4267. Waffe1 := "MP5"
  4268. }
  4269. else if (wp15 == 4)
  4270. {
  4271. Waffe1 := "M4"
  4272. }
  4273. else if (wp15 == 5)
  4274. {
  4275. Waffe1 := "Rifle"
  4276. }
  4277. else if (wp15 == 6)
  4278. {
  4279. Waffe1 := "Sniper"
  4280. }
  4281. else if (wp15 == 7)
  4282. {
  4283. Waffe1 := "katana"
  4284. }
  4285. else
  4286. return
  4287. SendChat("/buygun " Waffe1 " " wpa15)
  4288. }
  4289. Suspend Off
  4290. return
  4291. :?:/wp2::
  4292. Suspend Permit
  4293. SendInput,{enter}
  4294. if (wpc21 == 1)
  4295. {
  4296. if (wp21 == 1)
  4297. {
  4298. Waffe1 := "Deagle"
  4299. }
  4300. else if (wp21 == 2)
  4301. {
  4302. Waffe1 := "Shotgun"
  4303. }
  4304. else if (wp21 == 3)
  4305. {
  4306. Waffe1 := "MP5"
  4307. }
  4308. else if (wp21 == 4)
  4309. {
  4310. Waffe1 := "M4"
  4311. }
  4312. else if (wp21 == 5)
  4313. {
  4314. Waffe1 := "Rifle"
  4315. }
  4316. else if (wp21 == 6)
  4317. {
  4318. Waffe1 := "Sniper"
  4319. }
  4320. else if (wp21 == 7)
  4321. {
  4322. Waffe1 := "katana"
  4323. }
  4324. else
  4325. return
  4326. SendChat("/buygun " Waffe1 " " wpa21)
  4327. }
  4328. if (wpc22 == 1)
  4329. {
  4330. if (wp22 == 1)
  4331. {
  4332. Waffe1 := "Deagle"
  4333. }
  4334. else if (wp22 == 2)
  4335. {
  4336. Waffe1 := "Shotgun"
  4337. }
  4338. else if (wp22 == 3)
  4339. {
  4340. Waffe1 := "MP5"
  4341. }
  4342. else if (wp22 == 4)
  4343. {
  4344. Waffe1 := "M4"
  4345. }
  4346. else if (wp22 == 5)
  4347. {
  4348. Waffe1 := "Rifle"
  4349. }
  4350. else if (wp22 == 6)
  4351. {
  4352. Waffe1 := "Sniper"
  4353. }
  4354. else if (wp22 == 7)
  4355. {
  4356. Waffe1 := "katana"
  4357. }
  4358. else
  4359. return
  4360. SendChat("/buygun " Waffe1 " " wpa22)
  4361. }
  4362. if (wpc23 == 1)
  4363. {
  4364. if (wp23 == 1)
  4365. {
  4366. Waffe1 := "Deagle"
  4367. }
  4368. else if (wp23 == 2)
  4369. {
  4370. Waffe1 := "Shotgun"
  4371. }
  4372. else if (wp23 == 3)
  4373. {
  4374. Waffe1 := "MP5"
  4375. }
  4376. else if (wp23 == 4)
  4377. {
  4378. Waffe1 := "M4"
  4379. }
  4380. else if (wp23 == 5)
  4381. {
  4382. Waffe1 := "Rifle"
  4383. }
  4384. else if (wp23 == 6)
  4385. {
  4386. Waffe1 := "Sniper"
  4387. }
  4388. else if (wp23 == 7)
  4389. {
  4390. Waffe1 := "katana"
  4391. }
  4392. else
  4393. return
  4394. SendChat("/buygun " Waffe1 " " wpa23)
  4395. }
  4396. if (wpc24 == 1)
  4397. {
  4398. if (wp24 == 1)
  4399. {
  4400. Waffe1 := "Deagle"
  4401. }
  4402. else if (wp24 == 2)
  4403. {
  4404. Waffe1 := "Shotgun"
  4405. }
  4406. else if (wp24 == 3)
  4407. {
  4408. Waffe1 := "MP5"
  4409. }
  4410. else if (wp24 == 4)
  4411. {
  4412. Waffe1 := "M4"
  4413. }
  4414. else if (wp24 == 5)
  4415. {
  4416. Waffe1 := "Rifle"
  4417. }
  4418. else if (wp24 == 6)
  4419. {
  4420. Waffe1 := "Sniper"
  4421. }
  4422. else if (wp24 == 7)
  4423. {
  4424. Waffe1 := "katana"
  4425. }
  4426. else
  4427. return
  4428. SendChat("/buygun " Waffe1 " " wpa24)
  4429. }
  4430. if (wpc25 == 1)
  4431. {
  4432. if (wp25 == 1)
  4433. {
  4434. Waffe1 := "Deagle"
  4435. }
  4436. else if (wp25 == 2)
  4437. {
  4438. Waffe1 := "Shotgun"
  4439. }
  4440. else if (wp25 == 3)
  4441. {
  4442. Waffe1 := "MP5"
  4443. }
  4444. else if (wp25 == 4)
  4445. {
  4446. Waffe1 := "M4"
  4447. }
  4448. else if (wp25 == 5)
  4449. {
  4450. Waffe1 := "Rifle"
  4451. }
  4452. else if (wp25 == 6)
  4453. {
  4454. Waffe1 := "Sniper"
  4455. }
  4456. else if (wp25 == 7)
  4457. {
  4458. Waffe1 := "katana"
  4459. }
  4460. else
  4461. return
  4462. SendChat("/buygun " Waffe1 " " wpa25)
  4463. Sleep 500
  4464. }
  4465. Suspend Off
  4466. return
  4467. :?:/mc::
  4468. Suspend Permit
  4469. Sendinput /service{enter}
  4470. sleep 300
  4471. Sendinput {Down}
  4472. sleep 300
  4473. SendInput {Enter}
  4474. suspend off
  4475. return
  4476. :?:/wh::
  4477. Suspend Permit
  4478. Sendinput /service{enter}
  4479. sleep 300
  4480. Sendinput {Down}
  4481. sleep 300
  4482. Sendinput {Down}
  4483. sleep 300
  4484. Sendinput {Down}
  4485. sleep 300
  4486. Sendinput {Down}
  4487. sleep 300
  4488. Sendinput {Down}
  4489. sleep 300
  4490. SendInput {Enter}
  4491. suspend off
  4492. return
  4493. :?:/setkills::
  4494. Suspend Permit
  4495. Sendinput Kills:{space}
  4496. Input Kills,V I M,{enter}
  4497. SendInput {end}+{home}{Del}{esc}
  4498. if Kills is not number
  4499. {
  4500. Organizer("Fehler! verwende dafür Zahlen!")
  4501. Kills:=0
  4502. }
  4503. else
  4504. {
  4505. Organizer("Kills auf " Kills " gesetzt.")
  4506. }
  4507. return
  4508. :?:/setdeaths::
  4509. Suspend Permit
  4510. Sendinput Deahts:{space}
  4511. Input Deaths,V I M,{enter}
  4512. SendInput {end}+{home}{Del}{esc}
  4513. if Deaths is not number
  4514. {
  4515. Organizer("Fehler! verwende dafür Zahlen!")
  4516. Deaths:=0
  4517. }
  4518. else
  4519. {
  4520. Organizer("Deaths auf " Deaths " gesetzt.")
  4521. }
  4522. return
  4523. :?:/clearkill::
  4524. suspend permit
  4525. sendinput {enter}
  4526. Kills--
  4527. tKills--
  4528. streak-=1
  4529. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  4530. if(Kills=-1)
  4531. {
  4532. Kills:=0
  4533. }
  4534. If(tKills=-1)
  4535. {
  4536. tKills:=0
  4537. }
  4538. If(streak=-1)
  4539. {
  4540. streak:=0
  4541. IniWrite,%streak%,Statistik\statsi.ini,Killstreak,streak
  4542. }
  4543. Organizer("1 Kill Gecleart - Aktuell: " number_format(gangwarkills) " | Heute: " tKills "")
  4544. Sendchat("/f 1 Tages Kill wurde gelöscht - Aktuell: " number_format(gangwarkills) " | Heute: " tKills "")
  4545. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
  4546. Suspend Off
  4547. return
  4548. :?:/cleardeath::
  4549. suspend permit
  4550. sendinput {enter}
  4551. Deaths--
  4552. If(Deaths=-1)
  4553. {
  4554. Deaths:=0
  4555. }
  4556. Organizer("1 Tod Gecleart - Aktuell: " number_format(tode) " Tode")
  4557. Suspend Off
  4558. return
  4559. :?:/setwanteds::
  4560. Suspend Permit
  4561. Sendinput Wanteds:{space}
  4562. Input Wanteds,V I M,{enter}
  4563. SendInput {end}+{home}{Del}{esc}
  4564. if Wanteds is not number
  4565. {
  4566. Organizer("Fehler! verwende dafür Zahlen!")
  4567. Wanteds:=0
  4568. }
  4569. else
  4570. {
  4571. Organizer("Wanteds auf " Wanteds " gesetzt.")
  4572. }
  4573. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  4574. if Wanteds=0
  4575. {
  4576. Wanteds:= 0
  4577. Grund:= "Unbekannt"
  4578. Zeuge:= "Niemand"
  4579. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  4580. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  4581. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  4582. }
  4583. return
  4584. :?:/ad1::
  4585. Suspend Permit
  4586. SendInput,{enter}
  4587. SendChat("/ad " AD1)
  4588. Suspend Off
  4589. return
  4590. :?:/ad2::
  4591. Suspend Permit
  4592. SendInput,{enter}
  4593. SendChat("/ad " AD2)
  4594. Suspend Off
  4595. return
  4596. :?:/ad3::
  4597. Suspend Permit
  4598. SendInput,{enter}
  4599. SendChat("/ad " AD3)
  4600. Suspend Off
  4601. return
  4602. :?:/ad4::
  4603. Suspend Permit
  4604. SendInput,{enter}
  4605. SendChat("/ad " AD4)
  4606. Suspend Off
  4607. return
  4608. :?:/adinfo::
  4609. Suspend permit
  4610. SendInput {enter}
  4611. if(AD1=%test%)
  4612. {
  4613. Organizer("AD1: Nicht belegt")
  4614. }
  4615. else
  4616. {
  4617. Organizer("AD1: " AD1 "")
  4618. }
  4619. if(AD2=%test%)
  4620. {
  4621. Organizer("AD2: Nicht belegt")
  4622. }
  4623. else
  4624. {
  4625. Organizer("AD2: " AD2 "")
  4626. }
  4627. if(AD3=%test%)
  4628. {
  4629. Organizer("AD3: Nicht belegt")
  4630. }
  4631. else
  4632. {
  4633. Organizer("AD3: " AD3 "")
  4634. }
  4635. if(AD4=%test%)
  4636. {
  4637. Organizer("AD4: Nicht belegt")
  4638. }
  4639. else
  4640. {
  4641. Organizer("AD4: " AD4 "")
  4642. }
  4643. Suspend off
  4644. return
  4645. MainGuiOpen:
  4646. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  4647. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  4648. box :=
  4649. (
  4650. "[Account-Informationen]`n
  4651. Name: `" getplayername() "
  4652. Kills: `" number_format(GangwarKills) " | Heute: " tKills "
  4653. Deaths: `" number_format(tode) " | Heute: " tDeaths
  4654. )
  4655. Gui,Main: Font,s10, Comic Sans
  4656. Gui,Main: Add, Picture,x0 y0,%A_WorkingDir%\back01.png
  4657. Gui,Main: Add, Button, x12 y10 w100 h30 gbtnoverlay, Overlay
  4658. Gui,Main: Add, Button, x12 y50 w100 h30 gbtnkeybinds, Keybinds
  4659. Gui,Main: Add, Button, x12 y90 w100 h30 gOptionGui, Optionen
  4660. Gui,Main: Add, Button, x12 y130 w100 h30 gEnemyGui, Gegnerliste
  4661. Gui,Main: Add, Button, x12 y170 w100 h30 gChangelog, Changelog
  4662. Gui,Main: Add, Button, x12 y210 w100 h30 gMOTD, MOTD
  4663. Gui,Main: Add, Edit, x132 y190 w310 h170 +ReadOnly, %box%
  4664. Gui,Main: Font, s10 bold, Times
  4665. Gui,Main: Show, x719 y316 h384 w454, Main-Control
  4666. gosub, OverlayLoad
  4667. gosub, KeybindsLoad
  4668. gosub, OwnWPLoad
  4669. gosub, LoadOptions
  4670. streak:=0
  4671. conquern:=0
  4672. tp:=0
  4673. SetTimer, 250dl, 500
  4674. SetTimer, carlowdl, 500
  4675. SetTimer, Payday, 1000
  4676. settimer, sterne, 100
  4677. settimer, schaden, 100
  4678. settimer, carschaden, 100
  4679. SetTimer, DrogenSystem, 100
  4680. SetTimer, Auslesen, 200
  4681. SetTimer, Overlay, 200
  4682. SetTimer, GameText, 900
  4683. SetTimer, CheckDate, 10000
  4684. SetTimer, AntiSpam, 150
  4685. settimer, drogenbox, 100
  4686. settimer, tanken, 100
  4687. return
  4688. MOTD:
  4689. GUI,MOTD: Destroy
  4690. URLDownloadToFile,http://51.255.151.195/waLkerKeybinder/MOTD.txt,MOTD.txt
  4691. FileRead,motd,MOTD.txt
  4692. Gui,MOTD: Add, Picture, x0 y0 +0x4000000 h556 w557, back03.png
  4693. Gui,MOTD: Font, s30
  4694. Gui,MOTD: Add, Text, x12 y35 w400 h60 +BackgroundTrans cred, Message of the Day
  4695. Gui,MOTD: Font, s10
  4696. Gui,MOTD: Add, Edit, x12 y100 w355 h340 +ReadOnly, %motd%
  4697. Gui,MOTD: Show, x437 y164 h462 w377,MOTD
  4698. FileDelete,MOTD.txt
  4699. return
  4700. Changelog:
  4701. changelog=
  4702. (
  4703. ------------------------------------------------------------------------------------------------------------------
  4704. 30.03.2016 - Version 1.3.1 by paco
  4705.  
  4706. - /untieenemy eingebaut(Untie Countdown mit Waffenabnehmen etc.)
  4707. - /fud (Fakeusedrugs)
  4708. - /ep (Eatpizza)
  4709. - /twp (/take weapons [id])
  4710. - /(g)(f)paydaysbis [Betrag] (Zeigt die Paydays bis zum angebebenen Betrag an)
  4711. - /gk System überarbeitet absofort /gk [Leertaste] eingeben dann die Nummer
  4712. - /members Hotkey überarbeitet
  4713. - /napinfo gefixxt
  4714. - Im Rechner kann der Preis pro Gramm selbst bestimmt werden
  4715.  
  4716. ------------------------------------------------------------------------------------------------------------------
  4717.  
  4718. 29.03.2016 - Version 1.3 by paco
  4719.  
  4720. - Varibalen in Eigenen Binds anpassbar Beispiel <HP>.
  4721. - Zinssystem entbuggt
  4722. - paar Bugfixes
  4723. - Chatkillspruch festlegbar
  4724. - Bei dem Hotkey "/members" wird angezeigt wie viele Member AFK sind
  4725.  
  4726. ------------------------------------------------------------------------------------------------------------------
  4727.  
  4728. 09.12.2015 - Version 1.0
  4729.  
  4730. - Neuer Release by TaKeshi.ShinoDa
  4731.  
  4732. - Killzähler angepasst
  4733.  
  4734. - Overlay angepasst
  4735.  
  4736. - Keybinder auf aktuellesten Stand gebracht
  4737.  
  4738. ------------------------------------------------------------------------------------------------------------------
  4739.  
  4740. 13.12.2015 - Version 1.1
  4741.  
  4742. - Kleine Bugs behoben
  4743.  
  4744. - /fdkd hinzugefügt
  4745.  
  4746. - Overlay-Bug beim Drogenoverlay behoben
  4747.  
  4748. - Spruch bei Tod angepasst
  4749.  
  4750.  
  4751. ------------------------------------------------------------------------------------------------------------------
  4752.  
  4753. 15.12.2015 - Version 1.2
  4754.  
  4755. - Wantedkills werden automatisch addiert
  4756.  
  4757. - Low DL Meldung
  4758.  
  4759. - Explosions CD hinzugefügt
  4760.  
  4761. ------------------------------------------------------------------------------------------------------------------
  4762.  
  4763. 16.12.2015 - Version 1.2
  4764.  
  4765. - WantedKills im F-Chat herausgenommen (BUG)
  4766.  
  4767.  
  4768. )
  4769. Gui,Changelog:Add, Picture,x0 y0,%A_WorkingDir%\back02.png
  4770. Gui,Changelog:Add, Edit, x12 y10 w370 h210 +ReadOnly, %changelog%
  4771. Gui,Changelog:Show, w397 h234,Changelog
  4772. return
  4773. MainGuiClose:
  4774. DestroyAllVisual()
  4775. ExitApp
  4776. return
  4777. btnoverlay:
  4778. Gui,Overlay: Destroy
  4779. gosub,OverlayLoad
  4780. Gui,Overlay: Add, Picture,x0 y0 w654 h404,%A_WorkingDir%\back02.png
  4781. Gui,Overlay: Add, Button, x332 y330 w100 h30 gOverlaySave, Save
  4782. Gui,Overlay: Add, GroupBox, x12 y10 w190 h140 , Health
  4783. Gui,Overlay: Add, GroupBox, x222 y10 w190 h140 , Wanteds
  4784. Gui,Overlay: Add, GroupBox, x12 y160 w190 h140 , Vehicle
  4785. Gui,Overlay: Add, GroupBox, x222 y160 w190 h140 , Position
  4786. Gui,Overlay: Add, GroupBox, x432 y10 w190 h140 , Gegnerliste
  4787. Gui,Overlay: Add, GroupBox, x432 y160 w190 h140 , DrogenInfo
  4788. Gui,Overlay: Add, CheckBox,-Checked%HPC% x22 y120 w90 h20 vHPC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4789. 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
  4790. Gui,Overlay: Add, CheckBox,-Checked%WC% x232 y120 w90 h20 vWC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4791. 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
  4792. Gui,Overlay: Add, CheckBox,-Checked%PC% x232 y270 w90 h20 vPC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4793. 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
  4794. Gui,Overlay: Add, CheckBox,-Checked%VC% x22 y270 w90 h20 vVC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4795. 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
  4796. Gui,Overlay: Add, CheckBox,-Checked%GC% x442 y120 w90 h20 vGC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4797. 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
  4798. Gui,Overlay: Add, CheckBox,-Checked%DC% x442 y270 w90 h20 vDC +BackgroundTrans gOverlayCheckBox, Aktivieren
  4799. 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
  4800. Gui,Overlay: Add, Edit, x22 y30 w80 h20 vHPX, %HPX%
  4801. Gui,Overlay: Add, UpDown, x33 y30 w80 h20 Range0-1000, %HPX%
  4802. Gui,Overlay: Add, Edit, x22 y60 w80 h20 vHPY, %HPY%
  4803. Gui,Overlay: Add, UpDown, x33 y60 w80 h20 Range0-1000, %HPY%
  4804. Gui,Overlay: Add, Edit, x22 y90 w80 h20 vHPSize, %HPSize%
  4805. Gui,Overlay: Add, UpDown, x33 y90 w80 h20 Range0-1000, %HPSize%
  4806. Gui,Overlay: Add, Edit, x232 y30 w80 h20 vWX, %WX%
  4807. Gui,Overlay: Add, UpDown, x243 y30 w80 h20 Range0-1000, %WX%
  4808. Gui,Overlay: Add, Edit, x232 y60 w80 h20 vWY, %WY%
  4809. Gui,Overlay: Add, UpDown, x243 y60 w80 h20 Range0-1000, %WY%
  4810. Gui,Overlay: Add, Edit, x232 y90 w80 h20 vWSize, %WSize%
  4811. Gui,Overlay: Add, UpDown, x243 y30 w80 h20 Range0-1000, %WSize%
  4812. Gui,Overlay: Add, Edit, x232 y180 w80 h20 vPX, %PX%
  4813. Gui,Overlay: Add, UpDown,x243 y180 w80 h20 Range0-1000, %PX%
  4814. Gui,Overlay: Add, Edit, x232 y210 w80 h20 vPY, %PY%
  4815. Gui,Overlay: Add, UpDown,x243 y210 w80 h20 Range0-1000, %PY%
  4816. Gui,Overlay: Add, Edit, x232 y240 w80 h20 vPSize, %PSize%
  4817. Gui,Overlay: Add, UpDown,x243 y240 w80 h20 Range0-1000, %PSize%
  4818. Gui,Overlay: Add, Edit, x22 y180 w80 h20 vVX, %VX%
  4819. Gui,Overlay: Add, UpDown,x33 y180 w80 h20 Range0-1000, %VX%
  4820. Gui,Overlay: Add, Edit, x22 y210 w80 h20 vVY, %VY%
  4821. Gui,Overlay: Add, UpDown,x33 y210 w80 h20 Range0-1000, %VY%
  4822. Gui,Overlay: Add, Edit, x22 y240 w80 h20 vVSize, %VSize%
  4823. Gui,Overlay: Add, UpDown,x33 y240 w80 h20 Range0-1000, %VSize%
  4824. Gui,Overlay: Add, Edit, x442 y30 w80 h20 vGX, %WX%
  4825. Gui,Overlay: Add, UpDown, x453 y30 w80 h20 Range0-1000, %GX%
  4826. Gui,Overlay: Add, Edit, x442 y60 w80 h20 vGY, %WY%
  4827. Gui,Overlay: Add, UpDown, x453 y60 w80 h20 Range0-1000, %GY%
  4828. Gui,Overlay: Add, Edit, x442 y90 w80 h20 vGSize, %GSize%
  4829. Gui,Overlay: Add, UpDown, x453 y30 w80 h20 Range0-1000, %GSize%
  4830. Gui,Overlay: Add, Edit, x442 y180 w80 h20 vDX, %DX%
  4831. Gui,Overlay: Add, UpDown,x453 y180 w80 h20 Range0-1000, %DX%
  4832. Gui,Overlay: Add, Edit, x442 y210 w80 h20 vDY, %DY%
  4833. Gui,Overlay: Add, UpDown,x453 y210 w80 h20 Range0-1000, %DY%
  4834. Gui,Overlay: Add, Edit, x442 y240 w80 h20 vDSize, %DSize%
  4835. Gui,Overlay: Add, UpDown,x453 y240 w80 h20 Range0-1000, %DSize%
  4836. Gui,Overlay: Add, Text, x112 y30 w70 h20 +BackgroundTrans, X
  4837. Gui,Overlay: Add, Text, x112 y60 w70 h20 +BackgroundTrans, Y
  4838. Gui,Overlay: Add, Text, x112 y90 w70 h20 +BackgroundTrans, Size
  4839. Gui,Overlay: Add, Text, x322 y30 w70 h20 +BackgroundTrans, X
  4840. Gui,Overlay: Add, Text, x322 y180 w70 h20 +BackgroundTrans, X
  4841. Gui,Overlay: Add, Text, x322 y210 w70 h20 +BackgroundTrans, Y
  4842. Gui,Overlay: Add, Text, x322 y240 w70 h20 +BackgroundTrans, Size
  4843. Gui,Overlay: Add, Text, x112 y180 w70 h20 +BackgroundTrans, X
  4844. Gui,Overlay: Add, Text, x112 y210 w70 h20 +BackgroundTrans, Y
  4845. Gui,Overlay: Add, Text, x112 y240 w70 h20 +BackgroundTrans, Size
  4846. Gui,Overlay: Add, Text, x322 y60 w70 h20 +BackgroundTrans, Y
  4847. Gui,Overlay: Add, Text, x322 y90 w70 h20 +BackgroundTrans, Size
  4848. Gui,Overlay: Add, Text, x532 y30 w70 h20 +BackgroundTrans, X
  4849. Gui,Overlay: Add, Text, x532 y60 w70 h20 +BackgroundTrans, Y
  4850. Gui,Overlay: Add, Text, x532 y90 w70 h20 +BackgroundTrans, Size
  4851. Gui,Overlay: Add, Text, x532 y210 w70 h20 +BackgroundTrans, Y
  4852. Gui,Overlay: Add, Text, x532 y180 w70 h20 +BackgroundTrans, X
  4853. Gui,Overlay: Add, Text, x532 y240 w70 h20 +BackgroundTrans, Size
  4854. Gui,Overlay: Add, Text, x22 y320 w240 h40 +BackgroundTrans, /ovhelp = Overlay-Hilfe
  4855. Gui,Overlay: Add, Text, x22 y340 w240 h40 +BackgroundTrans cred, waLker: Während dem Movemodus darf keine Pfeiltaste belegt sein!
  4856. Gui,Overlay: Show, w634 h384, Overlay-Options
  4857. return
  4858. OverlayGuiClose:
  4859. Gui,Overlay: Destroy
  4860. return
  4861. OverlaySave:
  4862. StreamTrayTip("TaKe-Binder","Overlay-Settings gespeichert.",2)
  4863. Gui,Overlay: Submit,nohide
  4864. Iniwrite, %HPC%, TaKe-Binder.ini,Settings, HPC
  4865. Iniwrite, %VC%, TaKe-Binder.ini,Settings, VC
  4866. Iniwrite, %PC%, TaKe-Binder.ini,Settings, PC
  4867. Iniwrite, %WC%, TaKe-Binder.ini,Settings, WC
  4868. Iniwrite, %GC%, TaKe-Binder.ini,Settings, GC
  4869. Iniwrite, %DC%, TaKe-Binder.ini,Settings, DC
  4870. Iniwrite, %HPX%, TaKe-Binder.ini,Settings, HPX
  4871. Iniwrite, %HPY%, TaKe-Binder.ini,Settings, HPY
  4872. Iniwrite, %HPSize%, TaKe-Binder.ini,Settings, HPSize
  4873. Iniwrite, %WX%, TaKe-Binder.ini,Settings, WX
  4874. Iniwrite, %WY%, TaKe-Binder.ini,Settings, WY
  4875. Iniwrite, %WSize%, TaKe-Binder.ini,Settings, WSize
  4876. Iniwrite, %GX%, TaKe-Binder.ini,Settings, GX
  4877. Iniwrite, %GY%, TaKe-Binder.ini,Settings, GY
  4878. Iniwrite, %GSize%, TaKe-Binder.ini,Settings, GSize
  4879. Iniwrite, %DX%, TaKe-Binder.ini,Settings, DX
  4880. Iniwrite, %DY%, TaKe-Binder.ini,Settings, DY
  4881. Iniwrite, %DSize%, TaKe-Binder.ini,Settings, DSize
  4882. Iniwrite, %PX%, TaKe-Binder.ini,Settings, PX
  4883. Iniwrite, %PY%, TaKe-Binder.ini,Settings, PY
  4884. Iniwrite, %PSize%, TaKe-Binder.ini,Settings, PSize
  4885. Iniwrite, %VX%, TaKe-Binder.ini,Settings, VX
  4886. Iniwrite, %VY%, TaKe-Binder.ini,Settings, VY
  4887. Iniwrite, %VSize%, TaKe-Binder.ini,Settings, VSize
  4888. IniWrite, %HPF%, TaKe-Binder.ini,Settings,HPF
  4889. IniWrite, %VCF%, TaKe-Binder.ini,Settings,VCF
  4890. IniWrite, %WCF%, TaKe-Binder.ini,Settings,WCF
  4891. IniWrite, %GCF%, TaKe-Binder.ini,Settings,GCF
  4892. IniWrite, %PCF%, TaKe-Binder.ini,Settings,PCF
  4893. IniWrite, %DCF%, TaKe-Binder.ini,Settings,DCF
  4894. return
  4895. OverlayLoad:
  4896. Iniread, HPX, TaKe-Binder.ini,Settings, HPX
  4897. Iniread, HPY, TaKe-Binder.ini,Settings, HPY
  4898. Iniread, HPSize, TaKe-Binder.ini,Settings, HPSize
  4899. Iniread, DX, TaKe-Binder.ini,Settings, DX
  4900. Iniread, DY, TaKe-Binder.ini,Settings, DY
  4901. Iniread, DSize, TaKe-Binder.ini,Settings, DSize
  4902. Iniread, VX, TaKe-Binder.ini,Settings, VX
  4903. Iniread, VY, TaKe-Binder.ini,Settings, VY
  4904. Iniread, VSize, TaKe-Binder.ini,Settings, VSize
  4905. Iniread, PX, TaKe-Binder.ini,Settings, PX
  4906. Iniread, PY, TaKe-Binder.ini,Settings, PY
  4907. Iniread, PSize, TaKe-Binder.ini,Settings, PSize
  4908. Iniread, WX, TaKe-Binder.ini,Settings, WX
  4909. Iniread, WY, TaKe-Binder.ini,Settings, WY
  4910. Iniread, WSize, TaKe-Binder.ini,Settings, WSize
  4911. Iniread, GX, TaKe-Binder.ini,Settings, GX
  4912. Iniread, GY, TaKe-Binder.ini,Settings, GY
  4913. Iniread, GSize, TaKe-Binder.ini,Settings, GSize
  4914. Iniread, HPC, TaKe-Binder.ini,Settings, HPC
  4915. Iniread, WC, TaKe-Binder.ini,Settings, WC
  4916. Iniread, PC, TaKe-Binder.ini,Settings, PC
  4917. Iniread, VC, TaKe-Binder.ini,Settings, VC
  4918. Iniread, GC, TaKe-Binder.ini,Settings, GC
  4919. Iniread, DC, TaKe-Binder.ini,Settings, DC
  4920. Iniread, Wanteds, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  4921. Iniread, Grund, TaKe-Binder.ini,Wanteds, Wanted-Grund
  4922. Iniread, Zeuge, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  4923. IniRead, HPF, TaKe-Binder.ini, Settings, HPF
  4924. IniRead, VCF, TaKe-Binder.ini, Settings, VCF
  4925. IniRead, WCF, TaKe-Binder.ini, Settings, WCF
  4926. IniRead, PCF, TaKe-Binder.ini, Settings, PCF
  4927. IniRead, GCF, TaKe-Binder.ini, Settings, GCF
  4928. IniRead, DCF, TaKe-Binder.ini, Settings, DCF
  4929. return
  4930. btnkeybinds:
  4931. Gui,Keybinds: Destroy
  4932. gosub, KeybindsLoad
  4933. IfNotEqual,HKEnterExit,
  4934. StringReplace, HKEnterExit, HKEnterExit,~
  4935. IfNotEqual,HKEngine,
  4936. StringReplace, HKEngine, HKEngine,~
  4937. IfNotEqual,HKLock,
  4938. StringReplace, HKLock, HKLock,~
  4939. IfNotEqual,HKLights,
  4940. StringReplace, HKLights, HKLights,~
  4941. IfNotEqual,HKCarlock,
  4942. StringReplace, HKCarlock, HKCarlock,~
  4943. IfNotEqual,HKEngineLock,
  4944. StringReplace, HKEngineLock, HKEngineLock,~
  4945. IfNotEqual,HKTime,
  4946. StringReplace, HKTime, HKTime,~
  4947. IfNotEqual,HKMembers,
  4948. StringReplace, HKMembers, HKMembers,~
  4949. IfNotEqual,HKFriends,
  4950. StringReplace, HKFriends, HKFriends,~
  4951. IfNotEqual,HKNotafk,
  4952. StringReplace, HKNotafk, HKNotafk,~
  4953. IfNotEqual,HKWarinfo,
  4954. StringReplace, HKWarinfo, HKWarinfo,~
  4955. IfNotEqual,HKKnap1,
  4956. StringReplace, HKKnap1, HKKnap1,~
  4957. IfNotEqual,HKKnap2,
  4958. StringReplace, HKKnap2, HKKnap2,~
  4959. IfNotEqual,HKTie,
  4960. StringReplace, HKTie, HKTie,~
  4961. IfNotEqual,HKUntie,
  4962. StringReplace, HKUntie, HKUntie,~
  4963. IfNotEqual,HKSex,
  4964. StringReplace, HKSex, HKSex,~
  4965. IfNotEqual,HKFastfood,
  4966. StringReplace, HKFastfood, HKFastfood,~
  4967. IfNotEqual,HKRepeat,
  4968. StringReplace, HKRepeat, HKRepeat,~
  4969. IfNotEqual,HKFPS20,
  4970. StringReplace, HKFPS20, HKFPS20,~
  4971. IfNotEqual,HKFPS90,
  4972. StringReplace, HKFPS90, HKFPS90,~
  4973. IfNotEqual,HKSuspend,
  4974. StringReplace, HKSuspend, HKSuspend,~
  4975. IfNotEqual,HKHPDL,
  4976. StringReplace, HKHPDL, HKHPDL,~
  4977. IfNotEqual,HKBK,
  4978. StringReplace, HKBK, HKBK,~
  4979. IfNotEqual,HKCTF,
  4980. StringReplace, HKCTF, HKCTF,~
  4981. IfNotEqual,HKGiveUp,
  4982. StringReplace, HKGiveUp, HKGiveUp,~
  4983. IfNotEqual,HKFPos,
  4984. StringReplace, HKFPos, HKFPos,~
  4985. IfNotEqual,HKGebietInfo,
  4986. StringReplace, HKGebietInfo, HKGebietInfo,~
  4987. IfNotEqual,HKFWanted,
  4988. StringReplace, HKFWanted, HKFWanted,~
  4989. IfNotEqual,HKFill,
  4990. StringReplace, HKFill, HKFill,~
  4991. IfNotEqual,HKFillCar,
  4992. StringReplace, HKFillCar, HKFillCar,~
  4993. IfNotEqual,HKCargo,
  4994. StringReplace, HKCargo, HKCargo,~
  4995. IfNotEqual,HKOpenCargo,
  4996. StringReplace, HKOpenCargo, HKOpenCargo,~
  4997. IfNotEqual,HKATMDifferenz,
  4998. StringReplace, HKATMDifferenz, HKATMDifferenz,~
  4999. IfNotEqual,HKWP1,
  5000. StringReplace, HKWP1, HKWP1,~
  5001. IfNotEqual,HKWP2,
  5002. StringReplace, HKWP2, HKWP2,~
  5003. IfNotEqual,HKKillSpruch,
  5004. StringReplace, HKKillSpruch, HKKillSpruch,~
  5005. IfNotEqual,HKKillPlus,
  5006. StringReplace, HKKillPlus, HKKillPlus,~
  5007. IfNotEqual,HKOwn1,
  5008. StringReplace, HKOwn1, HKOwn1,~
  5009. IfNotEqual,HKOwn2,
  5010. StringReplace, HKOwn2, HKOwn2,~
  5011. IfNotEqual,HKOwn3,
  5012. StringReplace, HKOwn3, HKOwn3,~
  5013. IfNotEqual,HKOwn4,
  5014. StringReplace, HKOwn4, HKOwn4,~
  5015. IfNotEqual,HKOwn5,
  5016. StringReplace, HKOwn5, HKOwn5,~
  5017. IfNotEqual,HKOwn6,
  5018. StringReplace, HKOwn6, HKOwn6,~
  5019. IfNotEqual,HKOwn7,
  5020. StringReplace, HKOwn7, HKOwn7,~
  5021. IfNotEqual,HKOwn8,
  5022. StringReplace, HKOwn8, HKOwn8,~
  5023. IfNotEqual,HKOwn9,
  5024. StringReplace, HKOwn9, HKOwn9,~
  5025. IfNotEqual,HKOwn10,
  5026. StringReplace, HKOwn10, HKOwn10,~
  5027. IfNotEqual,HKOwn11,
  5028. StringReplace, HKOwn11, HKOwn11,~
  5029. IfNotEqual,HKOwn12,
  5030. StringReplace, HKOwn12, HKOwn12,~
  5031. Gui,Keybinds: Font,s11,Comic Sans
  5032. Gui,Keybinds: Add, Button, x12 y530 w170 h20 gKeybindsSave, Speichern
  5033. Gui,Keybinds: Add, Tab, x12 y10 w600 h520 , Tasten|Textbinds|Textbinds 2|Waffen|Kills|Eigene Binds|Werbungen
  5034. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w567, %A_WorkingDir%\back03.png
  5035. Gui,Keybinds: Add, Hotkey, vHKEnterExit x22 y40 w90 h20 , %HKEnterExit%
  5036. Gui,Keybinds: Add, Hotkey, vHKEngine x22 y70 w90 h20 , %HKEngine%
  5037. Gui,Keybinds: Add, Hotkey, vHKLock x22 y100 w90 h20 , %HKLock%
  5038. Gui,Keybinds: Add, Hotkey, vHKLights x22 y130 w90 h20 , %HKLights%
  5039. Gui,Keybinds: Add, Hotkey, vHKCarlock x22 y160 w90 h20 , %HKCarlock%
  5040. Gui,Keybinds: Add, Hotkey, vHKEngineLock x22 y190 w90 h20 , %HKEngineLock%
  5041. Gui,Keybinds: Add, Hotkey, vHKTime x22 y220 w90 h20 , %HKTime%
  5042. Gui,Keybinds: Add, Hotkey, vHKMembers x22 y250 w90 h20 , %HKMembers%
  5043. Gui,Keybinds: Add, Hotkey, vHKFriends x22 y280 w90 h20 , %HKFriends%
  5044. Gui,Keybinds: Add, Hotkey, vHKNotafk x22 y310 w90 h20 , %HKNotafk%
  5045. Gui,Keybinds: Add, Hotkey, vHKWarinfo x22 y340 w90 h20 , %HKWarinfo%
  5046. Gui,Keybinds: Add, Hotkey, vHKKnap1 x22 y370 w90 h20 , %HKKnap1%
  5047. Gui,Keybinds: Add, Hotkey, vHKKnap2 x22 y400 w90 h20 , %HKKnap2%
  5048. Gui,Keybinds: Add, Hotkey, vHKTie x22 y430 w90 h20 , %HKTie%
  5049. Gui,Keybinds: Add, Hotkey, vHKUntie x22 y460 w90 h20 , %HKUntie%
  5050. Gui,Keybinds: Add, Hotkey, vHKSex x22 y490 w90 h20 , %HKSex%
  5051. Gui,Keybinds: Add, Text, x122 y40 w110 h20 , /enter + /exit
  5052. Gui,Keybinds: Add, Text, x122 y70 w110 h20 , /engine
  5053. Gui,Keybinds: Add, Text, x122 y100 w110 h20 , /lock
  5054. Gui,Keybinds: Add, Text, x122 y130 w110 h20 , /lights
  5055. Gui,Keybinds: Add, Text, x122 y160 w110 h20 , /carlock
  5056. Gui,Keybinds: Add, Text, x122 y190 w110 h20 , /engine + /lock
  5057. Gui,Keybinds: Add, Text, x122 y220 w110 h20 , /time
  5058. Gui,Keybinds: Add, Text, x122 y250 w110 h20 , /members
  5059. Gui,Keybinds: Add, Text, x122 y280 w110 h20 , /friends
  5060. Gui,Keybinds: Add, Text, x122 y310 w110 h20 , /notafk
  5061. Gui,Keybinds: Add, Text, x122 y340 w110 h20 , Motorstart vormerken
  5062. Gui,Keybinds: Add, Text, x122 y370 w110 h20 , /kidnap _ _ 0
  5063. Gui,Keybinds: Add, Text, x122 y400 w110 h20 , /kidnap _ _ 1
  5064. Gui,Keybinds: Add, Text, x122 y430 w110 h20 , /tie _
  5065. Gui,Keybinds: Add, Text, x122 y460 w110 h20 , /untie _
  5066. Gui,Keybinds: Add, Text, x122 y490 w110 h20 , /sex _ 1
  5067. Gui,Keybinds: Add, Hotkey, vHKFastfood x262 y40 w90 h20 , %HKFastfood%
  5068. Gui,Keybinds: Add, Hotkey, vHKRepeat x262 y70 w90 h20 , %HKRepeat%
  5069. Gui,Keybinds: Add, Hotkey, vHKFPS20 x262 y100 w90 h20 , %HKFPS20%
  5070. Gui,Keybinds: Add, Hotkey, vHKFPS90 x262 y130 w90 h20 , %HKFPS90%
  5071. Gui,Keybinds: Add, Hotkey, vHKSuspend x262 y160 w90 h20 , %HKSuspend%
  5072. Gui,Keybinds: Add, Hotkey, vHKHPDL x262 y190 w90 h20 , %HKHPDL%
  5073. Gui,Keybinds: Add, Hotkey, vHKBK x262 y220 w90 h20 , %HKBK%
  5074. Gui,Keybinds: Add, Hotkey, vHKCTF x262 y250 w90 h20 , %HKCTF%
  5075. Gui,Keybinds: Add, Hotkey, vHKGiveUp x262 y280 w90 h20 , %HKGiveUp%
  5076. Gui,Keybinds: Add, Hotkey, vHKFPos x262 y310 w90 h20 , %HKFPos%
  5077. Gui,Keybinds: Add, Hotkey, vHKGebietInfo x262 y340 w90 h20 , %HKGebietInfo%
  5078. Gui,Keybinds: Add, Hotkey, vHKFWanted x262 y370 w90 h20 , %HKFWanted%
  5079. Gui,Keybinds: Add, Hotkey, vHKFill x262 y400 w90 h20 , %HKFill%
  5080. Gui,Keybinds: Add, Hotkey, vHKFillCar x262 y430 w90 h20 , %HKFillCar%
  5081. Gui,Keybinds: Add, Hotkey, vHKCargo x262 y460 w90 h20 , %HKCargo%
  5082. Gui,Keybinds: Add, Hotkey, vHKOpenCargo x262 y490 w90 h20 , %HKOpenCargo%
  5083. Gui,Keybinds: Add, Text, x362 y40 w110 h20 , /fastfood _ 1
  5084. Gui,Keybinds: Add, Text, x362 y70 w120 h20 , Letzte Eingabe wdh.
  5085. Gui,Keybinds: Add, Text, x362 y100 w110 h20 , /fpslimit 20
  5086. Gui,Keybinds: Add, Text, x362 y130 w110 h20 , /fpslimit 90
  5087. Gui,Keybinds: Add, Text, x362 y160 w140 h20 , Keybinder Pausieren
  5088. Gui,Keybinds: Add, Text, x362 y190 w110 h20 , HP/DL im Chat
  5089. Gui,Keybinds: Add, Text, x362 y220 w110 h20 , Backup
  5090. Gui,Keybinds: Add, Text, x362 y250 w110 h20 , Finanzausgabe
  5091. Gui,Keybinds: Add, Text, x362 y280 w110 h20 , /giveup
  5092. Gui,Keybinds: Add, Text, x362 y310 w110 h20 , /f Position
  5093. Gui,Keybinds: Add, Text, x362 y340 w110 h20 , /gebietinfo
  5094. Gui,Keybinds: Add, Text, x362 y370 w110 h20 , Wanteds anzeigen
  5095. Gui,Keybinds: Add, Text, x362 y400 w110 h20 , /fill + /getfuel
  5096. Gui,Keybinds: Add, Text, x362 y430 w110 h20 , /fillcar
  5097. Gui,Keybinds: Add, Text, x362 y460 w110 h20 , /cargo
  5098. Gui,Keybinds: Add, Text, x362 y490 w110 h20 , /opencargo
  5099. Gui,Keybinds: Tab, Textbinds
  5100. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5101. Gui,Keybinds: Add, Text, x22 y40 w100 h20 , /gk _
  5102. Gui,Keybinds: Add, Text, x22 y70 w100 h20 , /se
  5103. Gui,Keybinds: Add, Text, x22 y100 w100 h20 , /ff
  5104. Gui,Keybinds: Add, Text, x22 y130 w100 h20 , /as
  5105. Gui,Keybinds: Add, Text, x22 y160 w100 h20 , /ah
  5106. Gui,Keybinds: Add, Text, x22 y190 w100 h20 , /aheal
  5107. Gui,Keybinds: Add, Text, x22 y220 w100 h20 , /adrugs
  5108. Gui,Keybinds: Add, Text, x22 y250 w100 h20 , /arep
  5109. Gui,Keybinds: Add, Text, x22 y280 w100 h20 , /aref
  5110. Gui,Keybinds: Add, Text, x22 y310 w100 h20 , /ud
  5111. Gui,Keybinds: Add, Text, x22 y370 w100 h20 , /gi
  5112. Gui,Keybinds: Add, Text, x22 y400 w100 h20 , /wi
  5113. Gui,Keybinds: Add, Text, x22 y430 w100 h20 , /re
  5114. Gui,Keybinds: Add, Text, x22 y460 w100 h20 , /ein
  5115. Gui,Keybinds: Add, Text, x22 y490 w100 h20 , /aus
  5116. Gui,Keybinds: Add, Text, x132 y40 w100 h20 , Gebaeudekomplex
  5117. Gui,Keybinds: Add, Text, x132 y70 w100 h20 , /sex _ 1
  5118. Gui,Keybinds: Add, Text, x132 y100 w100 h20 , /fastfood _ 1
  5119. Gui,Keybinds: Add, Text, x132 y130 w100 h20 , /accept sex
  5120. Gui,Keybinds: Add, Text, x132 y160 w100 h20 , /accept hotdog
  5121. Gui,Keybinds: Add, Text, x132 y190 w100 h20 , /accept heal
  5122. Gui,Keybinds: Add, Text, x132 y220 w100 h20 , /accept drugs
  5123. Gui,Keybinds: Add, Text, x132 y250 w100 h20 , /accept repair
  5124. Gui,Keybinds: Add, Text, x132 y280 w100 h20 , /accept refill
  5125. Gui,Keybinds: Add, Text, x132 y310 w100 h20 , /usedrugs
  5126. Gui,Keybinds: Add, Text, x132 y340 w100 h20 , /backup
  5127. Gui,Keybinds: Add, Text, x132 y370 w100 h20 , /gebietinfo
  5128. Gui,Keybinds: Add, Text, x132 y400 w100 h20 , /warinfo
  5129. Gui,Keybinds: Add, Text, x132 y430 w140 h20 , SMS zurueckschr.
  5130. Gui,Keybinds: Add, Text, x132 y460 w100 h20 , ATM einzahlen
  5131. Gui,Keybinds: Add, Text, x132 y490 w100 h20 , ATM auszahlen
  5132. Gui,Keybinds: Add, Text, x22 y340 w100 h20 , /bk
  5133. Gui,Keybinds: Add, Text, x252 y40 w100 h20 , /rc
  5134. Gui,Keybinds: Add, Text, x252 y70 w100 h20 , /deagle
  5135. Gui,Keybinds: Add, Text, x252 y100 w100 h20 , /shot
  5136. Gui,Keybinds: Add, Text, x252 y130 w100 h20 , /mp5
  5137. Gui,Keybinds: Add, Text, x252 y160 w100 h20 , /m4
  5138. Gui,Keybinds: Add, Text, x252 y190 w100 h20 , /rifle
  5139. Gui,Keybinds: Add, Text, x252 y220 w100 h20 , /9mm
  5140. Gui,Keybinds: Add, Text, x252 y250 w100 h20 , /sniper
  5141. Gui,Keybinds: Add, Text, x252 y280 w100 h20 , /pa
  5142. Gui,Keybinds: Add, Text, x252 y310 w100 h20 , /op
  5143. Gui,Keybinds: Add, Text, x252 y340 w100 h20 , /mc
  5144. Gui,Keybinds: Add, Text, x252 y370 w100 h20 , /wh
  5145. Gui,Keybinds: Add, Text, x252 y400 w100 h20 , /kd
  5146. Gui,Keybinds: Add, Text, x252 y430 w100 h20 , /dkd
  5147. Gui,Keybinds: Add, Text, x252 y460 w100 h20 , /setdeaths
  5148. Gui,Keybinds: Add, Text, x252 y490 w100 h20 , /setddeaths
  5149. Gui,Keybinds: Add, Text, x362 y40 w100 h20 , /rentcar
  5150. Gui,Keybinds: Add, Text, x362 y70 w100 h20 , /buygun deagle _
  5151. Gui,Keybinds: Add, Text, x362 y100 w100 h20 , /buygun shotgun _
  5152. Gui,Keybinds: Add, Text, x362 y130 w100 h20 , /buygun mp5 _
  5153. Gui,Keybinds: Add, Text, x362 y160 w100 h20 , /buygun m4 _
  5154. Gui,Keybinds: Add, Text, x362 y190 w100 h20 , /buygun rifle _
  5155. Gui,Keybinds: Add, Text, x362 y220 w100 h20 , /buygun 9mm _
  5156. Gui,Keybinds: Add, Text, x362 y250 w100 h20 , /buygun sniper _
  5157. Gui,Keybinds: Add, Text, x362 y280 w120 h20 , Partner fuer Kidnap
  5158. Gui,Keybinds: Add, Text, x362 y310 w120 h20 , Opfer fuer Kidnap
  5159. Gui,Keybinds: Add, Text, x362 y340 w100 h20 , /service medic
  5160. Gui,Keybinds: Add, Text, x362 y370 w120 h20 , /service wheelman
  5161. Gui,Keybinds: Add, Text, x362 y400 w120 h20 , Kills / Deaths
  5162. Gui,Keybinds: Add, Text, x362 y430 w120 h20 , Tages Kills / Deaths
  5163. Gui,Keybinds: Add, Text, x362 y460 w120 h20 , Tode setzen
  5164. Gui,Keybinds: Add, Text, x362 y490 w120 h20 , Tages Tode setzen
  5165. Gui,Keybinds: Tab, Textbinds 2
  5166. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5167. Gui,Keybinds: Add, Text, x22 y40 w100 h20 , /setdrugs
  5168. Gui,Keybinds: Add, Text, x22 y70 w100 h20 , /setused
  5169. Gui,Keybinds: Add, Text, x22 y100 w100 h20 , /drugs
  5170. Gui,Keybinds: Add, Text, x22 y130 w100 h20 , /reset
  5171. Gui,Keybinds: Add, Text, x22 y160 w100 h20 , /d[2-26]
  5172. Gui,Keybinds: Add, Text, x22 y190 w100 h20 , /zinsen
  5173. Gui,Keybinds: Add, Text, x22 y220 w100 h20 , /kstand
  5174. Gui,Keybinds: Add, Text, x22 y250 w100 h20 , /fstand
  5175. Gui,Keybinds: Add, Text, x22 y280 w100 h20 , /gstand
  5176. Gui,Keybinds: Add, Text, x22 y310 w100 h20 , /cd
  5177. Gui,Keybinds: Add, Text, x22 y340 w100 h20 , /rechner
  5178. Gui,Keybinds: Add, Text, x22 y370 w100 h20 , /25k
  5179. Gui,Keybinds: Add, Text, x22 y400 w100 h20 , /50k
  5180. Gui,Keybinds: Add, Text, x22 y430 w100 h20 , /75k
  5181. Gui,Keybinds: Add, Text, x22 y460 w100 h20 , /99k
  5182. Gui,Keybinds: Add, Text, x22 y490 w100 h20 , /150k
  5183. Gui,Keybinds: Add, Text, x132 y40 w100 h20 , Drugs
  5184. Gui,Keybinds: Add, Text, x132 y70 w100 h20 , Used Drugs
  5185. Gui,Keybinds: Add, Text, x132 y100 w100 h20 , Drugsinfo
  5186. Gui,Keybinds: Add, Text, x132 y130 w100 h20 , reset Drugs
  5187. Gui,Keybinds: Add, Text, x132 y160 w100 h20 , /gtake drugs
  5188. Gui,Keybinds: Add, Text, x132 y190 w100 h20 , Zinsen
  5189. Gui,Keybinds: Add, Text, x132 y220 w100 h20 , Finances ff.
  5190. Gui,Keybinds: Add, Text, x132 y250 w100 h20 , Finances /f
  5191. Gui,Keybinds: Add, Text, x132 y280 w100 h20 , Finances /g
  5192. Gui,Keybinds: Add, Text, x132 y310 w100 h20 , Countdown
  5193. Gui,Keybinds: Add, Text, x132 y340 w100 h20 , Multi-Rechner
  5194. Gui,Keybinds: Add, Text, x132 y370 w100 h20 , /atm 25k
  5195. Gui,Keybinds: Add, Text, x132 y400 w100 h20 , /atm 50k
  5196. Gui,Keybinds: Add, Text, x132 y430 w140 h20 , /atm 75k
  5197. Gui,Keybinds: Add, Text, x132 y460 w100 h20 , /atm 99k
  5198. Gui,Keybinds: Add, Text, x132 y490 w100 h20 , /atm 150k
  5199. Gui,Keybinds: Add, Text, x252 y40 w100 h20 , /200k
  5200. Gui,Keybinds: Add, Text, x252 y70 w100 h20 , /300k
  5201. Gui,Keybinds: Add, Text, x252 y100 w100 h20 , /500k
  5202. Gui,Keybinds: Add, Text, x252 y130 w100 h20 , /999k
  5203. Gui,Keybinds: Add, Text, x252 y160 w100 h20 , /conquer
  5204. Gui,Keybinds: Add, Text, x252 y190 w100 h20 , /clearkill
  5205. Gui,Keybinds: Add, Text, x252 y220 w100 h20 , /cleardeath
  5206. Gui,Keybinds: Add, Text, x252 y250 w100 h20 , /idsms
  5207. Gui,Keybinds: Add, Text, x252 y280 w100 h20 , /reload
  5208. Gui,Keybinds: Add, Text, x252 y310 w100 h20 , /napinfo
  5209. Gui,Keybinds: Add, Text, x252 y340 w100 h20 , /killstreak
  5210. Gui,Keybinds: Add, Text, x252 y370 w100 h20 , /tp
  5211. Gui,Keybinds: Add, Text, x252 y400 w100 h20 , /sp
  5212. Gui,Keybinds: Add, Text, x252 y430 w100 h20 , /kills
  5213. Gui,Keybinds: Add, Text, x252 y460 w100 h20 , /deaths
  5214. Gui,Keybinds: Add, Text, x252 y490 w100 h20 , /ovhelp
  5215. Gui,Keybinds: Add, Text, x362 y40 w100 h20 , /atm 200k
  5216. Gui,Keybinds: Add, Text, x362 y70 w100 h20 , /atm 300k
  5217. Gui,Keybinds: Add, Text, x362 y100 w100 h20 , /atm 500k
  5218. Gui,Keybinds: Add, Text, x362 y130 w100 h20 , /atm 999k
  5219. Gui,Keybinds: Add, Text, x362 y160 w100 h20 , Conquerscript
  5220. Gui,Keybinds: Add, Text, x362 y190 w100 h20 , Kill clearen
  5221. Gui,Keybinds: Add, Text, x362 y220 w100 h20 , Tod clearen
  5222. Gui,Keybinds: Add, Text, x362 y250 w100 h20 , /number -> /sms
  5223. Gui,Keybinds: Add, Text, x362 y280 w120 h20 , Keybinder neustart
  5224. Gui,Keybinds: Add, Text, x362 y310 w120 h20 , Napinfo
  5225. Gui,Keybinds: Add, Text, x362 y340 w100 h20 , Killstreak
  5226. Gui,Keybinds: Add, Text, x362 y370 w100 h20 , /takepizza Spam
  5227. Gui,Keybinds: Add, Text, x362 y400 w120 h20 , /sellpizza 2x
  5228. Gui,Keybinds: Add, Text, x362 y430 w120 h20 , Kills - Tages Kills
  5229. Gui,Keybinds: Add, Text, x362 y460 w120 h20 , Tode - Tages Tode
  5230. Gui,Keybinds: Add, Text, x362 y490 w120 h20 , Overlay-Hilfe
  5231. Gui,Keybinds: Tab, Waffen
  5232. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5233. Gui,Keybinds: Add, Text, x32 y100 w140 h20 , /wp1 oder
  5234. Gui,Keybinds: Add, Hotkey, x182 y100 w60 h20 vHKWP1, %HKWP1%
  5235. Gui,Keybinds: Add, Text, x272 y50 w60 h20 , - Waffen -
  5236. Gui,Keybinds: Add, Text, x362 y50 w60 h20 , - Munition -
  5237. Gui,Keybinds: Add, Text, x432 y50 w60 h20 , - Aktiv ? -
  5238. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp11% x272 y100 w70 h100 vwp11, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5239. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp12% x272 y130 w70 h100 vwp12, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5240. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp13% x272 y160 w70 h100 vwp13, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5241. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp14% x272 y190 w70 h100 vwp14, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5242. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp15% x272 y220 w70 h100 vwp15, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5243. Gui,Keybinds: Add, Edit, x362 y100 w60 h20 vwpa11, %wpa11%
  5244. Gui,Keybinds: Add, Edit, x362 y130 w60 h20 vwpa12, %wpa12%
  5245. Gui,Keybinds: Add, Edit, x362 y160 w60 h20 vwpa13, %wpa13%
  5246. Gui,Keybinds: Add, Edit, x362 y190 w60 h20 vwpa14, %wpa14%
  5247. Gui,Keybinds: Add, Edit, x362 y220 w60 h20 vwpa15, %wpa15%
  5248. Gui,Keybinds: Add, CheckBox,-Checked%wpc11% x432 y100 w70 h20 vwpc11,
  5249. Gui,Keybinds: Add, CheckBox,-Checked%wpc12% x432 y130 w70 h20 vwpc12,
  5250. Gui,Keybinds: Add, CheckBox,-Checked%wpc13% x432 y160 w70 h20 vwpc13,
  5251. Gui,Keybinds: Add, CheckBox,-Checked%wpc14% x432 y190 w70 h20 vwpc14,
  5252. Gui,Keybinds: Add, CheckBox,-Checked%wpc15% x432 y220 w70 h20 vwpc15,
  5253. Gui,Keybinds: Add, Text, x32 y290 w140 h20 , /wp2 oder
  5254. Gui,Keybinds: Add, Hotkey, x182 y290 w60 h20 vHKWP2, %HKWP2%
  5255. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp21% x272 y290 w70 h100 vwp21, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5256. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp22% x272 y320 w70 h100 vwp22, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5257. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp23% x272 y350 w70 h100 vwp23, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5258. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp24% x272 y380 w70 h100 vwp24, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5259. Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp25% x272 y410 w70 h100 vwp25, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  5260. Gui,Keybinds: Add, Edit, x362 y290 w60 h20 vwpa21, %wpa21%
  5261. Gui,Keybinds: Add, Edit, x362 y320 w60 h20 vwpa22, %wpa22%
  5262. Gui,Keybinds: Add, Edit, x362 y350 w60 h20 vwpa23, %wpa23%
  5263. Gui,Keybinds: Add, Edit, x362 y380 w60 h20 vwpa24, %wpa24%
  5264. Gui,Keybinds: Add, Edit, x362 y410 w60 h20 vwpa25, %wpa25%
  5265. Gui,Keybinds: Add, CheckBox,-Checked%wpc21% x432 y290 w70 h20 vwpc21,
  5266. Gui,Keybinds: Add, CheckBox,-Checked%wpc22% x432 y320 w70 h20 vwpc22,
  5267. Gui,Keybinds: Add, CheckBox,-Checked%wpc23% x432 y350 w70 h20 vwpc23,
  5268. Gui,Keybinds: Add, CheckBox,-Checked%wpc24% x432 y380 w70 h20 vwpc24,
  5269. Gui,Keybinds: Add, CheckBox,-Checked%wpc25% x432 y410 w70 h20 vwpc25,
  5270. Gui,Keybinds: Add, Button, x22 y490 w200 h20 gOwnWeaponsGui, Einzelne Waffen belegen
  5271. Gui,Keybinds: Tab, Kills
  5272. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5273. Gui,Keybinds: Add, Hotkey,vHKKillSpruch x32 y90 w70 h20 , %HKKillSpruch%
  5274. Gui,Keybinds: Add, Text, x32 y50 w70 h20 , - Taste -
  5275. Gui,Keybinds: Add, Text, x132 y50 w160 h20 , - Zufallsspruch -
  5276. Gui,Keybinds: Add, Edit,vSpruch1 x132 y90 w330 h20 , %Spruch1%
  5277. Gui,Keybinds: Add, Edit,vSpruch2 x132 y120 w330 h20 , %Spruch2%
  5278. Gui,Keybinds: Add, Edit,vSpruch3 x132 y150 w330 h20 , %Spruch3%
  5279. Gui,Keybinds: Add, Edit,vSpruch4 x132 y180 w330 h20 , %Spruch4%
  5280. Gui,Keybinds: Add, Edit,vSpruch5 x132 y210 w330 h20 , %Spruch5%
  5281. Gui,Keybinds: Add, CheckBox,-Checked%KC1% vKC1 x472 y90 w40 h20 ,
  5282. Gui,Keybinds: Add, CheckBox,-Checked%KC2% vKC2 x472 y120 w40 h20 ,
  5283. Gui,Keybinds: Add, CheckBox,-Checked%KC3% vKC3 x472 y150 w40 h20 ,
  5284. Gui,Keybinds: Add, CheckBox,-Checked%KC4% vKC4 x472 y180 w40 h20 ,
  5285. Gui,Keybinds: Add, CheckBox,-Checked%KC5% vKC5 x472 y210 w40 h20 ,
  5286. Gui,Keybinds: Add, Text, x22 y280 w180 h20 , "/setkills" um Kills zu setzen
  5287. Gui,Keybinds: Add, Hotkey,vHKKillPlus x22 y340 w90 h20 , %HKKillPlus%
  5288. Gui,Keybinds: Add, Edit,vFSpruch x122 y340 w380 h20 , %FSpruch%
  5289. Gui,Keybinds: Add, Text, x22 y310 w90 h20 , Taste
  5290. Gui,Keybinds: Add, Text, x122 y310 w400 h20 , Gangwarkill Spruch. | waLker: Anzahl der Kills wird auto. angehaengt
  5291. Gui,Keybinds: Add, Text, x22 y380 w90 h20 , Aktiviert?
  5292. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv1% +BackgroundTrans vChatKillspruchAktiv1 x30 y403 w13 h13,
  5293. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv2% +BackgroundTrans vChatKillspruchAktiv2 x30 y433 w13 h13,
  5294. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv3% +BackgroundTrans vChatKillspruchAktiv3 x30 y463 w13 h13,
  5295. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv4% +BackgroundTrans vChatKillspruchAktiv4 x30 y493 w13 h13,
  5296. Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchmain% +BackgroundTrans vChatKillspruchmain x80 y382 w13 h13,
  5297. Gui,Keybinds: Add, Text, x122 y380 w400 h20 , Killspruch der im Chat kommen soll
  5298. Gui,Keybinds: Add, Edit,vChatKillSpruch1 x122 y400 w380 h20 , %ChatKillSpruch1%
  5299. Gui,Keybinds: Add, Edit,vChatKillSpruch2 x122 y430 w380 h20 , %ChatKillSpruch2%
  5300. Gui,Keybinds: Add, Edit,vChatKillSpruch3 x122 y460 w380 h20 , %ChatKillSpruch3%
  5301. Gui,Keybinds: Add, Edit,vChatKillSpruch4 x122 y490 w380 h20 , %ChatKillSpruch4%
  5302. Gui,Keybinds: Tab, Eigene Binds
  5303. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5304. Gui,Keybinds: Add, Text, x32 y40 w100 h20 , - Taste -
  5305. Gui,Keybinds: Add, Text, x162 y40 w120 h20 , - Eigener Bind -
  5306. Gui,Keybinds: Add, Edit, x162 y80 w350 h20 vOwn1, %Own1%
  5307. Gui,Keybinds: Add, Edit, x162 y110 w350 h20 vOwn2, %Own2%
  5308. Gui,Keybinds: Add, Edit, x162 y140 w350 h20 vOwn3, %Own3%
  5309. Gui,Keybinds: Add, Edit, x162 y170 w350 h20 vOwn4, %Own4%
  5310. Gui,Keybinds: Add, Edit, x162 y200 w350 h20 vOwn5, %Own5%
  5311. Gui,Keybinds: Add, Edit, x162 y230 w350 h20 vOwn6, %Own6%
  5312. Gui,Keybinds: Add, Edit, x162 y260 w350 h20 vOwn7, %Own7%
  5313. Gui,Keybinds: Add, Edit, x162 y290 w350 h20 vOwn8, %Own8%
  5314. Gui,Keybinds: Add, Edit, x162 y320 w350 h20 vOwn9, %Own9%
  5315. Gui,Keybinds: Add, Edit, x162 y350 w350 h20 vOwn10, %Own10%
  5316. Gui,Keybinds: Add, Edit, x162 y380 w350 h20 vOwn11, %Own11%
  5317. Gui,Keybinds: Add, Edit, x162 y410 w350 h20 vOwn12, %Own12%
  5318. Gui,Keybinds: Add, Hotkey, x32 y80 w110 h20 vHKOwn1, %HKOwn1%
  5319. Gui,Keybinds: Add, Hotkey, x32 y110 w110 h20 vHKOwn2, %HKOwn2%
  5320. Gui,Keybinds: Add, Hotkey, x32 y140 w110 h20 vHKOwn3, %HKOwn3%
  5321. Gui,Keybinds: Add, Hotkey, x32 y170 w110 h20 vHKOwn4, %HKOwn4%
  5322. Gui,Keybinds: Add, Hotkey, x32 y200 w110 h20 vHKOwn5, %HKOwn5%
  5323. Gui,Keybinds: Add, Hotkey, x32 y230 w110 h20 vHKOwn6, %HKOwn6%
  5324. Gui,Keybinds: Add, Hotkey, x32 y260 w110 h20 vHKOwn7, %HKOwn7%
  5325. Gui,Keybinds: Add, Hotkey, x32 y290 w110 h20 vHKOwn8, %HKOwn8%
  5326. Gui,Keybinds: Add, Hotkey, x32 y320 w110 h20 vHKOwn9, %HKOwn9%
  5327. Gui,Keybinds: Add, Hotkey, x32 y350 w110 h20 vHKOwn10, %HKOwn10%
  5328. Gui,Keybinds: Add, Hotkey, x32 y380 w110 h20 vHKOwn11, %HKOwn11%
  5329. Gui,Keybinds: Add, Hotkey, x32 y410 w110 h20 vHKOwn12, %HKOwn12%
  5330. Gui,Keybinds: Add, Text, x25 y435 w700 h20 , INFO: Du kannst eigene Variabeln einbauen einfach <Variable> in ein Feld schreiben
  5331. Gui,Keybinds: Add, Text, x25 y455 w200 h70 , <HP> => HP`n<FPS> => frames per second`n<ID> => ID`n<Ping> => Ping
  5332. Gui,Keybinds: Add, Text, x215 y455 w205 h70 , <Zone> => Standort`n<Stadt> => Stadt`n<DL> => Fahrzeughealth`n<Carname> => Fahrzeugname
  5333. Gui,Keybinds: Add, Text, x395 y455 w200 h70 , <Username> => Nutzername`n<Wanteds> => Wanteds`n<Drogen> => Drugs
  5334. Gui,Keybinds: Tab, Werbungen
  5335. Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
  5336. Gui,Keybinds: Add, Text, x32 y80 w100 h20 , /ad1
  5337. Gui,Keybinds: Add, Text, x32 y170 w100 h20 , /ad2
  5338. Gui,Keybinds: Add, Text, x32 y260 w100 h20 , /ad3
  5339. Gui,Keybinds: Add, Text, x32 y350 w100 h20 , /ad4
  5340. Gui,Keybinds: Add, Text, x32 y450 w350 h20 , /adinfo Wiedergibt Ingame die belegten /ad[1-4]
  5341. Gui,Keybinds: Add, Edit, x142 y80 w340 h40 vAD1 , %AD1%
  5342. Gui,Keybinds: Add, Edit, x142 y170 w340 h40 vAD2 , %AD2%
  5343. Gui,Keybinds: Add, Edit, x142 y260 w340 h40 vAD3 , %AD3%
  5344. Gui,Keybinds: Add, Edit, x142 y350 w340 h40 vAD4 , %AD4%
  5345. Gui,Keybinds: Show, x354 y188 h556 w567, Keybinds
  5346. IfNotEqual,HKEnterExit,
  5347. HKEnterExit:= "~" HKEnterExit
  5348. IfNotEqual,HKEngine,
  5349. HKEngine:= "~" HKEngine
  5350. IfNotEqual,HKLock,
  5351. HKLock:= "~" HKLock
  5352. IfNotEqual,HKLights,
  5353. HKLights:= "~" HKLights
  5354. IfNotEqual,HKCarlock,
  5355. HKCarlock:= "~" HKCarlock
  5356. IfNotEqual,HKEngineLock,
  5357. HKEngineLock:= "~" HKEngineLock
  5358. IfNotEqual,HKTime,
  5359. HKTime:= "~" HKTime
  5360. IfNotEqual,HKMembers,
  5361. HKMembers:= "~" HKMembers
  5362. IfNotEqual,HKFriends,
  5363. HKFriends:= "~" HKFriends
  5364. IfNotEqual,HKNotafk,
  5365. HKNotafk:= "~" HKNotafk
  5366. IfNotEqual,HKWarinfo,
  5367. HKWarinfo:= "~" HKWarinfo
  5368. IfNotEqual,HKKnap1,
  5369. HKKnap1:= "~" HKKnap1
  5370. IfNotEqual,HKKnap2,
  5371. HKKnap2:= "~" HKKnap2
  5372. IfNotEqual,HKTie,
  5373. HKTie:= "~" HKTie
  5374. IfNotEqual,HKUntie,
  5375. HKUntie:= "~" HKUntie
  5376. IfNotEqual,HKSex,
  5377. HKSex:= "~" HKSex
  5378. IfNotEqual,HKFastfood,
  5379. HKFastfood:= "~" HKFastfood
  5380. IfNotEqual,HKRepeat,
  5381. HKRepeat:= "~" HKRepeat
  5382. IfNotEqual,HKFPS20,
  5383. HKFPS20:= "~" HKFPS20
  5384. IfNotEqual,HKFPS90,
  5385. HKFPS90:= "~" HKFPS90
  5386. IfNotEqual,HKSuspend,
  5387. HKSuspend:= "~" HKSuspend
  5388. IfNotEqual,HKHPDL,
  5389. HKHPDL:= "~" HKHPDL
  5390. IfNotEqual,HKBK,
  5391. HKBK:= "~" HKBK
  5392. IfNotEqual,HKCTF,
  5393. HKCTF:= "~" HKCTF
  5394. IfNotEqual,HKGiveUp,
  5395. HKGiveUp:= "~" HKGiveUp
  5396. IfNotEqual,HKFPos,
  5397. HKFPos:= "~" HKFPos
  5398. IfNotEqual,HKGebietInfo,
  5399. HKGebietinfo:= "~" HKGebietInfo
  5400. IfNotEqual,HKFWanted,
  5401. HKFWanted:= "~" HKFWanted
  5402. IfNotEqual,HKFill,
  5403. HKFill:= "~" HKFill
  5404. IfNotEqual,HKFillCar,
  5405. HKFillCar:= "~" HKFillCar
  5406. IfNotEqual,HKCargo,
  5407. HKCargo:= "~" HKCargo
  5408. IfNotEqual,HKOpenCargo,
  5409. HKOpenCargo:= "~" HKOpenCargo
  5410. IfNotEqual,HKATMDifferenz,
  5411. HKATMDifferenz:= "~" HKATMDifferenz
  5412. IfNotEqual,HKWP1,
  5413. HKWP1:= "~" HKWP1
  5414. IfNotEqual,HKWP2,
  5415. HKWP2:= "~" HKWP2
  5416. IfNotEqual,HKKillSpruch,
  5417. HKKillSpruch:= "~" HKKillSpruch
  5418. IfNotEqual,HKKillPlus,
  5419. HKKillPlus:= "~" HKKillPlus
  5420. IfNotEqual,HKOwn1,
  5421. HKOwn1:= "~" HKOwn1
  5422. IfNotEqual,HKOwn2,
  5423. HKOwn2:= "~" HKOwn2
  5424. IfNotEqual,HKOwn3,
  5425. HKOwn3:= "~" HKOwn3
  5426. IfNotEqual,HKOwn4,
  5427. HKOwn4:= "~" HKOwn4
  5428. IfNotEqual,HKOwn5,
  5429. HKOwn5:= "~" HKOwn5
  5430. IfNotEqual,HKOwn6,
  5431. HKOwn6:= "~" HKOwn6
  5432. IfNotEqual,HKOwn7,
  5433. HKOwn7:= "~" HKOwn7
  5434. IfNotEqual,HKOwn8,
  5435. HKOwn8:= "~" HKOwn8
  5436. IfNotEqual,HKOwn9,
  5437. HKOwn9:= "~" HKOwn9
  5438. IfNotEqual,HKOwn10,
  5439. HKOwn10:= "~" HKOwn10
  5440. IfNotEqual,HKOwn11,
  5441. HKOwn11:= "~" HKOwn11
  5442. IfNotEqual,HKOwn12,
  5443. HKOwn12:= "~" HKOwn12
  5444. return
  5445. KeybindsGuiClose:
  5446. Gui,Keybinds: Destroy
  5447. return
  5448. KeybindsLoad:
  5449. IfNotEqual,HKEnterExit,
  5450. Hotkey, %HKEnterExit%, lHKEnterExit, Off
  5451. IfNotEqual,HKEngine,
  5452. Hotkey, %HKEngine%, lHKEngine, Off
  5453. IfNotEqual,HKLock,
  5454. Hotkey, %HKLock%, lHKLock, Off
  5455. IfNotEqual,HKLights,
  5456. Hotkey, %HKLights%, lHKLights, Off
  5457. IfNotEqual,HKCarlock,
  5458. Hotkey, %HKCarlock%, lHKCarlock, Off
  5459. IfNotEqual,HKEngineLock,
  5460. Hotkey, %HKEngineLock%, lHKEngineLock, Off
  5461. IfNotEqual,HKTime,
  5462. Hotkey, %HKTime%, lHKTime, Off
  5463. IfNotEqual,HKMembers,
  5464. Hotkey, %HKMembers%, lHKMembers, Off
  5465. IfNotEqual,HKFriends,
  5466. Hotkey, %HKFriends%, lHKFriends, Off
  5467. IfNotEqual,HKNotafk,
  5468. Hotkey, %HKNotafk%, lHKNotafk, Off
  5469. IfNotEqual,HKWarinfo,
  5470. Hotkey, %HKWarinfo%, lHKWarinfo, Off
  5471. IfNotEqual,HKKnap1,
  5472. Hotkey, %HKKnap1%, lHKKnap1, Off
  5473. IfNotEqual,HKKnap2,
  5474. Hotkey, %HKKnap2%, lHKKnap2, Off
  5475. IfNotEqual,HKTie,
  5476. Hotkey, %HKTie%, lHKTie, Off
  5477. IfNotEqual,HKUntie,
  5478. Hotkey, %HKUntie%, lHKUntie, Off
  5479. IfNotEqual,HKSex,
  5480. Hotkey, %HKSex%, lHKSex, Off
  5481. IfNotEqual,HKFastfood,
  5482. Hotkey, %HKFastfood%, lHKFastfood, Off
  5483. IfNotEqual,HKRepeat,
  5484. Hotkey, %HKRepeat%, lHKRepeat, Off
  5485. IfNotEqual,HKFPS20,
  5486. Hotkey, %HKFPS20%, lHKFPS20, Off
  5487. IfNotEqual,HKFPS90,
  5488. Hotkey, %HKFPS90%, lHKFPS90, Off
  5489. IfNotEqual,HKSuspend,
  5490. Hotkey, %HKSuspend%, lHKSuspend, Off
  5491. IfNotEqual,HKHPDL,
  5492. Hotkey, %HKHPDL%, lHKHPDL, Off
  5493. IfNotEqual,HKBK,
  5494. Hotkey, %HKBK%, lHKBK, Off
  5495. IfNotEqual,HKCTF,
  5496. Hotkey, %HKCTF%, lHKCTF, Off
  5497. IfNotEqual,HKGiveUp,
  5498. Hotkey, %HKGiveUp%, lHKGiveUp, Off
  5499. IfNotEqual,HKFPos,
  5500. Hotkey, %HKFPos%, lHKFPos, Off
  5501. IfNotEqual,HKGebietInfo,
  5502. Hotkey, %HKGebietInfo%, lHKGebietInfo, Off
  5503. IfNotEqual,HKFWanted,
  5504. Hotkey, %HKFWanted%, lHKFWanted, Off
  5505. IfNotEqual,HKFill,
  5506. Hotkey, %HKFill%, lHKFill, Off
  5507. IfNotEqual,HKFillCar,
  5508. Hotkey, %HKFillCar%, lHKFillCar, Off
  5509. IfNotEqual,HKCargo,
  5510. Hotkey, %HKCargo%, lHKCargo, Off
  5511. IfNotEqual,HKOpenCargo,
  5512. Hotkey, %HKOpenCargo%, lHKOpenCargo, Off
  5513. IfNotEqual,HKATMDifferenz,
  5514. Hotkey, %HKATMDifferenz%, lHKATMDifferenz, Off
  5515. IfNotEqual,HKWP1,
  5516. Hotkey, %HKWP1%, lHKWP1, Off
  5517. IfNotEqual,HKWP2,
  5518. Hotkey, %HKWP2%, lHKWP2, Off
  5519. IfNotEqual,HKKillSpruch,
  5520. Hotkey, %HKKillSpruch%, lHKKillSpruch, Off
  5521. IfNotEqual,HKKillPlus,
  5522. Hotkey, %HKKillPlus%, lHKKillPlus, Off
  5523. IfNotEqual,HKOwn1,
  5524. Hotkey, %HKOwn1%, lHKOwn1, Off
  5525. IfNotEqual,HKOwn2,
  5526. Hotkey, %HKOwn2%, lHKOwn2, Off
  5527. IfNotEqual,HKOwn3,
  5528. Hotkey, %HKOwn3%, lHKOwn3, Off
  5529. IfNotEqual,HKOwn4,
  5530. Hotkey, %HKOwn4%, lHKOwn4, Off
  5531. IfNotEqual,HKOwn5,
  5532. Hotkey, %HKOwn5%, lHKOwn5, Off
  5533. IfNotEqual,HKOwn6,
  5534. Hotkey, %HKOwn6%, lHKOwn6, Off
  5535. IfNotEqual,HKOwn7,
  5536. Hotkey, %HKOwn7%, lHKOwn7, Off
  5537. IfNotEqual,HKOwn8,
  5538. Hotkey, %HKOwn8%, lHKOwn8, Off
  5539. IfNotEqual,HKOwn9,
  5540. Hotkey, %HKOwn9%, lHKOwn9, Off
  5541. IfNotEqual,HKOwn10,
  5542. Hotkey, %HKOwn10%, lHKOwn10, Off
  5543. IfNotEqual,HKOwn11,
  5544. Hotkey, %HKOwn11%, lHKOwn11, Off
  5545. IfNotEqual,HKOwn12,
  5546. Hotkey, %HKOwn12%, lHKOwn12, Off
  5547. Iniread, HKEnterExit, TaKe-Binder.ini,Wanteds, HKEnterExit
  5548. Iniread, HKEngine, TaKe-Binder.ini,Wanteds, HKEngine
  5549. Iniread, HKLock ,TaKe-Binder.ini,Wanteds, HKLock
  5550. Iniread, HKLights, TaKe-Binder.ini,Wanteds, HKLights
  5551. Iniread, HKCarlock, TaKe-Binder.ini,Wanteds, HKCarlock
  5552. Iniread, HKEngineLock, TaKe-Binder.ini,Wanteds, HKEngineLock
  5553. Iniread, HKTime, TaKe-Binder.ini,Wanteds, HKTime
  5554. Iniread, HKMembers, TaKe-Binder.ini,Wanteds, HKMembers
  5555. Iniread, HKFriends, TaKe-Binder.ini,Wanteds, HKFriends
  5556. Iniread, HKNotafk, TaKe-Binder.ini,Wanteds, HKNotafk
  5557. Iniread, HKWarinfo, TaKe-Binder.ini,Wanteds, HKWarinfo
  5558. Iniread, HKKnap1, TaKe-Binder.ini,Wanteds, HKKnap1
  5559. Iniread, HKKnap2, TaKe-Binder.ini,Wanteds, HKKnap2
  5560. Iniread, HKTie, TaKe-Binder.ini,Wanteds, HKTie
  5561. Iniread, HKUntie, TaKe-Binder.ini,Wanteds, HKUntie
  5562. Iniread, HKSex, TaKe-Binder.ini,Wanteds, HKSex
  5563. Iniread, HKFastfood, TaKe-Binder.ini,Wanteds, HKFastfood
  5564. Iniread, HKRepeat, TaKe-Binder.ini,Wanteds, HKRepeat
  5565. Iniread, HKFPS20, TaKe-Binder.ini,Wanteds, HKFPS20
  5566. Iniread, HKFPS90, TaKe-Binder.ini,Wanteds, HKFPS90
  5567. Iniread, HKSuspend, TaKe-Binder.ini,Wanteds, HKSuspend
  5568. Iniread, HKHPDL, TaKe-Binder.ini,Wanteds, HKHPDL
  5569. Iniread, HKBK, TaKe-Binder.ini,Wanteds, HKBK
  5570. Iniread, HKCTF, TaKe-Binder.ini,Wanteds, HKCTF
  5571. Iniread, HKFPos, TaKe-Binder.ini,Wanteds, HKFPos
  5572. Iniread, HKGebietInfo, TaKe-Binder.ini,Wanteds, HKGebietInfo
  5573. Iniread, HKFWanted, TaKe-Binder.ini,Wanteds, HKFWanted
  5574. Iniread, HKFill, TaKe-Binder.ini,Wanteds, HKFill
  5575. Iniread, HKFillCar, TaKe-Binder.ini,Wanteds, HKFillCar
  5576. Iniread, HKCargo, TaKe-Binder.ini,Wanteds, HKCargo
  5577. Iniread, HKOpenCargo, TaKe-Binder.ini,Wanteds, HKOpenCargo
  5578. Iniread, HKATMDifferenz, TaKe-Binder.ini,Wanteds, HKATMDifferenz
  5579. Iniread, HKWP1, TaKe-Binder.ini,Wanteds, HKWP1
  5580. Iniread, HKWP2, TaKe-Binder.ini,Wanteds, HKWP2
  5581. Iniread, wpa11, TaKe-Binder.ini,Wanteds, wpa11
  5582. Iniread, wpa12, TaKe-Binder.ini,Wanteds, wpa12
  5583. Iniread, wpa13, TaKe-Binder.ini,Wanteds, wpa13
  5584. Iniread, wpa14, TaKe-Binder.ini,Wanteds, wpa14
  5585. Iniread, wpa15, TaKe-Binder.ini,Wanteds, wpa15
  5586. Iniread, wpa21, TaKe-Binder.ini,Wanteds, wpa21
  5587. Iniread, wpa22, TaKe-Binder.ini,Wanteds, wpa22
  5588. Iniread, wpa23, TaKe-Binder.ini,Wanteds, wpa23
  5589. Iniread, wpa24, TaKe-Binder.ini,Wanteds, wpa24
  5590. Iniread, wpa25, TaKe-Binder.ini,Wanteds, wpa25
  5591. Iniread, wpc11, TaKe-Binder.ini,Wanteds, wpc11
  5592. Iniread, wpc12, TaKe-Binder.ini,Wanteds, wpc12
  5593. Iniread, wpc13, TaKe-Binder.ini,Wanteds, wpc13
  5594. Iniread, wpc14, TaKe-Binder.ini,Wanteds, wpc14
  5595. Iniread, wpc15, TaKe-Binder.ini,Wanteds, wpc15
  5596. Iniread, wpc21, TaKe-Binder.ini,Wanteds, wpc21
  5597. Iniread, wpc22, TaKe-Binder.ini,Wanteds, wpc22
  5598. Iniread, wpc23, TaKe-Binder.ini,Wanteds, wpc23
  5599. Iniread, wpc24, TaKe-Binder.ini,Wanteds, wpc24
  5600. Iniread, wpc25, TaKe-Binder.ini,Wanteds, wpc25
  5601. Iniread, wp11, TaKe-Binder.ini,Wanteds, wp11
  5602. Iniread, wp12, TaKe-Binder.ini,Wanteds, wp12
  5603. Iniread, wp13, TaKe-Binder.ini,Wanteds, wp13
  5604. Iniread, wp14, TaKe-Binder.ini,Wanteds, wp14
  5605. Iniread, wp15, TaKe-Binder.ini,Wanteds, wp15
  5606. Iniread, wp21, TaKe-Binder.ini,Wanteds, wp21
  5607. Iniread, wp22, TaKe-Binder.ini,Wanteds, wp22
  5608. Iniread, wp23, TaKe-Binder.ini,Wanteds, wp23
  5609. Iniread, wp24, TaKe-Binder.ini,Wanteds, wp24
  5610. Iniread, wp25, TaKe-Binder.ini,Wanteds, wp25
  5611. Iniread, HKKillPlus, TaKe-Binder.ini,Wanteds, HKKillPlus
  5612. Iniread, HKKillSpruch, TaKe-Binder.ini,Wanteds, HKKillSpruch
  5613. Iniread, Spruch1, TaKe-Binder.ini,Wanteds, Spruch1
  5614. Iniread, Spruch2, TaKe-Binder.ini,Wanteds, Spruch2
  5615. Iniread, Spruch3, TaKe-Binder.ini,Wanteds, Spruch3
  5616. Iniread, Spruch4, TaKe-Binder.ini,Wanteds, Spruch4
  5617. Iniread, Spruch5, TaKe-Binder.ini,Wanteds, Spruch5
  5618. Iniread, FSpruch, TaKe-Binder.ini,Wanteds, FSpruch
  5619. Iniread, ChatKillspruchmain, TaKe-Binder.ini,Wanteds, ChatKillspruchmain, 0
  5620. Iniread, ChatKillspruchaktiv1, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv1, 0
  5621. Iniread, ChatKillspruchaktiv2, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv2, 0
  5622. Iniread, ChatKillspruchaktiv3, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv3, 0
  5623. Iniread, ChatKillspruchaktiv4, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv4, 0
  5624. Iniread, ChatKillSpruch1, TaKe-Binder.ini,Wanteds, ChatKillSpruch1, Eintragen!
  5625. Iniread, ChatKillSpruch2, TaKe-Binder.ini,Wanteds, ChatKillSpruch2, Eintragen!
  5626. Iniread, ChatKillSpruch3, TaKe-Binder.ini,Wanteds, ChatKillSpruch3, Eintragen!
  5627. Iniread, ChatKillSpruch4, TaKe-Binder.ini,Wanteds, ChatKillSpruch4, Eintragen!
  5628. Iniread, KC1, TaKe-Binder.ini,Wanteds, KC1
  5629. Iniread, KC2, TaKe-Binder.ini,Wanteds, KC2
  5630. Iniread, KC3, TaKe-Binder.ini,Wanteds, KC3
  5631. Iniread, KC4, TaKe-Binder.ini,Wanteds, KC4
  5632. Iniread, KC5, TaKe-Binder.ini,Wanteds, KC5
  5633. Iniread, Own1, TaKe-Binder.ini,Wanteds, Own1
  5634. Iniread, Own2, TaKe-Binder.ini,Wanteds, Own2
  5635. Iniread, Own3, TaKe-Binder.ini,Wanteds, Own3
  5636. Iniread, Own4, TaKe-Binder.ini,Wanteds, Own4
  5637. Iniread, Own5, TaKe-Binder.ini,Wanteds, Own5
  5638. Iniread, Own6, TaKe-Binder.ini,Wanteds, Own6
  5639. Iniread, Own7, TaKe-Binder.ini,Wanteds, Own7
  5640. Iniread, Own8, TaKe-Binder.ini,Wanteds, Own8
  5641. Iniread, Own9, TaKe-Binder.ini,Wanteds, Own9
  5642. Iniread, Own10, TaKe-Binder.ini,Wanteds, Own10
  5643. Iniread, Own11, TaKe-Binder.ini,Wanteds, Own11
  5644. Iniread, Own12, TaKe-Binder.ini,Wanteds, Own12
  5645. Iniread, HKOwn1, TaKe-Binder.ini,Wanteds, HKOwn1
  5646. Iniread, HKOwn2, TaKe-Binder.ini,Wanteds, HKOwn2
  5647. Iniread, HKOwn3, TaKe-Binder.ini,Wanteds, HKOwn3
  5648. Iniread, HKOwn4, TaKe-Binder.ini,Wanteds, HKOwn4
  5649. Iniread, HKOwn5, TaKe-Binder.ini,Wanteds, HKOwn5
  5650. Iniread, HKOwn6, TaKe-Binder.ini,Wanteds, HKOwn6
  5651. Iniread, HKOwn7, TaKe-Binder.ini,Wanteds, HKOwn7
  5652. Iniread, HKOwn8, TaKe-Binder.ini,Wanteds, HKOwn8
  5653. Iniread, HKOwn9, TaKe-Binder.ini,Wanteds, HKOwn9
  5654. Iniread, HKOwn10, TaKe-Binder.ini,Wanteds, HKOwn10
  5655. Iniread, HKOwn11, TaKe-Binder.ini,Wanteds, HKOwn11
  5656. Iniread, HKOwn12, TaKe-Binder.ini,Wanteds, HKOwn12
  5657. Iniread, AD1, TaKe-Binder.ini,Wanteds, AD1
  5658. Iniread, AD2, TaKe-Binder.ini,Wanteds, AD2
  5659. Iniread, AD3, TaKe-Binder.ini,Wanteds, AD3
  5660. Iniread, AD4, TaKe-Binder.ini,Wanteds, AD4
  5661. Iniread, wunschgeld, TaKe-Binder.ini,Wanteds, wunschgeld
  5662. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  5663. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  5664. IniRead,Drogenlimit, TaKe-Binder.ini,Drogen, Drogenlimit
  5665. IniRead, homespawn,Take-binder.ini, Optionen, Homespawn
  5666. iniread, base1, Take-binder.ini, Optionen, base1
  5667. iniread, MonatTode, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  5668. iniread, MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  5669. IniRead,Used, TaKe-Binder.ini,Drogensystem, Used
  5670. IfNotEqual,HKEnterExit,
  5671. HKEnterExit:= "~" HKEnterExit
  5672. IfNotEqual,HKEngine,
  5673. HKEngine:= "~" HKEngine
  5674. IfNotEqual,HKLock,
  5675. HKLock:= "~" HKLock
  5676. IfNotEqual,HKLights,
  5677. HKLights:= "~" HKLights
  5678. IfNotEqual,HKCarlock,
  5679. HKCarlock:= "~" HKCarlock
  5680. IfNotEqual,HKEngineLock,
  5681. HKEngineLock:= "~" HKEngineLock
  5682. IfNotEqual,HKTime,
  5683. HKTime:= "~" HKTime
  5684. IfNotEqual,HKMembers,
  5685. HKMembers:= "~" HKMembers
  5686. IfNotEqual,HKFriends,
  5687. HKFriends:= "~" HKFriends
  5688. IfNotEqual,HKNotafk,
  5689. HKNotafk:= "~" HKNotafk
  5690. IfNotEqual,HKWarinfo,
  5691. HKWarinfo:= "~" HKWarinfo
  5692. IfNotEqual,HKKnap1,
  5693. HKKnap1:= "~" HKKnap1
  5694. IfNotEqual,HKKnap2,
  5695. HKKnap2:= "~" HKKnap2
  5696. IfNotEqual,HKTie,
  5697. HKTie:= "~" HKTie
  5698. IfNotEqual,HKUntie,
  5699. HKUntie:= "~" HKUntie
  5700. IfNotEqual,HKSex,
  5701. HKSex:= "~" HKSex
  5702. IfNotEqual,HKFastfood,
  5703. HKFastfood:= "~" HKFastfood
  5704. IfNotEqual,HKRepeat,
  5705. HKRepeat:= "~" HKRepeat
  5706. IfNotEqual,HKFPS20,
  5707. HKFPS20:= "~" HKFPS20
  5708. IfNotEqual,HKFPS90,
  5709. HKFPS90:= "~" HKFPS90
  5710. IfNotEqual,HKSuspend,
  5711. HKSuspend:= "~" HKSuspend
  5712. IfNotEqual,HKHPDL,
  5713. HKHPDL:= "~" HKHPDL
  5714. IfNotEqual,HKBK,
  5715. HKBK:= "~" HKBK
  5716. IfNotEqual,HKCTF,
  5717. HKCTF:= "~" HKCTF
  5718. IfNotEqual,HKGiveUp,
  5719. HKGiveUp:= "~" HKGiveUp
  5720. IfNotEqual,HKFPos,
  5721. HKFPos:= "~" HKFPos
  5722. IfNotEqual,HKGebietInfo,
  5723. HKGebietinfo:= "~" HKGebietInfo
  5724. IfNotEqual,HKFWanted,
  5725. HKFWanted:= "~" HKFWanted
  5726. IfNotEqual,HKFill,
  5727. HKFill:= "~" HKFill
  5728. IfNotEqual,HKFillCar,
  5729. HKFillCar:= "~" HKFillCar
  5730. IfNotEqual,HKCargo,
  5731. HKCargo:= "~" HKCargo
  5732. IfNotEqual,HKOpenCargo,
  5733. HKOpenCargo:= "~" HKOpenCargo
  5734. IfNotEqual,HKATMDifferenz,
  5735. HKATMDifferenz:= "~" HKATMDifferenz
  5736. IfNotEqual,HKWP1,
  5737. HKWP1:= "~" HKWP1
  5738. IfNotEqual,HKWP2,
  5739. HKWP2:= "~" HKWP2
  5740. IfNotEqual,HKKillSpruch,
  5741. HKKillSpruch:= "~" HKKillSpruch
  5742. IfNotEqual,HKKillPlus,
  5743. HKKillPlus:= "~" HKKillPlus,
  5744. IfNotEqual,HKOwn1,
  5745. HKOwn1:= "~" HKOwn1
  5746. IfNotEqual,HKOwn2,
  5747. HKOwn2:= "~" HKOwn2
  5748. IfNotEqual,HKOwn3,
  5749. HKOwn3:= "~" HKOwn3
  5750. IfNotEqual,HKOwn4,
  5751. HKOwn4:= "~" HKOwn4
  5752. IfNotEqual,HKOwn5,
  5753. HKOwn5:= "~" HKOwn5
  5754. IfNotEqual,HKOwn6,
  5755. HKOwn6:= "~" HKOwn6
  5756. IfNotEqual,HKOwn7,
  5757. HKOwn7:= "~" HKOwn7
  5758. IfNotEqual,HKOwn8,
  5759. HKOwn8:= "~" HKOwn8
  5760. IfNotEqual,HKOwn9,
  5761. HKOwn9:= "~" HKOwn9
  5762. IfNotEqual,HKOwn10,
  5763. HKOwn10:= "~" HKOwn10
  5764. IfNotEqual,HKOwn11,
  5765. HKOwn11:= "~" HKOwn11
  5766. IfNotEqual,HKOwn12,
  5767. HKOwn12:= "~" HKOwn12
  5768. IfNotEqual,HKEnterExit,
  5769. Hotkey, %HKEnterExit%, lHKEnterExit, On
  5770. IfNotEqual,HKEngine,
  5771. Hotkey, %HKEngine%, lHKEngine, On
  5772. IfNotEqual,HKLock,
  5773. Hotkey, %HKLock%, lHKLock, On
  5774. IfNotEqual,HKLights,
  5775. Hotkey, %HKLights%, lHKLights, On
  5776. IfNotEqual,HKCarlock,
  5777. Hotkey, %HKCarlock%, lHKCarlock, On
  5778. IfNotEqual,HKEngineLock,
  5779. Hotkey, %HKEngineLock%, lHKEngineLock, On
  5780. IfNotEqual,HKTime,
  5781. Hotkey, %HKTime%, lHKTime, On
  5782. IfNotEqual,HKMembers,
  5783. Hotkey, %HKMembers%, lHKMembers, On
  5784. IfNotEqual,HKFriends,
  5785. Hotkey, %HKFriends%, lHKFriends, On
  5786. IfNotEqual,HKNotafk,
  5787. Hotkey, %HKNotafk%, lHKNotafk, On
  5788. IfNotEqual,HKWarinfo,
  5789. Hotkey, %HKWarinfo%, lHKWarinfo, On
  5790. IfNotEqual,HKKnap1,
  5791. Hotkey, %HKKnap1%, lHKKnap1, On
  5792. IfNotEqual,HKKnap2,
  5793. Hotkey, %HKKnap2%, lHKKnap2, On
  5794. IfNotEqual,HKTie,
  5795. Hotkey, %HKTie%, lHKTie, On
  5796. IfNotEqual,HKUntie,
  5797. Hotkey, %HKUntie%, lHKUntie, On
  5798. IfNotEqual,HKSex,
  5799. Hotkey, %HKSex%, lHKSex, On
  5800. IfNotEqual,HKFastfood,
  5801. Hotkey, %HKFastfood%, lHKFastfood, On
  5802. IfNotEqual,HKRepeat,
  5803. Hotkey, %HKRepeat%, lHKRepeat, On
  5804. IfNotEqual,HKFPS20,
  5805. Hotkey, %HKFPS20%, lHKFPS20, On
  5806. IfNotEqual,HKFPS90,
  5807. Hotkey, %HKFPS90%, lHKFPS90, On
  5808. IfNotEqual,HKSuspend,
  5809. Hotkey, %HKSuspend%, lHKSuspend, On
  5810. IfNotEqual,HKHPDL,
  5811. Hotkey, %HKHPDL%, lHKHPDL, On
  5812. IfNotEqual,HKBK,
  5813. Hotkey, %HKBK%, lHKBK, On
  5814. IfNotEqual,HKCTF,
  5815. Hotkey, %HKCTF%, lHKCTF, On
  5816. IfNotEqual,HKGiveUp,
  5817. Hotkey, %HKGiveUp%, lHKGiveUp, On
  5818. IfNotEqual,HKFPos,
  5819. Hotkey, %HKFPos%, lHKFPos, On
  5820. IfNotEqual,HKGebietInfo,
  5821. Hotkey, %HKGebietInfo%, lHKGebietInfo, On
  5822. IfNotEqual,HKFWanted,
  5823. Hotkey, %HKFWanted%, lHKFWanted, On
  5824. IfNotEqual,HKFill,
  5825. Hotkey, %HKFill%, lHKFill, On
  5826. IfNotEqual,HKFillCar,
  5827. Hotkey, %HKFillCar%, lHKFillCar, On
  5828. IfNotEqual,HKCargo,
  5829. Hotkey, %HKCargo%, lHKCargo, On
  5830. IfNotEqual,HKOpenCargo,
  5831. Hotkey, %HKOpenCargo%, lHKOpenCargo, On
  5832. IfNotEqual,HKATMDiffernz,
  5833. Hotkey, %HKATMDifferenz%, lHKATMDifferenz, On
  5834. IfNotEqual,HKWP1,
  5835. Hotkey, %HKWP1%, lHKWP1, On
  5836. IfNotEqual,HKWP2,
  5837. Hotkey, %HKWP2%, lHKWP2, On
  5838. IfNotEqual,HKKillSpruch,
  5839. Hotkey, %HKKillSpruch%, lHKKillSpruch, On
  5840. IfNotEqual,HKKillPlus,
  5841. Hotkey, %HKKillPlus%, lHKKillPlus, On
  5842. IfNotEqual,HKOwn1,
  5843. Hotkey, %HKOwn1%, lHKOwn1, On
  5844. IfNotEqual,HKOwn2,
  5845. Hotkey, %HKOwn2%, lHKOwn2, On
  5846. IfNotEqual,HKOwn3,
  5847. Hotkey, %HKOwn3%, lHKOwn3, On
  5848. IfNotEqual,HKOwn4,
  5849. Hotkey, %HKOwn4%, lHKOwn4, On
  5850. IfNotEqual,HKOwn5,
  5851. Hotkey, %HKOwn5%, lHKOwn5, On
  5852. IfNotEqual,HKOwn6,
  5853. Hotkey, %HKOwn6%, lHKOwn6, On
  5854. IfNotEqual,HKOwn7,
  5855. Hotkey, %HKOwn7%, lHKOwn7, On
  5856. IfNotEqual,HKOwn8,
  5857. Hotkey, %HKOwn8%, lHKOwn8, On
  5858. IfNotEqual,HKOwn9,
  5859. Hotkey, %HKOwn9%, lHKOwn9, On
  5860. IfNotEqual,HKOwn10,
  5861. Hotkey, %HKOwn10%, lHKOwn10, On
  5862. IfNotEqual,HKOwn11,
  5863. Hotkey, %HKOwn11%, lHKOwn11, On
  5864. IfNotEqual,HKOwn12,
  5865. Hotkey, %HKOwn12%, lHKOwn12, On
  5866. return
  5867. KeybindsSave:
  5868. IfNotEqual,HKEnterExit,
  5869. Hotkey, %HKEnterExit%, lHKEnterExit, Off
  5870. IfNotEqual,HKEngine,
  5871. Hotkey, %HKEngine%, lHKEngine, Off
  5872. IfNotEqual,HKLock,
  5873. Hotkey, %HKLock%, lHKLock, Off
  5874. IfNotEqual,HKLights,
  5875. Hotkey, %HKLights%, lHKLights, Off
  5876. IfNotEqual,HKCarlock,
  5877. Hotkey, %HKCarlock%, lHKCarlock, Off
  5878. IfNotEqual,HKEngineLock,
  5879. Hotkey, %HKEngineLock%, lHKEngineLock, Off
  5880. IfNotEqual,HKTime,
  5881. Hotkey, %HKTime%, lHKTime, Off
  5882. IfNotEqual,HKMembers,
  5883. Hotkey, %HKMembers%, lHKMembers, Off
  5884. IfNotEqual,HKFriends,
  5885. Hotkey, %HKFriends%, lHKFriends, Off
  5886. IfNotEqual,HKNotafk,
  5887. Hotkey, %HKNotafk%, lHKNotafk, Off
  5888. IfNotEqual,HKWarinfo,
  5889. Hotkey, %HKWarinfo%, lHKWarinfo, Off
  5890. IfNotEqual,HKKnap1,
  5891. Hotkey, %HKKnap1%, lHKKnap1, Off
  5892. IfNotEqual,HKKnap2,
  5893. Hotkey, %HKKnap2%, lHKKnap2, Off
  5894. IfNotEqual,HKTie,
  5895. Hotkey, %HKTie%, lHKTie, Off
  5896. IfNotEqual,HKUntie,
  5897. Hotkey, %HKUntie%, lHKUntie, Off
  5898. IfNotEqual,HKSex,
  5899. Hotkey, %HKSex%, lHKSex, Off
  5900. IfNotEqual,HKFastfood,
  5901. Hotkey, %HKFastfood%, lHKFastfood, Off
  5902. IfNotEqual,HKRepeat,
  5903. Hotkey, %HKRepeat%, lHKRepeat, Off
  5904. IfNotEqual,HKFPS20,
  5905. Hotkey, %HKFPS20%, lHKFPS20, Off
  5906. IfNotEqual,HKFPS90,
  5907. Hotkey, %HKFPS90%, lHKFPS90, Off
  5908. IfNotEqual,HKSuspend,
  5909. Hotkey, %HKSuspend%, lHKSuspend, Off
  5910. IfNotEqual,HKHPDL,
  5911. Hotkey, %HKHPDL%, lHKHPDL, Off
  5912. IfNotEqual,HKBK,
  5913. Hotkey, %HKBK%, lHKBK, Off
  5914. IfNotEqual,HKCTF,
  5915. Hotkey, %HKCTF%, lHKCTF, Off
  5916. IfNotEqual,HKGiveUp,
  5917. Hotkey, %HKGiveUp%, lHKGiveUp, Off
  5918. IfNotEqual,HKFPos,
  5919. Hotkey, %HKFPos%, lHKFPos, Off
  5920. IfNotEqual,HKGebietInfo,
  5921. Hotkey, %HKGebietInfo%, lHKGebietInfo, Off
  5922. IfNotEqual,HKFWanted,
  5923. Hotkey, %HKFWanted%, lHKFWanted, Off
  5924. IfNotEqual,HKFill,
  5925. Hotkey, %HKFill%, lHKFill, Off
  5926. IfNotEqual,HKFillCar,
  5927. Hotkey, %HKFillCar%, lHKFillCar, Off
  5928. IfNotEqual,HKCargo,
  5929. Hotkey, %HKCargo%, lHKCargo, Off
  5930. IfNotEqual,HKOpenCargo,
  5931. Hotkey, %HKOpenCargo%, lHKOpenCargo, Off
  5932. IfNotEqual,HKATMDifferenz,
  5933. Hotkey, %HKATMDifferenz%, lHKATMDifferenz, Off
  5934. IfNotEqual,HKWP1,
  5935. Hotkey, %HKWP1%, lHKWP1, Off
  5936. IfNotEqual,HKWP2,
  5937. Hotkey, %HKWP2%, lHKWP2, Off
  5938. IfNotEqual,HKKillSpruch,
  5939. Hotkey, %HKKillSpruch%, lHKKillSpruch, Off
  5940. IfNotEqual,HKKillPlus,
  5941. Hotkey, %HKKillPlus%, lHKKillPlus, Off
  5942. IfNotEqual,HKOwn1,
  5943. Hotkey, %HKOwn1%, lHKOwn1, Off
  5944. IfNotEqual,HKOwn2,
  5945. Hotkey, %HKOwn2%, lHKOwn2, Off
  5946. IfNotEqual,HKOwn3,
  5947. Hotkey, %HKOwn3%, lHKOwn3, Off
  5948. IfNotEqual,HKOwn4,
  5949. Hotkey, %HKOwn4%, lHKOwn4, Off
  5950. IfNotEqual,HKOwn5,
  5951. Hotkey, %HKOwn5%, lHKOwn5, Off
  5952. IfNotEqual,HKOwn6,
  5953. Hotkey, %HKOwn6%, lHKOwn6, Off
  5954. IfNotEqual,HKOwn7,
  5955. Hotkey, %HKOwn7%, lHKOwn7, Off
  5956. IfNotEqual,HKOwn8,
  5957. Hotkey, %HKOwn8%, lHKOwn8, Off
  5958. IfNotEqual,HKOwn9,
  5959. Hotkey, %HKOwn9%, lHKOwn9, Off
  5960. IfNotEqual,HKOwn10,
  5961. Hotkey, %HKOwn10%, lHKOwn10, Off
  5962. IfNotEqual,HKOwn11,
  5963. Hotkey, %HKOwn11%, lHKOwn11, Off
  5964. IfNotEqual,HKOwn12,
  5965. Hotkey, %HKOwn12%, lHKOwn12, Off
  5966. Gui,Keybinds: Submit, NoHide
  5967. IfNotEqual,HKEnterExit,
  5968. StringReplace, HKEnterExit, HKEnterExit,~
  5969. IfNotEqual,HKEngine,
  5970. StringReplace, HKEngine, HKEngine,~
  5971. IfNotEqual,HKLock,
  5972. StringReplace, HKLock, HKLock,~
  5973. IfNotEqual,HKLights,
  5974. StringReplace, HKLights, HKLights,~
  5975. IfNotEqual,HKCarlock,
  5976. StringReplace, HKCarlock, HKCarlock,~
  5977. IfNotEqual,HKEngineLock,
  5978. StringReplace, HKEngineLock, HKEngineLock,~
  5979. IfNotEqual,HKTime,
  5980. StringReplace, HKTime, HKTime,~
  5981. IfNotEqual,HKMembers,
  5982. StringReplace, HKMembers, HKMembers,~
  5983. IfNotEqual,HKFriends,
  5984. StringReplace, HKFriends, HKFriends,~
  5985. IfNotEqual,HKNotafk,
  5986. StringReplace, HKNotafk, HKNotafk,~
  5987. IfNotEqual,HKWarinfo,
  5988. StringReplace, HKWarinfo, HKWarinfo,~
  5989. IfNotEqual,HKKnap1,
  5990. StringReplace, HKKnap1, HKKnap1,~
  5991. IfNotEqual,HKKnap2,
  5992. StringReplace, HKKnap2, HKKnap2,~
  5993. IfNotEqual,HKTie,
  5994. StringReplace, HKTie, HKTie,~
  5995. IfNotEqual,HKUntie,
  5996. StringReplace, HKUntie, HKUntie,~
  5997. IfNotEqual,HKSex,
  5998. StringReplace, HKSex, HKSex,~
  5999. IfNotEqual,HKFastfood,
  6000. StringReplace, HKFastfood, HKFastfood,~
  6001. IfNotEqual,HKRepeat,
  6002. StringReplace, HKRepeat, HKRepeat,~
  6003. IfNotEqual,HKFPS20,
  6004. StringReplace, HKFPS20, HKFPS20,~
  6005. IfNotEqual,HKFPS90,
  6006. StringReplace, HKFPS90, HKFPS90,~
  6007. IfNotEqual,HKSuspend,
  6008. StringReplace, HKSuspend, HKSuspend,~
  6009. IfNotEqual,HKHPDL,
  6010. StringReplace, HKHPDL, HKHPDL,~
  6011. IfNotEqual,HKBK,
  6012. StringReplace, HKBK, HKBK,~
  6013. IfNotEqual,HKCTF,
  6014. StringReplace, HKCTF, HKCTF,~
  6015. IfNotEqual,HKGiveUp,
  6016. StringReplace, HKGiveUp, HKGiveUp,~
  6017. IfNotEqual,HKFPos,
  6018. StringReplace, HKFPos, HKFPos,~
  6019. IfNotEqual,HKGebietInfo,
  6020. StringReplace, HKGebietInfo, HKGebietInfo,~
  6021. IfNotEqual,HKFWanted,
  6022. StringReplace, HKFWanted, HKFWanted,~
  6023. IfNotEqual,HKFill,
  6024. StringReplace, HKFill, HKFill,~
  6025. IfNotEqual,HKFillCar,
  6026. StringReplace, HKFillCar, HKFillCar,~
  6027. IfNotEqual,HKCargo,
  6028. StringReplace, HKCargo, HKCargo,~
  6029. IfNotEqual,HKOpenCargo,
  6030. StringReplace, HKOpenCargo, HKOpenCargo,~
  6031. IfNotEqual,HKATMDifferenz,
  6032. StringReplace, HKATMDifferenz, HKATMDifferenz,~
  6033. IfNotEqual,HKWP1,
  6034. StringReplace, HKWP1, HKWP1,~
  6035. IfNotEqual,HKWP2,
  6036. StringReplace, HKWP2, HKWP2,~
  6037. IfNotEqual,HKKillSpruch,
  6038. StringReplace, HKKillSpruch, HKKillSpruch,~
  6039. IfNotEqual,HKKillPlus,
  6040. StringReplace, HKKillPlus, HKKillPlus,~
  6041. IfNotEqual,HKOwn1,
  6042. StringReplace, HKOwn1, HKOwn1,~
  6043. IfNotEqual,HKOwn2,
  6044. StringReplace, HKOwn2, HKOwn2,~
  6045. IfNotEqual,HKOwn3,
  6046. StringReplace, HKOwn3, HKOwn3,~
  6047. IfNotEqual,HKOwn4,
  6048. StringReplace, HKOwn4, HKOwn4,~
  6049. IfNotEqual,HKOwn5,
  6050. StringReplace, HKOwn5, HKOwn5,~
  6051. IfNotEqual,HKOwn6,
  6052. StringReplace, HKOwn6, HKOwn6,~
  6053. IfNotEqual,HKOwn7,
  6054. StringReplace, HKOwn7, HKOwn7,~
  6055. IfNotEqual,HKOwn8,
  6056. StringReplace, HKOwn8, HKOwn8,~
  6057. IfNotEqual,HKOwn9,
  6058. StringReplace, HKOwn9, HKOwn9,~
  6059. IfNotEqual,HKOwn10,
  6060. StringReplace, HKOwn10, HKOwn10,~
  6061. IfNotEqual,HKOwn11,
  6062. StringReplace, HKOwn11, HKOwn11,~
  6063. IfNotEqual,HKOwn12,
  6064. StringReplace, HKOwn12, HKOwn12,~
  6065. Iniwrite, %HKEnterExit%, TaKe-Binder.ini,Wanteds, HKEnterExit
  6066. Iniwrite, %HKEngine%, TaKe-Binder.ini,Wanteds, HKEngine
  6067. Iniwrite, %HKLock%, TaKe-Binder.ini,Wanteds, HKLock
  6068. Iniwrite, %HKLights%, TaKe-Binder.ini,Wanteds, HKLights
  6069. Iniwrite, %HKCarlock%, TaKe-Binder.ini,Wanteds, HKCarlock
  6070. Iniwrite, %HKEngineLock%, TaKe-Binder.ini,Wanteds, HKEngineLock
  6071. Iniwrite, %HKTime%, TaKe-Binder.ini,Wanteds, HKTime
  6072. Iniwrite, %HKMembers%, TaKe-Binder.ini,Wanteds, HKMembers
  6073. Iniwrite, %HKFriends%, TaKe-Binder.ini,Wanteds, HKFriends
  6074. Iniwrite, %HKNotafk%, TaKe-Binder.ini,Wanteds, HKNotafk
  6075. Iniwrite, %HKWarinfo%, TaKe-Binder.ini,Wanteds, HKWarinfo
  6076. Iniwrite, %HKKnap1%, TaKe-Binder.ini,Wanteds, HKKnap1
  6077. Iniwrite, %HKKnap2%, TaKe-Binder.ini,Wanteds, HKKnap2
  6078. Iniwrite, %HKTie%, TaKe-Binder.ini,Wanteds, HKTie
  6079. Iniwrite, %HKUntie%, TaKe-Binder.ini,Wanteds, HKUntie
  6080. Iniwrite, %HKSex%, TaKe-Binder.ini,Wanteds, HKSex
  6081. Iniwrite, %HKFastfood%, TaKe-Binder.ini,Wanteds, HKFastfood
  6082. Iniwrite, %HKRepeat%, TaKe-Binder.ini,Wanteds, HKRepeat
  6083. Iniwrite, %HKFPS20%, TaKe-Binder.ini,Wanteds, HKFPS20
  6084. Iniwrite, %HKFPS90%, TaKe-Binder.ini,Wanteds, HKFPS90
  6085. Iniwrite, %HKSuspend%, TaKe-Binder.ini,Wanteds, HKSuspend
  6086. Iniwrite, %HKHPDL%, TaKe-Binder.ini,Wanteds, HKHPDL
  6087. Iniwrite, %HKBK%, TaKe-Binder.ini,Wanteds, HKBK
  6088. Iniwrite, %HKCTF%, TaKe-Binder.ini,Wanteds, HKCTF
  6089. Iniwrite, %HKFPos%, TaKe-Binder.ini,Wanteds, HKFPos
  6090. Iniwrite, %HKGebietInfo%, TaKe-Binder.ini,Wanteds, HKGebietInfo
  6091. Iniwrite, %HKFWanted%, TaKe-Binder.ini,Wanteds, HKFWanted
  6092. Iniwrite, %HKFill%, TaKe-Binder.ini,Wanteds, HKFill
  6093. Iniwrite, %HKFillCar%, TaKe-Binder.ini,Wanteds, HKFillCar
  6094. Iniwrite, %HKCargo%, TaKe-Binder.ini,Wanteds, HKCargo
  6095. Iniwrite, %HKOpenCargo%, TaKe-Binder.ini,Wanteds, HKOpenCargo
  6096. Iniwrite, %HKATMDifferenz%, TaKe-Binder.ini,Wanteds, HKATMDifferenz
  6097. Iniwrite, %HKWP1%, TaKe-Binder.ini,Wanteds, HKWP1
  6098. Iniwrite, %HKWP2%, TaKe-Binder.ini,Wanteds, HKWP2
  6099. Iniwrite, %wpa11%, TaKe-Binder.ini,Wanteds, wpa11
  6100. Iniwrite, %wpa12%, TaKe-Binder.ini,Wanteds, wpa12
  6101. Iniwrite, %wpa13%, TaKe-Binder.ini,Wanteds, wpa13
  6102. Iniwrite, %wpa14%, TaKe-Binder.ini,Wanteds, wpa14
  6103. Iniwrite, %wpa15%, TaKe-Binder.ini,Wanteds, wpa15
  6104. Iniwrite, %wpa21%, TaKe-Binder.ini,Wanteds, wpa21
  6105. Iniwrite, %wpa22%, TaKe-Binder.ini,Wanteds, wpa22
  6106. Iniwrite, %wpa23%, TaKe-Binder.ini,Wanteds, wpa23
  6107. Iniwrite, %wpa24%, TaKe-Binder.ini,Wanteds, wpa24
  6108. Iniwrite, %wpa25%, TaKe-Binder.ini,Wanteds, wpa25
  6109. Iniwrite, %wpc11%, TaKe-Binder.ini,Wanteds, wpc11
  6110. Iniwrite, %wpc12%, TaKe-Binder.ini,Wanteds, wpc12
  6111. Iniwrite, %wpc13%, TaKe-Binder.ini,Wanteds, wpc13
  6112. Iniwrite, %wpc14%, TaKe-Binder.ini,Wanteds, wpc14
  6113. Iniwrite, %wpc15%, TaKe-Binder.ini,Wanteds, wpc15
  6114. Iniwrite, %wpc21%, TaKe-Binder.ini,Wanteds, wpc21
  6115. Iniwrite, %wpc22%, TaKe-Binder.ini,Wanteds, wpc22
  6116. Iniwrite, %wpc23%, TaKe-Binder.ini,Wanteds, wpc23
  6117. Iniwrite, %wpc24%, TaKe-Binder.ini,Wanteds, wpc24
  6118. Iniwrite, %wpc25%, TaKe-Binder.ini,Wanteds, wpc25
  6119. Iniwrite, %wp11%, TaKe-Binder.ini,Wanteds, wp11
  6120. Iniwrite, %wp12%, TaKe-Binder.ini,Wanteds, wp12
  6121. Iniwrite, %wp13%, TaKe-Binder.ini,Wanteds, wp13
  6122. Iniwrite, %wp14%, TaKe-Binder.ini,Wanteds, wp14
  6123. Iniwrite, %wp15%, TaKe-Binder.ini,Wanteds, wp15
  6124. Iniwrite, %wp21%, TaKe-Binder.ini,Wanteds, wp21
  6125. Iniwrite, %wp22%, TaKe-Binder.ini,Wanteds, wp22
  6126. Iniwrite, %wp23%, TaKe-Binder.ini,Wanteds, wp23
  6127. Iniwrite, %wp24%, TaKe-Binder.ini,Wanteds, wp24
  6128. Iniwrite, %wp25%, TaKe-Binder.ini,Wanteds, wp25
  6129. Iniwrite, %HKKillPlus%, TaKe-Binder.ini,Wanteds, HKKillPlus
  6130. Iniwrite, %HKKillSpruch%, TaKe-Binder.ini,Wanteds, HKKillSpruch
  6131. Iniwrite, %Spruch1%, TaKe-Binder.ini,Wanteds, Spruch1
  6132. Iniwrite, %Spruch2%, TaKe-Binder.ini,Wanteds, Spruch2
  6133. Iniwrite, %Spruch3%, TaKe-Binder.ini,Wanteds, Spruch3
  6134. Iniwrite, %Spruch4%, TaKe-Binder.ini,Wanteds, Spruch4
  6135. Iniwrite, %Spruch5%, TaKe-Binder.ini,Wanteds, Spruch5
  6136. Iniwrite, %FSpruch%, TaKe-Binder.ini,Wanteds, FSpruch
  6137. Iniwrite, %ChatKillspruchAktiv1%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv1
  6138. Iniwrite, %ChatKillspruchAktiv2%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv2
  6139. Iniwrite, %ChatKillspruchAktiv3%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv3
  6140. Iniwrite, %ChatKillspruchAktiv4%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv4
  6141. Iniwrite, %ChatKillspruchmain%, TaKe-Binder.ini,Wanteds, ChatKillspruchmain
  6142. Iniwrite, %ChatKillSpruch1%, TaKe-Binder.ini,Wanteds, ChatKillSpruch1
  6143. Iniwrite, %ChatKillSpruch2%, TaKe-Binder.ini,Wanteds, ChatKillSpruch2
  6144. Iniwrite, %ChatKillSpruch3%, TaKe-Binder.ini,Wanteds, ChatKillSpruch3
  6145. Iniwrite, %ChatKillSpruch4%, TaKe-Binder.ini,Wanteds, ChatKillSpruch4
  6146. Iniwrite, %KC1%, TaKe-Binder.ini,Wanteds, KC1
  6147. Iniwrite, %KC2%, TaKe-Binder.ini,Wanteds, KC2
  6148. Iniwrite, %KC3%, TaKe-Binder.ini,Wanteds, KC3
  6149. Iniwrite, %KC4%, TaKe-Binder.ini,Wanteds, KC4
  6150. Iniwrite, %KC5%, TaKe-Binder.ini,Wanteds, KC5
  6151. Iniwrite, %Own1%, TaKe-Binder.ini,Wanteds, Own1
  6152. Iniwrite, %Own2%, TaKe-Binder.ini,Wanteds, Own2
  6153. Iniwrite, %Own3%, TaKe-Binder.ini,Wanteds, Own3
  6154. Iniwrite, %Own4%, TaKe-Binder.ini,Wanteds, Own4
  6155. Iniwrite, %Own5%, TaKe-Binder.ini,Wanteds, Own5
  6156. Iniwrite, %Own6%, TaKe-Binder.ini,Wanteds, Own6
  6157. Iniwrite, %Own7%, TaKe-Binder.ini,Wanteds, Own7
  6158. Iniwrite, %Own8%, TaKe-Binder.ini,Wanteds, Own8
  6159. Iniwrite, %Own9%, TaKe-Binder.ini,Wanteds, Own9
  6160. Iniwrite, %Own10%, TaKe-Binder.ini,Wanteds, Own10
  6161. Iniwrite, %Own11%, TaKe-Binder.ini,Wanteds, Own11
  6162. Iniwrite, %Own12%, TaKe-Binder.ini,Wanteds, Own12
  6163. Iniwrite, %HKOwn1%, TaKe-Binder.ini,Wanteds, HKOwn1
  6164. Iniwrite, %HKOwn2%, TaKe-Binder.ini,Wanteds, HKOwn2
  6165. Iniwrite, %HKOwn3%, TaKe-Binder.ini,Wanteds, HKOwn3
  6166. Iniwrite, %HKOwn4%, TaKe-Binder.ini,Wanteds, HKOwn4
  6167. Iniwrite, %HKOwn5%, TaKe-Binder.ini,Wanteds, HKOwn5
  6168. Iniwrite, %HKOwn6%, TaKe-Binder.ini,Wanteds, HKOwn6
  6169. Iniwrite, %HKOwn7%, TaKe-Binder.ini,Wanteds, HKOwn7
  6170. Iniwrite, %HKOwn8%, TaKe-Binder.ini,Wanteds, HKOwn8
  6171. Iniwrite, %HKOwn9%, TaKe-Binder.ini,Wanteds, HKOwn9
  6172. Iniwrite, %HKOwn10%, TaKe-Binder.ini,Wanteds, HKOwn10
  6173. Iniwrite, %HKOwn11%, TaKe-Binder.ini,Wanteds, HKOwn11
  6174. Iniwrite, %HKOwn12%, TaKe-Binder.ini,Wanteds, HKOwn12
  6175. Iniwrite, %AD1%, TaKe-Binder.ini,Wanteds, AD1
  6176. Iniwrite, %AD2%, TaKe-Binder.ini,Wanteds, AD2
  6177. Iniwrite, %AD3%, TaKe-Binder.ini,Wanteds, AD3
  6178. Iniwrite, %AD4%, TaKe-Binder.ini,Wanteds, AD4
  6179. IniWrite, %wunschgeld%, TaKe-Binder.ini,Wanteds, wunschgeld
  6180. StreamTrayTip("TaKe-Binder","Keybinds wurden gespeichert",2)
  6181. IfNotEqual,HKEnterExit,
  6182. HKEnterExit:= "~" HKEnterExit
  6183. IfNotEqual,HKEngine,
  6184. HKEngine:= "~" HKEngine
  6185. IfNotEqual,HKLock,
  6186. HKLock:= "~" HKLock
  6187. IfNotEqual,HKLights,
  6188. HKLights:= "~" HKLights
  6189. IfNotEqual,HKCarlock,
  6190. HKCarlock:= "~" HKCarlock
  6191. IfNotEqual,HKEngineLock,
  6192. HKEngineLock:= "~" HKEngineLock
  6193. IfNotEqual,HKTime,
  6194. HKTime:= "~" HKTime
  6195. IfNotEqual,HKMembers,
  6196. HKMembers:= "~" HKMembers
  6197. IfNotEqual,HKFriends,
  6198. HKFriends:= "~" HKFriends
  6199. IfNotEqual,HKNotafk,
  6200. HKNotafk:= "~" HKNotafk
  6201. IfNotEqual,HKWarinfo,
  6202. HKWarinfo:= "~" HKWarinfo
  6203. IfNotEqual,HKKnap1,
  6204. HKKnap1:= "~" HKKnap1
  6205. IfNotEqual,HKKnap2,
  6206. HKKnap2:= "~" HKKnap2
  6207. IfNotEqual,HKTie,
  6208. HKTie:= "~" HKTie
  6209. IfNotEqual,HKUntie,
  6210. HKUntie:= "~" HKUntie
  6211. IfNotEqual,HKSex,
  6212. HKSex:= "~" HKSex
  6213. IfNotEqual,HKFastfood,
  6214. HKFastfood:= "~" HKFastfood
  6215. IfNotEqual,HKRepeat,
  6216. HKRepeat:= "~" HKRepeat
  6217. IfNotEqual,HKFPS20,
  6218. HKFPS20:= "~" HKFPS20
  6219. IfNotEqual,HKFPS90,
  6220. HKFPS90:= "~" HKFPS90
  6221. IfNotEqual,HKSuspend,
  6222. HKSuspend:= "~" HKSuspend
  6223. IfNotEqual,HKHPDL,
  6224. HKHPDL:= "~" HKHPDL
  6225. IfNotEqual,HKBK,
  6226. HKBK:= "~" HKBK
  6227. IfNotEqual,HKCTF,
  6228. HKCTF:= "~" HKCTF
  6229. IfNotEqual,HKGiveUp,
  6230. HKGiveUp:= "~" HKGiveUp
  6231. IfNotEqual,HKFPos,
  6232. HKFPos:= "~" HKFPos
  6233. IfNotEqual,HKGebietInfo,
  6234. HKGebietInfo:= "~" HKGebietInfo
  6235. IfNotEqual,HKFWanted,
  6236. HKFWanted:= "~" HKFWanted
  6237. IfNotEqual,HKFill,
  6238. HKFill:= "~" HKFill
  6239. IfNotEqual,HKFillCar,
  6240. HKFillCar:= "~" HKFillCar
  6241. IfNotEqual,HKCargo,
  6242. HKCargo:= "~" HKCargo
  6243. IfNotEqual,HKOpenCargo,
  6244. HKOpenCargo:= "~" HKOpenCargo
  6245. IfNotEqual,HKATMDifferenz,
  6246. HKATMDifferenz:= "~" HKATMDifferenz
  6247. IfNotEqual,HKWP1,
  6248. HKWP1:= "~" HKWP1
  6249. IfNotEqual,HKWP2,
  6250. HKWP2:= "~" HKWP2
  6251. IfNotEqual,HKKillSpruch,
  6252. HKKillSpruch:= "~" HKKillSpruch
  6253. IfNotEqual,HKKillPlus,
  6254. HKKillPlus:= "~" HKKillPlus
  6255. IfNotEqual,HKOwn1,
  6256. HKOwn1:= "~" HKOwn1
  6257. IfNotEqual,HKOwn2,
  6258. HKOwn2:= "~" HKOwn2
  6259. IfNotEqual,HKOwn3,
  6260. HKOwn3:= "~" HKOwn3
  6261. IfNotEqual,HKOwn4,
  6262. HKOwn4:= "~" HKOwn4
  6263. IfNotEqual,HKOwn5,
  6264. HKOwn5:= "~" HKOwn5
  6265. IfNotEqual,HKOwn6,
  6266. HKOwn6:= "~" HKOwn6
  6267. IfNotEqual,HKOwn7,
  6268. HKOwn7:= "~" HKOwn7
  6269. IfNotEqual,HKOwn8,
  6270. HKOwn8:= "~" HKOwn8
  6271. IfNotEqual,HKOwn9,
  6272. HKOwn9:= "~" HKOwn9
  6273. IfNotEqual,HKOwn10,
  6274. HKOwn10:= "~" HKOwn10
  6275. IfNotEqual,HKOwn11,
  6276. HKOwn11:= "~" HKOwn11
  6277. IfNotEqual,HKOwn12,
  6278. HKOwn12:= "~" HKOwn12
  6279. IfNotEqual,HKEnterExit,
  6280. Hotkey, %HKEnterExit%, lHKEnterExit, On
  6281. IfNotEqual,HKEngine,
  6282. Hotkey, %HKEngine%, lHKEngine, On
  6283. IfNotEqual,HKLock,
  6284. Hotkey, %HKLock%, lHKLock, On
  6285. IfNotEqual,HKLights,
  6286. Hotkey, %HKLights%, lHKLights, On
  6287. IfNotEqual,HKCarlock,
  6288. Hotkey, %HKCarlock%, lHKCarlock, On
  6289. IfNotEqual,HKEngineLock,
  6290. Hotkey, %HKEngineLock%, lHKEngineLock, On
  6291. IfNotEqual,HKTime,
  6292. Hotkey, %HKTime%, lHKTime, On
  6293. IfNotEqual,HKMembers,
  6294. Hotkey, %HKMembers%, lHKMembers, On
  6295. IfNotEqual,HKFriends,
  6296. Hotkey, %HKFriends%, lHKFriends, On
  6297. IfNotEqual,HKNotafk,
  6298. Hotkey, %HKNotafk%, lHKNotafk, On
  6299. IfNotEqual,HKWarinfo,
  6300. Hotkey, %HKWarinfo%, lHKWarinfo, On
  6301. IfNotEqual,HKKnap1,
  6302. Hotkey, %HKKnap1%, lHKKnap1, On
  6303. IfNotEqual,HKKnap2,
  6304. Hotkey, %HKKnap2%, lHKKnap2, On
  6305. IfNotEqual,HKTie,
  6306. Hotkey, %HKTie%, lHKTie, On
  6307. IfNotEqual,HKUntie,
  6308. Hotkey, %HKUntie%, lHKUntie, On
  6309. IfNotEqual,HKSex,
  6310. Hotkey, %HKSex%, lHKSex, On
  6311. IfNotEqual,HKFastfood,
  6312. Hotkey, %HKFastfood%, lHKFastfood, On
  6313. IfNotEqual,HKRepeat,
  6314. Hotkey, %HKRepeat%, lHKRepeat, On
  6315. IfNotEqual,HKFPS20,
  6316. Hotkey, %HKFPS20%, lHKFPS20, On
  6317. IfNotEqual,HKFPS90,
  6318. Hotkey, %HKFPS90%, lHKFPS90, On
  6319. IfNotEqual,HKSuspend,
  6320. Hotkey, %HKSuspend%, lHKSuspend, On
  6321. IfNotEqual,HKHPDL,
  6322. Hotkey, %HKHPDL%, lHKHPDL, On
  6323. IfNotEqual,HKBK,
  6324. Hotkey, %HKBK%, lHKBK, On
  6325. IfNotEqual,HKCTF,
  6326. Hotkey, %HKCTF%, lHKCTF, On
  6327. IfNotEqual,HKGiveUp,
  6328. Hotkey, %HKGiveUp%, lHKGiveUp, On
  6329. IfNotEqual,HKFPos,
  6330. Hotkey, %HKFPos%, lHKFPos, On
  6331. IfNotEqual,HKGebietInfo,
  6332. Hotkey, %HKGebietInfo%, lHKGebietInfo, On
  6333. IfNotEqual,HKFWanted,
  6334. Hotkey, %HKFWanted%, lHKFWanted, On
  6335. IfNotEqual,HKFill,
  6336. Hotkey, %HKFill%, lHKFill, On
  6337. IfNotEqual,HKFillCar,
  6338. Hotkey, %HKFillCar%, lHKFillCar, On
  6339. IfNotEqual,HKCargo,
  6340. Hotkey, %HKCargo%, lHKCargo, On
  6341. IfNotEqual,HKOpenCargo,
  6342. Hotkey, %HKOpenCargo%, lHKOpenCargo, On
  6343. IfNotEqual,HKATMDifferenz,
  6344. Hotkey, %HKATMDifferenz%, lHKATMDifferenz, On
  6345. IfNotEqual,HKWP1,
  6346. Hotkey, %HKWP1%, lHKWP1, On
  6347. IfNotEqual,HKWP2,
  6348. Hotkey, %HKWP2%, lHKWP2, On
  6349. IfNotEqual,HKKillSpruch,
  6350. Hotkey, %HKKillSpruch%, lHKKillSpruch, On
  6351. IfNotEqual,HKKillPlus,
  6352. Hotkey, %HKKillPlus%, lHKKillPlus, On
  6353. IfNotEqual,HKOwn1,
  6354. Hotkey, %HKOwn1%, lHKOwn1, On
  6355. IfNotEqual,HKOwn2,
  6356. Hotkey, %HKOwn2%, lHKOwn2, On
  6357. IfNotEqual,HKOwn3,
  6358. Hotkey, %HKOwn3%, lHKOwn3, On
  6359. IfNotEqual,HKOwn4,
  6360. Hotkey, %HKOwn4%, lHKOwn4, On
  6361. IfNotEqual,HKOwn5,
  6362. Hotkey, %HKOwn5%, lHKOwn5, On
  6363. IfNotEqual,HKOwn6,
  6364. Hotkey, %HKOwn6%, lHKOwn6, On
  6365. IfNotEqual,HKOwn7,
  6366. Hotkey, %HKOwn7%, lHKOwn7, On
  6367. IfNotEqual,HKOwn8,
  6368. Hotkey, %HKOwn8%, lHKOwn8, On
  6369. IfNotEqual,HKOwn9,
  6370. Hotkey, %HKOwn9%, lHKOwn9, On
  6371. IfNotEqual,HKOwn10,
  6372. Hotkey, %HKOwn10%, lHKOwn10, On
  6373. IfNotEqual,HKOwn11,
  6374. Hotkey, %HKOwn11%, lHKOwn11, On
  6375. IfNotEqual,HKOwn12,
  6376. Hotkey, %HKOwn12%, lHKOwn12, On
  6377. return
  6378. StreamTrayTip(title, text, time)
  6379. {
  6380. timertime := time * 1000
  6381. TrayTip, %title%, %text%, %timertime%, 1
  6382. Settimer, remove_tip, %timertime%
  6383. }
  6384. remove_tip:
  6385. TrayTip
  6386. Settimer, remove_tip, off
  6387. return
  6388. Activity(doing)
  6389. {
  6390. activity_time = [%a_DD%.%a_MM%.%a_YYYY% | %a_hour%:%a_min%]
  6391. fileappend, %activity_time% %doing%`n, logfile.txt
  6392. }
  6393. InitOverlay:
  6394. if(OverlayAktiv == True || OverlayOn == true)
  6395. {
  6396. Organizer("Dein Overlay ist bereits Aktiv.")
  6397. return
  6398. }
  6399. DestroyAllVisual()
  6400. HPFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6401. PCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6402. WCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6403. VCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6404. GCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6405. DCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
  6406. If(DC == 1)
  6407. {
  6408. infooverlay := TextCreate("Arial", DSize, true, false, DX, DY, DCFC[DCF], "", true, true)
  6409. }
  6410. if(PC == 1)
  6411. {
  6412. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  6413. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  6414. If(IsPlayerInAnyInterior()==1)
  6415. {
  6416. Overlay_Pos:= TextCreate("Arial",PSize, 1, 0, PX, PY, PCFC[PCF],"Interior", 1, 1)
  6417. }
  6418. else
  6419. Overlay_Pos:= TextCreate("Arial",PSize, 1, 0, PX, PY, PCFC[PCF],City ", " Zone " ~" RGN_Location() "", 1, 1)
  6420. }
  6421. if(HPC == 1)
  6422. {
  6423. Overlay_HP:= TextCreate("Arial",HPSize, 1, 0, HPX, HPY, HPFC[HPF],GetPlayerHealth(), 1, 1)
  6424. }
  6425. if(VC == 1)
  6426. {
  6427. if(IsVehicleLocked()==1)
  6428. State:= GESCHLOSSEN
  6429. else
  6430. State:= OFFEN
  6431. Overlay_Veh:= TextCreate("Arial",VSize, 1, 0, VX, VY, VCFC[VCF],"Dein Fahrzeug hat " Round(GetVehicleHealth(),0) " DL und ist " State ".", 1, 1)
  6432. }
  6433. if(WC == 1)
  6434. {
  6435. Overlay_Wanted:= TextCreate("Arial",WSize, 1, 0, WX, WY, WCFC[WCF],"Wanted(s): " Wanteds "`nGrund: " Grund "`nZeuge: " Zeuge, 1, 1)
  6436. }
  6437. If(GC == 1)
  6438. {
  6439. Gegner := TextCreate("Arial", GSize, 1, 0, GX, GY, GCFC[GCF], "Niemand`n-----------------------------------`nGegner Online: 0", 1, 1)
  6440. }
  6441. OverlayAktiv := True
  6442. OverlayOn := True
  6443. Organizer("Dein Overlay wurde gestartet.")
  6444. return
  6445. Overlay:
  6446. myhealth := GetPlayerHealth()
  6447. mycardl := GetVehicleHealth()
  6448. myname := getplayername()
  6449. myid := getPlayerIdByName(myname)
  6450. myping := getPlayerPingById(myid)
  6451. mycardl := getVehicleHealth()
  6452. mymoney := getPlayerMoney()
  6453. myfps := GetFrameRate()
  6454. SetParam("use_window", "1")
  6455. SetParam("window", "GTA:SA:MP")
  6456. if(!WinExist("GTA:SA:MP"))
  6457. {
  6458. if(OverlayAktiv)
  6459. {
  6460. DestroyAllVisual()
  6461. OverlayAktiv:= false
  6462. OverlayOn:= false
  6463. }
  6464. GameTextAktiv:= 0
  6465. }
  6466. if(WinActive("GTA:SA:MP"))
  6467. {
  6468. if(GameTextAktiv == 0)
  6469. {
  6470. ret := DllCall("getGametext.dll\Load")
  6471. GameTextAktiv:= 1
  6472. }
  6473. If(!OverlayAktiv)
  6474. {
  6475. gosub, InitOverlay
  6476. return
  6477. }
  6478. if(PC == 1)
  6479. {
  6480. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  6481. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  6482. If(IsPlayerInAnyInterior()==1)
  6483. {
  6484. TextSetString(Overlay_Pos,"Interior")
  6485. }
  6486. else
  6487. TextSetString(Overlay_Pos, Zone " ~" RGN_Location() "")
  6488. }
  6489. if(HPC == 1)
  6490. {
  6491. TextSetString(Overlay_HP,"HP: " myhealth " (FPS: " GetframeRate() ") ID: " myid)
  6492. }
  6493. if(VC == 1)
  6494. {
  6495. if(IsPlayerInAnyVehicle() == 1 && GetVehicleHealth() > 0)
  6496. {
  6497. if(VehOverlay == False)
  6498. {
  6499. TextSetShown(Overlay_Veh,1)
  6500. VehOverlay:= True
  6501. }
  6502. if(isPlayerInAnyVehicle() == 1)
  6503. {
  6504. if(getVehicleEngineState() == 1 && isvehiclelocked() == 1)
  6505. {
  6506. Textsetstring(Overlay_Veh, "Fahrzeug AN und ABGESCHLOSSEN! (Fahrzeug-DL: " mycardl ")")
  6507. }
  6508. if(getVehicleEngineState() == 0 && isvehiclelocked() == 1)
  6509. {
  6510. Textsetstring(Overlay_Veh, "Fahrzeug AUS und ABGESCHLOSSEN! (Fahrzeug-DL: " mycardl ")")
  6511. }
  6512. if(getVehicleEngineState() == 1 && isvehiclelocked() == 0)
  6513. {
  6514. Textsetstring(Overlay_Veh, "{DF0101}Fahrzeug AN und AUFGESCHLOSSEN! {FFFFFF}(Fahrzeug-DL: " mycardl ")")
  6515. }
  6516. if(getVehicleEngineState() == 0 && isvehiclelocked() == 0)
  6517. {
  6518. Textsetstring(Overlay_Veh, "Fahrzeug AUS und AUFGESCHLOSSEN! (Fahrzeug-DL: " mycardl ")")
  6519. }
  6520. }
  6521. }
  6522. else
  6523. {
  6524. TextSetShown(Overlay_Veh,0)
  6525. VehOverlay:= False
  6526. }
  6527. }
  6528. if(DC == 1)
  6529. {
  6530. Textsetstring(infooverlay, "Drogen: " drogen "g`nEinnehmbar: " 26 - genommen "g")
  6531. }
  6532. if(WC == 1)
  6533. {
  6534. {
  6535. TextSetString(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: " zeuge "`nVorwarnung: " spamtime)
  6536. if(!secs == 0)
  6537. {
  6538. Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "")
  6539. }
  6540. else
  6541. {
  6542. Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "")
  6543. }
  6544. if(!knastzeit == 0)
  6545. {
  6546. Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "`n`nKnastzeit: " knastzeit " Sekunden (" minutes1 " Minuten) ")
  6547. }
  6548. else
  6549. {
  6550. Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "")
  6551. }
  6552. }
  6553. }
  6554. }
  6555. if(GC == 1)
  6556. {
  6557. list := ""
  6558. online := 0
  6559. runner := 0
  6560. GegnergehtonlineID := 0
  6561. Loop, read, Gegner.txt
  6562. {
  6563. GegnergehtonlineID ++ 1
  6564. runner++
  6565. if(A_LoopReadLine = "")
  6566. continue
  6567. StringSplit, splitted, A_LoopReadLine, |
  6568. id:= GetPlayerIdByName(splitted1)
  6569. GegnerPing := getPlayerPingById(id)
  6570. if(id != -1)
  6571. {
  6572. list = %list%(%id%) %splitted1% | %splitted2% (Ping: %GegnerPing%)`n
  6573. online++
  6574. }
  6575. Gegnergehtonline := splitted1
  6576. GegnerFraktion := splitted2
  6577. New_IsOnGegner%GegnergehtonlineID% := IsPlayerOnline(Gegnergehtonline)
  6578. If(New_IsOnGegner%GegnergehtonlineID% > Old_IsOnGegner%GegnergehtonlineID%)
  6579. {
  6580. splittedid := GetPlayerIdByName(Gegnergehtonline)
  6581. If(splittedid > -1)
  6582. {
  6583. Organizer("Gegner {5B89CB}" Gegnergehtonline "{FFFFFF} ({5B89CB}" splittedid "{FFFFFF}) | {5B89CB}" splitted2 " {FFFFFF}ist soeben online gegangen")
  6584. }
  6585. }
  6586. If(New_IsOnGegner%GegnergehtonlineID% < Old_IsOnGegner%GegnergehtonlineID%)
  6587. {
  6588. Organizer("Gegner {5B89CB}" Gegnergehtonline " {FFFFFF}| {5B89CB}" splitted2 " {FFFFFF}ist soeben offline gegangen")
  6589. }
  6590. Old_IsOnGegner%GegnergehtonlineID% := New_IsOnGegner%GegnergehtonlineID%
  6591. }
  6592. if(online == 0)
  6593. {
  6594. TextSetString(Gegner, "Niemand`n-----------------------------------`nGegner Online: 0")
  6595. }
  6596. else
  6597. {
  6598. if(OverlayMove == 1)
  6599. {
  6600. TextSetString(Gegner, "Niemand`n-----------------------------------`nGegner Online: 0")
  6601. } else {
  6602. TextSetString(Gegner, list "-----------------------------------`nGegner Online: " online "/" runner "")
  6603. TextSetPos(Gegner, GX, GY - (online * (GSize+3)))
  6604. }
  6605. }
  6606. If(greload=1)
  6607. {
  6608. TextDestroy(Gegner)
  6609. sleep 100
  6610. Gegner := TextCreate("Arial", GSize, 1, 0, GX, GY, GCFC[GCF], "Niemand`n-----------------------------------`nGegner Online: 0", 1, 1)
  6611. greload:=0
  6612. }
  6613. }
  6614. return
  6615. ExitOverlay:
  6616. DestroyAllVisual()
  6617. OverlayAktiv := False
  6618. OverlayOn := False
  6619. Organizer("Dein Overlay wurde beendet.")
  6620. return
  6621. HideOverlay:
  6622. HideAllVisual()
  6623. OverlayOn := False
  6624. Organizer("Dein Overlay ist nun unsichtbar.")
  6625. return
  6626. ShowOverlay:
  6627. ShowAllVisual()
  6628. OverlayOn := True
  6629. Organizer("Dein Overlay ist nun sichtbar.")
  6630. return
  6631. DrogenSystem:
  6632. IfWinNotActive, GTA:SA:MP
  6633. return
  6634. ZeitVar1 := DrogenkofferaumgelegtZeit
  6635. ZeitVar2 := DrogenkofferaumgenommenZeit
  6636. ZeitVar3 := DrogenKaufZeit
  6637. ZeitVar4 := DrogenVerkaufZeit
  6638. ZeitVar5 := DrogenRausZeit
  6639. ZeitVar6 := DrogenGelegtZeit
  6640. ZeitVar7 := DrogenUsedZeit
  6641. ZeitVar8 := DrogenentzugZeit
  6642. ZeitVar9 := AnwaltZeit
  6643. IniRead,genommen, TaKe-Binder.ini,Drogensystem, Used
  6644. IniRead,drogen, TaKe-Binder.ini,Drogensystem, Drogen
  6645. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6646. {
  6647. if(InStr(A_LoopReadLine, "] * Du hast") && InStr(A_LoopReadLine, "g Drogen in den Kofferraum gelegt."))
  6648. {
  6649. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast (\d+)g Drogen in den Kofferraum gelegt\.", kofferraumgelegtedrugs)
  6650. StringReplace, VarBack1, kofferraumgelegtedrugs4, .
  6651. DrogenkofferaumgelegtZeit := kofferraumgelegtedrugs1 kofferraumgelegtedrugs2 kofferraumgelegtedrugs3
  6652. }
  6653. else if(InStr(A_LoopReadLine, "] * Du hast") && InStr(A_LoopReadLine, "g Drogen aus dem Kofferraum genommen."))
  6654. {
  6655. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast (\d+)g Drogen aus dem Kofferraum genommen\.", kofferraumgenommenedrugs)
  6656. StringReplace, VarBack2, kofferraumgenommenedrugs4, .
  6657. DrogenkofferaumgenommenZeit := kofferraumgenommenedrugs1 kofferraumgenommenedrugs2 kofferraumgenommenedrugs3
  6658. }
  6659. else if(InStr(A_LoopReadLine, "] * Du hast") && InStr(A_LoopReadLine, "für") && InStr(A_LoopReadLine, "von Drogendealer") && InStr(A_LoopReadLine, "gekauft."))
  6660. {
  6661. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast (.*) Gramm für \$(.*) von Drogendealer (.*) gekauft.", drogenbuy)
  6662. StringReplace, VarBack3, drogenbuy4, .
  6663. DrogenKaufZeit := drogenbuy1 drogenbuy2 drogenbuy3
  6664. }
  6665. else if(InStr(A_LoopReadLine, "hat dir") && InStr(A_LoopReadLine,"Gramm abgekauft, die Summe von"))
  6666. {
  6667. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] (.*) hat dir (.*) Gramm abgekauft, die Summe von \$(.*) wird zu deinem PayCheck addiert\.", drogenverkaufen)
  6668. StringReplace, VarBack4, drogenverkaufen5, .
  6669. DrogenVerkaufZeit := drogenverkaufen1 drogenverkaufen2 drogenverkaufen3
  6670. }
  6671. else if(InStr(A_LoopReadLine, "Drogen aus der SafeBox genommen!"))
  6672. {
  6673. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] (.*) Drogen aus der SafeBox genommen\!", drogenrausgenommen)
  6674. StringReplace, VarBack5, drogenrausgenommen4, .
  6675. DrogenRausZeit := drogenrausgenommen1 drogenrausgenommen2 drogenrausgenommen3
  6676. }
  6677. else if(InStr(A_LoopReadLine, "Drogen in der SafeBox hinterlegt!"))
  6678. {
  6679. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] (.*) Drogen in der SafeBox hinterlegt\!", drogengelagert)
  6680. StringReplace, VarBack6, drogengelagert4, .
  6681. DrogenGelegtZeit := drogengelagert1 drogengelagert2 drogengelagert3
  6682. }
  6683. else if(InStr(A_LoopReadLine, "] * Du hast 2 Gramm Drogen genommen!"))
  6684. {
  6685. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast 2 Gramm Drogen genommen!", drogengenommen)
  6686. DrogenUsedZeit := drogengenommen1 drogengenommen2 drogengenommen3
  6687. }
  6688. else if(InStr(A_LoopReadLine, "] * Du warst in der Entzugsklinik und bist jetzt nicht mehr stoned!"))
  6689. {
  6690. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du warst in der Entzugsklinik und bist jetzt nicht mehr stoned!", drogenentzug)
  6691. DrogenentzugZeit := drogenentzug1 drogenentzug2 drogenentzug3
  6692. }
  6693. else if Instr(A_LoopReadLine, "] Restzeit deines Anwalts:")
  6694. {
  6695. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Restzeit deines Anwalts: (.*) Sekunden", zeit)
  6696. AnwaltZeit := zeit1 zeit2 zeit3
  6697. anwalt:=1
  6698. }
  6699. }
  6700. if(ZeitVar1 <> DrogenkofferaumgelegtZeit)
  6701. {
  6702. if(ReadStats_s(text))
  6703. {
  6704. sleep 1100
  6705. drugs := keyForEntry(text, "Drogen")
  6706. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6707. drogen := druglss1
  6708. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6709. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6710. Organizer("Du hast {DF0101}" varback1 "g {FFFFFF}Drogen verstaut und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei")
  6711. }
  6712. else
  6713. {
  6714. Organizer("Du hast {DF0101}" varback1 "g {FFFFFF}Drogen verstaut und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei")
  6715. }
  6716. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6717. }
  6718. else if(ZeitVar2 <> DrogenkofferaumgenommenZeit)
  6719. {
  6720. if(ReadStats_s(text))
  6721. {
  6722. sleep 1100
  6723. drugs := keyForEntry(text, "Drogen")
  6724. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6725. drogen := druglss1
  6726. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6727. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6728. Organizer("Du hast {DF0101}" varback2 "g {FFFFFF}Drogen aus dem Kofferraum genommen und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei")
  6729. }
  6730. else
  6731. {
  6732. Organizer("Du hast {DF0101}" varback2 "g {FFFFFF}Drogen aus dem Kofferraum genommen und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei")
  6733. }
  6734. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6735. }
  6736. else if(ZeitVar3 <> DrogenKaufZeit)
  6737. {
  6738. sleep 1100
  6739. if(ReadStats_s(text))
  6740. {
  6741. drugs := keyForEntry(text, "Drogen")
  6742. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6743. drogen := druglss1
  6744. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6745. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6746. Organizer("Du hast {DF0101}" varback3 "g {FFFFFF}Drogen gekauft und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei")
  6747. }
  6748. else
  6749. {
  6750. Organizer("Du hast {DF0101}" varback3 "g {FFFFFF}Drogen gekauft und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei")
  6751. }
  6752. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6753. }
  6754. else if(ZeitVar4 <> DrogenVerkaufZeit)
  6755. {
  6756. sleep 1100
  6757. if(ReadStats_s(text))
  6758. {
  6759. sleep 1100
  6760. drugs := keyForEntry(text, "Drogen")
  6761. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6762. drogen := druglss1
  6763. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6764. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6765. Organizer("Du hast {DF0101}" varback4 "g {FFFFFF}Drogen verkauft und noch: {435CE7}" druglss1 "g {FFFFFF}dabei.")
  6766. }
  6767. else
  6768. {
  6769. Organizer("Du hast {DF0101}" varback4 "g {FFFFFF}Drogen verkauft und noch: {435CE7}" . druglss1 . "g {FFFFFF}dabei.")
  6770. }
  6771. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6772. }
  6773. else if(ZeitVar5 <> DrogenRausZeit)
  6774. {
  6775. if(ReadStats_s(text))
  6776. {
  6777. sleep 1100
  6778. drugs := keyForEntry(text, "Drogen")
  6779. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6780. drogen := druglss1
  6781. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6782. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6783. Organizer("Du hast {DF0101}" varback5 "g {FFFFFF}Drogen herausgenommen und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei.")
  6784. }
  6785. else
  6786. {
  6787. Organizer("Du hast {DF0101}" varback5 "g {FFFFFF}Drogen herausgenommen und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei.")
  6788. }
  6789. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6790. }
  6791. else if(ZeitVar6 <> DrogenGelegtZeit)
  6792. {
  6793. if(ReadStats_s(text))
  6794. {
  6795. sleep 1100
  6796. drugs := keyForEntry(text, "Drogen")
  6797. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6798. drogen := druglss1
  6799. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6800. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6801. Organizer("Du hast Drogen {DF0101}" varback6 "g {FFFFFF}in die SafeBox gelegt und noch {435CE7}" druglss1 "g {FFFFFF} dabei")
  6802. }
  6803. else
  6804. {
  6805. Organizer("Du hast Drogen {DF0101}" varback6 "g {FFFFFF}in die SafeBox gelegt und noch {435CE7}" . druglss1 . "g {FFFFFF} dabei")
  6806. }
  6807. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6808. }
  6809. else if(ZeitVar7 <> DrogenUsedZeit)
  6810. {
  6811. if(ReadStats_s(text))
  6812. {
  6813. sleep 1100
  6814. drugs := keyForEntry(text, "Drogen")
  6815. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6816. drogen := druglss1
  6817. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6818. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6819. genommen += 2
  6820. druglimit--
  6821. druglimit--
  6822. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6823. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6824. Iniwrite,%genommen%, TaKe-Binder.ini,Drogensystem, Used
  6825. if(ReadStats_s(text))
  6826. {
  6827. sleep 1100
  6828. drugs := keyForEntry(text, "Drogen")
  6829. RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
  6830. drogen := druglss1
  6831. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  6832. Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
  6833. Organizer("Du hast insgesamt schon {DF0101}" genommen "g {FFFFFF}Drogen genommen und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei.")
  6834. }
  6835. else
  6836. {
  6837. Organizer("Du hast insgesamt schon {DF0101}" genommen "g {FFFFFF}Drogen genommen und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei.")
  6838. }
  6839. }
  6840. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6841. Settimer,Drugs,-20000
  6842. }
  6843. else if(ZeitVar8 <> DrogenentzugZeit)
  6844. {
  6845. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Used
  6846. Organizer("Drogenzähler wurde zurückgesetzt")
  6847. Organizer("Schlag einmal gegen die SafeBox um {5B89CB}" Drogenmenge "g {FFFFFF}aus der Box zu nehmen")
  6848. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6849. }
  6850. else if(ZeitVar9 <> AnwaltZeit)
  6851. {
  6852. IniWrite,%meinanwalt1%,TaKe-Binder.ini,Anwalt,User
  6853. IniRead,meinanwalt1,TaKe-Binder.ini,Anwalt,User
  6854. Organizer("Restliche Haftstrafe durch Anwalt " meinanwalt1 ": {2EFE9A}" FormatSeconds(zeit4) "")
  6855. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6856. }
  6857. return
  6858. Auslesen:
  6859. global CHATMESSAGECOLOR1 := "22CCFF"
  6860. user := getplayername()
  6861. If(!getplayerinteriorid() != "0")
  6862. {
  6863. lastcity := city
  6864. }
  6865. GetChatline(1, Chat1)
  6866. GetChatline(0, Chat0)
  6867. ZeitVar10 := TodZeit
  6868. ZeitVar11 := WantedZeit
  6869. ZeitVar12 := HackerZeit
  6870. ZeitVar13 := WantedClearZeit
  6871. ZeitVar14 := WanClearZeit
  6872. ZeitVar15 := ArrestZeit
  6873. ZeitVar16 := ArrestDownZeit
  6874. ZeitVar17 := HealZeit
  6875. ZeitVar18 := MechaZeit
  6876. ZeitVar19 := MechaRefZeit
  6877. ZeitVar20 := HDZeit
  6878. ZeitVar88 := AutoHD
  6879. ZeitVar21 := WantedGrund
  6880. ZeitVar22 := ZinsZeit
  6881. ZeitVar23 := SMSZeit
  6882. ZeitVar24 := AnwaltZeit
  6883. ZeitVar25 := TakepizzaZeit
  6884. ZeitVar26 := Takepizza2Zeit
  6885. ZeitVar27 := FreiheitZeit
  6886. ZeitVar28 := Wan2ClearZeit
  6887. ZeitVar29 := HelpZeit
  6888. ZeitVar30 := KnastKorrektur
  6889. ZeitVar31 := He1pZeit
  6890. ZeitVar32 := BeschussZeit
  6891. ZeitVar33 := WaffenausgabeZeit1
  6892. ZeitVar34 := HeIpZeit
  6893. ZeitVar35 := FabianSMS
  6894. ZeitVar36 := PayZeit
  6895. ZeitVar37 := BekommenZeit
  6896. ZeitVar38 := OrgZeit
  6897. ZeitVar39 := BlitzerZeit
  6898. ZeitVar40 := SupZeit
  6899. ZeitVar41 := MissionZeit
  6900. ZeitVar42 := EinweisungZeit
  6901. ZeitVar43 := KunZeit
  6902. ZeitVar44 := ÃœberweisungZeit
  6903. ZeitVar45 := Haus1
  6904. ZeitVar46 := Base1
  6905. ZeitVar47 := RobMichzeit
  6906. ZeitVar48 := RobZeit
  6907. ZeitVar49 := HealZeit
  6908. ZeitVar50 := VorwarnungZeit
  6909. ZeitVar51 := TazeZeit
  6910. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  6911. {
  6912. If (chatlog_zeile >= A_Index)
  6913. {
  6914. Continue
  6915. }
  6916. else
  6917. {
  6918. If (Instr(A_LoopReadLine,"] Du hast wegen deines Todes $") && !InStr(A_LoopReadLine, "Tode: "))
  6919. {
  6920. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\]", tod)
  6921. TodZeit := tod1 tod2 tod3
  6922. streak:=0
  6923. IniWrite, 0, Statistik\statsi.ini, Killstreak, streak
  6924. verlust:=tod4
  6925. }
  6926. if(Instr(A_LoopReadLine, "Du spawnst jetzt in deinem eigenen / gemieteten Haus"))
  6927. {
  6928. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du spawnst jetzt in deinem eigenen / gemieteten Haus!", house)
  6929. haus1 := house1 house2 house3
  6930. }
  6931. if(haus1 != oldhaus1)
  6932. {
  6933. oldhaus1 := haus1
  6934. iniwrite, %haus1%, Take-binder.ini, Optionen, haus1
  6935. homespawn := 1
  6936. Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
  6937. }
  6938. oldbase1 := base1
  6939. if(Instr(A_LoopReadLine, "Ab jetzt spawnst du wieder am gewohnten Platz!"))
  6940. {
  6941. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Ab jetzt spawnst du wieder am gewohnten Platz!", basis)
  6942. base1 := basis1 basis2 basis3
  6943. }
  6944. if(base1 != oldbase1)
  6945. {
  6946. oldbase1 := base1
  6947. iniwrite, %base1%, Take-binder.ini, Optionen, base1
  6948. homespawn := 0
  6949. Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
  6950. }
  6951. else If InStr(A_LoopReadLine," überwiesen.")
  6952. {
  6953. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Du hast (.*) \(ID (.*)\), \$(.*) überwiesen.",var)
  6954. PayZeit := var1 var2 var3
  6955. PayName := var4
  6956. PayBetrag := var6
  6957. }
  6958. else If InStr(A_LoopReadLine,"du erhältst $")
  6959. {
  6960. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Du erhältst \$(.*) von (.*) \(ID (.*)\).",varlol)
  6961. BekommenZeit := varlol1 varlol2 varlol3
  6962. BekommenName := varlol5
  6963. BekommenBetrag := varlol4
  6964. }
  6965. else If InStr(A_LoopReadLine, "versucht, " user " auszurauben")
  6966. {
  6967. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeit)
  6968. RobMichzeit := Zeit1 Zeit2 Zeit3
  6969. }
  6970. else If InStr(A_LoopReadLine,"" getplayername() " versucht")
  6971. {
  6972. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeitn)
  6973. Robzeit := Zeitn1 Zeitn2 Zeitn3
  6974. }
  6975. else If InStr(A_LoopReadLine, "bietet dir eine Heilung")
  6976. {
  6977. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeit)
  6978. Healzeit := Zeit1 Zeit2 Zeit3
  6979. }
  6980. chat := substr(A_LoopReadLine, 12)
  6981. if not(InStr(chat, "sagt:"))
  6982. {
  6983. If InStr(A_LoopReadLine, "sofort rechts ran")
  6984. {
  6985. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeit)
  6986. VorWarnungZeit := Zeit1 Zeit2 Zeit3
  6987. }
  6988. }
  6989. If InStr(A_LoopReadLine, "für 30 Sekunden unter Strom gesetzt")
  6990. {
  6991. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .* wurdest von (.*) für 30 Sekunden unter Strom gesetzt.",Zeit)
  6992. TazeZeit := Zeit1 Zeit2 Zeit3
  6993. TazeName := Zeit4
  6994. }
  6995. Loop, read,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  6996. {
  6997. last_line:=A_LoopReadLine
  6998. }
  6999. if InStr(last_line, "~n~~w~Restliche Haftstrafe:")
  7000. {
  7001. if RegExMatch(last_line, "Restliche Haftstrafe: (\d+) sec", ptime)
  7002. {
  7003. Organizer("Restliche Haftstrafe: " FormatSeconds(Ptime1))
  7004. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  7005. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  7006. }
  7007. }
  7008. else If InStr(A_LoopReadLine," in die Organisation eingeladen")
  7009. {
  7010. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] >> (.*) wurde von (.*) in die Organisation eingeladen.",orginvite)
  7011. OrgZeit := orginvite1 orginvite2 orginvite3
  7012. OrgName := orginvite4
  7013. }
  7014. else If InStr(A_LoopReadLine,"h, Blitzer:")
  7015. {
  7016. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] .* schneller als (.*)\((.*)\) .* Strafe: \$(.*), (.*)Punkte .* Blitzer\: (.*)\)",blitzer)
  7017. BlitzerZeit := Blitzer1 Blitzer2 Blitzer3
  7018. Blitzer := Blitzer8
  7019. BlitzerKMH := Blitzer5-Blitzer4
  7020. BlitzerPunkte := Blitzer7
  7021. }
  7022. else If InStr(A_LoopReadLine," hat dein Supportticket geöffnet.")
  7023. {
  7024. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] >>> Admin/Supporter (.*) hat dein Supportticket geöffnet. Per /sup kannst du jetzt direkt mit ihm/ihr schreiben.",admin)
  7025. IniWrite,%admin1%, Take-binder.ini, Optionen,Admin
  7026. SupZeit := admin1 admin2 admin3
  7027. SupName := admin4
  7028. }
  7029. else If InStr(A_LoopReadLine," hat die Mission erfolgreich beendet.")
  7030. {
  7031. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .* (.*) hat die Mission erfolgreich beendet. Belohnung: (.*) Einflusspunkte",xd)
  7032. MissionZeit := xd1 xd2 xd3
  7033. MissionName := xd4
  7034. MissionPunkte := xd5
  7035. }
  7036. else If InStr(A_LoopReadLine," hat dir eine Einlieferung für")
  7037. {
  7038. regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Einweisung)
  7039. EinweisungZeit := Einweisung1 Einweisung2 Einweisung3
  7040. }
  7041. else If InStr(A_LoopReadLine,"] Du hast folgendes Verbrechen begangen:")
  7042. {
  7043. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du hast folgendes Verbrechen begangen: \[(.*)\], Zeuge: (.*)", reason)
  7044. WantedGrund := reason1 reason2 reason3
  7045. Grund:= reason4
  7046. Zeuge:= reason5
  7047. }
  7048. else If InStr(A_LoopReadLine,"] * Aktuelles Wantedlevel:")
  7049. {
  7050. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Aktuelles Wantedlevel: (.*)" ,wanted)
  7051. WantedZeit := wanted1 wanted2 wanted3
  7052. Wanteds:= wanted4
  7053. }
  7054. else if instr(A_LoopReadLine,"hat sich in deine Polizeiakte gehackt")
  7055. {
  7056. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] (.*) hat sich in deine Polizeiakte gehackt und (.*) Wanteds entfernt.", hacker)
  7057. HackerZeit := hacker1 hacker2 hacker3
  7058. Hackername:=hacker4
  7059. Hackerwanteds:=hacker5
  7060. NeuWanted:=Wanteds-Hackerwanteds
  7061. Wanteds:=NeuWanted
  7062. }
  7063. else if Instr(A_LoopReadLine,"hat dein Beschusswanted gelöscht. Grund:")
  7064. {
  7065. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat dein Beschusswanted gelöscht. Grund: (.*)", wclear)
  7066. WantedClearZeit := wclear1 wclear2 wclear3
  7067. Wanteds-=2
  7068. grund:=wclear5
  7069. }
  7070. else if(Instr(A_LoopReadLine,"] * Officer") && Instr(A_LoopReadLine,"hat dir") && Instr(A_LoopReadLine,"Wanted gelöscht. Grund:"))
  7071. {
  7072. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat dir (.*) Wanted gelöscht. Grund: (.*)", wanclear)
  7073. WanClearZeit := wanclear1 wanclear2 wanclear3
  7074. Wanteds-=wanclear5
  7075. grund:=wanclear6
  7076. }
  7077. else if(Instr(A_LoopReadLine,"] * Officer") && Instr(A_LoopReadLine,"hat dir") && Instr(A_LoopReadLine,"Wanteds gelöscht. Grund:"))
  7078. {
  7079. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat dir (.*) Wanteds gelöscht. Grund: (.*)", wan2clear)
  7080. Wan2ClearZeit := wan2clear1 wan2clear2 wan2clear3
  7081. Wanteds-=wan2clear5
  7082. w2Grund:=wan2clear6
  7083. }
  7084. else if Instr(A_LoopReadLine,"Sekunden eingesperrt. Kaution: nicht möglich")
  7085. {
  7086. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Du wurdest von (.*) für (.*) Sekunden eingesperrt. Kaution: nicht möglich",arrestknast)
  7087. ArrestZeit := arrestknast1 arrestknast2 arrestknast3
  7088. ArrestName := Arrestknast4
  7089. }
  7090. else if Instr(A_LoopReadLine,"Sekunden eingesperrt und verlierst wegen Flucht und Kill durch einen Polizist")
  7091. {
  7092. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\].* Du wurdest für (.*) Sekunden eingesperrt und verlierst wegen Flucht und Kill durch einen Polizist \$(.*).",arrestdown)
  7093. StringReplace, VarBack, arrestdown4, .
  7094. ArrestDownZeit := arrestdown1 arrestdown2 arrestdown3
  7095. arrestcop:= varback
  7096. Organizer("" arrestdownzeit "")
  7097. }
  7098. else If InStr(A_LoopReadLine, "bietet dir eine Heilung")
  7099. {
  7100. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\].*Arzt (.*) bietet .* für \$(.*) an.*" ,heal)
  7101. HealZeit := heal1 heal2 heal3
  7102. HealName := heal4
  7103. HealPreis := Heal5
  7104. }
  7105. else If InStr(line, "Ph:")
  7106. {
  7107. RegExMatch(line, "Name: (.*), Ph: (.*)" ,num)
  7108. LastNum:= num2
  7109. }
  7110. else If InStr(line, "] Werbung: ")
  7111. {
  7112. RegExMatch(line, ", Kontakt: (.*) Tel: (.*)" ,ad)
  7113. adname := ad1
  7114. ADSMS := ad2
  7115. }
  7116. else If InStr(A_LoopReadLine,"bietet dir die Betankung deines Autos mit")
  7117. {
  7118. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\].* KFZ-Mechaniker (.*) bietet dir die Betankung deines Autos mit (.*) Litern für (.*) an. Gib '/accept refill' ein,",mecha)
  7119. MechaZeit := mecha1 mecha2 mecha3
  7120. }
  7121. else If InStr(A_LoopReadLine,"bietet dir eine Reparatur deines Wagens für")
  7122. {
  7123. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\].* KFZ-Mechaniker (.*) bietet dir eine Reparatur deines Wagens für (.*) an. Gib '/accept repair' ein, um anzunehmen.",mecharef)
  7124. MechaRefZeit := mecharef1 mecharef2 mecharef3
  7125. }
  7126. else If InStr(A_LoopReadLine," bietet dir einen Hotdog für")
  7127. {
  7128. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\].*Verkäufer (.*) bietet .* für \$(.*) an.*",AutoHDZeit)
  7129. AutoHDZeit := AutoHDZeit1 AutoHDZeit2 AutoHDZeit3
  7130. }
  7131. else If InStr(A_LoopReadLine,"einen Hotdog verkauft.")
  7132. {
  7133. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* (.*) hat (.*) einen Hotdog verkauft.",hd)
  7134. HDZeit := hd1 hd2 hd3
  7135. }
  7136. else If InStr(A_LoopReadLine, "Sender:")
  7137. {
  7138. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] SMS: (.*), Sender: (.*) \((.*)\)" ,sms)
  7139. SMSZeit:=sms1 sms2 sms3
  7140. }
  7141. else If InStr(A_LoopReadLine, "] Anwalt") && InStr(A_LoopReadLine,"hat dich aus dem Gefgnis geholt")
  7142. {
  7143. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Anwalt (.*) hat dich aus dem Gefägnis geholt." ,deinanwalt)
  7144. AnwaltZeit:=deinanwalt1 deinanwalt2 deinanwalt3
  7145. Anwalt:=deinanwalt4
  7146. }
  7147. else If InStr(A_LoopReadLine,"] Du hast schon zehn Pizzen dabei, mehr kannst du nicht tragen.")
  7148. {
  7149. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du hast schon zehn Pizzen dabei, mehr kannst du nicht tragen." ,pizzaZeit)
  7150. TakepizzaZeit:=pizzaZeit1 pizzaZeit2 pizzaZeit3
  7151. }
  7152. else If InStr(A_LoopReadLine,"] Du bist nicht an der Theke eines Well Stacked Pizza")
  7153. {
  7154. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du bist nicht an der Theke eines Well Stacked Pizza" ,pizza2Zeit)
  7155. Takepizza2Zeit:=pizza2Zeit1 pizza2Zeit2 pizza2Zeit3
  7156. }
  7157. else If InStr(A_LoopReadLine,"] Du hast deine Schuld gegenber der Gesellschaft beglichen.")
  7158. {
  7159. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du hast deine Schuld gegenber der Gesellschaft beglichen" ,frei)
  7160. FreiheitZeit:= frei1 frei2 frei3
  7161. }
  7162. else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Benötige Backup in") && Instr(A_LoopReadLine, ". HP:")
  7163. {
  7164. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Benötige Backup in (.*). HP: (.*). \)\)", help)
  7165. HelpZeit := help1 help2 help3
  7166. HelpName := help5
  7167. HelpCity := help6
  7168. HelpHP := help7
  7169. }
  7170. else If (Instr(A_LoopReadLine, "] * Officer") && Instr(A_LoopReadLine, "hat deine Haftstrafe korrigiert: noch"))
  7171. {
  7172. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat deine Haftstrafe korrigiert: noch (\d+) Minuten im Knast",mink)
  7173. StringReplace, VarBack, mink5, .
  7174. KnastKorrektur := mink1 mink2 mink3
  7175. }
  7176. else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Brauche dringend Verstrkung in")
  7177. {
  7178. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Brauche dringend Verstrkung in (.*). HP (.*). \)\)", he1p)
  7179. He1pZeit := he1p1 he1p2 he1p3
  7180. He1pName := he1p5
  7181. He1pCity := he1p6
  7182. }
  7183. else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Benötige Unterstützung in")
  7184. {
  7185. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Benötige Unterstützung in (.*). HP: (.*). \)\)", heIp)
  7186. HeIpZeit := heIp1 heIp2 heIp3
  7187. HeIpName := heIp5
  7188. HeIpCity := heIp6
  7189. }
  7190. else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Ich stehe mit") && Instr(A_LoopReadLine, "HP unter Beschuss in")
  7191. {
  7192. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Ich stehe mit (.*) HP unter Beschuss in (.*). \)\)", beschuss)
  7193. BeschussZeit := beschuss1 beschuss2 beschuss3
  7194. BeschussName := beschuss5
  7195. BeschussHP := beschuss6
  7196. BeschussCity := beschuss7
  7197. }
  7198. if(Instr(A_LoopReadLine, "Munition für"))
  7199. {
  7200. RegExMatch(A_LoopReadLine, "Du hast dir (.*) mit (.*) Munition für \$(.*) \((.*)\) (.*)", preis)
  7201. StringReplace, waffengelder, preis3, .
  7202. IniRead, WaffengeldTotal, Ausgaben/Ausgaben.ini,Waffengeld, WaffengeldTotal
  7203. IniRead, DWaffengeld, Ausgaben/Ausgaben.ini, Ausgaben vom %TagMonatYahr%.ini,Waffengeld, DWaffengeld
  7204. IniRead, MWaffengeld, Ausgaben/Ausgaben.ini/Ausgaben im %MonatYahr%.ini,Waffengeld, MWaffengeld
  7205. WaffengeldTotal += %waffengelder%
  7206. DWaffengeld += %waffengelder%
  7207. MWaffengeld += %waffengelder%
  7208. Iniwrite, %WaffengeldTotal%, Ausgaben/Ausgaben.ini,Waffengeld, WaffengeldTotal
  7209. Iniwrite, %DWaffengeld%, Ausgaben/Ausgaben.ini, Ausgaben vom %TagMonatYahr%.ini,Waffengeld, DWaffengeld
  7210. Iniwrite, %MWaffengeld%, Ausgaben/Ausgaben.ini/Ausgaben im %MonatYahr%.ini,Waffengeld, MWaffengeld
  7211. }
  7212. if(instr(A_LoopReadLine, "Der Spieler ist in"))
  7213. {
  7214. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Der Spieler ist in (.*)", Kun)
  7215. KunZeit := kun1 kun2 kun3
  7216. findPosition:= kun4
  7217. }
  7218. else if(instr(A_LoopReadLine," überwiesen bekommen"))
  7219. {
  7220. RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Sie haben \$(.*) von (.*) überwiesen bekommen. Grund: (.*)",Überweisung)
  7221. ÃœberweisungZeit := Ãœberweisung1 Ãœberweisung2 Ãœberweisung3
  7222. ÃœberweisungName := Ãœberweisung5
  7223. ÃœberweisungGrund := Ãœberweisung6
  7224. ÃœberweisungBetrag := Ãœberweisung4
  7225. }
  7226. else if(InStr(A_LoopReadLine, "Fabrizio.MeraZ: hi."))
  7227. {
  7228. RegExMatch(A_LoopReadLine, "i)[(.*):(.*):(.*)] \*\* Underboss Fabrizio.MeraZ: hi. \)\) \*\*", fabianhi)
  7229. FabianSMS := fabianhi1 fabianhi2 fabianhi3
  7230. }
  7231. }
  7232. }
  7233. If (ZeitVar10 <> TodZeit)
  7234. {
  7235. Deaths++
  7236. streak:=0
  7237. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Drogen
  7238. Iniwrite,26, TaKe-Binder.ini,Drogen, Drogenlimit
  7239. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Used
  7240. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  7241. if(ReadStats(text))
  7242. {
  7243. level := keyForEntry(text, "Level")
  7244. KillsDM := keyForEntry(text, "Kills \(DM\)")
  7245. death := keyForEntry(text, "Tode")
  7246. payday := keyForEntry(text, "Minuten seit Payday")
  7247. bank := keyForEntry(text, "Bank")
  7248. }
  7249. Organizer("Tode: " death " | Heute: " tDeaths "")
  7250. Organizer("Drogen/Killstreak zähler wurde zurückgesetzt")
  7251. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7252. }
  7253. else if (ZeitVar21 <> WantedGrund)
  7254. {
  7255. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7256. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7257. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7258. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7259. if(BlockChatInput=1)
  7260. return
  7261. if(wMSG == 1)
  7262. SendChat("Neues Wanted erhalten: Aktuelles Wantedlevel: (" wanteds ") - Grund (" grund ") - Zeuge (" zeuge ")")
  7263. if(wSound == 1)
  7264. SoundBeep,
  7265. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7266. }
  7267. else If (ZeitVar11 <> WantedZeit)
  7268. {
  7269. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7270. if(BlockChatInput=1)
  7271. return
  7272. if(wMSG == 1)
  7273. SendChat("Ich habe nun (" Wanteds ") Wanteds.")
  7274. if(wSound == 1)
  7275. SoundBeep,
  7276. if(Wanteds == 0)
  7277. {
  7278. Wanteds:= 0
  7279. Grund:= "Unbekannt"
  7280. Zeuge:= "Niemand"
  7281. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7282. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7283. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7284. }
  7285. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7286. }
  7287. else If (ZeitVar12 <> HackerZeit)
  7288. {
  7289. if(BlockChatInput=1)
  7290. return
  7291. if(wMSG == 1)
  7292. SendChat("Mir wurden soeben (" Hackerwanteds ") Wanteds gehackt. Wantedlevel: (" Wanteds ")")
  7293. if(Wanteds == 0)
  7294. {
  7295. Grund:= "Unbekannt"
  7296. Zeuge:= "Niemand"
  7297. Wanteds:= 0
  7298. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7299. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7300. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7301. }
  7302. if(wSound == 1)
  7303. {
  7304. SoundBeep,
  7305. }
  7306. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7307. }
  7308. else If (ZeitVar13 <> WantedClearZeit)
  7309. {
  7310. Iniwrite,%Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7311. if(BlockChatInput=1)
  7312. return
  7313. if(wMSG == 1)
  7314. SendChat("Mir wurden soeben 2 Wanteds gelöscht. Grund: (" grund ")")
  7315. if(wMSG == 1)
  7316. {
  7317. if(wanteds = 1)
  7318. sendchat("Ich habe nun (1) Wanted")
  7319. else
  7320. sendchat("Ich habe nun (" wanteds ") Wanteds ")
  7321. if(Wanteds == 0)
  7322. {
  7323. Grund:= "Unbekannt"
  7324. Zeuge:= "Niemand"
  7325. Wanteds:= 0
  7326. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7327. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7328. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7329. }
  7330. if(wSound == 1)
  7331. {
  7332. SoundBeep,
  7333. }
  7334. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7335. }
  7336. }
  7337. else If (ZeitVar28 <> Wan2ClearZeit)
  7338. {
  7339. if(BlockChatInput=1)
  7340. return
  7341. if(wMSG == 1)
  7342. SendChat("Mir wurde soeben (" wan2clear5 ") Wanted gelöscht. Grund: (" w2Grund ")")
  7343. if(wMSG == 1)
  7344. SendChat("Aktuelles Wantedlevel: (" Wanteds ")")
  7345. if(Wanteds == 0)
  7346. {
  7347. Grund:= "Unbekannt"
  7348. Zeuge:= "Niemand"
  7349. Wanteds:= 0
  7350. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7351. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7352. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7353. }
  7354. if(wSound == 1)
  7355. {
  7356. SoundBeep,
  7357. }
  7358. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7359. }
  7360. else If (ZeitVar14 <> WanClearZeit)
  7361. {
  7362. if(BlockChatInput=1)
  7363. return
  7364. if(wMSG == 1)
  7365. SendChat("Mir wurden soeben (" wanclear5 ") Wanteds gelöscht. Grund: (" grund ")")
  7366. SendChat("Wantedlevel: (" Wanteds ")")
  7367. if(Wanteds == 0)
  7368. {
  7369. Grund:= "Unbekannt"
  7370. Zeuge:= "Niemand"
  7371. Wanteds:= 0
  7372. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7373. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7374. Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7375. }
  7376. if(wSound == 1)
  7377. {
  7378. SoundBeep,
  7379. }
  7380. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7381. }
  7382. else If (ZeitVar15 <> ArrestZeit)
  7383. {
  7384. if(BlockChatInput=1)
  7385. return
  7386. SendChat("/f Wurde von " arrestname " für " Round((arrestknast5 / 60),0) " Minuten ins " lastcity " PD eingesperrt")
  7387. Wanteds:= 0
  7388. Grund:= "Unbekannt"
  7389. Zeuge:= "Niemand"
  7390. Iniwrite, %Unbekannt%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7391. Iniwrite, %Niemand%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7392. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7393. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7394. }
  7395. else If (ZeitVar16 <> ArrestDownZeit)
  7396. {
  7397. if(BlockChatInput=1)
  7398. return
  7399. sendchat("/f Wurde von einem Cop erschossen und sitze für " Round((arrestcop / 60),0) " Minuten im " lastcity " PD")
  7400. Wanteds:= 0
  7401. Grund:= "Unbekannt"
  7402. Zeuge:= "Niemand"
  7403. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7404. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7405. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7406. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7407. }
  7408. else If (ZeitVar17 <> HealZeit)
  7409. {
  7410. if(BlockChatInput=1)
  7411. return
  7412. if(mAuto == 1)
  7413. SendChat("/accept Heal")
  7414. if(mTHX == 1)
  7415. SendChat("Vielen Dank " heal4 ", für die Heilung ")
  7416. if(mTGC == 1)
  7417. SendChat("/pay " healname " " mTG)
  7418. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7419. }
  7420. else if (ZeitVar18 <> MechaZeit)
  7421. {
  7422. if(BlockChatInput=1)
  7423. return
  7424. if(mechREF == 1)
  7425. SendChat("/accept refill")
  7426. if(mechTHX == 1)
  7427. SendChat("Vielen Dank, " mecha4)
  7428. if(mechTGC == 1)
  7429. SendChat("/pay " mecha4 " " mechTG)
  7430. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7431. }
  7432. else if (ZeitVar19 <> MechaRefZeit)
  7433. {
  7434. if(BlockChatInput=1)
  7435. return
  7436. if(mechREP == 1)
  7437. SendChat("/accept repair")
  7438. if(mechTHX == 1)
  7439. SendChat("Vielen Dank, " mecharef4)
  7440. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7441. }
  7442. else if (ZeitVar88 <> AutoHD)
  7443. {
  7444. if(BlockChatInput=1)
  7445. return
  7446. if(AutoHD == 1)
  7447. If (GetPlayerHealth() <= 90)
  7448. {
  7449. SendChat("/Accept Hotdog")
  7450. SendChat("Vielen Dank " AutoHDZeit4 " für den Hotdog zum Preis von $" AutoHDZeit5 "!" )
  7451. }
  7452. else
  7453. {
  7454. SendChat("Vielen Dank " AutoHDZeit4 ", aber ich bin schon satt !")
  7455. }
  7456. }
  7457. else if (ZeitVar20 <> HDZeit)
  7458. {
  7459. EigenerName:=GetPlayerName()
  7460. if(EigenerName == hd4)
  7461. {
  7462. SetTimer,Hotdog,-29000
  7463. }
  7464. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7465. }
  7466. else if(ZeitVar23 <> SMSZeit)
  7467. {
  7468. myName:=GetPlayerName()
  7469. if(sms5 != myName)
  7470. {
  7471. IniWrite,%sms5%,TaKe-Binder.ini,SMS,Name
  7472. IniWrite,%sms6%,TaKe-Binder.ini,SMS,Tel
  7473. SoundPlay, sms.wav
  7474. }
  7475. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7476. }
  7477. else if(ZeitVar24 <> AnwaltZeit)
  7478. {
  7479. Grund:= "Unbekannt"
  7480. Zeuge:= "Niemand"
  7481. Wanteds:= 0
  7482. Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
  7483. Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
  7484. Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
  7485. Organizer("Anwalt {00FF04}" Anwalt " {FFFFFF}hat dich aus dem Knast geholt")
  7486. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7487. }
  7488. else if(ZeitVar25 <> TakepizzaZeit)
  7489. {
  7490. SetTimer,Takepizza,off
  7491. Organizer("Takepizza gestoppt!")
  7492. tp:=0
  7493. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7494. }
  7495. else if(ZeitVar26 <> Takepizza2Zeit)
  7496. {
  7497. SetTimer,Takepizza,off
  7498. Organizer("Takepizza gestoppt!")
  7499. tp:=0
  7500. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7501. }
  7502. else if(ZeitVar27 <> FreiheitZeit)
  7503. {
  7504. if(BlockChatInput=1)
  7505. return
  7506. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  7507. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  7508. SendChat("/f wurde aus dem Prison/Knast entlassen. Standort: " City ", " Zone "")
  7509. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7510. }
  7511. else if(ZeitVar29 <> HelpZeit)
  7512. {
  7513. ownname:=GetPlayerName()
  7514. If(HelpName != ownname)
  7515. {
  7516. Organizer("{DF0101}" HelpName " benötigt Backup in " HelpCity " und hat noch " HelpHP " HP")
  7517. SoundBeep,,
  7518. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7519. }
  7520. }
  7521. else if(ZeitVar30 <> KnastKorrektur)
  7522. {
  7523. if(BlockChatInput=1)
  7524. return
  7525. SendChat("/f Haftstrafe von " mink4 " korrigiert: noch " Varback " Minuten im Knast")
  7526. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7527. }
  7528. else if(ZeitVar31 <> He1pZeit)
  7529. {
  7530. ownname:=GetPlayerName()
  7531. If(He1pName != ownname)
  7532. {
  7533. Organizer("{DF0101}" He1pName " benötigt Backup in " He1pCity "")
  7534. SoundBeep,,
  7535. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7536. }
  7537. }
  7538. else if(ZeitVar32 <> BeschussZeit)
  7539. {
  7540. ownname:=GetPlayerName()
  7541. If(BeschussName != ownname)
  7542. {
  7543. Organizer("{DF0101}" BeschussName " steht in " BeschussCity " unter Beschuss, und hat noch " BeschussHP " HP")
  7544. SoundBeep,,
  7545. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7546. }
  7547. }
  7548. else if(ZeitVar34 <> HeIpZeit)
  7549. {
  7550. ownname:=GetPlayerName()
  7551. If(HeIpName != ownname)
  7552. {
  7553. Organizer("{DF0101}" HeIpName " benötigt Backup in " HeIpCity " und hat noch " heIp7 " HP")
  7554. SoundBeep,,
  7555. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7556. }
  7557. }
  7558. else if(ZeitVar35 <> FabianSMS)
  7559. {
  7560. SendChat("/sms 4448 Hallo")
  7561. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7562. }
  7563. else if(ZeitVar36 <> PayZeit)
  7564. {
  7565. Organizer("Du hast {5B89CB}" PayName "{FFFFFF} , {5B89CB}" PayBetrag " Dollar{FFFFFF} gegeben !")
  7566. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7567. }
  7568. else if(ZeitVar37 <> BekommenZeit)
  7569. {
  7570. Organizer("Du hast von {5B89CB}" bekommenname "{FFFFFF} , {5B89CB}" bekommenbetrag " Dollar{FFFFFF} bekommen !")
  7571. Sendchat("Danke " bekommenname ", für die " bekommenbetrag " Dollar")
  7572. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7573. }
  7574. else if(ZeitVar38 <> OrgZeit)
  7575. {
  7576. SendChat("/g Willkommen @" orgname " in der Organisation ")
  7577. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7578. }
  7579. else if(ZeitVar39 <> BlitzerZeit)
  7580. {
  7581. Organizer("Du wurdest vom {5B89CB}" Blitzer "-Blitzer {FFFFFF}geblitzt! {5B89CB}" BlitzerKMH " {FFFFFF}KM/H zu schnell | Punkte: {5B89CB}" BlitzerPunkte "")
  7582. if(wSound == 1)
  7583. SoundBeep,
  7584. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7585. }
  7586. else if(ZeitVar40 <> SupZeit)
  7587. {
  7588. user := getplayername()
  7589. SendChat("/sup Hallo, [RGN] Team-Mitglied @" SupName ".")
  7590. sleep 100
  7591. SendChat("/sup Mein Name ist " user " - können Sie mir helfen?")
  7592. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7593. }
  7594. else if(ZeitVar41 <> MissionZeit)
  7595. {
  7596. user := getplayername()
  7597. sendchat("/f Die Mission wurde erfolgreich durch " MissionName " beendet. (" MissionPunkte " Punkte)")
  7598. }
  7599. else if(ZeitVar42 <> EinweisungZeit)
  7600. {
  7601. SendChat("Danke für die Einweisung, Herr Doktor")
  7602. sleep 500
  7603. SendChat("/accept einweisung")
  7604. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7605. }
  7606. else if (ZeitVar43 <> KunZeit)
  7607. {
  7608. iniread, fdurchgabe, Take-binder.ini, fdurchgabe, fdurchgabe
  7609. if(fd = true)
  7610. sendchat("/f Der Gegner befindet sich in " findposition)
  7611. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7612. }
  7613. else if (ZeitVar44 <> ÃœberweisungZeit)
  7614. {
  7615. Organizer("Ãœberweisung von {5B89CB}" ÃœberweisungName " {FFFFFF}erhalten: {5B89CB}$" ÃœberweisungBetrag " {FFFFFF}Grund: {5B89CB}" ÃœberweisungGrund "")
  7616. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7617. }
  7618. else if (ZeitVar45 <> haus1)
  7619. {
  7620. if(haus1 != oldhaus1)
  7621. {
  7622. oldhaus1 := haus1
  7623. iniwrite, %haus1%, Take-binder.ini, Optionen, haus1
  7624. homespawn := 1
  7625. Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
  7626. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7627. }
  7628. oldbase1 := base1
  7629. }
  7630. else if (ZeitVar46 <> Base1)
  7631. {
  7632. if(base1 != oldbase1)
  7633. {
  7634. oldbase1 := base1
  7635. Organizer("Du spawnst nun in deiner Base ")
  7636. iniwrite, %base1%, Take-binder.ini, Optionen, base1
  7637. homespawn := 0
  7638. Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
  7639. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7640. }
  7641. }
  7642. else if (ZeitVar47 <> RobMichzeit)
  7643. {
  7644. Organizer("Jemand versucht dich auszurauben. Renn weg !")
  7645. Sleep 1700
  7646. Organizer("»» 7 ««")
  7647. Sleep 1000
  7648. Organizer("»» 6 ««")
  7649. Sleep 1000
  7650. Organizer("»» 5 ««")
  7651. Sleep 1000
  7652. Organizer("»» 4 ««")
  7653. SoundBeep, 400, 200
  7654. Sleep 1000
  7655. Organizer("»» 3 ««")
  7656. SoundBeep, 500, 200
  7657. Sleep 1000
  7658. Organizer("»» 2 ««")
  7659. SoundBeep, 780, 200
  7660. Sleep 1000
  7661. Organizer("»» 1 ««")
  7662. SoundBeep, 880, 200
  7663. Sleep 700
  7664. Organizer("»» Countdown [ENDE] «« !")
  7665. SoundBeep, 1100, 950
  7666. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7667. }
  7668. else if (ZeitVar48 <> Robzeit)
  7669. {
  7670. Organizer("Du versuchst jemanden auszurauben. Bleib dran !")
  7671. Sleep 1700
  7672. Organizer("»» 7 ««")
  7673. Sleep 1000
  7674. Organizer("»» 6 ««")
  7675. Sleep 1000
  7676. Organizer("»» 5 ««")
  7677. Sleep 1000
  7678. Organizer("»» 4 ««")
  7679. SoundBeep, 400, 200
  7680. Sleep 1000
  7681. Organizer("»» 3 ««")
  7682. SoundBeep, 500, 200
  7683. Sleep 1000
  7684. Organizer("»» 2 ««")
  7685. SoundBeep, 780, 200
  7686. Sleep 1000
  7687. Organizer("»» 1 ««")
  7688. SoundBeep, 880, 200
  7689. Sleep 700
  7690. Organizer("»» Countdown [ENDE] «« !")
  7691. SoundBeep, 1100, 950
  7692. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7693. }
  7694. else if (ZeitVar49 <> Healzeit)
  7695. {
  7696. SendChat("/accept heal")
  7697. SendChat("Vielen Dank!")
  7698. }
  7699. else if (ZeitVar50 <> VorWarnungZeit)
  7700. {
  7701. Spamtime := A_Hour ":" A_Min ":" A_Sec
  7702. SoundPlay, vorwarnung.wav
  7703. Organizer("{5B89CB} Organizer {FFFFFF}Vorwarnung registriert !")
  7704. }
  7705. if (ZeitVar51 <> TazeZeit)
  7706. {
  7707. If (IsPlayerInAnyInterior() == 0)
  7708. {
  7709. SendChat("/f >> Wurde von " tazename " in " zone " getazed ! <<")
  7710. }
  7711. else
  7712. If (IsPlayerInAnyInterior() ==1)
  7713. {
  7714. SendChat("/f >> Wurde von " tazename " in einem Interior getazed ! <<")
  7715. }
  7716. }
  7717. return
  7718. warten2:
  7719. if(IsPlayerInAnyVehicle() = 1)
  7720. {
  7721. settimer, warten2, off
  7722. sleep 50
  7723. SendChat("/engine")
  7724. SendChat("/lock")
  7725. }
  7726. return
  7727. Piepen:
  7728. SoundBeep, 400, 200
  7729. Sleep, 900
  7730. SoundBeep, 500, 200
  7731. Sleep, 900
  7732. SoundBeep, 780, 200
  7733. Sleep, 900
  7734. SoundBeep, 880, 200
  7735. Sleep, 900
  7736. bctime := 0
  7737. SoundBeep, 1100, 950
  7738. Sleep, 50
  7739. Settimer, Piepen, off
  7740. return
  7741. endtimer:
  7742. endtime--
  7743. if(endtime == 1)
  7744. {
  7745. spamtime =
  7746. Organizer("Du kannst wieder gehackt werden!")
  7747. settimer, endtimer, off
  7748. }
  7749. return
  7750. aktiv:
  7751. SendChat("Tarnung aktiv!")
  7752. sleep 15000
  7753. Organizer("Deine Tarnung ist nur noch 30 Sekunden aktiv!")
  7754. sleep 15000
  7755. Organizer("Deine Tarnung ist nur noch 15 Sekunden aktiv!")
  7756. sleep 14000
  7757. SendChat("Tarnung erloschen!")
  7758. settimer, aktiv, off
  7759. return
  7760. Carlowdl:
  7761. if(isPlayerInAnyVehicle() == 0)
  7762. {
  7763. return
  7764. }
  7765. Cardl := GetVehicleHealth()
  7766. If( Cardl < 350)
  7767. {
  7768. if(beep == 1)
  7769. SoundBeep
  7770. Organizer("Dein Fahrzeug hat LOW-DL (" GetVehicleHealth() "DL)")
  7771. SetTimer, Carlowdl, 120000
  7772. }
  7773. Suspend Off
  7774. return
  7775. 250dl:
  7776. if(isPlayerInAnyVehicle() == 0)
  7777. {
  7778. return
  7779. }
  7780. Cardl := GetVehicleHealth()
  7781. If( Cardl < 251)
  7782. {
  7783. SoundBeep
  7784. Organizer("Hau rein du Unfähiger dein Fahrzeug brennt :(")
  7785. Organizer("»» 5 ««")
  7786. Sleep 1000
  7787. Organizer("»» 4 ««")
  7788. Sleep 1000
  7789. Organizer("»» 3 ««")
  7790. Sleep 1000
  7791. Organizer("»» 2 ««")
  7792. Sleep 1000
  7793. Organizer("»» 1 ««")
  7794. Sleep 700
  7795. Organizer("»» Fahrzeug ist nun explodiert! ««")
  7796. SetTimer, 250dl, 15000
  7797. }
  7798. Suspend Off
  7799. return
  7800. mordmeldung:
  7801. if(ReadStats(text))
  7802. {
  7803. level := keyForEntry(text, "Level")
  7804. KillsDM := keyForEntry(text, "Kills \(DM\)")
  7805. death := keyForEntry(text, "Tode")
  7806. payday := keyForEntry(text, "Minuten seit Payday")
  7807. bank := keyForEntry(text, "Bank")
  7808. }
  7809. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  7810. kills := kills1
  7811. tKills +=1
  7812. streak+=1
  7813. MonatKills +=1
  7814. {
  7815. If(IsPlayerInAnyInterior()==1)
  7816. {
  7817. SendChat("/f " FSpruch " in einem Interior | Kills: " Kills " - Heute: " tKills)
  7818. }
  7819. else
  7820. {
  7821. SendChat("/f " FSpruch " in " zone " | Kills: " Kills " - Heute: " tKills)
  7822. }
  7823. If(ChatKillspruchmain = 1)
  7824. {
  7825. Sleep, 500
  7826. gosub, RandomSpruch
  7827. }
  7828. if(Killstreak == 1)
  7829. {
  7830. if(streak=3)
  7831. {
  7832. SendChat("/f »» 3er «« | Killstreak erreicht!")
  7833. }
  7834. else if(streak=6)
  7835. {
  7836. SendChat("/f »» 6er «« | Killstreak erreicht!")
  7837. }
  7838. else if(streak=9)
  7839. {
  7840. SendChat("/f >> 9er «« | Killstreak erreicht!")
  7841. }
  7842. else if(streak=12)
  7843. {
  7844. SendChat("/f >> 12er «« | Killstreak erreicht!")
  7845. }
  7846. else if(streak=15)
  7847. {
  7848. SendChat("/f >> 15er «« | Killstreak erreicht!")
  7849. }
  7850. else if(streak=18)
  7851. {
  7852. SendChat("/f >> 18er «« | Killstreak erreicht!")
  7853. }
  7854. else if(streak=21)
  7855. {
  7856. SendChat("/f >> 21er «« | Killstreak erreicht!")
  7857. }
  7858. else if(streak=24)
  7859. {
  7860. SendChat("/f >> 24er «« | Killstreak erreicht!")
  7861. }
  7862. }
  7863. }
  7864. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills,tkills
  7865. StringReplace, VarBack, Kills, .
  7866. StringReplace, VarBack1, Tode, .
  7867. Iniwrite,%MonatKills%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  7868. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  7869. IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  7870. IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
  7871. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  7872. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  7873. KD := gangwarkills / tode
  7874. Organizer("Tages Kills: {5B89CB}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {5B89CB}" kills "{FF6E00}|{FFFFFF} K/D: {5B89CB}" KD "")
  7875. sleep, 3100
  7876. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  7877. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  7878. settimer, mordmeldung, off
  7879. return
  7880. sterne:
  7881. If(IsPlayerInRangeOfPoint(2819.41, 1639.75, 11.17, 15))
  7882. {
  7883. secs := 45
  7884. SetTimer, aktiv, 1000
  7885. if(beep == 1)
  7886. settimer, Piepen, 40000
  7887. }
  7888. If(IsPlayerInRangeOfPoint(266.60, 2880.35, 13.34, 5))
  7889. {
  7890. secs := 45
  7891. SetTimer, aktiv, 1000
  7892. if(beep == 1)
  7893. settimer, Piepen, 40000
  7894. }
  7895. If(IsPlayerInRangeOfPoint(-1666.44, 2543.64, 85.53, 10))
  7896. {
  7897. secs := 45
  7898. SetTimer, aktiv, 1000
  7899. if(beep == 1)
  7900. settimer, Piepen, 40000
  7901. }
  7902. If(IsPlayerInRangeOfPoint(-410.79, 1338.31, 13.54, 4))
  7903. {
  7904. secs := 45
  7905. SetTimer, aktiv, 1000
  7906. if(beep == 1)
  7907. settimer, Piepen, 40000
  7908. }
  7909. If(IsPlayerInRangeOfPoint(-2105.30, 893.97, 77.05, 3))
  7910. {
  7911. secs := 45
  7912. SetTimer, aktiv, 1000
  7913. if(beep == 1)
  7914. settimer, Piepen, 40000
  7915. }
  7916. If(IsPlayerInRangeOfPoint(-1856.21, -1664.16, 22.42, 10))
  7917. {
  7918. secs := 45
  7919. SetTimer, aktiv, 1000
  7920. if(beep == 1)
  7921. settimer, Piepen, 40000
  7922. }
  7923. If(IsPlayerInRangeOfPoint(-5.15, -2515.81, 37.01, 5))
  7924. {
  7925. secs := 45
  7926. SetTimer, aktiv, 1000
  7927. if(beep == 1)
  7928. settimer, Piepen, 40000
  7929. }
  7930. If(IsPlayerInRangeOfPoint(2351.66, -652.35, 128.40, 10))
  7931. {
  7932. secs := 45
  7933. SetTimer, aktiv, 1000
  7934. if(beep == 1)
  7935. settimer, Piepen, 40000
  7936. }
  7937. If(IsPlayerInRangeOfPoint(482.20, -256.24, 11.20, 5))
  7938. {
  7939. secs := 45
  7940. SetTimer, aktiv, 1000
  7941. if(beep == 1)
  7942. settimer, Piepen, 40000
  7943. }
  7944. return
  7945. Knastzeit:
  7946. knastzeit--
  7947. if(knastzeit == 0)
  7948. {
  7949. SetTimer, knastzeit, Off
  7950. TextSetString(wantedov, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: " zeuge "`nVorwarnung: " spamtime)
  7951. }
  7952. return
  7953. schaden:
  7954. If(Started == 0)
  7955. {
  7956. Healmoin := GetPlayerHealth()
  7957. If(Healmoin > 0)
  7958. {
  7959. SendChat("/f waLker Keybinder gestartet")
  7960. pID := GetId()
  7961. If(pID == "88")
  7962. {
  7963. Organizer("Glückwunsch du hast ID 88")
  7964. }
  7965. If(pID == "69")
  7966. {
  7967. Organizer("Glückwunsch du hast ID 69")
  7968. }
  7969. If(pID == "187")
  7970. {
  7971. Organizer("Glückwunsch du hast ID 187")
  7972. }
  7973. Started := 1
  7974. }
  7975. }
  7976. PlayerHealth := GetPlayerHealth()
  7977. PlayerHealthOld -= 5
  7978. lastDamage := 0
  7979. if(PlayerHealth < PlayerHealthOld)
  7980. {
  7981. PlayerHealthOld += 5
  7982. PlayerHealthOld -= PlayerHealth
  7983. lastDamage := PlayerHealthOld
  7984. if(PlayerHealthOld = 8)
  7985. {
  7986. wep = MP5
  7987. }
  7988. if(PlayerHealthOld = 10)
  7989. {
  7990. wep = M4
  7991. }
  7992. if(PlayerHealthOld = 46)
  7993. {
  7994. wep = Deagle
  7995. }
  7996. if(PlayerHealthOld = 41)
  7997. {
  7998. wep = Sniper
  7999. }
  8000. if(PlayerHealthOld = 25)
  8001. {
  8002. wep = Rifle
  8003. }
  8004. if(PlayerHealthOld = 1)
  8005. {
  8006. wep = Sonstige
  8007. }
  8008. if(PlayerHealthOld = 2)
  8009. {
  8010. wep = Sonstige
  8011. }
  8012. if(PlayerHealthOld = 3)
  8013. {
  8014. wep = Sonstige
  8015. }
  8016. if(PlayerHealthOld = 4)
  8017. {
  8018. wep = Sonstige
  8019. }
  8020. if(PlayerHealthOld = 5)
  8021. {
  8022. wep = Sonstige
  8023. }
  8024. if(PlayerHealthOld = 6)
  8025. {
  8026. wep = Sonstige
  8027. }
  8028. if(PlayerHealthOld = 7)
  8029. {
  8030. wep = Sonstige
  8031. }
  8032. if(PlayerHealthOld = 9)
  8033. {
  8034. wep = Sonstige
  8035. }
  8036. if(PlayerHealthOld = 11)
  8037. {
  8038. wep = Sonstige
  8039. }
  8040. if(PlayerHealthOld = 12)
  8041. {
  8042. wep = Sonstige
  8043. }
  8044. if(PlayerHealthOld = 13)
  8045. {
  8046. wep = Sonstige
  8047. }
  8048. if(PlayerHealthOld = 14)
  8049. {
  8050. wep = Sonstige
  8051. }
  8052. if(PlayerHealthOld = 15)
  8053. {
  8054. wep = Sonstige
  8055. }
  8056. if(PlayerHealthOld = 16)
  8057. {
  8058. wep = Sonstige
  8059. }
  8060. if(PlayerHealthOld = 17)
  8061. {
  8062. wep = Sonstige
  8063. }
  8064. if(PlayerHealthOld = 18)
  8065. {
  8066. wep = Sonstige
  8067. }
  8068. if(PlayerHealthOld = 19)
  8069. {
  8070. wep = Sonstige
  8071. }
  8072. if(PlayerHealthOld = 20)
  8073. {
  8074. wep = Sonstige
  8075. }
  8076. if(PlayerHealthOld = 21)
  8077. {
  8078. wep = Sonstige
  8079. }
  8080. if(PlayerHealthOld = 22)
  8081. {
  8082. wep = Sonstige
  8083. }
  8084. if(PlayerHealthOld = 23)
  8085. {
  8086. wep = Sonstige
  8087. }
  8088. if(PlayerHealthOld = 24)
  8089. {
  8090. wep = Sonstige
  8091. }
  8092. if(PlayerHealthOld = 26)
  8093. {
  8094. wep = Sonstige
  8095. }
  8096. if(PlayerHealthOld = 27)
  8097. {
  8098. wep = Sonstige
  8099. }
  8100. if(PlayerHealthOld = 28)
  8101. {
  8102. wep = Sonstige
  8103. }
  8104. if(PlayerHealthOld = 29)
  8105. {
  8106. wep = Sonstige
  8107. }
  8108. if(PlayerHealthOld = 30)
  8109. {
  8110. wep = Sonstige
  8111. }
  8112. if(PlayerHealthOld = 31)
  8113. {
  8114. wep = Sonstige
  8115. }
  8116. if(PlayerHealthOld = 32)
  8117. {
  8118. wep = Sonstige
  8119. }
  8120. if(PlayerHealthOld = 33)
  8121. {
  8122. wep = Sonstige
  8123. }if(PlayerHealthOld = 34)
  8124. {
  8125. wep = Sonstige
  8126. }
  8127. if(PlayerHealthOld = 35)
  8128. {
  8129. wep = Sonstige
  8130. }
  8131. if(PlayerHealthOld = 36)
  8132. {
  8133. wep = Sonstige
  8134. }
  8135. if(PlayerHealthOld = 37)
  8136. {
  8137. wep = Sonstige
  8138. }
  8139. if(PlayerHealthOld = 38)
  8140. {
  8141. wep = Sonstige
  8142. }
  8143. if(PlayerHealthOld = 39)
  8144. {
  8145. wep = Sonstige
  8146. }
  8147. if(PlayerHealthOld = 40)
  8148. {
  8149. wep = Sonstige
  8150. }
  8151. if(PlayerHealthOld = 42)
  8152. {
  8153. wep = Sniper
  8154. }
  8155. if(PlayerHealthOld = 43)
  8156. {
  8157. wep = Sonstige
  8158. }
  8159. if(PlayerHealthOld = 44)
  8160. {
  8161. wep = Sonstige
  8162. }
  8163. if(PlayerHealthOld = 45)
  8164. {
  8165. wep = Sonstige
  8166. }
  8167. if(PlayerHealthOld = 47)
  8168. {
  8169. wep = Deagle
  8170. }
  8171. if(PlayerHealthOld = 48)
  8172. {
  8173. wep = Sonstige
  8174. }
  8175. if(PlayerHealthOld = 49)
  8176. {
  8177. wep = Sonstige
  8178. }
  8179. if(PlayerHealthOld = 50)
  8180. {
  8181. wep = Sonstige
  8182. }
  8183. if(PlayerHealthOld = 51)
  8184. {
  8185. wep = Sniper
  8186. }
  8187. if(PlayerHealthOld = 52)
  8188. {
  8189. wep = Sonstige
  8190. }
  8191. if(PlayerHealthOld = 53)
  8192. {
  8193. wep = Sonstige
  8194. }
  8195. if(PlayerHealthOld = 54)
  8196. {
  8197. wep = Sonstige
  8198. }
  8199. if(PlayerHealthOld = 55)
  8200. {
  8201. wep = Sonstige
  8202. }
  8203. if(PlayerHealthOld = 56)
  8204. {
  8205. wep = Sonstige
  8206. }
  8207. if(PlayerHealthOld = 57)
  8208. {
  8209. wep = Sonstige
  8210. }
  8211. if(PlayerHealthOld = 58)
  8212. {
  8213. wep = Sonstige
  8214. }
  8215. if(PlayerHealthOld = 59)
  8216. {
  8217. wep = Sonstige
  8218. }
  8219. if(PlayerHealthOld = 60)
  8220. {
  8221. wep = Sonstiged
  8222. }
  8223. Organizer("Du hast soeben ({5B89CB}-" PlayerHealthOld " {FFFFFF}HP) {5B89CB}(" wep "){FFFFFF} verloren. Aktuelle HP: {5B89CB}" GetPlayerHealth() "{FFFFFF}.")
  8224. if(hitsoundl == 1)
  8225. {
  8226. if(beep == 1)
  8227. SoundBeep
  8228. if(mp3 == 1)
  8229. SoundPlay, %A_ScriptDir%/Sounds/beep.wav
  8230. }
  8231. }
  8232. PlayerHealthOld := PlayerHealth
  8233. playerHealth := PlayerHealth
  8234. if(playerHealth == 0)
  8235. {
  8236. }
  8237. return
  8238. robcd:
  8239. Organizer("Du kannst nun wieder jemanden ausrauben")
  8240. settimer, robcd, off
  8241. return
  8242. carschaden:
  8243. If(GetVehicleHealth() != Healthalt)
  8244. {
  8245. Schaden := Healthalt - GetVehicleHealth()
  8246. Healthalt := GetVehicleHealth()
  8247. If(Schaden > 10 and Schaden < 300)
  8248. {
  8249. Organizer("Dein Fahrzeug hat Schaden genommen, {B40226}" Schaden "{FFFFFF} DL verloren, noch {33AA33}" GetVehicleHealth()"{FFFFFF} DL übrig.")
  8250. }
  8251. }
  8252. WinGetTitle, now_playing, ahk_class SpotifyMainWindow
  8253. If(now_playing != now_playingnew)
  8254. {
  8255. WinGetTitle, now_playingnew, ahk_class SpotifyMainWindow
  8256. if(now_playing == "Spotify")
  8257. {
  8258. }
  8259. else
  8260. {
  8261. Spotify("Neuer Song {00FF00}" now_playingnew "")
  8262. }
  8263. }
  8264. return
  8265. Payday:
  8266. oldZinsen1 := Zinsen1
  8267. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8268. {
  8269. If (InStr(A_LoopReadLine, "Zinsen:"))
  8270. {
  8271. RegExMatch(A_LoopReadline, "i)Zinsen: \{00FF00\}\+\$(.*) \{B4B5B7\}\((.*)\)", VarZinsen)
  8272. StringReplace, Zinsen1, VarZinsen1,.,,All
  8273. }
  8274. If (InStr(A_LoopReadLine, "Steuern:"))
  8275. {
  8276. Regexmatch(A_LoopReadLine, "i)Steuern: \{FF0000\}\-\$(.*)", VarSteuern)
  8277. StringReplace, Steuern1, VarSteuern1,.,,All
  8278. }
  8279. If (InStr(A_LoopReadLine, "Stromrechnung:"))
  8280. {
  8281. Regexmatch(A_LoopReadLine, "i)Stromrechnung: \{FF0000\}\-\$(.*)", VarRechnung)
  8282. StringReplace, Rechnung1, VarRechnung1,.,,All
  8283. }
  8284. If (InStr(A_LoopReadLine, "Miete:"))
  8285. {
  8286. Regexmatch(A_LoopReadLine, "i)Miete: \{FF0000\}\-\$(.*)", VarMiete)
  8287. StringReplace, Miete1, VarMiete1,.,,All
  8288. }
  8289. If (InStr(A_LoopReadLine, "Kreditkarte:"))
  8290. {
  8291. Regexmatch(A_LoopReadLine, "i)Kreditkarte: \{FF0000\}\-\$(.*)", VarKredit)
  8292. StringReplace, Kredit1, VarKredit1,.,,All
  8293. }
  8294. If (InStr(A_LoopReadLine, "Gebhren:"))
  8295. {
  8296. Regexmatch(A_LoopReadLine, "Gebhren: \{FF0000\}\-\$(\d+) \{B4B5B7\}(.*)", VarGebhren)
  8297. StringReplace, Gebhren1, VarGebhren1,.,,All
  8298. }
  8299. }
  8300. If(Zinsen1 != OldZinsen1)
  8301. {
  8302. if(Zinsen1 = "") OR (Zinsen1 = "Error"){
  8303. return
  8304. }else{
  8305. if(Steuern1 = ""){
  8306. Steuern1 := 0
  8307. }
  8308. if(Rechnung1 = ""){
  8309. Rechnung1 := 0
  8310. }
  8311. if(Miete1= ""){
  8312. Miete1 := 0
  8313. }
  8314. if(Kredit1 = ""){
  8315. Kredit1 := 0
  8316. }
  8317. if(Gebhren1 = ""){
  8318. Gebhren1 := 0
  8319. }
  8320. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  8321. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  8322. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  8323. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  8324. ZinsenGes += Zinsen1
  8325. OldZinsen1 := Zinsen1
  8326. OldZinsenGes := ZinsenGes
  8327. AlteZinsen1 := OldZinsen1
  8328. Paydays++
  8329. OldPaydays := Paydays
  8330. AllZins := Zinsen1-Steuern1-Rechnung1-Miete1-Kredit1-Gebhren1
  8331. Organizer("Du hast durch diesen Payday {435CE7}" number_format(Zinsen1) "$ {FFFFFF}Zinsen erhalten und {435CE7}" number_format(AllZins) "$ {FFFFFF}eingenommen")
  8332. Organizer("Du hast {435CE7}" number_Format(Zinsen1 - AllZins) "$ {FFFFFF}ausgegeben")
  8333. Organizer("HINWEIS: Nutze /payday für eine genaue Auskunft des letzten Payday's")
  8334. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8335. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  8336. if(ReadStats(text))
  8337. {
  8338. sleep 1100
  8339. Bank := keyForEntry(text, "Bank")
  8340. Geldd := keyForEntry(text, "Geld")
  8341. Level := keyForEntry(text, "Level")
  8342. Respekt := keyForEntry(text, "Respekt")
  8343. barren := keyForEntry(text, "Goldbarren")
  8344. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  8345. StringReplace, VarBack11, Bankl1,.,,All
  8346. If( VarBack11 > 2089000000)
  8347. {
  8348. if(beep == 1)
  8349. SoundBeep
  8350. if(mp3 == 1)
  8351. SoundPlay, %A_ScriptDir%/Sounds/beep.wav
  8352. Organizer("Falls du einen Infernus etc. besitzt bist du fast auf der Geldgrenze ! ")
  8353. }
  8354. }
  8355. OldZinsen1 := AlteZinsen1
  8356. Zinsen1 := OldZinsen1
  8357. ZinsenGes := OldZinsenGes
  8358. Paydays := OldPaydays
  8359. iniwrite, %paydays%, Take-binder.ini, Zinsen, Paydays
  8360. iniwrite, %OldZinsen1%, Take-binder.ini, Zinsen, OldZinsen1
  8361. iniwrite, %Zinsen1%, Take-binder.ini, Zinsen, Zinsen21
  8362. iniwrite, %ZinsenGes%, Take-binder.ini, Zinsen, ZinsenGes
  8363. iniwrite, %AllZins%, Take-binder.ini, Zinsen, Einnahmen
  8364. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  8365. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  8366. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  8367. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  8368. DZinsen += %Zinsen1%
  8369. Deinnahmen += %AllZins%
  8370. IniWrite,%DZinsen%, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  8371. iniWrite,%Deinnahmen%, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  8372. MonatZinsen += %Zinsen1%
  8373. Meinnahmen += %AllZins%
  8374. IniWrite,%MonatZinsen%, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  8375. Iniwrite,%meinnahmen%, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  8376. SendInput {enter}
  8377. finwer := getplayername()
  8378. if(finwer == "takeshi.shinoda")
  8379. soundbeep
  8380. sleep 1200
  8381. GetChatLine(0,finwas)
  8382. RegExMatch(finwas, "Level\:\[(.*)\] Respekt\:\[(.*)\] Geld\:\[\$(.*)\] Bank\:\[\$(.*)\] (.*)\:\[\$(.*)\]", findas)
  8383. HanGel := findas3
  8384. BanGel := findas4
  8385. GesGel := findas6
  8386. if(ReadStats(text))
  8387. {
  8388. sleep 1000
  8389. Bank := keyForEntry(text, "Bank")
  8390. Geldd := keyForEntry(text, "Geld")
  8391. Level := keyForEntry(text, "Level")
  8392. Respekt := keyForEntry(text, "Respekt")
  8393. barren := keyForEntry(text, "Goldbarren")
  8394. }
  8395. gesamt := number_format(bank)
  8396. geld := number_format(geldd)
  8397. if(conpayday == 1)
  8398. Organizer("|________Finanzen von " getplayername() "________|")
  8399. if(conpayday == 1)
  8400. Organizer("Level: [" level "] Respekt: [" respekt "] Bargeld: [$" geld "]")
  8401. if(conpayday == 1)
  8402. Organizer("Bankvermgen: [" gesamt "] Goldbarren: [" barren "]")
  8403. }
  8404. sleep 1100
  8405. Sendinput {enter}
  8406. If FileExist("Userlist.txt")
  8407. {
  8408. if(conpayday == 1)
  8409. Organizer("Das Contracten beginnt.")
  8410. neu=
  8411. Loop, read, Userlist.txt
  8412. {
  8413. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  8414. id := GetPlayerIdByName(wordarrey2)
  8415. if(id == -1)
  8416. {
  8417. if(conpayday == 1)
  8418. Organizer("" A_LoopReadLine " || Status:""{FF0000} Offline")
  8419. neu=%neu%Name: %wordarrey2%`n
  8420. }
  8421. else
  8422. {
  8423. if(conpayday == 1)
  8424. SendChat("/contract " wordarrey2 " 10000")
  8425. newcounter:=wordarrey6+1
  8426. neu=%neu%Name: %wordarrey2%`n
  8427. sleep 2000
  8428. }
  8429. }
  8430. if(conpayday == 1)
  8431. Organizer("Alle User haben einen Contract.")
  8432. FileCopy, Userlist.txt,Userlist2.txt
  8433. FileDelete, Userlist.txt
  8434. FileCopy, Userlist2.txt,Userlist.txt
  8435. FileDelete, Userlist2.txt
  8436. }
  8437. else
  8438. {
  8439. if(conpayday == 1)
  8440. Organizer("Noch keine User eingetragen")
  8441. }
  8442. Suspend Off
  8443. }
  8444. return
  8445. Tanken:
  8446. if(autotanken == 1)
  8447. {
  8448. if(IsPlayerInRangeOfPoint(1004.0354,-939.3308,42.1797,5))
  8449. {
  8450. if(IsPlayerinanyvehicle() == 1 )
  8451. if(isPlayerDriver() == 1 )
  8452. {
  8453. Organizer("Tankstelle:{5B89CB} " Zone "")
  8454. sleep 100
  8455. SendChat("/fill")
  8456. sleep, 3000
  8457. SendChat("/get fuel")
  8458. sleep 20000
  8459. }
  8460. }
  8461. if(IsPlayerInRangeOfPoint(1944.8086,-1773.6176,13.1606,5))
  8462. {
  8463. if(IsPlayerinanyvehicle() == 1 )
  8464. if(isPlayerDriver() == 1 )
  8465. {
  8466. Organizer("Tankstelle:{5B89CB} " Zone "")
  8467. sleep 100
  8468. SendChat("/fill")
  8469. sleep, 3000
  8470. SendChat("/get fuel")
  8471. sleep 20000
  8472. }
  8473. }
  8474. if(IsPlayerInRangeOfPoint(2639.0801,1105.7590,10.8203,5))
  8475. {
  8476. if(IsPlayerinanyvehicle() == 1 )
  8477. if(isPlayerDriver() == 1 )
  8478. {
  8479. Organizer("Tankstelle: {5B89CB}" Zone "")
  8480. sleep 100
  8481. SendChat("/fill")
  8482. sleep, 3000
  8483. SendChat("/get fuel")
  8484. sleep 20000
  8485. }
  8486. }
  8487. if(IsPlayerInRangeOfPoint(2114.0857,920.0013,10.5910,5))
  8488. {
  8489. if(IsPlayerinanyvehicle() == 1 )
  8490. if(isPlayerDriver() == 1 )
  8491. {
  8492. Organizer("Tankstelle: {5B89CB}" Zone "")
  8493. sleep 100
  8494. SendChat("/fill")
  8495. sleep, 3000
  8496. SendChat("/get fuel")
  8497. sleep 20000
  8498. }
  8499. }
  8500. if(IsPlayerInRangeOfPoint(2147.4446,2747.6521,10.5920,5))
  8501. {
  8502. if(IsPlayerinanyvehicle() == 1 )
  8503. if(isPlayerDriver() == 1 )
  8504. {
  8505. Organizer("Tankstelle:{5B89CB} " Zone "")
  8506. sleep 100
  8507. SendChat("/fill")
  8508. sleep, 3000
  8509. SendChat("/get fuel")
  8510. sleep 20000
  8511. }
  8512. }
  8513. if(IsPlayerInRangeOfPoint(2202.0085,2474.5103,10.5773,5))
  8514. {
  8515. if(IsPlayerinanyvehicle() == 1 )
  8516. if(isPlayerDriver() == 1 )
  8517. {
  8518. Organizer("Tankstelle: {5B89CB}" Zone "")
  8519. sleep 100
  8520. SendChat("/fill")
  8521. sleep, 3000
  8522. SendChat("/get fuel")
  8523. sleep 20000
  8524. }
  8525. }
  8526. if(IsPlayerInRangeOfPoint(-736.3005,2742.9827,46.9891,5))
  8527. {
  8528. if(IsPlayerinanyvehicle() == 1 )
  8529. if(isPlayerDriver() == 1 )
  8530. {
  8531. Organizer("Tankstelle: {5B89CB}" Zone "")
  8532. sleep 100
  8533. SendChat("/fill")
  8534. sleep, 3000
  8535. SendChat("/get fuel")
  8536. sleep 20000
  8537. }
  8538. }
  8539. if(IsPlayerInRangeOfPoint(-1328.9005,2677.5923,49.8199,5))
  8540. {
  8541. if(IsPlayerinanyvehicle() == 1 )
  8542. if(isPlayerDriver() == 1 )
  8543. {
  8544. Organizer("Tankstelle: {5B89CB}" Zone "")
  8545. sleep 100
  8546. SendChat("/fill")
  8547. sleep, 3000
  8548. SendChat("/get fuel")
  8549. sleep 20000
  8550. }
  8551. }
  8552. if(IsPlayerInRangeOfPoint(70.5293,1219.1754,18.5799,5))
  8553. {
  8554. if(IsPlayerinanyvehicle() == 1 )
  8555. if(isPlayerDriver() == 1 )
  8556. {
  8557. Organizer("Tankstelle: {5B89CB}" Zone "")
  8558. sleep 100
  8559. SendChat("/fill")
  8560. sleep, 3000
  8561. SendChat("/get fuel")
  8562. sleep 20000
  8563. }
  8564. }
  8565. if(IsPlayerInRangeOfPoint( 615.4907,1689.9753,6.7566,5))
  8566. {
  8567. if(IsPlayerinanyvehicle() == 1 )
  8568. if(isPlayerDriver() == 1 )
  8569. {
  8570. Organizer("Tankstelle: {5B89CB}" Zone "")
  8571. sleep 100
  8572. SendChat("/fill")
  8573. sleep, 3000
  8574. SendChat("/get fuel")
  8575. sleep 20000
  8576. }
  8577. }
  8578. if(IsPlayerInRangeOfPoint(1598.0482,2199.4724,10.5925 ,5))
  8579. {
  8580. if(IsPlayerinanyvehicle() == 1 )
  8581. if(isPlayerDriver() == 1 )
  8582. {
  8583. Organizer("Tankstelle:{5B89CB} " Zone "")
  8584. sleep 100
  8585. SendChat("/fill")
  8586. sleep, 3000
  8587. SendChat("/get fuel")
  8588. sleep 20000
  8589. }
  8590. }
  8591. if(IsPlayerInRangeOfPoint( -1471.8784,1863.9641,32.3972,5))
  8592. {
  8593. if(IsPlayerinanyvehicle() == 1 )
  8594. if(isPlayerDriver() == 1 )
  8595. {
  8596. Organizer("Tankstelle: {5B89CB}" Zone "")
  8597. sleep 100
  8598. SendChat("/fill")
  8599. sleep, 3000
  8600. SendChat("/get fuel")
  8601. sleep 20000
  8602. }
  8603. }
  8604. if(IsPlayerInRangeOfPoint(-2026.3326,155.4140,29.0391,5))
  8605. {
  8606. if(IsPlayerinanyvehicle() == 1 )
  8607. if(isPlayerDriver() == 1 )
  8608. {
  8609. Organizer("Tankstelle: {5B89CB}" Zone "")
  8610. sleep 100
  8611. SendChat("/fill")
  8612. sleep, 3000
  8613. SendChat("/get fuel")
  8614. sleep 20000
  8615. }
  8616. }
  8617. if(IsPlayerInRangeOfPoint(-1676.5333,413.2540,6.9505,5))
  8618. {
  8619. if(IsPlayerinanyvehicle() == 1 )
  8620. if(isPlayerDriver() == 1 )
  8621. {
  8622. Organizer("Tankstelle:{5B89CB} " Zone "")
  8623. sleep 100
  8624. SendChat("/fill")
  8625. sleep, 3000
  8626. SendChat("/get fuel")
  8627. sleep 20000
  8628. }
  8629. }
  8630. if(IsPlayerInRangeOfPoint(-2407.9282,976.3934,45.0646,5))
  8631. {
  8632. if(IsPlayerinanyvehicle() == 1 )
  8633. if(isPlayerDriver() == 1 )
  8634. {
  8635. Organizer("Tankstelle: {5B89CB}" Zone "")
  8636. sleep 100
  8637. SendChat("/fill")
  8638. sleep, 3000
  8639. SendChat("/get fuel")
  8640. sleep 20000
  8641. }
  8642. }
  8643. if(IsPlayerInRangeOfPoint( -2244.2161,-2560.7793,31.6916,5))
  8644. {
  8645. if(IsPlayerinanyvehicle() == 1 )
  8646. if(isPlayerDriver() == 1 )
  8647. {
  8648. Organizer("Tankstelle: {5B89CB}" Zone "")
  8649. sleep 100
  8650. SendChat("/fill")
  8651. sleep, 3000
  8652. SendChat("/get fuel")
  8653. sleep 20000
  8654. }
  8655. }
  8656. if(IsPlayerInRangeOfPoint( -1608.4758,-2719.3704,48.3096,5))
  8657. {
  8658. if(IsPlayerinanyvehicle() == 1 )
  8659. if(isPlayerDriver() == 1 )
  8660. {
  8661. Organizer("Tankstelle: {5B89CB}" Zone "")
  8662. sleep 100
  8663. SendChat("/fill")
  8664. sleep, 3000
  8665. SendChat("/get fuel")
  8666. sleep 20000
  8667. }
  8668. }
  8669. if(IsPlayerInRangeOfPoint( -90.6088,-1168.8462,2.1866,5))
  8670. {
  8671. if(IsPlayerinanyvehicle() == 1 )
  8672. if(isPlayerDriver() == 1 )
  8673. {
  8674. Organizer("Tankstelle: {5B89CB}" Zone "")
  8675. sleep 100
  8676. SendChat("/fill")
  8677. sleep, 3000
  8678. SendChat("/get fuel")
  8679. sleep 20000
  8680. }
  8681. }
  8682. if(IsPlayerInRangeOfPoint( 653.4886,-565.2499,16.1065,5))
  8683. {
  8684. if(IsPlayerinanyvehicle() == 1 )
  8685. if(isPlayerDriver() == 1 )
  8686. {
  8687. Organizer("Tankstelle: {5B89CB}" Zone "")
  8688. sleep 100
  8689. SendChat("/fill")
  8690. sleep, 3000
  8691. SendChat("/get fuel")
  8692. sleep 20000
  8693. }
  8694. }
  8695. if(IsPlayerInRangeOfPoint( 1380.9998,458.0788,19.7261,5))
  8696. {
  8697. if(IsPlayerinanyvehicle() == 1 )
  8698. if(isPlayerDriver() == 1 )
  8699. {
  8700. Organizer("Tankstelle: {5B89CB}" Zone "")
  8701. sleep 100
  8702. SendChat("/fill")
  8703. sleep, 3000
  8704. SendChat("/get fuel")
  8705. sleep 20000
  8706. }
  8707. }
  8708. }
  8709. return
  8710. drogenbox:
  8711. If(IsPlayerInRangeOfPoint(837.241211, -1854.104736, 8.398911, 2))
  8712. {
  8713. KeyWait, LButton, D
  8714. If !ErrorLevel
  8715. {
  8716. sendchat("/gtake drugs " Drogenmenge "")
  8717. sleep 1100
  8718. return
  8719. }
  8720. }
  8721. If(IsPlayerInRangeOfPoint(-2543.551514, 1214.305054, 37.421875, 2))
  8722. {
  8723. KeyWait, LButton, D
  8724. If !ErrorLevel
  8725. {
  8726. sendchat("/gtake drugs " Drogenmenge "")
  8727. sleep 1100
  8728. return
  8729. }
  8730. }
  8731. If(IsPlayerInRangeOfPoint(-91.169647, -1576.896606, 2.617188, 2))
  8732. {
  8733. KeyWait, LButton, D T1
  8734. If !ErrorLevel
  8735. {
  8736. sendchat("/gtake drugs " Drogenmenge "")
  8737. sleep 1100
  8738. return
  8739. }
  8740. }
  8741. If(IsPlayerInRangeOfPoint(2802.488525, -1171.602661, 25.569313, 2))
  8742. {
  8743. KeyWait, LButton, D T1
  8744. If !ErrorLevel
  8745. {
  8746. sendchat("/gtake drugs " Drogenmenge "")
  8747. sleep 1100
  8748. return
  8749. }
  8750. }
  8751. return
  8752. AntiSpam:
  8753. AntiSpamVar := SpamZeitVar
  8754. if(wAntiSpam=1)
  8755. {
  8756. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8757. {
  8758. If InStr(A_LoopReadLine,"] Antiflood: Achtung! Unterlasse das")
  8759. {
  8760. if(conquern=1 || tp=1)
  8761. {
  8762. return
  8763. }
  8764. else
  8765. {
  8766. RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Antiflood: Achtung! Unterlasse das", Spam)
  8767. SpamZeitVar := Spam1 Spam2 Spam3
  8768. }
  8769. }
  8770. }
  8771. If(AntiSpamVar <> SpamZeitVar)
  8772. {
  8773. Organizer("Chat wegen Anti-Flood für 1 Sekunde blockiert.")
  8774. BlockChatInput:=1
  8775. sleep 1000
  8776. BlockChatInput:=0
  8777. Organizer("Chat wieder freigegeben.")
  8778. FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  8779. }
  8780. }
  8781. return
  8782. Hotdog:
  8783. Organizer("Du kannst den nächsten Hotdog verkaufen.")
  8784. return
  8785. Drugs:
  8786. Organizer("Du kannst wieder Drogen nehmen.")
  8787. return
  8788. OverlayCheckBox:
  8789. gosub, OverlaySave
  8790. gosub, OverlayLoad
  8791. gosub,ExitOverlay
  8792. gosub,InitOverlay
  8793. return
  8794. F6::
  8795. ~t::
  8796. If(BlockChatInput=1)
  8797. {
  8798. SendInput ^a{backspace}{esc}
  8799. return
  8800. }
  8801. return
  8802. lHKEnterExit:
  8803. If(BlockChatInput=1)
  8804. return
  8805. if(IsInChat())
  8806. {
  8807. Send, {%A_ThisHotkey%}
  8808. return
  8809. }
  8810. Int := IsPlayerInAnyInterior()
  8811. If (Int == 0)
  8812. {
  8813. SendChat("/enter")
  8814. }
  8815. else
  8816. {
  8817. SendChat("/exit")
  8818. }
  8819. return
  8820. lHKEngine:
  8821. If(BlockChatInput=1)
  8822. return
  8823. if(IsInChat())
  8824. {
  8825. Send, {%A_ThisHotkey%}
  8826. return
  8827. }
  8828. SendChat("/engine")
  8829. return
  8830. lHKLock:
  8831. If(BlockChatInput=1)
  8832. return
  8833. if(IsInChat())
  8834. {
  8835. Send, {%A_ThisHotkey%}
  8836. return
  8837. }
  8838. SendChat("/lock")
  8839. return
  8840. lHKLights:
  8841. If(BlockChatInput=1)
  8842. return
  8843. if(IsInChat())
  8844. {
  8845. Send, {%A_ThisHotkey%}
  8846. return
  8847. }
  8848. SendChat("/lights")
  8849. return
  8850. lHKCarlock:
  8851. If(BlockChatInput=1)
  8852. return
  8853. if(IsInChat())
  8854. {
  8855. Send, {%A_ThisHotkey%}
  8856. return
  8857. }
  8858. SendChat("/carlock")
  8859. return
  8860. lHKEngineLock:
  8861. If(BlockChatInput=1)
  8862. return
  8863. if(IsInChat())
  8864. {
  8865. Send, {%A_ThisHotkey%}
  8866. return
  8867. }
  8868. SendChat("/lock")
  8869. Sleep 500
  8870. SendChat("/engine")
  8871. return
  8872. lHKTime:
  8873. If(BlockChatInput=1)
  8874. return
  8875. if(IsInChat())
  8876. {
  8877. Send, {%A_ThisHotkey%}
  8878. return
  8879. }
  8880. SendChat("/time")
  8881. return
  8882. lHKMembers:
  8883. If(BlockChatInput=1)
  8884. return
  8885. if(IsInChat())
  8886. {
  8887. Send, {%A_ThisHotkey%}
  8888. return
  8889. }
  8890. SendChat("/members")
  8891. AFK := 0
  8892. Prisonmember := 0
  8893. Sleep 300
  8894. loop{
  8895. GetChatLine(A_Index - 1, chat)
  8896. if(InStr(chat, ", Rank:") OR InStr(chat, ", Leader"))
  8897. {
  8898. members := A_Index
  8899. If(InStr(chat, "(AFK)"))
  8900. {
  8901. AFK++
  8902. }
  8903. If(InStr(chat, "(Prison)"))
  8904. {
  8905. Prisonmember++
  8906. }
  8907. If(InStr(chat, "(Prison, AFK)"))
  8908. {
  8909. AFK++
  8910. Prisonmember++
  8911. }
  8912. }
  8913. else
  8914. {
  8915. break
  8916. }
  8917. }
  8918. if(members=1)
  8919. {
  8920. Organizer("Es ist 1 Member online.")
  8921. }
  8922. if(members>1)
  8923. {
  8924. Organizer("Es sind " members " Member online (" AFK " AFK | " Prisonmember " im Prison).")
  8925. }
  8926. return
  8927. lHKFriends:
  8928. If(BlockChatInput=1)
  8929. return
  8930. if(IsInChat())
  8931. {
  8932. Send, {%A_ThisHotkey%}
  8933. return
  8934. }
  8935. SendChat("/friends")
  8936. sleep 300
  8937. loop
  8938. {
  8939. GetChatLine(A_Index - 1, chat)
  8940. if(InStr(chat, "(Tel."))
  8941. friends := A_Index
  8942. else
  8943. break
  8944. }
  8945. If(friends=1)
  8946. {
  8947. Organizer("Es ist " friends " Freund online.")
  8948. }
  8949. if(friends>1)
  8950. {
  8951. Organizer("Es sind " friends " Freunde online.")
  8952. }
  8953. return
  8954. lHKNotafk:
  8955. If(BlockChatInput=1)
  8956. return
  8957. if(IsInChat())
  8958. {
  8959. Send, {%A_ThisHotkey%}
  8960. return
  8961. }
  8962. SendInput t/notafk{space}
  8963. return
  8964. lHKWarinfo:
  8965. If(BlockChatInput=1)
  8966. return
  8967. if(isInChat())
  8968. return
  8969. if(IsPlayerInAnyVehicle() = 0)
  8970. {
  8971. settimer, warten2, 100
  8972. Organizer("Motorstart und abschließen vorgemerkt!")
  8973. }
  8974. else
  8975. {
  8976. SendChat("/lock")
  8977. SendChat("/engine")
  8978. }
  8979. return
  8980. lHKKnap1:
  8981. If(BlockChatInput=1)
  8982. return
  8983. if(IsInChat())
  8984. {
  8985. Send, {%A_ThisHotkey%}
  8986. return
  8987. }
  8988. SendChat("/kidnap " Opfername " " Partnername " 0")
  8989. return
  8990. lHKKnap2:
  8991. If(BlockChatInput=1)
  8992. return
  8993. if(IsInChat())
  8994. {
  8995. Send, {%A_ThisHotkey%}
  8996. return
  8997. }
  8998. SendChat("/kidnap " Opfername " " Partnername " 1")
  8999. return
  9000. lHKTie:
  9001. If(BlockChatInput=1)
  9002. return
  9003. if(IsInChat())
  9004. {
  9005. Send, {%A_ThisHotkey%}
  9006. return
  9007. }
  9008. SendInput t/tie{space}
  9009. return
  9010. lHKUntie:
  9011. If(BlockChatInput=1)
  9012. return
  9013. if(IsInChat())
  9014. {
  9015. Send, {%A_ThisHotkey%}
  9016. return
  9017. }
  9018. SendInput t/untie{space}
  9019. return
  9020. lHKSex:
  9021. If(BlockChatInput=1)
  9022. return
  9023. if(IsInChat())
  9024. {
  9025. Send, {%A_ThisHotkey%}
  9026. return
  9027. }
  9028. SendInput t/sex{space}{space}1{left}{left}
  9029. return
  9030. lHKFastfood:
  9031. If(BlockChatInput=1)
  9032. return
  9033. if(IsInChat())
  9034. {
  9035. Send, {%A_ThisHotkey%}
  9036. return
  9037. }
  9038. SendInput t/fastfood{space}{space}1{left}{left}
  9039. return
  9040. lHKRepeat:
  9041. If(BlockChatInput=1)
  9042. return
  9043. if(IsInChat())
  9044. {
  9045. Send, {%A_ThisHotkey%}
  9046. return
  9047. }
  9048. SendInput,t
  9049. SendInput,{Up}
  9050. SendInput,{enter}
  9051. return
  9052. lHKFPS20:
  9053. If(BlockChatInput=1)
  9054. return
  9055. if(IsInChat())
  9056. {
  9057. Send, {%A_ThisHotkey%}
  9058. return
  9059. }
  9060. Sendinput t/fpslimit 20{enter}
  9061. return
  9062. lHKFPS90:
  9063. If(BlockChatInput=1)
  9064. return
  9065. if(IsInChat())
  9066. {
  9067. Send, {%A_ThisHotkey%}
  9068. return
  9069. }
  9070. Sendinput t/fpslimit 90{enter}
  9071. return
  9072. lHKSuspend:
  9073. suspend
  9074. if ( A_IsSuspended )
  9075. {
  9076. Organizer("Du hast den Keybinder deaktiviert.")
  9077. }
  9078. if ( !A_IsSuspended )
  9079. {
  9080. Organizer("Du hast den Keybinder aktiviert.")
  9081. }
  9082. return
  9083. lHKHPDL:
  9084. If(BlockChatInput=1)
  9085. return
  9086. if(IsInChat())
  9087. {
  9088. Send, {%A_ThisHotkey%}
  9089. return
  9090. }
  9091. if(IsPlayerInAnyVehicle())
  9092. SendChat("Ich habe noch " GetPlayerHealth() " HP und " Round(GetVehicleHealth(),0) " DL.")
  9093. else
  9094. SendChat("Ich habe noch " GetPlayerHealth() " HP.")
  9095. return
  9096. lHKBK:
  9097. If(BlockChatInput=1)
  9098. return
  9099. if(IsInChat())
  9100. {
  9101. Send, {%A_ThisHotkey%}
  9102. return
  9103. }
  9104. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  9105. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  9106. If(IsPlayerInAnyInterior()==1)
  9107. {
  9108. SendChat("/f Benötige Backup in einem Interior. HP: " GetPlayerHealth())
  9109. }
  9110. else
  9111. {
  9112. SendChat("/f Benötige Backup in " City ", " Zone ". HP: " GetPlayerHealth())
  9113. }
  9114. return
  9115. lHKCTF:
  9116. If(BlockChatInput=1)
  9117. return
  9118. if(IsInChat())
  9119. {
  9120. Send, {%A_ThisHotkey%}
  9121. return
  9122. }
  9123. Suspend permit
  9124. SendInput {enter}
  9125. finwer := getplayername()
  9126. sendChat("/finances " . finwer)
  9127. sleep 1200
  9128. GetChatLine(0,finwas)
  9129. RegExMatch(finwas, "Level\:\[(.*)\] Respekt\:\[(.*)\] Geld\:\[\$(.*)\] Bank\:\[\$(.*)\] (.*)\:\[\$(.*)\]", findas)
  9130. HanGel := number_format(findas3)
  9131. BanGel := number_format(findas4)
  9132. GesGel := number_format(findas6)
  9133. SendChat("|________Finanzen von " finwer "________|")
  9134. Sendchat("Level: [" . findas1 . "] Respekt: [" . findas2 . "] Bargeld: [$" . HanGel . "]")
  9135. SendChat("Bankvermögen: [$" Bangel "] Gesamtvermögen: [$" GesGel "]")
  9136. Suspend Off
  9137. Hotkey, t, On
  9138. return
  9139. return
  9140. lHKGiveUp:
  9141. If(BlockChatInput=1)
  9142. return
  9143. if(IsInChat())
  9144. {
  9145. Send, {%A_ThisHotkey%}
  9146. return
  9147. }
  9148. SendChat("/giveup")
  9149. return
  9150. lHKFPos:
  9151. If(BlockChatInput=1)
  9152. return
  9153. if(IsInChat())
  9154. {
  9155. Send, {%A_ThisHotkey%}
  9156. return
  9157. }
  9158. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  9159. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  9160. If(IsPlayerInAnyInterior()==1)
  9161. {
  9162. SendChat("/f Standort: Interior, HP: " GetPlayerHealth() ", ID: " getid() ", Ping: " getPlayerPingById(getid()) ", Drogen: " drogen "g, Wanteds: " wanteds)
  9163. }
  9164. else
  9165. {
  9166. SendChat("/f Standort: " zone ", HP: " GetPlayerHealth() ", ID: " getid() ", Ping: " getPlayerPingById(getid()) ", Drogen: " drogen "g, Wanteds: " wanteds)
  9167. }
  9168. return
  9169. lHKGebietInfo:
  9170. If(BlockChatInput=1)
  9171. return
  9172. if(IsInChat())
  9173. {
  9174. Send, {%A_ThisHotkey%}
  9175. return
  9176. }
  9177. IniRead, wGebietinfo, TaKe-Binder.ini,GebietInfo, wGebietinfo
  9178. if(wGebietinfo=1)
  9179. {
  9180. SendChat("/gebietinfo")
  9181. Sleep, 200
  9182. GetChatLine(6, Chat6)
  9183. GetChatLine(5, Chat5)
  9184. GetChatLine(4, Chat4)
  9185. GetChatLine(3, Chat3)
  9186. GetChatLine(2, Chat2)
  9187. GetChatLine(1, Chat1)
  9188. GetChatLine(0, Chat0)
  9189. if(Instr(Chat1, " Restzeit:"))
  9190. {
  9191. RegExMatch(Chat1, "Restzeit: (.*) Tage, (.*) Stunden und (.*) Minuten", regzeit)
  9192. RegExMatch(Chat2, " Kills: (.*)", regkills)
  9193. RegExMatch(Chat3, " Herausforderer: (.*)", regher)
  9194. RegExMatch(Chat4, " Kills: (.*)", reg1kills)
  9195. RegExMatch(Chat5, " Besitzer: (.*)", regbe)
  9196. Sendchat("/f Gebietinfo: " regher1 " - " regbe1 " ")
  9197. sendchat("/f " regbe1 ": " reg1kills1 " Kills - " regher1 ": " regkills1 " Kills ")
  9198. sendchat("/f Restzeit: " regzeit1 " Tage " regzeit2 " Stunden " regzeit3 " Minuten ")
  9199. return
  9200. }
  9201. }
  9202. else
  9203. {
  9204. SendChat("/gebietinfo")
  9205. }
  9206. return
  9207. lHKFWanted:
  9208. If(BlockChatInput=1)
  9209. return
  9210. if(IsInChat())
  9211. {
  9212. Send, {%A_ThisHotkey%}
  9213. return
  9214. }
  9215. SendChat("Aktuelle Wanteds: (" Wanteds ")")
  9216. SendChat("Grund: (" Grund ") Zeuge: (" Zeuge ")")
  9217. return
  9218. lHKFill:
  9219. If(BlockChatInput=1)
  9220. return
  9221. if(IsInChat())
  9222. {
  9223. Send, {%A_ThisHotkey%}
  9224. return
  9225. }
  9226. SendChat("/fill")
  9227. Sleep, 3000
  9228. SendChat("/get fuel")
  9229. return
  9230. lHKFillCar:
  9231. If(BlockChatInput=1)
  9232. return
  9233. if(IsInChat())
  9234. {
  9235. Send, {%A_ThisHotkey%}
  9236. return
  9237. }
  9238. SendChat("/fillcar")
  9239. return
  9240. lHKCargo:
  9241. If(BlockChatInput=1)
  9242. return
  9243. if(IsInChat())
  9244. {
  9245. Send, {%A_ThisHotkey%}
  9246. return
  9247. }
  9248. SendChat("/cargo")
  9249. return
  9250. lHKOpenCargo:
  9251. If(BlockChatInput=1)
  9252. return
  9253. if(IsInChat())
  9254. {
  9255. Send, {%A_ThisHotkey%}
  9256. return
  9257. }
  9258. SendChat("/opencargo")
  9259. return
  9260. lHKATMDifferenz:
  9261. return
  9262. lHKWP1:
  9263. If(BlockChatInput=1)
  9264. return
  9265. if(IsInChat())
  9266. {
  9267. Send, {%A_ThisHotkey%}
  9268. return
  9269. }
  9270. if (wpc11 == 1)
  9271. {
  9272. if (wp11 == 1)
  9273. {
  9274. Waffe1 := "Deagle"
  9275. }
  9276. else if (wp11 == 2)
  9277. {
  9278. Waffe1 := "Shotgun"
  9279. }
  9280. else if (wp11 == 3)
  9281. {
  9282. Waffe1 := "MP5"
  9283. }
  9284. else if (wp11 == 4)
  9285. {
  9286. Waffe1 := "M4"
  9287. }
  9288. else if (wp11 == 5)
  9289. {
  9290. Waffe1 := "Rifle"
  9291. }
  9292. else if (wp11 == 6)
  9293. {
  9294. Waffe1 := "Sniper"
  9295. }
  9296. else if (wp11 == 7)
  9297. {
  9298. Waffe1 := "katana"
  9299. }
  9300. else
  9301. return
  9302. SendChat("/buygun " Waffe1 " " wpa11)
  9303. }
  9304. if (wpc12 == 1)
  9305. {
  9306. if (wp12 == 1)
  9307. {
  9308. Waffe1 := "Deagle"
  9309. }
  9310. else if (wp12 == 2)
  9311. {
  9312. Waffe1 := "Shotgun"
  9313. }
  9314. else if (wp12 == 3)
  9315. {
  9316. Waffe1 := "MP5"
  9317. }
  9318. else if (wp12 == 4)
  9319. {
  9320. Waffe1 := "M4"
  9321. }
  9322. else if (wp12 == 5)
  9323. {
  9324. Waffe1 := "Rifle"
  9325. }
  9326. else if (wp12 == 6)
  9327. {
  9328. Waffe1 := "Sniper"
  9329. }
  9330. else if (wp12 == 7)
  9331. {
  9332. Waffe1 := "katana"
  9333. }
  9334. else
  9335. return
  9336. SendChat("/buygun " Waffe1 " " wpa12)
  9337. }
  9338. if (wpc13 == 1)
  9339. {
  9340. if (wp13 == 1)
  9341. {
  9342. Waffe1 := "Deagle"
  9343. }
  9344. else if (wp13 == 2)
  9345. {
  9346. Waffe1 := "Shotgun"
  9347. }
  9348. else if (wp13 == 3)
  9349. {
  9350. Waffe1 := "MP5"
  9351. }
  9352. else if (wp13 == 4)
  9353. {
  9354. Waffe1 := "M4"
  9355. }
  9356. else if (wp13 == 5)
  9357. {
  9358. Waffe1 := "Rifle"
  9359. }
  9360. else if (wp13 == 6)
  9361. {
  9362. Waffe1 := "Sniper"
  9363. }
  9364. else if (wp13 == 7)
  9365. {
  9366. Waffe1 := "katana"
  9367. }
  9368. else
  9369. return
  9370. SendChat("/buygun " Waffe1 " " wpa13)
  9371. }
  9372. if (wpc14 == 1)
  9373. {
  9374. if (wp14 == 1)
  9375. {
  9376. Waffe1 := "Deagle"
  9377. }
  9378. else if (wp14 == 2)
  9379. {
  9380. Waffe1 := "Shotgun"
  9381. }
  9382. else if (wp14 == 3)
  9383. {
  9384. Waffe1 := "MP5"
  9385. }
  9386. else if (wp14 == 4)
  9387. {
  9388. Waffe1 := "M4"
  9389. }
  9390. else if (wp14 == 5)
  9391. {
  9392. Waffe1 := "Rifle"
  9393. }
  9394. else if (wp14 == 6)
  9395. {
  9396. Waffe1 := "Sniper"
  9397. }
  9398. else if (wp14 == 7)
  9399. {
  9400. Waffe1 := "katana"
  9401. }
  9402. else
  9403. return
  9404. SendChat("/buygun " Waffe1 " " wpa14)
  9405. }
  9406. if (wpc15 == 1)
  9407. {
  9408. if (wp15 == 1)
  9409. {
  9410. Waffe1 := "Deagle"
  9411. }
  9412. else if (wp15 == 2)
  9413. {
  9414. Waffe1 := "Shotgun"
  9415. }
  9416. else if (wp15 == 3)
  9417. {
  9418. Waffe1 := "MP5"
  9419. }
  9420. else if (wp15 == 4)
  9421. {
  9422. Waffe1 := "M4"
  9423. }
  9424. else if (wp15 == 5)
  9425. {
  9426. Waffe1 := "Rifle"
  9427. }
  9428. else if (wp15 == 6)
  9429. {
  9430. Waffe1 := "Sniper"
  9431. }
  9432. else if (wp15 == 7)
  9433. {
  9434. Waffe1 := "katana"
  9435. }
  9436. else
  9437. return
  9438. SendChat("/buygun " Waffe1 " " wpa15)
  9439. }
  9440. return
  9441. lHKWP2:
  9442. If(BlockChatInput=1)
  9443. return
  9444. if(IsInChat())
  9445. {
  9446. Send, {%A_ThisHotkey%}
  9447. return
  9448. }
  9449. if (wpc21 == 1)
  9450. {
  9451. if (wp21 == 1)
  9452. {
  9453. Waffe1 := "Deagle"
  9454. }
  9455. else if (wp21 == 2)
  9456. {
  9457. Waffe1 := "Shotgun"
  9458. }
  9459. else if (wp21 == 3)
  9460. {
  9461. Waffe1 := "MP5"
  9462. }
  9463. else if (wp21 == 4)
  9464. {
  9465. Waffe1 := "M4"
  9466. }
  9467. else if (wp21 == 5)
  9468. {
  9469. Waffe1 := "Rifle"
  9470. }
  9471. else if (wp21 == 6)
  9472. {
  9473. Waffe1 := "Sniper"
  9474. }
  9475. else if (wp21 == 7)
  9476. {
  9477. Waffe1 := "katana"
  9478. }
  9479. else
  9480. return
  9481. SendChat("/buygun " Waffe1 " " wpa21)
  9482. }
  9483. if (wpc22 == 1)
  9484. {
  9485. if (wp22 == 1)
  9486. {
  9487. Waffe1 := "Deagle"
  9488. }
  9489. else if (wp22 == 2)
  9490. {
  9491. Waffe1 := "Shotgun"
  9492. }
  9493. else if (wp22 == 3)
  9494. {
  9495. Waffe1 := "MP5"
  9496. }
  9497. else if (wp22 == 4)
  9498. {
  9499. Waffe1 := "M4"
  9500. }
  9501. else if (wp22 == 5)
  9502. {
  9503. Waffe1 := "Rifle"
  9504. }
  9505. else if (wp22 == 6)
  9506. {
  9507. Waffe1 := "Sniper"
  9508. }
  9509. else if (wp22 == 7)
  9510. {
  9511. Waffe1 := "katana"
  9512. }
  9513. else
  9514. return
  9515. SendChat("/buygun " Waffe1 " " wpa22)
  9516. }
  9517. if (wpc23 == 1)
  9518. {
  9519. if (wp23 == 1)
  9520. {
  9521. Waffe1 := "Deagle"
  9522. }
  9523. else if (wp23 == 2)
  9524. {
  9525. Waffe1 := "Shotgun"
  9526. }
  9527. else if (wp23 == 3)
  9528. {
  9529. Waffe1 := "MP5"
  9530. }
  9531. else if (wp23 == 4)
  9532. {
  9533. Waffe1 := "M4"
  9534. }
  9535. else if (wp23 == 5)
  9536. {
  9537. Waffe1 := "Rifle"
  9538. }
  9539. else if (wp23 == 6)
  9540. {
  9541. Waffe1 := "Sniper"
  9542. }
  9543. else if (wp23 == 7)
  9544. {
  9545. Waffe1 := "katana"
  9546. }
  9547. else
  9548. return
  9549. SendChat("/buygun " Waffe1 " " wpa23)
  9550. }
  9551. if (wpc24 == 1)
  9552. {
  9553. if (wp24 == 1)
  9554. {
  9555. Waffe1 := "Deagle"
  9556. }
  9557. else if (wp24 == 2)
  9558. {
  9559. Waffe1 := "Shotgun"
  9560. }
  9561. else if (wp24 == 3)
  9562. {
  9563. Waffe1 := "MP5"
  9564. }
  9565. else if (wp24 == 4)
  9566. {
  9567. Waffe1 := "M4"
  9568. }
  9569. else if (wp24 == 5)
  9570. {
  9571. Waffe1 := "Rifle"
  9572. }
  9573. else if (wp24 == 6)
  9574. {
  9575. Waffe1 := "Sniper"
  9576. }
  9577. else if (wp24 == 7)
  9578. {
  9579. Waffe1 := "katana"
  9580. }
  9581. else
  9582. return
  9583. SendChat("/buygun " Waffe1 " " wpa24)
  9584. }
  9585. if (wpc25 == 1)
  9586. {
  9587. if (wp25 == 1)
  9588. {
  9589. Waffe1 := "Deagle"
  9590. }
  9591. else if (wp25 == 2)
  9592. {
  9593. Waffe1 := "Shotgun"
  9594. }
  9595. else if (wp25 == 3)
  9596. {
  9597. Waffe1 := "MP5"
  9598. }
  9599. else if (wp25 == 4)
  9600. {
  9601. Waffe1 := "M4"
  9602. }
  9603. else if (wp25 == 5)
  9604. {
  9605. Waffe1 := "Rifle"
  9606. }
  9607. else if (wp25 == 6)
  9608. {
  9609. Waffe1 := "Sniper"
  9610. }
  9611. else if (wp25 == 7)
  9612. {
  9613. Waffe1 := "katana"
  9614. }
  9615. else
  9616. return
  9617. SendChat("/buygun " Waffe1 " " wpa25)
  9618. Sleep 500
  9619. }
  9620. return
  9621. ExitSub:
  9622. If(LoggedIn == True)
  9623. {
  9624. }
  9625. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  9626. DestroyAllVisual()
  9627. ExitApp
  9628. return
  9629. OwnWeaponsGui:
  9630. gosub, OwnWPLoad
  9631. IfNotEqual,HKOG1,
  9632. StringReplace, HKOG1, HKOG1,~
  9633. IfNotEqual,HKOG2,
  9634. StringReplace, HKOG2, HKOG2,~
  9635. IfNotEqual,HKOG3,
  9636. StringReplace, HKOG3, HKOG3,~
  9637. IfNotEqual,HKOG4,
  9638. StringReplace, HKOG4, HKOG4,~
  9639. IfNotEqual,HKOG5,
  9640. StringReplace, HKOG5, HKOG5,~
  9641. Gui,OwnWP: Add, Picture, x0 y0 h349 w398, back03.png
  9642. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG1% vOG1 x142 y60 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9643. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG2% vOG2 x142 y100 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9644. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG3% vOG3 x142 y140 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9645. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG4% vOG4 x142 y180 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9646. Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG5% vOG5 x142 y220 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
  9647. Gui,OwnWP: Add, Hotkey, x22 y60 w90 h20 vHKOG1, %HKOG1%
  9648. Gui,OwnWP: Add, Hotkey, x22 y100 w90 h20 vHKOG2, %HKOG2%
  9649. Gui,OwnWP: Add, Hotkey, x22 y140 w90 h20 vHKOG3, %HKOG3%
  9650. Gui,OwnWP: Add, Hotkey, x22 y180 w90 h20 vHKOG4, %HKOG4%
  9651. Gui,OwnWP: Add, Hotkey, x22 y220 w90 h20 vHKOG5, %HKOG5%
  9652. Gui,OwnWP: Add, Edit, x252 y60 w100 h20 voga1, %oga1%
  9653. Gui,OwnWP: Add, Edit, x252 y100 w100 h20 voga2, %oga2%
  9654. Gui,OwnWP: Add, Edit, x252 y140 w100 h20 voga3, %oga3%
  9655. Gui,OwnWP: Add, Edit, x252 y180 w100 h20 voga4, %oga4%
  9656. Gui,OwnWP: Add, Edit, x252 y220 w100 h20 voga5, %oga5%
  9657. Gui,OwnWP: Add, Text, x22 y20 w90 h20 , - Taste -
  9658. Gui,OwnWP: Add, Text, x142 y20 w90 h20 , - Waffe -
  9659. Gui,OwnWP: Add, Text, x252 y20 w90 h20 , - Munition -
  9660. Gui,OwnWP: Add, Button, x272 y300 w100 h20 gOwnWPSave, Speichern
  9661. Gui,OwnWP: Show, x628 y344 h349 w398, Eigene Waffen belegen
  9662. IfNotEqual,HKOG1,
  9663. HKOG1:= "~" HKOG1
  9664. IfNotEqual,HKOG2,
  9665. HKOG2:= "~" HKOG2
  9666. IfNotEqual,HKOG3,
  9667. HKOG3:= "~" HKOG3
  9668. IfNotEqual,HKOG4,
  9669. HKOG4:= "~" HKOG4
  9670. IfNotEqual,HKOG5,
  9671. HKOG5:= "~" HKOG5
  9672. return
  9673. OwnWPGuiClose:
  9674. Gui,OwnWP: Destroy
  9675. return
  9676. OwnWPSave:
  9677. IfNotEqual,HKOG1,
  9678. Hotkey, %HKOG1%, Off, UseErrorLevel
  9679. IfNotEqual,HKOG2,
  9680. Hotkey, %HKOG2%, Off, UseErrorLevel
  9681. IfNotEqual,HKOG3,
  9682. Hotkey, %HKOG3%, Off, UseErrorLevel
  9683. IfNotEqual,HKOG4,
  9684. Hotkey, %HKOG4%, Off, UseErrorLevel
  9685. IfNotEqual,HKOG5,
  9686. Hotkey, %HKOG5%, Off, UseErrorLevel
  9687. Gui,OwnWP: Submit, NoHide
  9688. IfNotEqual,HKOG1,
  9689. StringReplace, HKOG1, HKOG1,~
  9690. IfNotEqual,HKOG2,
  9691. StringReplace, HKOG2, HKOG2,~
  9692. IfNotEqual,HKOG3,
  9693. StringReplace, HKOG3, HKOG3,~
  9694. IfNotEqual,HKOG4,
  9695. StringReplace, HKOG4, HKOG4,~
  9696. IfNotEqual,HKOG5,
  9697. StringReplace, HKOG5, HKOG5,~
  9698. Iniwrite, %HKOG1%, TaKe-Binder.ini,Wanteds, HKOG1
  9699. Iniwrite, %HKOG2%, TaKe-Binder.ini,Wanteds, HKOG2
  9700. Iniwrite, %HKOG3%, TaKe-Binder.ini,Wanteds, HKOG3
  9701. Iniwrite, %HKOG4%, TaKe-Binder.ini,Wanteds, HKOG4
  9702. Iniwrite, %HKOG5%, TaKe-Binder.ini,Wanteds, HKOG5
  9703. Iniwrite, %oga1%, TaKe-Binder.ini,Wanteds, oga1
  9704. Iniwrite, %oga2%, TaKe-Binder.ini,Wanteds, oga2
  9705. Iniwrite, %oga3%, TaKe-Binder.ini,Wanteds, oga3
  9706. Iniwrite, %oga4%, TaKe-Binder.ini,Wanteds, oga4
  9707. Iniwrite, %oga5%, TaKe-Binder.ini,Wanteds, oga5
  9708. Iniwrite, %OG1%, TaKe-Binder.ini,Wanteds, OG1
  9709. Iniwrite, %OG2%, TaKe-Binder.ini,Wanteds, OG2
  9710. Iniwrite, %OG3%, TaKe-Binder.ini,Wanteds, OG3
  9711. Iniwrite, %OG4%, TaKe-Binder.ini,Wanteds, OG4
  9712. Iniwrite, %OG5%, TaKe-Binder.ini,Wanteds, OG5
  9713. IfNotEqual,HKOG1,
  9714. HKOG1:= "~" HKOG1
  9715. IfNotEqual,HKOG2,
  9716. HKOG2:= "~" HKOG2
  9717. IfNotEqual,HKOG3,
  9718. HKOG3:= "~" HKOG3
  9719. IfNotEqual,HKOG4,
  9720. HKOG4:= "~" HKOG4
  9721. IfNotEqual,HKOG5,
  9722. HKOG5:= "~" HKOG5
  9723. IfNotEqual,HKOG1,
  9724. Hotkey, %HKOG1%, lHKOG1, UseErrorLevel
  9725. IfNotEqual,HKOG2,
  9726. Hotkey, %HKOG2%, lHKOG2, UseErrorLevel
  9727. IfNotEqual,HKOG3,
  9728. Hotkey, %HKOG3%, lHKOG3, UseErrorLevel
  9729. IfNotEqual,HKOG4,
  9730. Hotkey, %HKOG4%, lHKOG4, UseErrorLevel
  9731. IfNotEqual,HKOG5,
  9732. Hotkey, %HKOG5%, lHKOG5, UseErrorLevel
  9733. return
  9734. OwnWPLoad:
  9735. IfNotEqual,HKOG1,
  9736. Hotkey, %HKOG1%, Off, UseErrorLevel
  9737. IfNotEqual,HKOG2,
  9738. Hotkey, %HKOG2%, Off, UseErrorLevel
  9739. IfNotEqual,HKOG3,
  9740. Hotkey, %HKOG3%, Off, UseErrorLevel
  9741. IfNotEqual,HKOG4,
  9742. Hotkey, %HKOG4%, Off, UseErrorLevel
  9743. IfNotEqual,HKOG5,
  9744. Hotkey, %HKOG5%, Off, UseErrorLevel
  9745. IniRead, HKOG1, TaKe-Binder.ini,Wanteds, HKOG1
  9746. IniRead, HKOG2, TaKe-Binder.ini,Wanteds, HKOG2
  9747. IniRead, HKOG3, TaKe-Binder.ini,Wanteds, HKOG3
  9748. IniRead, HKOG4, TaKe-Binder.ini,Wanteds, HKOG4
  9749. IniRead, HKOG5, TaKe-Binder.ini,Wanteds, HKOG5
  9750. IniRead, oga1, TaKe-Binder.ini,Wanteds, oga1
  9751. IniRead, oga2, TaKe-Binder.ini,Wanteds, oga2
  9752. IniRead, oga3, TaKe-Binder.ini,Wanteds, oga3
  9753. IniRead, oga4, TaKe-Binder.ini,Wanteds, oga4
  9754. IniRead, oga5, TaKe-Binder.ini,Wanteds, oga5
  9755. IniRead, OG1, TaKe-Binder.ini,Wanteds, OG1
  9756. IniRead, OG2, TaKe-Binder.ini,Wanteds, OG2
  9757. IniRead, OG3, TaKe-Binder.ini,Wanteds, OG3
  9758. IniRead, OG4, TaKe-Binder.ini,Wanteds, OG4
  9759. IniRead, OG5, TaKe-Binder.ini,Wanteds, OG5
  9760. IfNotEqual,HKOG1,
  9761. HKOG1:= "~" HKOG1
  9762. IfNotEqual,HKOG2,
  9763. HKOG2:= "~" HKOG2
  9764. IfNotEqual,HKOG3,
  9765. HKOG3:= "~" HKOG3
  9766. IfNotEqual,HKOG4,
  9767. HKOG4:= "~" HKOG4
  9768. IfNotEqual,HKOG5,
  9769. HKOG5:= "~" HKOG5
  9770. IfNotEqual,HKOG1,
  9771. Hotkey, %HKOG1%, lHKOG1, UseErrorLevel
  9772. IfNotEqual,HKOG2,
  9773. Hotkey, %HKOG2%, lHKOG2, UseErrorLevel
  9774. IfNotEqual,HKOG3,
  9775. Hotkey, %HKOG3%, lHKOG3, UseErrorLevel
  9776. IfNotEqual,HKOG4,
  9777. Hotkey, %HKOG4%, lHKOG4, UseErrorLevel
  9778. IfNotEqual,HKOG5,
  9779. Hotkey, %HKOG5%, lHKOG5, UseErrorLevel
  9780. return
  9781. firstsave:
  9782. gosub, OverlaySave
  9783. gosub, KeybindsSave
  9784. gosub, OwnWPSave
  9785. gosub, SaveOptions
  9786. Iniwrite, 713, TaKe-Binder.ini,Settings, HPX
  9787. Iniwrite, 89, TaKe-Binder.ini,Settings, HPY
  9788. Iniwrite, 8, TaKe-Binder.ini,Settings, HPSize
  9789. Iniwrite, 630, TaKe-Binder.ini,Settings, WX
  9790. Iniwrite, 170, TaKe-Binder.ini,Settings, WY
  9791. Iniwrite, 9, TaKe-Binder.ini,Settings, WSize
  9792. Iniwrite, 26, TaKe-Binder.ini,Settings, PX
  9793. Iniwrite, 442, TaKe-Binder.ini,Settings, PY
  9794. Iniwrite, 9, TaKe-Binder.ini,Settings, PSize
  9795. Iniwrite, 0, TaKe-Binder.ini,Settings, VX
  9796. Iniwrite, 381, TaKe-Binder.ini,Settings, VY
  9797. Iniwrite, 8, TaKe-Binder.ini,Settings, VSize
  9798. IniWrite, 4, TaKe-Binder.ini,Settings,HPF
  9799. IniWrite, 4, TaKe-Binder.ini,Settings,VCF
  9800. IniWrite, 4, TaKe-Binder.ini,Settings,WCF
  9801. IniWrite, 4, TaKe-Binder.ini,Settings,PCF
  9802. return
  9803. lHKOG1:
  9804. If(BlockChatInput=1)
  9805. return
  9806. if(IsInChat())
  9807. {
  9808. Send, {%A_ThisHotkey%}
  9809. return
  9810. }
  9811. if (OG1 == 1)
  9812. {
  9813. Waffe1 := "Deagle"
  9814. }
  9815. else if (OG1 == 2)
  9816. {
  9817. Waffe1 := "Shotgun"
  9818. }
  9819. else if (OG1 == 3)
  9820. {
  9821. Waffe1 := "MP5"
  9822. }
  9823. else if (OG1 == 4)
  9824. {
  9825. Waffe1 := "M4"
  9826. }
  9827. else if (OG1 == 5)
  9828. {
  9829. Waffe1 := "Rifle"
  9830. }
  9831. else if (OG1 == 6)
  9832. {
  9833. Waffe1 := "Sniper"
  9834. }
  9835. else if (OG1 == 7)
  9836. {
  9837. Waffe1 := "katana"
  9838. }
  9839. else
  9840. return
  9841. SendChat("/buygun " Waffe1 " " oga1)
  9842. Sleep 500
  9843. return
  9844. lHKOG2:
  9845. If(BlockChatInput=1)
  9846. return
  9847. if(IsInChat())
  9848. {
  9849. Send, {%A_ThisHotkey%}
  9850. return
  9851. }
  9852. if (OG2 == 1)
  9853. {
  9854. Waffe1 := "Deagle"
  9855. }
  9856. else if (OG2 == 2)
  9857. {
  9858. Waffe1 := "Shotgun"
  9859. }
  9860. else if (OG2 == 3)
  9861. {
  9862. Waffe1 := "MP5"
  9863. }
  9864. else if (OG2 == 4)
  9865. {
  9866. Waffe1 := "M4"
  9867. }
  9868. else if (OG2 == 5)
  9869. {
  9870. Waffe1 := "Rifle"
  9871. }
  9872. else if (OG2 == 6)
  9873. {
  9874. Waffe1 := "Sniper"
  9875. }
  9876. else if (OG2 == 7)
  9877. {
  9878. Waffe1 := "katana"
  9879. }
  9880. else
  9881. return
  9882. SendChat("/buygun " Waffe1 " " oga2)
  9883. Sleep 500
  9884. return
  9885. lHKOG3:
  9886. If(BlockChatInput=1)
  9887. return
  9888. if(IsInChat())
  9889. {
  9890. Send, {%A_ThisHotkey%}
  9891. return
  9892. }
  9893. if (OG3 == 1)
  9894. {
  9895. Waffe1 := "Deagle"
  9896. }
  9897. else if (OG3 == 2)
  9898. {
  9899. Waffe1 := "Shotgun"
  9900. }
  9901. else if (OG3 == 3)
  9902. {
  9903. Waffe1 := "MP5"
  9904. }
  9905. else if (OG3 == 4)
  9906. {
  9907. Waffe1 := "M4"
  9908. }
  9909. else if (OG3 == 5)
  9910. {
  9911. Waffe1 := "Rifle"
  9912. }
  9913. else if (OG3 == 6)
  9914. {
  9915. Waffe1 := "Sniper"
  9916. }
  9917. else if (OG3 == 7)
  9918. {
  9919. Waffe1 := "katana"
  9920. }
  9921. else
  9922. return
  9923. SendChat("/buygun " Waffe1 " " oga3)
  9924. Sleep 500
  9925. return
  9926. lHKOG4:
  9927. If(BlockChatInput=1)
  9928. return
  9929. if(IsInChat())
  9930. {
  9931. Send, {%A_ThisHotkey%}
  9932. return
  9933. }
  9934. if (OG4 == 1)
  9935. {
  9936. Waffe1 := "Deagle"
  9937. }
  9938. else if (OG4 == 2)
  9939. {
  9940. Waffe1 := "Shotgun"
  9941. }
  9942. else if (OG4 == 3)
  9943. {
  9944. Waffe1 := "MP5"
  9945. }
  9946. else if (OG4 == 4)
  9947. {
  9948. Waffe1 := "M4"
  9949. }
  9950. else if (OG4 == 5)
  9951. {
  9952. Waffe1 := "Rifle"
  9953. }
  9954. else if (OG4 == 6)
  9955. {
  9956. Waffe1 := "Sniper"
  9957. }
  9958. else if (OG4 == 7)
  9959. {
  9960. Waffe1 := "katana"
  9961. }
  9962. else
  9963. return
  9964. SendChat("/buygun " Waffe1 " " oga4)
  9965. Sleep 500
  9966. return
  9967. lHKOG5:
  9968. If(BlockChatInput=1)
  9969. return
  9970. if(IsInChat())
  9971. {
  9972. Send, {%A_ThisHotkey%}
  9973. return
  9974. }
  9975. if (OG5 == 1)
  9976. {
  9977. Waffe1 := "Deagle"
  9978. }
  9979. else if (OG5 == 2)
  9980. {
  9981. Waffe1 := "Shotgun"
  9982. }
  9983. else if (OG5 == 3)
  9984. {
  9985. Waffe1 := "MP5"
  9986. }
  9987. else if (OG5 == 4)
  9988. {
  9989. Waffe1 := "M4"
  9990. }
  9991. else if (OG5 == 5)
  9992. {
  9993. Waffe1 := "Rifle"
  9994. }
  9995. else if (OG5 == 6)
  9996. {
  9997. Waffe1 := "Sniper"
  9998. }
  9999. else if (OG5 == 7)
  10000. {
  10001. Waffe1 := "katana"
  10002. }
  10003. else
  10004. return
  10005. SendChat("/buygun " Waffe1 " " oga5)
  10006. Sleep 500
  10007. return
  10008. lHKKillPlus:
  10009. If(BlockChatInput=1)
  10010. return
  10011. if(IsInChat())
  10012. {
  10013. Send, {%A_ThisHotkey%}
  10014. return
  10015. }
  10016. Kills++
  10017. tKills++
  10018. streak+=1
  10019. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  10020. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
  10021. if(ReadStats(text))
  10022. {
  10023. level := keyForEntry(text, "Level")
  10024. KillsDM := keyForEntry(text, "Kills \(DM\)")
  10025. death := keyForEntry(text, "Tode")
  10026. payday := keyForEntry(text, "Minuten seit Payday")
  10027. bank := keyForEntry(text, "Bank")
  10028. }
  10029. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  10030. kills := kills1
  10031. If(IsPlayerInAnyInterior()==1)
  10032. {
  10033. SendChat("/f " FSpruch " in einem Interior | Kills: " Kills " - Heute: " tKills)
  10034. }
  10035. else
  10036. SendChat("/f " FSpruch " in " zone " | Kills: " Kills " - Heute: " tKills)
  10037. if(Killstreak=1)
  10038. {
  10039. if(streak=3)
  10040. {
  10041. SendChat("/f >> 3er «« | Killstreak erreicht!")
  10042. }
  10043. else if(streak=6)
  10044. {
  10045. SendChat("/f >> 6er «« | Killstreak erreicht!")
  10046. }
  10047. else if(streak=9)
  10048. {
  10049. SendChat("/f >> 9er «« | Killstreak erreicht!")
  10050. }
  10051. else if(streak=12)
  10052. {
  10053. SendChat("/f >> 12er «« | Killstreak erreicht!")
  10054. }
  10055. else if(streak=15)
  10056. {
  10057. SendChat("/f >> 15er «« | Killstreak erreicht!")
  10058. }
  10059. else if(streak=18)
  10060. {
  10061. SendChat("/f >> 18er «« | Killstreak erreicht!")
  10062. }
  10063. else if(streak=21)
  10064. {
  10065. SendChat("/f >> 21er «« | Killstreak erreicht!")
  10066. }
  10067. else if(streak=24)
  10068. {
  10069. SendChat("/f >> 24er «« | Killstreak erreicht!")
  10070. }
  10071. }
  10072. return
  10073. lHKKillSpruch:
  10074. If(BlockChatInput=1)
  10075. return
  10076. if(IsInChat())
  10077. {
  10078. Send, {%A_ThisHotkey%}
  10079. return
  10080. }
  10081. Random,rand,1,5
  10082. if(KC%rand% == 1)
  10083. SendChat(Spruch%rand%)
  10084. else
  10085. gosub, lHKKillSpruch
  10086. return
  10087. lHKOwn1:
  10088. If(BlockChatInput=1)
  10089. return
  10090. if(IsInChat())
  10091. {
  10092. Send, {%A_ThisHotkey%}
  10093. return
  10094. }
  10095. Own1Old := Own1
  10096. CheckReplace("1")
  10097. SendChat(Own1)
  10098. Own1 := Own1Old
  10099. return
  10100. lHKOwn2:
  10101. If(BlockChatInput=1)
  10102. return
  10103. if(IsInChat())
  10104. {
  10105. Send, {%A_ThisHotkey%}
  10106. return
  10107. }
  10108. Own2Old := Own2
  10109. CheckReplace("2")
  10110. SendChat(Own2)
  10111. Own2 := Own2Old
  10112. return
  10113. lHKOwn3:
  10114. If(BlockChatInput=1)
  10115. return
  10116. if(IsInChat())
  10117. {
  10118. Send, {%A_ThisHotkey%}
  10119. return
  10120. }
  10121. Own3Old := Own3
  10122. CheckReplace("3")
  10123. SendChat(Own3)
  10124. Own3 := Own3Old
  10125. return
  10126. lHKOwn4:
  10127. If(BlockChatInput=1)
  10128. return
  10129. if(IsInChat())
  10130. {
  10131. Send, {%A_ThisHotkey%}
  10132. return
  10133. }
  10134. Own4Old := Own4
  10135. CheckReplace("4")
  10136. SendChat(Own4)
  10137. Own4 := Own4Old
  10138. return
  10139. lHKOwn5:
  10140. If(BlockChatInput=1)
  10141. return
  10142. if(IsInChat())
  10143. {
  10144. Send, {%A_ThisHotkey%}
  10145. return
  10146. }
  10147. Own5Old := Own5
  10148. CheckReplace("5")
  10149. SendChat(Own5)
  10150. Own5 := Own5Old
  10151. return
  10152. lHKOwn6:
  10153. If(BlockChatInput=1)
  10154. return
  10155. if(IsInChat())
  10156. {
  10157. Send, {%A_ThisHotkey%}
  10158. return
  10159. }
  10160. Own6Old := Own6
  10161. CheckReplace("6")
  10162. SendChat(Own6)
  10163. Own6 := Own6Old
  10164. return
  10165. lHKOwn7:
  10166. If(BlockChatInput=1)
  10167. return
  10168. if(IsInChat())
  10169. {
  10170. Send, {%A_ThisHotkey%}
  10171. return
  10172. }
  10173. Own7Old := Own7
  10174. CheckReplace("7")
  10175. SendChat(Own7)
  10176. Own7 := Own7Old
  10177. return
  10178. lHKOwn8:
  10179. If(BlockChatInput=1)
  10180. return
  10181. if(IsInChat())
  10182. {
  10183. Send, {%A_ThisHotkey%}
  10184. return
  10185. }
  10186. Own8Old := Own8
  10187. CheckReplace("8")
  10188. SendChat(Own8)
  10189. Own8 := Own8Old
  10190. return
  10191. lHKOwn9:
  10192. If(BlockChatInput=1)
  10193. return
  10194. if(IsInChat())
  10195. {
  10196. Send, {%A_ThisHotkey%}
  10197. return
  10198. }
  10199. Own9Old := Own9
  10200. CheckReplace("9")
  10201. SendChat(Own9)
  10202. Own9 := Own9Old
  10203. return
  10204. lHKOwn10:
  10205. If(BlockChatInput=1)
  10206. return
  10207. if(IsInChat())
  10208. {
  10209. Send, {%A_ThisHotkey%}
  10210. return
  10211. }
  10212. Own10Old := Own10
  10213. CheckReplace("10")
  10214. SendChat(Own10)
  10215. Own10 := Own10Old
  10216. return
  10217. lHKOwn11:
  10218. If(BlockChatInput=1)
  10219. return
  10220. if(IsInChat())
  10221. {
  10222. Send, {%A_ThisHotkey%}
  10223. return
  10224. }
  10225. Own11Old := Own11
  10226. CheckReplace("11")
  10227. SendChat(Own11)
  10228. Own11 := Own11Old
  10229. return
  10230. lHKOwn12:
  10231. If(BlockChatInput=1)
  10232. return
  10233. if(IsInChat())
  10234. {
  10235. Send, {%A_ThisHotkey%}
  10236. return
  10237. }
  10238. Own12Old := Own12
  10239. CheckReplace("12")
  10240. SendChat(Own12)
  10241. Own12 := Own12Old
  10242. return
  10243. :?:/gk 1.0::
  10244. Suspend Permit
  10245. SendiNput /me schaut im Stadtplan nach - Gebudekomplex 1.0:{enter}
  10246. Sleep 200
  10247. SendiNput t--Prison--{enter}
  10248. Sleep 200
  10249. SendiNput t--Gunshop bei den Ballas--{enter}
  10250. Sleep 200
  10251. SendiNput t--Shamal Interior--{enter}
  10252. Suspend Off
  10253. return
  10254. :?:/gk::
  10255. Suspend Permit
  10256. SendInput /gk
  10257. Organizer("/gk[Nummer]")
  10258. Input, komplex, V I M, {enter}
  10259. SendInput {end}+{home}{Del}{Esc}
  10260. if komplex is not number
  10261. {
  10262. Organizer("Bitte eine gültige Summe eingeben!")
  10263. return
  10264. }
  10265. IniRead, GK, %A_WorkingDir%/Komplexe.ini, GKs, %komplex%
  10266. if(GK == "ERROR")
  10267. {
  10268. Organizer("Dieser Gebäudekomplex ist nicht eingetragen !!")
  10269. return
  10270. }
  10271. else
  10272. {
  10273. Sendchat("Keybinder sagt Gebäudekomplex " komplex " ist " GK "")
  10274. }
  10275. Suspend off
  10276. return
  10277. :?:/tp::
  10278. suspend permit
  10279. SendInput {enter}
  10280. Organizer("{5B89CB}Takepizza gestartet schreib nichts ins Chat! {FFFFFF}'<' Abbruchtaste")
  10281. sleep 2000
  10282. SetTimer, Takepizza, 1050
  10283. return
  10284. Takepizza:
  10285. global:= pizzaverkauf
  10286. tp:=1
  10287. loop, 3
  10288. {
  10289. SendChat("/takepizza")
  10290. }
  10291. pizzaverkauf := A_TickCount + 1050
  10292. Suspend Off
  10293. return
  10294. :?:/sp::
  10295. suspend permit
  10296. SendInput /sellpizza{space}
  10297. Input, UID4, V I M, {enter}
  10298. Sendchat("/sellpizza " UID4 "")
  10299. Suspend off
  10300. return
  10301. return
  10302. ~<::
  10303. if(IsInChat()){
  10304. SendInput {%A_ThisHotkey%}
  10305. return
  10306. }
  10307. SetTimer, Takepizza, off
  10308. if(conquern=1)
  10309. {
  10310. Organizer("Conquer Abbruch!")
  10311. conquern:=0
  10312. }
  10313. if(tp=1)
  10314. {
  10315. Organizer("Takepizza gestoppt!")
  10316. tp:=0
  10317. }
  10318. else
  10319. {
  10320. return
  10321. }
  10322. tp:=0
  10323. conquern:=0
  10324. return
  10325. OptionGui:
  10326. Gui,Option: Destroy
  10327. Gui,Option: Add, Picture,x0 y0 w496 h459,back03.png
  10328. Gui,Option: Add, GroupBox, x22 y10 w220 h160, Medic
  10329. Gui,Option: Add, CheckBox,-Checked%mAuto% x32 y40 w140 h20 vmAuto, Heal autom. annehmen?
  10330. Gui,Option: Add, CheckBox,-Checked%mTHX% x32 y70 w140 h20 vmTHX, Bedanken?
  10331. Gui,Option: Add, CheckBox,-Checked%mTGC% x32 y100 w140 h20 vmTGC, Trinkgeld?
  10332. Gui,Option: Add, Edit, x32 y130 w140 h20 vmTG, %mTG%
  10333. Gui,Option: Add, GroupBox, x252 y10 w220 h190, Mechaniker
  10334. Gui,Option: Add, CheckBox,-Checked%mechREP% x262 y40 w150 h20 vmechREP, Rep. autom. annehmen?
  10335. Gui,Option: Add, CheckBox,-Checked%mechREF% x262 y70 w150 h20 vmechREF, Ref. autom. annehmen?
  10336. Gui,Option: Add, CheckBox,-Checked%mechTHX% x262 y100 w140 h20 vmechTHX, Bedanken?
  10337. Gui,Option: Add, CheckBox,-Checked%mechTGC% x262 y130 w140 h20 vmechTGC, Trinkgeld?
  10338. Gui,Option: Add, Edit, x262 y160 w140 h20 vmechTG, %mechTG%
  10339. Gui,Option: Add, GroupBox, x22 y210 w170 h90, Wanteds
  10340. Gui,Option: Add, CheckBox,-Checked%wMSG% x32 y240 w110 h20 vwMSG, Nachricht im Chat?
  10341. Gui,Option: Add, CheckBox,-Checked%wSound% x32 y265 w160 h20 vwSound, Sound abspielen?
  10342. Gui,Option: Add, GroupBox, x22 y320 w170 h75, Gangwar-/Gangzonesound
  10343. Gui,Option: Add, DropDownList,AltSubmit Choose%GZS% x32 y350 w70 h100 vGZS, Leo2201|Thomas Nike|DJ_Sticks
  10344. Gui,Option: Add, Button, x32 y375 w55 h15 gabspielen, abspielen
  10345. Gui,Option: Add, CheckBox,-Checked%gSound% x117 y350 w60 h20 vgSound, aktiviert?
  10346. Gui,Option: Add, GroupBox, x252 y210 w170 h120, Sonstiges
  10347. Gui,Option: Add, CheckBox,-Checked%wGebietinfo% x262 y240 w130 h20 vwGebietinfo, Gebietinfo im /f Chat?
  10348. Gui,Option: Add, CheckBox,-Checked%wAntiSpam% x262 y270 w150 h20 vwAntiSpam, AntiSpam Funktion an?
  10349. Gui,Option: Add, CheckBox,-Checked%Killstreak% x262 y300 w100 h20 vKillstreak, Killstreak an?
  10350. Gui,Option: Add, CheckBox,-Checked%Autotanken% x262 y330 w100 h20 vautotanken, Tanken autom. ?
  10351. Gui,Option: Add, CheckBox,-Checked%Autohd% x262 y360 w160 h20 vautohd, Hotdog autom. annehmen ?
  10352. Gui,Option: Add, Edit, x340 y385 w80 h20 vDrogenmenge, %Drogenmenge%
  10353. Gui,Option: Add, Text, x260 y387 w80 h20 +BackgroundTrans, Drogenmenge:
  10354. Gui,Option: Add, Button, x372 y410 w100 h30 gSaveOptions, Speichern
  10355. Gui,Option: Show, x616 y282 h459 w496, Optionen
  10356. Return
  10357. abspielen:
  10358. GuiControlGet, GZS
  10359. if(GZS=1)
  10360. {
  10361. SoundPlay, leo.wav
  10362. }
  10363. else if(GZS=2)
  10364. {
  10365. SoundPlay, thomas.wav
  10366. }
  10367. else if(GZS=3)
  10368. {
  10369. SoundPlay, sticks.wav
  10370. }
  10371. return
  10372. SaveOptions:
  10373. Gui,Option: Submit, noHide
  10374. Iniwrite, %mAuto%, TaKe-Binder.ini,Wanteds, mAuto
  10375. Iniwrite, %mTHX%, TaKe-Binder.ini,Wanteds, mTHX
  10376. Iniwrite, %mTGC%, TaKe-Binder.ini,Wanteds, mTGC
  10377. Iniwrite, %mTG%, TaKe-Binder.ini,Wanteds, mTG
  10378. Iniwrite, %mechREP%, TaKe-Binder.ini,Wanteds, mechREP
  10379. Iniwrite, %mechREF%, TaKe-Binder.ini,Wanteds, mechREF
  10380. Iniwrite, %mechTHX%, TaKe-Binder.ini,Wanteds, mechTHX
  10381. Iniwrite, %mechTGC%, TaKe-Binder.ini,Wanteds, mechTGC
  10382. Iniwrite, %mechTG%, TaKe-Binder.ini,Wanteds, mechTG
  10383. Iniwrite, %wMSG%, TaKe-Binder.ini,Wanteds, wMSG
  10384. Iniwrite, %wSound%, TaKe-Binder.ini,Wanteds, wSound
  10385. Iniwrite, %wGebietinfo%, TaKe-Binder.ini,Sonstiges, wGebietinfo
  10386. Iniwrite, %wAntiSpam%, TaKe-Binder.ini,Sonstiges, wAntiSpam
  10387. Iniwrite, %Killstreak%, TaKe-Binder.ini,Sonstiges, Killstreak
  10388. Iniwrite, %AutoTanken%, TaKe-Binder.ini,Sonstiges, AutoTanken
  10389. Iniwrite, %Autohd%, TaKe-Binder.ini,Sonstiges, Autohd
  10390. Iniwrite, %Drogenmenge%, TaKe-Binder.ini,Sonstiges, Drogenmenge
  10391. IniWrite, %GZS%, TaKe-Binder.ini,Sonstiges, Gangwar
  10392. IniWrite, %gSound%, TaKe-Binder.ini,Sonstiges, sGangwar
  10393. StreamTrayTip("TaKe-Binder","Optionen erfolgreich gespeichert", 4)
  10394. return
  10395. LoadOptions:
  10396. IniRead, mAuto, TaKe-Binder.ini,Wanteds, mAuto
  10397. IniRead, mTHX, TaKe-Binder.ini,Wanteds, mTHX
  10398. IniRead, mTGC, TaKe-Binder.ini,Wanteds, mTGC
  10399. IniRead, mTG, TaKe-Binder.ini,Wanteds, mTG
  10400. IniRead, mechREP, TaKe-Binder.ini,Wanteds, mechREP
  10401. IniRead, mechREF, TaKe-Binder.ini,Wanteds, mechREF
  10402. IniRead, mechTHX, TaKe-Binder.ini,Wanteds, mechTHX
  10403. IniRead, mechTGC, TaKe-Binder.ini,Wanteds, mechTGC
  10404. IniRead, mechTG, TaKe-Binder.ini,Wanteds, mechTG
  10405. IniRead, wMSG, TaKe-Binder.ini,Wanteds, wMSG
  10406. IniRead, wSound, TaKe-Binder.ini,Wanteds, wSound
  10407. IniRead, wGebietinfo, TaKe-Binder.ini,Sonstiges, wGebietinfo
  10408. IniRead, wAntiSpam, TaKe-Binder.ini,Sonstiges, wAntiSpam
  10409. IniRead, Killstreak, TaKe-Binder.ini,Sonstiges, Killstreak
  10410. IniRead, AutoTanken, TaKe-Binder.ini,Sonstiges, AutoTanken
  10411. IniRead, Autohd, TaKe-Binder.ini,Sonstiges, Autohd
  10412. IniRead, Drogenmenge, TaKe-Binder.ini,Sonstiges, Drogenmenge
  10413. IniRead, GZS, TaKe-Binder.ini,Sonstiges, Gangwar
  10414. IniRead, gSound, TaKe-Binder.ini,Sonstiges, sGangwar
  10415. return
  10416. OptionGuiClose:
  10417. Gui,Option: Destroy
  10418. return
  10419. :?:/cadd::
  10420. Suspend permit
  10421. Organizer("Den ganzen Namen oder id ID eintragen!")
  10422. Organizer("Nach dem eintragen des Namens 'Enter' Drücken!")
  10423. SendInput Name:{space}
  10424. Input bname,V I M,{enter}
  10425. SendInput t{end}+{home}{esc}
  10426. if(bname>=0 && bname<500)
  10427. {
  10428. blaname:=GetPlayerNameById(bname)
  10429. }
  10430. else
  10431. {
  10432. blaname:=bname
  10433. }
  10434. sleep 200
  10435. Suspend on
  10436. Organizer("Den Grund des Contracts der auf den Spieler erstellt wird eintragen.")
  10437. Organizer("Nach dem eintragen des Grundes 'Enter' Drücken!")
  10438. SendInput tGrund:{space}
  10439. Suspend on
  10440. Input bgrund,V I M,{enter}
  10441. SendInput t{end}+{home}{esc}
  10442. sleep 200
  10443. If FileExist("Userlist.txt")
  10444. {
  10445. Loop, read, Userlist.txt
  10446. {
  10447. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10448. if (wordarrey2 = blaname)
  10449. {
  10450. inlist := 1
  10451. linetemp = %A_LoopReadLine%
  10452. break
  10453. }
  10454. else
  10455. {
  10456. inlist := 0
  10457. }
  10458. }
  10459. if(inlist == 1)
  10460. {
  10461. Organizer("User bereits in der Liste vorhanden.")
  10462. Organizer("" linetemp )
  10463. }
  10464. else
  10465. {
  10466. FileAppend,
  10467. (
  10468. Name: %blaname% || Grund: %bgrund%`n
  10469. ), Userlist.txt
  10470. Organizer("Name: " blaname " | Grund: " bgrund " --- in die Userlist eingefgt.")
  10471. }
  10472. }
  10473. else
  10474. {
  10475. FileAppend,
  10476. (
  10477. Name: %blaname% || Grund: %bgrund%`n
  10478. ), Userlist.txt
  10479. Organizer("Name: " blaname " | Grund: " bgrund " --- in die Userlist eingefgt.")
  10480. }
  10481. Suspend Off
  10482. return
  10483. :?:/ccheck::
  10484. Suspend permit
  10485. found := 0
  10486. SendInput Suchbegriff:{space}
  10487. Input bsearch,V I M,{enter}
  10488. SendInput t{end}+{home}{esc}
  10489. sleep 200
  10490. If FileExist("Userlist.txt")
  10491. {
  10492. Loop, read, Userlist.txt
  10493. {
  10494. IfInString, A_LoopReadLine, %bsearch%
  10495. {
  10496. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10497. id := GetPlayerIdByName(wordarrey2)
  10498. if(id == -1 && id == -1 or id == -1 or id == -1)
  10499. Organizer("" A_LoopReadLine " || Status:{5B89CB} Offline")
  10500. else
  10501. Organizer("" A_LoopReadLine " || Status:{00FF00} Online (ID: " id ")")
  10502. found := 1
  10503. }
  10504. }
  10505. if(found == 1)
  10506. {
  10507. Organizer("Suche Abgeschlossen")
  10508. }
  10509. else
  10510. {
  10511. Organizer("Keine bereinstimmung gefunden")
  10512. }
  10513. }
  10514. else
  10515. {
  10516. Organizer("Noch keine User eingetragen")
  10517. }
  10518. Suspend Off
  10519. return
  10520. :?:/clist::
  10521. Suspend permit
  10522. If FileExist("Userlist.txt")
  10523. {
  10524. Organizer("{AFAFAF}{00FF04}<<<Contractlist>>>")
  10525. Loop, read, Userlist.txt
  10526. {
  10527. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10528. id := GetPlayerIdByName(wordarrey2)
  10529. if(id == -1 && id == -1 or id == -1 or id == -1)
  10530. Organizer("" A_LoopReadLine " || Status:{5B89CB} Offline")
  10531. else
  10532. Organizer("" A_LoopReadLine " || Status:{00FF00} Online (ID: " id ")")
  10533. }
  10534. }
  10535. else
  10536. {
  10537. Organizer("Noch keine User eingetragen")
  10538. }
  10539. Suspend Off
  10540. return
  10541. :?:/cdel::
  10542. Suspend permit
  10543. zeile := -1
  10544. SendInput Userlöschen:{space}
  10545. Input bdelete,V I M,{enter}
  10546. SendInput t{end}+{home}{esc}
  10547. sleep 200
  10548. Loop, read, Userlist.txt
  10549. {
  10550. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10551. if (wordarrey2 = bdelete)
  10552. {
  10553. zeile := A_Index
  10554. break
  10555. }
  10556. }
  10557. if(zeile = -1)
  10558. {
  10559. Organizer("" bdelete " wurde nicht gefunden. Vergewissern sie sich das der Name")
  10560. Organizer("komplett richtig geschrieben wurde und versuchen sie es erneut")
  10561. Suspend Off
  10562. return
  10563. }
  10564. neu=
  10565. Loop, read, Userlist.txt
  10566. {
  10567. if(A_Index != zeile)
  10568. {
  10569. neu=%neu%%A_LoopReadLine%`n
  10570. }
  10571. }
  10572. FileDelete, Userlist.txt
  10573. FileAppend, %neu%, Userlist.txt
  10574. Organizer("" wordarrey2 " wurde aus der Userliste entfernt.")
  10575. Suspend Off
  10576. return
  10577. :?:/conall::
  10578. Suspend permit
  10579. If FileExist("Userlist.txt")
  10580. {
  10581. Organizer("Das Contracten beginnt.")
  10582. neu=
  10583. Loop, read, Userlist.txt
  10584. {
  10585. StringSplit, wordarrey, A_LoopReadLine, %A_Space%
  10586. id := GetPlayerIdByName(wordarrey2)
  10587. if(id == -1)
  10588. {
  10589. Organizer("" A_LoopReadLine " || Status:{5B89CB} Offline")
  10590. neu=%neu%Name: %wordarrey2%`n
  10591. }
  10592. else
  10593. {
  10594. SendChat("/contract " wordarrey2 " 10000")
  10595. newcounter:=wordarrey6+1
  10596. neu=%neu%Name: %wordarrey2%`n
  10597. sleep 2000
  10598. }
  10599. }
  10600. Organizer("Alle User haben einen Contract.")
  10601. FileCopy, Userlist.txt,Userlist2.txt
  10602. FileDelete, Userlist.txt
  10603. FileCopy, Userlist2.txt,Userlist.txt
  10604. FileDelete, Userlist2.txt
  10605. }
  10606. else
  10607. {
  10608. Organizer("Noch keine User eingetragen")
  10609. }
  10610. Suspend Off
  10611. return
  10612. :?:/badd::
  10613. suspend permit
  10614. SendInput /add{Space}
  10615. Input, bname, V I M, {enter}
  10616. SendInput {end}+{home}{Del}{Esc}
  10617. if bname is not number
  10618. {
  10619. Organizer("Achtung: Bitte eine gltige ID eingeben!")
  10620. return
  10621. }
  10622. gid:=getplayernamebyid(bname)
  10623. ownbname:=getplayername()
  10624. if ( gid = ownbname )
  10625. {
  10626. Organizer("Du kannst dich nicht selbst zur Blackliste hinzufügen!")
  10627. return
  10628. }
  10629. if( gid == -1)
  10630. {
  10631. Organizer("Dieser Spieler ist nicht online!")
  10632. return
  10633. }
  10634. bumwandeln:=GetPlayernameByID(bname)
  10635. FileRead, bListe, Blackliste.txt
  10636. If InStr(bListe,bumwandeln)
  10637. {
  10638. Organizer("{00FF04}" bumwandeln " {FFFFFF}ist bereits vorhanden!")
  10639. }
  10640. else
  10641. {
  10642. FileAppend, `nbname=%bumwandeln%, Blackliste.txt
  10643. Organizer("{00FF04}" bumwandeln " {FFFFFF}erfolgreich zur Blackliste hinzugefgt!")
  10644. }
  10645. return
  10646. :?:/bdel::
  10647. Suspend Permit
  10648. SendInput ID des Spielers, den du entfernen mchtest:{space}
  10649. Input, bbnameID, V I M, {enter}
  10650. SendInput {end}+{home}{Del}{Esc}
  10651. if bbnameID is not number
  10652. {
  10653. Organizer("Bitte eine gltige ID eingeben!")
  10654. return
  10655. }
  10656. gbname:=GetPlayernameByID(bbnameID)
  10657. if ( gbname == -1) {
  10658. Organizer("Dieser Spieler ist nicht online!")
  10659. return
  10660. }
  10661. FileRead, bListe, Blackliste.txt
  10662. if ( not InStr(bListe, gbname) ) {
  10663. Organizer("{00FF04}" gbname " {FFFFFF}ist nicht in deiner Blackliste!")
  10664. return
  10665. }
  10666. FileRead, bnamen, Blackliste.txt
  10667. ifInString, bnamen, %gbname%
  10668. {
  10669. Loop, read, Blackliste.txt
  10670. {
  10671. ifInString, A_Loopreadline, %gbname%
  10672. continue
  10673. if(A_LoopReadLine!="")
  10674. {
  10675. FileAppend, %a_loopreadline%`n, Blackliste.txt.new
  10676. }
  10677. }
  10678. }
  10679. {
  10680. FileDelete, Blackliste.txt
  10681. FileMove, Blackliste.txt.new, Blackliste.txt, 1
  10682. Organizer("{00FF04}" gbname " {FFFFFF}wurde von deiner Blackliste entfernt!")
  10683. return
  10684. }
  10685. if(gbname == -1)
  10686. {
  10687. Organizer("Fehler: diese ID ist nicht Online!")
  10688. }
  10689. return
  10690. :?:/blist::
  10691. suspend permit
  10692. SendInput {enter}
  10693. Blackon:=0
  10694. Organizer("{AFAFAF}{00FF04}<<<Blackliste>>>")
  10695. Loop, read, Blackliste.txt
  10696. {
  10697. If (A_LoopReadLine = "")
  10698. continue
  10699. IfNotInString, A_LoopReadLine, bname
  10700. continue
  10701. StringSplit, bwort, A_LoopReadLine, =
  10702. id:=getPlayerIdByname(bwort2)
  10703. if (id != -1)
  10704. {
  10705. Organizer("" bwort2 ", ID: " id "")
  10706. Blackon++
  10707. }
  10708. }
  10709. Organizer("Es sind {00FF04}" Blackon " {FFFFFF}Blacklist Spieler Online")
  10710. return
  10711. :?:/bcheck::
  10712. Suspend Permit
  10713. SendInput ID zum überprüfen:{space}
  10714. Input, BLbnameID, V I M, {enter}
  10715. SendInput {end}+{home}{Del}{Esc}
  10716. if BLbnameID is not number
  10717. {
  10718. Organizer("Bitte eine gltige ID eingeben!")
  10719. }
  10720. gbname:=GetPlayernameByID(BLbnameID)
  10721. if ( gbname == -1) {
  10722. Organizer("Dieser Spieler ist nicht online!")
  10723. }
  10724. FileRead, Liste, Blackliste.txt
  10725. if ( not InStr(Liste, gbname) ) {
  10726. Organizer("{00FF04}" gbname " {FFFFFF}wurde nicht auf der Blackliste gefunden.")
  10727. }
  10728. else {
  10729. Organizer("{00FF04}" gbname " {FFFFFF}wurde auf der Blackliste gefunden.")
  10730. }
  10731. return
  10732. :?:/fcops::
  10733. SendInput, {Enter}
  10734. cops_on := 0
  10735. cops := 0
  10736. if(con_all == 0)
  10737. {
  10738. Organizer("{5B89CB}<<<Copliste leer!>>>")
  10739. }
  10740. else
  10741. {
  10742. sendchat("/f |___________________Aktuelle Copliste (Onlinespieler)___________________|")
  10743. Loop, Read, Copliste.txt
  10744. {
  10745. StringSplit, split, A_LoopReadLine, =
  10746. idname:=getPlayerIdByName(split2)
  10747. GegnerPing := getPlayerPingById(idname)
  10748. level := getPlayerScoreById(idname)
  10749. if(idname != -1)
  10750. {
  10751. sendchat("/f Name: " split2 ", (ID: {5B89CB}" idname ") Level: " level ", Ping: " GegnerPing)
  10752. sleep 1005
  10753. cops_on++
  10754. }
  10755. cops++
  10756. }
  10757. sleep 1005
  10758. sendchat("/f Es sind " cops_on "/" cops " Cops Online")
  10759. }
  10760. return
  10761. :?:/bcops::
  10762. SendInput, {Enter}
  10763. cops_on := 0
  10764. cops := 0
  10765. if(con_all == 0)
  10766. {
  10767. Organizer("{5B89CB}<<<Copliste leer!>>>")
  10768. }
  10769. else
  10770. {
  10771. sendchat("|___________________Aktuelle Copliste (Onlinespieler)___________________|")
  10772. Loop, Read, Copliste.txt
  10773. {
  10774. StringSplit, split, A_LoopReadLine, =
  10775. idname:=getPlayerIdByName(split2)
  10776. GegnerPing := getPlayerPingById(idname)
  10777. level := getPlayerScoreById(idname)
  10778. if(idname != -1)
  10779. {
  10780. sendchat("Name: " split2 ", (ID: {5B89CB}" idname ") Level: " level ", Ping: " GegnerPing)
  10781. sleep 1005
  10782. cops_on++
  10783. }
  10784. cops++
  10785. }
  10786. sleep 1005
  10787. sendchat("Es sind " cops_on "/" cops " Cops Online")
  10788. }
  10789. return
  10790. :?:/gcops::
  10791. SendInput, {Enter}
  10792. cops_on := 0
  10793. cops := 0
  10794. if(con_all == 0)
  10795. {
  10796. Organizer("{5B89CB}<<<Copliste leer!>>>")
  10797. }
  10798. else
  10799. {
  10800. sendchat("/g |___________________Aktuelle Copliste (Onlinespieler)___________________|")
  10801. Loop, Read, Copliste.txt
  10802. {
  10803. StringSplit, split, A_LoopReadLine, =
  10804. idname:=getPlayerIdByName(split2)
  10805. GegnerPing := getPlayerPingById(idname)
  10806. level := getPlayerScoreById(idname)
  10807. if(idname != -1)
  10808. {
  10809. sendchat("/f Name: " split2 ", (ID: {5B89CB}" idname ") , Level: " level ", Ping: " GegnerPing)
  10810. sleep 1005
  10811. cops_on++
  10812. }
  10813. cops++
  10814. }
  10815. sleep 1005
  10816. sendchat("/g Es sind " cops_on "/" cops " Cops Online")
  10817. }
  10818. return
  10819. :?:/fgegner::
  10820. SendInput, {Enter}
  10821. runner := 0
  10822. runner_on := 0
  10823. if(con_all == 0)
  10824. {
  10825. Organizer("{5B89CB}<<<Gegnerliste leer!>>>")
  10826. }
  10827. else
  10828. {
  10829. SendChat("/f Aktuelle Gegnerliste (Online)")
  10830. Loop, Read, Gegner.txt
  10831. {
  10832. StringSplit, split, A_LoopReadLine, =
  10833. idname:=getPlayerIdByName(split2)
  10834. if(idname != -1)
  10835. {
  10836. SendChat("/f " split2 " - (ID: " idname ")")
  10837. sleep 1005
  10838. runner_on++
  10839. }
  10840. runner++
  10841. }
  10842. sleep 1005
  10843. SendChat("/f Es sind " . runner_on . " Gegner Online")
  10844. }
  10845. return
  10846. :?:/ggegner::
  10847. SendInput, {Enter}
  10848. runner := 0
  10849. runner_on := 0
  10850. if(con_all == 0)
  10851. {
  10852. Organizer("{00B9FF}<<<Gegnerliste leer!>>>")
  10853. }
  10854. else
  10855. {
  10856. SendChat("/g Aktuelle Gegnerliste (Online)")
  10857. Loop, Read, Gegner.txt
  10858. {
  10859. StringSplit, split, A_LoopReadLine, =
  10860. idname:=getPlayerIdByName(split2)
  10861. if(idname != -1)
  10862. {
  10863. SendChat("/g " split2 " - (ID: " idname ") - ")
  10864. sleep 1005
  10865. runner_on++
  10866. }
  10867. runner++
  10868. }
  10869. sleep 1005
  10870. SendChat("/g Es sind " . runner_on . " Gegner Online")
  10871. }
  10872. return
  10873. :?:/copadd::
  10874. suspend permit
  10875. SendInput /add{Space}
  10876. Input, bname, V I M, {enter}
  10877. SendInput {end}+{home}{Del}{Esc}
  10878. if bname is not number
  10879. {
  10880. Organizer("Achtung: Bitte eine gültige ID eingeben!")
  10881. return
  10882. }
  10883. gid:=getplayernamebyid(bname)
  10884. ownbname:=getplayername()
  10885. if ( gid = ownbname )
  10886. {
  10887. Organizer("Du kannst dich nicht selbst zur Copliste hinzufügen!")
  10888. return
  10889. }
  10890. if( gid == -1)
  10891. {
  10892. Organizer("Dieser Spieler ist nicht online!")
  10893. return
  10894. }
  10895. bumwandeln:=GetPlayernameByID(bname)
  10896. FileRead, bListe, Copliste.txt
  10897. If InStr(bListe,bumwandeln)
  10898. {
  10899. Organizer("{00FF04}" bumwandeln " {FFFFFF}ist bereits vorhanden!")
  10900. }
  10901. else
  10902. {
  10903. FileAppend, `nbname=%bumwandeln%, Copliste.txt
  10904. Organizer("{00FF04}" bumwandeln " {FFFFFF}erfolgreich zur Copliste hinzugefügt!")
  10905. }
  10906. return
  10907. :?:/copdel::
  10908. Suspend Permit
  10909. SendInput ID des Spielers, den du entfernen mchtest:{space}
  10910. Input, bbnameID, V I M, {enter}
  10911. SendInput {end}+{home}{Del}{Esc}
  10912. if bbnameID is not number
  10913. {
  10914. Organizer("Achtung: Bitte eine gültige ID eingeben!")
  10915. return
  10916. }
  10917. gbname:=GetPlayernameByID(bbnameID)
  10918. if ( gbname == -1) {
  10919. Organizer("Dieser Spieler ist nicht online!")
  10920. return
  10921. }
  10922. FileRead, bListe, Copliste.txt
  10923. if ( not InStr(bListe, gbname) ) {
  10924. Organizer("{00FF04}" gbname "{FFFFFF}ist nicht in deiner Copliste!")
  10925. return
  10926. }
  10927. FileRead, bnamen, Copliste.txt
  10928. ifInString, bnamen, %gbname%
  10929. {
  10930. Loop, read, Copliste.txt
  10931. {
  10932. ifInString, A_Loopreadline, %gbname%
  10933. continue
  10934. if(A_LoopReadLine!="")
  10935. {
  10936. FileAppend, %a_loopreadline%`n, Copliste.txt.new
  10937. }
  10938. }
  10939. }
  10940. {
  10941. FileDelete, Copliste.txt
  10942. FileMove, Copliste.txt.new, Copliste.txt, 1
  10943. Organizer("{00FF04}" gbname " {FFFFFF}wurde von deiner Copliste entfernt!")
  10944. return
  10945. }
  10946. if(gbname == -1)
  10947. {
  10948. Organizer("{00FF04}Fehler: diese ID ist nicht Online!")
  10949. }
  10950. return
  10951. :?:/cops::
  10952. suspend permit
  10953. SendInput {enter}
  10954. Blackon:=0
  10955. cops := 0
  10956. Organizer("{AFAFAF}{00FF04}<<<Polizisten>>>")
  10957. Loop, Read, Copliste.txt
  10958. {
  10959. cops++
  10960. If (A_LoopReadLine = "")
  10961. continue
  10962. IfNotInString, A_LoopReadLine, bname
  10963. continue
  10964. StringSplit, bwort, A_LoopReadLine, =
  10965. id:=getPlayerIdByname(bwort2)
  10966. GegnerPing := getPlayerPingById(id)
  10967. if (id != -1)
  10968. {
  10969. Organizer("{FFFFFF}" bwort2 ", ID:{00FF04} " id " - Ping: " GegnerPing "")
  10970. Blackon++
  10971. }
  10972. }
  10973. if(blackon == 1)
  10974. Organizer("Es ist {00FF04}" Blackon "/" cops " {FFFFFF}Polizist Online")
  10975. else
  10976. Organizer("Es sind {00FF04}" Blackon "/" cops " {FFFFFF}Polizisten Online")
  10977. Sendchat("/f Es sind {00FF04}" Blackon "/" cops " Polizisten Online")
  10978. return
  10979. :?:/copcheck::
  10980. Suspend Permit
  10981. SendInput ID zum berprfen:{space}
  10982. Input, BLbnameID, V I M, {enter}
  10983. SendInput {end}+{home}{Del}{Esc}
  10984. if BLbnameID is not number
  10985. {
  10986. Organizer("Achtung: Bitte eine gültige ID eingeben!")
  10987. }
  10988. gbname:=GetPlayernameByID(BLbnameID)
  10989. if ( gbname == -1) {
  10990. Organizer("Dieser Spieler ist nicht online!")
  10991. }
  10992. FileRead, Liste, Copliste.txt
  10993. if ( not InStr(Liste, gbname) ) {
  10994. Organizer("{00FF04}" gbname " {FFFFFF}wurde nicht auf der Gegnerliste gefunden.")
  10995. }
  10996. else {
  10997. Organizer("{00FF04}" gbname " {FFFFFF}wurde auf der Gegnerliste gefunden.")
  10998. }
  10999. return
  11000. :?:/add::
  11001. suspend permit
  11002. Organizer("/add {5B89CB}[ID/Name] {5B89CB}[Gang/Mafia]")
  11003. Organizer("/add 88 Cali Kartell oder /add TaKeshi.ShinoDa Cali Kartell")
  11004. SendInput, /add{Space}
  11005. Input, user1, V I M, {Space}
  11006. Input, GangMafia, V I M, {Enter}
  11007. SendInput {end}+{home}{Del}{Esc}
  11008. if(user == "" || GangMafia == "")
  11009. {
  11010. Organizer("{5B89CB}FEHLER! Der Gegner konnte nicht gespeichert werden.")
  11011. }
  11012. else
  11013. {
  11014. if user1 is integer
  11015. username := getPlayerNameById(user1)
  11016. else
  11017. username := user1
  11018. own:=getplayername()
  11019. if ( username = own )
  11020. {
  11021. Organizer("{5B89CB}FEHLER! Du kannst dich nicht selbst zur Gegnerliste hinzufügen!")
  11022. return
  11023. }
  11024. FileRead, Liste, Gegner.txt
  11025. name:=GetPlayernameByID(user1)
  11026. If InStr(Liste, name)
  11027. {
  11028. Organizer("{5B89CB}FEHLER! {5B89CB}" name " {FFFFFF}ist bereits in der Gegnerliste vorhanden!")
  11029. return
  11030. }
  11031. if(username == "")
  11032. {
  11033. Organizer("Der Gegner konnte nicht gefunden werden.")
  11034. }
  11035. else
  11036. {
  11037. FileAppend, %username%|%GangMafia%`n, Gegner.txt
  11038. Organizer("Der Gegner {5B89CB}'" . username . "' {FFFFFF}wurde auf die Gegnerliste gesetzt.")
  11039. con_all++
  11040. }
  11041. }
  11042. return
  11043. :?:/del::
  11044. Suspend Permit
  11045. Organizer("/del {5B89CB}[ID]")
  11046. SendInput /del{space}
  11047. Input, bbnameID, V I M, {enter}
  11048. SendInput {end}+{home}{Del}{Esc}
  11049. if bbnameID is not number
  11050. {
  11051. Organizer("{5B89CB}FEHLER! Bitte eine gültige ID eingeben!")
  11052. return
  11053. }
  11054. gbname:=GetPlayernameByID(bbnameID)
  11055. if ( gbname == -1) {
  11056. Organizer("{5B89CB}FEHLER! Dieser Spieler ist nicht online!")
  11057. return
  11058. }
  11059. if ( bbnameID == "") {
  11060. Organizer("{5B89CB}FEHLER! Es konnte kein Name festgestellt werden!")
  11061. return
  11062. }
  11063. FileRead, bListe, Gegner.txt
  11064. if ( not InStr(bListe, gbname) ) {
  11065. Organizer("{5B89CB}FEHLER! {5B89CB}" gbname "{FFFFFF} ist nicht in deiner Gegnerliste!")
  11066. return
  11067. }
  11068. FileRead, bnamen, Gegner.txt
  11069. ifInString, bnamen, %gbname%
  11070. {
  11071. Loop, read, Gegner.txt
  11072. {
  11073. ifInString, A_Loopreadline, %gbname%
  11074. continue
  11075. if(A_LoopReadLine!="")
  11076. {
  11077. FileAppend, %a_loopreadline%`n, Gegner.txt.new
  11078. }
  11079. }
  11080. }
  11081. {
  11082. FileDelete, Gegner.txt
  11083. FileMove, Gegner.txt.new, Gegner.txt, 1
  11084. FileDelete, Gegner.txt.new
  11085. Organizer("{00FF04}" gbname " wurde von deiner Gegnerliste entfernt!")
  11086. return
  11087. }
  11088. return
  11089. EnemyGui:
  11090. Gui,Enemy: Destroy
  11091. Gui,Enemy: Font,s10, Comic Sans
  11092. Gui,Enemy: Add, Picture, x0 y0 w600 h436, back03.png
  11093. Gui,Enemy: Add, Text, x32 y30 w200 h20 +BackgroundTrans, - Gegnerliste -
  11094. Gui,Enemy: Add, Text, x32 y60 w200 h20 +BackgroundTrans, /add - Gegner hinzufügen
  11095. Gui,Enemy: Add, Text, x32 y90 w200 h20 +BackgroundTrans, /del - Gegner löschen
  11096. Gui,Enemy: Add, Text, x32 y120 w220 h20 +BackgroundTrans, /check - überprüfen ob schon in Liste
  11097. Gui,Enemy: Add, Text, x32 y150 w200 h20 +BackgroundTrans, /gegner - Liste abrufen
  11098. Gui,Enemy: Add, Text, x282 y30 w200 h20 +BackgroundTrans, - Contractliste -
  11099. Gui,Enemy: Add, Text, x282 y60 w200 h20 +BackgroundTrans, /cadd - Gegner hinzufügen
  11100. Gui,Enemy: Add, Text, x282 y120 w240 h20 +BackgroundTrans, /ccheck - überprüfen ob schon in Liste
  11101. Gui,Enemy: Add, Text, x282 y150 w200 h20 +BackgroundTrans, /conall - Contracten
  11102. Gui,Enemy: Add, Text, x282 y90 w200 h20 +BackgroundTrans, /cdel - Gegner löschen
  11103. Gui,Enemy: Add, Text, x32 y200 w200 h20 +BackgroundTrans, - Blacklist -
  11104. Gui,Enemy: Add, Text, x32 y230 w200 h20 +BackgroundTrans, /badd - Gegner hinzufügen
  11105. Gui,Enemy: Add, Text, x32 y260 w200 h20 +BackgroundTrans, /bdel - Gegner löschen
  11106. Gui,Enemy: Add, Text, x32 y290 w200 h20 +BackgroundTrans, /blist - Liste abrufen
  11107. Gui,Enemy: Show, x611 y271 h436 w600, Gegnerliste
  11108. Return
  11109. EnemyGuiClose:
  11110. Gui,Enemy: Destroy
  11111. return
  11112. :?:/25k::
  11113. Suspend Permit
  11114. SendInput {enter}t/atm{enter}
  11115. Sleep 150
  11116. SendInput {down}{enter}
  11117. Sleep 100
  11118. SendInput 25000{enter}
  11119. Sleep 100
  11120. SendInput {esc}
  11121. Suspend off
  11122. return
  11123. :?:/99k::
  11124. Suspend Permit
  11125. SendInput {enter}t/atm{enter}
  11126. Sleep 150
  11127. SendInput {down}{enter}
  11128. Sleep 100
  11129. SendInput 99000{enter}
  11130. Sleep 100
  11131. SendInput {esc}
  11132. Suspend off
  11133. return
  11134. :?:/50k::
  11135. Suspend Permit
  11136. SendInput {enter}t/atm{enter}
  11137. Sleep 150
  11138. SendInput {down}{enter}
  11139. Sleep 100
  11140. SendInput 50000{enter}
  11141. Sleep 100
  11142. SendInput {esc}
  11143. Suspend off
  11144. return
  11145. :?:/75k::
  11146. Suspend Permit
  11147. SendInput {enter}t/atm{enter}
  11148. Sleep 150
  11149. SendInput {down}{enter}
  11150. Sleep 100
  11151. SendInput 75000{enter}
  11152. Sleep 100
  11153. SendInput {esc}
  11154. Suspend off
  11155. return
  11156. :?:/150k::
  11157. Suspend Permit
  11158. SendInput {enter}t/atm{enter}
  11159. Sleep 150
  11160. SendInput {down}{enter}
  11161. Sleep 100
  11162. SendInput 150000{enter}
  11163. Sleep 100
  11164. SendInput {esc}
  11165. Suspend off
  11166. return
  11167. :?:/200k::
  11168. Suspend Permit
  11169. SendInput {enter}t/atm{enter}
  11170. Sleep 150
  11171. SendInput {down}{enter}
  11172. Sleep 100
  11173. SendInput 200000{enter}
  11174. Sleep 100
  11175. SendInput {esc}
  11176. Suspend off
  11177. return
  11178. :?:/300k::
  11179. Suspend Permit
  11180. SendInput {enter}t/atm{enter}
  11181. Sleep 150
  11182. SendInput {down}{enter}
  11183. Sleep 100
  11184. SendInput 300000{enter}
  11185. Sleep 100
  11186. SendInput {esc}
  11187. Suspend off
  11188. return
  11189. :?:/500k::
  11190. Suspend Permit
  11191. SendInput {enter}t/atm{enter}
  11192. Sleep 150
  11193. SendInput {down}{enter}
  11194. Sleep 100
  11195. SendInput 500000{enter}
  11196. Sleep 100
  11197. SendInput {esc}
  11198. Suspend off
  11199. return
  11200. :?:/999k::
  11201. Suspend Permit
  11202. SendInput {enter}t/atm{enter}
  11203. Sleep 150
  11204. SendInput {down}{enter}
  11205. Sleep 100
  11206. SendInput 999999{enter}
  11207. Sleep 100
  11208. SendInput {esc}
  11209. Suspend off
  11210. return
  11211. GameText:
  11212. IfWinNotActive, GTA:SA:MP
  11213. return
  11214. Loop, read,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11215. {
  11216. Zeile:=A_LoopReadLine
  11217. }
  11218. IfInString,Zeile, ~g~Gangwarkill
  11219. {
  11220. if(gSound=1)
  11221. {
  11222. if(GZS=1)
  11223. {
  11224. SoundPlay, leo.wav
  11225. }
  11226. else if(GZS=2)
  11227. {
  11228. SoundPlay, thomas.wav
  11229. }
  11230. else if(GZS=3)
  11231. {
  11232. SoundPlay, sticks.wav
  11233. }
  11234. }
  11235. if(FSpruch == "")
  11236. FSpruch = GangwarKill
  11237. Kills++
  11238. tKills++
  11239. streak+=1
  11240. MonatKills +=1
  11241. if(ReadStats(text))
  11242. {
  11243. level := keyForEntry(text, "Level")
  11244. KillsDM := keyForEntry(text, "Kills \(DM\)")
  11245. death := keyForEntry(text, "Tode")
  11246. payday := keyForEntry(text, "Minuten seit Payday")
  11247. bank := keyForEntry(text, "Bank")
  11248. }
  11249. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  11250. kills := kills1
  11251. StringReplace, varback,kills, .
  11252. StringReplace, VarBack1,death, .
  11253. IniWrite,%MonatKills%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  11254. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  11255. IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11256. IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
  11257. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
  11258. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11259. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  11260. IniRead, Diff, Take-binder.ini, Optionen, Differenz
  11261. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  11262. Dif:= gangwarkills - tode
  11263. KD:= gangwarkills / tode
  11264. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11265. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11266. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11267. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11268. Organizer("Tages Kills: {56bfeb}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {56bfeb}" kills "{FFFFFF}K/D: {56bfeb}" KD "")
  11269. If(IsPlayerInAnyInterior()==1)
  11270. {
  11271. SendChat("/f " FSpruch " in einem Interior | Kills: " number_format(GangwarKills) " - Heute: " tKills)
  11272. }
  11273. else
  11274. {
  11275. SendChat("/f " FSpruch " in " zone " | Kills: " number_format(GangwarKills) " - Heute: " tKills)
  11276. }
  11277. If(ChatKillspruchmain = 1)
  11278. {
  11279. gosub, RandomSpruch
  11280. Sleep, 300
  11281. }
  11282. if(Killstreak=1)
  11283. {
  11284. if(streak=3)
  11285. {
  11286. SendChat("/f >> 3er «« | Killstreak erreicht!")
  11287. }
  11288. else if(streak=6)
  11289. {
  11290. SendChat("/f >> 6er «« | Killstreak erreicht!")
  11291. }
  11292. else if(streak=9)
  11293. {
  11294. SendChat("/f >> 9er «« | Killstreak erreicht!")
  11295. }
  11296. else if(streak=12)
  11297. {
  11298. SendChat("/f >> 12er «« | Killstreak erreicht!")
  11299. }
  11300. else if(streak=15)
  11301. {
  11302. SendChat("/f >> 15er «« | Killstreak erreicht!")
  11303. }
  11304. else if(streak=18)
  11305. {
  11306. SendChat("/f >> 18er «« | Killstreak erreicht!")
  11307. }
  11308. else if(streak=21)
  11309. {
  11310. SendChat("/f >> 21er «« | Killstreak erreicht!")
  11311. }
  11312. else if(streak=24)
  11313. {
  11314. SendChat("/f >> 24er «« | Killstreak erreicht!")
  11315. }
  11316. }
  11317. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11318. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11319. return
  11320. }
  11321. IfInString,Zeile, ~r~gangwarkill
  11322. {
  11323. Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  11324. City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
  11325. streak:=0
  11326. tdeaths +=1
  11327. MonatTode++
  11328. Iniwrite,0, TaKe-Binder.ini,Drogensystem, DrogenLost
  11329. IniWrite, %tDeaths%, Statistik\statsi.ini, Tageskills, tDeaths
  11330. Iniwrite,%MonatTode%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  11331. IniWrite, 0, Statistik\statsi.ini, Killstreak, streak
  11332. drogenlost := drogen
  11333. If(IsPlayerInAnyInterior()==1)
  11334. {
  11335. SendChat("/f Ein Feind hat mich soeben in einem Interior getötet")
  11336. }
  11337. else
  11338. {
  11339. SendChat("/f Ein Feind hat mich soeben in " zone " getötet")
  11340. }
  11341. FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11342. return
  11343. }
  11344. IfInString,Zeile, ~r~gangzonekill
  11345. {
  11346. streak:=0
  11347. IniWrite, 0, Statistik\statsi.ini, Killstreak, streak
  11348. Deaths++
  11349. tDeaths++
  11350. MonatTode++
  11351. Iniwrite,0, TaKe-Binder.ini,Drogensystem, DrogenLost
  11352. Iniwrite,%MonatTode%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  11353. IniWrite, %tDeaths%, Statistik\statsi.ini, Tageskills, tDeaths
  11354. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  11355. Iniwrite,0, Take-Binder.ini,Drogensystem, Drogen
  11356. Iniwrite,0, Take-Binder.ini,Drogensystem, Used
  11357. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11358. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11359. Organizer("Tages Kills: {56bfeb}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {56bfeb}" kills "{FFFFFF}K/D: {56bfeb}" KD "")
  11360. Organizer("Drogen/Killstreak zhler wurde zurckgesetzt")
  11361. SendChat("/f Ich bin soeben im Gebiet gestorben! (Gangzone down)")
  11362. FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11363. return
  11364. }
  11365. IfInString,Zeile, ~g~Gangzonekill
  11366. {
  11367. if(gSound=1)
  11368. {
  11369. if(GZS=1)
  11370. {
  11371. SoundPlay, leo.wav
  11372. }
  11373. else if(GZS=2)
  11374. {
  11375. SoundPlay, thomas.wav
  11376. }
  11377. else if(GZS=3)
  11378. {
  11379. SoundPlay, sticks.wav
  11380. }
  11381. }
  11382. Kills++
  11383. tKills++
  11384. streak+=1
  11385. MonatKills +=1
  11386. if(ReadStats(text))
  11387. {
  11388. level := keyForEntry(text, "Level")
  11389. KillsDM := keyForEntry(text, "Kills \(DM\)")
  11390. death := keyForEntry(text, "Tode")
  11391. payday := keyForEntry(text, "Minuten seit Payday")
  11392. bank := keyForEntry(text, "Bank")
  11393. }
  11394. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  11395. kills := kills1
  11396. StringReplace, varback,kills, .
  11397. StringReplace, VarBack1,death, .
  11398. IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
  11399. IniWrite,%MonatKills%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  11400. IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11401. IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
  11402. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11403. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  11404. IniRead, Diff, Take-binder.ini, Optionen, Differenz
  11405. Dif:= gangwarkills - tode
  11406. KD:= gangwarkills / tode
  11407. FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11408. FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11409. SendChat("/f GangZone | Kills: " Kills " - Heute: " tKills)
  11410. if(Killstreak=1)
  11411. {
  11412. if(streak=3)
  11413. {
  11414. SendChat("/f >> 3er «« | Killstreak erreicht!")
  11415. }
  11416. else if(streak=6)
  11417. {
  11418. SendChat("/f >> 6er «« | Killstreak erreicht!")
  11419. }
  11420. else if(streak=9)
  11421. {
  11422. SendChat("/f >> 9er «« | Killstreak erreicht!")
  11423. }
  11424. else if(streak=12)
  11425. {
  11426. SendChat("/f >> 12er «« | Killstreak erreicht!")
  11427. }
  11428. else if(streak=15)
  11429. {
  11430. SendChat("/f >> 15er «« | Killstreak erreicht!")
  11431. }
  11432. else if(streak=18)
  11433. {
  11434. SendChat("/f >> 18er «« | Killstreak erreicht!")
  11435. }
  11436. else if(streak=21)
  11437. {
  11438. SendChat("/f >> 21er «« | Killstreak erreicht!")
  11439. }
  11440. else if(streak=24)
  11441. {
  11442. SendChat("/f >> 24er «« | Killstreak erreicht!")
  11443. }
  11444. }
  11445. Organizer("Tages Kills: {56bfeb}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {56bfeb}" kills "{FFFFFF}K/D: {56bfeb}" KD "")
  11446. IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
  11447. FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11448. return
  11449. }
  11450. IfInString,Zeile, ~n~~w~Restliche Haftstrafe:
  11451. {
  11452. RegExMatch(Zeile,"Restliche Haftstrafe: (.*) sec", Ptime)
  11453. Organizer("Restliche Haftstrafe: " FormatSeconds(Ptime1))
  11454. FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
  11455. return
  11456. }
  11457. return
  11458. :?:/idsms::
  11459. suspend permit
  11460. SendInput /number{space}
  11461. Input uwe,V I M,{enter}
  11462. Sleep 250
  11463. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  11464. {
  11465. If InStr(A_LoopReadLine, ", Ph:")
  11466. {
  11467. RegExMatch(A_LoopReadLine, "Name: .*, Ph: (\w*)" ,number)
  11468. SendInput, t^a/sms %number1%{space}
  11469. }
  11470. }
  11471. Suspend off
  11472. return
  11473. :?:/cd::
  11474. Suspend Permit
  11475. SendInput,{enter}
  11476. Suspend Off
  11477. Sleep 200
  11478. {
  11479. SendChat("/s 3 ")
  11480. KeyWait, <, D T1
  11481. If !ErrorLevel
  11482. {
  11483. SendChat("/s Countdown abgebrochen")
  11484. return
  11485. }
  11486. }
  11487. {
  11488. SendChat("/s 2 ")
  11489. KeyWait, <, D T1
  11490. If !ErrorLevel
  11491. {
  11492. SendChat("/s Countdown abgebrochen")
  11493. return
  11494. }
  11495. }
  11496. {
  11497. SendChat("/s 1 ")
  11498. KeyWait, <, D T1
  11499. If !ErrorLevel
  11500. {
  11501. SendChat("/s Countdown abgebrochen")
  11502. return
  11503. }
  11504. }
  11505. {
  11506. SendChat("/s GO ")
  11507. KeyWait, <, D T1
  11508. If !ErrorLevel
  11509. {
  11510. SendChat("/s Countdown abgebrochen")
  11511. return
  11512. }
  11513. }
  11514. Return
  11515. :?:/fstand::
  11516. Suspend permit
  11517. SendInput {enter}
  11518. if(ReadStats(text))
  11519. {
  11520. Bank := keyForEntry(text, "Bank")
  11521. Geldd := keyForEntry(text, "Geld")
  11522. Level := keyForEntry(text, "Level")
  11523. Respekt := keyForEntry(text, "Respekt")
  11524. barren := keyForEntry(text, "Goldbarren")
  11525. gesamt := number_format(bank)
  11526. geld := number_format(geldd)
  11527. SendChat("/f |________Finanzen von " getplayername() "________|")
  11528. Sendchat("/f Level: [" level "] Respekt: [" respekt "] Bargeld: [" geld "]")
  11529. sleep 1100
  11530. SendChat("/f Bankvermögen: [" bank "] Goldbarren: [" barren "]")
  11531. }
  11532. Suspend Off
  11533. Hotkey, t, On
  11534. return
  11535. :?:/kstand::
  11536. Suspend permit
  11537. SendInput {enter}
  11538. if(ReadStats(text))
  11539. {
  11540. Bank := keyForEntry(text, "Bank")
  11541. Geldd := keyForEntry(text, "Geld")
  11542. Level := keyForEntry(text, "Level")
  11543. Respekt := keyForEntry(text, "Respekt")
  11544. barren := keyForEntry(text, "Goldbarren")
  11545. gesamt := number_format(bank)
  11546. geld := number_format(geldd)
  11547. SendChat("|________Finanzen von " getplayername() "________|")
  11548. Sendchat("Level: [" level "] Respekt: [" respekt "] Bargeld: [" geld "]")
  11549. sleep 1100
  11550. SendChat("Bankvermögen: [" bank "] Goldbarren: [" barren "]")
  11551. }
  11552. Suspend Off
  11553. Hotkey, t, On
  11554. return
  11555. :?:/gstand::
  11556. Suspend permit
  11557. SendInput {enter}
  11558. if(ReadStats(text))
  11559. {
  11560. Bank := keyForEntry(text, "Bank")
  11561. Geldd := keyForEntry(text, "Geld")
  11562. Level := keyForEntry(text, "Level")
  11563. Respekt := keyForEntry(text, "Respekt")
  11564. barren := keyForEntry(text, "Goldbarren")
  11565. gesamt := number_format(bank)
  11566. geld := number_format(geldd)
  11567. SendChat("/g |________Finanzen von " getplayername() "________|")
  11568. Sendchat("/g Level: [" level "] Respekt: [" respekt "] Bargeld: [" geld "]")
  11569. sleep 1100
  11570. SendChat("/g Bankvermögen: [" bank "] Goldbarren: [" barren "]")
  11571. }
  11572. Suspend Off
  11573. Hotkey, t, On
  11574. return
  11575. number_format(num){
  11576. return RegExReplace(num, "\B(?=(\d{3})+(?!\d))", ".")
  11577. }
  11578. :?:/d2::
  11579. Suspend Permit
  11580. SendChat("/gtake drugs 2")
  11581. SendInput, {enter}
  11582. Suspend Off
  11583. return
  11584. :?:/d4::
  11585. Suspend Permit
  11586. SendChat("/gtake drugs 4")
  11587. SendInput, {enter}
  11588. Suspend Off
  11589. return
  11590. :?:/d6::
  11591. Suspend Permit
  11592. SendChat("/gtake drugs 6")
  11593. SendInput, {enter}
  11594. Suspend Off
  11595. return
  11596. :?:/d8::
  11597. Suspend Permit
  11598. SendChat("/gtake drugs 8")
  11599. SendInput, {enter}
  11600. Suspend Off
  11601. return
  11602. :?:/d10::
  11603. Suspend Permit
  11604. SendChat("/gtake drugs 10")
  11605. SendInput, {enter}
  11606. Suspend Off
  11607. return
  11608. :?:/d12::
  11609. Suspend Permit
  11610. SendChat("/gtake drugs 12")
  11611. SendInput, {enter}
  11612. Suspend Off
  11613. return
  11614. :?:/d14::
  11615. Suspend Permit
  11616. SendChat("/gtake drugs 14")
  11617. SendInput, {enter}
  11618. Suspend Off
  11619. return
  11620. :?:/d16::
  11621. Suspend Permit
  11622. SendChat("/gtake drugs 16")
  11623. SendInput, {enter}
  11624. Suspend Off
  11625. return
  11626. :?:/d18::
  11627. Suspend Permit
  11628. SendChat("/gtake drugs 18")
  11629. SendInput, {enter}
  11630. Suspend Off
  11631. return
  11632. :?:/d20::
  11633. Suspend Permit
  11634. SendChat("/gtake drugs 20")
  11635. SendInput, {enter}
  11636. Suspend Off
  11637. return
  11638. :?:/d24::
  11639. Suspend Permit
  11640. SendChat("/gtake drugs 24")
  11641. SendInput, {enter}
  11642. Suspend Off
  11643. return
  11644. :?:/d26::
  11645. Suspend Permit
  11646. SendChat("/gtake drugs 26")
  11647. SendInput, {enter}
  11648. Suspend Off
  11649. return
  11650. :?:/reload::
  11651. Suspend Permit
  11652. SendInput {enter}
  11653. Organizer("{00FF04}Keybinder wird neu gestartet!")
  11654. ShowGameText("~h~~w~Keybinder wird ~b~neugestartet", 2000, 3)
  11655. Reload
  11656. WinMaximize GTA:SA:MP
  11657. Suspend Off
  11658. return
  11659. :?:/dkd::
  11660. suspend permit
  11661. Sendinput {enter}
  11662. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  11663. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  11664. tKD := tKills/tDeaths
  11665. StringTrimRight,DKD,tKD,4
  11666. If(%tDeaths%=0)
  11667. {
  11668. tKD := tKills/1
  11669. StringTrimRight,DKD,tKD,4
  11670. }
  11671. DDif := tKills-tDeaths
  11672. IfEqual, DKD
  11673. DKD:= 0.00
  11674. sendchat("Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
  11675. Suspend Off
  11676. return
  11677. :?:/fdkd::
  11678. suspend permit
  11679. Sendinput {enter}
  11680. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  11681. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  11682. tKD := tKills/tDeaths
  11683. StringTrimRight,DKD,tKD,4
  11684. If(%tDeaths%=0)
  11685. {
  11686. tKD := tKills/1
  11687. StringTrimRight,DKD,tKD,4
  11688. }
  11689. DDif := tKills-tDeaths
  11690. IfEqual, DKD
  11691. DKD:= 0.00
  11692. sendchat("/f Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
  11693. Suspend Off
  11694. return
  11695. :?:/paydaysbis::
  11696. Suspend Permit
  11697. SendInput /betrag{Space}
  11698. Organizer("/betrag [Betrag]")
  11699. Input, betrag, V I M, {enter}
  11700. SendInput {end}+{home}{Del}{Esc}
  11701. if betrag is not number
  11702. {
  11703. Organizer("Bitte eine gültige Summe eingeben!")
  11704. return
  11705. }
  11706. if(ReadStats(text))
  11707. {
  11708. Bank := keyForEntry(text, "Bank")
  11709. gesamt := number_format(bank)
  11710. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  11711. StringReplace, VarBack, Bankl1,.,,All
  11712. If(Varback > betrag)
  11713. {
  11714. Organizer("Du hast diesen Betrag schon erreicht!")
  11715. return
  11716. }
  11717. zw1 := betrag/VarBack
  11718. rw1 := log(zw1)
  11719. rw2 := log(1.001)
  11720. rw3 := log(1.0015)
  11721. res := Round(rw1/rw2)
  11722. res1 := Round(rw1/rw3)
  11723. Betragsplitted := number_format(Betrag)
  11724. Organizer("Bis $" Betragsplitted " Bankvermögen benötigst du noch " res " Paydays ohne und " res1 " mit Donator.")
  11725. SendChat("Bis $" Betragsplitted " Bankvermögen benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  11726. }
  11727. Suspend off
  11728. return
  11729. :?:/gpaydaysbis::
  11730. Suspend Permit
  11731. SendInput /betrag{Space}
  11732. Organizer("/betrag [Betrag]")
  11733. Input, betrag, V I M, {enter}
  11734. SendInput {end}+{home}{Del}{Esc}
  11735. if betrag is not number
  11736. {
  11737. Organizer("Bitte eine gültige Summe eingeben!")
  11738. return
  11739. }
  11740. if(ReadStats(text))
  11741. {
  11742. Bank := keyForEntry(text, "Bank")
  11743. gesamt := number_format(bank)
  11744. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  11745. StringReplace, VarBack, Bankl1,.,,All
  11746. If(Varback > betrag)
  11747. {
  11748. Organizer("Du hast diesen Betrag schon erreicht!")
  11749. return
  11750. }
  11751. zw1 := betrag/VarBack
  11752. rw1 := log(zw1)
  11753. rw2 := log(1.001)
  11754. rw3 := log(1.0015)
  11755. res := Round(rw1/rw2)
  11756. res1 := Round(rw1/rw3)
  11757. Betragsplitted := number_format(Betrag)
  11758. SendChat("/g Bis $" Betragsplitted " Bankvermögen benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  11759. }
  11760. Suspend off
  11761. return
  11762. :?:/fpaydaysbis::
  11763. Suspend Permit
  11764. SendInput /betrag{Space}
  11765. Organizer("/betrag [Betrag]")
  11766. Input, betrag, V I M, {enter}
  11767. SendInput {end}+{home}{Del}{Esc}
  11768. if betrag is not number
  11769. {
  11770. Organizer("Bitte eine gültige Summe eingeben!")
  11771. return
  11772. }
  11773. if(ReadStats(text))
  11774. {
  11775. Bank := keyForEntry(text, "Bank")
  11776. gesamt := number_format(bank)
  11777. RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
  11778. StringReplace, VarBack, Bankl1,.,,All
  11779. If(Varback > betrag)
  11780. {
  11781. Organizer("Du hast diesen Betrag schon erreicht!")
  11782. return
  11783. }
  11784. zw1 := betrag/VarBack
  11785. rw1 := log(zw1)
  11786. rw2 := log(1.001)
  11787. rw3 := log(1.0015)
  11788. res := Round(rw1/rw2)
  11789. res1 := Round(rw1/rw3)
  11790. Betragsplitted := number_format(Betrag)
  11791. SendChat("/f Bis $" Betragsplitted " Bankvermögen benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
  11792. }
  11793. Suspend off
  11794. return
  11795. :?:/twp::
  11796. suspend permit
  11797. sendinput /take weapons{space}
  11798. return
  11799. :?:/ep::
  11800. Suspend Permit
  11801. SendInput, {enter}
  11802. SendChat("/eatpizza")
  11803. Suspend Off
  11804. return
  11805. :?:/fud::
  11806. Suspend Permit
  11807. SendInput, {enter}
  11808. SendChat("/me pfeift sich 2 Gramm Drogen rein.")
  11809. Suspend Off
  11810. return
  11811. :?:/untieenemy::
  11812. Suspend Permit
  11813. SendInput, {enter}
  11814. If(opferid = "")
  11815. {
  11816. Organizer("Es wurde kein Opfer eingetragen")
  11817. return
  11818. }
  11819. If(partnerid = "")
  11820. {
  11821. Organizer("Es wurde kein Partner eingetragen")
  11822. return
  11823. }
  11824. SendInput, {enter}
  11825. SendChat("/f " opfername " wird in 3 Sekunden entfesselt. " partnername " bereite dich vor !")
  11826. Sendchat("/take weapons " opfername "")
  11827. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  11828. {
  11829. IfInString, A_LoopReadLine, deiner nähe
  11830. {
  11831. sendchat("/f Countdown abgebrochen ! " opfername " ist nicht in deiner Nähe !")
  11832. return
  11833. }
  11834. }
  11835. Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  11836. {
  11837. IfInString, A_LoopReadLine, Waffen abgenommen.
  11838. {
  11839. Sendchat("/f " opfername " wurden die Waffen abgnommen")
  11840. }
  11841. }
  11842. Sleep 2000
  11843. {
  11844. SendChat("/f >> 3 <<")
  11845. KeyWait, <, D T1
  11846. If !ErrorLevel
  11847. {
  11848. SendChat("/f Countdown abgebrochen")
  11849. return
  11850. }
  11851. }
  11852. {
  11853. SendChat("/f >> 2 <<")
  11854. KeyWait, <, D T1
  11855. If !ErrorLevel
  11856. {
  11857. SendChat("/f Countdown abgebrochen")
  11858. return
  11859. }
  11860. }
  11861. {
  11862. SendChat("/f >> 1 <<")
  11863. KeyWait, <, D T1
  11864. If !ErrorLevel
  11865. {
  11866. SendChat("/f Countdown abgebrochen")
  11867. return
  11868. }
  11869. }
  11870. {
  11871. SendChat("/f " opfername " wurde entfesselt !")
  11872. SendChat("/untie " opfername "")
  11873. KeyWait, <, D T1
  11874. If !ErrorLevel
  11875. {
  11876. SendChat("/f Countdown abgebrochen")
  11877. return
  11878. }
  11879. }
  11880. Suspend Off
  11881. return
  11882. :?:/gdkd::
  11883. suspend permit
  11884. Sendinput {enter}
  11885. IniRead, tKills, Statistik\statsi.ini, Tageskills,tkills
  11886. IniRead, tDeaths, Statistik\statsi.ini, Tageskills,tkills
  11887. tKD := tKills/tDeaths
  11888. StringTrimRight,DKD,tKD,4
  11889. If(%tDeaths%=0)
  11890. {
  11891. tKD := tKills/1
  11892. StringTrimRight,DKD,tKD,4
  11893. }
  11894. DDif := tKills-tDeaths
  11895. IfEqual, DKD
  11896. DKD:= 0.00
  11897. sendchat("/g Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
  11898. Suspend Off
  11899. return
  11900. :?:/dkd::
  11901. suspend permit
  11902. Sendinput {enter}
  11903. IniRead, tKills, Statistik\statsi.ini, Tageskills,tkills
  11904. IniRead, tDeaths, Statistik\statsi.ini, Tageskills,tkills
  11905. tKD := tKills/tDeaths
  11906. StringTrimRight,DKD,tKD,4
  11907. If(%tDeaths%=0)
  11908. {
  11909. tKD := tKills/1
  11910. StringTrimRight,DKD,tKD,4
  11911. }
  11912. DDif := tKills-tDeaths
  11913. IfEqual, DKD
  11914. DKD:= 0.00
  11915. sendchat("/F Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
  11916. Suspend Off
  11917. return
  11918. :?:/setddeaths::
  11919. Suspend Permit
  11920. Sendinput Tages Tode:{space}
  11921. Input tDeaths,V I M,{enter}
  11922. IniWrite, %tDeaths%, Statistik\statsi.ini, Tageskills, tDeaths
  11923. SendInput {end}+{home}{Del}{esc}
  11924. if tDeaths is not number
  11925. {
  11926. Organizer("Fehler! verwende dafür Zahlen!")
  11927. tDeahts:=0
  11928. }
  11929. else
  11930. {
  11931. Organizer("Tages Tode auf " tDeaths " gesetzt")
  11932. }
  11933. Suspend Off
  11934. return
  11935. :?:/kd::
  11936. Suspend Permit
  11937. Sendinput, {enter}
  11938. if(ReadStats(text))
  11939. {
  11940. level := keyForEntry(text, "Level")
  11941. KillsDM := keyForEntry(text, "Kills \(DM\)")
  11942. death := keyForEntry(text, "Tode")
  11943. payday := keyForEntry(text, "Minuten seit Payday")
  11944. bank := keyForEntry(text, "Bank")
  11945. }
  11946. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  11947. kills := kills1
  11948. StringReplace, varback,kills, .
  11949. StringReplace, VarBack1,death, .
  11950. IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11951. IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
  11952. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  11953. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  11954. IniRead, Diff, Take-binder.ini, Optionen, Differenz
  11955. Dif:= gangwarkills - tode
  11956. KD:= gangwarkills / tode
  11957. StringTrimRight, KD, KD, 3
  11958. IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
  11959. SendChat("Kills: " Kills " | Tode: " death " | Differenz: " number_format(dif) " | K/D: " KD "")
  11960. return
  11961. :?:/mkd::
  11962. suspend permit
  11963. Sendinput {enter}
  11964. IniRead,MonatTode,Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  11965. IniRead,MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  11966. MKD := Round(MonatKills/MonatTode,3)
  11967. MDif := MonatKills-MonatTode
  11968. FormatTime,Monattime,,MMMM
  11969. If(%MonatTode%=0)
  11970. {
  11971. MKD := Round(MonatKills/1,3)
  11972. }
  11973. if(MonatKills=="ERROR"){
  11974. MonatKills= 0
  11975. }
  11976. if(mKD=="ERROR"){
  11977. mKD= 0.00
  11978. }
  11979. if(MDif=="ERROR"){
  11980. MDif= 0
  11981. }
  11982. sendchat(">>>> Kills im " . Monattime . ": " . MonatKills . " - Tode im " Monattime ": " MonatTode " - Differenz: " . MDif . " Kills - KD: " . MKD . " ««")
  11983. Hotkey, t, On
  11984. Suspend off
  11985. return
  11986. :?:/fmkd::
  11987. suspend permit
  11988. Sendinput {enter}
  11989. IniRead,MonatTode,Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  11990. IniRead,MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  11991. MKD := Round(MonatKills/MonatTode,3)
  11992. MDif := MonatKills-MonatTode
  11993. FormatTime,Monattime,,MMMM
  11994. If(%MonatTode%=0)
  11995. {
  11996. MKD := Round(MonatKills/1,3)
  11997. }
  11998. if(MonatKills=="ERROR"){
  11999. MonatKills= 0
  12000. }
  12001. if(mKD=="ERROR"){
  12002. mKD= 0.00
  12003. }
  12004. if(MDif=="ERROR"){
  12005. MDif= 0
  12006. }
  12007. sendchat("/f >>>> Kills im " . Monattime . ": " . MonatKills . " - Tode im " Monattime ": " MonatTode " - Differenz: " . MDif . " Kills - KD: " . MKD . " ««")
  12008. Hotkey, t, On
  12009. Suspend off
  12010. return
  12011. :?:/gmkd::
  12012. suspend permit
  12013. Sendinput {enter}
  12014. IniRead,MonatTode,Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  12015. IniRead,MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  12016. MKD := Round(MonatKills/MonatTode,3)
  12017. MDif := MonatKills-MonatTode
  12018. FormatTime,Monattime,,MMMM
  12019. If(%MonatTode%=0)
  12020. {
  12021. MKD := Round(MonatKills/1,3)
  12022. }
  12023. if(MonatKills=="ERROR"){
  12024. MonatKills= 0
  12025. }
  12026. if(mKD=="ERROR"){
  12027. mKD= 0.00
  12028. }
  12029. if(MDif=="ERROR"){
  12030. MDif= 0
  12031. }
  12032. sendchat("/g >>>> Kills im " . Monattime . ": " . MonatKills . " - Tode im " Monattime ": " MonatTode " - Differenz: " . MDif . " Kills - KD: " . MKD . " ««")
  12033. Hotkey, t, On
  12034. Suspend off
  12035. return
  12036. :?:/kd::
  12037. Suspend Permit
  12038. Sendinput, {enter}
  12039. if(ReadStats(text))
  12040. {
  12041. level := keyForEntry(text, "Level")
  12042. KillsDM := keyForEntry(text, "Kills \(DM\)")
  12043. death := keyForEntry(text, "Tode")
  12044. payday := keyForEntry(text, "Minuten seit Payday")
  12045. bank := keyForEntry(text, "Bank")
  12046. }
  12047. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  12048. kills := kills1
  12049. StringReplace, VarBack, Kills, .
  12050. StringReplace, VarBack1, Tode, .
  12051. IniWrite, %kills%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  12052. IniWrite, %death%, Statistik\statsi.ini, TodeGesamt, Tode
  12053. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  12054. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  12055. StringReplace, killsw, gangwarkills, .
  12056. StringReplace, tods, Tode, .
  12057. Dif:= gangwarkills - tode
  12058. KD:= gangwarkills / tode
  12059. StringTrimRight, KD, KD, 3
  12060. IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
  12061. SendChat("Kills: " Gangwarkills " | Tode: " tode " | Differenz: " number_format(killsw - tods) " | K/D: " KD "")
  12062. return
  12063. :?:/fkd::
  12064. Suspend Permit
  12065. Sendinput, {enter}
  12066. if(ReadStats(text))
  12067. {
  12068. level := keyForEntry(text, "Level")
  12069. KillsDM := keyForEntry(text, "Kills \(DM\)")
  12070. death := keyForEntry(text, "Tode")
  12071. payday := keyForEntry(text, "Minuten seit Payday")
  12072. bank := keyForEntry(text, "Bank")
  12073. }
  12074. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  12075. kills := kills1
  12076. StringReplace, VarBack, Kills, .
  12077. StringReplace, VarBack1, Tode, .
  12078. IniWrite, %kills%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  12079. IniWrite, %death%, Statistik\statsi.ini, TodeGesamt, Tode
  12080. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  12081. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  12082. StringReplace, killsw, gangwarkills, .
  12083. StringReplace, tods, Tode, .
  12084. Dif:= gangwarkills - tode
  12085. KD:= gangwarkills / tode
  12086. StringTrimRight, KD, KD, 3
  12087. IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
  12088. SendChat("/f Kills: " Gangwarkills " | Tode: " tode " | Differenz: " number_format(killsw - tods) " | K/D: " KD "")
  12089. return
  12090. :?:/gkd::
  12091. Suspend Permit
  12092. Sendinput, {enter}
  12093. if(ReadStats(text))
  12094. {
  12095. level := keyForEntry(text, "Level")
  12096. KillsDM := keyForEntry(text, "Kills \(DM\)")
  12097. death := keyForEntry(text, "Tode")
  12098. payday := keyForEntry(text, "Minuten seit Payday")
  12099. bank := keyForEntry(text, "Bank")
  12100. }
  12101. RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
  12102. kills := kills1
  12103. StringReplace, VarBack, Kills, .
  12104. StringReplace, VarBack1, Tode, .
  12105. IniWrite, %kills%, Statistik\statsi.ini, KillsGesamt, GangwarKills
  12106. IniWrite, %death%, Statistik\statsi.ini, TodeGesamt, Tode
  12107. IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
  12108. IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
  12109. StringReplace, killsw, gangwarkills, .
  12110. StringReplace, tods, Tode, .
  12111. Dif:= gangwarkills - tode
  12112. KD:= gangwarkills / tode
  12113. StringTrimRight, KD, KD, 3
  12114. IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
  12115. SendChat("/g Kills: " Gangwarkills " | Tode: " tode " | Differenz: " number_format(killsw - tods) " | K/D: " KD "")
  12116. return
  12117. :?:/kills::
  12118. Suspend Permit
  12119. SendInput {enter}
  12120. if(ReadStats_s(text))
  12121. {
  12122. skills := keyForEntry(text, "Kills\(DM\)")
  12123. sDeaths := keyForEntry(text, "Tode")
  12124. RegExMatch(skills,"(.*)\((.*)\)",pkills)
  12125. SendChat("/f Kills: " pkills1 " - Heute: " tKills " ")
  12126. }
  12127. else
  12128. {
  12129. SendChat("/f Kills: " Kills " - Heute: " tKills " ")
  12130. }
  12131. Suspend off
  12132. return
  12133. :?:/deaths::
  12134. Suspend Permit
  12135. SendInput {enter}
  12136. if(ReadStats_s(text))
  12137. {
  12138. sDeaths := keyForEntry(text, "Tode")
  12139. SendChat("/f Tode: " sDeaths " - Heute: " tDeaths " ")
  12140. }
  12141. else
  12142. {
  12143. SendChat("/f Tode: " Deaths " - Heute: " tDeaths " ")
  12144. }
  12145. Suspend off
  12146. return
  12147. :?:/rechner::
  12148. Suspend, Permit
  12149. Organizer("|________RECHNER________|")
  12150. Organizer("1. -- Materials --")
  12151. Organizer("2. -- Drogen --")
  12152. Organizer("3. -- Codes --")
  12153. Organizer("4. -- Illeagle Fische --")
  12154. Organizer("5. -- LBS Fische --")
  12155. Organizer("6. -- AD's -")
  12156. Organizer("7. -- Hackwanteds --")
  12157. SendInput Zahl:{space} (drücke Space nach der Eingabe){home}{right 6}
  12158. Input, writed, VIM, {space}
  12159. SendInput {end}+{home}{Del}{Esc}
  12160. if(writed=1)
  12161. {
  12162. sib = 0
  12163. SendInput tGib die gewnschte Menge der Materials ein: {space} (Enter -> Bestätigen){left 22}
  12164. Input, sib, VIM, {enter}
  12165. SendInput {end}+{home}{Del}{Esc}
  12166. if sib is not number
  12167. {
  12168. Organizer("Verwende dafür nur Zahlen!.")
  12169. return
  12170. }
  12171. dg:=sib*25
  12172. dg2:=sib*10
  12173. rechnen := number_format(dg)
  12174. min := number_format(dg2)
  12175. ware := number_format(sib)
  12176. Organizer("Rechner: " ware " Materials -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12177. }
  12178. if(writed=2)
  12179. {
  12180. sib = 0
  12181. SendInput tGib die gewnschte Menge in Gramm ein: {space} (space -> Bestätigen){left 22}
  12182. Input, sib, VIM, {space}
  12183. SendInput {end}+{home}{Del}{Esc}
  12184. SendInput tGib den gewünschten Preis pro Gramm ein: {space} (Enter -> Bestätigen){left 22}
  12185. Input, drugpreis, VIM, {enter}
  12186. if sib is not number
  12187. {
  12188. Organizer("Verwende dafür nur Zahlen!")
  12189. return
  12190. }
  12191. dg:=sib*drugpreis
  12192. drugspreis := number_format(drugpreis)
  12193. rechnen := number_format(dg)
  12194. ware := number_format(sib)
  12195. SendInput {end}+{home}{Del}{Esc}
  12196. Organizer("" "Rechner: " ware "g -> zum Preis von{5B89CB} $" drugspreis "/g{FFFFFF} sind{5B89CB} $" rechnen ".")
  12197. }
  12198. if(writed=3)
  12199. {
  12200. sib = 0
  12201. SendInput tGib die gewnschte Menge der Codes ein: {space} (Enter -> Bestätigen){left 22}
  12202. Input, sib, VIM, {enter}
  12203. if sib is not number
  12204. {
  12205. Organizer("Verwende dafür nur Zahlen!.")
  12206. return
  12207. }
  12208. dg:=sib*50000
  12209. dg2:=sib*30000
  12210. rechnen := number_format(dg)
  12211. min := number_format(dg2)
  12212. ware := number_format(sib)
  12213. SendInput {end}+{home}{Del}{Esc}
  12214. Organizer("Rechner: " ware " Codes -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12215. }
  12216. else if(writed=4)
  12217. {
  12218. sib = 0
  12219. SendInput tGib die gewnschte Menge der Illegalen Fische ein: {space} (Enter -> Bestätigen){left 22}
  12220. Input, sib, VIM, {enter}
  12221. if sib is not number
  12222. {
  12223. Organizer("Verwende dafür nur Zahlen!.")
  12224. return
  12225. }
  12226. dg:=sib*2000
  12227. dg2:=sib*1000
  12228. rechnen := number_format(dg)
  12229. min := number_format(dg2)
  12230. ware := number_format(sib)
  12231. SendInput {end}+{home}{Del}{Esc}
  12232. Organizer("Rechner: " ware " Fische -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12233. }
  12234. else if(writed=5)
  12235. {
  12236. sib = 0
  12237. SendInput tGib das Gewicht des LBS Fisches ein: {space} (Enter -> Bestätigen){left 22}
  12238. Input, sib, VIM, {enter}
  12239. if sib is not number
  12240. {
  12241. Organizer("Verwende dafür nur Zahlen!.")
  12242. return
  12243. }
  12244. dg:=sib*200
  12245. dg2:=sib*100
  12246. rechnen := number_format(dg)
  12247. min := number_format(dg2)
  12248. ware := number_format(sib)
  12249. SendInput {end}+{home}{Del}{Esc}
  12250. Organizer("Rechner: " ware " LBS -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12251. }
  12252. else if(writed=6)
  12253. {
  12254. sib = 0
  12255. SendInput tGib die gewnschte Menge der AD's ein: {space} (Enter -> Bestätigen){left 22}
  12256. Input, sib, VIM, {enter}
  12257. if sib is not number
  12258. {
  12259. Organizer("Verwende dafür nur Zahlen!.")
  12260. return
  12261. }
  12262. dg:=sib*50000
  12263. rechnen := number_format(dg)
  12264. ware := number_format(sib)
  12265. SendInput {end}+{home}{Del}{Esc}
  12266. Organizer("Rechner: " ware " AD's -> max. {088A08}" rechnen "$")
  12267. }
  12268. else if(writed=7)
  12269. {
  12270. sib = 0
  12271. SendInput tGib die gewnschte Hackwanteds ein: {space} (Enter -> Bestätigen){left 22}
  12272. Input, sib, VIM, {enter}
  12273. if sib is not number
  12274. {
  12275. Organizer("Verwende dafür nur Zahlen!.")
  12276. return
  12277. }
  12278. dg:=sib*500000
  12279. dg2:=sib*50000
  12280. rechnen := number_format(dg)
  12281. min := number_format(dg2)
  12282. ware := number_format(sib)
  12283. SendInput {end}+{home}{Del}{Esc}
  12284. Organizer("Rechner: " ware " Wanteds -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
  12285. }
  12286. Suspend Off
  12287. return
  12288. :?:/setdrugs::
  12289. Suspend permit
  12290. SendInput Drogen dabei:{space}
  12291. Input drogen,V I M,{enter}
  12292. SendInput {end}+{home}{Del}{Esc}
  12293. if drogen is not number
  12294. {
  12295. Organizer("Fehler! verwende dafür Zahlen!")
  12296. drogen:=0
  12297. }
  12298. else
  12299. {
  12300. IniWrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
  12301. Organizer("Drogen dabei auf " drogen "g gesetzt.")
  12302. }
  12303. Suspend Off
  12304. return
  12305. :?:/setused::
  12306. Suspend permit
  12307. SendInput Drogen genommen:{space}
  12308. Input genommen,V I M,{enter}
  12309. SendInput {end}+{home}{Del}{Esc}
  12310. if genommen is not number
  12311. {
  12312. Organizer("Fehler! verwende dafür Zahlen!")
  12313. genommen:=0
  12314. }
  12315. else
  12316. {
  12317. IniWrite,%genommen%, TaKe-Binder.ini,Drogensystem, Used
  12318. Organizer("Drogen genommen auf " genommen "g gesetzt.")
  12319. }
  12320. Suspend Off
  12321. return
  12322. :?:/reset::
  12323. suspend permit
  12324. SendInput {enter}
  12325. IniWrite,0, TaKe-Binder.ini,Drogensystem, Used
  12326. IniWrite,0, TaKe-Binder.ini,Drogensystem, Drogen
  12327. Organizer("Du hast dein Drogenzähler auf {DF0101}0g {FFFFFF}gesetzt.")
  12328. Suspend Off
  12329. return
  12330. :?:/drugs::
  12331. suspend permit
  12332. SendInput {enter}
  12333. IniRead,genommen, TaKe-Binder.ini,Drogensystem, Used
  12334. IniRead,drogen, TaKe-Binder.ini,Drogensystem, Drogen
  12335. Organizer("Du hast schon {DF0101}" genommen "g {FFFFFF}zu dir genommen. Du kannst noch {00FF04}" 26 - genommen "g {FFFFFF}nehmen!")
  12336. Organizer("Du hast noch {435CE7}" drogen "g {FFFFFF}Drogen bei dir!")
  12337. Suspend Off
  12338. return
  12339. :?:/gzinsen::
  12340. Suspend Permit
  12341. SendInput {Esc}
  12342. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  12343. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  12344. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  12345. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  12346. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12347. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12348. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12349. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12350. Zinsen21 := number_format(Zinsen21)
  12351. ZinsenGes := number_format(ZinsenGes)
  12352. OldZinsen1 := Number_format(OldZinsen1)
  12353. Paydays := Number_Format(Paydays)
  12354. DZinsen := Number_Format(DZinsen)
  12355. MonatZinsen := Number_Format(MonatZinsen)
  12356. MEinnahmen := Number_Format(MEinnahmen)
  12357. Deinnahmen := Number_Format(Deinnahmen)
  12358. SendChat("/g |____________________ZINSEN von " getplayername() "____________________|")
  12359. SendChat("/g Letzte Zinsen: $" Oldzinsen1 " - Erhaltene Zinsen: $" Number_format(Allzins)"")
  12360. SendChat("/g Zinsen-Heute:{435CE7} $" DZinsen " - Einnahmen-Heute: $" Deinnahmen "")
  12361. sleep 1300
  12362. SendChat("/g Zinsen-Monat:{435CE7} $" MonatZinsen " - Einnahmen-Monat: $" MEinnahmen "")
  12363. SendChat("/g Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
  12364. SendChat("/g |____________________ZINSEN von " getplayername() "____________________|")
  12365. Suspend off
  12366. return
  12367. :?:/fzinsen::
  12368. Suspend Permit
  12369. SendInput {Esc}
  12370. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  12371. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  12372. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  12373. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  12374. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12375. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12376. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12377. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12378. Zinsen21 := number_format(Zinsen21)
  12379. ZinsenGes := number_format(ZinsenGes)
  12380. OldZinsen1 := Number_format(OldZinsen1)
  12381. Paydays := Number_Format(Paydays)
  12382. DZinsen := Number_Format(DZinsen)
  12383. MonatZinsen := Number_Format(MonatZinsen)
  12384. MEinnahmen := Number_Format(MEinnahmen)
  12385. Deinnahmen := Number_Format(Deinnahmen)
  12386. SendChat("/f |____________________ZINSEN von " getplayername() "____________________|")
  12387. SendChat("/f Letzte Zinsen: $" Oldzinsen1 " - Erhaltene Zinsen: $" Number_format(Allzins)"")
  12388. SendChat("/f Zinsen-Heute:{435CE7} $" DZinsen " - Einnahmen-Heute: $" Deinnahmen "")
  12389. sleep 1300
  12390. SendChat("/f Zinsen-Monat:{435CE7} $" MonatZinsen " - Einnahmen-Monat: $" MEinnahmen "")
  12391. SendChat("/f Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
  12392. SendChat("/f |____________________ZINSEN von " getplayername() "____________________|")
  12393. Suspend off
  12394. return
  12395. :?:/zinsen::
  12396. Suspend Permit
  12397. SendInput {Esc}
  12398. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  12399. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  12400. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  12401. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  12402. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12403. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12404. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12405. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12406. Zinsen21 := number_format(Zinsen21)
  12407. ZinsenGes := number_format(ZinsenGes)
  12408. OldZinsen1 := Number_format(OldZinsen1)
  12409. Paydays := Number_Format(Paydays)
  12410. DZinsen := Number_Format(DZinsen)
  12411. MonatZinsen := Number_Format(MonatZinsen)
  12412. MEinnahmen := Number_Format(MEinnahmen)
  12413. Deinnahmen := Number_Format(Deinnahmen)
  12414. SendChat("|____________________ZINSEN von " getplayername() "____________________|")
  12415. SendChat("Letzte Zinsen: $" Oldzinsen1 " - Erhaltene Zinsen: $" Number_format(Allzins)"")
  12416. SendChat("Zinsen-Heute:{435CE7} $" DZinsen " - Einnahmen-Heute: $" Deinnahmen "")
  12417. sleep 1300
  12418. SendChat("Zinsen-Monat:{435CE7} $" MonatZinsen " - Einnahmen-Monat: $" MEinnahmen "")
  12419. SendChat("Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
  12420. SendChat("|____________________ZINSEN von " getplayername() "____________________|")
  12421. Suspend off
  12422. return
  12423. :?:/payday::
  12424. suspend permit
  12425. send, {enter}
  12426. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12427. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12428. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12429. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12430. Zinsen1 := number_format(Zinsen1)
  12431. ZinsenGes := number_format(ZinsenGes)
  12432. OldZinsen1 := Number_format(OldZinsen1)
  12433. Paydays := Number_Format(Paydays)
  12434. AllZins := Number_Format(AllZins)
  12435. Organizer("Letzte Zinsen: {5B89CB}$" Oldzinsen1 "{FFFFFF}! - Zinsen Gesamt: {5B89CB}$" ZinsenGes "{FFFFFF}!")
  12436. Organizer("Letzte Payday Einnahmen: {5B89CB}$" AllZins "{FFFFFF}! - Paydays: {5B89CB}" Paydays "{FFFFFF}!")
  12437. Suspend off
  12438. return
  12439. :?:/zinsinfo::
  12440. Suspend Permit
  12441. SendInput {Esc}
  12442. iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
  12443. iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
  12444. Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
  12445. Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
  12446. iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
  12447. iniread, Paydays, Take-binder.ini, Zinsen, Paydays
  12448. iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
  12449. iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
  12450. Zinsen21 := number_format(Zinsen21)
  12451. ZinsenGes := number_format(ZinsenGes)
  12452. OldZinsen1 := Number_format(OldZinsen1)
  12453. Paydays := Number_Format(Paydays)
  12454. DZinsen := Number_Format(DZinsen)
  12455. MonatZinsen := Number_Format(MonatZinsen)
  12456. MEinnahmen := Number_Format(MEinnahmen)
  12457. Deinnahmen := Number_Format(Deinnahmen)
  12458. Organizer("|____________________ZINSEN von " getplayername() "____________________|")
  12459. Organizer("Letzte Zinsen:{435CE7} $" Oldzinsen1 " - {FFFFFF}Erhaltene Zinsen: {435CE7}$" Number_format(Allzins)"")
  12460. Organizer("Zinsen-Heute:{435CE7} $" DZinsen " - {FFFFFF}Einnahmen-Heute: {435CE7}$" Deinnahmen "")
  12461. Organizer("Zinsen-Monat:{435CE7} $" MonatZinsen " - {FFFFFF}Einnahmen-Monat: {435CE7}$" MEinnahmen "")
  12462. Organizer("Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
  12463. Organizer("|____________________ZINSEN von " getplayername() "____________________|")
  12464. Suspend off
  12465. return
  12466. :?:/killstreak::
  12467. suspend permit
  12468. Send, {enter}
  12469. IniRead, streak, Statistik\statsi.ini, Killstreak, streak
  12470. If(Killstreak=0)
  12471. {
  12472. Organizer("Du hast die Killstreak Funktion nicht aktiviert!")
  12473. }
  12474. else
  12475. {
  12476. if(streak=0)
  12477. {
  12478. Organizer("{FFFFFF}Du hast noch niemanden gekillt!")
  12479. }
  12480. else
  12481. {
  12482. Organizer("Du hast ein {435CE7}" streak "er{FFFFFF} Killstreak")
  12483. }
  12484. }
  12485. suspend off
  12486. return
  12487. :?:/ausgaben::
  12488. Suspend Permit
  12489. SendInput {Esc}
  12490. IniRead, KnastzeitTotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, KnastzeitTotal
  12491. IniRead, DKnastzeit, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Knast, DKnastzeit
  12492. IniRead, MKnastzeit, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,Knast, MKnastzeit
  12493. IniRead, SpritgeldTotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, SpritgeldTotal
  12494. IniRead, DSpritgeld, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Spritgeld, DSpritgeld
  12495. IniRead, MSpritgeld, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,Spritgeld, MSpritgeld
  12496. IniRead, Drogentotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, Drogentotal
  12497. IniRead, DDrogen, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Ausgaben, DDrogen
  12498. IniRead, MDrogen, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,Ausgaben, MDrogen
  12499. IniRead, CopDMTotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, CopDMTotal
  12500. IniRead, DCopDM, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,CopDM, DCopDM
  12501. IniRead, MCopDM, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,CopDM, MCopDM
  12502. IniRead, WaffengeldTotal, Ausgaben/Ausgaben.ini,Ausgaben, WaffengeldTotal
  12503. IniRead, DWaffengeld, Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Waffengeld, DWaffengeld
  12504. IniRead, MWaffengeld, Ausgaben/Ausgaben im %MonatYahr%.ini,Waffengeld, MWaffengeld
  12505. Organizer("========= {435CE7}Spritgeld (Ausgaben) {FFFFFF}=========")
  12506. Organizer("Gesamte Spritgeldausgaben: {435CE7}$"number_format(SpritgeldTotal)"")
  12507. Organizer("Tages Spritgeldausgaben:{435CE7} $" number_format(dSpritGeld)"")
  12508. Organizer("Monats Spritgeldausgaben:{435CE7} $" number_format(mspritGeld)"")
  12509. sleep 300
  12510. Organizer("========= {435CE7}Drogen (Verbrauch){FFFFFF} =========")
  12511. Organizer("Gesamter Drogenverbrauch:{435CE7} "number_format(Drogentotal)"g")
  12512. Organizer("Tages Drogenverbrauch:{435CE7} "number_format(dDrogen)"g")
  12513. Organizer("Monats Drogenverbrauch:{435CE7} "number_format(mDrogen)"g")
  12514. sleep 300
  12515. Organizer("======== {435CE7}CopDM (Geldverlust){FFFFFF} =========")
  12516. Organizer("Gesamter CopDM-Verlust:{435CE7} $" number_format(CopDMTotal)"")
  12517. Organizer("Tages CopDM-Verlust:{435CE7} $" number_format(dCopDM)"")
  12518. Organizer("Monats CopDM-Verlust:{435CE7}$"number_format(mCopDM)"")
  12519. sleep 300
  12520. Organizer("======== {435CE7}Knastzeit{FFFFFF} =========")
  12521. Organizer("Gesamte Knastzeit:{435CE7} "Floor(KnastzeitTotal/60) " Minuten")
  12522. Organizer("Tages Knastzeit:{435CE7} "Floor(dKnastzeit/60) " Minuten")
  12523. Organizer("Monats Knastzeit:{435CE7} "Floor(mKnastzeit/60) " Minuten")
  12524. sleep 300
  12525. Organizer("======== {435CE7}Waffengeld (Ausgaben){FFFFFF} =========")
  12526. Organizer("Gesamtes Waffengeld:{435CE7} $" number_format(WaffengeldTotal)"")
  12527. Organizer("Tages Waffengeld:{435CE7} $" number_format(dWaffengeld)"")
  12528. Organizer("Monats Waffengeld:{435CE7} $" number_format(mWaffengeld)"")
  12529. return
  12530. :?:/killstreak::
  12531. suspend permit
  12532. Send, {enter}
  12533. IniRead, streak, Statistik\statsi.ini, Killstreak, streak
  12534. If(Killstreak=0)
  12535. {
  12536. Organizer("Du hast die Killstreak Funktion nicht aktiviert!")
  12537. }
  12538. else
  12539. {
  12540. if(streak=0)
  12541. {
  12542. Organizer("{FFFFFF}Du hast noch niemanden gekillt!")
  12543. }
  12544. else
  12545. {
  12546. Organizer("Du hast ein {435CE7}" streak "er{FFFFFF} Killstreak")
  12547. }
  12548. }
  12549. suspend off
  12550. return
  12551. :?:/q::
  12552. Suspend Permit
  12553. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Drogen
  12554. Iniwrite,0, TaKe-Binder.ini,Drogensystem, Used
  12555. druglimit := 26
  12556. IniWrite, %druglimit%, TaKe-Binder.ini,Drogen, Drogenlimit
  12557. SendInput /q{enter}
  12558. Suspend Off
  12559. return
  12560. :?:/ovmove::
  12561. suspend permit
  12562. OverlayMove = 1
  12563. Organizer("{FFCC50}|________Overlay-Move________|")
  12564. Organizer("1. HP Overlay")
  12565. Organizer("2. Wanted Overlay")
  12566. Organizer("3. Position Overlay")
  12567. Organizer("4. Carinfo Overlay")
  12568. Organizer("5. Gegner Overlay")
  12569. Organizer("6. Drogen-Info Overlay")
  12570. Organizer("{FFCC50}|________Overlay-Move________|")
  12571. SendInput Zahl: Drücke 'Space' nach der Eingabe{home}{right 6}
  12572. Input, ovzahl, VIM, {space}
  12573. SendInput {end}+{home}{Del}{Esc}
  12574. If(ovzahl=1)
  12575. {
  12576. Organizer("{FFBB50}Du kannst nun das HP-Overlay verschieben!")
  12577. }
  12578. If(ovzahl=2)
  12579. {
  12580. Organizer("{FFBB50}Du kannst nun das Wanted-Overlay verschieben!")
  12581. }
  12582. If(ovzahl=3)
  12583. {
  12584. Organizer("{FFBB50}Du kannst nun die Ortsanzeige verschieben!")
  12585. }
  12586. If(ovzahl=4)
  12587. {
  12588. Organizer("{FFBB50}Du kannst nun die Carinfoanzeige verschieben!")
  12589. }
  12590. If(ovzahl=5)
  12591. {
  12592. Organizer("{FFBB50}Du kannst nun das Gegner-Overlay verschieben!")
  12593. }
  12594. If(ovzahl=6)
  12595. {
  12596. Organizer("{FFBB50}Du kannst nun das DrogenInfo-Overlay verschieben!")
  12597. }
  12598. Suspend Off
  12599. return
  12600. :?:/ovhelp::
  12601. Suspend Permit
  12602. SendInput {enter}
  12603. Organizer("{FF5050}|________Overlay-Help________|")
  12604. Organizer("/ovmove = Movemodus starten")
  12605. Organizer("ALT + Pfeiltasten = schnell")
  12606. Organizer("STRG + Pfeiltasten = langsam")
  12607. Organizer("ENTER = Movemodus beenden")
  12608. Organizer("{FF5050}|________Overlay-Help________|")
  12609. Organizer("{5B89CB}waLker: Während dem Movemodus darf keine Pfeiltaste belegt sein!")
  12610. Suspend Off
  12611. return
  12612. ~Enter::
  12613. if(IsInChat())
  12614. {
  12615. Send, {%A_ThisHotkey%}
  12616. return
  12617. }
  12618. if(OverlayMove = 1)
  12619. {
  12620. if(ovzahl = 1)
  12621. {
  12622. ovzahl:=0
  12623. Iniwrite, %HPX%, TaKe-Binder.ini,Settings, HPX
  12624. Iniwrite, %HPY%, TaKe-Binder.ini,Settings, HPY
  12625. Organizer("{FFCC50}Healthposition wurde gespeichert!")
  12626. OverlayMove:=0
  12627. }
  12628. if(ovzahl = 2)
  12629. {
  12630. ovzahl:=0
  12631. Iniwrite, %WX%, TaKe-Binder.ini,Settings, WX
  12632. Iniwrite, %WY%, TaKe-Binder.ini,Settings, WY
  12633. Organizer("{FFCC50}Wantedposition wurde gespeichert!")
  12634. OverlayMove:=0
  12635. }
  12636. if(ovzahl = 3)
  12637. {
  12638. ovzahl:=0
  12639. Iniwrite, %PX%, TaKe-Binder.ini,Settings, PX
  12640. Iniwrite, %PY%, TaKe-Binder.ini,Settings, PY
  12641. Organizer("{FFCC50}Ortsanzeigeposition wurde gespeichert!")
  12642. OverlayMove:=0
  12643. }
  12644. if(ovzahl = 4)
  12645. {
  12646. ovzahl:=0
  12647. Iniwrite, %VX%, TaKe-Binder.ini,Settings, VX
  12648. Iniwrite, %VY%, TaKe-Binder.ini,Settings, VY
  12649. Organizer("{FFCC50}Carinfoposition wurde gespeichert!")
  12650. OverlayMove:=0
  12651. }
  12652. if(ovzahl = 5)
  12653. {
  12654. ovzahl:=0
  12655. Iniwrite, %GX%, TaKe-Binder.ini,Settings, GX
  12656. Iniwrite, %GY%, TaKe-Binder.ini,Settings, GY
  12657. Organizer("{FFCC50}Gegnerposition wurde gespeichert!")
  12658. OverlayMove:=0
  12659. }
  12660. if(ovzahl = 6)
  12661. {
  12662. ovzahl:=0
  12663. Iniwrite, %DX%, TaKe-Binder.ini,Settings, DX
  12664. Iniwrite, %DY%, TaKe-Binder.ini,Settings, DY
  12665. Organizer("{FFCC50}Drogenposition wurde gespeichert!")
  12666. OverlayMove:=0
  12667. }
  12668. }
  12669. return
  12670. ^up::
  12671. if(OverlayMove = 1)
  12672. {
  12673. if(ovzahl = 1)
  12674. {
  12675. HPY := HPY - 1.00
  12676. TextSetPos(Overlay_HP, HPX, HPY)
  12677. }
  12678. if(ovzahl = 2)
  12679. {
  12680. WY := WY - 1.00
  12681. TextSetPos(Overlay_Wanted, WX, WY)
  12682. }
  12683. if(ovzahl = 3)
  12684. {
  12685. PY := PY - 1.00
  12686. TextSetPos(Overlay_POS, PX, PY)
  12687. }
  12688. if(ovzahl = 4)
  12689. {
  12690. VY := VY - 1.00
  12691. TextSetPos(Overlay_Veh, VX, VY)
  12692. }
  12693. if(ovzahl = 5)
  12694. {
  12695. GY := GY - 1.00
  12696. TextSetPos(Gegner, GX, GY)
  12697. }
  12698. if(ovzahl = 6)
  12699. {
  12700. DY := DY - 1.00
  12701. TextSetPos(infooverlay, DX, DY)
  12702. }
  12703. }
  12704. return
  12705. ^down::
  12706. if(OverlayMove = 1)
  12707. {
  12708. if(ovzahl = 1)
  12709. {
  12710. HPY := HPY + 1.00
  12711. TextSetPos(Overlay_HP, HPX, HPY)
  12712. }
  12713. if(ovzahl = 2)
  12714. {
  12715. WY := WY + 1.00
  12716. TextSetPos(Overlay_Wanted, WX, WY)
  12717. }
  12718. if(ovzahl = 3)
  12719. {
  12720. PY := PY + 1.00
  12721. TextSetPos(Overlay_POS, PX, PY)
  12722. }
  12723. if(ovzahl = 4)
  12724. {
  12725. VY := VY + 1.00
  12726. TextSetPos(Overlay_Veh, VX, VY)
  12727. }
  12728. if(ovzahl = 5)
  12729. {
  12730. GY := GY + 1.00
  12731. TextSetPos(Gegner, GX, GY)
  12732. }
  12733. if(ovzahl = 6)
  12734. {
  12735. DY := DY + 1.00
  12736. TextSetPos(infooverlay, DX, DY)
  12737. }
  12738. }
  12739. return
  12740. ^left::
  12741. if(OverlayMove = 1)
  12742. {
  12743. if(ovzahl = 1)
  12744. {
  12745. HPX := HPX - 1.00
  12746. TextSetPos(Overlay_HP, HPX, HPY)
  12747. }
  12748. if(ovzahl = 2)
  12749. {
  12750. WX := WX - 1.00
  12751. TextSetPos(Overlay_Wanted, WX, WY)
  12752. }
  12753. if(ovzahl = 3)
  12754. {
  12755. PX := PX - 1.00
  12756. TextSetPos(Overlay_POS, PX, PY)
  12757. }
  12758. if(ovzahl = 4)
  12759. {
  12760. VX := VX - 1.00
  12761. TextSetPos(Overlay_Veh, VX, VY)
  12762. }
  12763. if(ovzahl = 5)
  12764. {
  12765. GX := GX - 1.00
  12766. TextSetPos(Gegner, GX, GY)
  12767. }
  12768. if(ovzahl = 6)
  12769. {
  12770. DX := DX - 1.00
  12771. TextSetPos(infooverlay, DX, DY)
  12772. }
  12773. }
  12774. return
  12775. ^right::
  12776. if(OverlayMove = 1)
  12777. {
  12778. if(ovzahl = 1)
  12779. {
  12780. HPX := HPX + 1.00
  12781. TextSetPos(Overlay_HP, HPX, HPY)
  12782. }
  12783. if(ovzahl = 2)
  12784. {
  12785. WX := WX + 1.00
  12786. TextSetPos(Overlay_Wanted, WX, WY)
  12787. }
  12788. if(ovzahl = 3)
  12789. {
  12790. PX := PX + 1.00
  12791. TextSetPos(Overlay_POS, PX, PY)
  12792. }
  12793. if(ovzahl = 4)
  12794. {
  12795. VX := VX + 1.00
  12796. TextSetPos(Overlay_Veh, VX, VY)
  12797. }
  12798. if(ovzahl = 5)
  12799. {
  12800. GX := GX + 1.00
  12801. TextSetPos(Gegner, GX, GY)
  12802. }
  12803. if(ovzahl = 6)
  12804. {
  12805. DX := DX + 1.00
  12806. TextSetPos(infooverlay, DX, DY)
  12807. }
  12808. return
  12809. }
  12810. return
  12811. !up::
  12812. if(OverlayMove = 1)
  12813. {
  12814. if(ovzahl = 1)
  12815. {
  12816. HPY := HPY - 3.00
  12817. TextSetPos(Overlay_HP, HPX, HPY)
  12818. }
  12819. if(ovzahl = 2)
  12820. {
  12821. WY := WY - 3.00
  12822. TextSetPos(Overlay_Wanted, WX, WY)
  12823. }
  12824. if(ovzahl = 3)
  12825. {
  12826. PY := PY - 3.00
  12827. TextSetPos(Overlay_POS, PX, PY)
  12828. }
  12829. if(ovzahl = 4)
  12830. {
  12831. VY := VY - 3.00
  12832. TextSetPos(Overlay_Veh, VX, VY)
  12833. }
  12834. if(ovzahl = 5)
  12835. {
  12836. GY := GY - 3.00
  12837. TextSetPos(Gegner, GX, GY)
  12838. }
  12839. if(ovzahl = 6)
  12840. {
  12841. DY := DY - 3.00
  12842. TextSetPos(infooverlay, DX, DY)
  12843. }
  12844. }
  12845. return
  12846. return
  12847. !down::
  12848. if(OverlayMove = 1)
  12849. {
  12850. if(ovzahl = 1)
  12851. {
  12852. HPY := HPY + 3.00
  12853. TextSetPos(Overlay_HP, HPX, HPY)
  12854. }
  12855. if(ovzahl = 2)
  12856. {
  12857. WY := WY + 3.00
  12858. TextSetPos(Overlay_Wanted, WX, WY)
  12859. }
  12860. if(ovzahl = 3)
  12861. {
  12862. PY := PY + 3.00
  12863. TextSetPos(Overlay_POS, PX, PY)
  12864. }
  12865. if(ovzahl = 4)
  12866. {
  12867. VY := VY + 3.00
  12868. TextSetPos(Overlay_Veh, VX, VY)
  12869. }
  12870. if(ovzahl = 5)
  12871. {
  12872. GY := GY + 3.00
  12873. TextSetPos(Gegner, GX, GY)
  12874. }
  12875. if(ovzahl = 6)
  12876. {
  12877. DY := DY + 3.00
  12878. TextSetPos(infooverlay, DX, DY)
  12879. }
  12880. }
  12881. return
  12882. return
  12883. !left::
  12884. if(OverlayMove = 1)
  12885. {
  12886. if(ovzahl = 1)
  12887. {
  12888. HPX := HPX - 3
  12889. TextSetPos(Overlay_HP, HPX, HPY)
  12890. }
  12891. if(ovzahl = 2)
  12892. {
  12893. WX := WX - 3
  12894. TextSetPos(Overlay_Wanted, WX, WY)
  12895. }
  12896. if(ovzahl = 3)
  12897. {
  12898. PX := PX - 3
  12899. TextSetPos(Overlay_POS, PX, PY)
  12900. }
  12901. if(ovzahl = 4)
  12902. {
  12903. VX := VX - 3
  12904. TextSetPos(Overlay_Veh, VX, VY)
  12905. }
  12906. if(ovzahl = 5)
  12907. {
  12908. GX := GX - 3
  12909. TextSetPos(Gegner, GX, GY)
  12910. }
  12911. if(ovzahl = 6)
  12912. {
  12913. DX := DX - 3.00
  12914. TextSetPos(infooverlay, DX, DY)
  12915. }
  12916. }
  12917. return
  12918. !right::
  12919. if(OverlayMove = 1)
  12920. {
  12921. if(ovzahl = 1)
  12922. {
  12923. HPX := HPX + 3
  12924. TextSetPos(Overlay_HP, HPX, HPY)
  12925. }
  12926. if(ovzahl = 2)
  12927. {
  12928. WX := WX + 3
  12929. TextSetPos(Overlay_Wanted, WX, WY)
  12930. }
  12931. if(ovzahl = 3)
  12932. {
  12933. PX := PX + 3
  12934. TextSetPos(Overlay_POS, PX, PY)
  12935. }
  12936. if(ovzahl = 4)
  12937. {
  12938. VX := VX + 3
  12939. TextSetPos(Overlay_Veh, VX, VY)
  12940. }
  12941. if(ovzahl = 5)
  12942. {
  12943. GX := GX + 3
  12944. TextSetPos(Gegner, GX, GY)
  12945. }
  12946. if(ovzahl = 6)
  12947. {
  12948. DX := DX + 3.00
  12949. TextSetPos(infooverlay, DX, DY)
  12950. }
  12951. }
  12952. return
  12953. CheckDate:
  12954. IniRead, Aktiviert, Statistik\statsi.ini, Tageskills, Aktiviert
  12955. IniRead, Tag, Statistik\statsi.ini, Tageskills, Tag
  12956. IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
  12957. IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
  12958. Aktiv = %Aktiviert%
  12959. Tag = %Tag%
  12960. OldDay = %Tag%
  12961. if(Tag = NeuerTag)
  12962. {
  12963. if(Aktiv != 1)
  12964. {
  12965. Organizer("Der Tag stimmt. Heutiger Tag: " Tag " ")
  12966. }
  12967. IniWrite, 1, Statistik\statsi.ini, Tageskills, Aktiviert
  12968. }
  12969. if(Tag != NeuerTag)
  12970. {
  12971. if(Aktiv != 1)
  12972. {
  12973. Organizer("Tages Statistik wurde zurückgesetzt! Alter Tag " OldDay " | Heute: " NeuerTag)
  12974. }
  12975. FileMove, Statistik\statsi.ini, Statistik\Old\Stats vom %OldDay%_%MonatTag%_%Jahr%.ini
  12976. IniWrite, 0, Statistik\statsi.ini, Tageskills, tKills
  12977. IniWrite, 0, Statistik\statsi.ini, Tageskills, tDeaths
  12978. IniWrite, %NeuerTag%, Statistik\statsi.ini, Tageskills, Tag
  12979. IniWrite, 0.00, Statistik\statsi.ini, Tageskills, tKD
  12980. IniWrite, 1, Statistik\statsi.ini, Tageskills, Aktiviert
  12981. }
  12982. Ifnotexist, Statistik/Monats KD im %MonatYahr%.ini
  12983. {
  12984. Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
  12985. Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
  12986. }
  12987. IfNotExist,Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini
  12988. {
  12989. Activity("Tageszinsen " A_DD " . " A_MMMM " . " A_YYYY ".ini wurde erstellt.")
  12990. IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Zinsen
  12991. IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,letzter Payday
  12992. IniWrite, 0.0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Zinssatz
  12993. }
  12994. IfNotExist,Zinsen\Wochenzinsen\Zinsen von %A_YWeek% . %A_YYYY%.ini
  12995. {
  12996. Activity("Wochenzinsen " A_YWeek " . " A_YYYY ".ini wurde erstellt.")
  12997. IniWrite, 0, Zinsen\Wochenzinsen\Zinsen von %A_YWeek% . %A_YYYY%.ini,Woche,Zinsen
  12998. }
  12999. IfNotExist,Zinsen\Monatszinsen\Zinsen von %A_MMMM%. %A_YYYY%.ini
  13000. {
  13001. Activity("Monatszinsen " A_MMMM " . " A_YYYY ".ini wurde erstellt.")
  13002. IniWrite, 0, Zinsen\Monatszinsen\Zinsen von %A_MMMM%. %A_YYYY%.ini,Monat,Zinsen
  13003. }
  13004. IfNotExist,Waffenstats\Tagesstats\Waffenstats von %A_DD% . %A_MMMM% . %A_YYYY%.ini
  13005. {
  13006. Activity("Waffenstats " A_DD " . " A_MMMM " . " A_YYYY ".ini wurde erstellt.")
  13007. IniWrite, 0, Waffenstats\Monatsstats\Waffenstats von %A_MMMM%. %A_YYYY%.ini,Monat,Waffenlog
  13008. IniWrite, 0, Waffenstats\Wochenstats\Waffenstats von %A_YWeek% . %A_YYYY%.ini,Woche,Waffenlog
  13009. IniWrite, 0, Waffenstats\Tagesstats\Waffenstats von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Waffenlog
  13010. }
  13011. return
  13012. UndefineBinds:
  13013. return
  13014. DefineBinds:
  13015. return
  13016. ~1::
  13017. return
  13018. :?:/matsrein::
  13019. Suspend Permit
  13020. sendChat("/opencargo")
  13021. sleep,150
  13022. SendInput,{enter}
  13023. sleep,150
  13024. SendInput,{enter}
  13025. sleep,150
  13026. SendInput, 1000{enter}
  13027. sleep,150
  13028. sendChat("/opencargo")
  13029. sleep,150
  13030. SendInput,{down}
  13031. sleep,150
  13032. SendInput,{enter}
  13033. sleep,150
  13034. SendInput,{enter}
  13035. sleep,150
  13036. SendInput, 1000{enter}
  13037. sleep,150
  13038. sendChat("/opencargo")
  13039. sleep,400
  13040. SendInput,{down 2}
  13041. sleep,150
  13042. SendInput,{enter}
  13043. sleep,150
  13044. SendInput,{enter}
  13045. sleep,150
  13046. SendInput, 1000{enter}
  13047. sleep,150
  13048. sendChat("/opencargo")
  13049. sleep,150
  13050. SendInput,{down 3}
  13051. sleep,150
  13052. SendInput,{enter}
  13053. sleep,150
  13054. SendInput,{enter}
  13055. sleep,150
  13056. SendInput, 1000{enter}
  13057. sleep,150
  13058. sendChat("/opencargo")
  13059. sleep,150
  13060. SendInput,{down 4}
  13061. sleep,150
  13062. SendInput,{enter}
  13063. sleep,150
  13064. SendInput,{enter}
  13065. sleep,150
  13066. SendInput, 1000{enter}
  13067. sleep,200
  13068. sendChat("/me hat den Kofferraum mit Mats befüllt/ rausgenommen")
  13069. Return
  13070. RandomSpruch:
  13071. If(BlockChatInput=1)
  13072. return
  13073. Random,RandomKillspruch, 1, 3
  13074. if(ChatKillspruchAktiv%RandomKillspruch% == 1)
  13075. SendChat(ChatKillSpruch%RandomKillspruch%)
  13076. else
  13077. gosub, RandomSpruch
  13078. return
  13079. FormatSeconds(Sekunden) {
  13080. Return SubStr("0" . Sekunden // 3600, -1) . ":"
  13081. . SubStr("0" . Mod(Sekunden, 3600) // 60, -1) . ":"
  13082. . SubStr("0" . Mod(Sekunden, 60), -1)
  13083. }
  13084. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement