Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IfNotExist, Keybinder.ini
- {
- FileCreateDir, Keybinder.ini
- }
- IniRead, deagle, Keybinder.ini, Keybind, Deagleschuss
- IniRead, ak, Keybinder.ini, Keybind, AkSchuss
- IniRead, m4, Keybinder.ini, Keybind, M4Schuss
- IniRead, mp5, Keybinder.ini, Keybind, Mp5Schuss
- IniRead, schrot, Keybinder.ini, Keybind, SchrotSchuss
- IniRead, sniper, Keybinder.ini, Keybind, SniperSchuss
- IniRead, vmaut, Keybinder.ini, Keybind, cbAutomaut
- IniRead, vprods, Keybinder.ini, Keybind, cbAutoprods
- IniRead, vdepot, Keybinder.ini, Keybind, cbAutodepot
- IniRead, voverlay, Keybinder.ini, Keybind, Overlay
- Gui, Add, Tab, x2 y0 w1100 h610 , Allgemeine Einstellungen|Waffenpaket
- Gui, Tab, Waffenpaket
- Gui, Add, Picture, x22 y20 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\deagle.png
- Gui, Add, Edit, x12 y90 w100 h30 vdeagle, %deagle%
- Gui, Add, Picture, x142 y20 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\ak.png
- Gui, Add, Edit, x132 y90 w100 h30 vak, %ak%
- Gui, Add, Picture, x252 y20 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\m4.png
- Gui, Add, Edit, x252 y90 w100 h30 vm4, %m4%
- Gui, Add, Picture, x22 y140 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\mp5.png
- Gui, Add, Edit, x12 y210 w100 h30 vmp5, %mp5%
- Gui, Add, Picture, x142 y140 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\schrot.png
- Gui, Add, Edit, x132 y210 w100 h30 vschrot, %schrot%
- Gui, Add, Picture, x252 y140 w60 h60 , C:\Users\Stefan\Desktop\Keybinder\sniper.png
- Gui, Add, Edit, x252 y210 w100 h30 vsniper, %sniper%
- Gui, Add, Button, x172 y290 w100 h30 gWSpeichern, Waffen speichern
- Gui, Tab, Allgemeine Einstellungen
- Gui, Add, CheckBox, x12 y50 w150 h30 , Automatische Maut
- Gui, Add, CheckBox, x12 y90 w150 h30 , Automatische Produktabgabe
- Gui, Add, CheckBox, x172 y50 w150 h30 , Automatisches Depot
- Gui, Add, CheckBox, x172 y90 w150 h30 , Overlay
- Gui, Add, Button, x342 y70 w100 h30 gESpeichern, Einstellungen speichern
- Gui, Show, x467 y259 h379 w479, GmbH Keybinder by DiNoo
- ESpeichern:
- Gui, Submit, Nohide
- IniWrite %cbAutomaut%, Keybinder.ini, Keybind, cbAutomaut
- IniWrite %prods%, Keybinder.ini, Keybind, cbAutoprods
- IniWrite %depot%, Keybinder.ini, Keybind, cbAutodepot
- IniWrite %overlay%, Keybinder.ini, Keybind, cbOverlay
- Msgbox Die Einstellungen wurden gespeichert
- Gui, Show
- WSpeichern:
- Gui, Submit
- IniWrite %deagle%, Keybinder.ini, Keybind, Deagleschuss
- IniWrite %ak%, Keybinder.ini, Keybind, AkSchuss
- IniWrite %m4%, Keybinder.ini, Keybind, M4Schuss
- IniWrite %mp5%, Keybinder.ini, Keybind, Mp5Schuss
- IniWrite %schrot%, Keybinder.ini, Keybind, SchrotSchuss
- IniWrite %sniper%, Keybinder.ini, Keybind, SniperSchuss
- Msgbox Dein Waffenpaket wurde gespeichert
- Gui, Show
- #IfWinActive, GTA:SA:MP
- #include API.ahk
- #include overlay.ahk
- #Persistent
- #NoEnv
- SetParam("use_window", "1")
- SetParam("window", "GTA:SA:MP")
- PlayerInput(text)
- {
- s := A_IsSuspended
- Suspend On
- KeyWait Enter
- SendInput t^a{backspace}%text%
- Input, var, v, {enter}
- SendInput ^a{backspace 100}{enter}
- Sleep, 20
- if(!s)
- Suspend Off
- return var
- }
- SetTimer Allgemein, 600
- SetTimer GmbhZeug, 600
- SetTimer SaveMyAss, 900000
- Produkte := 0
- HatProds := 0
- GmbHModus := 1
- OamtModus := 0
- AutoDonutAn := 0
- hp_overlay := -1
- armor_overlay := -1
- GetPlayerName(MyName)
- car := GetVehicleModelID()
- :?://buyweapons::
- if(OamtModus == 1)
- {
- SendChat("/buygun deagle "deagle)
- SendChat("/buygun ak47 "ak)
- SendChat("/buygun m4 "m4)
- SendChat("/buygun mp5 "mp5)
- SendChat("/buygun schrot "schrot)
- SendChat("/buygun sniper "sniper)
- AddChatMessage(sniper)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://rob::
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- GetPlayerNameByID(ID,name)
- SendChat("/rob "ID)
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du hast " name "ausgeraubt")
- return
- :?://erpressung::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- GetPlayerNameByID(ID,name)
- SendChat("/su "ID " 3 10000 Erpressung")
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://entzug::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- score := GetPlayerScoreByID(ID)
- if(score >= 2 && score <= 5)
- {
- SendChat("/su "ID " 2 1000 Entzug")
- }
- if(score >= 6 && score <= 10)
- {
- SendChat("/su "ID " 2 2000 Entzug")
- }
- if(score >= 11 && score <= 20)
- {
- SendChat("/su "ID " 2 6000 Entzug")
- }
- if(score >= 21)
- {
- SendChat("/su "ID " 2 10000 Entzug")
- }
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://clear::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/clearb "ID)
- SendChat("/clear "ID)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://bb::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/su "ID " 5000 2 Beamtenbeleidigung")
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://dealen::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/su "ID " 10000 3 Dealen")
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://bankrob::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/su "ID " 20000 4 Bankrob")
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://bizrob::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/su "ID " 5000 4 Bizrob")
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://diebesgut::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/su "ID " 7000 2 Diebesgut")
- SendChat("/take Diebesgut "ID)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://materials::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/ticket "ID " 3000 Materialien")
- SendChat("/take materials "ID)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://samen::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/ticket "ID " 3000 Hanfsamen")
- Sleep 1000
- seeds := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die Anzahl der Samen ein: ")
- SendChat("/take seeds "ID " "seeds)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://drogen::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/ticket "ID " 3000 Drogen")
- SendChat("/take drugs "ID)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://fahrschein::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- score := GetPlayerScoreByID(ID)
- if(score >= 2 && score <= 5)
- {
- SendChat("/ticket "ID " 5000 Gefaelschte Fahrlizenz")
- }
- if(score >= 6 && score <= 10)
- {
- SendChat("/ticket "ID " 10000 Gefaelschte Fahrlizenz")
- }
- if(score >= 11 && score <= 20)
- {
- SendChat("/ticket "ID " 18000 Gefaelschte Fahrlizenz")
- }
- if(score >= 21)
- {
- SendChat("/ticket "ID " 25000 Gefaelschte Fahrlizenz")
- }
- SendChat("/take driverlicense" ID)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://bootschein::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- score := GetPlayerScoreByID(ID)
- if(score >= 2 && score <= 5)
- {
- SendChat("/ticket "ID " 5000 Gefaelschte Bootlizenz")
- }
- if(score >= 6 && score <= 10)
- {
- SendChat("/ticket "ID " 10000 Gefaelschte Bootlizenz")
- }
- if(score >= 11 && score <= 20)
- {
- SendChat("/ticket "ID " 18000 Gefaelschte Bootlizenz")
- }
- if(score >= 21)
- {
- SendChat("/ticket "ID " 25000 Gefaelschte Bootlizenz")
- }
- SendChat("/take boatlicense" ID)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://flugschein::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- score := GetPlayerScoreByID(ID)
- if(score >= 2 && score <= 5)
- {
- SendChat("/ticket "ID " 5000 Gefaelschte Fluglizenz")
- }
- if(score >= 6 && score <= 10)
- {
- SendChat("/ticket "ID " 10000 Gefaelschte Fluglizenz")
- }
- if(score >= 11 && score <= 20)
- {
- SendChat("/ticket "ID " 18000 Gefaelschte Fluglizenz")
- }
- if(score >= 21)
- {
- SendChat("/ticket "ID " 25000 Gefaelschte Fluglizenz")
- }
- SendChat("/take flyinglicense "ID)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://waffenschein::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- score := GetPlayerScoreByID(ID)
- if(score >= 2 && score <= 5)
- {
- SendChat("/ticket "ID " 7500 Gefaelschte Waffenlizenz")
- }
- if(score >= 6 && score <= 10)
- {
- SendChat("/ticket "ID " 15000 Gefaelschte Waffenlizenz")
- }
- if(score >= 11 && score <= 20)
- {
- SendChat("/ticket "ID " 22000 Gefaelschte Waffenlizenz")
- }
- if(score >= 21)
- {
- SendChat("/ticket "ID " 28000 Gefaelschte Waffenlizenz")
- }
- SendChat("/take gunlicense "ID)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://mord::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/su "ID " 2000 6 Mord")
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://schlagdm::
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/su "ID " 10000 3 Körperverletzung")
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://dm::
- if(OamtModus == 1)
- {
- UpdateServerData()
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/su "ID " 20000 4 DeathMatch")
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- return
- :?://settings::
- AddChatMessage("{07AD31}Auswahl: Nummernschild, Maut, Schliessen")
- Auswahl := PlayerInput("{2688EB}Keybinder:{FAFAFA} Einstellung die geaendert werden soll: ")
- if(Auswahl == "Nummernschild" || Auswahl == "nummernschild")
- {
- setting_NS := PlayerInput("{2688EB}Keybinder:{FAFAFA} Bitte gebe dein Nummernschild ein: ")
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Dein Nummernschild lautet: " setting_NS)
- NS := setting_NS
- IniWrite, %NS%, Keybinder.ini, Keybind, Kennzeichen
- }
- else if(Auswahl == "Maut" || Auswahl == "maut")
- {
- EnableAutoMaut := PlayerInput("{2688EB}Keybinder:{FAFAFA} Tippe An/Aus: ")
- if(EnableAutoMaut == "An" || EnableAutoMaut == "an")
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Automaut aktiviert!")
- IniWrite, %EnableAutoMaut%, Keybinder.ini, Keybind, AutoMaut
- }
- else if(EnableAutoMaut == "Aus" || EnableAutoMaut == "aus")
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Automaut deaktiviert!")
- IniWrite,%EnableAutoMaut%,Keybinder.ini,Keybind,AutoMaut
- }
- }
- else if(Auswahl == "Schließen" || Auswahl == "schließen" || Auswahl == "Schliessen" || Auswahl == "schliessen")
- {
- return
- }
- return
- ~NumPad3::
- if(!IsInChat())
- {
- if(OamtModus == 1)
- {
- id := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- SendChat("/frisk "id)
- Sleep 3000
- SendChat("/frisktruck "id)
- Sleep 3000
- SendChat("/friskweapons "id)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus")
- }
- }
- return
- ~NumPad2::
- if(!IsInChat())
- {
- if(OamtModus == 1)
- {
- SendChat("/m => Hier spricht das Ordnungsamt <=")
- SendChat("/m Verkehrskontrolle ! Bitte fahren sie rechts ran !")
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus!")
- }
- }
- return
- ~NumPad0::
- if(!IsInChat())
- {
- if(OamtModus == 1)
- {
- ID := PlayerInput("{2688EB}Keybinder:{FAFAFA} Gebe die ID ein: ")
- GetPlayerNameByID(ID,name)
- SendChat("/b Guten Tag "name)
- SendChat("/b Bitte zeigen sie mir ihre Lizenzen, wenn sie mir ihre Lizenzen")
- SendChat("/b nicht zeigen bin ich befugt ihnen diese zu entziehen!")
- SendChat("/lic "ID)
- }
- else
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Du bist nicht im O-Amt Modus!")
- }
- }
- return
- F10::
- if(AutoDonutan == 0)
- {
- AutoDonutAn := 1
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Fettsacksystem aktiviert!")
- }
- else
- {
- AutoDonutAn := 0
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Fettsacksystem deaktiviert!")
- }
- return
- F12::
- if(GmbHModus == 1)
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} O-Amt Modus wurde aktiviert!")
- OamtModus := 1
- GmbHModus := 0
- }
- else if(OamtModus == 1)
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} GmbH-Modus wurde aktiviert!")
- GmbHModus := 1
- OamtModus := 0
- }
- return
- F11::
- IniRead,Truckersystem,Keybinder.ini, Keybind, Truckersystem
- IniRead,Truckerstuffs,Keybinder.ini, Keybind, Truckerstuffs
- if(Truckersystem == 0)
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Truckersystem aktiviert!")
- TruckerStuffs := PlayerInput("{2688EB}Keybinder:{FAFAFA} Anzahl der Stuffs: ")
- IniWrite, %TruckerStuffs%, Keybinder.ini, Keybind, Truckerstuffs
- AddChatMessage("{2688EB}Keybinder: {FAFAFA}" TruckerStuffs " eingestellt!")
- Truckersystem := 1
- IniWrite, %Truckersystem%,Keybinder.ini, Keybind, Truckersystem
- }
- else if(Truckersystem == 1)
- {
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Truckersystem deaktiviert!")
- Truckersystem := 0
- IniWrite,%Truckersystem%,Keybinder.ini,Keybind,Truckersystem
- AddChatMessage("{2688EB}Keybinder:{FAFAFA} Truckerstuffs zurueckgesetzt!")
- TruckerStuffs := 0
- IniWrite, %TruckerStuffs%, Keybinder.ini, Keybind, Truckerstuffs
- }
- return
- Allgemein:
- GetChatLine(0,chat)
- if(InStr(chat,("Mordmeldung: Du hast")))
- {
- IniRead,kills,Keybinder.ini,Kills,kills
- RegExMatch(chat , "Mordmeldung: Du hast (.*) getötet!", bengelsohn)
- kills++
- IniWrite, %kills%, Keybinder.ini, Kills, kills
- SendChat("/f GmbH-Kill von " . MyName . "| Opfer: " . bengelsohn1 . " | Kills: "kills)
- }
- if(Truckersystem == 1)
- {
- IniRead,Truckerstuffs,Keybinder.ini, Keybind, Truckerstuffs
- if(IsPlayerInRangeOfPoint(5.0,2737.1550,-2465.6602,13.3523))
- {
- SendChat("/stuff get "Truckerstuffs)
- }
- }
- IniRead,AutoMaut,Keybinder.ini, Keybind, AutoMaut
- if(AutoMaut == "An" || AutoMaut == "an")
- {
- 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))
- {
- SendChat("/maut")
- }
- }
- 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))
- {
- SendChat("/og")
- Sleep 10000
- }
- if(AutoDonutAn == 1)
- {
- hp := GetPlayerHealth()
- GetChatLine(0,line)
- if(!InStr(line,"Du hast keinen Hunger mehr!"))
- {
- if(hp < 100)
- {
- SendChat("/eatdonut")
- Sleep 2000
- }
- }
- }
- if(hp_overlay == -1)
- {
- hp_overlay := TextCreate("Arial", 8, false, false, 650, 140,0xFFFFFFFF, "", true, true)
- hp_image := ImageCreate("Herz.png",632,140,0,0,true)
- }
- if(armor_overlay == -1)
- {
- armor_overlay := TextCreate("Arial", 8, false, false, 690, 140,0xFFFFFFFF, "", true, true)
- armor_image := ImageCreate("diamond.png",672,140,0,0,true)
- }
- leben := GetPlayerHealth()
- armour := GetPlayerArmour()
- TextSetString(hp_overlay,leben)
- TextSetString(armor_overlay,armour)
- return
- GmbHZeug:
- if(GmbHModus == 1)
- {
- if(HatProds == 0)
- {
- if(IsPlayerInAnyVehicle())
- {
- if(IsPlayerInRangeOfPoint(5.0,-58.5379,-224.5401,5.4297))
- {
- SendChat("/getprods 50")
- HatProds := 1
- }
- }
- }
- else if(HatProds == 1)
- {
- if(IsPlayerInAnyVehicle())
- {
- if(IsPlayerInRangeOfPoint(7.0,-16.9134,-221.4440,5.4297))
- {
- IniRead, Kennzeichen, Keybinder.ini, Keybind, Kennzeichen
- SendChat("/filltruck " Kennzeichen)
- HatProds := 0
- }
- }
- }
- if(IsPlayerInRangeOfPoint(5.0,2169.4785,-2274.7947,13.8416))
- {
- if(IsPlayerInAnyVehicle())
- {
- SendChat("/buyprods")
- Sleep 5000
- }
- }
- else if(IsPlayerInRangeOfPoint(5.0,3.0577,-252.2102,5.1345))
- {
- if(IsPlayerInAnyVehicle())
- {
- SendChat("/sellprods")
- Sleep 5000
- }
- }
- if(IsPlayerInAnyVehicle())
- {
- 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)
- || 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)
- || 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)
- || 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)
- || 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)
- || IsPlayerInRangeOfPoint(7.0,1213.4491,-897.3339,42.9186) || IsPlayerInRangeOfPoint(7.0,1038.0394,-1339.6072,13.7266)
- || IsPlayerInRangeOfPoint(7.0,1051.2606,-1415.2308,13.5353) || IsPlayerInRangeOfPoint(7.0,1158.8562,-1414.3995,13.5953)
- || IsPlayerInRangeOfPoint(7.0,573.2422,-1570.3491,16.1774) || IsPlayerInRangeOfPoint(7.0,1846.8748,-1868.0554,13.5781)
- || IsPlayerInRangeOfPoint(7.0,2307.6475,-2385.5959,13.5469) || IsPlayerInRangeOfPoint(7.0,1846.9686,-1868.0236,13.5781))
- {
- SendChat("/sellprods")
- Sleep 5000
- }
- }
- }
- return
- SaveMyAss:
- SendChat("/savemyass")
- return
- GuiClose:
- TextDestroy(hp_overlay)
- TextDestroy(armor_overlay)
- ImageDestroy(hp_image)
- ImageDestroy(armor_image)
- ExitApp
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement