Advertisement
Guest User

Untitled

a guest
Jan 25th, 2015
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.24 KB | None | 0 0
  1. IfNotExist, Keybinder.ini
  2. {
  3. FileCreateDir, Keybinder.ini
  4. }
  5. IniRead, deagle, Keybinder.ini, Keybind, Deagleschuss
  6. IniRead, ak, Keybinder.ini, Keybind, AkSchuss
  7. IniRead, m4, Keybinder.ini, Keybind, M4Schuss
  8. IniRead, mp5, Keybinder.ini, Keybind, Mp5Schuss
  9. IniRead, schrot, Keybinder.ini, Keybind, SchrotSchuss
  10. IniRead, sniper, Keybinder.ini, Keybind, SniperSchuss
  11. IniRead, vmaut, Keybinder.ini, Keybind, cbAutomaut
  12. IniRead, vprods, Keybinder.ini, Keybind, cbAutoprods
  13. IniRead, vdepot, Keybinder.ini, Keybind, cbAutodepot
  14. IniRead, voverlay, Keybinder.ini, Keybind, Overlay
  15. Gui, Add, Tab, x2 y0 w1100 h610 , Allgemeine Einstellungen|Waffenpaket
  16. Gui, Tab, Waffenpaket
  17. Gui, Add, Picture, x22 y20 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\deagle.png
  18. Gui, Add, Edit, x12 y90 w100 h30 vdeagle, %deagle%
  19. Gui, Add, Picture, x142 y20 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\ak.png
  20. Gui, Add, Edit, x132 y90 w100 h30 vak, %ak%
  21. Gui, Add, Picture, x252 y20 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\m4.png
  22. Gui, Add, Edit, x252 y90 w100 h30 vm4, %m4%
  23. Gui, Add, Picture, x22 y140 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\mp5.png
  24. Gui, Add, Edit, x12 y210 w100 h30 vmp5, %mp5%
  25. Gui, Add, Picture, x142 y140 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\schrot.png
  26. Gui, Add, Edit, x132 y210 w100 h30 vschrot, %schrot%
  27. Gui, Add, Picture, x252 y140 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\sniper.png
  28. Gui, Add, Edit, x252 y210 w100 h30 vsniper, %sniper%
  29. Gui, Add, Button, x172 y290 w100 h30 gWSpeichern, Waffen speichern
  30. Gui, Tab, Allgemeine Einstellungen
  31. Gui, Add, CheckBox, x12 y50 w150 h30 , Automatische Maut
  32. Gui, Add, CheckBox, x12 y90 w150 h30 , Automatische Produktabgabe
  33. Gui, Add, CheckBox, x172 y50 w150 h30 , Automatisches Depot
  34. Gui, Add, CheckBox, x172 y90 w150 h30 , Overlay
  35. Gui, Add, Button, x342 y70 w100 h30 gESpeichern, Einstellungen speichern
  36. Gui, Show, x467 y259 h379 w479, GmbH Keybinder by DiNoo
  37.  
  38.  
  39.  
  40. ESpeichern:
  41. Gui, Submit, Nohide
  42. IniWrite %cbAutomaut%, Keybinder.ini, Keybind, cbAutomaut
  43. IniWrite %prods%, Keybinder.ini, Keybind, cbAutoprods
  44. IniWrite %depot%, Keybinder.ini, Keybind, cbAutodepot
  45. IniWrite %overlay%, Keybinder.ini, Keybind, cbOverlay
  46. Msgbox Die Einstellungen wurden gespeichert
  47. Gui, Show
  48.  
  49.  
  50.  
  51. WSpeichern:
  52. Gui, Submit
  53. IniWrite %deagle%, Keybinder.ini, Keybind, Deagleschuss
  54. IniWrite %ak%, Keybinder.ini, Keybind, AkSchuss
  55. IniWrite %m4%, Keybinder.ini, Keybind, M4Schuss
  56. IniWrite %mp5%, Keybinder.ini, Keybind, Mp5Schuss
  57. IniWrite %schrot%, Keybinder.ini, Keybind, SchrotSchuss
  58. IniWrite %sniper%, Keybinder.ini, Keybind, SniperSchuss
  59. Msgbox Dein Waffenpaket wurde gespeichert
  60. Gui, Show
  61.  
  62.  
  63.  
  64. #IfWinActive, GTA:SA:MP
  65. #include API.ahk
  66. #include overlay.ahk
  67. #Persistent
  68. #NoEnv
  69.  
  70. SetParam("use_window", "1")
  71. SetParam("window", "GTA:SA:MP")
  72.  
  73. PlayerInput(text)
  74. {
  75. s := A_IsSuspended
  76. Suspend On
  77. KeyWait Enter
  78. SendInput t^a{backspace}%text%
  79. Input, var, v, {enter}
  80. SendInput ^a{backspace 100}{enter}
  81. Sleep, 20
  82. if(!s)
  83. Suspend Off
  84. return var
  85. }
  86.  
  87. SetTimer Allgemein, 600
  88. SetTimer GmbhZeug, 600
  89. SetTimer SaveMyAss, 900000
  90.  
  91.  
  92.  
  93. Produkte := 0
  94. HatProds := 0
  95. GmbHModus := 1
  96. OamtModus := 0
  97. AutoDonutAn := 0
  98. hp_overlay := -1
  99. armor_overlay := -1
  100.  
  101.  
  102. GetPlayerName(MyName)
  103. car := GetVehicleModelID()
  104.  
  105. :?://buyweapons::
  106. if(OamtModus == 1)
  107. {
  108. SendChat("/buygun deagle "deagle)
  109. SendChat("/buygun ak47 "ak)
  110. SendChat("/buygun m4 "m4)
  111. SendChat("/buygun mp5 "mp5)
  112. SendChat("/buygun schrot "schrot)
  113. SendChat("/buygun sniper "sniper)
  114. AddChatMessage(sniper)
  115. }
  116. else
  117. {
  118. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  119. }
  120. return
  121. :?://rob::
  122. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  123. GetPlayerNameByID(ID,name)
  124. SendChat("/rob "ID)
  125. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du hast " name "ausgeraubt")
  126. return
  127.  
  128. :?://erpressung::
  129. if(OamtModus == 1)
  130. {
  131. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  132. GetPlayerNameByID(ID,name)
  133. SendChat("/su "ID " 3 10000 Erpressung")
  134. }
  135. else
  136. {
  137. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  138. }
  139. return
  140.  
  141. :?://entzug::
  142. if(OamtModus == 1)
  143. {
  144. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  145. score := GetPlayerScoreByID(ID)
  146. if(score >= 2 && score <= 5)
  147. {
  148. SendChat("/su "ID " 2 1000 Entzug")
  149. }
  150. if(score >= 6 && score <= 10)
  151. {
  152. SendChat("/su "ID " 2 2000 Entzug")
  153. }
  154. if(score >= 11 && score <= 20)
  155. {
  156. SendChat("/su "ID " 2 6000 Entzug")
  157. }
  158. if(score >= 21)
  159. {
  160. SendChat("/su "ID " 2 10000 Entzug")
  161. }
  162. }
  163. else
  164. {
  165. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  166. }
  167. return
  168.  
  169. :?://clear::
  170. if(OamtModus == 1)
  171. {
  172. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  173. SendChat("/clearb "ID)
  174. SendChat("/clear "ID)
  175. }
  176. else
  177. {
  178. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  179. }
  180. return
  181.  
  182. :?://bb::
  183. if(OamtModus == 1)
  184. {
  185. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  186. SendChat("/su "ID " 5000 2 Beamtenbeleidigung")
  187. }
  188. else
  189. {
  190. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  191. }
  192. return
  193.  
  194. :?://dealen::
  195. if(OamtModus == 1)
  196. {
  197. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  198. SendChat("/su "ID " 10000 3 Dealen")
  199. }
  200. else
  201. {
  202. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  203. }
  204. return
  205.  
  206. :?://bankrob::
  207. if(OamtModus == 1)
  208. {
  209. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  210. SendChat("/su "ID " 20000 4 Bankrob")
  211. }
  212. else
  213. {
  214. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  215. }
  216. return
  217.  
  218. :?://bizrob::
  219. if(OamtModus == 1)
  220. {
  221. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  222. SendChat("/su "ID " 5000 4 Bizrob")
  223. }
  224. else
  225. {
  226. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  227. }
  228. return
  229.  
  230. :?://diebesgut::
  231. if(OamtModus == 1)
  232. {
  233. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  234. SendChat("/su "ID " 7000 2 Diebesgut")
  235. SendChat("/take Diebesgut "ID)
  236. }
  237. else
  238. {
  239. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  240. }
  241. return
  242.  
  243. :?://materials::
  244. if(OamtModus == 1)
  245. {
  246. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  247. SendChat("/ticket "ID " 3000 Materialien")
  248. SendChat("/take materials "ID)
  249. }
  250. else
  251. {
  252. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  253. }
  254. return
  255.  
  256. :?://samen::
  257. if(OamtModus == 1)
  258. {
  259. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  260. SendChat("/ticket "ID " 3000 Hanfsamen")
  261. Sleep 1000
  262. seeds := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die Anzahl der Samen ein: ")
  263. SendChat("/take seeds "ID " "seeds)
  264. }
  265. else
  266. {
  267. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  268. }
  269. return
  270. :?://drogen::
  271. if(OamtModus == 1)
  272. {
  273. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  274. SendChat("/ticket "ID " 3000 Drogen")
  275. SendChat("/take drugs "ID)
  276. }
  277. else
  278. {
  279. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  280. }
  281. return
  282.  
  283. :?://fahrschein::
  284. if(OamtModus == 1)
  285. {
  286. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  287. score := GetPlayerScoreByID(ID)
  288. if(score >= 2 && score <= 5)
  289. {
  290. SendChat("/ticket "ID " 5000 Gefaelschte Fahrlizenz")
  291. }
  292. if(score >= 6 && score <= 10)
  293. {
  294. SendChat("/ticket "ID " 10000 Gefaelschte Fahrlizenz")
  295. }
  296. if(score >= 11 && score <= 20)
  297. {
  298. SendChat("/ticket "ID " 18000 Gefaelschte Fahrlizenz")
  299. }
  300. if(score >= 21)
  301. {
  302. SendChat("/ticket "ID " 25000 Gefaelschte Fahrlizenz")
  303. }
  304. SendChat("/take driverlicense" ID)
  305. }
  306. else
  307. {
  308. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  309. }
  310. return
  311.  
  312. :?://bootschein::
  313. if(OamtModus == 1)
  314. {
  315. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  316. score := GetPlayerScoreByID(ID)
  317. if(score >= 2 && score <= 5)
  318. {
  319. SendChat("/ticket "ID " 5000 Gefaelschte Bootlizenz")
  320. }
  321. if(score >= 6 && score <= 10)
  322. {
  323. SendChat("/ticket "ID " 10000 Gefaelschte Bootlizenz")
  324. }
  325. if(score >= 11 && score <= 20)
  326. {
  327. SendChat("/ticket "ID " 18000 Gefaelschte Bootlizenz")
  328. }
  329. if(score >= 21)
  330. {
  331. SendChat("/ticket "ID " 25000 Gefaelschte Bootlizenz")
  332. }
  333. SendChat("/take boatlicense" ID)
  334. }
  335. else
  336. {
  337. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  338. }
  339. return
  340.  
  341. :?://flugschein::
  342. if(OamtModus == 1)
  343. {
  344. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  345. score := GetPlayerScoreByID(ID)
  346. if(score >= 2 && score <= 5)
  347. {
  348. SendChat("/ticket "ID " 5000 Gefaelschte Fluglizenz")
  349. }
  350. if(score >= 6 && score <= 10)
  351. {
  352. SendChat("/ticket "ID " 10000 Gefaelschte Fluglizenz")
  353. }
  354. if(score >= 11 && score <= 20)
  355. {
  356. SendChat("/ticket "ID " 18000 Gefaelschte Fluglizenz")
  357. }
  358. if(score >= 21)
  359. {
  360. SendChat("/ticket "ID " 25000 Gefaelschte Fluglizenz")
  361. }
  362. SendChat("/take flyinglicense "ID)
  363. }
  364. else
  365. {
  366. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  367. }
  368. return
  369.  
  370. :?://waffenschein::
  371. if(OamtModus == 1)
  372. {
  373. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  374. score := GetPlayerScoreByID(ID)
  375. if(score >= 2 && score <= 5)
  376. {
  377. SendChat("/ticket "ID " 7500 Gefaelschte Waffenlizenz")
  378. }
  379. if(score >= 6 && score <= 10)
  380. {
  381. SendChat("/ticket "ID " 15000 Gefaelschte Waffenlizenz")
  382. }
  383. if(score >= 11 && score <= 20)
  384. {
  385. SendChat("/ticket "ID " 22000 Gefaelschte Waffenlizenz")
  386. }
  387. if(score >= 21)
  388. {
  389. SendChat("/ticket "ID " 28000 Gefaelschte Waffenlizenz")
  390. }
  391. SendChat("/take gunlicense "ID)
  392. }
  393. else
  394. {
  395. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  396. }
  397. return
  398.  
  399. :?://mord::
  400. if(OamtModus == 1)
  401. {
  402. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  403. SendChat("/su "ID " 2000 6 Mord")
  404. }
  405. else
  406. {
  407. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  408. }
  409. return
  410.  
  411. :?://schlagdm::
  412. if(OamtModus == 1)
  413. {
  414. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  415. SendChat("/su "ID " 10000 3 Körperverletzung")
  416. }
  417. else
  418. {
  419. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  420. }
  421. return
  422.  
  423. :?://dm::
  424. if(OamtModus == 1)
  425. {
  426. UpdateServerData()
  427. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  428. SendChat("/su "ID " 20000 4 DeathMatch")
  429. }
  430. else
  431. {
  432. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  433. }
  434. return
  435.  
  436. :?://settings::
  437. AddChatMessage("{07AD31}Auswahl: Nummernschild, Maut, Schliessen")
  438. Auswahl := PlayerInput("{2688EB}Keybinder:{FAFAFA} Einstellung die geaendert werden soll: ")
  439. if(Auswahl == "Nummernschild" || Auswahl == "nummernschild")
  440. {
  441. setting_NS := PlayerInput("{2688EB}Keybinder:{FAFAFA} Bitte gebe dein Nummernschild ein: ")
  442. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Dein Nummernschild lautet: " setting_NS)
  443. NS := setting_NS
  444. IniWrite, %NS%, Keybinder.ini, Keybind, Kennzeichen
  445. }
  446. else if(Auswahl == "Maut" || Auswahl == "maut")
  447. {
  448. EnableAutoMaut := PlayerInput("{2688EB}Keybinder:{FAFAFA} Tippe An/Aus: ")
  449. if(EnableAutoMaut == "An" || EnableAutoMaut == "an")
  450. {
  451. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Automaut aktiviert!")
  452. IniWrite, %EnableAutoMaut%, Keybinder.ini, Keybind, AutoMaut
  453. }
  454. else if(EnableAutoMaut == "Aus" || EnableAutoMaut == "aus")
  455. {
  456. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Automaut deaktiviert!")
  457. IniWrite,%EnableAutoMaut%,Keybinder.ini,Keybind,AutoMaut
  458. }
  459. }
  460. else if(Auswahl == "Schließen" || Auswahl == "schließen" || Auswahl == "Schliessen" || Auswahl == "schliessen")
  461. {
  462. return
  463. }
  464. return
  465.  
  466. ~NumPad3::
  467. if(!IsInChat())
  468. {
  469. if(OamtModus == 1)
  470. {
  471. id := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  472. SendChat("/frisk "id)
  473. Sleep 3000
  474. SendChat("/frisktruck "id)
  475. Sleep 3000
  476. SendChat("/friskweapons "id)
  477. }
  478. else
  479. {
  480. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
  481. }
  482. }
  483. return
  484.  
  485. ~NumPad2::
  486. if(!IsInChat())
  487. {
  488. if(OamtModus == 1)
  489. {
  490. SendChat("/m => Hier spricht das Ordnungsamt <=")
  491. SendChat("/m Verkehrskontrolle ! Bitte fahren sie rechts ran !")
  492. }
  493. else
  494. {
  495. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus!")
  496. }
  497. }
  498. return
  499.  
  500. ~NumPad0::
  501. if(!IsInChat())
  502. {
  503. if(OamtModus == 1)
  504. {
  505. ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
  506. GetPlayerNameByID(ID,name)
  507. SendChat("/b Guten Tag "name)
  508. SendChat("/b Bitte zeigen sie mir ihre Lizenzen, wenn sie mir ihre Lizenzen")
  509. SendChat("/b nicht zeigen bin ich befugt ihnen diese zu entziehen!")
  510. SendChat("/lic "ID)
  511. }
  512. else
  513. {
  514. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus!")
  515. }
  516. }
  517. return
  518.  
  519. F10::
  520. if(AutoDonutan == 0)
  521. {
  522. AutoDonutAn := 1
  523. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Fettsacksystem aktiviert!")
  524. }
  525. else
  526. {
  527. AutoDonutAn := 0
  528. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Fettsacksystem deaktiviert!")
  529. }
  530. return
  531. F12::
  532. if(GmbHModus == 1)
  533. {
  534. AddChatMessage("{2688EB}Keybinder:{FAFAFA} O-Amt Modus wurde aktiviert!")
  535. OamtModus := 1
  536. GmbHModus := 0
  537. }
  538. else if(OamtModus == 1)
  539. {
  540. AddChatMessage("{2688EB}Keybinder:{FAFAFA} GmbH-Modus wurde aktiviert!")
  541. GmbHModus := 1
  542. OamtModus := 0
  543. }
  544. return
  545.  
  546. F11::
  547. IniRead,Truckersystem,Keybinder.ini, Keybind, Truckersystem
  548. IniRead,Truckerstuffs,Keybinder.ini, Keybind, Truckerstuffs
  549. if(Truckersystem == 0)
  550. {
  551. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Truckersystem aktiviert!")
  552. TruckerStuffs := PlayerInput("{2688EB}Keybinder:{FAFAFA} Anzahl der Stuffs: ")
  553. IniWrite, %TruckerStuffs%, Keybinder.ini, Keybind, Truckerstuffs
  554. AddChatMessage("{2688EB}Keybinder: {FAFAFA}" TruckerStuffs " eingestellt!")
  555. Truckersystem := 1
  556. IniWrite, %Truckersystem%,Keybinder.ini, Keybind, Truckersystem
  557. }
  558. else if(Truckersystem == 1)
  559. {
  560. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Truckersystem deaktiviert!")
  561. Truckersystem := 0
  562. IniWrite,%Truckersystem%,Keybinder.ini,Keybind,Truckersystem
  563. AddChatMessage("{2688EB}Keybinder:{FAFAFA} Truckerstuffs zurueckgesetzt!")
  564. TruckerStuffs := 0
  565. IniWrite, %TruckerStuffs%, Keybinder.ini, Keybind, Truckerstuffs
  566. }
  567. return
  568.  
  569. Allgemein:
  570. GetChatLine(0,chat)
  571. if(InStr(chat,("Mordmeldung: Du hast")))
  572. {
  573. IniRead,kills,Keybinder.ini,Kills,kills
  574. RegExMatch(chat , "Mordmeldung: Du hast (.*) getötet!", bengelsohn)
  575. kills++
  576. IniWrite, %kills%, Keybinder.ini, Kills, kills
  577. SendChat("/f GmbH-Kill von " . MyName . "| Opfer: " . bengelsohn1 . " | Kills: "kills)
  578. }
  579. if(Truckersystem == 1)
  580. {
  581. IniRead,Truckerstuffs,Keybinder.ini, Keybind, Truckerstuffs
  582. if(IsPlayerInRangeOfPoint(5.0,2737.1550,-2465.6602,13.3523))
  583. {
  584. SendChat("/stuff get "Truckerstuffs)
  585. }
  586. }
  587. IniRead,AutoMaut,Keybinder.ini, Keybind, AutoMaut
  588. if(AutoMaut == "An" || AutoMaut == "an")
  589. {
  590. if(IsPlayerInRangeOfPoint(4.0,1737.0925,538.2521,27.1104) || IsPlayerInRangeOfPoint(4.0,1731.0889,539.4927,27.1557) || IsPlayerInRangeOfPoint(4.0,1746.7156,525.3684,27.6503) || IsPlayerInRangeOfPoint(4.0,1752.6489,524.6922,27.5804))
  591. {
  592. SendChat("/maut")
  593. }
  594. }
  595. if(IsPlayerInRangeOfPoint(15.0,-66.0541,-352.5947,2.1735) || IsPlayerInRangeOfPoint(15.0,-82.4293,-352.1534,1.4297) || IsPlayerInRangeOfPoint(5.0,938.9873,-1018.9467,31.5816) || IsPlayerInRangeOfPoint(5.0,939.3781,-1011.4543,32.6391))
  596. {
  597. SendChat("/og")
  598. Sleep 10000
  599. }
  600. if(AutoDonutAn == 1)
  601. {
  602. hp := GetPlayerHealth()
  603. GetChatLine(0,line)
  604. if(!InStr(line,"Du hast keinen Hunger mehr!"))
  605. {
  606. if(hp < 100)
  607. {
  608. SendChat("/eatdonut")
  609. Sleep 2000
  610. }
  611. }
  612. }
  613. if(hp_overlay == -1)
  614. {
  615. hp_overlay := TextCreate("Arial", 8, false, false, 650, 140,0xFFFFFFFF, "", true, true)
  616. hp_image := ImageCreate("Herz.png",632,140,0,0,true)
  617. }
  618. if(armor_overlay == -1)
  619. {
  620. armor_overlay := TextCreate("Arial", 8, false, false, 690, 140,0xFFFFFFFF, "", true, true)
  621. armor_image := ImageCreate("diamond.png",672,140,0,0,true)
  622. }
  623. leben := GetPlayerHealth()
  624. armour := GetPlayerArmour()
  625. TextSetString(hp_overlay,leben)
  626. TextSetString(armor_overlay,armour)
  627. return
  628.  
  629. GmbHZeug:
  630. if(GmbHModus == 1)
  631. {
  632. if(HatProds == 0)
  633. {
  634. if(IsPlayerInAnyVehicle())
  635. {
  636. if(IsPlayerInRangeOfPoint(5.0,-58.5379,-224.5401,5.4297))
  637. {
  638. SendChat("/getprods 50")
  639. HatProds := 1
  640. }
  641. }
  642. }
  643. else if(HatProds == 1)
  644. {
  645. if(IsPlayerInAnyVehicle())
  646. {
  647. if(IsPlayerInRangeOfPoint(7.0,-16.9134,-221.4440,5.4297))
  648. {
  649. IniRead, Kennzeichen, Keybinder.ini, Keybind, Kennzeichen
  650. SendChat("/filltruck " Kennzeichen)
  651. HatProds := 0
  652. }
  653. }
  654. }
  655. if(IsPlayerInRangeOfPoint(5.0,2169.4785,-2274.7947,13.8416))
  656. {
  657. if(IsPlayerInAnyVehicle())
  658. {
  659. SendChat("/buyprods")
  660. Sleep 5000
  661. }
  662. }
  663. else if(IsPlayerInRangeOfPoint(5.0,3.0577,-252.2102,5.1345))
  664. {
  665. if(IsPlayerInAnyVehicle())
  666. {
  667. SendChat("/sellprods")
  668. Sleep 5000
  669. }
  670. }
  671. if(IsPlayerInAnyVehicle())
  672. {
  673. if(IsPlayerInRangeOfPoint(7.0,2018.1411,1913.0656,12.3222) || IsPlayerInRangeOfPoint(7.0,2637.0425,2351.9089,10.8203) || IsPlayerInRangeOfPoint(7.0,2633.3501,1824.6823,11.0234)
  674. || IsPlayerInRangeOfPoint(7.0,2481.5364,1525.5360,11.7413) || IsPlayerInRangeOfPoint(7.0,2803.2158,968.7317,11.7573) || IsPlayerInRangeOfPoint(7.0,2695.4971,-1704.5624,11.8438)
  675. || IsPlayerInRangeOfPoint(7.0,2629.4419,-2107.6243,16.9531) || IsPlayerInRangeOfPoint(7.0,2280.0244,-2362.7969,13.5469) || IsPlayerInRangeOfPoint(7.0,1835.8248,-1682.4911,13.3736)
  676. || IsPlayerInRangeOfPoint(7.0,1609.2047,-1641.4380,14.6360) || IsPlayerInRangeOfPoint(7.0,1567.9260,-1897.0140,13.5606) || IsPlayerInRangeOfPoint(7.0,1368.1309,-1279.1267,13.5469)
  677. || IsPlayerInRangeOfPoint(7.0,1702.5577,-1471.1368,13.5469) || IsPlayerInRangeOfPoint(7.0,2350.5059,-1411.6058,23.9923) || IsPlayerInRangeOfPoint(7.0,2510.4919,-1468.1256,24.0242)
  678. || IsPlayerInRangeOfPoint(7.0,1213.4491,-897.3339,42.9186) || IsPlayerInRangeOfPoint(7.0,1038.0394,-1339.6072,13.7266)
  679. || IsPlayerInRangeOfPoint(7.0,1051.2606,-1415.2308,13.5353) || IsPlayerInRangeOfPoint(7.0,1158.8562,-1414.3995,13.5953)
  680. || IsPlayerInRangeOfPoint(7.0,573.2422,-1570.3491,16.1774) || IsPlayerInRangeOfPoint(7.0,1846.8748,-1868.0554,13.5781)
  681. || IsPlayerInRangeOfPoint(7.0,2307.6475,-2385.5959,13.5469) || IsPlayerInRangeOfPoint(7.0,1846.9686,-1868.0236,13.5781))
  682. {
  683. SendChat("/sellprods")
  684. Sleep 5000
  685. }
  686. }
  687. }
  688. return
  689.  
  690. SaveMyAss:
  691. SendChat("/savemyass")
  692. return
  693.  
  694.  
  695. GuiClose:
  696. TextDestroy(hp_overlay)
  697. TextDestroy(armor_overlay)
  698. ImageDestroy(hp_image)
  699. ImageDestroy(armor_image)
  700. ExitApp
  701. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement