Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version := 9.9
- FTPServer := "http://51.255.151.195/waLkerKeybinder"
- setbatchlines -1
- #SingleInstance
- IfNotExist,%A_MyDocuments%\TaKe-Binder
- {
- StreamTrayTip("TaKe-Binder","Verzeichnis wird erstellt.", 3)
- Activity("Verzeichniss wurde erstellt.")
- FileCreateDir, %A_MyDocuments%\TaKe-Binder
- }
- FormatTime,TagMonatYahr,,dd.MM.yyyy
- FormatTime,MonatYahr,,MMMM yyyy
- SetWorkingDir %A_MyDocuments%\TaKe-Binder
- IfNotExist, Zinsen
- {
- StreamTrayTip("TaKe-Binder","Zinsen Ordner wird erstellt.", 3)
- FileCreateDir, %A_MyDocuments%\TaKe-Binder\Zinsen
- }
- IfNotExist, %A_WorkingDir%\komplexe.ini
- {
- StreamTrayTip("TaKe-Binder","Komplexe.ini wird runtergeladen.", 3)
- URLDownloadToFile,%FTPServer%/komplexe.ini,komplexe.ini
- }
- IfNotExist, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini
- {
- IniWrite,0, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
- Iniwrite,0, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
- }
- Ifnotexist, Zinsen/Monatsstatistik im %MonatYahr%.ini
- {
- IniWrite,0,Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
- Iniwrite,0,Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
- }
- Ifnotexist, Statistik/Monats KD im %MonatYahr%.ini
- {
- Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
- Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
- }
- IfNotExist,Waffenstats\Monatsstats
- {
- StreamTrayTip("TaKe-Binder","Monatsstats Ordner wird erstellt.", 3)
- Activity("Monatsstats Ordner wurde erstellt.")
- FileCreateDir,Waffenstats\Monatsstats
- }
- IfNotExist,Waffenstats\Wochenstats
- {
- StreamTrayTip("TaKe-Binder","Wochenstats Ordner wird erstellt.", 3)
- Activity("Wochenstats Ordner wurde erstellt.")
- FileCreateDir,Waffenstats\Wochenstats
- }
- IfNotExist,Waffenstats\Tagesstats
- {
- StreamTrayTip("TaKe-Binder","Tagesstats Ordner wird erstellt.", 3)
- Activity("Tagesstats Ordner wurde erstellt.")
- FileCreateDir,Waffenstats\Tagesstats
- IniWrite, 0, Waffenstats\Monatsstats\Waffenstats von %A_MMMM%. %A_YYYY%.ini,Monat,Waffenlog
- IniWrite, 0, Waffenstats\Wochenstats\Waffenstats von %A_YWeek% . %A_YYYY%.ini,Woche,Waffenlog
- IniWrite, 0, Waffenstats\Tagesstats\Waffenstats von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Waffenlog
- IniWrite, 0,Waffenstats\Gesamtwaffenstats.ini,Gesammt,Gesammtausgaben
- }
- IfNotExist,Waffenstats\Gesamtwaffenstats.ini
- {
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("Gesamtwaffenstats.ini wurde erstellt.")
- IniWrite, 0, Waffenstats\Gesamtwaffenstats.ini,Gesammt,Letzteausgaben
- IniWrite, 0, Waffenstats\Gesamtwaffenstats.ini,Gesammt,Gesammtausgaben
- }
- IfNotExist,%A_WorkingDir%\back01.png
- {
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("Background1 wird geladen.")
- URLDownloadToFile,%FTPServer%/back01.png,back01.png
- }
- IfNotExist,%A_WorkingDir%\back02.png
- {
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("Background2 wird geladen.")
- URLDownloadToFile,%FTPServer%/back02.png,back02.png
- }
- IfNotExist,%A_WorkingDir%\back03.png
- {
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("Background3 wird geladen.")
- URLDownloadToFile,%FTPServer%/back03.png,back03.png
- }
- IfNotExist,%A_WorkingDir%\RGN-Stats-API.dll
- {
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("RGN-Stats-API.dll wird geladen")
- URLDownloadToFile,%FTPServer%/RGN-Stats-API.dll,RGN-Stats-API.dll
- }
- IfNotExist,%A_WorkingDir%\getGametext.dll
- {
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("getGametext.dll wird geladen")
- URLDownloadToFile,%FTPServer%/getGametext.dll,getGametext.dll
- }
- IfNotExist,%A_WorkingDir%\dx9_overlay.dll
- {
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("benötigte Overlay.dll wird geladen.")
- URLDownloadToFile,%FTPServer%/dx9_overlay.dll,dx9_overlay.dll
- }
- IfNotExist,%A_WorkingDir%\Statistik
- {
- FileCreateDir, %A_WorkingDir%\Statistik
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("Statistik-Ordner erstellt")
- }
- IfNotExist,%A_WorkingDir%\Statistik\Old
- {
- FileCreateDir, %A_WorkingDir%\Statistik\Old
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("Statistik-Ordner Old erstellt")
- }
- IfNotExist,%A_WorkingDir%\gegner.ini
- {
- FileAppend,Gegnerliste`n,%A_WorkingDir%\gegner.ini
- }
- IfNotExist,%A_WorkingDir%\sticks.wav
- {
- URLDownloadToFile,%FTPServer%/sticks.wav,sticks.wav
- }
- IfNotExist,%A_WorkingDir%\thomas.wav
- {
- URLDownloadToFile,%FTPServer%/thomas.wav,thomas.wav
- }
- IfNotExist,%A_WorkingDir%\leo.wav
- {
- URLDownloadToFile,%FTPServer%/leo.wav,leo.wav
- }
- IfNotExist,%A_WorkingDir%\sms.wav
- {
- URLDownloadToFile,%FTPServer%/sms.wav,sms.wav
- }
- IfNotExist,%A_WorkingDir%\TaKe-Binder.ini
- {
- StreamTrayTip("TaKe-Binder","Fehlende Dateien werden geladen...",3)
- Activity("INI-File erstellt.")
- Iniwrite, "Name", TaKe-Binder.ini,Settings, name
- Iniwrite, "Unbekannt", TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, "Niemand", TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- IniWrite,0,Statistik\statsi.ini,Killstreak,streak
- IniWrite, 0, Statistik\statsi.ini, Tageskills, tKills
- IniWrite, 0, Statistik\statsi.ini, Tageskills, tDeaths
- IniWrite, 0.00, Statistik\statsi.ini, Tageskills, tKD
- IniWrite, 1, Statistik\statsi.ini, Tageskills, Aktiviert
- IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Zinsen
- IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,letzter Payday
- IniWrite, 0.0, Zinsen\Gesammtzinsen.ini,Tag,Zinssatz
- IniWrite, 0, Zinsen\Monatszinsen\Zinsen von %A_MMMM%. %A_YYYY%.ini,Monat,Zinsen
- IniWrite, 0, TaKe-Binder.ini,Drogensystem, Drogen
- IniWrite, 0, TaKe-Binder.ini,Drogensystem, Used
- gosub, firstsave
- }
- FileRead, stelle, TaKe-Binder.ini
- IfNotInString,stelle,HKATMDifferenz
- {
- Iniwrite, %HKATMDifferenz%, TaKe-Binder.ini,Wanteds, HKATMDifferenz
- }
- global ERROR_OK := 0
- global ERROR_PROCESS_NOT_FOUND := 1
- global ERROR_OPEN_PROCESS := 2
- global ERROR_INVALID_HANDLE := 3
- global ERROR_MODULE_NOT_FOUND := 4
- global ERROR_ENUM_PROCESS_MODULES := 5
- global ERROR_ZONE_NOT_FOUND := 6
- global ERROR_CITY_NOT_FOUND := 7
- global ERROR_READ_MEMORY := 8
- global ERROR_WRITE_MEMORY := 9
- global ERROR_ALLOC_MEMORY := 10
- global ERROR_FREE_MEMORY := 11
- global ERROR_WAIT_FOR_OBJECT := 12
- global ERROR_CREATE_THREAD := 13
- global ADDR_ZONECODE := 0xA49AD4
- global ADDR_POSITION_X := 0xB6F2E4
- global ADDR_POSITION_Y := 0xB6F2E8
- global ADDR_POSITION_Z := 0xB6F2EC
- global ADDR_CPED_PTR := 0xB6F5F0
- global ADDR_CPED_HPOFF := 0x540
- global ADDR_CPED_ARMOROFF := 0x548
- global ADDR_VEHICLE_PTR := 0xBA18FC
- global ADDR_VEHICLE_HPOFF := 0x4C0
- global ADDR_CPED_MONEY := 0xB7CE50
- global ADDR_CPED_INTID := 0xA4ACE8
- global ADDR_VEHICLE_DOORSTATE := 0x4F8
- global ADDR_VEHICLE_ENGINESTATE := 0x428
- global ADDR_VEHICLE_LIGHTSTATE := 0x584
- global ADDR_VEHICLE_MODEL := 0x22
- global ADDR_VEHICLE_TYPE := 0x590
- global ADDR_VEHICLE_DRIVER := 0x460
- global oAirplaneModels := [417, 425, 447, 460, 469, 476, 487, 488, 497, 511, 512, 513, 519, 520, 548, 553, 563, 577, 592, 593]
- global oBikeModels := [481,509,510]
- 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"]
- global ADDR_SAMP_INCHAT_PTR := 0x21A10C
- global ADDR_SAMP_INCHAT_PTR_OFF := 0x55
- global ADDR_SAMP_USERNAME := 0x219A6F
- global ADDR_SAMP_CHATMSG_PTR := 0x21A0E4
- global ADDR_SAMP_SHOWDLG_PTR := 0x21A0B8
- global FUNC_SAMP_SENDCMD := 0x65C60
- global FUNC_SAMP_SENDSAY := 0x57F0
- global FUNC_SAMP_ADDTOCHATWND := 0x64520
- global FUNC_SAMP_SHOWGAMETEXT := 0x9C2C0
- global FUNC_SAMP_PLAYAUDIOSTR := 0x62DA0
- global FUNC_SAMP_STOPAUDIOSTR := 0x629A0
- global FUNC_SAMP_SHOWDIALOG := 0x6B9C0
- global FUNC_UPDATESCOREBOARD := 0x8A10
- global SAMP_INFO_OFFSET := 0x21A0F8
- global SAMP_PPOOLS_OFFSET := 0x3CD
- global SAMP_PPOOL_PLAYER_OFFSET := 0x18
- global SAMP_SLOCALPLAYERID_OFFSET := 0x4
- global SAMP_ISTRLEN_LOCALPLAYERNAME_OFFSET := 0x1A
- global SAMP_SZLOCALPLAYERNAME_OFFSET := 0xA
- global SAMP_PSZLOCALPLAYERNAME_OFFSET := 0xA
- global SAMP_PREMOTEPLAYER_OFFSET := 0x2E
- global SAMP_ISTRLENNAME___OFFSET := 0x1C
- global SAMP_SZPLAYERNAME_OFFSET := 0xC
- global SAMP_PSZPLAYERNAME_OFFSET := 0xC
- global SAMP_ILOCALPLAYERPING_OFFSET := 0x26
- global SAMP_ILOCALPLAYERSCORE_OFFSET := 0x2A
- global SAMP_IPING_OFFSET := 0x28
- global SAMP_ISCORE_OFFSET := 0x24
- global SAMP_ISNPC_OFFSET := 0x4
- global SAMP_SZIP_OFFSET := 0x20
- global SAMP_SZHOSTNAME_OFFSET := 0x121
- global SAMP_PLAYER_MAX := 1004
- global SIZE_SAMP_CHATMSG := 0xFC
- global hGTA := 0x0
- global dwGTAPID := 0x0
- global dwSAMP := 0x0
- global pMemory := 0x0
- global pParam1 := 0x0
- global pParam2 := 0x0
- global pParam3 := 0x0
- global pParam4 := 0x0
- global pParam5 := 0x0
- global pInjectFunc := 0x0
- global nZone := 1
- global nCity := 1
- global bInitZaC := 0
- global iRefreshScoreboard := 0
- global oScoreboardData := ""
- global iRefreshHandles := 0
- global iUpdateTick := 2500
- global bCheckSizeOnce := 1
- isInChat() {
- if(!checkHandles())
- return -1
- dwPtr := dwSAMP + ADDR_SAMP_INCHAT_PTR
- dwAddress := readDWORD(hGTA, dwPtr) + ADDR_SAMP_INCHAT_PTR_OFF
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- dwInChat := readDWORD(hGTA, dwAddress)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- if(dwInChat > 0) {
- return true
- } else {
- return false
- }
- }
- getUsername() {
- if(!checkHandles())
- return ""
- dwAddress := dwSAMP + ADDR_SAMP_USERNAME
- sUsername := readString(hGTA, dwAddress, 25)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- ErrorLevel := ERROR_OK
- return sUsername
- }
- getId() {
- s:=getUsername()
- return getPlayerIdByName(s)
- }
- sendChat(wText) {
- wText := "" wText
- if(!checkHandles())
- return false
- dwFunc:=0
- if(SubStr(wText, 1, 1) == "/") {
- dwFunc := dwSAMP + FUNC_SAMP_SENDCMD
- } else {
- dwFunc := dwSAMP + FUNC_SAMP_SENDSAY
- }
- callWithParams(hGTA, dwFunc, [["s", wText]], false)
- ErrorLevel := ERROR_OK
- return true
- }
- AddChatMessage(wText) {
- wText := "" wText
- if(!checkHandles())
- return false
- dwFunc := dwSAMP + FUNC_SAMP_ADDTOCHATWND
- dwChatInfo := readDWORD(hGTA, dwSAMP + ADDR_SAMP_CHATMSG_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return false
- }
- callWithParams(hGTA, dwFunc, [["p", dwChatInfo], ["s", wText]], true)
- ErrorLevel := ERROR_OK
- return true
- }
- showGameText(wText, dwTime, dwSize) {
- wText := "" wText
- dwTime += 0
- dwTime := Floor(dwTime)
- dwSize += 0
- dwSize := Floor(dwSize)
- if(!checkHandles())
- return false
- dwFunc := dwSAMP + FUNC_SAMP_SHOWGAMETEXT
- callWithParams(hGTA, dwFunc, [["s", wText], ["i", dwTime], ["i", dwSize]], false)
- ErrorLevel := ERROR_OK
- return true
- }
- showDialog(dwStyle, wCaption, wInfo, wButton1, wButton2) {
- dwStyle += 0
- dwStyle := Floor(dwStyle)
- wCaption := "" wCaption
- wInfo := "" wInfo
- wButton1 := "" wButton1
- if(dwStyle<0 || dwStyle>5 || StrLen(wCaption)>=64 || StrLen(wInfo)>=4096 || StrLen(wButton1)>10)
- return false
- if(!checkHandles())
- return false
- dwFunc := dwSAMP + FUNC_SAMP_SHOWDIALOG
- dwAddress := readDWORD(hGTA, dwSAMP + ADDR_SAMP_SHOWDLG_PTR)
- if(ErrorLevel || dwAddress==0) {
- ErrorLevel := ERROR_READ_MEMORY
- return false
- }
- writeString(hGTA, pParam5, wCaption)
- if(ErrorLevel)
- return false
- writeString(hGTA, pParam1, wInfo)
- if(ErrorLevel)
- return false
- writeString(hGTA, pParam5+512, wButton1)
- if(ErrorLevel)
- return false
- writeString(hGTA, pParam5+StrLen(caption) + 1, wButton2)
- if (ErrorLevel)
- return false
- dwLen := 5 + 7*5 + 5 + 1
- VarSetCapacity(injectData, dwLen, 0)
- NumPut(0xB9, injectData, 0, "UChar")
- NumPut(dwAddress, injectData, 1, "UInt")
- NumPut(0x68, injectData, 5, "UChar")
- NumPut(0, injectData, 6, "UInt")
- NumPut(0x68, injectData, 10, "UChar")
- NumPut(pParam5+StrLen(wCaption), injectData, 11, "UInt")
- NumPut(pParam5 + StrLen(caption) + 1, injectData, 11, "UInt")
- NumPut(0x68, injectData, 15, "UChar")
- NumPut(pParam5 + 512, injectData, 16, "UInt")
- NumPut(0x68, injectData, 20, "UChar")
- NumPut(pParam1, injectData, 21, "UInt")
- NumPut(0x68, injectData, 25, "UChar")
- NumPut(pParam5, injectData, 26, "UInt")
- NumPut(0x68, injectData, 30, "UChar")
- NumPut(dwStyle, injectData, 31, "UInt")
- NumPut(0x68, injectData, 35, "UChar")
- NumPut(1, injectData, 36, "UInt")
- NumPut(0xE8, injectData, 40, "UChar")
- offset := dwFunc - (pInjectFunc + 45)
- NumPut(offset, injectData, 41, "Int")
- NumPut(0xC3, injectData, 45, "UChar")
- writeRaw(hGTA, pInjectFunc, &injectData, dwLen)
- if(ErrorLevel)
- return false
- hThread := createRemoteThread(hGTA, 0, 0, pInjectFunc, 0, 0, 0)
- if(ErrorLevel)
- return false
- waitForSingleObject(hThread, 0xFFFFFFFF)
- closeProcess(hThread)
- return true
- }
- playAudioStream(wUrl) {
- wUrl := "" wUrl
- if(!checkHandles())
- return false
- dwFunc := dwSAMP + FUNC_SAMP_PLAYAUDIOSTR
- patchRadio()
- callWithParams(hGTA, dwFunc, [["s", wUrl], ["i", 0], ["i", 0], ["i", 0], ["i", 0], ["i", 0]], false)
- unPatchRadio()
- ErrorLevel := ERROR_OK
- return true
- }
- stopAudioStream() {
- if(!checkHandles())
- return false
- dwFunc := dwSAMP + FUNC_SAMP_STOPAUDIOSTR
- patchRadio()
- callWithParams(hGTA, dwFunc, [["i", 1]], false)
- unPatchRadio()
- ErrorLevel := ERROR_OK
- return true
- }
- blockChatInput() {
- if(!checkHandles())
- return false
- VarSetCapacity(nop, 2, 0)
- dwFunc := dwSAMP + FUNC_SAMP_SENDSAY
- NumPut(0x04C2,nop,0,"Short")
- writeRaw(hGTA, dwFunc, &nop, 2)
- dwFunc := dwSAMP + FUNC_SAMP_SENDCMD
- writeRaw(hGTA, dwFunc, &nop, 2)
- return true
- }
- unBlockChatInput() {
- if(!checkHandles())
- return false
- VarSetCapacity(nop, 2, 0)
- dwFunc := dwSAMP + FUNC_SAMP_SENDSAY
- NumPut(0xA164,nop,0,"Short")
- writeRaw(hGTA, dwFunc, &nop, 2)
- dwFunc := dwSAMP + FUNC_SAMP_SENDCMD
- writeRaw(hGTA, dwFunc, &nop, 2)
- return true
- }
- patchRadio() {
- if(!checkHandles())
- return false
- VarSetCapacity(nop, 4, 0)
- NumPut(0x90909090,nop,0,"UInt")
- dwFunc := dwSAMP + FUNC_SAMP_PLAYAUDIOSTR
- writeRaw(hGTA, dwFunc, &nop, 4)
- writeRaw(hGTA, dwFunc+4, &nop, 1)
- dwFunc := dwSAMP + FUNC_SAMP_STOPAUDIOSTR
- writeRaw(hGTA, dwFunc, &nop, 4)
- writeRaw(hGTA, dwFunc+4, &nop, 1)
- return true
- }
- unPatchRadio() {
- if(!checkHandles())
- return false
- VarSetCapacity(old, 4, 0)
- dwFunc := dwSAMP + FUNC_SAMP_PLAYAUDIOSTR
- NumPut(0x74003980,old,0,"UInt")
- writeRaw(hGTA, dwFunc, &old, 4)
- NumPut(0x39,old,0,"UChar")
- writeRaw(hGTA, dwFunc+4, &old, 1)
- dwFunc := dwSAMP + FUNC_SAMP_STOPAUDIOSTR
- NumPut(0x74003980,old,0,"UInt")
- writeRaw(hGTA, dwFunc, &old, 4)
- NumPut(0x09,old,0,"UChar")
- writeRaw(hGTA, dwFunc+4, &old, 1)
- return true
- }
- getPlayerNameById(dwId) {
- dwId += 0
- dwId := Floor(dwId)
- if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
- return ""
- if(!updateOScoreboardData())
- return ""
- if(oScoreboardData[dwId])
- return oScoreboardData[dwId].NAME
- return ""
- }
- getPlayerIdByName(wName) {
- wName := "" wName
- if(StrLen(wName) < 1 || StrLen(wName) > 20)
- return -1
- if(!updateOScoreboardData())
- return -1
- For i, o in oScoreboardData
- {
- if(InStr(o.NAME,wName)==1)
- return i
- }
- return -1
- }
- getPlayerScoreById(dwId) {
- dwId += 0
- dwId := Floor(dwId)
- if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
- return ""
- if(!updateOScoreboardData())
- return ""
- if(oScoreboardData[dwId])
- return oScoreboardData[dwId].SCORE
- return ""
- }
- getPlayerPingById(dwId) {
- dwId += 0
- dwId := Floor(dwId)
- if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
- return -1
- if(!updateOScoreboardData())
- return -1
- if(oScoreboardData[dwId])
- return oScoreboardData[dwId].PING
- return -1
- }
- isNPCById(dwId) {
- dwId += 0
- dwId := Floor(dwId)
- if(dwId < 0 || dwId >= SAMP_PLAYER_MAX)
- return -1
- if(!updateOScoreboardData())
- return -1
- if(oScoreboardData[dwId])
- return oScoreboardData[dwId].ISNPC
- return -1
- }
- getIP() {
- if(!checkHandles())
- return ""
- dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
- if(ErrorLevel || dwAddress==0) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- ipaddr := readString(hGTA, dwAddress+SAMP_SZIP_OFFSET, 257)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- return ipaddr
- }
- getHostname() {
- if(!checkHandles())
- return ""
- dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
- if(ErrorLevel || dwAddress==0) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- hostname := readString(hGTA, dwAddress+SAMP_SZHOSTNAME_OFFSET, 259)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- return hostname
- }
- countOnlinePlayers() {
- if(!updateOScoreboardData())
- return 0
- j := 0
- For i, o in oScoreboardData
- {
- if(isNPCById(i)==0)
- j += 1
- }
- return j
- }
- updateScoreboardDataEx() {
- if(!checkHandles())
- return false
- dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
- if(ErrorLevel || dwAddress==0) {
- ErrorLevel := ERROR_READ_MEMORY
- return false
- }
- dwFunc := dwSAMP + FUNC_UPDATESCOREBOARD
- VarSetCapacity(injectData, 11, 0)
- NumPut(0xB9, injectData, 0, "UChar")
- NumPut(dwAddress, injectData, 1, "UInt")
- NumPut(0xE8, injectData, 5, "UChar")
- offset := dwFunc - (pInjectFunc + 10)
- NumPut(offset, injectData, 6, "Int")
- NumPut(0xC3, injectData, 10, "UChar")
- writeRaw(hGTA, pInjectFunc, &injectData, 11)
- if(ErrorLevel)
- return false
- hThread := createRemoteThread(hGTA, 0, 0, pInjectFunc, 0, 0, 0)
- if(ErrorLevel)
- return false
- waitForSingleObject(hThread, 0xFFFFFFFF)
- closeProcess(hThread)
- return true
- }
- updateOScoreboardData() {
- if(!checkHandles())
- return 0
- if(iRefreshScoreboard+iUpdateTick > A_TickCount)
- return 1
- oScoreboardData := []
- if(!updateScoreboardDataEx())
- return 0
- iRefreshScoreboard := A_TickCount
- dwAddress := readDWORD(hGTA, dwSAMP + SAMP_INFO_OFFSET)
- if(ErrorLevel || dwAddress==0) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- dwAddress := readDWORD(hGTA, dwAddress + SAMP_PPOOLS_OFFSET)
- if(ErrorLevel || dwAddress==0) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- dwPlayers := readDWORD(hGTA, dwAddress + SAMP_PPOOL_PLAYER_OFFSET)
- if(ErrorLevel || dwPlayers==0) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- wID := readMem(hGTA, dwPlayers + SAMP_SLOCALPLAYERID_OFFSET, 2, "Short")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- dwPing := readMem(hGTA, dwPlayers + SAMP_ILOCALPLAYERPING_OFFSET, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- dwScore := readMem(hGTA, dwPlayers + SAMP_ILOCALPLAYERSCORE_OFFSET, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- dwTemp := readMem(hGTA, dwPlayers + SAMP_ISTRLEN_LOCALPLAYERNAME_OFFSET, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- sUsername := ""
- if(dwTemp <= 0xf) {
- sUsername := readString(hGTA, dwPlayers + SAMP_SZLOCALPLAYERNAME_OFFSET, 16)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- }
- else {
- dwAddress := readDWORD(hGTA, dwPlayers + SAMP_PSZLOCALPLAYERNAME_OFFSET)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- sUsername := readString(hGTA, dwAddress, 25)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- }
- oScoreboardData[wID] := Object("NAME", sUsername, "ID", wID, "PING", dwPing, "SCORE", dwScore, "ISNPC", 0)
- Loop, % SAMP_PLAYER_MAX
- {
- i := A_Index-1
- dwRemoteplayer := readDWORD(hGTA, dwPlayers+SAMP_PREMOTEPLAYER_OFFSET+i*4)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- if(dwRemoteplayer==0)
- continue
- dwPing := readMem(hGTA, dwRemoteplayer + SAMP_IPING_OFFSET, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- dwScore := readMem(hGTA, dwRemoteplayer + SAMP_ISCORE_OFFSET, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- dwIsNPC := readMem(hGTA, dwRemoteplayer + SAMP_ISNPC_OFFSET, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- dwTemp := readMem(hGTA, dwRemoteplayer + SAMP_ISTRLENNAME___OFFSET, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- sUsername := ""
- if(dwTemp <= 0xf)
- {
- sUsername := readString(hGTA, dwRemoteplayer+SAMP_SZPLAYERNAME_OFFSET, 16)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- }
- else {
- dwAddress := readDWORD(hGTA, dwRemoteplayer + SAMP_PSZPLAYERNAME_OFFSET)
- if(ErrorLevel || dwAddress==0) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- sUsername := readString(hGTA, dwAddress, 25)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- }
- o := Object("NAME", sUsername, "ID", i, "PING", dwPing, "SCORE", dwScore, "ISNPC", dwIsNPC)
- oScoreboardData[i] := o
- }
- ErrorLevel := ERROR_OK
- return 1
- }
- getPlayerHealth() {
- if(!checkHandles())
- return -1
- dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- dwAddr := dwCPedPtr + ADDR_CPED_HPOFF
- fHealth := readFloat(hGTA, dwAddr)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return Round(fHealth)
- }
- getPlayerArmor() {
- if(!checkHandles())
- return -1
- dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- dwAddr := dwCPedPtr + ADDR_CPED_ARMOROFF
- fHealth := readFloat(hGTA, dwAddr)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return Round(fHealth)
- }
- getPlayerInteriorId() {
- if(!checkHandles())
- return -1
- iid := readMem(hGTA, ADDR_CPED_INTID, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return iid
- }
- getPlayerMoney() {
- if(!checkHandles())
- return ""
- money := readMem(hGTA, ADDR_CPED_MONEY, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- ErrorLevel := ERROR_OK
- return money
- }
- isPlayerInAnyVehicle()
- {
- if(!checkHandles())
- return -1
- dwVehPtr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- return (dwVehPtr > 0)
- }
- isPlayerDriver() {
- if(!checkHandles())
- return -1
- dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- if(!dwAddr)
- return -1
- dwCPedPtr := readDWORD(hGTA, ADDR_CPED_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- dwVal := readDWORD(hGTA, dwAddr + ADDR_VEHICLE_DRIVER)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return (dwVal==dwCPedPtr)
- }
- getVehicleHealth() {
- if(!checkHandles())
- return -1
- dwVehPtr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- dwAddr := dwVehPtr + ADDR_VEHICLE_HPOFF
- fHealth := readFloat(hGTA, dwAddr)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return Round(fHealth)
- }
- getVehicleType() {
- if(!checkHandles())
- return 0
- dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- if(!dwAddr)
- return 0
- cVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_TYPE, 1, "Char")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- if(!cVal)
- {
- mid := getVehicleModelId()
- Loop % oAirplaneModels.MaxIndex()
- {
- if(oAirplaneModels[A_Index]==mid)
- return 5
- }
- return 1
- }
- else if(cVal==5)
- return 2
- else if(cVal==6)
- return 3
- else if(cVal==9)
- {
- mid := getVehicleModelId()
- Loop % oBikeModels.MaxIndex()
- {
- if(oBikeModels[A_Index]==mid)
- return 6
- }
- return 4
- }
- return 0
- }
- getVehicleModelId() {
- if(!checkHandles())
- return 0
- dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- if(!dwAddr)
- return 0
- sVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_MODEL, 2, "Short")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- return sVal
- }
- getVehicleModelName() {
- id:=getVehicleModelId()
- if(id>400 && id <611)
- {
- return ovehicleNames[id-399]
- }
- return ""
- }
- getVehicleLightState() {
- if(!checkHandles())
- return -1
- dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- if(!dwAddr)
- return -1
- dwVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_LIGHTSTATE, 4, "Int")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return (dwVal>0)
- }
- getVehicleEngineState() {
- if(!checkHandles())
- return -1
- dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- if(!dwAddr)
- return -1
- cVal := readMem(hGTA, dwAddr + ADDR_VEHICLE_ENGINESTATE, 1, "Char")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return (cVal==24 || cVal==56 || cVal==88 || cVal==120)
- }
- getVehicleLockState() {
- if(!checkHandles())
- return -1
- dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- if(!dwAddr)
- return -1
- dwVal := readDWORD(hGTA, dwAddr + ADDR_VEHICLE_DOORSTATE)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return (dwVal==2)
- }
- getCoordinates() {
- if(!checkHandles())
- return ""
- fX := readFloat(hGTA, ADDR_POSITION_X)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- fY := readFloat(hGTA, ADDR_POSITION_Y)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- fZ := readFloat(hGTA, ADDR_POSITION_Z)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- ErrorLevel := ERROR_OK
- return [fX, fY, fZ]
- }
- calculateZone(posX, posY, posZ) {
- posX += 0
- posY += 0
- posZ += 0
- if ( !bInitZaC )
- {
- initZonesAndCities()
- bInitZaC := 1
- }
- Loop % nZone-1
- {
- 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)
- {
- ErrorLevel := ERROR_OK
- return zone%A_Index%_name
- }
- }
- ErrorLevel := ERROR_ZONE_NOT_FOUND
- return ""
- }
- calculateCity(posX, posY, posZ) {
- posX += 0
- posY += 0
- posZ += 0
- if ( !bInitZaC )
- {
- initZonesAndCities()
- bInitZaC := 1
- }
- smallestCity := ""
- currentCitySize := 0
- smallestCitySize := 0
- Loop % nCity-1
- {
- 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)
- {
- 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))
- if (!smallestCity) || (currentCitySize < smallestCitySize)
- {
- smallestCity := city%A_Index%_name
- smallestCitySize := currentCitySize
- }
- }
- }
- if(!smallestCity) {
- ErrorLevel := ERROR_CITY_NOT_FOUND
- } else {
- ErrorLevel := ERROR_OK
- }
- return smallestCity
- }
- initZonesAndCities() {
- if(bInitZaC)
- return
- AddCity("Las Venturas", 685.0, 476.093, -500.0, 3000.0, 3000.0, 500.0)
- AddCity("San Fierro", -3000.0, -742.306, -500.0, -1270.53, 1530.24, 500.0)
- AddCity("San Fierro", -1270.53, -402.481, -500.0, -1038.45, 832.495, 500.0)
- AddCity("San Fierro", -1038.45, -145.539, -500.0, -897.546, 376.632, 500.0)
- AddCity("Los Santos", 480.0, -3000.0, -500.0, 3000.0, -850.0, 500.0)
- AddCity("Los Santos", 80.0, -2101.61, -500.0, 1075.0, -1239.61, 500.0)
- AddCity("Tierra Robada", -1213.91, 596.349, -242.99, -480.539, 1659.68, 900.0)
- AddCity("Red County", -1213.91, -768.027, -242.99, 2997.06, 596.349, 900.0)
- AddCity("Flint County", -1213.91, -2892.97, -242.99, 44.6147, -768.027, 900.0)
- AddCity("Whetstone", -2997.47, -2892.97, -242.99, -1213.91, -1115.58, 900.0)
- AddZone("Avispa Country Club", -2667.810, -302.135, -28.831, -2646.400, -262.320, 71.169)
- AddZone("Easter Bay Airport", -1315.420, -405.388, 15.406, -1264.400, -209.543, 25.406)
- AddZone("Avispa Country Club", -2550.040, -355.493, 0.000, -2470.040, -318.493, 39.700)
- AddZone("Easter Bay Airport", -1490.330, -209.543, 15.406, -1264.400, -148.388, 25.406)
- AddZone("Garcia", -2395.140, -222.589, -5.3, -2354.090, -204.792, 200.000)
- AddZone("Shady Cabin", -1632.830, -2263.440, -3.0, -1601.330, -2231.790, 200.000)
- AddZone("East Los Santos", 2381.680, -1494.030, -89.084, 2421.030, -1454.350, 110.916)
- AddZone("LVA Freight Depot", 1236.630, 1163.410, -89.084, 1277.050, 1203.280, 110.916)
- AddZone("Blackfield Intersection", 1277.050, 1044.690, -89.084, 1315.350, 1087.630, 110.916)
- AddZone("Avispa Country Club", -2470.040, -355.493, 0.000, -2270.040, -318.493, 46.100)
- AddZone("Temple", 1252.330, -926.999, -89.084, 1357.000, -910.170, 110.916)
- AddZone("Unity Station", 1692.620, -1971.800, -20.492, 1812.620, -1932.800, 79.508)
- AddZone("LVA Freight Depot", 1315.350, 1044.690, -89.084, 1375.600, 1087.630, 110.916)
- AddZone("Los Flores", 2581.730, -1454.350, -89.084, 2632.830, -1393.420, 110.916)
- AddZone("Starfish Casino", 2437.390, 1858.100, -39.084, 2495.090, 1970.850, 60.916)
- AddZone("Easter Bay Chemicals", -1132.820, -787.391, 0.000, -956.476, -768.027, 200.000)
- AddZone("Downtown Los Santos", 1370.850, -1170.870, -89.084, 1463.900, -1130.850, 110.916)
- AddZone("Esplanade East", -1620.300, 1176.520, -4.5, -1580.010, 1274.260, 200.000)
- AddZone("Market Station", 787.461, -1410.930, -34.126, 866.009, -1310.210, 65.874)
- AddZone("Linden Station", 2811.250, 1229.590, -39.594, 2861.250, 1407.590, 60.406)
- AddZone("Montgomery Intersection", 1582.440, 347.457, 0.000, 1664.620, 401.750, 200.000)
- AddZone("Frederick Bridge", 2759.250, 296.501, 0.000, 2774.250, 594.757, 200.000)
- AddZone("Yellow Bell Station", 1377.480, 2600.430, -21.926, 1492.450, 2687.360, 78.074)
- AddZone("Downtown Los Santos", 1507.510, -1385.210, 110.916, 1582.550, -1325.310, 335.916)
- AddZone("Jefferson", 2185.330, -1210.740, -89.084, 2281.450, -1154.590, 110.916)
- AddZone("Mulholland", 1318.130, -910.170, -89.084, 1357.000, -768.027, 110.916)
- AddZone("Avispa Country Club", -2361.510, -417.199, 0.000, -2270.040, -355.493, 200.000)
- AddZone("Jefferson", 1996.910, -1449.670, -89.084, 2056.860, -1350.720, 110.916)
- AddZone("Julius Thruway West", 1236.630, 2142.860, -89.084, 1297.470, 2243.230, 110.916)
- AddZone("Jefferson", 2124.660, -1494.030, -89.084, 2266.210, -1449.670, 110.916)
- AddZone("Julius Thruway North", 1848.400, 2478.490, -89.084, 1938.800, 2553.490, 110.916)
- AddZone("Rodeo", 422.680, -1570.200, -89.084, 466.223, -1406.050, 110.916)
- AddZone("Cranberry Station", -2007.830, 56.306, 0.000, -1922.000, 224.782, 100.000)
- AddZone("Downtown Los Santos", 1391.050, -1026.330, -89.084, 1463.900, -926.999, 110.916)
- AddZone("Redsands West", 1704.590, 2243.230, -89.084, 1777.390, 2342.830, 110.916)
- AddZone("Little Mexico", 1758.900, -1722.260, -89.084, 1812.620, -1577.590, 110.916)
- AddZone("Blackfield Intersection", 1375.600, 823.228, -89.084, 1457.390, 919.447, 110.916)
- AddZone("Los Santos International", 1974.630, -2394.330, -39.084, 2089.000, -2256.590, 60.916)
- AddZone("Beacon Hill", -399.633, -1075.520, -1.489, -319.033, -977.516, 198.511)
- AddZone("Rodeo", 334.503, -1501.950, -89.084, 422.680, -1406.050, 110.916)
- AddZone("Richman", 225.165, -1369.620, -89.084, 334.503, -1292.070, 110.916)
- AddZone("Downtown Los Santos", 1724.760, -1250.900, -89.084, 1812.620, -1150.870, 110.916)
- AddZone("The Strip", 2027.400, 1703.230, -89.084, 2137.400, 1783.230, 110.916)
- AddZone("Downtown Los Santos", 1378.330, -1130.850, -89.084, 1463.900, -1026.330, 110.916)
- AddZone("Blackfield Intersection", 1197.390, 1044.690, -89.084, 1277.050, 1163.390, 110.916)
- AddZone("Conference Center", 1073.220, -1842.270, -89.084, 1323.900, -1804.210, 110.916)
- AddZone("Montgomery", 1451.400, 347.457, -6.1, 1582.440, 420.802, 200.000)
- AddZone("Foster Valley", -2270.040, -430.276, -1.2, -2178.690, -324.114, 200.000)
- AddZone("Blackfield Chapel", 1325.600, 596.349, -89.084, 1375.600, 795.010, 110.916)
- AddZone("Los Santos International", 2051.630, -2597.260, -39.084, 2152.450, -2394.330, 60.916)
- AddZone("Mulholland", 1096.470, -910.170, -89.084, 1169.130, -768.027, 110.916)
- AddZone("Yellow Bell Gol Course", 1457.460, 2723.230, -89.084, 1534.560, 2863.230, 110.916)
- AddZone("The Strip", 2027.400, 1783.230, -89.084, 2162.390, 1863.230, 110.916)
- AddZone("Jefferson", 2056.860, -1210.740, -89.084, 2185.330, -1126.320, 110.916)
- AddZone("Mulholland", 952.604, -937.184, -89.084, 1096.470, -860.619, 110.916)
- AddZone("Aldea Malvada", -1372.140, 2498.520, 0.000, -1277.590, 2615.350, 200.000)
- AddZone("Las Colinas", 2126.860, -1126.320, -89.084, 2185.330, -934.489, 110.916)
- AddZone("Las Colinas", 1994.330, -1100.820, -89.084, 2056.860, -920.815, 110.916)
- AddZone("Richman", 647.557, -954.662, -89.084, 768.694, -860.619, 110.916)
- AddZone("LVA Freight Depot", 1277.050, 1087.630, -89.084, 1375.600, 1203.280, 110.916)
- AddZone("Julius Thruway North", 1377.390, 2433.230, -89.084, 1534.560, 2507.230, 110.916)
- AddZone("Willowfield", 2201.820, -2095.000, -89.084, 2324.000, -1989.900, 110.916)
- AddZone("Julius Thruway North", 1704.590, 2342.830, -89.084, 1848.400, 2433.230, 110.916)
- AddZone("Temple", 1252.330, -1130.850, -89.084, 1378.330, -1026.330, 110.916)
- AddZone("Little Mexico", 1701.900, -1842.270, -89.084, 1812.620, -1722.260, 110.916)
- AddZone("Queens", -2411.220, 373.539, 0.000, -2253.540, 458.411, 200.000)
- AddZone("Las Venturas Airport", 1515.810, 1586.400, -12.500, 1729.950, 1714.560, 87.500)
- AddZone("Richman", 225.165, -1292.070, -89.084, 466.223, -1235.070, 110.916)
- AddZone("Temple", 1252.330, -1026.330, -89.084, 1391.050, -926.999, 110.916)
- AddZone("East Los Santos", 2266.260, -1494.030, -89.084, 2381.680, -1372.040, 110.916)
- AddZone("Julius Thruway East", 2623.180, 943.235, -89.084, 2749.900, 1055.960, 110.916)
- AddZone("Willowfield", 2541.700, -1941.400, -89.084, 2703.580, -1852.870, 110.916)
- AddZone("Las Colinas", 2056.860, -1126.320, -89.084, 2126.860, -920.815, 110.916)
- AddZone("Julius Thruway East", 2625.160, 2202.760, -89.084, 2685.160, 2442.550, 110.916)
- AddZone("Rodeo", 225.165, -1501.950, -89.084, 334.503, -1369.620, 110.916)
- AddZone("Las Brujas", -365.167, 2123.010, -3.0, -208.570, 2217.680, 200.000)
- AddZone("Julius Thruway East", 2536.430, 2442.550, -89.084, 2685.160, 2542.550, 110.916)
- AddZone("Rodeo", 334.503, -1406.050, -89.084, 466.223, -1292.070, 110.916)
- AddZone("Vinewood", 647.557, -1227.280, -89.084, 787.461, -1118.280, 110.916)
- AddZone("Rodeo", 422.680, -1684.650, -89.084, 558.099, -1570.200, 110.916)
- AddZone("Julius Thruway North", 2498.210, 2542.550, -89.084, 2685.160, 2626.550, 110.916)
- AddZone("Downtown Los Santos", 1724.760, -1430.870, -89.084, 1812.620, -1250.900, 110.916)
- AddZone("Rodeo", 225.165, -1684.650, -89.084, 312.803, -1501.950, 110.916)
- AddZone("Jefferson", 2056.860, -1449.670, -89.084, 2266.210, -1372.040, 110.916)
- AddZone("Hampton Barns", 603.035, 264.312, 0.000, 761.994, 366.572, 200.000)
- AddZone("Temple", 1096.470, -1130.840, -89.084, 1252.330, -1026.330, 110.916)
- AddZone("Kincaid Bridge", -1087.930, 855.370, -89.084, -961.950, 986.281, 110.916)
- AddZone("Verona Beach", 1046.150, -1722.260, -89.084, 1161.520, -1577.590, 110.916)
- AddZone("Commerce", 1323.900, -1722.260, -89.084, 1440.900, -1577.590, 110.916)
- AddZone("Mulholland", 1357.000, -926.999, -89.084, 1463.900, -768.027, 110.916)
- AddZone("Rodeo", 466.223, -1570.200, -89.084, 558.099, -1385.070, 110.916)
- AddZone("Mulholland", 911.802, -860.619, -89.084, 1096.470, -768.027, 110.916)
- AddZone("Mulholland", 768.694, -954.662, -89.084, 952.604, -860.619, 110.916)
- AddZone("Julius Thruway South", 2377.390, 788.894, -89.084, 2537.390, 897.901, 110.916)
- AddZone("Idlewood", 1812.620, -1852.870, -89.084, 1971.660, -1742.310, 110.916)
- AddZone("Ocean Docks", 2089.000, -2394.330, -89.084, 2201.820, -2235.840, 110.916)
- AddZone("Commerce", 1370.850, -1577.590, -89.084, 1463.900, -1384.950, 110.916)
- AddZone("Julius Thruway North", 2121.400, 2508.230, -89.084, 2237.400, 2663.170, 110.916)
- AddZone("Temple", 1096.470, -1026.330, -89.084, 1252.330, -910.170, 110.916)
- AddZone("Glen Park", 1812.620, -1449.670, -89.084, 1996.910, -1350.720, 110.916)
- AddZone("Easter Bay Airport", -1242.980, -50.096, 0.000, -1213.910, 578.396, 200.000)
- AddZone("Martin Bridge", -222.179, 293.324, 0.000, -122.126, 476.465, 200.000)
- AddZone("The Strip", 2106.700, 1863.230, -89.084, 2162.390, 2202.760, 110.916)
- AddZone("Willowfield", 2541.700, -2059.230, -89.084, 2703.580, -1941.400, 110.916)
- AddZone("Marina", 807.922, -1577.590, -89.084, 926.922, -1416.250, 110.916)
- AddZone("Las Venturas Airport", 1457.370, 1143.210, -89.084, 1777.400, 1203.280, 110.916)
- AddZone("Idlewood", 1812.620, -1742.310, -89.084, 1951.660, -1602.310, 110.916)
- AddZone("Esplanade East", -1580.010, 1025.980, -6.1, -1499.890, 1274.260, 200.000)
- AddZone("Downtown Los Santos", 1370.850, -1384.950, -89.084, 1463.900, -1170.870, 110.916)
- AddZone("The Mako Span", 1664.620, 401.750, 0.000, 1785.140, 567.203, 200.000)
- AddZone("Rodeo", 312.803, -1684.650, -89.084, 422.680, -1501.950, 110.916)
- AddZone("Pershing Square", 1440.900, -1722.260, -89.084, 1583.500, -1577.590, 110.916)
- AddZone("Mulholland", 687.802, -860.619, -89.084, 911.802, -768.027, 110.916)
- AddZone("Gant Bridge", -2741.070, 1490.470, -6.1, -2616.400, 1659.680, 200.000)
- AddZone("Las Colinas", 2185.330, -1154.590, -89.084, 2281.450, -934.489, 110.916)
- AddZone("Mulholland", 1169.130, -910.170, -89.084, 1318.130, -768.027, 110.916)
- AddZone("Julius Thruway North", 1938.800, 2508.230, -89.084, 2121.400, 2624.230, 110.916)
- AddZone("Commerce", 1667.960, -1577.590, -89.084, 1812.620, -1430.870, 110.916)
- AddZone("Rodeo", 72.648, -1544.170, -89.084, 225.165, -1404.970, 110.916)
- AddZone("Roca Escalante", 2536.430, 2202.760, -89.084, 2625.160, 2442.550, 110.916)
- AddZone("Rodeo", 72.648, -1684.650, -89.084, 225.165, -1544.170, 110.916)
- AddZone("Market", 952.663, -1310.210, -89.084, 1072.660, -1130.850, 110.916)
- AddZone("Las Colinas", 2632.740, -1135.040, -89.084, 2747.740, -945.035, 110.916)
- AddZone("Mulholland", 861.085, -674.885, -89.084, 1156.550, -600.896, 110.916)
- AddZone("King's", -2253.540, 373.539, -9.1, -1993.280, 458.411, 200.000)
- AddZone("Redsands East", 1848.400, 2342.830, -89.084, 2011.940, 2478.490, 110.916)
- AddZone("Downtown", -1580.010, 744.267, -6.1, -1499.890, 1025.980, 200.000)
- AddZone("Conference Center", 1046.150, -1804.210, -89.084, 1323.900, -1722.260, 110.916)
- AddZone("Richman", 647.557, -1118.280, -89.084, 787.461, -954.662, 110.916)
- AddZone("Ocean Flats", -2994.490, 277.411, -9.1, -2867.850, 458.411, 200.000)
- AddZone("Greenglass College", 964.391, 930.890, -89.084, 1166.530, 1044.690, 110.916)
- AddZone("Glen Park", 1812.620, -1100.820, -89.084, 1994.330, -973.380, 110.916)
- AddZone("LVA Freight Depot", 1375.600, 919.447, -89.084, 1457.370, 1203.280, 110.916)
- AddZone("Regular Tom", -405.770, 1712.860, -3.0, -276.719, 1892.750, 200.000)
- AddZone("Verona Beach", 1161.520, -1722.260, -89.084, 1323.900, -1577.590, 110.916)
- AddZone("East Los Santos", 2281.450, -1372.040, -89.084, 2381.680, -1135.040, 110.916)
- AddZone("Caligula's Palace", 2137.400, 1703.230, -89.084, 2437.390, 1783.230, 110.916)
- AddZone("Idlewood", 1951.660, -1742.310, -89.084, 2124.660, -1602.310, 110.916)
- AddZone("Pilgrim", 2624.400, 1383.230, -89.084, 2685.160, 1783.230, 110.916)
- AddZone("Idlewood", 2124.660, -1742.310, -89.084, 2222.560, -1494.030, 110.916)
- AddZone("Queens", -2533.040, 458.411, 0.000, -2329.310, 578.396, 200.000)
- AddZone("Downtown", -1871.720, 1176.420, -4.5, -1620.300, 1274.260, 200.000)
- AddZone("Commerce", 1583.500, -1722.260, -89.084, 1758.900, -1577.590, 110.916)
- AddZone("East Los Santos", 2381.680, -1454.350, -89.084, 2462.130, -1135.040, 110.916)
- AddZone("Marina", 647.712, -1577.590, -89.084, 807.922, -1416.250, 110.916)
- AddZone("Richman", 72.648, -1404.970, -89.084, 225.165, -1235.070, 110.916)
- AddZone("Vinewood", 647.712, -1416.250, -89.084, 787.461, -1227.280, 110.916)
- AddZone("East Los Santos", 2222.560, -1628.530, -89.084, 2421.030, -1494.030, 110.916)
- AddZone("Rodeo", 558.099, -1684.650, -89.084, 647.522, -1384.930, 110.916)
- AddZone("Easter Tunnel", -1709.710, -833.034, -1.5, -1446.010, -730.118, 200.000)
- AddZone("Rodeo", 466.223, -1385.070, -89.084, 647.522, -1235.070, 110.916)
- AddZone("Redsands East", 1817.390, 2202.760, -89.084, 2011.940, 2342.830, 110.916)
- AddZone("The Clown's Pocket", 2162.390, 1783.230, -89.084, 2437.390, 1883.230, 110.916)
- AddZone("Idlewood", 1971.660, -1852.870, -89.084, 2222.560, -1742.310, 110.916)
- AddZone("Montgomery Intersection", 1546.650, 208.164, 0.000, 1745.830, 347.457, 200.000)
- AddZone("Willowfield", 2089.000, -2235.840, -89.084, 2201.820, -1989.900, 110.916)
- AddZone("Temple", 952.663, -1130.840, -89.084, 1096.470, -937.184, 110.916)
- AddZone("Prickle Pine", 1848.400, 2553.490, -89.084, 1938.800, 2863.230, 110.916)
- AddZone("Los Santos International", 1400.970, -2669.260, -39.084, 2189.820, -2597.260, 60.916)
- AddZone("Garver Bridge", -1213.910, 950.022, -89.084, -1087.930, 1178.930, 110.916)
- AddZone("Garver Bridge", -1339.890, 828.129, -89.084, -1213.910, 1057.040, 110.916)
- AddZone("Kincaid Bridge", -1339.890, 599.218, -89.084, -1213.910, 828.129, 110.916)
- AddZone("Kincaid Bridge", -1213.910, 721.111, -89.084, -1087.930, 950.022, 110.916)
- AddZone("Verona Beach", 930.221, -2006.780, -89.084, 1073.220, -1804.210, 110.916)
- AddZone("Verdant Bluffs", 1073.220, -2006.780, -89.084, 1249.620, -1842.270, 110.916)
- AddZone("Vinewood", 787.461, -1130.840, -89.084, 952.604, -954.662, 110.916)
- AddZone("Vinewood", 787.461, -1310.210, -89.084, 952.663, -1130.840, 110.916)
- AddZone("Commerce", 1463.900, -1577.590, -89.084, 1667.960, -1430.870, 110.916)
- AddZone("Market", 787.461, -1416.250, -89.084, 1072.660, -1310.210, 110.916)
- AddZone("Rockshore West", 2377.390, 596.349, -89.084, 2537.390, 788.894, 110.916)
- AddZone("Julius Thruway North", 2237.400, 2542.550, -89.084, 2498.210, 2663.170, 110.916)
- AddZone("East Beach", 2632.830, -1668.130, -89.084, 2747.740, -1393.420, 110.916)
- AddZone("Fallow Bridge", 434.341, 366.572, 0.000, 603.035, 555.680, 200.000)
- AddZone("Willowfield", 2089.000, -1989.900, -89.084, 2324.000, -1852.870, 110.916)
- AddZone("Chinatown", -2274.170, 578.396, -7.6, -2078.670, 744.170, 200.000)
- AddZone("El Castillo del Diablo", -208.570, 2337.180, 0.000, 8.430, 2487.180, 200.000)
- AddZone("Ocean Docks", 2324.000, -2145.100, -89.084, 2703.580, -2059.230, 110.916)
- AddZone("Easter Bay Chemicals", -1132.820, -768.027, 0.000, -956.476, -578.118, 200.000)
- AddZone("The Visage", 1817.390, 1703.230, -89.084, 2027.400, 1863.230, 110.916)
- AddZone("Ocean Flats", -2994.490, -430.276, -1.2, -2831.890, -222.589, 200.000)
- AddZone("Richman", 321.356, -860.619, -89.084, 687.802, -768.027, 110.916)
- AddZone("Green Palms", 176.581, 1305.450, -3.0, 338.658, 1520.720, 200.000)
- AddZone("Richman", 321.356, -768.027, -89.084, 700.794, -674.885, 110.916)
- AddZone("Starfish Casino", 2162.390, 1883.230, -89.084, 2437.390, 2012.180, 110.916)
- AddZone("East Beach", 2747.740, -1668.130, -89.084, 2959.350, -1498.620, 110.916)
- AddZone("Jefferson", 2056.860, -1372.040, -89.084, 2281.450, -1210.740, 110.916)
- AddZone("Downtown Los Santos", 1463.900, -1290.870, -89.084, 1724.760, -1150.870, 110.916)
- AddZone("Downtown Los Santos", 1463.900, -1430.870, -89.084, 1724.760, -1290.870, 110.916)
- AddZone("Garver Bridge", -1499.890, 696.442, -179.615, -1339.890, 925.353, 20.385)
- AddZone("Julius Thruway South", 1457.390, 823.228, -89.084, 2377.390, 863.229, 110.916)
- AddZone("East Los Santos", 2421.030, -1628.530, -89.084, 2632.830, -1454.350, 110.916)
- AddZone("Greenglass College", 964.391, 1044.690, -89.084, 1197.390, 1203.220, 110.916)
- AddZone("Las Colinas", 2747.740, -1120.040, -89.084, 2959.350, -945.035, 110.916)
- AddZone("Mulholland", 737.573, -768.027, -89.084, 1142.290, -674.885, 110.916)
- AddZone("Ocean Docks", 2201.820, -2730.880, -89.084, 2324.000, -2418.330, 110.916)
- AddZone("East Los Santos", 2462.130, -1454.350, -89.084, 2581.730, -1135.040, 110.916)
- AddZone("Ganton", 2222.560, -1722.330, -89.084, 2632.830, -1628.530, 110.916)
- AddZone("Avispa Country Club", -2831.890, -430.276, -6.1, -2646.400, -222.589, 200.000)
- AddZone("Willowfield", 1970.620, -2179.250, -89.084, 2089.000, -1852.870, 110.916)
- AddZone("Esplanade North", -1982.320, 1274.260, -4.5, -1524.240, 1358.900, 200.000)
- AddZone("The High Roller", 1817.390, 1283.230, -89.084, 2027.390, 1469.230, 110.916)
- AddZone("Ocean Docks", 2201.820, -2418.330, -89.084, 2324.000, -2095.000, 110.916)
- AddZone("Last Dime Motel", 1823.080, 596.349, -89.084, 1997.220, 823.228, 110.916)
- AddZone("Bayside Marina", -2353.170, 2275.790, 0.000, -2153.170, 2475.790, 200.000)
- AddZone("King's", -2329.310, 458.411, -7.6, -1993.280, 578.396, 200.000)
- AddZone("El Corona", 1692.620, -2179.250, -89.084, 1812.620, -1842.270, 110.916)
- AddZone("Blackfield Chapel", 1375.600, 596.349, -89.084, 1558.090, 823.228, 110.916)
- AddZone("The Pink Swan", 1817.390, 1083.230, -89.084, 2027.390, 1283.230, 110.916)
- AddZone("Julius Thruway West", 1197.390, 1163.390, -89.084, 1236.630, 2243.230, 110.916)
- AddZone("Los Flores", 2581.730, -1393.420, -89.084, 2747.740, -1135.040, 110.916)
- AddZone("The Visage", 1817.390, 1863.230, -89.084, 2106.700, 2011.830, 110.916)
- AddZone("Prickle Pine", 1938.800, 2624.230, -89.084, 2121.400, 2861.550, 110.916)
- AddZone("Verona Beach", 851.449, -1804.210, -89.084, 1046.150, -1577.590, 110.916)
- AddZone("Robada Intersection", -1119.010, 1178.930, -89.084, -862.025, 1351.450, 110.916)
- AddZone("Linden Side", 2749.900, 943.235, -89.084, 2923.390, 1198.990, 110.916)
- AddZone("Ocean Docks", 2703.580, -2302.330, -89.084, 2959.350, -2126.900, 110.916)
- AddZone("Willowfield", 2324.000, -2059.230, -89.084, 2541.700, -1852.870, 110.916)
- AddZone("King's", -2411.220, 265.243, -9.1, -1993.280, 373.539, 200.000)
- AddZone("Commerce", 1323.900, -1842.270, -89.084, 1701.900, -1722.260, 110.916)
- AddZone("Mulholland", 1269.130, -768.027, -89.084, 1414.070, -452.425, 110.916)
- AddZone("Marina", 647.712, -1804.210, -89.084, 851.449, -1577.590, 110.916)
- AddZone("Battery Point", -2741.070, 1268.410, -4.5, -2533.040, 1490.470, 200.000)
- AddZone("The Four Dragons Casino", 1817.390, 863.232, -89.084, 2027.390, 1083.230, 110.916)
- AddZone("Blackfield", 964.391, 1203.220, -89.084, 1197.390, 1403.220, 110.916)
- AddZone("Julius Thruway North", 1534.560, 2433.230, -89.084, 1848.400, 2583.230, 110.916)
- AddZone("Yellow Bell Gol Course", 1117.400, 2723.230, -89.084, 1457.460, 2863.230, 110.916)
- AddZone("Idlewood", 1812.620, -1602.310, -89.084, 2124.660, -1449.670, 110.916)
- AddZone("Redsands West", 1297.470, 2142.860, -89.084, 1777.390, 2243.230, 110.916)
- AddZone("Doherty", -2270.040, -324.114, -1.2, -1794.920, -222.589, 200.000)
- AddZone("Hilltop Farm", 967.383, -450.390, -3.0, 1176.780, -217.900, 200.000)
- AddZone("Las Barrancas", -926.130, 1398.730, -3.0, -719.234, 1634.690, 200.000)
- AddZone("Pirates in Men's Pants", 1817.390, 1469.230, -89.084, 2027.400, 1703.230, 110.916)
- AddZone("City Hall", -2867.850, 277.411, -9.1, -2593.440, 458.411, 200.000)
- AddZone("Avispa Country Club", -2646.400, -355.493, 0.000, -2270.040, -222.589, 200.000)
- AddZone("The Strip", 2027.400, 863.229, -89.084, 2087.390, 1703.230, 110.916)
- AddZone("Hashbury", -2593.440, -222.589, -1.0, -2411.220, 54.722, 200.000)
- AddZone("Los Santos International", 1852.000, -2394.330, -89.084, 2089.000, -2179.250, 110.916)
- AddZone("Whitewood Estates", 1098.310, 1726.220, -89.084, 1197.390, 2243.230, 110.916)
- AddZone("Sherman Reservoir", -789.737, 1659.680, -89.084, -599.505, 1929.410, 110.916)
- AddZone("El Corona", 1812.620, -2179.250, -89.084, 1970.620, -1852.870, 110.916)
- AddZone("Downtown", -1700.010, 744.267, -6.1, -1580.010, 1176.520, 200.000)
- AddZone("Foster Valley", -2178.690, -1250.970, 0.000, -1794.920, -1115.580, 200.000)
- AddZone("Las Payasadas", -354.332, 2580.360, 2.0, -133.625, 2816.820, 200.000)
- AddZone("Valle Ocultado", -936.668, 2611.440, 2.0, -715.961, 2847.900, 200.000)
- AddZone("Blackfield Intersection", 1166.530, 795.010, -89.084, 1375.600, 1044.690, 110.916)
- AddZone("Ganton", 2222.560, -1852.870, -89.084, 2632.830, -1722.330, 110.916)
- AddZone("Easter Bay Airport", -1213.910, -730.118, 0.000, -1132.820, -50.096, 200.000)
- AddZone("Redsands East", 1817.390, 2011.830, -89.084, 2106.700, 2202.760, 110.916)
- AddZone("Esplanade East", -1499.890, 578.396, -79.615, -1339.890, 1274.260, 20.385)
- AddZone("Caligula's Palace", 2087.390, 1543.230, -89.084, 2437.390, 1703.230, 110.916)
- AddZone("Royal Casino", 2087.390, 1383.230, -89.084, 2437.390, 1543.230, 110.916)
- AddZone("Richman", 72.648, -1235.070, -89.084, 321.356, -1008.150, 110.916)
- AddZone("Starfish Casino", 2437.390, 1783.230, -89.084, 2685.160, 2012.180, 110.916)
- AddZone("Mulholland", 1281.130, -452.425, -89.084, 1641.130, -290.913, 110.916)
- AddZone("Downtown", -1982.320, 744.170, -6.1, -1871.720, 1274.260, 200.000)
- AddZone("Hankypanky Point", 2576.920, 62.158, 0.000, 2759.250, 385.503, 200.000)
- AddZone("K.A.C.C. Military Fuels", 2498.210, 2626.550, -89.084, 2749.900, 2861.550, 110.916)
- AddZone("Harry Gold Parkway", 1777.390, 863.232, -89.084, 1817.390, 2342.830, 110.916)
- AddZone("Bayside Tunnel", -2290.190, 2548.290, -89.084, -1950.190, 2723.290, 110.916)
- AddZone("Ocean Docks", 2324.000, -2302.330, -89.084, 2703.580, -2145.100, 110.916)
- AddZone("Richman", 321.356, -1044.070, -89.084, 647.557, -860.619, 110.916)
- AddZone("Randolph Industrial Estate", 1558.090, 596.349, -89.084, 1823.080, 823.235, 110.916)
- AddZone("East Beach", 2632.830, -1852.870, -89.084, 2959.350, -1668.130, 110.916)
- AddZone("Flint Water", -314.426, -753.874, -89.084, -106.339, -463.073, 110.916)
- AddZone("Blueberry", 19.607, -404.136, 3.8, 349.607, -220.137, 200.000)
- AddZone("Linden Station", 2749.900, 1198.990, -89.084, 2923.390, 1548.990, 110.916)
- AddZone("Glen Park", 1812.620, -1350.720, -89.084, 2056.860, -1100.820, 110.916)
- AddZone("Downtown", -1993.280, 265.243, -9.1, -1794.920, 578.396, 200.000)
- AddZone("Redsands West", 1377.390, 2243.230, -89.084, 1704.590, 2433.230, 110.916)
- AddZone("Richman", 321.356, -1235.070, -89.084, 647.522, -1044.070, 110.916)
- AddZone("Gant Bridge", -2741.450, 1659.680, -6.1, -2616.400, 2175.150, 200.000)
- AddZone("Lil' Probe Inn", -90.218, 1286.850, -3.0, 153.859, 1554.120, 200.000)
- AddZone("Flint Intersection", -187.700, -1596.760, -89.084, 17.063, -1276.600, 110.916)
- AddZone("Las Colinas", 2281.450, -1135.040, -89.084, 2632.740, -945.035, 110.916)
- AddZone("Sobell Rail Yards", 2749.900, 1548.990, -89.084, 2923.390, 1937.250, 110.916)
- AddZone("The Emerald Isle", 2011.940, 2202.760, -89.084, 2237.400, 2508.230, 110.916)
- AddZone("El Castillo del Diablo", -208.570, 2123.010, -7.6, 114.033, 2337.180, 200.000)
- AddZone("Santa Flora", -2741.070, 458.411, -7.6, -2533.040, 793.411, 200.000)
- AddZone("Playa del Seville", 2703.580, -2126.900, -89.084, 2959.350, -1852.870, 110.916)
- AddZone("Market", 926.922, -1577.590, -89.084, 1370.850, -1416.250, 110.916)
- AddZone("Queens", -2593.440, 54.722, 0.000, -2411.220, 458.411, 200.000)
- AddZone("Pilson Intersection", 1098.390, 2243.230, -89.084, 1377.390, 2507.230, 110.916)
- AddZone("Spinybed", 2121.400, 2663.170, -89.084, 2498.210, 2861.550, 110.916)
- AddZone("Pilgrim", 2437.390, 1383.230, -89.084, 2624.400, 1783.230, 110.916)
- AddZone("Blackfield", 964.391, 1403.220, -89.084, 1197.390, 1726.220, 110.916)
- AddZone("'The Big Ear'", -410.020, 1403.340, -3.0, -137.969, 1681.230, 200.000)
- AddZone("Dillimore", 580.794, -674.885, -9.5, 861.085, -404.790, 200.000)
- AddZone("El Quebrados", -1645.230, 2498.520, 0.000, -1372.140, 2777.850, 200.000)
- AddZone("Esplanade North", -2533.040, 1358.900, -4.5, -1996.660, 1501.210, 200.000)
- AddZone("Easter Bay Airport", -1499.890, -50.096, -1.0, -1242.980, 249.904, 200.000)
- AddZone("Fisher's Lagoon", 1916.990, -233.323, -100.000, 2131.720, 13.800, 200.000)
- AddZone("Mulholland", 1414.070, -768.027, -89.084, 1667.610, -452.425, 110.916)
- AddZone("East Beach", 2747.740, -1498.620, -89.084, 2959.350, -1120.040, 110.916)
- AddZone("San Andreas Sound", 2450.390, 385.503, -100.000, 2759.250, 562.349, 200.000)
- AddZone("Shady Creeks", -2030.120, -2174.890, -6.1, -1820.640, -1771.660, 200.000)
- AddZone("Market", 1072.660, -1416.250, -89.084, 1370.850, -1130.850, 110.916)
- AddZone("Rockshore West", 1997.220, 596.349, -89.084, 2377.390, 823.228, 110.916)
- AddZone("Prickle Pine", 1534.560, 2583.230, -89.084, 1848.400, 2863.230, 110.916)
- AddZone("Easter Basin", -1794.920, -50.096, -1.04, -1499.890, 249.904, 200.000)
- AddZone("Leafy Hollow", -1166.970, -1856.030, 0.000, -815.624, -1602.070, 200.000)
- AddZone("LVA Freight Depot", 1457.390, 863.229, -89.084, 1777.400, 1143.210, 110.916)
- AddZone("Prickle Pine", 1117.400, 2507.230, -89.084, 1534.560, 2723.230, 110.916)
- AddZone("Blueberry", 104.534, -220.137, 2.3, 349.607, 152.236, 200.000)
- AddZone("El Castillo del Diablo", -464.515, 2217.680, 0.000, -208.570, 2580.360, 200.000)
- AddZone("Downtown", -2078.670, 578.396, -7.6, -1499.890, 744.267, 200.000)
- AddZone("Rockshore East", 2537.390, 676.549, -89.084, 2902.350, 943.235, 110.916)
- AddZone("San Fierro Bay", -2616.400, 1501.210, -3.0, -1996.660, 1659.680, 200.000)
- AddZone("Paradiso", -2741.070, 793.411, -6.1, -2533.040, 1268.410, 200.000)
- AddZone("The Camel's Toe", 2087.390, 1203.230, -89.084, 2640.400, 1383.230, 110.916)
- AddZone("Old Venturas Strip", 2162.390, 2012.180, -89.084, 2685.160, 2202.760, 110.916)
- AddZone("Juniper Hill", -2533.040, 578.396, -7.6, -2274.170, 968.369, 200.000)
- AddZone("Juniper Hollow", -2533.040, 968.369, -6.1, -2274.170, 1358.900, 200.000)
- AddZone("Roca Escalante", 2237.400, 2202.760, -89.084, 2536.430, 2542.550, 110.916)
- AddZone("Julius Thruway East", 2685.160, 1055.960, -89.084, 2749.900, 2626.550, 110.916)
- AddZone("Verona Beach", 647.712, -2173.290, -89.084, 930.221, -1804.210, 110.916)
- AddZone("Foster Valley", -2178.690, -599.884, -1.2, -1794.920, -324.114, 200.000)
- AddZone("Arco del Oeste", -901.129, 2221.860, 0.000, -592.090, 2571.970, 200.000)
- AddZone("Fallen Tree", -792.254, -698.555, -5.3, -452.404, -380.043, 200.000)
- AddZone("The Farm", -1209.670, -1317.100, 114.981, -908.161, -787.391, 251.981)
- AddZone("The Sherman Dam", -968.772, 1929.410, -3.0, -481.126, 2155.260, 200.000)
- AddZone("Esplanade North", -1996.660, 1358.900, -4.5, -1524.240, 1592.510, 200.000)
- AddZone("Financial", -1871.720, 744.170, -6.1, -1701.300, 1176.420, 300.000)
- AddZone("Garcia", -2411.220, -222.589, -1.14, -2173.040, 265.243, 200.000)
- AddZone("Montgomery", 1119.510, 119.526, -3.0, 1451.400, 493.323, 200.000)
- AddZone("Creek", 2749.900, 1937.250, -89.084, 2921.620, 2669.790, 110.916)
- AddZone("Los Santos International", 1249.620, -2394.330, -89.084, 1852.000, -2179.250, 110.916)
- AddZone("Santa Maria Beach", 72.648, -2173.290, -89.084, 342.648, -1684.650, 110.916)
- AddZone("Mulholland Intersection", 1463.900, -1150.870, -89.084, 1812.620, -768.027, 110.916)
- AddZone("Angel Pine", -2324.940, -2584.290, -6.1, -1964.220, -2212.110, 200.000)
- AddZone("Verdant Meadows", 37.032, 2337.180, -3.0, 435.988, 2677.900, 200.000)
- AddZone("Octane Springs", 338.658, 1228.510, 0.000, 664.308, 1655.050, 200.000)
- AddZone("Come-A-Lot", 2087.390, 943.235, -89.084, 2623.180, 1203.230, 110.916)
- AddZone("Redsands West", 1236.630, 1883.110, -89.084, 1777.390, 2142.860, 110.916)
- AddZone("Santa Maria Beach", 342.648, -2173.290, -89.084, 647.712, -1684.650, 110.916)
- AddZone("Verdant Bluffs", 1249.620, -2179.250, -89.084, 1692.620, -1842.270, 110.916)
- AddZone("Las Venturas Airport", 1236.630, 1203.280, -89.084, 1457.370, 1883.110, 110.916)
- AddZone("Flint Range", -594.191, -1648.550, 0.000, -187.700, -1276.600, 200.000)
- AddZone("Verdant Bluffs", 930.221, -2488.420, -89.084, 1249.620, -2006.780, 110.916)
- AddZone("Palomino Creek", 2160.220, -149.004, 0.000, 2576.920, 228.322, 200.000)
- AddZone("Ocean Docks", 2373.770, -2697.090, -89.084, 2809.220, -2330.460, 110.916)
- AddZone("Easter Bay Airport", -1213.910, -50.096, -4.5, -947.980, 578.396, 200.000)
- AddZone("Whitewood Estates", 883.308, 1726.220, -89.084, 1098.310, 2507.230, 110.916)
- AddZone("Calton Heights", -2274.170, 744.170, -6.1, -1982.320, 1358.900, 200.000)
- AddZone("Easter Basin", -1794.920, 249.904, -9.1, -1242.980, 578.396, 200.000)
- AddZone("Los Santos Inlet", -321.744, -2224.430, -89.084, 44.615, -1724.430, 110.916)
- AddZone("Doherty", -2173.040, -222.589, -1.0, -1794.920, 265.243, 200.000)
- AddZone("Mount Chiliad", -2178.690, -2189.910, -47.917, -2030.120, -1771.660, 576.083)
- AddZone("Fort Carson", -376.233, 826.326, -3.0, 123.717, 1220.440, 200.000)
- AddZone("Foster Valley", -2178.690, -1115.580, 0.000, -1794.920, -599.884, 200.000)
- AddZone("Ocean Flats", -2994.490, -222.589, -1.0, -2593.440, 277.411, 200.000)
- AddZone("Fern Ridge", 508.189, -139.259, 0.000, 1306.660, 119.526, 200.000)
- AddZone("Bayside", -2741.070, 2175.150, 0.000, -2353.170, 2722.790, 200.000)
- AddZone("Las Venturas Airport", 1457.370, 1203.280, -89.084, 1777.390, 1883.110, 110.916)
- AddZone("Blueberry Acres", -319.676, -220.137, 0.000, 104.534, 293.324, 200.000)
- AddZone("Palisades", -2994.490, 458.411, -6.1, -2741.070, 1339.610, 200.000)
- AddZone("North Rock", 2285.370, -768.027, 0.000, 2770.590, -269.740, 200.000)
- AddZone("Hunter Quarry", 337.244, 710.840, -115.239, 860.554, 1031.710, 203.761)
- AddZone("Los Santos International", 1382.730, -2730.880, -89.084, 2201.820, -2394.330, 110.916)
- AddZone("Missionary Hill", -2994.490, -811.276, 0.000, -2178.690, -430.276, 200.000)
- AddZone("San Fierro Bay", -2616.400, 1659.680, -3.0, -1996.660, 2175.150, 200.000)
- AddZone("Restricted Area", -91.586, 1655.050, -50.000, 421.234, 2123.010, 250.000)
- AddZone("Mount Chiliad", -2997.470, -1115.580, -47.917, -2178.690, -971.913, 576.083)
- AddZone("Mount Chiliad", -2178.690, -1771.660, -47.917, -1936.120, -1250.970, 576.083)
- AddZone("Easter Bay Airport", -1794.920, -730.118, -3.0, -1213.910, -50.096, 200.000)
- AddZone("The Panopticon", -947.980, -304.320, -1.1, -319.676, 327.071, 200.000)
- AddZone("Shady Creeks", -1820.640, -2643.680, -8.0, -1226.780, -1771.660, 200.000)
- AddZone("Back o Beyond", -1166.970, -2641.190, 0.000, -321.744, -1856.030, 200.000)
- AddZone("Mount Chiliad", -2994.490, -2189.910, -47.917, -2178.690, -1115.580, 576.083)
- AddZone("Tierra Robada", -1213.910, 596.349, -242.990, -480.539, 1659.680, 900.000)
- AddZone("Flint County", -1213.910, -2892.970, -242.990, 44.615, -768.027, 900.000)
- AddZone("Whetstone", -2997.470, -2892.970, -242.990, -1213.910, -1115.580, 900.000)
- AddZone("Bone County", -480.539, 596.349, -242.990, 869.461, 2993.870, 900.000)
- AddZone("Tierra Robada", -2997.470, 1659.680, -242.990, -480.539, 2993.870, 900.000)
- AddZone("San Fierro", -2997.470, -1115.580, -242.990, -1213.910, 1659.680, 900.000)
- AddZone("Las Venturas", 869.461, 596.349, -242.990, 2997.060, 2993.870, 900.000)
- AddZone("Red County", -1213.910, -768.027, -242.990, 2997.060, 596.349, 900.000)
- AddZone("Los Santos", 44.615, -2892.970, -242.990, 2997.060, -768.027, 900.000)
- }
- AddZone(sName, x1, y1, z1, x2, y2, z2) {
- global
- zone%nZone%_name := sName
- zone%nZone%_x1 := x1
- zone%nZone%_y1 := y1
- zone%nZone%_z1 := z1
- zone%nZone%_x2 := x2
- zone%nZone%_y2 := y2
- zone%nZone%_z2 := z2
- nZone := nZone + 1
- }
- AddCity(sName, x1, y1, z1, x2, y2, z2) {
- global
- city%nCity%_name := sName
- city%nCity%_x1 := x1
- city%nCity%_y1 := y1
- city%nCity%_z1 := z1
- city%nCity%_x2 := x2
- city%nCity%_y2 := y2
- city%nCity%_z2 := z2
- nCity := nCity + 1
- }
- checkHandles() {
- if(bCheckSizeOnce)
- {
- bCheckSizeOnce:=false
- if (A_PtrSize==8)
- {
- MsgBox % "Script is 64-bit, this won't work.`nCompile with 32-bit!"
- Exitapp
- }
- }
- if(iRefreshHandles+500>A_TickCount)
- return true
- iRefreshHandles:=A_TickCount
- if(!refreshGTA() || !refreshSAMP() || !refreshMemory()) {
- return false
- } else {
- return true
- }
- return true
- }
- refreshGTA() {
- newPID := getPID("GTA:SA:MP")
- if(!newPID) {
- if(hGTA) {
- virtualFreeEx(hGTA, pMemory, 0, 0x8000)
- closeProcess(hGTA)
- hGTA := 0x0
- }
- dwGTAPID := 0
- hGTA := 0x0
- dwSAMP := 0x0
- pMemory := 0x0
- return false
- }
- if(!hGTA || (dwGTAPID != newPID)) {
- hGTA := openProcess(newPID)
- if(ErrorLevel) {
- dwGTAPID := 0
- hGTA := 0x0
- dwSAMP := 0x0
- pMemory := 0x0
- return false
- }
- dwGTAPID := newPID
- dwSAMP := 0x0
- pMemory := 0x0
- return true
- }
- return true
- }
- refreshSAMP() {
- if(dwSAMP)
- return true
- dwSAMP := getModuleBaseAddress("samp.dll", hGTA)
- if(!dwSAMP)
- return false
- return true
- }
- refreshMemory() {
- if(!pMemory) {
- pMemory := virtualAllocEx(hGTA, 6144, 0x1000 | 0x2000, 0x40)
- if(ErrorLevel) {
- pMemory := 0x0
- return false
- }
- pParam1 := pMemory
- pParam2 := pMemory + 1024
- pParam3 := pMemory + 2048
- pParam4 := pMemory + 3072
- pParam5 := pMemory + 4096
- pInjectFunc := pMemory + 5120
- }
- return true
- }
- getPID(szWindow) {
- local dwPID := 0
- WinGet, dwPID, PID, %szWindow%
- return dwPID
- }
- openProcess(dwPID, dwRights = 0x1F0FFF) {
- hProcess := DllCall("OpenProcess"
- , "UInt", dwRights
- , "int", 0
- , "UInt", dwPID
- , "Uint")
- if(hProcess == 0) {
- ErrorLevel := ERROR_OPEN_PROCESS
- return 0
- }
- ErrorLevel := ERROR_OK
- return hProcess
- }
- closeProcess(hProcess) {
- if(hProcess == 0) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- dwRet := DllCall( "CloseHandle"
- , "Uint", hProcess
- , "UInt")
- ErrorLevel := ERROR_OK
- }
- getModuleBaseAddress(sModule, hProcess) {
- if(!sModule) {
- ErrorLevel := ERROR_MODULE_NOT_FOUND
- return 0
- }
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- dwSize = 1024*4
- VarSetCapacity(hMods, dwSize)
- VarSetCapacity(cbNeeded, 4)
- dwRet := DllCall( "Psapi.dll\EnumProcessModules"
- , "UInt", hProcess
- , "UInt", &hMods
- , "UInt", dwSize
- , "UInt*", cbNeeded
- , "UInt")
- if(dwRet == 0) {
- ErrorLevel := ERROR_ENUM_PROCESS_MODULES
- return 0
- }
- dwMods := cbNeeded / 4
- i := 0
- VarSetCapacity(hModule, 4)
- VarSetCapacity(sCurModule, 260)
- while(i < dwMods) {
- hModule := NumGet(hMods, i*4)
- DllCall("Psapi.dll\GetModuleFileNameEx"
- , "UInt", hProcess
- , "UInt", hModule
- , "Str", sCurModule
- , "UInt", 260)
- SplitPath, sCurModule, sFilename
- if(sModule == sFilename) {
- ErrorLevel := ERROR_OK
- return hModule
- }
- i := i + 1
- }
- ErrorLevel := ERROR_MODULE_NOT_FOUND
- return 0
- }
- readString(hProcess, dwAddress, dwLen) {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- VarSetCapacity(sRead, dwLen)
- dwRet := DllCall( "ReadProcessMemory"
- , "UInt", hProcess
- , "UInt", dwAddress
- , "Str", sRead
- , "UInt", dwLen
- , "UInt*", 0
- , "UInt")
- if(dwRet == 0) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- if A_IsUnicode
- return __ansiToUnicode(sRead)
- return sRead
- }
- readFloat(hProcess, dwAddress) {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- VarSetCapacity(dwRead, 4)
- dwRet := DllCall( "ReadProcessMemory"
- , "UInt", hProcess
- , "UInt", dwAddress
- , "Str", dwRead
- , "UInt", 4
- , "UInt*", 0
- , "UInt")
- if(dwRet == 0) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- return NumGet(dwRead, 0, "Float")
- }
- readDWORD(hProcess, dwAddress) {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- VarSetCapacity(dwRead, 4)
- dwRet := DllCall( "ReadProcessMemory"
- , "UInt", hProcess
- , "UInt", dwAddress
- , "Str", dwRead
- , "UInt", 4
- , "UInt*", 0)
- if(dwRet == 0) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- return NumGet(dwRead, 0, "UInt")
- }
- readMem(hProcess, dwAddress, dwLen=4, type="UInt") {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- VarSetCapacity(dwRead, dwLen)
- dwRet := DllCall( "ReadProcessMemory"
- , "UInt", hProcess
- , "UInt", dwAddress
- , "Str", dwRead
- , "UInt", dwLen
- , "UInt*", 0)
- if(dwRet == 0) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- return NumGet(dwRead, 0, type)
- }
- writeString(hProcess, dwAddress, wString) {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return false
- }
- sString := wString
- if A_IsUnicode
- sString := __unicodeToAnsi(wString)
- dwRet := DllCall( "WriteProcessMemory"
- , "UInt", hProcess
- , "UInt", dwAddress
- , "Str", sString
- , "UInt", StrLen(wString) + 1
- , "UInt", 0
- , "UInt")
- if(dwRet == 0) {
- ErrorLEvel := ERROR_WRITE_MEMORY
- return false
- }
- ErrorLevel := ERROR_OK
- return true
- }
- writeRaw(hProcess, dwAddress, pBuffer, dwLen) {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return false
- }
- dwRet := DllCall( "WriteProcessMemory"
- , "UInt", hProcess
- , "UInt", dwAddress
- , "UInt", pBuffer
- , "UInt", dwLen
- , "UInt", 0
- , "UInt")
- if(dwRet == 0) {
- ErrorLEvel := ERROR_WRITE_MEMORY
- return false
- }
- ErrorLevel := ERROR_OK
- return true
- }
- callWithParams(hProcess, dwFunc, aParams, bCleanupStack = true) {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return false
- }
- validParams := 0
- i := aParams.MaxIndex()
- dwLen := i * 5 + 5 + 1
- if(bCleanupStack)
- dwLen += 3
- VarSetCapacity(injectData, i * 5 + 5 + 3 + 1, 0)
- i_ := 1
- while(i > 0) {
- if(aParams[i][1] != "") {
- dwMemAddress := 0x0
- if(aParams[i][1] == "p") {
- dwMemAddress := aParams[i][2]
- } else if(aParams[i][1] == "s") {
- if(i_>3)
- return false
- dwMemAddress := pParam%i_%
- writeString(hProcess, dwMemAddress, aParams[i][2])
- if(ErrorLevel)
- return false
- i_ += 1
- } else if(aParams[i][1] == "i") {
- dwMemAddress := aParams[i][2]
- } else {
- return false
- }
- NumPut(0x68, injectData, validParams * 5, "UChar")
- NumPut(dwMemAddress, injectData, validParams * 5 + 1, "UInt")
- validParams += 1
- }
- i -= 1
- }
- offset := dwFunc - ( pInjectFunc + validParams * 5 + 5 )
- NumPut(0xE8, injectData, validParams * 5, "UChar")
- NumPut(offset, injectData, validParams * 5 + 1, "Int")
- if(bCleanupStack) {
- NumPut(0xC483, injectData, validParams * 5 + 5, "UShort")
- NumPut(validParams*4, injectData, validParams * 5 + 7, "UChar")
- NumPut(0xC3, injectData, validParams * 5 + 8, "UChar")
- } else {
- NumPut(0xC3, injectData, validParams * 5 + 5, "UChar")
- }
- writeRaw(hGTA, pInjectFunc, &injectData, dwLen)
- if(ErrorLevel)
- return false
- hThread := createRemoteThread(hGTA, 0, 0, pInjectFunc, 0, 0, 0)
- if(ErrorLevel)
- return false
- waitForSingleObject(hThread, 0xFFFFFFFF)
- closeProcess(hThread)
- return true
- }
- virtualAllocEx(hProcess, dwSize, flAllocationType, flProtect) {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- dwRet := DllCall( "VirtualAllocEx"
- , "UInt", hProcess
- , "UInt", 0
- , "UInt", dwSize
- , "UInt", flAllocationType
- , "UInt", flProtect
- , "UInt")
- if(dwRet == 0) {
- ErrorLEvel := ERROR_ALLOC_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- return dwRet
- }
- virtualFreeEx(hProcess, lpAddress, dwSize, dwFreeType) {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- dwRet := DllCall( "VirtualFreeEx"
- , "UInt", hProcess
- , "UInt", lpAddress
- , "UInt", dwSize
- , "UInt", dwFreeType
- , "UInt")
- if(dwRet == 0) {
- ErrorLEvel := ERROR_FREE_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- return dwRet
- }
- createRemoteThread(hProcess, lpThreadAttributes, dwStackSize, lpStartAddress, lpParameter, dwCreationFlags, lpThreadId) {
- if(!hProcess) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- dwRet := DllCall( "CreateRemoteThread"
- , "UInt", hProcess
- , "UInt", lpThreadAttributes
- , "UInt", dwStackSize
- , "UInt", lpStartAddress
- , "UInt", lpParameter
- , "UInt", dwCreationFlags
- , "UInt", lpThreadId
- , "UInt")
- if(dwRet == 0) {
- ErrorLEvel := ERROR_ALLOC_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- return dwRet
- }
- waitForSingleObject(hThread, dwMilliseconds) {
- if(!hThread) {
- ErrorLevel := ERROR_INVALID_HANDLE
- return 0
- }
- dwRet := DllCall( "WaitForSingleObject"
- , "UInt", hThread
- , "UInt", dwMilliseconds
- , "UInt")
- if(dwRet == 0xFFFFFFFF) {
- ErrorLEvel := ERROR_WAIT_FOR_OBJECT
- return 0
- }
- ErrorLevel := ERROR_OK
- return dwRet
- }
- __ansiToUnicode(sString, nLen = 0) {
- If !nLen
- {
- nLen := DllCall("MultiByteToWideChar"
- , "Uint", 0
- , "Uint", 0
- , "Uint", &sString
- , "int", -1
- , "Uint", 0
- , "int", 0)
- }
- VarSetCapacity(wString, nLen * 2)
- DllCall("MultiByteToWideChar"
- , "Uint", 0
- , "Uint", 0
- , "Uint", &sString
- , "int", -1
- , "Uint", &wString
- , "int", nLen)
- return wString
- }
- __unicodeToAnsi(wString, nLen = 0) {
- pString := wString + 1 > 65536 ? wString : &wString
- If !nLen
- {
- nLen := DllCall("WideCharToMultiByte"
- , "Uint", 0
- , "Uint", 0
- , "Uint", pString
- , "int", -1
- , "Uint", 0
- , "int", 0
- , "Uint", 0
- , "Uint", 0)
- }
- VarSetCapacity(sString, nLen)
- DllCall("WideCharToMultiByte"
- , "Uint", 0
- , "Uint", 0
- , "Uint", pString
- , "int", -1
- , "str", sString
- , "int", nLen
- , "Uint", 0
- , "Uint", 0)
- return sString
- }
- #NoEnv
- PATH_OVERLAY := RelToAbs(A_ScriptDir, "dx9_overlay.dll")
- hModule := DllCall("LoadLibrary", Str, PATH_OVERLAY)
- if(hModule == -1 || hModule == 0)
- {
- MsgBox, 48, Error, The dll-file couldn't be found!
- ExitApp
- }
- Init_func := DllCall("GetProcAddress", UInt, hModule, Str, "Init")
- SetParam_func := DllCall("GetProcAddress", UInt, hModule, Str, "SetParam")
- TextCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextCreate")
- TextDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextDestroy")
- TextSetShadow_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetShadow")
- TextSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetShown")
- TextSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetColor")
- TextSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetPos")
- TextSetString_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextSetString")
- TextUpdate_func := DllCall("GetProcAddress", UInt, hModule, Str, "TextUpdate")
- BoxCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxCreate")
- BoxDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxDestroy")
- BoxSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetShown")
- BoxSetBorder_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetBorder")
- BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetBorderColor")
- BoxSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetColor")
- BoxSetHeight_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetHeight")
- BoxSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetPos")
- BoxSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "BoxSetWidth")
- LineCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineCreate")
- LineDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineDestroy")
- LineSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetShown")
- LineSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetColor")
- LineSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetWidth")
- LineSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "LineSetPos")
- ImageCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageCreate")
- ImageDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageDestroy")
- ImageSetShown_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetShown")
- ImageSetAlign_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetAlign")
- ImageSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetPos")
- ImageSetRotation_func := DllCall("GetProcAddress", UInt, hModule, Str, "ImageSetRotation")
- DestroyAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "DestroyAllVisual")
- ShowAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "ShowAllVisual")
- HideAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "HideAllVisual")
- GetFrameRate_func := DllCall("GetProcAddress", UInt, hModule, Str, "GetFrameRate")
- GetScreenSpecs_func := DllCall("GetProcAddress", UInt, hModule, Str, "GetScreenSpecs")
- Init()
- {
- global Init_func
- res := DllCall(Init_func)
- return res
- }
- SetParam(str_Name, str_Value)
- {
- global SetParam_func
- res := DllCall(SetParam_func, Str, str_Name, Str, str_Value)
- return res
- }
- TextCreate(Font, fontsize, bold, italic, x, y, color, text, shadow, show)
- {
- global TextCreate_func
- res := DllCall(TextCreate_func,Str,Font,Int,fontsize,UChar,bold,UChar,italic,Int,x,Int,y,UInt,color,Str,text,UChar,shadow,UChar,show)
- return res
- }
- TextDestroy(id)
- {
- global TextDestroy_func
- res := DllCall(TextDestroy_func,Int,id)
- return res
- }
- TextSetShadow(id, shadow)
- {
- global TextSetShadow_func
- res := DllCall(TextSetShadow_func,Int,id,UChar,shadow)
- return res
- }
- TextSetShown(id, show)
- {
- global TextSetShown_func
- res := DllCall(TextSetShown_func,Int,id,UChar,show)
- return res
- }
- TextSetColor(id,color)
- {
- global TextSetColor_func
- res := DllCall(TextSetColor_func,Int,id,UInt,color)
- return res
- }
- TextSetPos(id,x,y)
- {
- global TextSetPos_func
- res := DllCall(TextSetPos_func,Int,id,Int,x,Int,y)
- return res
- }
- TextSetString(id,Text)
- {
- global TextSetString_func
- res := DllCall(TextSetString_func,Int,id,Str,Text)
- return res
- }
- TextUpdate(id,Font,Fontsize,bold,italic)
- {
- global TextUpdate_func
- res := DllCall(TextUpdate_func,Int,id,Str,Font,int,Fontsize,UChar,bold,UChar,italic)
- return res
- }
- BoxCreate(x,y,width,height,Color,show)
- {
- global BoxCreate_func
- res := DllCall(BoxCreate_func,Int,x,Int,y,Int,width,Int,height,UInt,Color,UChar,show)
- return res
- }
- BoxDestroy(id)
- {
- global BoxDestroy_func
- res := DllCall(BoxDestroy_func,Int,id)
- return res
- }
- BoxSetShown(id,Show)
- {
- global BoxSetShown_func
- res := DllCall(BoxSetShown_func,Int,id,UChar,Show)
- return res
- }
- BoxSetBorder(id,height,Show)
- {
- global BoxSetBorder_func
- res := DllCall(BoxSetBorder_func,Int,id,Int,height,Int,Show)
- return res
- }
- BoxSetBorderColor(id,Color)
- {
- global BoxSetBorderColor_func
- res := DllCall(BoxSetBorderColor_func,Int,id,UInt,Color)
- return res
- }
- BoxSetColor(id,Color)
- {
- global BoxSetColor_func
- res := DllCall(BoxSetColor_func,Int,id,UInt,Color)
- return res
- }
- BoxSetHeight(id,height)
- {
- global BoxSetHeight_func
- res := DllCall(BoxSetHeight_func,Int,id,Int,height)
- return res
- }
- BoxSetPos(id,x,y)
- {
- global BoxSetPos_func
- res := DllCall(BoxSetPos_func,Int,id,Int,x,Int,y)
- return res
- }
- BoxSetWidth(id,width)
- {
- global BoxSetWidth_func
- res := DllCall(BoxSetWidth_func,Int,id,Int,width)
- return res
- }
- LineCreate(x1,y1,x2,y2,width,color,show)
- {
- global LineCreate_func
- res := DllCall(LineCreate_func,Int,x1,Int,y1,Int,x2,Int,y2,Int,Width,UInt,color,UChar,show)
- return res
- }
- LineDestroy(id)
- {
- global LineDestroy_func
- res := DllCall(LineDestroy_func,Int,id)
- return res
- }
- LineSetShown(id,show)
- {
- global LineSetShown_func
- res := DllCall(LineSetShown_func,Int,id,UChar,show)
- return res
- }
- LineSetColor(id,color)
- {
- global LineSetColor_func
- res := DllCall(LineSetColor_func,Int,id,UInt,color)
- return res
- }
- LineSetWidth(id, width)
- {
- global LineSetWidth_func
- res := DllCall(LineSetWidth_func,Int,id,Int,width)
- return res
- }
- LineSetPos(id,x1,y1,x2,y2)
- {
- global LineSetPos_func
- res := DllCall(LineSetPos_func,Int,id,Int,x1,Int,y1,Int,x2,Int,y2)
- return res
- }
- ImageCreate(path, x, y, rotation, align, show)
- {
- global ImageCreate_func
- res := DllCall(ImageCreate_func, Str, path, Int, x, Int, y, Int, rotation, Int, align, UChar, show)
- return res
- }
- ImageDestroy(id)
- {
- global ImageDestroy_func
- res := DllCall(ImageDestroy_func,Int,id)
- return res
- }
- ImageSetShown(id,show)
- {
- global ImageSetShown_func
- res := DllCall(ImageSetShown_func,Int,id,UChar,show)
- return res
- }
- ImageSetAlign(id,align)
- {
- global ImageSetAlign_func
- res := DllCall(ImageSetAlign_func,Int,id,Int,align)
- return res
- }
- ImageSetPos(id, x, y)
- {
- global ImageSetPos_func
- res := DllCall(ImageSetPos_func,Int,id,Int,x, Int, y)
- return res
- }
- ImageSetRotation(id, rotation)
- {
- global ImageSetRotation_func
- res := DllCall(ImageSetRotation_func,Int,id,Int, rotation)
- return res
- }
- DestroyAllVisual()
- {
- global DestroyAllVisual_func
- res := DllCall(DestroyAllVisual_func)
- return res
- }
- ShowAllVisual()
- {
- global ShowAllVisual_func
- res := DllCall(ShowAllVisual_func)
- return res
- }
- HideAllVisual()
- {
- global HideAllVisual_func
- res := DllCall(HideAllVisual_func )
- return res
- }
- GetScreenSpecs(ByRef width, ByRef height)
- {
- global GetScreenSpecs_func
- res := DllCall(GetScreenSpecs_func, IntP, width, IntP, height)
- return res
- }
- GetFrameRate()
- {
- global GetFrameRate_func
- res := DllCall(GetFrameRate_func )
- return res
- }
- RelToAbs(root, dir, s = "\") {
- pr := SubStr(root, 1, len := InStr(root, s, "", InStr(root, s . s) + 2) - 1)
- , root := SubStr(root, len + 1), sk := 0
- If InStr(root, s, "", 0) = StrLen(root)
- StringTrimRight, root, root, 1
- If InStr(dir, s, "", 0) = StrLen(dir)
- StringTrimRight, dir, dir, 1
- Loop, Parse, dir, %s%
- {
- If A_LoopField = ..
- StringLeft, root, root, InStr(root, s, "", 0) - 1
- Else If A_LoopField =
- root =
- Else If A_LoopField != .
- Continue
- StringReplace, dir, dir, %A_LoopField%%s%
- }
- Return, pr . root . s . dir
- }
- isPlayerOnline(Name)
- {
- return GetPlayerIDByname(Name) != -1
- }
- getSkinID() {
- if(!checkHandles())
- return -1
- dwAddress := readDWORD(hGTA, 0xB6F3B8)
- if(ErrorLevel || dwAddress==0) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- id := readMem(hGTA, dwAddress + 0x22, 2, "UShort")
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return id
- }
- UrlDownloadToVar(URL, Proxy="", ProxyBypass="") {
- AutoTrim, Off
- hModule := DllCall("LoadLibrary", "str", "wininet.dll")
- If (Proxy != "")
- AccessType=3
- Else
- AccessType=1
- io_hInternet := DllCall("wininet\InternetOpenA"
- , "str", ""
- , "uint", AccessType
- , "str", Proxy
- , "str", ProxyBypass
- , "uint", 0)
- iou := DllCall("wininet\InternetOpenUrlA"
- , "uint", io_hInternet
- , "str", url
- , "str", ""
- , "uint", 0
- , "uint", 0x80000000
- , "uint", 0)
- If (ErrorLevel != 0 or iou = 0) {
- DllCall("FreeLibrary", "uint", hModule)
- return 0
- }
- VarSetCapacity(buffer, 512, 0)
- VarSetCapacity(NumberOfBytesRead, 4, 0)
- Loop
- {
- irf := DllCall("wininet\InternetReadFile", "uint", iou, "uint", &buffer, "uint", 512, "uint", &NumberOfBytesRead)
- NOBR = 0
- Loop 4
- NOBR += *(&NumberOfBytesRead + A_Index-1) << 8*(A_Index-1)
- IfEqual, NOBR, 0, break
- DllCall("lstrcpy", "str", buffer, "uint", &buffer)
- res = %res%%buffer%
- }
- DllCall("wininet\InternetCloseHandle", "uint", iou)
- DllCall("wininet\InternetCloseHandle", "uint", io_hInternet)
- DllCall("FreeLibrary", "uint", hModule)
- AutoTrim, on
- return, res
- }
- getPlayerNameByName2(wName) {
- if(StrLen(wName) < 1 || StrLen(wName) > 24)
- return -1
- if(iRefreshScoreboard+1000 > A_TickCount)
- {
- Loop % oScoreboardData.MaxIndex()
- {
- if(InStr(oScoreboardData[A_Index].NAME,wName)==1)
- return oScoreboardData[A_Index].NAME
- }
- return -1
- }
- if(!updateOScoreboardData())
- return -1
- Loop % oScoreboardData.MaxIndex()
- {
- if(InStr(oScoreboardData[A_Index].NAME,wName)==1)
- return oScoreboardData[A_Index].NAME
- }
- return -1
- }
- GetPlayerPos(ByRef fX,ByRef fY,ByRef fZ) {
- if(!checkHandles())
- return 0
- fX := readFloat(hGTA, ADDR_POSITION_X)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- fY := readFloat(hGTA, ADDR_POSITION_Y)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- fZ := readFloat(hGTA, ADDR_POSITION_Z)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return 0
- }
- ErrorLevel := ERROR_OK
- }
- getPlayerName() {
- if(!checkHandles())
- return ""
- dwAddress := dwSAMP + ADDR_SAMP_USERNAME
- sUsername := readString(hGTA, dwAddress, 25)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return ""
- }
- ErrorLevel := ERROR_OK
- return sUsername
- }
- GetChatLine(Line, ByRef Output, timestamp=0, color=0)
- {
- chatindex := 0
- FileRead, file, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- loop, Parse, file, `n, `r
- {
- if(A_LoopField)
- chatindex := A_Index
- }
- loop, Parse, file, `n, `r
- {
- if(A_Index = chatindex - line)
- {
- output := A_LoopField
- break
- }
- }
- file := ""
- if(!timestamp)
- output := RegExReplace(output, "U)^\[\d{2}:\d{2}:\d{2}\]")
- if(!color)
- output := RegExReplace(output, "Ui)\{[a-f0-9]{6}\}")
- return
- }
- IsPlayerInAnyInterior()
- {
- address := readDWORD(hGTA,0xB6F5F0)
- address := readMem(hGTA,address + 0x2F, 4, "byte")
- if(address == 0)
- {
- return false
- }
- else
- {
- return true
- }
- }
- isVehicleLocked() {
- if(!checkHandles())
- return -1
- dwAddr := readDWORD(hGTA, ADDR_VEHICLE_PTR)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- if(!dwAddr)
- return -1
- dwVal := readDWORD(hGTA, dwAddr + ADDR_VEHICLE_DOORSTATE)
- if(ErrorLevel) {
- ErrorLevel := ERROR_READ_MEMORY
- return -1
- }
- ErrorLevel := ERROR_OK
- return (dwVal==2)
- }
- IsPlayerInRangeOfPoint(_posX, _posY, _posZ, _posRadius)
- {
- GetPlayerPos(posX, posY, posZ)
- X := posX -_posX
- Y := posY -_posY
- Z := posZ -_posZ
- if(((X < _posRadius) && (X > -_posRadius)) && ((Y < _posRadius) && (Y > -_posRadius)) && ((Z < _posRadius) && (Z > -_posRadius)))
- return TRUE
- return FALSE
- }
- IsPlayerInRangeOfPoint2D(_posX, _posY, _posRadius)
- {
- GetPlayerPos(posX, posY, posZ)
- X := posX - _posX
- Y := posY - _posY
- if(((X < _posRadius) && (X > -_posRadius)) && ((Y < _posRadius) && (Y > -_posRadius)))
- return TRUE
- return FALSE
- }
- RGN_Location()
- {
- If(IsPlayerinanyVehicle() == 0 or IsPlayerinanyVehicle() == 1)
- If(IsPlayerinRangeofPoint(865.2680,-1848.3965,8.8229, 50))
- Location .= "{FFFFFF}{5B89CB} S-Box`n"
- If(IsPlayerinRangeofPoint(618.9803,891.4091,-37.1285, 50))
- Location .= "{FFFFFF}{5B89CB} LV-Box`n"
- If(IsPlayerinRangeofPoint(-2542.8196,1214.7948,37.4219, 50))
- Location .= "{FFFFFF}{5B89CB} SF-Box`n"
- If(IsPlayerinRangeofPoint(-91.8221,-1575.8837,2.6172, 50))
- Location .= "{FFFFFF}{5B89CB} C-Box`n"
- If(IsPlayerinRangeofPoint(2803.7937,-1173.2924,25.5283, 50))
- Location .= "{FFFFFF}{5B89CB} V-Box`n"
- If(IsPlayerinRangeofPoint(1361.5474,-1277.2314,13.2149, 50))
- Location .= "{FFFFFF}{5B89CB} H-Ammu`n"
- If(IsPlayerinRangeofPoint(1785.4504,-1168.1224,23.5266, 50))
- Location .= "{FFFFFF}{5B89CB} B-Ammu`n"
- If(IsPlayerinRangeofPoint(2398.4109,-1977.3693,13.2938, 50))
- Location .= "{FFFFFF}{5B89CB} A-Ammu`n"
- If(IsPlayerinRangeofPoint(1630.5735,-1713.2440,13.2467, 50))
- Location .= "{FFFFFF}{5B89CB} NewsBase`n"
- If(IsPlayerinRangeofPoint(1482.8983,-1739.8231,13.3733, 50))
- Location .= "{FFFFFF}{5B89CB} LSPD`n"
- If(IsPlayerinRangeofPoint(927.0983,-1218.6907,16.7811, 50))
- Location .= "{FFFFFF}{5B89CB} Ordnungsamt LS`n"
- If(IsPlayerinRangeofPoint(1293.4557,-1653.1652,13.2560, 50))
- Location .= "{FFFFFF}{5B89CB} BBZ-Base`n"
- If(IsPlayerinRangeofPoint(2027.1482,59.6459,89.6968, 50))
- Location .= "{FFFFFF}{5B89CB} BM-Berg | Parkplatz`n"
- If(IsPlayerinRangeofPoint(1150.9980,-2035.9952,69.0078, 50))
- Location .= "{FFFFFF}{5B89CB} BM-Berg | Vorhof`n"
- If(IsPlayerinRangeofPoint(-1323.4214,15.1953,77.6709, 50))
- Location .= "{FFFFFF}{5B89CB} Ballas Base`n"
- If(IsPlayerinRangeofPoint(1085.4507,-1779.5840,13.4077, 50))
- Location .= "{FFFFFF}{5B89CB} Zivi LS`n"
- If(IsPlayerinRangeofPoint(1189.8468,-1325.5841,13.3583, 50))
- Location .= "{FFFFFF}{5B89CB} Krankenhaus LS`n"
- If(IsPlayerinRangeofPoint(1473.2754,-1134.6586,23.7460, 50))
- Location .= "{FFFFFF}{5B89CB} LS - Zip`n"
- If(IsPlayerinRangeofPoint(1901.2186,-1400.2524,10.0905, 50))
- Location .= "{FFFFFF}{5B89CB} LS - Skatepark`n"
- If(IsPlayerinRangeofPoint(1828.9387,-1677.3389,13.2160, 50))
- Location .= "{FFFFFF}{5B89CB} LS - Alhambra`n"
- If(IsPlayerinRangeofPoint(1317.3267,-910.3878,37.7085, 50))
- Location .= "{FFFFFF}{5B89CB} BSN - 24/7 Markt`n"
- If(IsPlayerinRangeofPoint(1195.8245,-934.5256,42.5729, 50))
- Location .= "{FFFFFF}{5B89CB} Burger Shot Nord`n"
- If(IsPlayerinRangeofPoint(1413.7136,-1029.5038,23.5712, 50))
- Location .= "{FFFFFF}{5B89CB} Bank LS`n"
- If(IsPlayerinRangeofPoint(1482.8983,-1739.8231,13.3733, 50))
- Location .= "{FFFFFF}{5B89CB} Stadthalle LS`n"
- If(IsPlayerinRangeofPoint(1046.5426,-1337.9905,13.3838, 50))
- Location .= "{FFFFFF}{5B89CB} Donutladen LS`n"
- If(IsPlayerinRangeofPoint(927.1336,-1088.1931,24.1257, 50))
- Location .= "{FFFFFF}{5B89CB} Friedhof`n"
- If(IsPlayerinRangeofPoint(1633.6104,-1166.6841,23.8062, 50))
- Location .= "{FFFFFF}{5B89CB} Post LS`n"
- If(IsPlayerinRangeofPoint(2126.1274,-1132.8147,25.3377, 50))
- Location .= "{FFFFFF}{5B89CB} Coutt and Schutz`n"
- If(IsPlayerinRangeofPoint(2076.9094,-1833.2446,13.2982, 50))
- Location .= "{FFFFFF}{5B89CB} Idle PnS`n"
- If(IsPlayerinRangeofPoint(1019.7659,-1033.2211,31.4444, 50))
- Location .= "{FFFFFF}{5B89CB} BSN - Pay n Spray`n"
- If(IsPlayerinRangeofPoint(569.9393,-1246.9713,17.2601, 50))
- Location .= "{FFFFFF}{5B89CB} RentCar LS/Arbeitsamt`n"
- If(IsPlayerinRangeofPoint(337.2855,-1466.0365,34.6306, 50))
- Location .= "{FFFFFF}{5B89CB} LS Tresor`n"
- If(IsPlayerinRangeofPoint(1796.8107,-1588.9391,13.3385, 50))
- Location .= "{FFFFFF}{5B89CB} LS Prison | Einlieferung`n"
- If(IsPlayerinRangeofPoint(1973.8052,-2222.5020,13.3723, 50))
- Location .= "{FFFFFF}{5B89CB} LS Airport | Pilotenjob`n"
- If(IsPlayerinRangeofPoint(1786.3898,-1891.9207,13.2215, 50))
- Location .= "{FFFFFF}{5B89CB} Taxistand (El Corona)`n"
- If(IsPlayerinRangeofPoint(773.9288,-1344.6210,13.3606, 50))
- Location .= "{FFFFFF}{5B89CB} LS Autohaus {FFFFFF}({5B89CB}Billig{FFFFFF})`n"
- If(IsPlayerinRangeofPoint(484.9954,-1729.9358,10.9251, 50))
- Location .= "{FFFFFF}{5B89CB} Beach PNS`n"
- If(IsPlayerinRangeofPoint(373.0871,-2040.7933,7.5892, 50))
- Location .= "{FFFFFF}{5B89CB} LS Pier {FFFFFF}({5B89CB}Angelsteg{FFFFFF})`n"
- If(IsPlayerinRangeofPoint(814.4036,-1625.8116,13.3697, 50))
- Location .= "{FFFFFF}{5B89CB} LS Burger Shot Sd`n"
- If(IsPlayerinRangeofPoint(-1116.6902,-1623.7961,76.3739, 150))
- Location .= "{FFFFFF}{5B89CB} Matspoint SF`n"
- If(IsPlayerinRangeofPoint(2458.6230,1913.4160,10.4345, 150))
- Location .= "{FFFFFF}{5B89CB} Matspoint LV`n"
- If(IsPlayerinRangeofPoint(-1949.2745,263.5099,35.2161, 150))
- Location .= "{FFFFFF}{5B89CB} Rentcar SF/Zivi SF `n"
- If(IsPlayerinRangeofPoint(-2561.1628,310.3709,15.9453, 150))
- Location .= "{FFFFFF}{5B89CB} Gardenshop`n"
- 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))
- Location .= "{FFFFFF}{5B89CB} Tankstelle " myzone "`n"
- If(Location = "")
- Location .= "{FFFFFF} {5B89CB} Unbekannt `n"
- return %Location%
- }
- Organizer(message)
- {
- If(GetUsername() != "Luiz.waLker")
- {
- AddChatMessage("" . CHATMESSAGECOLOR . "{980000}* waLker:{FFFFFF} " message "")
- }
- else
- {
- AddChatMessage("" . CHATMESSAGECOLOR . "{FF0000}* waLker:{FFFFFF} " message "")
- }
- }
- Spotify(message)
- {
- AddChatMessage("" . CHATMESSAGECOLOR . "{FF0000}* Spotify:{FFFFFF} " message "")
- }
- PATH_STATS_API := RelToAbs(A_WorkingDir, "RGN-Stats-API.dll")
- hModule := DllCall("LoadLibrary", Str, PATH_STATS_API)
- if(hModule == -1 || hModule == 0)
- {
- MsgBox, 48, Error,Die RGN-Stats-API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
- ExitApp
- }
- g_whenIsAllowedToSend := 0
- g_szText := 0
- ReadStats_func := DllCall("GetProcAddress", UInt, hModule, Str, "ReadStats")
- ReadStats(byref string)
- {
- global ReadStats_func, g_szText
- allocationSize := 4096
- static once := true
- if(once)
- {
- VarSetCapacity(g_szText, allocationSize, 0)
- once := false
- }
- res := DllCall(ReadStats_func, StrP, g_szText, UInt, allocationSize)
- string := g_szText
- return res
- }
- ReadStats_s(byref string)
- {
- global g_whenIsAllowedToSend, g_szText
- if(g_whenIsAllowedToSend > A_TickCount)
- {
- string := g_szText
- if(strLen(g_szText) == 0)
- return false
- return true
- }
- return ReadStats(string)
- }
- keyForEntry(text, entry)
- {
- RegExMatch(text, "i)" . entry . "\:\[(.*?)\]", match)
- return match1
- }
- getChatlogLineCount()
- {
- local i := 0
- Loop, read , %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- i++
- return i
- }
- AntiSpamHandler()
- {
- global g_whenIsAllowedToSend
- if(wAntiSpam=1)
- {
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- If InStr(A_LoopReadLine,"] Antiflood: Achtung! Unterlasse das")
- {
- If(AntiSpamVar <> ZeitVarSpam)
- {
- if(conquern=1 || tp=1)
- {
- return
- }
- else
- {
- Organizer("Chat wegen Anti-Flood für 1 Sekunde blockiert.")
- BlockChatInput:=1
- g_whenIsAllowedToSend := A_TickCount + 1000
- BlockChatInput:=0
- Organizer("Chat wieder freigegeben.")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- }
- }
- }
- }
- RelToAbs2(root, dir, s = "\") {
- pr := SubStr(root, 1, len := InStr(root, s, "", InStr(root, s . s) + 2) - 1)
- , root := SubStr(root, len + 1), sk := 0
- If InStr(root, s, "", 0) = StrLen(root)
- StringTrimRight, root, root, 1
- If InStr(dir, s, "", 0) = StrLen(dir)
- StringTrimRight, dir, dir, 1
- Loop, Parse, dir, %s%
- {
- If A_LoopField = ..
- StringLeft, root, root, InStr(root, s, "", 0) - 1
- Else If A_LoopField =
- root =
- Else If A_LoopField != .
- Continue
- StringReplace, dir, dir, %A_LoopField%%s%
- }
- Return, pr . root . s . dir
- }
- SetTimerF( Function, Period=0, ParmObject=0, dwTime=0 ) {
- Static tmrs:=Object()
- If IsFunc( Function ) {
- if IsObject(tmrs[Function])
- ret := DllCall( "KillTimer", "UInt",0, "UInt" ,tmrs[Function,"tmr"])
- , DllCall("GlobalFree", "UInt", tmrs[Function,"CBA"])
- , ObjRelease(tmrs[Function,"REF"])
- , tmrs.remove(Function)
- if (Period = 0 || Period ? "off")
- return ret
- Period := (Period && Period!="On") ? Period : 250
- tmrs[Function]:=Object("func",Function,"OneTime",(Period<0),"params",IsObject(ParmObject)?ParmObject:Object())
- tmrs[Function,"REF"] := &tmrs[Function]
- tmrs[Function,"CBA"] := RegisterCallback(A_ThisFunc,"",4,tmrs[Function,"REF"])
- return !!tmrs[Function,"tmr"] := DllCall("SetTimer", "UInt",0, "UInt",0, "UInt",Abs(Period), "UInt",tmrs[Function,"CBA"])
- }
- tmr := Object(A_EventInfo)
- if IsObject(tmr) {
- if (tmr.OneTime)
- DllCall("KillTimer", "UInt",0, "UInt",tmr.tmr)
- , DllCall("GlobalFree", "UInt",tmr.CBA)
- , ObjRelease(tmr.REF)
- , tmr := tmrs.remove(tmr.func)
- ErrorLevel:=dwTime
- tmr.func(tmr.params*)
- }
- }
- OnExit, ExitSub
- global OverlayAktiv:= false
- global VehOverlay:= false
- global VehValue := False
- global oVehValue := False
- global OverlayOn := false
- global Wanteds:= 0
- global drogen := 0
- global Grund:= "Unbekannt"
- global Zeuge:= "Niemand"
- global LastNum:= 0
- global ADSMS:= 0
- global Kills:= 0
- global Deaths:= 0
- global LoggedIn:= False
- global oSMS:= 0
- global MonatTag := A_MM
- global NeuerTag := A_DD
- global Jahr := A_YYYY
- global tKills:= 0
- global tDeaths:= 0
- global tKD := 0
- global GameTextAktiv:= 0
- global Zinzen:= 0
- global DZinzen:= 0
- global WZinzen:= 0
- global MZinzen:= 0
- global GZinzen:= 0
- global Zinssatz:= 0
- global down:= 0
- global Started := 0
- IniRead, Aktiviert, Statistik\statsi.ini, Tageskills, Aktiviert
- IniRead, Tag, Statistik\statsi.ini, Tageskills, Tag
- IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
- IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
- user := getplayername()
- Skin := getSkinID()
- If(Skin != "234" || Skin != "3" || Skin != "119" || Skin != "93" || Skin != "-1" || Skin != "0")
- {
- AddChatMessage("{5B89CB}Whitelist:{FFFFFF} Verifizierung {5B89CB}erfolgreich(Keine Whitelist vorhanden).")
- FormatTime,Wochentag,,dddd
- FormatTime,Monat,,MMMM
- FormatTime,Tag,,d
- FormatTime,Uhrzeit,,HH:mm
- Organizer("Willkommen zurück - {5B89CB}" getplayername() "{FFFFFF}")
- sleep 100
- Organizer("Heute ist " . Wochentag . " der " . Tag . ". " . Monat . " " . Uhrzeit . " Uhr.")
- goto, MainGuiOpen
- }
- else
- {
- AddChatMessage("{5B89CB}Whitelist:{FFFFFF} Verifizierung {5B89CB}FEHLGESCHLAGEN ICF DARF NICHT.")
- ExitApp
- }
- Return
- FormatTime,TagMonatYahr,,dd.MM.yyyy
- FormatTime,MonatYahr,,MMMM yyyy
- CheckReplace(Number) {
- IfInString, Own%Number%, <HP>
- {
- HP := GetPlayerHealth()
- StringReplace, Own%Number%, Own%Number%, <HP> , %HP%, All
- }
- IfInString, Own%Number%, <Zone>
- {
- Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- StringReplace, Own%Number%, Own%Number%, <Zone> , %Zone%, All
- }
- IfInString, Own%Number%, <Stadt>
- {
- City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- StringReplace, Own%Number%, Own%Number%, <Stadt> , %City%, All
- }
- IfInString, Own%Number%, <ID>
- {
- ID := GetId()
- StringReplace, Own%Number%, Own%Number%, <ID> , %ID%, All
- }
- IfInString, Own%Number%, <Ping>
- {
- ID := GetId()
- Ping := GetPlayerPingById(ID)
- StringReplace, Own%Number%, Own%Number%, <Ping> , %Ping%, All
- }
- IfInString, Own%Number%, <FPS>
- {
- FPS := GetFramerate()
- StringReplace, Own%Number%, Own%Number%, <FPS> , %FPS%, All
- }
- IfInString, Own%Number%, <DL>
- {
- VehicleHealth:= GetVehicleHealth()
- StringReplace, Own%Number%, Own%Number%, <DL> , %VehicleHealth%, All
- }
- IfInString, Own%Number%, <Carname>
- {
- Vehiclename := getVehicleModelName()
- StringReplace, Own%Number%, Own%Number%, <Carname> , %Vehiclename%, All
- }
- IfInString, Own%Number%, <Username>
- {
- Username := GetUsername()
- StringReplace, Own%Number%, Own%Number%, <Username> , %Username%, All
- }
- IfInString, Own%Number%, <Drogen>
- {
- StringReplace, Own%Number%, Own%Number%, <Drogen> , %drogen%, All
- }
- IfInString, Own%Number%, <Wanteds>
- {
- StringReplace, Own%Number%, Own%Number%, <Wanteds> , %Wanteds%, All
- }
- }
- #IfWinActive, GTA:SA:MP
- :?:/rc::
- Suspend Permit
- SendInput, {enter}
- SendChat("/rentcar")
- Suspend Off
- return
- :?:/deagle::
- suspend Permit
- SendInput /buygun deagle{space}
- return
- :?:/shot::
- suspend Permit
- SendInput /buygun shotgun{space}
- return
- :?:/mp5::
- suspend Permit
- SendInput /buygun mp5{space}
- return
- :?:/m4::
- suspend Permit
- SendInput /buygun m4{space}
- return
- :?:/rifle::
- suspend Permit
- SendInput /buygun rifle{space}
- return
- :?:/9mm::
- suspend Permit
- SendInput /buygun 9mm{space}
- return
- :?:/sniper::
- suspend Permit
- SendInput /buygun sniper{space}
- return
- :?:/as::
- Suspend Permit
- SendInput, {enter}
- SendChat("/accept sex")
- Suspend Off
- return
- :?:/ah::
- Suspend Permit
- SendInput, {enter}
- SendChat("/accept hotdog")
- Suspend Off
- return
- :?:/aheal::
- Suspend Permit
- SendInput, {enter}
- SendChat("/accept heal")
- Suspend Off
- return
- :?:/adrugs::
- Suspend Permit
- SendInput, {enter}
- SendChat("/accept drugs")
- Suspend Off
- return
- :?:/arep::
- Suspend Permit
- SendInput, {enter}
- SendChat("/accept repair")
- Suspend Off
- return
- :?:/aref::
- Suspend Permit
- SendInput, {enter}
- SendChat("/accept refill")
- Suspend Off
- return
- :?:/fix::
- suspend permit
- sendinput {enter}
- sendchat("/fixgangcar")
- Suspend Off
- return
- :?:/handy::
- suspend permit
- sendinput {enter}
- sendchat("/togphone")
- Suspend Off
- return
- :?:/trob::
- suspend permit
- sendinput {enter}
- sendchat("/tresorrob")
- Suspend Off
- return
- :?:/ci::
- suspend permit
- sendinput {enter}
- sendchat("/carinfo")
- Suspend Off
- return
- Hotkey, Enter, Off
- Hotkey, Escape, Off
- return
- !Pause::
- suspend
- return
- ~r::
- if(isInChat())
- return
- if(IsPlayerInAnyVehicle())
- return
- Loop
- {
- Sleep, 40
- If !GetKeyState("r", "p")
- break
- SendInput {SPACE down}
- sleep, 5
- SendInput {SPACE up}
- sleep, 5
- }
- return
- :?:/td::
- suspend permit
- sendinput /gtake drugs{space}
- Suspend On
- Suspend Off
- return
- :?:/pd::
- suspend permit
- sendinput /put drugs{space}
- Suspend On
- Suspend Off
- return
- :?:/gegner::
- SendInput, {Enter}
- sleep 200
- runner := 0
- runner_on := 0
- if(con_all == 0)
- {
- Organizer("Es ist niemand auf der Gegnerliste.")
- }
- else
- {
- Organizer("Aktuelle Gegnerliste (Onlinespieler)")
- Loop, Read, Gegner.txt
- {
- StringSplit, split, A_LoopReadLine, |
- idname := getPlayerIdByName(split1)
- GegnerPing := getPlayerPingById(split1)
- if(idname != -1)
- {
- Organizer("[" IDname "] " split1 " - Fraktion: " . split2 "")
- runner_on++
- }
- runner++
- }
- Organizer("Es sind " . runner_on . "/" . runner . " Gegner online.")
- Sendchat("/f Es sind " . runner_on . "/" . runner . " Gegner online")
- }
- return
- :?:/fgegner::
- SendInput, {Enter}
- runner := 0
- runner_on3 := 0
- if(con_all == 0)
- {
- Organizer("Es ist niemand auf der Gegnerliste.")
- }
- else
- {
- SendChat("/f |___________________Aktuelle Gegnerliste (Onlinespieler)___________________|")
- Loop, Read, Gegner.txt
- {
- StringSplit, split, A_LoopReadLine, |
- idname := getPlayerIdByName(split1)
- GegnerPing := getPlayerPingById(idname)
- level := getPlayerScoreById(idname)
- if(idname != -1)
- {
- sendchat("/f Name: " split1 ", (ID: {5B89CB}" idname ") Fraktion: " split2 ", Level: " level ", Ping: " GegnerPing)
- sleep 1005
- runner_on3++
- }
- runner++
- }
- sleep 1005
- SendChat("/f Es sind " . runner_on3 . "/" . runner . " Gegner online.")
- }
- return
- :?:/fnamegemerkt::
- SendInput, {Enter}
- runner := 0
- runner_on3 := 0
- if(con_all == 0)
- {
- Organizer("Es ist niemand gemerkt.")
- }
- else
- {
- SendChat("/f |___________________Name gemerkt___________________|")
- Loop, Read, C:\Users\Luis\Desktop\namegemerkt.txt
- {
- idname := getPlayerIdByName(A_LoopReadLine)
- if(idname != -1)
- {
- sendchat("/f Name: " A_LoopReadLine "(" idname ")")
- sleep 1005
- runner_on3++
- }
- else
- {
- sendchat("/f Name: " A_LoopReadLine "(Offline)")
- sleep 1005
- }
- runner++
- }
- sleep 1005
- SendChat("/f Ich hab mir schon " . runner . " Namen gemerkt(" runner_on3 " Online)")
- }
- return
- :?:/bgegner::
- SendInput, {Enter}
- runner := 0
- runner_on1 := 0
- if(con_all == 0)
- {
- Organizer("Es ist niemand auf der Gegnerliste.")
- }
- else
- {
- SendChat("|___________________Aktuelle Gegnerliste (Onlinespieler)___________________|")
- Loop, Read, Gegner.txt
- {
- StringSplit, split, A_LoopReadLine, |
- idname := getPlayerIdByName(split1)
- GegnerPing := getPlayerPingById(idname)
- level := getPlayerScoreById(idname)
- if(idname != -1)
- {
- sendchat("Name: " split1 "{FFFFFF}, (ID: " idname ") Fraktion: " split2 ", Level: {5B89CB}" level ", Ping: {5B89CB}" GegnerPing)
- sleep 1005
- runner_on1++
- }
- runner++
- }
- sleep 1005
- SendChat("Es sind " . runner_on1 . "/" . runner . " Gegner online.")
- }
- return
- :?:/ggegner::
- SendInput, {Enter}
- runner := 0
- runner_on2 := 0
- if(con_all == 0)
- {
- Organizer("Es ist niemand auf der Gegnerliste.")
- }
- else
- {
- SendChat("/g |___________________Aktuelle Gegnerliste (Onlinespieler)___________________|")
- Loop, Read, Gegner.txt
- {
- StringSplit, split, A_LoopReadLine, |
- idname := getPlayerIdByName(split1)
- GegnerPing := getPlayerPingById(idname)
- level := getPlayerScoreById(idname)
- if(idname != -1)
- {
- sendchat("/g Name: " split1 ", (ID: {5B89CB}" idname ") Fraktion: " split2 ", Level: " level ", Ping: " GegnerPing)
- sleep 1005
- runner_on2++
- }
- runner++
- }
- sleep 1005
- SendChat("/g Es sind " . runner_on2 . "/" . runner . " Gegner online.")
- }
- return
- :?:/wert::
- Suspend, Permit
- Sendinput {enter}
- if(ReadStats(text))
- {
- safedrugs := keyForEntry(text, "SafeDrugs")
- safemats := keyForEntry(text, "SafeMats")
- fische := keyForEntry(text, "Illegale Fische")
- codes := keyForEntry(text, "Hackingcodes")
- dmkill := keyForEntry(text, "Kills\(DM\)")
- tode := keyForEntry(text, "Tode")
- rate := keyForEntry(text, "DM-Rate")
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
- RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
- RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
- RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Materials2, .
- StringReplace, drugls, drogen2, .
- StringReplace, fischew, fischi2, .
- StringReplace, VarBack88, Bankl1,.,,All
- drugwert := drugls * 3500
- Organizer("| Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
- Organizer("| Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
- Organizer("| Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
- Organizer("| Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
- Organizer("| Gesamtwert (Drogen + Konto): {5B89CB}$" number_format(varback88 + drugwert) "")
- }
- return
- :?:/bwert::
- Suspend, Permit
- Sendinput {enter}
- if(ReadStats(text))
- {
- safedrugs := keyForEntry(text, "SafeDrugs")
- safemats := keyForEntry(text, "SafeMats")
- fische := keyForEntry(text, "Illegale Fische")
- codes := keyForEntry(text, "Hackingcodes")
- dmkill := keyForEntry(text, "Kills\(DM\)")
- tode := keyForEntry(text, "Tode")
- rate := keyForEntry(text, "DM-Rate")
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
- RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
- RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
- RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Materials2, .
- StringReplace, drugls, drogen2, .
- StringReplace, VarBack88, Bankl1,.,,All
- StringReplace, fischew, fischi2, .
- iniwrite, %varback88%, Take-binder.ini, Wert, Geld
- iniwrite, %drugls%, Take-binder.ini, Wert, Drugs
- iniread, Geld, Take-binder.ini, Wert, Geld
- iniread, Drugs, Take-binder.ini, Wert, Drugs
- drugwert := Drugs * 3500
- SendChat("| Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
- sleep 1000
- SendChat("| Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
- sleep 1000
- SendChat("| Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
- sleep 1000
- SendChat("| Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
- SendChat("| Gesamtwert (Drogen + Konto): $" number_format(Geld + Drugwert) "")
- }
- return
- :?:/gwert::
- Suspend, Permit
- Sendinput {enter}
- if(ReadStats(text))
- {
- safedrugs := keyForEntry(text, "SafeDrugs")
- safemats := keyForEntry(text, "SafeMats")
- fische := keyForEntry(text, "Illegale Fische")
- codes := keyForEntry(text, "Hackingcodes")
- dmkill := keyForEntry(text, "Kills\(DM\)")
- tode := keyForEntry(text, "Tode")
- rate := keyForEntry(text, "DM-Rate")
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
- RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
- RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
- RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Materials2, .
- StringReplace, drugls, drogen2, .
- StringReplace, VarBack88, Bankl1,.,,All
- StringReplace, fischew, fischi2, .
- iniwrite, %varback88%, Take-binder.ini, Wert, Geld
- iniwrite, %drugls%, Take-binder.ini, Wert, Drugs
- iniread, Geld, Take-binder.ini, Wert, Geld
- iniread, Drugs, Take-binder.ini, Wert, Drugs
- drugwert := Drugs * 3500
- SendChat("/g | Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
- sleep 1000
- SendChat("/g | Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
- sleep 1000
- SendChat("/g | Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
- sleep 1000
- SendChat("/g | Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
- SendChat("/g | Gesamtwert (Drogen + Konto): $" number_format(Geld + Drugwert) "")
- }
- return
- :?:/fwert::
- Suspend, Permit
- Sendinput {enter}
- if(ReadStats(text))
- {
- safedrugs := keyForEntry(text, "SafeDrugs")
- safemats := keyForEntry(text, "SafeMats")
- fische := keyForEntry(text, "Illegale Fische")
- codes := keyForEntry(text, "Hackingcodes")
- dmkill := keyForEntry(text, "Kills\(DM\)")
- tode := keyForEntry(text, "Tode")
- rate := keyForEntry(text, "DM-Rate")
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",Drogen)
- RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
- RegExMatch(codes,"(.*) \(\+(.*)\)/100",codesl)
- RegExMatch(fische,"(.*) \(\+(.*)\)",fischi)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Materials2, .
- StringReplace, drugls, drogen2, .
- StringReplace, fischew, fischi2, .
- StringReplace, VarBack88, Bankl1,.,,All
- iniwrite, %varback88%, Take-binder.ini, Wert, Geld
- iniwrite, %drugls%, Take-binder.ini, Wert, Drugs
- iniread, Geld, Take-binder.ini, Wert, Geld
- iniread, Drugs, Take-binder.ini, Wert, Drugs
- drugwert := drugls * 3500
- SendChat("/f | Drogen: {5B89CB}(" Drogen2 "g) {FFFFFF}| Wert: {5B89CB}$" number_format(drugls * 3500) " {FFFFFF}|")
- sleep 1000
- SendChat("/f | Mats: {5B89CB}(" number_format(varback) ") {FFFFFF}| Wert: {5B89CB}$" number_format(varback * 25) " {FFFFFF}|")
- sleep 1000
- SendChat("/f | Codes: {5B89CB}(" number_format(codesl2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(codesl2 * 50000) " {FFFFFF}|")
- sleep 1000
- SendChat("/f | Fische: {5B89CB}(" number_format(fischi2) ") {FFFFFF}| Wert: {5B89CB}$" number_format(fischew * 2000) " {FFFFFF}|")
- SendChat("/f | Gesamtwert (Drogen + Konto): $" number_format(varback88 + drugwert) "")
- }
- return
- :?:/fdurchgabe::
- Suspend,permit
- SendInput,{enter}
- if(fd = false)
- {
- fd:=true
- Organizer(" {27C403}F-Chat druchgabe ist aktiviert!")
- iniwrite, %true%, Take-binder.ini, fdurchgabe, fdurchgabe
- }else{
- fd:=false
- iniwrite, %false%, Take-binder.ini, fdurchgabe, fdurchgabe
- Organizer(" {B21111}F-Chat druchgabe ist deaktiviert!")
- }
- return
- :?:/cp::
- suspend permit
- Sendinput {enter}
- Sleep 50
- Sendchat("/changepayment")
- Hotkey, t, On
- Suspend off
- return
- :?:/sc::
- suspend permit
- Sendinput {enter}
- Sleep 50
- Sendchat("/spawnchange")
- Hotkey, t, On
- Suspend off
- return
- :?:7f::
- Suspend Permit
- SendiNput /f{space}
- return
- :?:7g::
- Suspend Permit
- SendiNput /g{space}
- return
- :?:7w::
- Suspend Permit
- SendiNput /w{space}
- return
- :?:7s::
- Suspend Permit
- SendiNput /s{space}
- return
- :?:7a::
- Suspend Permit
- SendiNput /a{space}
- return
- :?:7ad::
- Suspend Permit
- SendiNput /ad{space}
- return
- :?:7sup::
- Suspend permit
- SendInput /sup{space}
- Return
- :?:7help::
- Suspend permit
- SendInput /help{space}
- Return
- :?:7b::
- Suspend permit
- SendInput /b{space}
- Return
- :?:/ein::
- suspend permit
- sendinput /atm{enter}
- sleep 500
- sendinput {enter}
- Suspend Off
- return
- :?:/aus::
- suspend permit
- sendinput /atm{enter}
- sleep 500
- sendinput {down}
- sendinput {enter}
- Suspend Off
- return
- :?:/über::
- suspend permit
- sendinput /atm{enter}
- sleep 500
- sendinput {down 2}
- sendinput {enter}
- Suspend Off
- return
- :?:/25k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 25000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/50k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 50000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/75k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 75000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/100k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 100000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/200k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 200000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/300k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 300000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/400k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 400000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/250k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 250000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/500k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 500000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/750k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 750000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/1kk::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 1000000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/fgc::
- suspend permit
- SendChat("/fixgangcar")
- Suspend Off
- return
- :?:/wi::
- suspend permit
- sendinput {enter}
- SendChat("/warinfo")
- Suspend Off
- return
- :?:/lgc::
- suspend permit
- SendChat("/listgangcars")
- Suspend Off
- return
- :?:/gu::
- suspend permit
- sendinput {enter}
- sendchat("/gangupgrade")
- Suspend Off
- return
- :?:/mbegin::
- suspend permit
- sendinput {enter}
- sendchat("/mission begin")
- Suspend Off
- return
- :?:/mi::
- suspend permit
- sendinput {enter}
- sendchat("/mission info")
- Suspend Off
- return
- :?:/mend::
- suspend permit
- sendinput {enter}
- sendchat("/mission end")
- Suspend Off
- return
- :?:/mstart::
- suspend permit
- sendinput {enter}
- sendchat("/mission start")
- Suspend Off
- return
- :?:/upg::
- Suspend Permit
- SendChat("/upgrade")
- return
- :?:/hacker::
- Suspend Permit
- SendInput {ESC}
- SendInput tPreis/W:{space}
- Input, lohn, V I M,{enter}
- SendInput {end}+{home}{Del}{Esc}
- If lohn is not number
- {
- Organizer("Bitte nur Zahlen eingeben.")
- Return
- }
- gsmtwanted := lohn * wanteds
- SendChat("/g Suche Hacker für " wanteds " Wanteds! Bezahlung: $" number_format(gsmtwanted) ", | " Getplayername() " (ID: " getId() ")")
- return
- :?:/dete::
- Suspend Permit
- SendInput {ESC}
- SendChat("/g Suche Detektiv [S5] - Melden bei " Getplayername() " (ID: " getId() ")")
- return
- :?:/ghd::
- suspend permit
- Send, {enter}
- SendChat("/orgmembers")
- sleep , 350
- ohd := 0
- var := 1
- index := 0
- while ( var == 1 )
- {
- GetChatLine(index, text)
- if ( InStr(text, "(Tel."))
- {
- if(InstR(text, "Hotdogverkäufer"))
- ohd ++
- index ++
- var := 1
- }
- else
- {
- var := 0
- }
- }
- sleep, 250
- Organizer("Es sind " ohd " Hotdogverkäufer in der Organisation online.")
- return
- :?:/ghacker::
- suspend permit
- Send, {enter}
- SendChat("/orgmembers")
- sleep , 350
- ohack := 0
- var := 1
- index := 0
- while ( var == 1 )
- {
- GetChatLine(index, text)
- if ( InStr(text, "(Tel."))
- {
- if(InstR(text, "Hacker"))
- ohack ++
- index ++
- var := 1
- }
- else
- {
- var := 0
- }
- }
- sleep, 250
- Organizer("Es sind " ohack " Hacker in der Organisation online.")
- return
- :?:/gwd::
- suspend permit
- Send, {enter}
- SendChat("/orgmembers")
- sleep , 350
- owd := 0
- var := 1
- index := 0
- while ( var == 1 )
- {
- GetChatLine(index, text)
- if ( InStr(text, "(Tel."))
- {
- if(InstR(text, "Waffenhändler"))
- owd ++
- index ++
- var := 1
- }
- else
- {
- var := 0
- }
- }
- sleep, 250
- Organizer("Es sind " owd " Waffenhndler in der Organisation online.")
- return
- :?:/gdete::
- suspend permit
- Send, {enter}
- SendChat("/orgmembers")
- sleep , 350
- odete := 0
- var := 1
- index := 0
- while ( var == 1 )
- {
- GetChatLine(index, text)
- if ( InStr(text, "(Tel."))
- {
- if(InstR(text, "Detektiv"))
- odete ++
- index ++
- var := 1
- }
- else
- {
- var := 0
- }
- }
- sleep, 250
- Organizer("Es sind " odete " Detektive in der Organisation online.")
- return
- :?:/ganwalt::
- suspend permit
- Send, {enter}
- SendChat("/orgmembers")
- sleep , 350
- oanwalt := 0
- var := 1
- index := 0
- while ( var == 1 )
- {
- GetChatLine(index, text)
- if ( InStr(text, "(Tel."))
- {
- if(InstR(text, "Anwalt"))
- oanwalt ++
- index ++
- var := 1
- }
- else
- {
- var := 0
- }
- }
- sleep, 250
- Organizer("Es sind " oanwalt " Anwlte in der Organisation online.")
- return
- :?:/gdd::
- suspend permit
- Send, {enter}
- SendChat("/orgmembers")
- sleep , 350
- odd := 0
- var := 1
- index := 0
- while ( var == 1 )
- {
- GetChatLine(index, text)
- if ( InStr(text, "(Tel."))
- {
- if(InstR(text, "Drogendealer"))
- odd ++
- index ++
- var := 1
- }
- else
- {
- var := 0
- }
- }
- sleep, 250
- Organizer("Es sind " odd " Drogendealer in der Organisation online.")
- return
- :?:/oi::
- Suspend Permit
- SendInput /orginvite{space}
- return
- :?:/ou::
- Suspend Permit
- SendInput /orguninvite{space}
- return
- :?:/swh::
- suspend permit
- SendChat("/service")
- sleep 100
- Sendinput {Down 5}
- sleep 100
- SendInput {Enter}
- Suspend off
- return
- :?:/cwh::
- suspend permit
- SendChat("/cancel wheelman")
- Suspend off
- return
- :?:/smedic::
- suspend permit
- SendChat("/service")
- sleep 100
- sendinput {down}{enter}
- Suspend Off
- return
- :?:/cmedic::
- Suspend permit
- SendChat("/cancel medic")
- Sleep 100
- SendInput {enter}
- Suspend Off
- return
- :?:/staxi::
- suspend permit
- SendChat("/service")
- sleep 100
- sendinput {enter}
- Suspend Off
- return
- :?:/ctaxi::
- suspend permit
- SendChat("/cancel taxi")
- Suspend Off
- return
- :?:/smecha::
- Suspend Permit
- SendChat("/service")
- Sleep 100
- SendInput {down 2}{enter}
- Suspend Off
- return
- :?:/cmecha::
- Suspend Permit
- SendChat("/cancel mechanic")
- return
- :?:/sfeuer::
- Suspend Permit
- SendChat("/service")
- Sleep 100
- Sendinput {down 6}{enter}
- Suspend Off
- return
- :?:/cfeuer::
- Suspend Permit
- SendChat("/cancel feuerwehr")
- return
- :?:/soamt::
- Suspend Permit
- SendChat("/service")
- Sleep 100
- Sendinput {down 4}{enter}
- Suspend Off
- return
- :?:/coamt::
- Suspend Permit
- SendChat("/cancel ordnungsamt")
- return
- :?:/spizza::
- Suspend Permit
- SendChat("/service")
- Sleep 100
- Sendinput {down 3}{enter}
- Suspend Off
- return
- :?:/cpizza::
- Suspend Permit
- SendChat("/cancel pizza")
- return
- :?:/gmdbox::
- Suspend, Permit
- Sendinput {enter}
- if(ReadStats(text))
- {
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
- sendchat("/g Drogen dabei: "druglss1 "g, Drogen in der Box: " druglss2 "g, Mats in der Box: " Materials2 " Stück")
- }
- Else
- {
- Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
- }
- Suspend, Off
- Hotkey, t, on
- return
- :?:/adre::
- Suspend Permit
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if InStr(A_LoopReadLine, ", Kontakt: ")
- {
- RegExMatch(A_LoopReadLine, "Tel: (.*)" ,adantwort)
- }
- }
- SendInput, /sms %adantwort1%{space}
- Hotkey, T, On
- Suspend Off
- return
- :?:/fmdbox::
- Suspend, Permit
- Sendinput {enter}
- if(ReadStats(text))
- {
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
- sendchat("/f Drogen dabei: "druglss1 "g, Drogen in der Box: " druglss2 "g, Mats in der Box: " Materials2 " Stück")
- }
- Else
- {
- Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
- }
- Suspend, Off
- Hotkey, t, on
- return
- :?:/mdbox::
- Suspend, Permit
- Sendinput {enter}
- if(ReadStats(text))
- {
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- RegExMatch(mats,"(.*) \(\+(.*)\)",Materials)
- sendchat("Drogen dabei: "druglss1 "g, Drogen in der Box: " druglss2 "g, Mats in der Box: " Materials2 " Stück")
- }
- Else
- {
- Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
- }
- Suspend, Off
- Hotkey, t, on
- return
- :?:/aa::
- Suspend Permit
- send, {enter}
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- If InStr(A_LoopReadLine, "/accept drugs")
- {
- Service = drugs
- }
- else If InStr(A_LoopReadLine, "/accept sex")
- {
- Service = sex
- }
- else If InStr(A_LoopReadLine, "/accept repair")
- {
- Service = repair
- }
- else If InStr(A_LoopReadLine, "/accept refill")
- {
- Service = refill
- }
- else If InStr(A_LoopReadLine, "/accept ticket")
- {
- Service = ticket
- }
- else If InStr(A_LoopReadLine, "/accept heal")
- {
- Service = heal
- }
- else If InStr(A_LoopReadLine, "/accept hotdog")
- {
- Service = hotdog
- }
- else if instr(A_LoopReadLine, "/accept vertrag")
- {
- Service = vertrag
- }
- else if instr(A_LoopReadLine, "/accept dice")
- {
- Service = dice
- }
- else if instr(A_LoopReadLine, "/accept invite")
- {
- Service = invite
- }
- else if instr(A_LoopReadLine, "/accept orginvite")
- {
- Service = orginvite
- }
- else if instr(A_LoopReadLine, "/accept lesson")
- {
- Service = lesson
- }
- }
- SendChat("/accept " Service "")
- Suspend Off
- return
- :?:/grenze::
- Suspend Permit
- SendInput {enter}
- if(ReadStats(text))
- {
- safedrugs := keyForEntry(text, "SafeDrugs")
- safemats := keyForEntry(text, "SafeMats")
- fische := keyForEntry(text, "Illegale Fische")
- codes := keyForEntry(text, "Hackingcodes")
- dmkill := keyForEntry(text, "Kills\(DM\)")
- tode := keyForEntry(text, "Tode")
- rate := keyForEntry(text, "DM-Rate")
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- sdrugs := number_format(safedrugs)
- smats := number_format(safemats)
- gesamt := number_format(bank)
- geld := number_format(geldd)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Bankl1,.,,All
- zw1 := 2147483647/VarBack
- rw1 := log(zw1)
- rw2 := log(1.001)
- rw3 := log(1.0015)
- res := Round(rw1/rw2)
- res1 := Round(rw1/rw3)
- Organizer("Bis zu deiner Geldgrenze benötigst du noch " res " Paydays ohne und " res1 " mit Donator.")
- SendChat("Bis zu meiner Geldgrenze benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
- }
- Suspend off
- return
- :?:/ggrenze::
- Suspend Permit
- SendInput {enter}
- if(ReadStats(text))
- {
- safedrugs := keyForEntry(text, "SafeDrugs")
- safemats := keyForEntry(text, "SafeMats")
- fische := keyForEntry(text, "Illegale Fische")
- codes := keyForEntry(text, "Hackingcodes")
- dmkill := keyForEntry(text, "Kills\(DM\)")
- tode := keyForEntry(text, "Tode")
- rate := keyForEntry(text, "DM-Rate")
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- sdrugs := number_format(safedrugs)
- smats := number_format(safemats)
- gesamt := number_format(bank)
- geld := number_format(geldd)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Bankl1,.,,All
- zw1 := 2147483647/VarBack
- rw1 := log(zw1)
- rw2 := log(1.001)
- rw3 := log(1.0015)
- res := Round(rw1/rw2)
- res1 := Round(rw1/rw3)
- SendChat("/g Bis zu meiner Geldgrenze benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
- }
- Suspend off
- return
- :?:/fgrenze::
- Suspend Permit
- SendInput {enter}
- if(ReadStats(text))
- {
- safedrugs := keyForEntry(text, "SafeDrugs")
- safemats := keyForEntry(text, "SafeMats")
- fische := keyForEntry(text, "Illegale Fische")
- codes := keyForEntry(text, "Hackingcodes")
- dmkill := keyForEntry(text, "Kills\(DM\)")
- tode := keyForEntry(text, "Tode")
- rate := keyForEntry(text, "DM-Rate")
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- drugs := keyForEntry(text, "Drogen")
- mats := keyForEntry(text, "Materialien")
- sdrugs := number_format(safedrugs)
- smats := number_format(safemats)
- gesamt := number_format(bank)
- geld := number_format(geldd)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Bankl1,.,,All
- zw1 := 2147483647/VarBack
- rw1 := log(zw1)
- rw2 := log(1.001)
- rw3 := log(1.0015)
- res := Round(rw1/rw2)
- res1 := Round(rw1/rw3)
- SendChat("/f Bis zu meiner Geldgrenze benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
- }
- Suspend off
- return
- :?:/mel::
- Suspend Permit
- SendInput, {enter}
- Organizer("* Du wurdest für 1.620 Sekunden eingesperrt und verlierst wegen Flucht und Kill durch einen Polizist $90.000.")
- Suspend Off
- return
- :?:/p::
- Suspend Permit
- SendInput {ESC}
- sendchat("/pickup")
- sendchat("Guten Tag hier spricht " getplayername() ", was kann ich für Sie tun? ")
- return
- :?:/hallo::
- suspend permit
- sendinput {enter}
- if(ReadStats(text))
- {
- Team := keyForEntry(text, "Team")
- Rang := keyForEntry(text, "Rang")
- Sendchat("Guten Tag! Ich bin " getplayername() ", " Rang " des " Team ".")
- }
- Else
- {
- Organizer("Die StatsAPI konnte nicht auf die Statistiken zugreifen. Bullethole, ELM-Mod und Shell-Mod entfernen ! ")
- }
- Hotkey, t, On
- Suspend off
- return
- :?:/clearchat::
- :?:/cc::
- suspend permit
- sendinput, {enter}
- loop, 20
- AddChatMessage("{FFFFFF} " "")
- Organizer("Chat wurde gecleart.")
- Suspend off
- return
- :?:/ud::
- Suspend Permit
- SendInput, {enter}
- SendChat("/usedrugs")
- Suspend Off
- return
- :?:/bk::
- Suspend Permit
- SendInput, {enter}
- Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- If(IsPlayerInAnyInterior()==1)
- {
- SendChat("/f Benötige Unterstützung in einem Interior. HP: " GetPlayerHealth() "")
- }
- else
- SendChat("/f Benötige Unterstützung in " City ", " Zone ". HP: " GetPlayerHealth() "")
- Suspend Off
- return
- :?:/gi::
- Suspend Permit
- SendInput, {enter}
- IniRead, wGebietinfo, TaKe-Binder.ini,Sonstiges, wGebietinfo
- if(wGebietinfo=1)
- {
- SendChat("/gebietinfo")
- Sleep, 200
- GetChatLine(6, Chat6)
- GetChatLine(5, Chat5)
- GetChatLine(4, Chat4)
- GetChatLine(3, Chat3)
- GetChatLine(2, Chat2)
- GetChatLine(1, Chat1)
- GetChatLine(0, Chat0)
- if(Instr(Chat1, " Restzeit:"))
- {
- RegExMatch(Chat1, "Restzeit: (.*) Tage, (.*) Stunden und (.*) Minuten", regzeit)
- RegExMatch(Chat2, " Kills: (.*)", regkills)
- RegExMatch(Chat3, " Herausforderer: (.*)", regher)
- RegExMatch(Chat4, " Kills: (.*)", reg1kills)
- RegExMatch(Chat5, " Besitzer: (.*)", regbe)
- SendChat("/f -> Gebietinfo von " regher1 " - " regbe1 " <-")
- SendChat("/f " regbe1 ": " reg1kills1 " Kills - " regher1 ": " regkills1 " Kills")
- SendChat("/f Restzeit: " regzeit1 " Tage " regzeit2 " Stunden " regzeit3 " Minuten")
- return
- }
- }
- else
- {
- SendChat("/gebietinfo")
- }
- Suspend Off
- return
- :?:/wi::
- Suspend Permit
- SendInput, {enter}
- SendChat("/warinfo")
- Suspend Off
- return
- :?:/re::
- suspend Permit
- IniRead,sms6,TaKe-Binder.ini,SMS,Tel
- IniRead,sms5,TaKe-Binder,SMS,Name
- EigenerName:=GetPlayerName()
- if(EigenerName != sms5)
- {
- SendInput /t %sms6%{space}
- }
- else
- {
- SendInput /t{space}
- }
- return
- :?:/aus::
- Suspend Permit
- SendChat("/atm")
- Sleep 150
- Sendinput {Down}
- sleep 100
- SendInput {Enter}
- return
- :?:/ber::
- Suspend Permit
- SendChat("/atm")
- Sleep 150
- Sendinput {Down}
- sleep 100
- Sendinput {Down}
- sleep 100
- SendInput {Enter}
- return
- :?:/ein::
- Suspend Permit
- SendChat("/atm")
- Sleep 150
- SendInput {Enter}
- return
- :?:/pa::
- Suspend permit
- SendInput /id{space}
- Input, partnerid, V I M,{enter}
- If(partnerid = "")
- {
- SendInput, {end}+{home}{Del}{Esc}
- Organizer("Keine Eingabe!")
- return
- }
- else
- {
- sleep 200
- {
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- IfInString, A_LoopReadLine, ID:
- {
- RegExMatch(A_LoopReadLine, "ID: \((.*)\) (.*), Level (.*)" ,partnerauslese)
- partnerid := partnerauslese1
- partnername := partnerauslese2
- }
- }
- }
- SendChat("/f Neuer Partner: " partnername " (ID: " partnerid ") wurde eingetragen")
- }
- return
- :?:/ku::
- Suspend permit
- SendInput /id{space}
- Input, opferid, V I M,{enter}
- If(opferid = "")
- {
- SendInput, {end}+{home}{Del}{Esc}
- Organizer("Keine Eingabe!")
- return
- }
- else
- {
- sleep 200
- {
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- IfInString, A_LoopReadLine, ID:
- {
- RegExMatch(A_LoopReadLine, "ID: \((.*)\) (.*), Level (.*)" ,opferauslese)
- opferid := opferauslese1
- opfername := opferauslese2
- }
- }
- }
- SendChat("/f Neues Ziel: " opfername " (ID: " opferid ") wurde eingetragen")
- }
- return
- :?:/napinfo::
- Suspend Permit
- SendInput {enter}
- Iniread, HKKnap1, TaKe-Binder.ini,Wanteds, HKKnap1
- Iniread, HKKnap2, TaKe-Binder.ini,Wanteds, HKKnap2
- Organizer("|_______NAP-Info_______|")
- if(partnername="")
- {
- Organizer("Partner: Niemand")
- }
- else
- {
- Organizer("Partner: " partnername "(" partnerid ")")
- }
- if(opfername="")
- {
- Organizer("Opfer: Niemand")
- }
- else
- {
- Organizer("Opfer: " opfername "(" opferid ")")
- }
- if(HKKnap1=%test%)
- {
- Organizer("Sitz links: Taste nicht belegt")
- }
- else
- {
- Organizer("Sitz links: " HKKnap1 "")
- }
- if(HKKnap2=%test%)
- {
- Organizer("Sitz rechts: Taste nicht belegt")
- }
- else
- {
- Organizer("Sitz rechts: " HKKnap2 "")
- }
- Suspend Off
- return
- :?:/fgcs::
- Suspend permit
- SendInput {enter}
- SendChat("/fixgangcars")
- sleep 200
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- IfInString, A_LoopReadLine, Aktuelle Kosten:
- {
- RegExMatch(A_LoopReadLine, "Aktuelle Kosten: \$(.*)" ,fixgangcars)
- reparaturkosten := fixgangcars1
- }
- }
- SendChat("/fixgangcars " reparaturkosten "")
- return
- :?:/ff::
- Suspend Permit
- SendInput /fastfood{space}{space}1{left}{left}
- return
- :?:/se::
- Suspend Permit
- SendInput /sex{space}{space}1{left}{left}
- return
- :?:/wp1::
- Suspend Permit
- SendInput,{enter}
- if (wpc11 == 1)
- {
- if (wp11 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp11 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp11 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp11 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp11 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp11 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp11 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa11)
- }
- if (wpc12 == 1)
- {
- if (wp12 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp12 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp12 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp12 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp12 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp12 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp12 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa12)
- }
- if (wpc13 == 1)
- {
- if (wp13 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp13 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp13 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp13 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp13 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp13 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp13 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa13)
- }
- if (wpc14 == 1)
- {
- if (wp14 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp14 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp14 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp14 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp14 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp14 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp14 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa14)
- }
- if (wpc15 == 1)
- {
- if (wp15 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp15 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp15 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp15 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp15 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp15 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp15 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa15)
- }
- Suspend Off
- return
- :?:/wp2::
- Suspend Permit
- SendInput,{enter}
- if (wpc21 == 1)
- {
- if (wp21 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp21 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp21 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp21 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp21 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp21 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp21 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa21)
- }
- if (wpc22 == 1)
- {
- if (wp22 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp22 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp22 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp22 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp22 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp22 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp22 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa22)
- }
- if (wpc23 == 1)
- {
- if (wp23 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp23 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp23 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp23 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp23 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp23 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp23 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa23)
- }
- if (wpc24 == 1)
- {
- if (wp24 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp24 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp24 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp24 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp24 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp24 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp24 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa24)
- }
- if (wpc25 == 1)
- {
- if (wp25 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp25 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp25 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp25 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp25 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp25 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp25 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa25)
- Sleep 500
- }
- Suspend Off
- return
- :?:/mc::
- Suspend Permit
- Sendinput /service{enter}
- sleep 300
- Sendinput {Down}
- sleep 300
- SendInput {Enter}
- suspend off
- return
- :?:/wh::
- Suspend Permit
- Sendinput /service{enter}
- sleep 300
- Sendinput {Down}
- sleep 300
- Sendinput {Down}
- sleep 300
- Sendinput {Down}
- sleep 300
- Sendinput {Down}
- sleep 300
- Sendinput {Down}
- sleep 300
- SendInput {Enter}
- suspend off
- return
- :?:/setkills::
- Suspend Permit
- Sendinput Kills:{space}
- Input Kills,V I M,{enter}
- SendInput {end}+{home}{Del}{esc}
- if Kills is not number
- {
- Organizer("Fehler! verwende dafür Zahlen!")
- Kills:=0
- }
- else
- {
- Organizer("Kills auf " Kills " gesetzt.")
- }
- return
- :?:/setdeaths::
- Suspend Permit
- Sendinput Deahts:{space}
- Input Deaths,V I M,{enter}
- SendInput {end}+{home}{Del}{esc}
- if Deaths is not number
- {
- Organizer("Fehler! verwende dafür Zahlen!")
- Deaths:=0
- }
- else
- {
- Organizer("Deaths auf " Deaths " gesetzt.")
- }
- return
- :?:/clearkill::
- suspend permit
- sendinput {enter}
- Kills--
- tKills--
- streak-=1
- IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
- if(Kills=-1)
- {
- Kills:=0
- }
- If(tKills=-1)
- {
- tKills:=0
- }
- If(streak=-1)
- {
- streak:=0
- IniWrite,%streak%,Statistik\statsi.ini,Killstreak,streak
- }
- Organizer("1 Kill Gecleart - Aktuell: " number_format(gangwarkills) " | Heute: " tKills "")
- Sendchat("/f 1 Tages Kill wurde gelöscht - Aktuell: " number_format(gangwarkills) " | Heute: " tKills "")
- IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
- Suspend Off
- return
- :?:/cleardeath::
- suspend permit
- sendinput {enter}
- Deaths--
- If(Deaths=-1)
- {
- Deaths:=0
- }
- Organizer("1 Tod Gecleart - Aktuell: " number_format(tode) " Tode")
- Suspend Off
- return
- :?:/setwanteds::
- Suspend Permit
- Sendinput Wanteds:{space}
- Input Wanteds,V I M,{enter}
- SendInput {end}+{home}{Del}{esc}
- if Wanteds is not number
- {
- Organizer("Fehler! verwende dafür Zahlen!")
- Wanteds:=0
- }
- else
- {
- Organizer("Wanteds auf " Wanteds " gesetzt.")
- }
- Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- if Wanteds=0
- {
- Wanteds:= 0
- Grund:= "Unbekannt"
- Zeuge:= "Niemand"
- Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- }
- return
- :?:/ad1::
- Suspend Permit
- SendInput,{enter}
- SendChat("/ad " AD1)
- Suspend Off
- return
- :?:/ad2::
- Suspend Permit
- SendInput,{enter}
- SendChat("/ad " AD2)
- Suspend Off
- return
- :?:/ad3::
- Suspend Permit
- SendInput,{enter}
- SendChat("/ad " AD3)
- Suspend Off
- return
- :?:/ad4::
- Suspend Permit
- SendInput,{enter}
- SendChat("/ad " AD4)
- Suspend Off
- return
- :?:/adinfo::
- Suspend permit
- SendInput {enter}
- if(AD1=%test%)
- {
- Organizer("AD1: Nicht belegt")
- }
- else
- {
- Organizer("AD1: " AD1 "")
- }
- if(AD2=%test%)
- {
- Organizer("AD2: Nicht belegt")
- }
- else
- {
- Organizer("AD2: " AD2 "")
- }
- if(AD3=%test%)
- {
- Organizer("AD3: Nicht belegt")
- }
- else
- {
- Organizer("AD3: " AD3 "")
- }
- if(AD4=%test%)
- {
- Organizer("AD4: Nicht belegt")
- }
- else
- {
- Organizer("AD4: " AD4 "")
- }
- Suspend off
- return
- MainGuiOpen:
- IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
- box :=
- (
- "[Account-Informationen]`n
- Name: `" getplayername() "
- Kills: `" number_format(GangwarKills) " | Heute: " tKills "
- Deaths: `" number_format(tode) " | Heute: " tDeaths
- )
- Gui,Main: Font,s10, Comic Sans
- Gui,Main: Add, Picture,x0 y0,%A_WorkingDir%\back01.png
- Gui,Main: Add, Button, x12 y10 w100 h30 gbtnoverlay, Overlay
- Gui,Main: Add, Button, x12 y50 w100 h30 gbtnkeybinds, Keybinds
- Gui,Main: Add, Button, x12 y90 w100 h30 gOptionGui, Optionen
- Gui,Main: Add, Button, x12 y130 w100 h30 gEnemyGui, Gegnerliste
- Gui,Main: Add, Button, x12 y170 w100 h30 gChangelog, Changelog
- Gui,Main: Add, Button, x12 y210 w100 h30 gMOTD, MOTD
- Gui,Main: Add, Edit, x132 y190 w310 h170 +ReadOnly, %box%
- Gui,Main: Font, s10 bold, Times
- Gui,Main: Show, x719 y316 h384 w454, Main-Control
- gosub, OverlayLoad
- gosub, KeybindsLoad
- gosub, OwnWPLoad
- gosub, LoadOptions
- streak:=0
- conquern:=0
- tp:=0
- SetTimer, 250dl, 500
- SetTimer, carlowdl, 500
- SetTimer, Payday, 1000
- settimer, sterne, 100
- settimer, schaden, 100
- settimer, carschaden, 100
- SetTimer, DrogenSystem, 100
- SetTimer, Auslesen, 200
- SetTimer, Overlay, 200
- SetTimer, GameText, 900
- SetTimer, CheckDate, 10000
- SetTimer, AntiSpam, 150
- settimer, drogenbox, 100
- settimer, tanken, 100
- return
- MOTD:
- GUI,MOTD: Destroy
- URLDownloadToFile,http://51.255.151.195/waLkerKeybinder/MOTD.txt,MOTD.txt
- FileRead,motd,MOTD.txt
- Gui,MOTD: Add, Picture, x0 y0 +0x4000000 h556 w557, back03.png
- Gui,MOTD: Font, s30
- Gui,MOTD: Add, Text, x12 y35 w400 h60 +BackgroundTrans cred, Message of the Day
- Gui,MOTD: Font, s10
- Gui,MOTD: Add, Edit, x12 y100 w355 h340 +ReadOnly, %motd%
- Gui,MOTD: Show, x437 y164 h462 w377,MOTD
- FileDelete,MOTD.txt
- return
- Changelog:
- changelog=
- (
- ------------------------------------------------------------------------------------------------------------------
- 30.03.2016 - Version 1.3.1 by paco
- - /untieenemy eingebaut(Untie Countdown mit Waffenabnehmen etc.)
- - /fud (Fakeusedrugs)
- - /ep (Eatpizza)
- - /twp (/take weapons [id])
- - /(g)(f)paydaysbis [Betrag] (Zeigt die Paydays bis zum angebebenen Betrag an)
- - /gk System überarbeitet absofort /gk [Leertaste] eingeben dann die Nummer
- - /members Hotkey überarbeitet
- - /napinfo gefixxt
- - Im Rechner kann der Preis pro Gramm selbst bestimmt werden
- ------------------------------------------------------------------------------------------------------------------
- 29.03.2016 - Version 1.3 by paco
- - Varibalen in Eigenen Binds anpassbar Beispiel <HP>.
- - Zinssystem entbuggt
- - paar Bugfixes
- - Chatkillspruch festlegbar
- - Bei dem Hotkey "/members" wird angezeigt wie viele Member AFK sind
- ------------------------------------------------------------------------------------------------------------------
- 09.12.2015 - Version 1.0
- - Neuer Release by TaKeshi.ShinoDa
- - Killzähler angepasst
- - Overlay angepasst
- - Keybinder auf aktuellesten Stand gebracht
- ------------------------------------------------------------------------------------------------------------------
- 13.12.2015 - Version 1.1
- - Kleine Bugs behoben
- - /fdkd hinzugefügt
- - Overlay-Bug beim Drogenoverlay behoben
- - Spruch bei Tod angepasst
- ------------------------------------------------------------------------------------------------------------------
- 15.12.2015 - Version 1.2
- - Wantedkills werden automatisch addiert
- - Low DL Meldung
- - Explosions CD hinzugefügt
- ------------------------------------------------------------------------------------------------------------------
- 16.12.2015 - Version 1.2
- - WantedKills im F-Chat herausgenommen (BUG)
- )
- Gui,Changelog:Add, Picture,x0 y0,%A_WorkingDir%\back02.png
- Gui,Changelog:Add, Edit, x12 y10 w370 h210 +ReadOnly, %changelog%
- Gui,Changelog:Show, w397 h234,Changelog
- return
- MainGuiClose:
- DestroyAllVisual()
- ExitApp
- return
- btnoverlay:
- Gui,Overlay: Destroy
- gosub,OverlayLoad
- Gui,Overlay: Add, Picture,x0 y0 w654 h404,%A_WorkingDir%\back02.png
- Gui,Overlay: Add, Button, x332 y330 w100 h30 gOverlaySave, Save
- Gui,Overlay: Add, GroupBox, x12 y10 w190 h140 , Health
- Gui,Overlay: Add, GroupBox, x222 y10 w190 h140 , Wanteds
- Gui,Overlay: Add, GroupBox, x12 y160 w190 h140 , Vehicle
- Gui,Overlay: Add, GroupBox, x222 y160 w190 h140 , Position
- Gui,Overlay: Add, GroupBox, x432 y10 w190 h140 , Gegnerliste
- Gui,Overlay: Add, GroupBox, x432 y160 w190 h140 , DrogenInfo
- Gui,Overlay: Add, CheckBox,-Checked%HPC% x22 y120 w90 h20 vHPC +BackgroundTrans gOverlayCheckBox, Aktivieren
- 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
- Gui,Overlay: Add, CheckBox,-Checked%WC% x232 y120 w90 h20 vWC +BackgroundTrans gOverlayCheckBox, Aktivieren
- 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
- Gui,Overlay: Add, CheckBox,-Checked%PC% x232 y270 w90 h20 vPC +BackgroundTrans gOverlayCheckBox, Aktivieren
- 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
- Gui,Overlay: Add, CheckBox,-Checked%VC% x22 y270 w90 h20 vVC +BackgroundTrans gOverlayCheckBox, Aktivieren
- 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
- Gui,Overlay: Add, CheckBox,-Checked%GC% x442 y120 w90 h20 vGC +BackgroundTrans gOverlayCheckBox, Aktivieren
- 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
- Gui,Overlay: Add, CheckBox,-Checked%DC% x442 y270 w90 h20 vDC +BackgroundTrans gOverlayCheckBox, Aktivieren
- 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
- Gui,Overlay: Add, Edit, x22 y30 w80 h20 vHPX, %HPX%
- Gui,Overlay: Add, UpDown, x33 y30 w80 h20 Range0-1000, %HPX%
- Gui,Overlay: Add, Edit, x22 y60 w80 h20 vHPY, %HPY%
- Gui,Overlay: Add, UpDown, x33 y60 w80 h20 Range0-1000, %HPY%
- Gui,Overlay: Add, Edit, x22 y90 w80 h20 vHPSize, %HPSize%
- Gui,Overlay: Add, UpDown, x33 y90 w80 h20 Range0-1000, %HPSize%
- Gui,Overlay: Add, Edit, x232 y30 w80 h20 vWX, %WX%
- Gui,Overlay: Add, UpDown, x243 y30 w80 h20 Range0-1000, %WX%
- Gui,Overlay: Add, Edit, x232 y60 w80 h20 vWY, %WY%
- Gui,Overlay: Add, UpDown, x243 y60 w80 h20 Range0-1000, %WY%
- Gui,Overlay: Add, Edit, x232 y90 w80 h20 vWSize, %WSize%
- Gui,Overlay: Add, UpDown, x243 y30 w80 h20 Range0-1000, %WSize%
- Gui,Overlay: Add, Edit, x232 y180 w80 h20 vPX, %PX%
- Gui,Overlay: Add, UpDown,x243 y180 w80 h20 Range0-1000, %PX%
- Gui,Overlay: Add, Edit, x232 y210 w80 h20 vPY, %PY%
- Gui,Overlay: Add, UpDown,x243 y210 w80 h20 Range0-1000, %PY%
- Gui,Overlay: Add, Edit, x232 y240 w80 h20 vPSize, %PSize%
- Gui,Overlay: Add, UpDown,x243 y240 w80 h20 Range0-1000, %PSize%
- Gui,Overlay: Add, Edit, x22 y180 w80 h20 vVX, %VX%
- Gui,Overlay: Add, UpDown,x33 y180 w80 h20 Range0-1000, %VX%
- Gui,Overlay: Add, Edit, x22 y210 w80 h20 vVY, %VY%
- Gui,Overlay: Add, UpDown,x33 y210 w80 h20 Range0-1000, %VY%
- Gui,Overlay: Add, Edit, x22 y240 w80 h20 vVSize, %VSize%
- Gui,Overlay: Add, UpDown,x33 y240 w80 h20 Range0-1000, %VSize%
- Gui,Overlay: Add, Edit, x442 y30 w80 h20 vGX, %WX%
- Gui,Overlay: Add, UpDown, x453 y30 w80 h20 Range0-1000, %GX%
- Gui,Overlay: Add, Edit, x442 y60 w80 h20 vGY, %WY%
- Gui,Overlay: Add, UpDown, x453 y60 w80 h20 Range0-1000, %GY%
- Gui,Overlay: Add, Edit, x442 y90 w80 h20 vGSize, %GSize%
- Gui,Overlay: Add, UpDown, x453 y30 w80 h20 Range0-1000, %GSize%
- Gui,Overlay: Add, Edit, x442 y180 w80 h20 vDX, %DX%
- Gui,Overlay: Add, UpDown,x453 y180 w80 h20 Range0-1000, %DX%
- Gui,Overlay: Add, Edit, x442 y210 w80 h20 vDY, %DY%
- Gui,Overlay: Add, UpDown,x453 y210 w80 h20 Range0-1000, %DY%
- Gui,Overlay: Add, Edit, x442 y240 w80 h20 vDSize, %DSize%
- Gui,Overlay: Add, UpDown,x453 y240 w80 h20 Range0-1000, %DSize%
- Gui,Overlay: Add, Text, x112 y30 w70 h20 +BackgroundTrans, X
- Gui,Overlay: Add, Text, x112 y60 w70 h20 +BackgroundTrans, Y
- Gui,Overlay: Add, Text, x112 y90 w70 h20 +BackgroundTrans, Size
- Gui,Overlay: Add, Text, x322 y30 w70 h20 +BackgroundTrans, X
- Gui,Overlay: Add, Text, x322 y180 w70 h20 +BackgroundTrans, X
- Gui,Overlay: Add, Text, x322 y210 w70 h20 +BackgroundTrans, Y
- Gui,Overlay: Add, Text, x322 y240 w70 h20 +BackgroundTrans, Size
- Gui,Overlay: Add, Text, x112 y180 w70 h20 +BackgroundTrans, X
- Gui,Overlay: Add, Text, x112 y210 w70 h20 +BackgroundTrans, Y
- Gui,Overlay: Add, Text, x112 y240 w70 h20 +BackgroundTrans, Size
- Gui,Overlay: Add, Text, x322 y60 w70 h20 +BackgroundTrans, Y
- Gui,Overlay: Add, Text, x322 y90 w70 h20 +BackgroundTrans, Size
- Gui,Overlay: Add, Text, x532 y30 w70 h20 +BackgroundTrans, X
- Gui,Overlay: Add, Text, x532 y60 w70 h20 +BackgroundTrans, Y
- Gui,Overlay: Add, Text, x532 y90 w70 h20 +BackgroundTrans, Size
- Gui,Overlay: Add, Text, x532 y210 w70 h20 +BackgroundTrans, Y
- Gui,Overlay: Add, Text, x532 y180 w70 h20 +BackgroundTrans, X
- Gui,Overlay: Add, Text, x532 y240 w70 h20 +BackgroundTrans, Size
- Gui,Overlay: Add, Text, x22 y320 w240 h40 +BackgroundTrans, /ovhelp = Overlay-Hilfe
- Gui,Overlay: Add, Text, x22 y340 w240 h40 +BackgroundTrans cred, waLker: Während dem Movemodus darf keine Pfeiltaste belegt sein!
- Gui,Overlay: Show, w634 h384, Overlay-Options
- return
- OverlayGuiClose:
- Gui,Overlay: Destroy
- return
- OverlaySave:
- StreamTrayTip("TaKe-Binder","Overlay-Settings gespeichert.",2)
- Gui,Overlay: Submit,nohide
- Iniwrite, %HPC%, TaKe-Binder.ini,Settings, HPC
- Iniwrite, %VC%, TaKe-Binder.ini,Settings, VC
- Iniwrite, %PC%, TaKe-Binder.ini,Settings, PC
- Iniwrite, %WC%, TaKe-Binder.ini,Settings, WC
- Iniwrite, %GC%, TaKe-Binder.ini,Settings, GC
- Iniwrite, %DC%, TaKe-Binder.ini,Settings, DC
- Iniwrite, %HPX%, TaKe-Binder.ini,Settings, HPX
- Iniwrite, %HPY%, TaKe-Binder.ini,Settings, HPY
- Iniwrite, %HPSize%, TaKe-Binder.ini,Settings, HPSize
- Iniwrite, %WX%, TaKe-Binder.ini,Settings, WX
- Iniwrite, %WY%, TaKe-Binder.ini,Settings, WY
- Iniwrite, %WSize%, TaKe-Binder.ini,Settings, WSize
- Iniwrite, %GX%, TaKe-Binder.ini,Settings, GX
- Iniwrite, %GY%, TaKe-Binder.ini,Settings, GY
- Iniwrite, %GSize%, TaKe-Binder.ini,Settings, GSize
- Iniwrite, %DX%, TaKe-Binder.ini,Settings, DX
- Iniwrite, %DY%, TaKe-Binder.ini,Settings, DY
- Iniwrite, %DSize%, TaKe-Binder.ini,Settings, DSize
- Iniwrite, %PX%, TaKe-Binder.ini,Settings, PX
- Iniwrite, %PY%, TaKe-Binder.ini,Settings, PY
- Iniwrite, %PSize%, TaKe-Binder.ini,Settings, PSize
- Iniwrite, %VX%, TaKe-Binder.ini,Settings, VX
- Iniwrite, %VY%, TaKe-Binder.ini,Settings, VY
- Iniwrite, %VSize%, TaKe-Binder.ini,Settings, VSize
- IniWrite, %HPF%, TaKe-Binder.ini,Settings,HPF
- IniWrite, %VCF%, TaKe-Binder.ini,Settings,VCF
- IniWrite, %WCF%, TaKe-Binder.ini,Settings,WCF
- IniWrite, %GCF%, TaKe-Binder.ini,Settings,GCF
- IniWrite, %PCF%, TaKe-Binder.ini,Settings,PCF
- IniWrite, %DCF%, TaKe-Binder.ini,Settings,DCF
- return
- OverlayLoad:
- Iniread, HPX, TaKe-Binder.ini,Settings, HPX
- Iniread, HPY, TaKe-Binder.ini,Settings, HPY
- Iniread, HPSize, TaKe-Binder.ini,Settings, HPSize
- Iniread, DX, TaKe-Binder.ini,Settings, DX
- Iniread, DY, TaKe-Binder.ini,Settings, DY
- Iniread, DSize, TaKe-Binder.ini,Settings, DSize
- Iniread, VX, TaKe-Binder.ini,Settings, VX
- Iniread, VY, TaKe-Binder.ini,Settings, VY
- Iniread, VSize, TaKe-Binder.ini,Settings, VSize
- Iniread, PX, TaKe-Binder.ini,Settings, PX
- Iniread, PY, TaKe-Binder.ini,Settings, PY
- Iniread, PSize, TaKe-Binder.ini,Settings, PSize
- Iniread, WX, TaKe-Binder.ini,Settings, WX
- Iniread, WY, TaKe-Binder.ini,Settings, WY
- Iniread, WSize, TaKe-Binder.ini,Settings, WSize
- Iniread, GX, TaKe-Binder.ini,Settings, GX
- Iniread, GY, TaKe-Binder.ini,Settings, GY
- Iniread, GSize, TaKe-Binder.ini,Settings, GSize
- Iniread, HPC, TaKe-Binder.ini,Settings, HPC
- Iniread, WC, TaKe-Binder.ini,Settings, WC
- Iniread, PC, TaKe-Binder.ini,Settings, PC
- Iniread, VC, TaKe-Binder.ini,Settings, VC
- Iniread, GC, TaKe-Binder.ini,Settings, GC
- Iniread, DC, TaKe-Binder.ini,Settings, DC
- Iniread, Wanteds, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- Iniread, Grund, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniread, Zeuge, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- IniRead, HPF, TaKe-Binder.ini, Settings, HPF
- IniRead, VCF, TaKe-Binder.ini, Settings, VCF
- IniRead, WCF, TaKe-Binder.ini, Settings, WCF
- IniRead, PCF, TaKe-Binder.ini, Settings, PCF
- IniRead, GCF, TaKe-Binder.ini, Settings, GCF
- IniRead, DCF, TaKe-Binder.ini, Settings, DCF
- return
- btnkeybinds:
- Gui,Keybinds: Destroy
- gosub, KeybindsLoad
- IfNotEqual,HKEnterExit,
- StringReplace, HKEnterExit, HKEnterExit,~
- IfNotEqual,HKEngine,
- StringReplace, HKEngine, HKEngine,~
- IfNotEqual,HKLock,
- StringReplace, HKLock, HKLock,~
- IfNotEqual,HKLights,
- StringReplace, HKLights, HKLights,~
- IfNotEqual,HKCarlock,
- StringReplace, HKCarlock, HKCarlock,~
- IfNotEqual,HKEngineLock,
- StringReplace, HKEngineLock, HKEngineLock,~
- IfNotEqual,HKTime,
- StringReplace, HKTime, HKTime,~
- IfNotEqual,HKMembers,
- StringReplace, HKMembers, HKMembers,~
- IfNotEqual,HKFriends,
- StringReplace, HKFriends, HKFriends,~
- IfNotEqual,HKNotafk,
- StringReplace, HKNotafk, HKNotafk,~
- IfNotEqual,HKWarinfo,
- StringReplace, HKWarinfo, HKWarinfo,~
- IfNotEqual,HKKnap1,
- StringReplace, HKKnap1, HKKnap1,~
- IfNotEqual,HKKnap2,
- StringReplace, HKKnap2, HKKnap2,~
- IfNotEqual,HKTie,
- StringReplace, HKTie, HKTie,~
- IfNotEqual,HKUntie,
- StringReplace, HKUntie, HKUntie,~
- IfNotEqual,HKSex,
- StringReplace, HKSex, HKSex,~
- IfNotEqual,HKFastfood,
- StringReplace, HKFastfood, HKFastfood,~
- IfNotEqual,HKRepeat,
- StringReplace, HKRepeat, HKRepeat,~
- IfNotEqual,HKFPS20,
- StringReplace, HKFPS20, HKFPS20,~
- IfNotEqual,HKFPS90,
- StringReplace, HKFPS90, HKFPS90,~
- IfNotEqual,HKSuspend,
- StringReplace, HKSuspend, HKSuspend,~
- IfNotEqual,HKHPDL,
- StringReplace, HKHPDL, HKHPDL,~
- IfNotEqual,HKBK,
- StringReplace, HKBK, HKBK,~
- IfNotEqual,HKCTF,
- StringReplace, HKCTF, HKCTF,~
- IfNotEqual,HKGiveUp,
- StringReplace, HKGiveUp, HKGiveUp,~
- IfNotEqual,HKFPos,
- StringReplace, HKFPos, HKFPos,~
- IfNotEqual,HKGebietInfo,
- StringReplace, HKGebietInfo, HKGebietInfo,~
- IfNotEqual,HKFWanted,
- StringReplace, HKFWanted, HKFWanted,~
- IfNotEqual,HKFill,
- StringReplace, HKFill, HKFill,~
- IfNotEqual,HKFillCar,
- StringReplace, HKFillCar, HKFillCar,~
- IfNotEqual,HKCargo,
- StringReplace, HKCargo, HKCargo,~
- IfNotEqual,HKOpenCargo,
- StringReplace, HKOpenCargo, HKOpenCargo,~
- IfNotEqual,HKATMDifferenz,
- StringReplace, HKATMDifferenz, HKATMDifferenz,~
- IfNotEqual,HKWP1,
- StringReplace, HKWP1, HKWP1,~
- IfNotEqual,HKWP2,
- StringReplace, HKWP2, HKWP2,~
- IfNotEqual,HKKillSpruch,
- StringReplace, HKKillSpruch, HKKillSpruch,~
- IfNotEqual,HKKillPlus,
- StringReplace, HKKillPlus, HKKillPlus,~
- IfNotEqual,HKOwn1,
- StringReplace, HKOwn1, HKOwn1,~
- IfNotEqual,HKOwn2,
- StringReplace, HKOwn2, HKOwn2,~
- IfNotEqual,HKOwn3,
- StringReplace, HKOwn3, HKOwn3,~
- IfNotEqual,HKOwn4,
- StringReplace, HKOwn4, HKOwn4,~
- IfNotEqual,HKOwn5,
- StringReplace, HKOwn5, HKOwn5,~
- IfNotEqual,HKOwn6,
- StringReplace, HKOwn6, HKOwn6,~
- IfNotEqual,HKOwn7,
- StringReplace, HKOwn7, HKOwn7,~
- IfNotEqual,HKOwn8,
- StringReplace, HKOwn8, HKOwn8,~
- IfNotEqual,HKOwn9,
- StringReplace, HKOwn9, HKOwn9,~
- IfNotEqual,HKOwn10,
- StringReplace, HKOwn10, HKOwn10,~
- IfNotEqual,HKOwn11,
- StringReplace, HKOwn11, HKOwn11,~
- IfNotEqual,HKOwn12,
- StringReplace, HKOwn12, HKOwn12,~
- Gui,Keybinds: Font,s11,Comic Sans
- Gui,Keybinds: Add, Button, x12 y530 w170 h20 gKeybindsSave, Speichern
- Gui,Keybinds: Add, Tab, x12 y10 w600 h520 , Tasten|Textbinds|Textbinds 2|Waffen|Kills|Eigene Binds|Werbungen
- Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w567, %A_WorkingDir%\back03.png
- Gui,Keybinds: Add, Hotkey, vHKEnterExit x22 y40 w90 h20 , %HKEnterExit%
- Gui,Keybinds: Add, Hotkey, vHKEngine x22 y70 w90 h20 , %HKEngine%
- Gui,Keybinds: Add, Hotkey, vHKLock x22 y100 w90 h20 , %HKLock%
- Gui,Keybinds: Add, Hotkey, vHKLights x22 y130 w90 h20 , %HKLights%
- Gui,Keybinds: Add, Hotkey, vHKCarlock x22 y160 w90 h20 , %HKCarlock%
- Gui,Keybinds: Add, Hotkey, vHKEngineLock x22 y190 w90 h20 , %HKEngineLock%
- Gui,Keybinds: Add, Hotkey, vHKTime x22 y220 w90 h20 , %HKTime%
- Gui,Keybinds: Add, Hotkey, vHKMembers x22 y250 w90 h20 , %HKMembers%
- Gui,Keybinds: Add, Hotkey, vHKFriends x22 y280 w90 h20 , %HKFriends%
- Gui,Keybinds: Add, Hotkey, vHKNotafk x22 y310 w90 h20 , %HKNotafk%
- Gui,Keybinds: Add, Hotkey, vHKWarinfo x22 y340 w90 h20 , %HKWarinfo%
- Gui,Keybinds: Add, Hotkey, vHKKnap1 x22 y370 w90 h20 , %HKKnap1%
- Gui,Keybinds: Add, Hotkey, vHKKnap2 x22 y400 w90 h20 , %HKKnap2%
- Gui,Keybinds: Add, Hotkey, vHKTie x22 y430 w90 h20 , %HKTie%
- Gui,Keybinds: Add, Hotkey, vHKUntie x22 y460 w90 h20 , %HKUntie%
- Gui,Keybinds: Add, Hotkey, vHKSex x22 y490 w90 h20 , %HKSex%
- Gui,Keybinds: Add, Text, x122 y40 w110 h20 , /enter + /exit
- Gui,Keybinds: Add, Text, x122 y70 w110 h20 , /engine
- Gui,Keybinds: Add, Text, x122 y100 w110 h20 , /lock
- Gui,Keybinds: Add, Text, x122 y130 w110 h20 , /lights
- Gui,Keybinds: Add, Text, x122 y160 w110 h20 , /carlock
- Gui,Keybinds: Add, Text, x122 y190 w110 h20 , /engine + /lock
- Gui,Keybinds: Add, Text, x122 y220 w110 h20 , /time
- Gui,Keybinds: Add, Text, x122 y250 w110 h20 , /members
- Gui,Keybinds: Add, Text, x122 y280 w110 h20 , /friends
- Gui,Keybinds: Add, Text, x122 y310 w110 h20 , /notafk
- Gui,Keybinds: Add, Text, x122 y340 w110 h20 , Motorstart vormerken
- Gui,Keybinds: Add, Text, x122 y370 w110 h20 , /kidnap _ _ 0
- Gui,Keybinds: Add, Text, x122 y400 w110 h20 , /kidnap _ _ 1
- Gui,Keybinds: Add, Text, x122 y430 w110 h20 , /tie _
- Gui,Keybinds: Add, Text, x122 y460 w110 h20 , /untie _
- Gui,Keybinds: Add, Text, x122 y490 w110 h20 , /sex _ 1
- Gui,Keybinds: Add, Hotkey, vHKFastfood x262 y40 w90 h20 , %HKFastfood%
- Gui,Keybinds: Add, Hotkey, vHKRepeat x262 y70 w90 h20 , %HKRepeat%
- Gui,Keybinds: Add, Hotkey, vHKFPS20 x262 y100 w90 h20 , %HKFPS20%
- Gui,Keybinds: Add, Hotkey, vHKFPS90 x262 y130 w90 h20 , %HKFPS90%
- Gui,Keybinds: Add, Hotkey, vHKSuspend x262 y160 w90 h20 , %HKSuspend%
- Gui,Keybinds: Add, Hotkey, vHKHPDL x262 y190 w90 h20 , %HKHPDL%
- Gui,Keybinds: Add, Hotkey, vHKBK x262 y220 w90 h20 , %HKBK%
- Gui,Keybinds: Add, Hotkey, vHKCTF x262 y250 w90 h20 , %HKCTF%
- Gui,Keybinds: Add, Hotkey, vHKGiveUp x262 y280 w90 h20 , %HKGiveUp%
- Gui,Keybinds: Add, Hotkey, vHKFPos x262 y310 w90 h20 , %HKFPos%
- Gui,Keybinds: Add, Hotkey, vHKGebietInfo x262 y340 w90 h20 , %HKGebietInfo%
- Gui,Keybinds: Add, Hotkey, vHKFWanted x262 y370 w90 h20 , %HKFWanted%
- Gui,Keybinds: Add, Hotkey, vHKFill x262 y400 w90 h20 , %HKFill%
- Gui,Keybinds: Add, Hotkey, vHKFillCar x262 y430 w90 h20 , %HKFillCar%
- Gui,Keybinds: Add, Hotkey, vHKCargo x262 y460 w90 h20 , %HKCargo%
- Gui,Keybinds: Add, Hotkey, vHKOpenCargo x262 y490 w90 h20 , %HKOpenCargo%
- Gui,Keybinds: Add, Text, x362 y40 w110 h20 , /fastfood _ 1
- Gui,Keybinds: Add, Text, x362 y70 w120 h20 , Letzte Eingabe wdh.
- Gui,Keybinds: Add, Text, x362 y100 w110 h20 , /fpslimit 20
- Gui,Keybinds: Add, Text, x362 y130 w110 h20 , /fpslimit 90
- Gui,Keybinds: Add, Text, x362 y160 w140 h20 , Keybinder Pausieren
- Gui,Keybinds: Add, Text, x362 y190 w110 h20 , HP/DL im Chat
- Gui,Keybinds: Add, Text, x362 y220 w110 h20 , Backup
- Gui,Keybinds: Add, Text, x362 y250 w110 h20 , Finanzausgabe
- Gui,Keybinds: Add, Text, x362 y280 w110 h20 , /giveup
- Gui,Keybinds: Add, Text, x362 y310 w110 h20 , /f Position
- Gui,Keybinds: Add, Text, x362 y340 w110 h20 , /gebietinfo
- Gui,Keybinds: Add, Text, x362 y370 w110 h20 , Wanteds anzeigen
- Gui,Keybinds: Add, Text, x362 y400 w110 h20 , /fill + /getfuel
- Gui,Keybinds: Add, Text, x362 y430 w110 h20 , /fillcar
- Gui,Keybinds: Add, Text, x362 y460 w110 h20 , /cargo
- Gui,Keybinds: Add, Text, x362 y490 w110 h20 , /opencargo
- Gui,Keybinds: Tab, Textbinds
- Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
- Gui,Keybinds: Add, Text, x22 y40 w100 h20 , /gk _
- Gui,Keybinds: Add, Text, x22 y70 w100 h20 , /se
- Gui,Keybinds: Add, Text, x22 y100 w100 h20 , /ff
- Gui,Keybinds: Add, Text, x22 y130 w100 h20 , /as
- Gui,Keybinds: Add, Text, x22 y160 w100 h20 , /ah
- Gui,Keybinds: Add, Text, x22 y190 w100 h20 , /aheal
- Gui,Keybinds: Add, Text, x22 y220 w100 h20 , /adrugs
- Gui,Keybinds: Add, Text, x22 y250 w100 h20 , /arep
- Gui,Keybinds: Add, Text, x22 y280 w100 h20 , /aref
- Gui,Keybinds: Add, Text, x22 y310 w100 h20 , /ud
- Gui,Keybinds: Add, Text, x22 y370 w100 h20 , /gi
- Gui,Keybinds: Add, Text, x22 y400 w100 h20 , /wi
- Gui,Keybinds: Add, Text, x22 y430 w100 h20 , /re
- Gui,Keybinds: Add, Text, x22 y460 w100 h20 , /ein
- Gui,Keybinds: Add, Text, x22 y490 w100 h20 , /aus
- Gui,Keybinds: Add, Text, x132 y40 w100 h20 , Gebaeudekomplex
- Gui,Keybinds: Add, Text, x132 y70 w100 h20 , /sex _ 1
- Gui,Keybinds: Add, Text, x132 y100 w100 h20 , /fastfood _ 1
- Gui,Keybinds: Add, Text, x132 y130 w100 h20 , /accept sex
- Gui,Keybinds: Add, Text, x132 y160 w100 h20 , /accept hotdog
- Gui,Keybinds: Add, Text, x132 y190 w100 h20 , /accept heal
- Gui,Keybinds: Add, Text, x132 y220 w100 h20 , /accept drugs
- Gui,Keybinds: Add, Text, x132 y250 w100 h20 , /accept repair
- Gui,Keybinds: Add, Text, x132 y280 w100 h20 , /accept refill
- Gui,Keybinds: Add, Text, x132 y310 w100 h20 , /usedrugs
- Gui,Keybinds: Add, Text, x132 y340 w100 h20 , /backup
- Gui,Keybinds: Add, Text, x132 y370 w100 h20 , /gebietinfo
- Gui,Keybinds: Add, Text, x132 y400 w100 h20 , /warinfo
- Gui,Keybinds: Add, Text, x132 y430 w140 h20 , SMS zurueckschr.
- Gui,Keybinds: Add, Text, x132 y460 w100 h20 , ATM einzahlen
- Gui,Keybinds: Add, Text, x132 y490 w100 h20 , ATM auszahlen
- Gui,Keybinds: Add, Text, x22 y340 w100 h20 , /bk
- Gui,Keybinds: Add, Text, x252 y40 w100 h20 , /rc
- Gui,Keybinds: Add, Text, x252 y70 w100 h20 , /deagle
- Gui,Keybinds: Add, Text, x252 y100 w100 h20 , /shot
- Gui,Keybinds: Add, Text, x252 y130 w100 h20 , /mp5
- Gui,Keybinds: Add, Text, x252 y160 w100 h20 , /m4
- Gui,Keybinds: Add, Text, x252 y190 w100 h20 , /rifle
- Gui,Keybinds: Add, Text, x252 y220 w100 h20 , /9mm
- Gui,Keybinds: Add, Text, x252 y250 w100 h20 , /sniper
- Gui,Keybinds: Add, Text, x252 y280 w100 h20 , /pa
- Gui,Keybinds: Add, Text, x252 y310 w100 h20 , /op
- Gui,Keybinds: Add, Text, x252 y340 w100 h20 , /mc
- Gui,Keybinds: Add, Text, x252 y370 w100 h20 , /wh
- Gui,Keybinds: Add, Text, x252 y400 w100 h20 , /kd
- Gui,Keybinds: Add, Text, x252 y430 w100 h20 , /dkd
- Gui,Keybinds: Add, Text, x252 y460 w100 h20 , /setdeaths
- Gui,Keybinds: Add, Text, x252 y490 w100 h20 , /setddeaths
- Gui,Keybinds: Add, Text, x362 y40 w100 h20 , /rentcar
- Gui,Keybinds: Add, Text, x362 y70 w100 h20 , /buygun deagle _
- Gui,Keybinds: Add, Text, x362 y100 w100 h20 , /buygun shotgun _
- Gui,Keybinds: Add, Text, x362 y130 w100 h20 , /buygun mp5 _
- Gui,Keybinds: Add, Text, x362 y160 w100 h20 , /buygun m4 _
- Gui,Keybinds: Add, Text, x362 y190 w100 h20 , /buygun rifle _
- Gui,Keybinds: Add, Text, x362 y220 w100 h20 , /buygun 9mm _
- Gui,Keybinds: Add, Text, x362 y250 w100 h20 , /buygun sniper _
- Gui,Keybinds: Add, Text, x362 y280 w120 h20 , Partner fuer Kidnap
- Gui,Keybinds: Add, Text, x362 y310 w120 h20 , Opfer fuer Kidnap
- Gui,Keybinds: Add, Text, x362 y340 w100 h20 , /service medic
- Gui,Keybinds: Add, Text, x362 y370 w120 h20 , /service wheelman
- Gui,Keybinds: Add, Text, x362 y400 w120 h20 , Kills / Deaths
- Gui,Keybinds: Add, Text, x362 y430 w120 h20 , Tages Kills / Deaths
- Gui,Keybinds: Add, Text, x362 y460 w120 h20 , Tode setzen
- Gui,Keybinds: Add, Text, x362 y490 w120 h20 , Tages Tode setzen
- Gui,Keybinds: Tab, Textbinds 2
- Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
- Gui,Keybinds: Add, Text, x22 y40 w100 h20 , /setdrugs
- Gui,Keybinds: Add, Text, x22 y70 w100 h20 , /setused
- Gui,Keybinds: Add, Text, x22 y100 w100 h20 , /drugs
- Gui,Keybinds: Add, Text, x22 y130 w100 h20 , /reset
- Gui,Keybinds: Add, Text, x22 y160 w100 h20 , /d[2-26]
- Gui,Keybinds: Add, Text, x22 y190 w100 h20 , /zinsen
- Gui,Keybinds: Add, Text, x22 y220 w100 h20 , /kstand
- Gui,Keybinds: Add, Text, x22 y250 w100 h20 , /fstand
- Gui,Keybinds: Add, Text, x22 y280 w100 h20 , /gstand
- Gui,Keybinds: Add, Text, x22 y310 w100 h20 , /cd
- Gui,Keybinds: Add, Text, x22 y340 w100 h20 , /rechner
- Gui,Keybinds: Add, Text, x22 y370 w100 h20 , /25k
- Gui,Keybinds: Add, Text, x22 y400 w100 h20 , /50k
- Gui,Keybinds: Add, Text, x22 y430 w100 h20 , /75k
- Gui,Keybinds: Add, Text, x22 y460 w100 h20 , /99k
- Gui,Keybinds: Add, Text, x22 y490 w100 h20 , /150k
- Gui,Keybinds: Add, Text, x132 y40 w100 h20 , Drugs
- Gui,Keybinds: Add, Text, x132 y70 w100 h20 , Used Drugs
- Gui,Keybinds: Add, Text, x132 y100 w100 h20 , Drugsinfo
- Gui,Keybinds: Add, Text, x132 y130 w100 h20 , reset Drugs
- Gui,Keybinds: Add, Text, x132 y160 w100 h20 , /gtake drugs
- Gui,Keybinds: Add, Text, x132 y190 w100 h20 , Zinsen
- Gui,Keybinds: Add, Text, x132 y220 w100 h20 , Finances ff.
- Gui,Keybinds: Add, Text, x132 y250 w100 h20 , Finances /f
- Gui,Keybinds: Add, Text, x132 y280 w100 h20 , Finances /g
- Gui,Keybinds: Add, Text, x132 y310 w100 h20 , Countdown
- Gui,Keybinds: Add, Text, x132 y340 w100 h20 , Multi-Rechner
- Gui,Keybinds: Add, Text, x132 y370 w100 h20 , /atm 25k
- Gui,Keybinds: Add, Text, x132 y400 w100 h20 , /atm 50k
- Gui,Keybinds: Add, Text, x132 y430 w140 h20 , /atm 75k
- Gui,Keybinds: Add, Text, x132 y460 w100 h20 , /atm 99k
- Gui,Keybinds: Add, Text, x132 y490 w100 h20 , /atm 150k
- Gui,Keybinds: Add, Text, x252 y40 w100 h20 , /200k
- Gui,Keybinds: Add, Text, x252 y70 w100 h20 , /300k
- Gui,Keybinds: Add, Text, x252 y100 w100 h20 , /500k
- Gui,Keybinds: Add, Text, x252 y130 w100 h20 , /999k
- Gui,Keybinds: Add, Text, x252 y160 w100 h20 , /conquer
- Gui,Keybinds: Add, Text, x252 y190 w100 h20 , /clearkill
- Gui,Keybinds: Add, Text, x252 y220 w100 h20 , /cleardeath
- Gui,Keybinds: Add, Text, x252 y250 w100 h20 , /idsms
- Gui,Keybinds: Add, Text, x252 y280 w100 h20 , /reload
- Gui,Keybinds: Add, Text, x252 y310 w100 h20 , /napinfo
- Gui,Keybinds: Add, Text, x252 y340 w100 h20 , /killstreak
- Gui,Keybinds: Add, Text, x252 y370 w100 h20 , /tp
- Gui,Keybinds: Add, Text, x252 y400 w100 h20 , /sp
- Gui,Keybinds: Add, Text, x252 y430 w100 h20 , /kills
- Gui,Keybinds: Add, Text, x252 y460 w100 h20 , /deaths
- Gui,Keybinds: Add, Text, x252 y490 w100 h20 , /ovhelp
- Gui,Keybinds: Add, Text, x362 y40 w100 h20 , /atm 200k
- Gui,Keybinds: Add, Text, x362 y70 w100 h20 , /atm 300k
- Gui,Keybinds: Add, Text, x362 y100 w100 h20 , /atm 500k
- Gui,Keybinds: Add, Text, x362 y130 w100 h20 , /atm 999k
- Gui,Keybinds: Add, Text, x362 y160 w100 h20 , Conquerscript
- Gui,Keybinds: Add, Text, x362 y190 w100 h20 , Kill clearen
- Gui,Keybinds: Add, Text, x362 y220 w100 h20 , Tod clearen
- Gui,Keybinds: Add, Text, x362 y250 w100 h20 , /number -> /sms
- Gui,Keybinds: Add, Text, x362 y280 w120 h20 , Keybinder neustart
- Gui,Keybinds: Add, Text, x362 y310 w120 h20 , Napinfo
- Gui,Keybinds: Add, Text, x362 y340 w100 h20 , Killstreak
- Gui,Keybinds: Add, Text, x362 y370 w100 h20 , /takepizza Spam
- Gui,Keybinds: Add, Text, x362 y400 w120 h20 , /sellpizza 2x
- Gui,Keybinds: Add, Text, x362 y430 w120 h20 , Kills - Tages Kills
- Gui,Keybinds: Add, Text, x362 y460 w120 h20 , Tode - Tages Tode
- Gui,Keybinds: Add, Text, x362 y490 w120 h20 , Overlay-Hilfe
- Gui,Keybinds: Tab, Waffen
- Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
- Gui,Keybinds: Add, Text, x32 y100 w140 h20 , /wp1 oder
- Gui,Keybinds: Add, Hotkey, x182 y100 w60 h20 vHKWP1, %HKWP1%
- Gui,Keybinds: Add, Text, x272 y50 w60 h20 , - Waffen -
- Gui,Keybinds: Add, Text, x362 y50 w60 h20 , - Munition -
- Gui,Keybinds: Add, Text, x432 y50 w60 h20 , - Aktiv ? -
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp11% x272 y100 w70 h100 vwp11, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp12% x272 y130 w70 h100 vwp12, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp13% x272 y160 w70 h100 vwp13, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp14% x272 y190 w70 h100 vwp14, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp15% x272 y220 w70 h100 vwp15, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, Edit, x362 y100 w60 h20 vwpa11, %wpa11%
- Gui,Keybinds: Add, Edit, x362 y130 w60 h20 vwpa12, %wpa12%
- Gui,Keybinds: Add, Edit, x362 y160 w60 h20 vwpa13, %wpa13%
- Gui,Keybinds: Add, Edit, x362 y190 w60 h20 vwpa14, %wpa14%
- Gui,Keybinds: Add, Edit, x362 y220 w60 h20 vwpa15, %wpa15%
- Gui,Keybinds: Add, CheckBox,-Checked%wpc11% x432 y100 w70 h20 vwpc11,
- Gui,Keybinds: Add, CheckBox,-Checked%wpc12% x432 y130 w70 h20 vwpc12,
- Gui,Keybinds: Add, CheckBox,-Checked%wpc13% x432 y160 w70 h20 vwpc13,
- Gui,Keybinds: Add, CheckBox,-Checked%wpc14% x432 y190 w70 h20 vwpc14,
- Gui,Keybinds: Add, CheckBox,-Checked%wpc15% x432 y220 w70 h20 vwpc15,
- Gui,Keybinds: Add, Text, x32 y290 w140 h20 , /wp2 oder
- Gui,Keybinds: Add, Hotkey, x182 y290 w60 h20 vHKWP2, %HKWP2%
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp21% x272 y290 w70 h100 vwp21, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp22% x272 y320 w70 h100 vwp22, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp23% x272 y350 w70 h100 vwp23, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp24% x272 y380 w70 h100 vwp24, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, DropDownList,AltSubmit Choose%wp25% x272 y410 w70 h100 vwp25, Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,Keybinds: Add, Edit, x362 y290 w60 h20 vwpa21, %wpa21%
- Gui,Keybinds: Add, Edit, x362 y320 w60 h20 vwpa22, %wpa22%
- Gui,Keybinds: Add, Edit, x362 y350 w60 h20 vwpa23, %wpa23%
- Gui,Keybinds: Add, Edit, x362 y380 w60 h20 vwpa24, %wpa24%
- Gui,Keybinds: Add, Edit, x362 y410 w60 h20 vwpa25, %wpa25%
- Gui,Keybinds: Add, CheckBox,-Checked%wpc21% x432 y290 w70 h20 vwpc21,
- Gui,Keybinds: Add, CheckBox,-Checked%wpc22% x432 y320 w70 h20 vwpc22,
- Gui,Keybinds: Add, CheckBox,-Checked%wpc23% x432 y350 w70 h20 vwpc23,
- Gui,Keybinds: Add, CheckBox,-Checked%wpc24% x432 y380 w70 h20 vwpc24,
- Gui,Keybinds: Add, CheckBox,-Checked%wpc25% x432 y410 w70 h20 vwpc25,
- Gui,Keybinds: Add, Button, x22 y490 w200 h20 gOwnWeaponsGui, Einzelne Waffen belegen
- Gui,Keybinds: Tab, Kills
- Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
- Gui,Keybinds: Add, Hotkey,vHKKillSpruch x32 y90 w70 h20 , %HKKillSpruch%
- Gui,Keybinds: Add, Text, x32 y50 w70 h20 , - Taste -
- Gui,Keybinds: Add, Text, x132 y50 w160 h20 , - Zufallsspruch -
- Gui,Keybinds: Add, Edit,vSpruch1 x132 y90 w330 h20 , %Spruch1%
- Gui,Keybinds: Add, Edit,vSpruch2 x132 y120 w330 h20 , %Spruch2%
- Gui,Keybinds: Add, Edit,vSpruch3 x132 y150 w330 h20 , %Spruch3%
- Gui,Keybinds: Add, Edit,vSpruch4 x132 y180 w330 h20 , %Spruch4%
- Gui,Keybinds: Add, Edit,vSpruch5 x132 y210 w330 h20 , %Spruch5%
- Gui,Keybinds: Add, CheckBox,-Checked%KC1% vKC1 x472 y90 w40 h20 ,
- Gui,Keybinds: Add, CheckBox,-Checked%KC2% vKC2 x472 y120 w40 h20 ,
- Gui,Keybinds: Add, CheckBox,-Checked%KC3% vKC3 x472 y150 w40 h20 ,
- Gui,Keybinds: Add, CheckBox,-Checked%KC4% vKC4 x472 y180 w40 h20 ,
- Gui,Keybinds: Add, CheckBox,-Checked%KC5% vKC5 x472 y210 w40 h20 ,
- Gui,Keybinds: Add, Text, x22 y280 w180 h20 , "/setkills" um Kills zu setzen
- Gui,Keybinds: Add, Hotkey,vHKKillPlus x22 y340 w90 h20 , %HKKillPlus%
- Gui,Keybinds: Add, Edit,vFSpruch x122 y340 w380 h20 , %FSpruch%
- Gui,Keybinds: Add, Text, x22 y310 w90 h20 , Taste
- Gui,Keybinds: Add, Text, x122 y310 w400 h20 , Gangwarkill Spruch. | waLker: Anzahl der Kills wird auto. angehaengt
- Gui,Keybinds: Add, Text, x22 y380 w90 h20 , Aktiviert?
- Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv1% +BackgroundTrans vChatKillspruchAktiv1 x30 y403 w13 h13,
- Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv2% +BackgroundTrans vChatKillspruchAktiv2 x30 y433 w13 h13,
- Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv3% +BackgroundTrans vChatKillspruchAktiv3 x30 y463 w13 h13,
- Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchAktiv4% +BackgroundTrans vChatKillspruchAktiv4 x30 y493 w13 h13,
- Gui,Keybinds: Add, Checkbox, -Checked%ChatKillspruchmain% +BackgroundTrans vChatKillspruchmain x80 y382 w13 h13,
- Gui,Keybinds: Add, Text, x122 y380 w400 h20 , Killspruch der im Chat kommen soll
- Gui,Keybinds: Add, Edit,vChatKillSpruch1 x122 y400 w380 h20 , %ChatKillSpruch1%
- Gui,Keybinds: Add, Edit,vChatKillSpruch2 x122 y430 w380 h20 , %ChatKillSpruch2%
- Gui,Keybinds: Add, Edit,vChatKillSpruch3 x122 y460 w380 h20 , %ChatKillSpruch3%
- Gui,Keybinds: Add, Edit,vChatKillSpruch4 x122 y490 w380 h20 , %ChatKillSpruch4%
- Gui,Keybinds: Tab, Eigene Binds
- Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
- Gui,Keybinds: Add, Text, x32 y40 w100 h20 , - Taste -
- Gui,Keybinds: Add, Text, x162 y40 w120 h20 , - Eigener Bind -
- Gui,Keybinds: Add, Edit, x162 y80 w350 h20 vOwn1, %Own1%
- Gui,Keybinds: Add, Edit, x162 y110 w350 h20 vOwn2, %Own2%
- Gui,Keybinds: Add, Edit, x162 y140 w350 h20 vOwn3, %Own3%
- Gui,Keybinds: Add, Edit, x162 y170 w350 h20 vOwn4, %Own4%
- Gui,Keybinds: Add, Edit, x162 y200 w350 h20 vOwn5, %Own5%
- Gui,Keybinds: Add, Edit, x162 y230 w350 h20 vOwn6, %Own6%
- Gui,Keybinds: Add, Edit, x162 y260 w350 h20 vOwn7, %Own7%
- Gui,Keybinds: Add, Edit, x162 y290 w350 h20 vOwn8, %Own8%
- Gui,Keybinds: Add, Edit, x162 y320 w350 h20 vOwn9, %Own9%
- Gui,Keybinds: Add, Edit, x162 y350 w350 h20 vOwn10, %Own10%
- Gui,Keybinds: Add, Edit, x162 y380 w350 h20 vOwn11, %Own11%
- Gui,Keybinds: Add, Edit, x162 y410 w350 h20 vOwn12, %Own12%
- Gui,Keybinds: Add, Hotkey, x32 y80 w110 h20 vHKOwn1, %HKOwn1%
- Gui,Keybinds: Add, Hotkey, x32 y110 w110 h20 vHKOwn2, %HKOwn2%
- Gui,Keybinds: Add, Hotkey, x32 y140 w110 h20 vHKOwn3, %HKOwn3%
- Gui,Keybinds: Add, Hotkey, x32 y170 w110 h20 vHKOwn4, %HKOwn4%
- Gui,Keybinds: Add, Hotkey, x32 y200 w110 h20 vHKOwn5, %HKOwn5%
- Gui,Keybinds: Add, Hotkey, x32 y230 w110 h20 vHKOwn6, %HKOwn6%
- Gui,Keybinds: Add, Hotkey, x32 y260 w110 h20 vHKOwn7, %HKOwn7%
- Gui,Keybinds: Add, Hotkey, x32 y290 w110 h20 vHKOwn8, %HKOwn8%
- Gui,Keybinds: Add, Hotkey, x32 y320 w110 h20 vHKOwn9, %HKOwn9%
- Gui,Keybinds: Add, Hotkey, x32 y350 w110 h20 vHKOwn10, %HKOwn10%
- Gui,Keybinds: Add, Hotkey, x32 y380 w110 h20 vHKOwn11, %HKOwn11%
- Gui,Keybinds: Add, Hotkey, x32 y410 w110 h20 vHKOwn12, %HKOwn12%
- Gui,Keybinds: Add, Text, x25 y435 w700 h20 , INFO: Du kannst eigene Variabeln einbauen einfach <Variable> in ein Feld schreiben
- Gui,Keybinds: Add, Text, x25 y455 w200 h70 , <HP> => HP`n<FPS> => frames per second`n<ID> => ID`n<Ping> => Ping
- Gui,Keybinds: Add, Text, x215 y455 w205 h70 , <Zone> => Standort`n<Stadt> => Stadt`n<DL> => Fahrzeughealth`n<Carname> => Fahrzeugname
- Gui,Keybinds: Add, Text, x395 y455 w200 h70 , <Username> => Nutzername`n<Wanteds> => Wanteds`n<Drogen> => Drugs
- Gui,Keybinds: Tab, Werbungen
- Gui,Keybinds: Add, Picture,x0 y0 +0x4000000 h556 w557, %A_WorkingDir%\back03.png
- Gui,Keybinds: Add, Text, x32 y80 w100 h20 , /ad1
- Gui,Keybinds: Add, Text, x32 y170 w100 h20 , /ad2
- Gui,Keybinds: Add, Text, x32 y260 w100 h20 , /ad3
- Gui,Keybinds: Add, Text, x32 y350 w100 h20 , /ad4
- Gui,Keybinds: Add, Text, x32 y450 w350 h20 , /adinfo Wiedergibt Ingame die belegten /ad[1-4]
- Gui,Keybinds: Add, Edit, x142 y80 w340 h40 vAD1 , %AD1%
- Gui,Keybinds: Add, Edit, x142 y170 w340 h40 vAD2 , %AD2%
- Gui,Keybinds: Add, Edit, x142 y260 w340 h40 vAD3 , %AD3%
- Gui,Keybinds: Add, Edit, x142 y350 w340 h40 vAD4 , %AD4%
- Gui,Keybinds: Show, x354 y188 h556 w567, Keybinds
- IfNotEqual,HKEnterExit,
- HKEnterExit:= "~" HKEnterExit
- IfNotEqual,HKEngine,
- HKEngine:= "~" HKEngine
- IfNotEqual,HKLock,
- HKLock:= "~" HKLock
- IfNotEqual,HKLights,
- HKLights:= "~" HKLights
- IfNotEqual,HKCarlock,
- HKCarlock:= "~" HKCarlock
- IfNotEqual,HKEngineLock,
- HKEngineLock:= "~" HKEngineLock
- IfNotEqual,HKTime,
- HKTime:= "~" HKTime
- IfNotEqual,HKMembers,
- HKMembers:= "~" HKMembers
- IfNotEqual,HKFriends,
- HKFriends:= "~" HKFriends
- IfNotEqual,HKNotafk,
- HKNotafk:= "~" HKNotafk
- IfNotEqual,HKWarinfo,
- HKWarinfo:= "~" HKWarinfo
- IfNotEqual,HKKnap1,
- HKKnap1:= "~" HKKnap1
- IfNotEqual,HKKnap2,
- HKKnap2:= "~" HKKnap2
- IfNotEqual,HKTie,
- HKTie:= "~" HKTie
- IfNotEqual,HKUntie,
- HKUntie:= "~" HKUntie
- IfNotEqual,HKSex,
- HKSex:= "~" HKSex
- IfNotEqual,HKFastfood,
- HKFastfood:= "~" HKFastfood
- IfNotEqual,HKRepeat,
- HKRepeat:= "~" HKRepeat
- IfNotEqual,HKFPS20,
- HKFPS20:= "~" HKFPS20
- IfNotEqual,HKFPS90,
- HKFPS90:= "~" HKFPS90
- IfNotEqual,HKSuspend,
- HKSuspend:= "~" HKSuspend
- IfNotEqual,HKHPDL,
- HKHPDL:= "~" HKHPDL
- IfNotEqual,HKBK,
- HKBK:= "~" HKBK
- IfNotEqual,HKCTF,
- HKCTF:= "~" HKCTF
- IfNotEqual,HKGiveUp,
- HKGiveUp:= "~" HKGiveUp
- IfNotEqual,HKFPos,
- HKFPos:= "~" HKFPos
- IfNotEqual,HKGebietInfo,
- HKGebietinfo:= "~" HKGebietInfo
- IfNotEqual,HKFWanted,
- HKFWanted:= "~" HKFWanted
- IfNotEqual,HKFill,
- HKFill:= "~" HKFill
- IfNotEqual,HKFillCar,
- HKFillCar:= "~" HKFillCar
- IfNotEqual,HKCargo,
- HKCargo:= "~" HKCargo
- IfNotEqual,HKOpenCargo,
- HKOpenCargo:= "~" HKOpenCargo
- IfNotEqual,HKATMDifferenz,
- HKATMDifferenz:= "~" HKATMDifferenz
- IfNotEqual,HKWP1,
- HKWP1:= "~" HKWP1
- IfNotEqual,HKWP2,
- HKWP2:= "~" HKWP2
- IfNotEqual,HKKillSpruch,
- HKKillSpruch:= "~" HKKillSpruch
- IfNotEqual,HKKillPlus,
- HKKillPlus:= "~" HKKillPlus
- IfNotEqual,HKOwn1,
- HKOwn1:= "~" HKOwn1
- IfNotEqual,HKOwn2,
- HKOwn2:= "~" HKOwn2
- IfNotEqual,HKOwn3,
- HKOwn3:= "~" HKOwn3
- IfNotEqual,HKOwn4,
- HKOwn4:= "~" HKOwn4
- IfNotEqual,HKOwn5,
- HKOwn5:= "~" HKOwn5
- IfNotEqual,HKOwn6,
- HKOwn6:= "~" HKOwn6
- IfNotEqual,HKOwn7,
- HKOwn7:= "~" HKOwn7
- IfNotEqual,HKOwn8,
- HKOwn8:= "~" HKOwn8
- IfNotEqual,HKOwn9,
- HKOwn9:= "~" HKOwn9
- IfNotEqual,HKOwn10,
- HKOwn10:= "~" HKOwn10
- IfNotEqual,HKOwn11,
- HKOwn11:= "~" HKOwn11
- IfNotEqual,HKOwn12,
- HKOwn12:= "~" HKOwn12
- return
- KeybindsGuiClose:
- Gui,Keybinds: Destroy
- return
- KeybindsLoad:
- IfNotEqual,HKEnterExit,
- Hotkey, %HKEnterExit%, lHKEnterExit, Off
- IfNotEqual,HKEngine,
- Hotkey, %HKEngine%, lHKEngine, Off
- IfNotEqual,HKLock,
- Hotkey, %HKLock%, lHKLock, Off
- IfNotEqual,HKLights,
- Hotkey, %HKLights%, lHKLights, Off
- IfNotEqual,HKCarlock,
- Hotkey, %HKCarlock%, lHKCarlock, Off
- IfNotEqual,HKEngineLock,
- Hotkey, %HKEngineLock%, lHKEngineLock, Off
- IfNotEqual,HKTime,
- Hotkey, %HKTime%, lHKTime, Off
- IfNotEqual,HKMembers,
- Hotkey, %HKMembers%, lHKMembers, Off
- IfNotEqual,HKFriends,
- Hotkey, %HKFriends%, lHKFriends, Off
- IfNotEqual,HKNotafk,
- Hotkey, %HKNotafk%, lHKNotafk, Off
- IfNotEqual,HKWarinfo,
- Hotkey, %HKWarinfo%, lHKWarinfo, Off
- IfNotEqual,HKKnap1,
- Hotkey, %HKKnap1%, lHKKnap1, Off
- IfNotEqual,HKKnap2,
- Hotkey, %HKKnap2%, lHKKnap2, Off
- IfNotEqual,HKTie,
- Hotkey, %HKTie%, lHKTie, Off
- IfNotEqual,HKUntie,
- Hotkey, %HKUntie%, lHKUntie, Off
- IfNotEqual,HKSex,
- Hotkey, %HKSex%, lHKSex, Off
- IfNotEqual,HKFastfood,
- Hotkey, %HKFastfood%, lHKFastfood, Off
- IfNotEqual,HKRepeat,
- Hotkey, %HKRepeat%, lHKRepeat, Off
- IfNotEqual,HKFPS20,
- Hotkey, %HKFPS20%, lHKFPS20, Off
- IfNotEqual,HKFPS90,
- Hotkey, %HKFPS90%, lHKFPS90, Off
- IfNotEqual,HKSuspend,
- Hotkey, %HKSuspend%, lHKSuspend, Off
- IfNotEqual,HKHPDL,
- Hotkey, %HKHPDL%, lHKHPDL, Off
- IfNotEqual,HKBK,
- Hotkey, %HKBK%, lHKBK, Off
- IfNotEqual,HKCTF,
- Hotkey, %HKCTF%, lHKCTF, Off
- IfNotEqual,HKGiveUp,
- Hotkey, %HKGiveUp%, lHKGiveUp, Off
- IfNotEqual,HKFPos,
- Hotkey, %HKFPos%, lHKFPos, Off
- IfNotEqual,HKGebietInfo,
- Hotkey, %HKGebietInfo%, lHKGebietInfo, Off
- IfNotEqual,HKFWanted,
- Hotkey, %HKFWanted%, lHKFWanted, Off
- IfNotEqual,HKFill,
- Hotkey, %HKFill%, lHKFill, Off
- IfNotEqual,HKFillCar,
- Hotkey, %HKFillCar%, lHKFillCar, Off
- IfNotEqual,HKCargo,
- Hotkey, %HKCargo%, lHKCargo, Off
- IfNotEqual,HKOpenCargo,
- Hotkey, %HKOpenCargo%, lHKOpenCargo, Off
- IfNotEqual,HKATMDifferenz,
- Hotkey, %HKATMDifferenz%, lHKATMDifferenz, Off
- IfNotEqual,HKWP1,
- Hotkey, %HKWP1%, lHKWP1, Off
- IfNotEqual,HKWP2,
- Hotkey, %HKWP2%, lHKWP2, Off
- IfNotEqual,HKKillSpruch,
- Hotkey, %HKKillSpruch%, lHKKillSpruch, Off
- IfNotEqual,HKKillPlus,
- Hotkey, %HKKillPlus%, lHKKillPlus, Off
- IfNotEqual,HKOwn1,
- Hotkey, %HKOwn1%, lHKOwn1, Off
- IfNotEqual,HKOwn2,
- Hotkey, %HKOwn2%, lHKOwn2, Off
- IfNotEqual,HKOwn3,
- Hotkey, %HKOwn3%, lHKOwn3, Off
- IfNotEqual,HKOwn4,
- Hotkey, %HKOwn4%, lHKOwn4, Off
- IfNotEqual,HKOwn5,
- Hotkey, %HKOwn5%, lHKOwn5, Off
- IfNotEqual,HKOwn6,
- Hotkey, %HKOwn6%, lHKOwn6, Off
- IfNotEqual,HKOwn7,
- Hotkey, %HKOwn7%, lHKOwn7, Off
- IfNotEqual,HKOwn8,
- Hotkey, %HKOwn8%, lHKOwn8, Off
- IfNotEqual,HKOwn9,
- Hotkey, %HKOwn9%, lHKOwn9, Off
- IfNotEqual,HKOwn10,
- Hotkey, %HKOwn10%, lHKOwn10, Off
- IfNotEqual,HKOwn11,
- Hotkey, %HKOwn11%, lHKOwn11, Off
- IfNotEqual,HKOwn12,
- Hotkey, %HKOwn12%, lHKOwn12, Off
- Iniread, HKEnterExit, TaKe-Binder.ini,Wanteds, HKEnterExit
- Iniread, HKEngine, TaKe-Binder.ini,Wanteds, HKEngine
- Iniread, HKLock ,TaKe-Binder.ini,Wanteds, HKLock
- Iniread, HKLights, TaKe-Binder.ini,Wanteds, HKLights
- Iniread, HKCarlock, TaKe-Binder.ini,Wanteds, HKCarlock
- Iniread, HKEngineLock, TaKe-Binder.ini,Wanteds, HKEngineLock
- Iniread, HKTime, TaKe-Binder.ini,Wanteds, HKTime
- Iniread, HKMembers, TaKe-Binder.ini,Wanteds, HKMembers
- Iniread, HKFriends, TaKe-Binder.ini,Wanteds, HKFriends
- Iniread, HKNotafk, TaKe-Binder.ini,Wanteds, HKNotafk
- Iniread, HKWarinfo, TaKe-Binder.ini,Wanteds, HKWarinfo
- Iniread, HKKnap1, TaKe-Binder.ini,Wanteds, HKKnap1
- Iniread, HKKnap2, TaKe-Binder.ini,Wanteds, HKKnap2
- Iniread, HKTie, TaKe-Binder.ini,Wanteds, HKTie
- Iniread, HKUntie, TaKe-Binder.ini,Wanteds, HKUntie
- Iniread, HKSex, TaKe-Binder.ini,Wanteds, HKSex
- Iniread, HKFastfood, TaKe-Binder.ini,Wanteds, HKFastfood
- Iniread, HKRepeat, TaKe-Binder.ini,Wanteds, HKRepeat
- Iniread, HKFPS20, TaKe-Binder.ini,Wanteds, HKFPS20
- Iniread, HKFPS90, TaKe-Binder.ini,Wanteds, HKFPS90
- Iniread, HKSuspend, TaKe-Binder.ini,Wanteds, HKSuspend
- Iniread, HKHPDL, TaKe-Binder.ini,Wanteds, HKHPDL
- Iniread, HKBK, TaKe-Binder.ini,Wanteds, HKBK
- Iniread, HKCTF, TaKe-Binder.ini,Wanteds, HKCTF
- Iniread, HKFPos, TaKe-Binder.ini,Wanteds, HKFPos
- Iniread, HKGebietInfo, TaKe-Binder.ini,Wanteds, HKGebietInfo
- Iniread, HKFWanted, TaKe-Binder.ini,Wanteds, HKFWanted
- Iniread, HKFill, TaKe-Binder.ini,Wanteds, HKFill
- Iniread, HKFillCar, TaKe-Binder.ini,Wanteds, HKFillCar
- Iniread, HKCargo, TaKe-Binder.ini,Wanteds, HKCargo
- Iniread, HKOpenCargo, TaKe-Binder.ini,Wanteds, HKOpenCargo
- Iniread, HKATMDifferenz, TaKe-Binder.ini,Wanteds, HKATMDifferenz
- Iniread, HKWP1, TaKe-Binder.ini,Wanteds, HKWP1
- Iniread, HKWP2, TaKe-Binder.ini,Wanteds, HKWP2
- Iniread, wpa11, TaKe-Binder.ini,Wanteds, wpa11
- Iniread, wpa12, TaKe-Binder.ini,Wanteds, wpa12
- Iniread, wpa13, TaKe-Binder.ini,Wanteds, wpa13
- Iniread, wpa14, TaKe-Binder.ini,Wanteds, wpa14
- Iniread, wpa15, TaKe-Binder.ini,Wanteds, wpa15
- Iniread, wpa21, TaKe-Binder.ini,Wanteds, wpa21
- Iniread, wpa22, TaKe-Binder.ini,Wanteds, wpa22
- Iniread, wpa23, TaKe-Binder.ini,Wanteds, wpa23
- Iniread, wpa24, TaKe-Binder.ini,Wanteds, wpa24
- Iniread, wpa25, TaKe-Binder.ini,Wanteds, wpa25
- Iniread, wpc11, TaKe-Binder.ini,Wanteds, wpc11
- Iniread, wpc12, TaKe-Binder.ini,Wanteds, wpc12
- Iniread, wpc13, TaKe-Binder.ini,Wanteds, wpc13
- Iniread, wpc14, TaKe-Binder.ini,Wanteds, wpc14
- Iniread, wpc15, TaKe-Binder.ini,Wanteds, wpc15
- Iniread, wpc21, TaKe-Binder.ini,Wanteds, wpc21
- Iniread, wpc22, TaKe-Binder.ini,Wanteds, wpc22
- Iniread, wpc23, TaKe-Binder.ini,Wanteds, wpc23
- Iniread, wpc24, TaKe-Binder.ini,Wanteds, wpc24
- Iniread, wpc25, TaKe-Binder.ini,Wanteds, wpc25
- Iniread, wp11, TaKe-Binder.ini,Wanteds, wp11
- Iniread, wp12, TaKe-Binder.ini,Wanteds, wp12
- Iniread, wp13, TaKe-Binder.ini,Wanteds, wp13
- Iniread, wp14, TaKe-Binder.ini,Wanteds, wp14
- Iniread, wp15, TaKe-Binder.ini,Wanteds, wp15
- Iniread, wp21, TaKe-Binder.ini,Wanteds, wp21
- Iniread, wp22, TaKe-Binder.ini,Wanteds, wp22
- Iniread, wp23, TaKe-Binder.ini,Wanteds, wp23
- Iniread, wp24, TaKe-Binder.ini,Wanteds, wp24
- Iniread, wp25, TaKe-Binder.ini,Wanteds, wp25
- Iniread, HKKillPlus, TaKe-Binder.ini,Wanteds, HKKillPlus
- Iniread, HKKillSpruch, TaKe-Binder.ini,Wanteds, HKKillSpruch
- Iniread, Spruch1, TaKe-Binder.ini,Wanteds, Spruch1
- Iniread, Spruch2, TaKe-Binder.ini,Wanteds, Spruch2
- Iniread, Spruch3, TaKe-Binder.ini,Wanteds, Spruch3
- Iniread, Spruch4, TaKe-Binder.ini,Wanteds, Spruch4
- Iniread, Spruch5, TaKe-Binder.ini,Wanteds, Spruch5
- Iniread, FSpruch, TaKe-Binder.ini,Wanteds, FSpruch
- Iniread, ChatKillspruchmain, TaKe-Binder.ini,Wanteds, ChatKillspruchmain, 0
- Iniread, ChatKillspruchaktiv1, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv1, 0
- Iniread, ChatKillspruchaktiv2, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv2, 0
- Iniread, ChatKillspruchaktiv3, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv3, 0
- Iniread, ChatKillspruchaktiv4, TaKe-Binder.ini,Wanteds, ChatKillspruchaktiv4, 0
- Iniread, ChatKillSpruch1, TaKe-Binder.ini,Wanteds, ChatKillSpruch1, Eintragen!
- Iniread, ChatKillSpruch2, TaKe-Binder.ini,Wanteds, ChatKillSpruch2, Eintragen!
- Iniread, ChatKillSpruch3, TaKe-Binder.ini,Wanteds, ChatKillSpruch3, Eintragen!
- Iniread, ChatKillSpruch4, TaKe-Binder.ini,Wanteds, ChatKillSpruch4, Eintragen!
- Iniread, KC1, TaKe-Binder.ini,Wanteds, KC1
- Iniread, KC2, TaKe-Binder.ini,Wanteds, KC2
- Iniread, KC3, TaKe-Binder.ini,Wanteds, KC3
- Iniread, KC4, TaKe-Binder.ini,Wanteds, KC4
- Iniread, KC5, TaKe-Binder.ini,Wanteds, KC5
- Iniread, Own1, TaKe-Binder.ini,Wanteds, Own1
- Iniread, Own2, TaKe-Binder.ini,Wanteds, Own2
- Iniread, Own3, TaKe-Binder.ini,Wanteds, Own3
- Iniread, Own4, TaKe-Binder.ini,Wanteds, Own4
- Iniread, Own5, TaKe-Binder.ini,Wanteds, Own5
- Iniread, Own6, TaKe-Binder.ini,Wanteds, Own6
- Iniread, Own7, TaKe-Binder.ini,Wanteds, Own7
- Iniread, Own8, TaKe-Binder.ini,Wanteds, Own8
- Iniread, Own9, TaKe-Binder.ini,Wanteds, Own9
- Iniread, Own10, TaKe-Binder.ini,Wanteds, Own10
- Iniread, Own11, TaKe-Binder.ini,Wanteds, Own11
- Iniread, Own12, TaKe-Binder.ini,Wanteds, Own12
- Iniread, HKOwn1, TaKe-Binder.ini,Wanteds, HKOwn1
- Iniread, HKOwn2, TaKe-Binder.ini,Wanteds, HKOwn2
- Iniread, HKOwn3, TaKe-Binder.ini,Wanteds, HKOwn3
- Iniread, HKOwn4, TaKe-Binder.ini,Wanteds, HKOwn4
- Iniread, HKOwn5, TaKe-Binder.ini,Wanteds, HKOwn5
- Iniread, HKOwn6, TaKe-Binder.ini,Wanteds, HKOwn6
- Iniread, HKOwn7, TaKe-Binder.ini,Wanteds, HKOwn7
- Iniread, HKOwn8, TaKe-Binder.ini,Wanteds, HKOwn8
- Iniread, HKOwn9, TaKe-Binder.ini,Wanteds, HKOwn9
- Iniread, HKOwn10, TaKe-Binder.ini,Wanteds, HKOwn10
- Iniread, HKOwn11, TaKe-Binder.ini,Wanteds, HKOwn11
- Iniread, HKOwn12, TaKe-Binder.ini,Wanteds, HKOwn12
- Iniread, AD1, TaKe-Binder.ini,Wanteds, AD1
- Iniread, AD2, TaKe-Binder.ini,Wanteds, AD2
- Iniread, AD3, TaKe-Binder.ini,Wanteds, AD3
- Iniread, AD4, TaKe-Binder.ini,Wanteds, AD4
- Iniread, wunschgeld, TaKe-Binder.ini,Wanteds, wunschgeld
- IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead,Drogenlimit, TaKe-Binder.ini,Drogen, Drogenlimit
- IniRead, homespawn,Take-binder.ini, Optionen, Homespawn
- iniread, base1, Take-binder.ini, Optionen, base1
- iniread, MonatTode, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
- iniread, MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
- IniRead,Used, TaKe-Binder.ini,Drogensystem, Used
- IfNotEqual,HKEnterExit,
- HKEnterExit:= "~" HKEnterExit
- IfNotEqual,HKEngine,
- HKEngine:= "~" HKEngine
- IfNotEqual,HKLock,
- HKLock:= "~" HKLock
- IfNotEqual,HKLights,
- HKLights:= "~" HKLights
- IfNotEqual,HKCarlock,
- HKCarlock:= "~" HKCarlock
- IfNotEqual,HKEngineLock,
- HKEngineLock:= "~" HKEngineLock
- IfNotEqual,HKTime,
- HKTime:= "~" HKTime
- IfNotEqual,HKMembers,
- HKMembers:= "~" HKMembers
- IfNotEqual,HKFriends,
- HKFriends:= "~" HKFriends
- IfNotEqual,HKNotafk,
- HKNotafk:= "~" HKNotafk
- IfNotEqual,HKWarinfo,
- HKWarinfo:= "~" HKWarinfo
- IfNotEqual,HKKnap1,
- HKKnap1:= "~" HKKnap1
- IfNotEqual,HKKnap2,
- HKKnap2:= "~" HKKnap2
- IfNotEqual,HKTie,
- HKTie:= "~" HKTie
- IfNotEqual,HKUntie,
- HKUntie:= "~" HKUntie
- IfNotEqual,HKSex,
- HKSex:= "~" HKSex
- IfNotEqual,HKFastfood,
- HKFastfood:= "~" HKFastfood
- IfNotEqual,HKRepeat,
- HKRepeat:= "~" HKRepeat
- IfNotEqual,HKFPS20,
- HKFPS20:= "~" HKFPS20
- IfNotEqual,HKFPS90,
- HKFPS90:= "~" HKFPS90
- IfNotEqual,HKSuspend,
- HKSuspend:= "~" HKSuspend
- IfNotEqual,HKHPDL,
- HKHPDL:= "~" HKHPDL
- IfNotEqual,HKBK,
- HKBK:= "~" HKBK
- IfNotEqual,HKCTF,
- HKCTF:= "~" HKCTF
- IfNotEqual,HKGiveUp,
- HKGiveUp:= "~" HKGiveUp
- IfNotEqual,HKFPos,
- HKFPos:= "~" HKFPos
- IfNotEqual,HKGebietInfo,
- HKGebietinfo:= "~" HKGebietInfo
- IfNotEqual,HKFWanted,
- HKFWanted:= "~" HKFWanted
- IfNotEqual,HKFill,
- HKFill:= "~" HKFill
- IfNotEqual,HKFillCar,
- HKFillCar:= "~" HKFillCar
- IfNotEqual,HKCargo,
- HKCargo:= "~" HKCargo
- IfNotEqual,HKOpenCargo,
- HKOpenCargo:= "~" HKOpenCargo
- IfNotEqual,HKATMDifferenz,
- HKATMDifferenz:= "~" HKATMDifferenz
- IfNotEqual,HKWP1,
- HKWP1:= "~" HKWP1
- IfNotEqual,HKWP2,
- HKWP2:= "~" HKWP2
- IfNotEqual,HKKillSpruch,
- HKKillSpruch:= "~" HKKillSpruch
- IfNotEqual,HKKillPlus,
- HKKillPlus:= "~" HKKillPlus,
- IfNotEqual,HKOwn1,
- HKOwn1:= "~" HKOwn1
- IfNotEqual,HKOwn2,
- HKOwn2:= "~" HKOwn2
- IfNotEqual,HKOwn3,
- HKOwn3:= "~" HKOwn3
- IfNotEqual,HKOwn4,
- HKOwn4:= "~" HKOwn4
- IfNotEqual,HKOwn5,
- HKOwn5:= "~" HKOwn5
- IfNotEqual,HKOwn6,
- HKOwn6:= "~" HKOwn6
- IfNotEqual,HKOwn7,
- HKOwn7:= "~" HKOwn7
- IfNotEqual,HKOwn8,
- HKOwn8:= "~" HKOwn8
- IfNotEqual,HKOwn9,
- HKOwn9:= "~" HKOwn9
- IfNotEqual,HKOwn10,
- HKOwn10:= "~" HKOwn10
- IfNotEqual,HKOwn11,
- HKOwn11:= "~" HKOwn11
- IfNotEqual,HKOwn12,
- HKOwn12:= "~" HKOwn12
- IfNotEqual,HKEnterExit,
- Hotkey, %HKEnterExit%, lHKEnterExit, On
- IfNotEqual,HKEngine,
- Hotkey, %HKEngine%, lHKEngine, On
- IfNotEqual,HKLock,
- Hotkey, %HKLock%, lHKLock, On
- IfNotEqual,HKLights,
- Hotkey, %HKLights%, lHKLights, On
- IfNotEqual,HKCarlock,
- Hotkey, %HKCarlock%, lHKCarlock, On
- IfNotEqual,HKEngineLock,
- Hotkey, %HKEngineLock%, lHKEngineLock, On
- IfNotEqual,HKTime,
- Hotkey, %HKTime%, lHKTime, On
- IfNotEqual,HKMembers,
- Hotkey, %HKMembers%, lHKMembers, On
- IfNotEqual,HKFriends,
- Hotkey, %HKFriends%, lHKFriends, On
- IfNotEqual,HKNotafk,
- Hotkey, %HKNotafk%, lHKNotafk, On
- IfNotEqual,HKWarinfo,
- Hotkey, %HKWarinfo%, lHKWarinfo, On
- IfNotEqual,HKKnap1,
- Hotkey, %HKKnap1%, lHKKnap1, On
- IfNotEqual,HKKnap2,
- Hotkey, %HKKnap2%, lHKKnap2, On
- IfNotEqual,HKTie,
- Hotkey, %HKTie%, lHKTie, On
- IfNotEqual,HKUntie,
- Hotkey, %HKUntie%, lHKUntie, On
- IfNotEqual,HKSex,
- Hotkey, %HKSex%, lHKSex, On
- IfNotEqual,HKFastfood,
- Hotkey, %HKFastfood%, lHKFastfood, On
- IfNotEqual,HKRepeat,
- Hotkey, %HKRepeat%, lHKRepeat, On
- IfNotEqual,HKFPS20,
- Hotkey, %HKFPS20%, lHKFPS20, On
- IfNotEqual,HKFPS90,
- Hotkey, %HKFPS90%, lHKFPS90, On
- IfNotEqual,HKSuspend,
- Hotkey, %HKSuspend%, lHKSuspend, On
- IfNotEqual,HKHPDL,
- Hotkey, %HKHPDL%, lHKHPDL, On
- IfNotEqual,HKBK,
- Hotkey, %HKBK%, lHKBK, On
- IfNotEqual,HKCTF,
- Hotkey, %HKCTF%, lHKCTF, On
- IfNotEqual,HKGiveUp,
- Hotkey, %HKGiveUp%, lHKGiveUp, On
- IfNotEqual,HKFPos,
- Hotkey, %HKFPos%, lHKFPos, On
- IfNotEqual,HKGebietInfo,
- Hotkey, %HKGebietInfo%, lHKGebietInfo, On
- IfNotEqual,HKFWanted,
- Hotkey, %HKFWanted%, lHKFWanted, On
- IfNotEqual,HKFill,
- Hotkey, %HKFill%, lHKFill, On
- IfNotEqual,HKFillCar,
- Hotkey, %HKFillCar%, lHKFillCar, On
- IfNotEqual,HKCargo,
- Hotkey, %HKCargo%, lHKCargo, On
- IfNotEqual,HKOpenCargo,
- Hotkey, %HKOpenCargo%, lHKOpenCargo, On
- IfNotEqual,HKATMDiffernz,
- Hotkey, %HKATMDifferenz%, lHKATMDifferenz, On
- IfNotEqual,HKWP1,
- Hotkey, %HKWP1%, lHKWP1, On
- IfNotEqual,HKWP2,
- Hotkey, %HKWP2%, lHKWP2, On
- IfNotEqual,HKKillSpruch,
- Hotkey, %HKKillSpruch%, lHKKillSpruch, On
- IfNotEqual,HKKillPlus,
- Hotkey, %HKKillPlus%, lHKKillPlus, On
- IfNotEqual,HKOwn1,
- Hotkey, %HKOwn1%, lHKOwn1, On
- IfNotEqual,HKOwn2,
- Hotkey, %HKOwn2%, lHKOwn2, On
- IfNotEqual,HKOwn3,
- Hotkey, %HKOwn3%, lHKOwn3, On
- IfNotEqual,HKOwn4,
- Hotkey, %HKOwn4%, lHKOwn4, On
- IfNotEqual,HKOwn5,
- Hotkey, %HKOwn5%, lHKOwn5, On
- IfNotEqual,HKOwn6,
- Hotkey, %HKOwn6%, lHKOwn6, On
- IfNotEqual,HKOwn7,
- Hotkey, %HKOwn7%, lHKOwn7, On
- IfNotEqual,HKOwn8,
- Hotkey, %HKOwn8%, lHKOwn8, On
- IfNotEqual,HKOwn9,
- Hotkey, %HKOwn9%, lHKOwn9, On
- IfNotEqual,HKOwn10,
- Hotkey, %HKOwn10%, lHKOwn10, On
- IfNotEqual,HKOwn11,
- Hotkey, %HKOwn11%, lHKOwn11, On
- IfNotEqual,HKOwn12,
- Hotkey, %HKOwn12%, lHKOwn12, On
- return
- KeybindsSave:
- IfNotEqual,HKEnterExit,
- Hotkey, %HKEnterExit%, lHKEnterExit, Off
- IfNotEqual,HKEngine,
- Hotkey, %HKEngine%, lHKEngine, Off
- IfNotEqual,HKLock,
- Hotkey, %HKLock%, lHKLock, Off
- IfNotEqual,HKLights,
- Hotkey, %HKLights%, lHKLights, Off
- IfNotEqual,HKCarlock,
- Hotkey, %HKCarlock%, lHKCarlock, Off
- IfNotEqual,HKEngineLock,
- Hotkey, %HKEngineLock%, lHKEngineLock, Off
- IfNotEqual,HKTime,
- Hotkey, %HKTime%, lHKTime, Off
- IfNotEqual,HKMembers,
- Hotkey, %HKMembers%, lHKMembers, Off
- IfNotEqual,HKFriends,
- Hotkey, %HKFriends%, lHKFriends, Off
- IfNotEqual,HKNotafk,
- Hotkey, %HKNotafk%, lHKNotafk, Off
- IfNotEqual,HKWarinfo,
- Hotkey, %HKWarinfo%, lHKWarinfo, Off
- IfNotEqual,HKKnap1,
- Hotkey, %HKKnap1%, lHKKnap1, Off
- IfNotEqual,HKKnap2,
- Hotkey, %HKKnap2%, lHKKnap2, Off
- IfNotEqual,HKTie,
- Hotkey, %HKTie%, lHKTie, Off
- IfNotEqual,HKUntie,
- Hotkey, %HKUntie%, lHKUntie, Off
- IfNotEqual,HKSex,
- Hotkey, %HKSex%, lHKSex, Off
- IfNotEqual,HKFastfood,
- Hotkey, %HKFastfood%, lHKFastfood, Off
- IfNotEqual,HKRepeat,
- Hotkey, %HKRepeat%, lHKRepeat, Off
- IfNotEqual,HKFPS20,
- Hotkey, %HKFPS20%, lHKFPS20, Off
- IfNotEqual,HKFPS90,
- Hotkey, %HKFPS90%, lHKFPS90, Off
- IfNotEqual,HKSuspend,
- Hotkey, %HKSuspend%, lHKSuspend, Off
- IfNotEqual,HKHPDL,
- Hotkey, %HKHPDL%, lHKHPDL, Off
- IfNotEqual,HKBK,
- Hotkey, %HKBK%, lHKBK, Off
- IfNotEqual,HKCTF,
- Hotkey, %HKCTF%, lHKCTF, Off
- IfNotEqual,HKGiveUp,
- Hotkey, %HKGiveUp%, lHKGiveUp, Off
- IfNotEqual,HKFPos,
- Hotkey, %HKFPos%, lHKFPos, Off
- IfNotEqual,HKGebietInfo,
- Hotkey, %HKGebietInfo%, lHKGebietInfo, Off
- IfNotEqual,HKFWanted,
- Hotkey, %HKFWanted%, lHKFWanted, Off
- IfNotEqual,HKFill,
- Hotkey, %HKFill%, lHKFill, Off
- IfNotEqual,HKFillCar,
- Hotkey, %HKFillCar%, lHKFillCar, Off
- IfNotEqual,HKCargo,
- Hotkey, %HKCargo%, lHKCargo, Off
- IfNotEqual,HKOpenCargo,
- Hotkey, %HKOpenCargo%, lHKOpenCargo, Off
- IfNotEqual,HKATMDifferenz,
- Hotkey, %HKATMDifferenz%, lHKATMDifferenz, Off
- IfNotEqual,HKWP1,
- Hotkey, %HKWP1%, lHKWP1, Off
- IfNotEqual,HKWP2,
- Hotkey, %HKWP2%, lHKWP2, Off
- IfNotEqual,HKKillSpruch,
- Hotkey, %HKKillSpruch%, lHKKillSpruch, Off
- IfNotEqual,HKKillPlus,
- Hotkey, %HKKillPlus%, lHKKillPlus, Off
- IfNotEqual,HKOwn1,
- Hotkey, %HKOwn1%, lHKOwn1, Off
- IfNotEqual,HKOwn2,
- Hotkey, %HKOwn2%, lHKOwn2, Off
- IfNotEqual,HKOwn3,
- Hotkey, %HKOwn3%, lHKOwn3, Off
- IfNotEqual,HKOwn4,
- Hotkey, %HKOwn4%, lHKOwn4, Off
- IfNotEqual,HKOwn5,
- Hotkey, %HKOwn5%, lHKOwn5, Off
- IfNotEqual,HKOwn6,
- Hotkey, %HKOwn6%, lHKOwn6, Off
- IfNotEqual,HKOwn7,
- Hotkey, %HKOwn7%, lHKOwn7, Off
- IfNotEqual,HKOwn8,
- Hotkey, %HKOwn8%, lHKOwn8, Off
- IfNotEqual,HKOwn9,
- Hotkey, %HKOwn9%, lHKOwn9, Off
- IfNotEqual,HKOwn10,
- Hotkey, %HKOwn10%, lHKOwn10, Off
- IfNotEqual,HKOwn11,
- Hotkey, %HKOwn11%, lHKOwn11, Off
- IfNotEqual,HKOwn12,
- Hotkey, %HKOwn12%, lHKOwn12, Off
- Gui,Keybinds: Submit, NoHide
- IfNotEqual,HKEnterExit,
- StringReplace, HKEnterExit, HKEnterExit,~
- IfNotEqual,HKEngine,
- StringReplace, HKEngine, HKEngine,~
- IfNotEqual,HKLock,
- StringReplace, HKLock, HKLock,~
- IfNotEqual,HKLights,
- StringReplace, HKLights, HKLights,~
- IfNotEqual,HKCarlock,
- StringReplace, HKCarlock, HKCarlock,~
- IfNotEqual,HKEngineLock,
- StringReplace, HKEngineLock, HKEngineLock,~
- IfNotEqual,HKTime,
- StringReplace, HKTime, HKTime,~
- IfNotEqual,HKMembers,
- StringReplace, HKMembers, HKMembers,~
- IfNotEqual,HKFriends,
- StringReplace, HKFriends, HKFriends,~
- IfNotEqual,HKNotafk,
- StringReplace, HKNotafk, HKNotafk,~
- IfNotEqual,HKWarinfo,
- StringReplace, HKWarinfo, HKWarinfo,~
- IfNotEqual,HKKnap1,
- StringReplace, HKKnap1, HKKnap1,~
- IfNotEqual,HKKnap2,
- StringReplace, HKKnap2, HKKnap2,~
- IfNotEqual,HKTie,
- StringReplace, HKTie, HKTie,~
- IfNotEqual,HKUntie,
- StringReplace, HKUntie, HKUntie,~
- IfNotEqual,HKSex,
- StringReplace, HKSex, HKSex,~
- IfNotEqual,HKFastfood,
- StringReplace, HKFastfood, HKFastfood,~
- IfNotEqual,HKRepeat,
- StringReplace, HKRepeat, HKRepeat,~
- IfNotEqual,HKFPS20,
- StringReplace, HKFPS20, HKFPS20,~
- IfNotEqual,HKFPS90,
- StringReplace, HKFPS90, HKFPS90,~
- IfNotEqual,HKSuspend,
- StringReplace, HKSuspend, HKSuspend,~
- IfNotEqual,HKHPDL,
- StringReplace, HKHPDL, HKHPDL,~
- IfNotEqual,HKBK,
- StringReplace, HKBK, HKBK,~
- IfNotEqual,HKCTF,
- StringReplace, HKCTF, HKCTF,~
- IfNotEqual,HKGiveUp,
- StringReplace, HKGiveUp, HKGiveUp,~
- IfNotEqual,HKFPos,
- StringReplace, HKFPos, HKFPos,~
- IfNotEqual,HKGebietInfo,
- StringReplace, HKGebietInfo, HKGebietInfo,~
- IfNotEqual,HKFWanted,
- StringReplace, HKFWanted, HKFWanted,~
- IfNotEqual,HKFill,
- StringReplace, HKFill, HKFill,~
- IfNotEqual,HKFillCar,
- StringReplace, HKFillCar, HKFillCar,~
- IfNotEqual,HKCargo,
- StringReplace, HKCargo, HKCargo,~
- IfNotEqual,HKOpenCargo,
- StringReplace, HKOpenCargo, HKOpenCargo,~
- IfNotEqual,HKATMDifferenz,
- StringReplace, HKATMDifferenz, HKATMDifferenz,~
- IfNotEqual,HKWP1,
- StringReplace, HKWP1, HKWP1,~
- IfNotEqual,HKWP2,
- StringReplace, HKWP2, HKWP2,~
- IfNotEqual,HKKillSpruch,
- StringReplace, HKKillSpruch, HKKillSpruch,~
- IfNotEqual,HKKillPlus,
- StringReplace, HKKillPlus, HKKillPlus,~
- IfNotEqual,HKOwn1,
- StringReplace, HKOwn1, HKOwn1,~
- IfNotEqual,HKOwn2,
- StringReplace, HKOwn2, HKOwn2,~
- IfNotEqual,HKOwn3,
- StringReplace, HKOwn3, HKOwn3,~
- IfNotEqual,HKOwn4,
- StringReplace, HKOwn4, HKOwn4,~
- IfNotEqual,HKOwn5,
- StringReplace, HKOwn5, HKOwn5,~
- IfNotEqual,HKOwn6,
- StringReplace, HKOwn6, HKOwn6,~
- IfNotEqual,HKOwn7,
- StringReplace, HKOwn7, HKOwn7,~
- IfNotEqual,HKOwn8,
- StringReplace, HKOwn8, HKOwn8,~
- IfNotEqual,HKOwn9,
- StringReplace, HKOwn9, HKOwn9,~
- IfNotEqual,HKOwn10,
- StringReplace, HKOwn10, HKOwn10,~
- IfNotEqual,HKOwn11,
- StringReplace, HKOwn11, HKOwn11,~
- IfNotEqual,HKOwn12,
- StringReplace, HKOwn12, HKOwn12,~
- Iniwrite, %HKEnterExit%, TaKe-Binder.ini,Wanteds, HKEnterExit
- Iniwrite, %HKEngine%, TaKe-Binder.ini,Wanteds, HKEngine
- Iniwrite, %HKLock%, TaKe-Binder.ini,Wanteds, HKLock
- Iniwrite, %HKLights%, TaKe-Binder.ini,Wanteds, HKLights
- Iniwrite, %HKCarlock%, TaKe-Binder.ini,Wanteds, HKCarlock
- Iniwrite, %HKEngineLock%, TaKe-Binder.ini,Wanteds, HKEngineLock
- Iniwrite, %HKTime%, TaKe-Binder.ini,Wanteds, HKTime
- Iniwrite, %HKMembers%, TaKe-Binder.ini,Wanteds, HKMembers
- Iniwrite, %HKFriends%, TaKe-Binder.ini,Wanteds, HKFriends
- Iniwrite, %HKNotafk%, TaKe-Binder.ini,Wanteds, HKNotafk
- Iniwrite, %HKWarinfo%, TaKe-Binder.ini,Wanteds, HKWarinfo
- Iniwrite, %HKKnap1%, TaKe-Binder.ini,Wanteds, HKKnap1
- Iniwrite, %HKKnap2%, TaKe-Binder.ini,Wanteds, HKKnap2
- Iniwrite, %HKTie%, TaKe-Binder.ini,Wanteds, HKTie
- Iniwrite, %HKUntie%, TaKe-Binder.ini,Wanteds, HKUntie
- Iniwrite, %HKSex%, TaKe-Binder.ini,Wanteds, HKSex
- Iniwrite, %HKFastfood%, TaKe-Binder.ini,Wanteds, HKFastfood
- Iniwrite, %HKRepeat%, TaKe-Binder.ini,Wanteds, HKRepeat
- Iniwrite, %HKFPS20%, TaKe-Binder.ini,Wanteds, HKFPS20
- Iniwrite, %HKFPS90%, TaKe-Binder.ini,Wanteds, HKFPS90
- Iniwrite, %HKSuspend%, TaKe-Binder.ini,Wanteds, HKSuspend
- Iniwrite, %HKHPDL%, TaKe-Binder.ini,Wanteds, HKHPDL
- Iniwrite, %HKBK%, TaKe-Binder.ini,Wanteds, HKBK
- Iniwrite, %HKCTF%, TaKe-Binder.ini,Wanteds, HKCTF
- Iniwrite, %HKFPos%, TaKe-Binder.ini,Wanteds, HKFPos
- Iniwrite, %HKGebietInfo%, TaKe-Binder.ini,Wanteds, HKGebietInfo
- Iniwrite, %HKFWanted%, TaKe-Binder.ini,Wanteds, HKFWanted
- Iniwrite, %HKFill%, TaKe-Binder.ini,Wanteds, HKFill
- Iniwrite, %HKFillCar%, TaKe-Binder.ini,Wanteds, HKFillCar
- Iniwrite, %HKCargo%, TaKe-Binder.ini,Wanteds, HKCargo
- Iniwrite, %HKOpenCargo%, TaKe-Binder.ini,Wanteds, HKOpenCargo
- Iniwrite, %HKATMDifferenz%, TaKe-Binder.ini,Wanteds, HKATMDifferenz
- Iniwrite, %HKWP1%, TaKe-Binder.ini,Wanteds, HKWP1
- Iniwrite, %HKWP2%, TaKe-Binder.ini,Wanteds, HKWP2
- Iniwrite, %wpa11%, TaKe-Binder.ini,Wanteds, wpa11
- Iniwrite, %wpa12%, TaKe-Binder.ini,Wanteds, wpa12
- Iniwrite, %wpa13%, TaKe-Binder.ini,Wanteds, wpa13
- Iniwrite, %wpa14%, TaKe-Binder.ini,Wanteds, wpa14
- Iniwrite, %wpa15%, TaKe-Binder.ini,Wanteds, wpa15
- Iniwrite, %wpa21%, TaKe-Binder.ini,Wanteds, wpa21
- Iniwrite, %wpa22%, TaKe-Binder.ini,Wanteds, wpa22
- Iniwrite, %wpa23%, TaKe-Binder.ini,Wanteds, wpa23
- Iniwrite, %wpa24%, TaKe-Binder.ini,Wanteds, wpa24
- Iniwrite, %wpa25%, TaKe-Binder.ini,Wanteds, wpa25
- Iniwrite, %wpc11%, TaKe-Binder.ini,Wanteds, wpc11
- Iniwrite, %wpc12%, TaKe-Binder.ini,Wanteds, wpc12
- Iniwrite, %wpc13%, TaKe-Binder.ini,Wanteds, wpc13
- Iniwrite, %wpc14%, TaKe-Binder.ini,Wanteds, wpc14
- Iniwrite, %wpc15%, TaKe-Binder.ini,Wanteds, wpc15
- Iniwrite, %wpc21%, TaKe-Binder.ini,Wanteds, wpc21
- Iniwrite, %wpc22%, TaKe-Binder.ini,Wanteds, wpc22
- Iniwrite, %wpc23%, TaKe-Binder.ini,Wanteds, wpc23
- Iniwrite, %wpc24%, TaKe-Binder.ini,Wanteds, wpc24
- Iniwrite, %wpc25%, TaKe-Binder.ini,Wanteds, wpc25
- Iniwrite, %wp11%, TaKe-Binder.ini,Wanteds, wp11
- Iniwrite, %wp12%, TaKe-Binder.ini,Wanteds, wp12
- Iniwrite, %wp13%, TaKe-Binder.ini,Wanteds, wp13
- Iniwrite, %wp14%, TaKe-Binder.ini,Wanteds, wp14
- Iniwrite, %wp15%, TaKe-Binder.ini,Wanteds, wp15
- Iniwrite, %wp21%, TaKe-Binder.ini,Wanteds, wp21
- Iniwrite, %wp22%, TaKe-Binder.ini,Wanteds, wp22
- Iniwrite, %wp23%, TaKe-Binder.ini,Wanteds, wp23
- Iniwrite, %wp24%, TaKe-Binder.ini,Wanteds, wp24
- Iniwrite, %wp25%, TaKe-Binder.ini,Wanteds, wp25
- Iniwrite, %HKKillPlus%, TaKe-Binder.ini,Wanteds, HKKillPlus
- Iniwrite, %HKKillSpruch%, TaKe-Binder.ini,Wanteds, HKKillSpruch
- Iniwrite, %Spruch1%, TaKe-Binder.ini,Wanteds, Spruch1
- Iniwrite, %Spruch2%, TaKe-Binder.ini,Wanteds, Spruch2
- Iniwrite, %Spruch3%, TaKe-Binder.ini,Wanteds, Spruch3
- Iniwrite, %Spruch4%, TaKe-Binder.ini,Wanteds, Spruch4
- Iniwrite, %Spruch5%, TaKe-Binder.ini,Wanteds, Spruch5
- Iniwrite, %FSpruch%, TaKe-Binder.ini,Wanteds, FSpruch
- Iniwrite, %ChatKillspruchAktiv1%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv1
- Iniwrite, %ChatKillspruchAktiv2%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv2
- Iniwrite, %ChatKillspruchAktiv3%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv3
- Iniwrite, %ChatKillspruchAktiv4%, TaKe-Binder.ini,Wanteds, ChatKillspruchAktiv4
- Iniwrite, %ChatKillspruchmain%, TaKe-Binder.ini,Wanteds, ChatKillspruchmain
- Iniwrite, %ChatKillSpruch1%, TaKe-Binder.ini,Wanteds, ChatKillSpruch1
- Iniwrite, %ChatKillSpruch2%, TaKe-Binder.ini,Wanteds, ChatKillSpruch2
- Iniwrite, %ChatKillSpruch3%, TaKe-Binder.ini,Wanteds, ChatKillSpruch3
- Iniwrite, %ChatKillSpruch4%, TaKe-Binder.ini,Wanteds, ChatKillSpruch4
- Iniwrite, %KC1%, TaKe-Binder.ini,Wanteds, KC1
- Iniwrite, %KC2%, TaKe-Binder.ini,Wanteds, KC2
- Iniwrite, %KC3%, TaKe-Binder.ini,Wanteds, KC3
- Iniwrite, %KC4%, TaKe-Binder.ini,Wanteds, KC4
- Iniwrite, %KC5%, TaKe-Binder.ini,Wanteds, KC5
- Iniwrite, %Own1%, TaKe-Binder.ini,Wanteds, Own1
- Iniwrite, %Own2%, TaKe-Binder.ini,Wanteds, Own2
- Iniwrite, %Own3%, TaKe-Binder.ini,Wanteds, Own3
- Iniwrite, %Own4%, TaKe-Binder.ini,Wanteds, Own4
- Iniwrite, %Own5%, TaKe-Binder.ini,Wanteds, Own5
- Iniwrite, %Own6%, TaKe-Binder.ini,Wanteds, Own6
- Iniwrite, %Own7%, TaKe-Binder.ini,Wanteds, Own7
- Iniwrite, %Own8%, TaKe-Binder.ini,Wanteds, Own8
- Iniwrite, %Own9%, TaKe-Binder.ini,Wanteds, Own9
- Iniwrite, %Own10%, TaKe-Binder.ini,Wanteds, Own10
- Iniwrite, %Own11%, TaKe-Binder.ini,Wanteds, Own11
- Iniwrite, %Own12%, TaKe-Binder.ini,Wanteds, Own12
- Iniwrite, %HKOwn1%, TaKe-Binder.ini,Wanteds, HKOwn1
- Iniwrite, %HKOwn2%, TaKe-Binder.ini,Wanteds, HKOwn2
- Iniwrite, %HKOwn3%, TaKe-Binder.ini,Wanteds, HKOwn3
- Iniwrite, %HKOwn4%, TaKe-Binder.ini,Wanteds, HKOwn4
- Iniwrite, %HKOwn5%, TaKe-Binder.ini,Wanteds, HKOwn5
- Iniwrite, %HKOwn6%, TaKe-Binder.ini,Wanteds, HKOwn6
- Iniwrite, %HKOwn7%, TaKe-Binder.ini,Wanteds, HKOwn7
- Iniwrite, %HKOwn8%, TaKe-Binder.ini,Wanteds, HKOwn8
- Iniwrite, %HKOwn9%, TaKe-Binder.ini,Wanteds, HKOwn9
- Iniwrite, %HKOwn10%, TaKe-Binder.ini,Wanteds, HKOwn10
- Iniwrite, %HKOwn11%, TaKe-Binder.ini,Wanteds, HKOwn11
- Iniwrite, %HKOwn12%, TaKe-Binder.ini,Wanteds, HKOwn12
- Iniwrite, %AD1%, TaKe-Binder.ini,Wanteds, AD1
- Iniwrite, %AD2%, TaKe-Binder.ini,Wanteds, AD2
- Iniwrite, %AD3%, TaKe-Binder.ini,Wanteds, AD3
- Iniwrite, %AD4%, TaKe-Binder.ini,Wanteds, AD4
- IniWrite, %wunschgeld%, TaKe-Binder.ini,Wanteds, wunschgeld
- StreamTrayTip("TaKe-Binder","Keybinds wurden gespeichert",2)
- IfNotEqual,HKEnterExit,
- HKEnterExit:= "~" HKEnterExit
- IfNotEqual,HKEngine,
- HKEngine:= "~" HKEngine
- IfNotEqual,HKLock,
- HKLock:= "~" HKLock
- IfNotEqual,HKLights,
- HKLights:= "~" HKLights
- IfNotEqual,HKCarlock,
- HKCarlock:= "~" HKCarlock
- IfNotEqual,HKEngineLock,
- HKEngineLock:= "~" HKEngineLock
- IfNotEqual,HKTime,
- HKTime:= "~" HKTime
- IfNotEqual,HKMembers,
- HKMembers:= "~" HKMembers
- IfNotEqual,HKFriends,
- HKFriends:= "~" HKFriends
- IfNotEqual,HKNotafk,
- HKNotafk:= "~" HKNotafk
- IfNotEqual,HKWarinfo,
- HKWarinfo:= "~" HKWarinfo
- IfNotEqual,HKKnap1,
- HKKnap1:= "~" HKKnap1
- IfNotEqual,HKKnap2,
- HKKnap2:= "~" HKKnap2
- IfNotEqual,HKTie,
- HKTie:= "~" HKTie
- IfNotEqual,HKUntie,
- HKUntie:= "~" HKUntie
- IfNotEqual,HKSex,
- HKSex:= "~" HKSex
- IfNotEqual,HKFastfood,
- HKFastfood:= "~" HKFastfood
- IfNotEqual,HKRepeat,
- HKRepeat:= "~" HKRepeat
- IfNotEqual,HKFPS20,
- HKFPS20:= "~" HKFPS20
- IfNotEqual,HKFPS90,
- HKFPS90:= "~" HKFPS90
- IfNotEqual,HKSuspend,
- HKSuspend:= "~" HKSuspend
- IfNotEqual,HKHPDL,
- HKHPDL:= "~" HKHPDL
- IfNotEqual,HKBK,
- HKBK:= "~" HKBK
- IfNotEqual,HKCTF,
- HKCTF:= "~" HKCTF
- IfNotEqual,HKGiveUp,
- HKGiveUp:= "~" HKGiveUp
- IfNotEqual,HKFPos,
- HKFPos:= "~" HKFPos
- IfNotEqual,HKGebietInfo,
- HKGebietInfo:= "~" HKGebietInfo
- IfNotEqual,HKFWanted,
- HKFWanted:= "~" HKFWanted
- IfNotEqual,HKFill,
- HKFill:= "~" HKFill
- IfNotEqual,HKFillCar,
- HKFillCar:= "~" HKFillCar
- IfNotEqual,HKCargo,
- HKCargo:= "~" HKCargo
- IfNotEqual,HKOpenCargo,
- HKOpenCargo:= "~" HKOpenCargo
- IfNotEqual,HKATMDifferenz,
- HKATMDifferenz:= "~" HKATMDifferenz
- IfNotEqual,HKWP1,
- HKWP1:= "~" HKWP1
- IfNotEqual,HKWP2,
- HKWP2:= "~" HKWP2
- IfNotEqual,HKKillSpruch,
- HKKillSpruch:= "~" HKKillSpruch
- IfNotEqual,HKKillPlus,
- HKKillPlus:= "~" HKKillPlus
- IfNotEqual,HKOwn1,
- HKOwn1:= "~" HKOwn1
- IfNotEqual,HKOwn2,
- HKOwn2:= "~" HKOwn2
- IfNotEqual,HKOwn3,
- HKOwn3:= "~" HKOwn3
- IfNotEqual,HKOwn4,
- HKOwn4:= "~" HKOwn4
- IfNotEqual,HKOwn5,
- HKOwn5:= "~" HKOwn5
- IfNotEqual,HKOwn6,
- HKOwn6:= "~" HKOwn6
- IfNotEqual,HKOwn7,
- HKOwn7:= "~" HKOwn7
- IfNotEqual,HKOwn8,
- HKOwn8:= "~" HKOwn8
- IfNotEqual,HKOwn9,
- HKOwn9:= "~" HKOwn9
- IfNotEqual,HKOwn10,
- HKOwn10:= "~" HKOwn10
- IfNotEqual,HKOwn11,
- HKOwn11:= "~" HKOwn11
- IfNotEqual,HKOwn12,
- HKOwn12:= "~" HKOwn12
- IfNotEqual,HKEnterExit,
- Hotkey, %HKEnterExit%, lHKEnterExit, On
- IfNotEqual,HKEngine,
- Hotkey, %HKEngine%, lHKEngine, On
- IfNotEqual,HKLock,
- Hotkey, %HKLock%, lHKLock, On
- IfNotEqual,HKLights,
- Hotkey, %HKLights%, lHKLights, On
- IfNotEqual,HKCarlock,
- Hotkey, %HKCarlock%, lHKCarlock, On
- IfNotEqual,HKEngineLock,
- Hotkey, %HKEngineLock%, lHKEngineLock, On
- IfNotEqual,HKTime,
- Hotkey, %HKTime%, lHKTime, On
- IfNotEqual,HKMembers,
- Hotkey, %HKMembers%, lHKMembers, On
- IfNotEqual,HKFriends,
- Hotkey, %HKFriends%, lHKFriends, On
- IfNotEqual,HKNotafk,
- Hotkey, %HKNotafk%, lHKNotafk, On
- IfNotEqual,HKWarinfo,
- Hotkey, %HKWarinfo%, lHKWarinfo, On
- IfNotEqual,HKKnap1,
- Hotkey, %HKKnap1%, lHKKnap1, On
- IfNotEqual,HKKnap2,
- Hotkey, %HKKnap2%, lHKKnap2, On
- IfNotEqual,HKTie,
- Hotkey, %HKTie%, lHKTie, On
- IfNotEqual,HKUntie,
- Hotkey, %HKUntie%, lHKUntie, On
- IfNotEqual,HKSex,
- Hotkey, %HKSex%, lHKSex, On
- IfNotEqual,HKFastfood,
- Hotkey, %HKFastfood%, lHKFastfood, On
- IfNotEqual,HKRepeat,
- Hotkey, %HKRepeat%, lHKRepeat, On
- IfNotEqual,HKFPS20,
- Hotkey, %HKFPS20%, lHKFPS20, On
- IfNotEqual,HKFPS90,
- Hotkey, %HKFPS90%, lHKFPS90, On
- IfNotEqual,HKSuspend,
- Hotkey, %HKSuspend%, lHKSuspend, On
- IfNotEqual,HKHPDL,
- Hotkey, %HKHPDL%, lHKHPDL, On
- IfNotEqual,HKBK,
- Hotkey, %HKBK%, lHKBK, On
- IfNotEqual,HKCTF,
- Hotkey, %HKCTF%, lHKCTF, On
- IfNotEqual,HKGiveUp,
- Hotkey, %HKGiveUp%, lHKGiveUp, On
- IfNotEqual,HKFPos,
- Hotkey, %HKFPos%, lHKFPos, On
- IfNotEqual,HKGebietInfo,
- Hotkey, %HKGebietInfo%, lHKGebietInfo, On
- IfNotEqual,HKFWanted,
- Hotkey, %HKFWanted%, lHKFWanted, On
- IfNotEqual,HKFill,
- Hotkey, %HKFill%, lHKFill, On
- IfNotEqual,HKFillCar,
- Hotkey, %HKFillCar%, lHKFillCar, On
- IfNotEqual,HKCargo,
- Hotkey, %HKCargo%, lHKCargo, On
- IfNotEqual,HKOpenCargo,
- Hotkey, %HKOpenCargo%, lHKOpenCargo, On
- IfNotEqual,HKATMDifferenz,
- Hotkey, %HKATMDifferenz%, lHKATMDifferenz, On
- IfNotEqual,HKWP1,
- Hotkey, %HKWP1%, lHKWP1, On
- IfNotEqual,HKWP2,
- Hotkey, %HKWP2%, lHKWP2, On
- IfNotEqual,HKKillSpruch,
- Hotkey, %HKKillSpruch%, lHKKillSpruch, On
- IfNotEqual,HKKillPlus,
- Hotkey, %HKKillPlus%, lHKKillPlus, On
- IfNotEqual,HKOwn1,
- Hotkey, %HKOwn1%, lHKOwn1, On
- IfNotEqual,HKOwn2,
- Hotkey, %HKOwn2%, lHKOwn2, On
- IfNotEqual,HKOwn3,
- Hotkey, %HKOwn3%, lHKOwn3, On
- IfNotEqual,HKOwn4,
- Hotkey, %HKOwn4%, lHKOwn4, On
- IfNotEqual,HKOwn5,
- Hotkey, %HKOwn5%, lHKOwn5, On
- IfNotEqual,HKOwn6,
- Hotkey, %HKOwn6%, lHKOwn6, On
- IfNotEqual,HKOwn7,
- Hotkey, %HKOwn7%, lHKOwn7, On
- IfNotEqual,HKOwn8,
- Hotkey, %HKOwn8%, lHKOwn8, On
- IfNotEqual,HKOwn9,
- Hotkey, %HKOwn9%, lHKOwn9, On
- IfNotEqual,HKOwn10,
- Hotkey, %HKOwn10%, lHKOwn10, On
- IfNotEqual,HKOwn11,
- Hotkey, %HKOwn11%, lHKOwn11, On
- IfNotEqual,HKOwn12,
- Hotkey, %HKOwn12%, lHKOwn12, On
- return
- StreamTrayTip(title, text, time)
- {
- timertime := time * 1000
- TrayTip, %title%, %text%, %timertime%, 1
- Settimer, remove_tip, %timertime%
- }
- remove_tip:
- TrayTip
- Settimer, remove_tip, off
- return
- Activity(doing)
- {
- activity_time = [%a_DD%.%a_MM%.%a_YYYY% | %a_hour%:%a_min%]
- fileappend, %activity_time% %doing%`n, logfile.txt
- }
- InitOverlay:
- if(OverlayAktiv == True || OverlayOn == true)
- {
- Organizer("Dein Overlay ist bereits Aktiv.")
- return
- }
- DestroyAllVisual()
- HPFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
- PCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
- WCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
- VCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
- GCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
- DCFC:=[0xFFFFFFFF, 0xFF088A08, 0xFF435CE7, 0xFF1CC496, 0xFF7B039C, 0xFFDF0101, 0xFFFFA600, 0xFFFFEF00, 0xFF00FF2F, 0xFF00ABFF, 0xFFFF725C]
- If(DC == 1)
- {
- infooverlay := TextCreate("Arial", DSize, true, false, DX, DY, DCFC[DCF], "", true, true)
- }
- if(PC == 1)
- {
- Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- If(IsPlayerInAnyInterior()==1)
- {
- Overlay_Pos:= TextCreate("Arial",PSize, 1, 0, PX, PY, PCFC[PCF],"Interior", 1, 1)
- }
- else
- Overlay_Pos:= TextCreate("Arial",PSize, 1, 0, PX, PY, PCFC[PCF],City ", " Zone " ~" RGN_Location() "", 1, 1)
- }
- if(HPC == 1)
- {
- Overlay_HP:= TextCreate("Arial",HPSize, 1, 0, HPX, HPY, HPFC[HPF],GetPlayerHealth(), 1, 1)
- }
- if(VC == 1)
- {
- if(IsVehicleLocked()==1)
- State:= GESCHLOSSEN
- else
- State:= OFFEN
- Overlay_Veh:= TextCreate("Arial",VSize, 1, 0, VX, VY, VCFC[VCF],"Dein Fahrzeug hat " Round(GetVehicleHealth(),0) " DL und ist " State ".", 1, 1)
- }
- if(WC == 1)
- {
- Overlay_Wanted:= TextCreate("Arial",WSize, 1, 0, WX, WY, WCFC[WCF],"Wanted(s): " Wanteds "`nGrund: " Grund "`nZeuge: " Zeuge, 1, 1)
- }
- If(GC == 1)
- {
- Gegner := TextCreate("Arial", GSize, 1, 0, GX, GY, GCFC[GCF], "Niemand`n-----------------------------------`nGegner Online: 0", 1, 1)
- }
- OverlayAktiv := True
- OverlayOn := True
- Organizer("Dein Overlay wurde gestartet.")
- return
- Overlay:
- myhealth := GetPlayerHealth()
- mycardl := GetVehicleHealth()
- myname := getplayername()
- myid := getPlayerIdByName(myname)
- myping := getPlayerPingById(myid)
- mycardl := getVehicleHealth()
- mymoney := getPlayerMoney()
- myfps := GetFrameRate()
- SetParam("use_window", "1")
- SetParam("window", "GTA:SA:MP")
- if(!WinExist("GTA:SA:MP"))
- {
- if(OverlayAktiv)
- {
- DestroyAllVisual()
- OverlayAktiv:= false
- OverlayOn:= false
- }
- GameTextAktiv:= 0
- }
- if(WinActive("GTA:SA:MP"))
- {
- if(GameTextAktiv == 0)
- {
- ret := DllCall("getGametext.dll\Load")
- GameTextAktiv:= 1
- }
- If(!OverlayAktiv)
- {
- gosub, InitOverlay
- return
- }
- if(PC == 1)
- {
- Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- If(IsPlayerInAnyInterior()==1)
- {
- TextSetString(Overlay_Pos,"Interior")
- }
- else
- TextSetString(Overlay_Pos, Zone " ~" RGN_Location() "")
- }
- if(HPC == 1)
- {
- TextSetString(Overlay_HP,"HP: " myhealth " (FPS: " GetframeRate() ") ID: " myid)
- }
- if(VC == 1)
- {
- if(IsPlayerInAnyVehicle() == 1 && GetVehicleHealth() > 0)
- {
- if(VehOverlay == False)
- {
- TextSetShown(Overlay_Veh,1)
- VehOverlay:= True
- }
- if(isPlayerInAnyVehicle() == 1)
- {
- if(getVehicleEngineState() == 1 && isvehiclelocked() == 1)
- {
- Textsetstring(Overlay_Veh, "Fahrzeug AN und ABGESCHLOSSEN! (Fahrzeug-DL: " mycardl ")")
- }
- if(getVehicleEngineState() == 0 && isvehiclelocked() == 1)
- {
- Textsetstring(Overlay_Veh, "Fahrzeug AUS und ABGESCHLOSSEN! (Fahrzeug-DL: " mycardl ")")
- }
- if(getVehicleEngineState() == 1 && isvehiclelocked() == 0)
- {
- Textsetstring(Overlay_Veh, "{DF0101}Fahrzeug AN und AUFGESCHLOSSEN! {FFFFFF}(Fahrzeug-DL: " mycardl ")")
- }
- if(getVehicleEngineState() == 0 && isvehiclelocked() == 0)
- {
- Textsetstring(Overlay_Veh, "Fahrzeug AUS und AUFGESCHLOSSEN! (Fahrzeug-DL: " mycardl ")")
- }
- }
- }
- else
- {
- TextSetShown(Overlay_Veh,0)
- VehOverlay:= False
- }
- }
- if(DC == 1)
- {
- Textsetstring(infooverlay, "Drogen: " drogen "g`nEinnehmbar: " 26 - genommen "g")
- }
- if(WC == 1)
- {
- {
- TextSetString(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: " zeuge "`nVorwarnung: " spamtime)
- if(!secs == 0)
- {
- Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "")
- }
- else
- {
- Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "")
- }
- if(!knastzeit == 0)
- {
- Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "`n`nKnastzeit: " knastzeit " Sekunden (" minutes1 " Minuten) ")
- }
- else
- {
- Textsetstring(Overlay_Wanted, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: "zeuge "`nVorwarnung: " spamtime "")
- }
- }
- }
- }
- if(GC == 1)
- {
- list := ""
- online := 0
- runner := 0
- GegnergehtonlineID := 0
- Loop, read, Gegner.txt
- {
- GegnergehtonlineID ++ 1
- runner++
- if(A_LoopReadLine = "")
- continue
- StringSplit, splitted, A_LoopReadLine, |
- id:= GetPlayerIdByName(splitted1)
- GegnerPing := getPlayerPingById(id)
- if(id != -1)
- {
- list = %list%(%id%) %splitted1% | %splitted2% (Ping: %GegnerPing%)`n
- online++
- }
- Gegnergehtonline := splitted1
- GegnerFraktion := splitted2
- New_IsOnGegner%GegnergehtonlineID% := IsPlayerOnline(Gegnergehtonline)
- If(New_IsOnGegner%GegnergehtonlineID% > Old_IsOnGegner%GegnergehtonlineID%)
- {
- splittedid := GetPlayerIdByName(Gegnergehtonline)
- If(splittedid > -1)
- {
- Organizer("Gegner {5B89CB}" Gegnergehtonline "{FFFFFF} ({5B89CB}" splittedid "{FFFFFF}) | {5B89CB}" splitted2 " {FFFFFF}ist soeben online gegangen")
- }
- }
- If(New_IsOnGegner%GegnergehtonlineID% < Old_IsOnGegner%GegnergehtonlineID%)
- {
- Organizer("Gegner {5B89CB}" Gegnergehtonline " {FFFFFF}| {5B89CB}" splitted2 " {FFFFFF}ist soeben offline gegangen")
- }
- Old_IsOnGegner%GegnergehtonlineID% := New_IsOnGegner%GegnergehtonlineID%
- }
- if(online == 0)
- {
- TextSetString(Gegner, "Niemand`n-----------------------------------`nGegner Online: 0")
- }
- else
- {
- if(OverlayMove == 1)
- {
- TextSetString(Gegner, "Niemand`n-----------------------------------`nGegner Online: 0")
- } else {
- TextSetString(Gegner, list "-----------------------------------`nGegner Online: " online "/" runner "")
- TextSetPos(Gegner, GX, GY - (online * (GSize+3)))
- }
- }
- If(greload=1)
- {
- TextDestroy(Gegner)
- sleep 100
- Gegner := TextCreate("Arial", GSize, 1, 0, GX, GY, GCFC[GCF], "Niemand`n-----------------------------------`nGegner Online: 0", 1, 1)
- greload:=0
- }
- }
- return
- ExitOverlay:
- DestroyAllVisual()
- OverlayAktiv := False
- OverlayOn := False
- Organizer("Dein Overlay wurde beendet.")
- return
- HideOverlay:
- HideAllVisual()
- OverlayOn := False
- Organizer("Dein Overlay ist nun unsichtbar.")
- return
- ShowOverlay:
- ShowAllVisual()
- OverlayOn := True
- Organizer("Dein Overlay ist nun sichtbar.")
- return
- DrogenSystem:
- IfWinNotActive, GTA:SA:MP
- return
- ZeitVar1 := DrogenkofferaumgelegtZeit
- ZeitVar2 := DrogenkofferaumgenommenZeit
- ZeitVar3 := DrogenKaufZeit
- ZeitVar4 := DrogenVerkaufZeit
- ZeitVar5 := DrogenRausZeit
- ZeitVar6 := DrogenGelegtZeit
- ZeitVar7 := DrogenUsedZeit
- ZeitVar8 := DrogenentzugZeit
- ZeitVar9 := AnwaltZeit
- IniRead,genommen, TaKe-Binder.ini,Drogensystem, Used
- IniRead,drogen, TaKe-Binder.ini,Drogensystem, Drogen
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if(InStr(A_LoopReadLine, "] * Du hast") && InStr(A_LoopReadLine, "g Drogen in den Kofferraum gelegt."))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast (\d+)g Drogen in den Kofferraum gelegt\.", kofferraumgelegtedrugs)
- StringReplace, VarBack1, kofferraumgelegtedrugs4, .
- DrogenkofferaumgelegtZeit := kofferraumgelegtedrugs1 kofferraumgelegtedrugs2 kofferraumgelegtedrugs3
- }
- else if(InStr(A_LoopReadLine, "] * Du hast") && InStr(A_LoopReadLine, "g Drogen aus dem Kofferraum genommen."))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast (\d+)g Drogen aus dem Kofferraum genommen\.", kofferraumgenommenedrugs)
- StringReplace, VarBack2, kofferraumgenommenedrugs4, .
- DrogenkofferaumgenommenZeit := kofferraumgenommenedrugs1 kofferraumgenommenedrugs2 kofferraumgenommenedrugs3
- }
- else if(InStr(A_LoopReadLine, "] * Du hast") && InStr(A_LoopReadLine, "für") && InStr(A_LoopReadLine, "von Drogendealer") && InStr(A_LoopReadLine, "gekauft."))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast (.*) Gramm für \$(.*) von Drogendealer (.*) gekauft.", drogenbuy)
- StringReplace, VarBack3, drogenbuy4, .
- DrogenKaufZeit := drogenbuy1 drogenbuy2 drogenbuy3
- }
- else if(InStr(A_LoopReadLine, "hat dir") && InStr(A_LoopReadLine,"Gramm abgekauft, die Summe von"))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] (.*) hat dir (.*) Gramm abgekauft, die Summe von \$(.*) wird zu deinem PayCheck addiert\.", drogenverkaufen)
- StringReplace, VarBack4, drogenverkaufen5, .
- DrogenVerkaufZeit := drogenverkaufen1 drogenverkaufen2 drogenverkaufen3
- }
- else if(InStr(A_LoopReadLine, "Drogen aus der SafeBox genommen!"))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] (.*) Drogen aus der SafeBox genommen\!", drogenrausgenommen)
- StringReplace, VarBack5, drogenrausgenommen4, .
- DrogenRausZeit := drogenrausgenommen1 drogenrausgenommen2 drogenrausgenommen3
- }
- else if(InStr(A_LoopReadLine, "Drogen in der SafeBox hinterlegt!"))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] (.*) Drogen in der SafeBox hinterlegt\!", drogengelagert)
- StringReplace, VarBack6, drogengelagert4, .
- DrogenGelegtZeit := drogengelagert1 drogengelagert2 drogengelagert3
- }
- else if(InStr(A_LoopReadLine, "] * Du hast 2 Gramm Drogen genommen!"))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du hast 2 Gramm Drogen genommen!", drogengenommen)
- DrogenUsedZeit := drogengenommen1 drogengenommen2 drogengenommen3
- }
- else if(InStr(A_LoopReadLine, "] * Du warst in der Entzugsklinik und bist jetzt nicht mehr stoned!"))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \* Du warst in der Entzugsklinik und bist jetzt nicht mehr stoned!", drogenentzug)
- DrogenentzugZeit := drogenentzug1 drogenentzug2 drogenentzug3
- }
- else if Instr(A_LoopReadLine, "] Restzeit deines Anwalts:")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Restzeit deines Anwalts: (.*) Sekunden", zeit)
- AnwaltZeit := zeit1 zeit2 zeit3
- anwalt:=1
- }
- }
- if(ZeitVar1 <> DrogenkofferaumgelegtZeit)
- {
- if(ReadStats_s(text))
- {
- sleep 1100
- drugs := keyForEntry(text, "Drogen")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- drogen := druglss1
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- Organizer("Du hast {DF0101}" varback1 "g {FFFFFF}Drogen verstaut und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei")
- }
- else
- {
- Organizer("Du hast {DF0101}" varback1 "g {FFFFFF}Drogen verstaut und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei")
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar2 <> DrogenkofferaumgenommenZeit)
- {
- if(ReadStats_s(text))
- {
- sleep 1100
- drugs := keyForEntry(text, "Drogen")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- drogen := druglss1
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- Organizer("Du hast {DF0101}" varback2 "g {FFFFFF}Drogen aus dem Kofferraum genommen und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei")
- }
- else
- {
- Organizer("Du hast {DF0101}" varback2 "g {FFFFFF}Drogen aus dem Kofferraum genommen und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei")
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar3 <> DrogenKaufZeit)
- {
- sleep 1100
- if(ReadStats_s(text))
- {
- drugs := keyForEntry(text, "Drogen")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- drogen := druglss1
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- Organizer("Du hast {DF0101}" varback3 "g {FFFFFF}Drogen gekauft und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei")
- }
- else
- {
- Organizer("Du hast {DF0101}" varback3 "g {FFFFFF}Drogen gekauft und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei")
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar4 <> DrogenVerkaufZeit)
- {
- sleep 1100
- if(ReadStats_s(text))
- {
- sleep 1100
- drugs := keyForEntry(text, "Drogen")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- drogen := druglss1
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- Organizer("Du hast {DF0101}" varback4 "g {FFFFFF}Drogen verkauft und noch: {435CE7}" druglss1 "g {FFFFFF}dabei.")
- }
- else
- {
- Organizer("Du hast {DF0101}" varback4 "g {FFFFFF}Drogen verkauft und noch: {435CE7}" . druglss1 . "g {FFFFFF}dabei.")
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar5 <> DrogenRausZeit)
- {
- if(ReadStats_s(text))
- {
- sleep 1100
- drugs := keyForEntry(text, "Drogen")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- drogen := druglss1
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- Organizer("Du hast {DF0101}" varback5 "g {FFFFFF}Drogen herausgenommen und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei.")
- }
- else
- {
- Organizer("Du hast {DF0101}" varback5 "g {FFFFFF}Drogen herausgenommen und derzeit: {435CE7}" . druglss1 . "g {FFFFFF}dabei.")
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar6 <> DrogenGelegtZeit)
- {
- if(ReadStats_s(text))
- {
- sleep 1100
- drugs := keyForEntry(text, "Drogen")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- drogen := druglss1
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
- Organizer("Du hast Drogen {DF0101}" varback6 "g {FFFFFF}in die SafeBox gelegt und noch {435CE7}" druglss1 "g {FFFFFF} dabei")
- }
- else
- {
- Organizer("Du hast Drogen {DF0101}" varback6 "g {FFFFFF}in die SafeBox gelegt und noch {435CE7}" . druglss1 . "g {FFFFFF} dabei")
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar7 <> DrogenUsedZeit)
- {
- if(ReadStats_s(text))
- {
- sleep 1100
- drugs := keyForEntry(text, "Drogen")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- drogen := druglss1
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- genommen += 2
- druglimit--
- druglimit--
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- Iniwrite,%genommen%, TaKe-Binder.ini,Drogensystem, Used
- if(ReadStats_s(text))
- {
- sleep 1100
- drugs := keyForEntry(text, "Drogen")
- RegExMatch(Drugs,"(.*)g \(\+(.*)g\)",druglss)
- drogen := druglss1
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- Iniwrite,%drogen%, TaKe-Binder.ini,Drogensystem, DrogenLost
- Organizer("Du hast insgesamt schon {DF0101}" genommen "g {FFFFFF}Drogen genommen und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei.")
- }
- else
- {
- Organizer("Du hast insgesamt schon {DF0101}" genommen "g {FFFFFF}Drogen genommen und derzeit: {435CE7}" druglss1 "g {FFFFFF}dabei.")
- }
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- Settimer,Drugs,-20000
- }
- else if(ZeitVar8 <> DrogenentzugZeit)
- {
- Iniwrite,0, TaKe-Binder.ini,Drogensystem, Used
- Organizer("Drogenzähler wurde zurückgesetzt")
- Organizer("Schlag einmal gegen die SafeBox um {5B89CB}" Drogenmenge "g {FFFFFF}aus der Box zu nehmen")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar9 <> AnwaltZeit)
- {
- IniWrite,%meinanwalt1%,TaKe-Binder.ini,Anwalt,User
- IniRead,meinanwalt1,TaKe-Binder.ini,Anwalt,User
- Organizer("Restliche Haftstrafe durch Anwalt " meinanwalt1 ": {2EFE9A}" FormatSeconds(zeit4) "")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- return
- Auslesen:
- global CHATMESSAGECOLOR1 := "22CCFF"
- user := getplayername()
- If(!getplayerinteriorid() != "0")
- {
- lastcity := city
- }
- GetChatline(1, Chat1)
- GetChatline(0, Chat0)
- ZeitVar10 := TodZeit
- ZeitVar11 := WantedZeit
- ZeitVar12 := HackerZeit
- ZeitVar13 := WantedClearZeit
- ZeitVar14 := WanClearZeit
- ZeitVar15 := ArrestZeit
- ZeitVar16 := ArrestDownZeit
- ZeitVar17 := HealZeit
- ZeitVar18 := MechaZeit
- ZeitVar19 := MechaRefZeit
- ZeitVar20 := HDZeit
- ZeitVar88 := AutoHD
- ZeitVar21 := WantedGrund
- ZeitVar22 := ZinsZeit
- ZeitVar23 := SMSZeit
- ZeitVar24 := AnwaltZeit
- ZeitVar25 := TakepizzaZeit
- ZeitVar26 := Takepizza2Zeit
- ZeitVar27 := FreiheitZeit
- ZeitVar28 := Wan2ClearZeit
- ZeitVar29 := HelpZeit
- ZeitVar30 := KnastKorrektur
- ZeitVar31 := He1pZeit
- ZeitVar32 := BeschussZeit
- ZeitVar33 := WaffenausgabeZeit1
- ZeitVar34 := HeIpZeit
- ZeitVar35 := FabianSMS
- ZeitVar36 := PayZeit
- ZeitVar37 := BekommenZeit
- ZeitVar38 := OrgZeit
- ZeitVar39 := BlitzerZeit
- ZeitVar40 := SupZeit
- ZeitVar41 := MissionZeit
- ZeitVar42 := EinweisungZeit
- ZeitVar43 := KunZeit
- ZeitVar44 := ÃœberweisungZeit
- ZeitVar45 := Haus1
- ZeitVar46 := Base1
- ZeitVar47 := RobMichzeit
- ZeitVar48 := RobZeit
- ZeitVar49 := HealZeit
- ZeitVar50 := VorwarnungZeit
- ZeitVar51 := TazeZeit
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- If (chatlog_zeile >= A_Index)
- {
- Continue
- }
- else
- {
- If (Instr(A_LoopReadLine,"] Du hast wegen deines Todes $") && !InStr(A_LoopReadLine, "Tode: "))
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\]", tod)
- TodZeit := tod1 tod2 tod3
- streak:=0
- IniWrite, 0, Statistik\statsi.ini, Killstreak, streak
- verlust:=tod4
- }
- if(Instr(A_LoopReadLine, "Du spawnst jetzt in deinem eigenen / gemieteten Haus"))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du spawnst jetzt in deinem eigenen / gemieteten Haus!", house)
- haus1 := house1 house2 house3
- }
- if(haus1 != oldhaus1)
- {
- oldhaus1 := haus1
- iniwrite, %haus1%, Take-binder.ini, Optionen, haus1
- homespawn := 1
- Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
- }
- oldbase1 := base1
- if(Instr(A_LoopReadLine, "Ab jetzt spawnst du wieder am gewohnten Platz!"))
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Ab jetzt spawnst du wieder am gewohnten Platz!", basis)
- base1 := basis1 basis2 basis3
- }
- if(base1 != oldbase1)
- {
- oldbase1 := base1
- iniwrite, %base1%, Take-binder.ini, Optionen, base1
- homespawn := 0
- Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
- }
- else If InStr(A_LoopReadLine," überwiesen.")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Du hast (.*) \(ID (.*)\), \$(.*) überwiesen.",var)
- PayZeit := var1 var2 var3
- PayName := var4
- PayBetrag := var6
- }
- else If InStr(A_LoopReadLine,"du erhältst $")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Du erhältst \$(.*) von (.*) \(ID (.*)\).",varlol)
- BekommenZeit := varlol1 varlol2 varlol3
- BekommenName := varlol5
- BekommenBetrag := varlol4
- }
- else If InStr(A_LoopReadLine, "versucht, " user " auszurauben")
- {
- regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeit)
- RobMichzeit := Zeit1 Zeit2 Zeit3
- }
- else If InStr(A_LoopReadLine,"" getplayername() " versucht")
- {
- regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeitn)
- Robzeit := Zeitn1 Zeitn2 Zeitn3
- }
- else If InStr(A_LoopReadLine, "bietet dir eine Heilung")
- {
- regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeit)
- Healzeit := Zeit1 Zeit2 Zeit3
- }
- chat := substr(A_LoopReadLine, 12)
- if not(InStr(chat, "sagt:"))
- {
- If InStr(A_LoopReadLine, "sofort rechts ran")
- {
- regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Zeit)
- VorWarnungZeit := Zeit1 Zeit2 Zeit3
- }
- }
- If InStr(A_LoopReadLine, "für 30 Sekunden unter Strom gesetzt")
- {
- regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .* wurdest von (.*) für 30 Sekunden unter Strom gesetzt.",Zeit)
- TazeZeit := Zeit1 Zeit2 Zeit3
- TazeName := Zeit4
- }
- Loop, read,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- {
- last_line:=A_LoopReadLine
- }
- if InStr(last_line, "~n~~w~Restliche Haftstrafe:")
- {
- if RegExMatch(last_line, "Restliche Haftstrafe: (\d+) sec", ptime)
- {
- Organizer("Restliche Haftstrafe: " FormatSeconds(Ptime1))
- FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- }
- }
- else If InStr(A_LoopReadLine," in die Organisation eingeladen")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] >> (.*) wurde von (.*) in die Organisation eingeladen.",orginvite)
- OrgZeit := orginvite1 orginvite2 orginvite3
- OrgName := orginvite4
- }
- else If InStr(A_LoopReadLine,"h, Blitzer:")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] .* schneller als (.*)\((.*)\) .* Strafe: \$(.*), (.*)Punkte .* Blitzer\: (.*)\)",blitzer)
- BlitzerZeit := Blitzer1 Blitzer2 Blitzer3
- Blitzer := Blitzer8
- BlitzerKMH := Blitzer5-Blitzer4
- BlitzerPunkte := Blitzer7
- }
- else If InStr(A_LoopReadLine," hat dein Supportticket geöffnet.")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] >>> Admin/Supporter (.*) hat dein Supportticket geöffnet. Per /sup kannst du jetzt direkt mit ihm/ihr schreiben.",admin)
- IniWrite,%admin1%, Take-binder.ini, Optionen,Admin
- SupZeit := admin1 admin2 admin3
- SupName := admin4
- }
- else If InStr(A_LoopReadLine," hat die Mission erfolgreich beendet.")
- {
- regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .* (.*) hat die Mission erfolgreich beendet. Belohnung: (.*) Einflusspunkte",xd)
- MissionZeit := xd1 xd2 xd3
- MissionName := xd4
- MissionPunkte := xd5
- }
- else If InStr(A_LoopReadLine," hat dir eine Einlieferung für")
- {
- regexmatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] .*",Einweisung)
- EinweisungZeit := Einweisung1 Einweisung2 Einweisung3
- }
- else If InStr(A_LoopReadLine,"] Du hast folgendes Verbrechen begangen:")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du hast folgendes Verbrechen begangen: \[(.*)\], Zeuge: (.*)", reason)
- WantedGrund := reason1 reason2 reason3
- Grund:= reason4
- Zeuge:= reason5
- }
- else If InStr(A_LoopReadLine,"] * Aktuelles Wantedlevel:")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Aktuelles Wantedlevel: (.*)" ,wanted)
- WantedZeit := wanted1 wanted2 wanted3
- Wanteds:= wanted4
- }
- else if instr(A_LoopReadLine,"hat sich in deine Polizeiakte gehackt")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] (.*) hat sich in deine Polizeiakte gehackt und (.*) Wanteds entfernt.", hacker)
- HackerZeit := hacker1 hacker2 hacker3
- Hackername:=hacker4
- Hackerwanteds:=hacker5
- NeuWanted:=Wanteds-Hackerwanteds
- Wanteds:=NeuWanted
- }
- else if Instr(A_LoopReadLine,"hat dein Beschusswanted gelöscht. Grund:")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat dein Beschusswanted gelöscht. Grund: (.*)", wclear)
- WantedClearZeit := wclear1 wclear2 wclear3
- Wanteds-=2
- grund:=wclear5
- }
- else if(Instr(A_LoopReadLine,"] * Officer") && Instr(A_LoopReadLine,"hat dir") && Instr(A_LoopReadLine,"Wanted gelöscht. Grund:"))
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat dir (.*) Wanted gelöscht. Grund: (.*)", wanclear)
- WanClearZeit := wanclear1 wanclear2 wanclear3
- Wanteds-=wanclear5
- grund:=wanclear6
- }
- else if(Instr(A_LoopReadLine,"] * Officer") && Instr(A_LoopReadLine,"hat dir") && Instr(A_LoopReadLine,"Wanteds gelöscht. Grund:"))
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat dir (.*) Wanteds gelöscht. Grund: (.*)", wan2clear)
- Wan2ClearZeit := wan2clear1 wan2clear2 wan2clear3
- Wanteds-=wan2clear5
- w2Grund:=wan2clear6
- }
- else if Instr(A_LoopReadLine,"Sekunden eingesperrt. Kaution: nicht möglich")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Du wurdest von (.*) für (.*) Sekunden eingesperrt. Kaution: nicht möglich",arrestknast)
- ArrestZeit := arrestknast1 arrestknast2 arrestknast3
- ArrestName := Arrestknast4
- }
- else if Instr(A_LoopReadLine,"Sekunden eingesperrt und verlierst wegen Flucht und Kill durch einen Polizist")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\].* Du wurdest für (.*) Sekunden eingesperrt und verlierst wegen Flucht und Kill durch einen Polizist \$(.*).",arrestdown)
- StringReplace, VarBack, arrestdown4, .
- ArrestDownZeit := arrestdown1 arrestdown2 arrestdown3
- arrestcop:= varback
- Organizer("" arrestdownzeit "")
- }
- else If InStr(A_LoopReadLine, "bietet dir eine Heilung")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\].*Arzt (.*) bietet .* für \$(.*) an.*" ,heal)
- HealZeit := heal1 heal2 heal3
- HealName := heal4
- HealPreis := Heal5
- }
- else If InStr(line, "Ph:")
- {
- RegExMatch(line, "Name: (.*), Ph: (.*)" ,num)
- LastNum:= num2
- }
- else If InStr(line, "] Werbung: ")
- {
- RegExMatch(line, ", Kontakt: (.*) Tel: (.*)" ,ad)
- adname := ad1
- ADSMS := ad2
- }
- else If InStr(A_LoopReadLine,"bietet dir die Betankung deines Autos mit")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\].* KFZ-Mechaniker (.*) bietet dir die Betankung deines Autos mit (.*) Litern für (.*) an. Gib '/accept refill' ein,",mecha)
- MechaZeit := mecha1 mecha2 mecha3
- }
- else If InStr(A_LoopReadLine,"bietet dir eine Reparatur deines Wagens für")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\].* KFZ-Mechaniker (.*) bietet dir eine Reparatur deines Wagens für (.*) an. Gib '/accept repair' ein, um anzunehmen.",mecharef)
- MechaRefZeit := mecharef1 mecharef2 mecharef3
- }
- else If InStr(A_LoopReadLine," bietet dir einen Hotdog für")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\].*Verkäufer (.*) bietet .* für \$(.*) an.*",AutoHDZeit)
- AutoHDZeit := AutoHDZeit1 AutoHDZeit2 AutoHDZeit3
- }
- else If InStr(A_LoopReadLine,"einen Hotdog verkauft.")
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* (.*) hat (.*) einen Hotdog verkauft.",hd)
- HDZeit := hd1 hd2 hd3
- }
- else If InStr(A_LoopReadLine, "Sender:")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] SMS: (.*), Sender: (.*) \((.*)\)" ,sms)
- SMSZeit:=sms1 sms2 sms3
- }
- else If InStr(A_LoopReadLine, "] Anwalt") && InStr(A_LoopReadLine,"hat dich aus dem Gefgnis geholt")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Anwalt (.*) hat dich aus dem Gefägnis geholt." ,deinanwalt)
- AnwaltZeit:=deinanwalt1 deinanwalt2 deinanwalt3
- Anwalt:=deinanwalt4
- }
- else If InStr(A_LoopReadLine,"] Du hast schon zehn Pizzen dabei, mehr kannst du nicht tragen.")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du hast schon zehn Pizzen dabei, mehr kannst du nicht tragen." ,pizzaZeit)
- TakepizzaZeit:=pizzaZeit1 pizzaZeit2 pizzaZeit3
- }
- else If InStr(A_LoopReadLine,"] Du bist nicht an der Theke eines Well Stacked Pizza")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du bist nicht an der Theke eines Well Stacked Pizza" ,pizza2Zeit)
- Takepizza2Zeit:=pizza2Zeit1 pizza2Zeit2 pizza2Zeit3
- }
- else If InStr(A_LoopReadLine,"] Du hast deine Schuld gegenber der Gesellschaft beglichen.")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Du hast deine Schuld gegenber der Gesellschaft beglichen" ,frei)
- FreiheitZeit:= frei1 frei2 frei3
- }
- else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Benötige Backup in") && Instr(A_LoopReadLine, ". HP:")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Benötige Backup in (.*). HP: (.*). \)\)", help)
- HelpZeit := help1 help2 help3
- HelpName := help5
- HelpCity := help6
- HelpHP := help7
- }
- else If (Instr(A_LoopReadLine, "] * Officer") && Instr(A_LoopReadLine, "hat deine Haftstrafe korrigiert: noch"))
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] \* Officer (.*) hat deine Haftstrafe korrigiert: noch (\d+) Minuten im Knast",mink)
- StringReplace, VarBack, mink5, .
- KnastKorrektur := mink1 mink2 mink3
- }
- else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Brauche dringend Verstrkung in")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Brauche dringend Verstrkung in (.*). HP (.*). \)\)", he1p)
- He1pZeit := he1p1 he1p2 he1p3
- He1pName := he1p5
- He1pCity := he1p6
- }
- else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Benötige Unterstützung in")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Benötige Unterstützung in (.*). HP: (.*). \)\)", heIp)
- HeIpZeit := heIp1 heIp2 heIp3
- HeIpName := heIp5
- HeIpCity := heIp6
- }
- else If Instr(A_LoopReadLine, "] **") && Instr(A_LoopReadLine, ": Ich stehe mit") && Instr(A_LoopReadLine, "HP unter Beschuss in")
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] \** (.*) (.*): Ich stehe mit (.*) HP unter Beschuss in (.*). \)\)", beschuss)
- BeschussZeit := beschuss1 beschuss2 beschuss3
- BeschussName := beschuss5
- BeschussHP := beschuss6
- BeschussCity := beschuss7
- }
- if(Instr(A_LoopReadLine, "Munition für"))
- {
- RegExMatch(A_LoopReadLine, "Du hast dir (.*) mit (.*) Munition für \$(.*) \((.*)\) (.*)", preis)
- StringReplace, waffengelder, preis3, .
- IniRead, WaffengeldTotal, Ausgaben/Ausgaben.ini,Waffengeld, WaffengeldTotal
- IniRead, DWaffengeld, Ausgaben/Ausgaben.ini, Ausgaben vom %TagMonatYahr%.ini,Waffengeld, DWaffengeld
- IniRead, MWaffengeld, Ausgaben/Ausgaben.ini/Ausgaben im %MonatYahr%.ini,Waffengeld, MWaffengeld
- WaffengeldTotal += %waffengelder%
- DWaffengeld += %waffengelder%
- MWaffengeld += %waffengelder%
- Iniwrite, %WaffengeldTotal%, Ausgaben/Ausgaben.ini,Waffengeld, WaffengeldTotal
- Iniwrite, %DWaffengeld%, Ausgaben/Ausgaben.ini, Ausgaben vom %TagMonatYahr%.ini,Waffengeld, DWaffengeld
- Iniwrite, %MWaffengeld%, Ausgaben/Ausgaben.ini/Ausgaben im %MonatYahr%.ini,Waffengeld, MWaffengeld
- }
- if(instr(A_LoopReadLine, "Der Spieler ist in"))
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Der Spieler ist in (.*)", Kun)
- KunZeit := kun1 kun2 kun3
- findPosition:= kun4
- }
- else if(instr(A_LoopReadLine," überwiesen bekommen"))
- {
- RegExMatch(A_LoopReadLine,"i)\[(.*):(.*):(.*)\] Sie haben \$(.*) von (.*) überwiesen bekommen. Grund: (.*)",Überweisung)
- ÃœberweisungZeit := Ãœberweisung1 Ãœberweisung2 Ãœberweisung3
- ÃœberweisungName := Ãœberweisung5
- ÃœberweisungGrund := Ãœberweisung6
- ÃœberweisungBetrag := Ãœberweisung4
- }
- else if(InStr(A_LoopReadLine, "Fabrizio.MeraZ: hi."))
- {
- RegExMatch(A_LoopReadLine, "i)[(.*):(.*):(.*)] \*\* Underboss Fabrizio.MeraZ: hi. \)\) \*\*", fabianhi)
- FabianSMS := fabianhi1 fabianhi2 fabianhi3
- }
- }
- }
- If (ZeitVar10 <> TodZeit)
- {
- Deaths++
- streak:=0
- Iniwrite,0, TaKe-Binder.ini,Drogensystem, Drogen
- Iniwrite,26, TaKe-Binder.ini,Drogen, Drogenlimit
- Iniwrite,0, TaKe-Binder.ini,Drogensystem, Used
- IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
- if(ReadStats(text))
- {
- level := keyForEntry(text, "Level")
- KillsDM := keyForEntry(text, "Kills \(DM\)")
- death := keyForEntry(text, "Tode")
- payday := keyForEntry(text, "Minuten seit Payday")
- bank := keyForEntry(text, "Bank")
- }
- Organizer("Tode: " death " | Heute: " tDeaths "")
- Organizer("Drogen/Killstreak zähler wurde zurückgesetzt")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if (ZeitVar21 <> WantedGrund)
- {
- Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- if(BlockChatInput=1)
- return
- if(wMSG == 1)
- SendChat("Neues Wanted erhalten: Aktuelles Wantedlevel: (" wanteds ") - Grund (" grund ") - Zeuge (" zeuge ")")
- if(wSound == 1)
- SoundBeep,
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else If (ZeitVar11 <> WantedZeit)
- {
- Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- if(BlockChatInput=1)
- return
- if(wMSG == 1)
- SendChat("Ich habe nun (" Wanteds ") Wanteds.")
- if(wSound == 1)
- SoundBeep,
- if(Wanteds == 0)
- {
- Wanteds:= 0
- Grund:= "Unbekannt"
- Zeuge:= "Niemand"
- Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else If (ZeitVar12 <> HackerZeit)
- {
- if(BlockChatInput=1)
- return
- if(wMSG == 1)
- SendChat("Mir wurden soeben (" Hackerwanteds ") Wanteds gehackt. Wantedlevel: (" Wanteds ")")
- if(Wanteds == 0)
- {
- Grund:= "Unbekannt"
- Zeuge:= "Niemand"
- Wanteds:= 0
- Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- }
- if(wSound == 1)
- {
- SoundBeep,
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else If (ZeitVar13 <> WantedClearZeit)
- {
- Iniwrite,%Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- if(BlockChatInput=1)
- return
- if(wMSG == 1)
- SendChat("Mir wurden soeben 2 Wanteds gelöscht. Grund: (" grund ")")
- if(wMSG == 1)
- {
- if(wanteds = 1)
- sendchat("Ich habe nun (1) Wanted")
- else
- sendchat("Ich habe nun (" wanteds ") Wanteds ")
- if(Wanteds == 0)
- {
- Grund:= "Unbekannt"
- Zeuge:= "Niemand"
- Wanteds:= 0
- Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- }
- if(wSound == 1)
- {
- SoundBeep,
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- else If (ZeitVar28 <> Wan2ClearZeit)
- {
- if(BlockChatInput=1)
- return
- if(wMSG == 1)
- SendChat("Mir wurde soeben (" wan2clear5 ") Wanted gelöscht. Grund: (" w2Grund ")")
- if(wMSG == 1)
- SendChat("Aktuelles Wantedlevel: (" Wanteds ")")
- if(Wanteds == 0)
- {
- Grund:= "Unbekannt"
- Zeuge:= "Niemand"
- Wanteds:= 0
- Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- }
- if(wSound == 1)
- {
- SoundBeep,
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else If (ZeitVar14 <> WanClearZeit)
- {
- if(BlockChatInput=1)
- return
- if(wMSG == 1)
- SendChat("Mir wurden soeben (" wanclear5 ") Wanteds gelöscht. Grund: (" grund ")")
- SendChat("Wantedlevel: (" Wanteds ")")
- if(Wanteds == 0)
- {
- Grund:= "Unbekannt"
- Zeuge:= "Niemand"
- Wanteds:= 0
- Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, 0, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- }
- if(wSound == 1)
- {
- SoundBeep,
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else If (ZeitVar15 <> ArrestZeit)
- {
- if(BlockChatInput=1)
- return
- SendChat("/f Wurde von " arrestname " für " Round((arrestknast5 / 60),0) " Minuten ins " lastcity " PD eingesperrt")
- Wanteds:= 0
- Grund:= "Unbekannt"
- Zeuge:= "Niemand"
- Iniwrite, %Unbekannt%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Niemand%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else If (ZeitVar16 <> ArrestDownZeit)
- {
- if(BlockChatInput=1)
- return
- sendchat("/f Wurde von einem Cop erschossen und sitze für " Round((arrestcop / 60),0) " Minuten im " lastcity " PD")
- Wanteds:= 0
- Grund:= "Unbekannt"
- Zeuge:= "Niemand"
- Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else If (ZeitVar17 <> HealZeit)
- {
- if(BlockChatInput=1)
- return
- if(mAuto == 1)
- SendChat("/accept Heal")
- if(mTHX == 1)
- SendChat("Vielen Dank " heal4 ", für die Heilung ")
- if(mTGC == 1)
- SendChat("/pay " healname " " mTG)
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if (ZeitVar18 <> MechaZeit)
- {
- if(BlockChatInput=1)
- return
- if(mechREF == 1)
- SendChat("/accept refill")
- if(mechTHX == 1)
- SendChat("Vielen Dank, " mecha4)
- if(mechTGC == 1)
- SendChat("/pay " mecha4 " " mechTG)
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if (ZeitVar19 <> MechaRefZeit)
- {
- if(BlockChatInput=1)
- return
- if(mechREP == 1)
- SendChat("/accept repair")
- if(mechTHX == 1)
- SendChat("Vielen Dank, " mecharef4)
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if (ZeitVar88 <> AutoHD)
- {
- if(BlockChatInput=1)
- return
- if(AutoHD == 1)
- If (GetPlayerHealth() <= 90)
- {
- SendChat("/Accept Hotdog")
- SendChat("Vielen Dank " AutoHDZeit4 " für den Hotdog zum Preis von $" AutoHDZeit5 "!" )
- }
- else
- {
- SendChat("Vielen Dank " AutoHDZeit4 ", aber ich bin schon satt !")
- }
- }
- else if (ZeitVar20 <> HDZeit)
- {
- EigenerName:=GetPlayerName()
- if(EigenerName == hd4)
- {
- SetTimer,Hotdog,-29000
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar23 <> SMSZeit)
- {
- myName:=GetPlayerName()
- if(sms5 != myName)
- {
- IniWrite,%sms5%,TaKe-Binder.ini,SMS,Name
- IniWrite,%sms6%,TaKe-Binder.ini,SMS,Tel
- SoundPlay, sms.wav
- }
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar24 <> AnwaltZeit)
- {
- Grund:= "Unbekannt"
- Zeuge:= "Niemand"
- Wanteds:= 0
- Iniwrite, %Grund%, TaKe-Binder.ini,Wanteds, Wanted-Grund
- Iniwrite, %Zeuge%, TaKe-Binder.ini,Wanteds, Wanted-Zeuge
- Iniwrite, %Wanteds%, TaKe-Binder.ini,Wanteds, Wanted-Wanteds
- Organizer("Anwalt {00FF04}" Anwalt " {FFFFFF}hat dich aus dem Knast geholt")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar25 <> TakepizzaZeit)
- {
- SetTimer,Takepizza,off
- Organizer("Takepizza gestoppt!")
- tp:=0
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar26 <> Takepizza2Zeit)
- {
- SetTimer,Takepizza,off
- Organizer("Takepizza gestoppt!")
- tp:=0
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar27 <> FreiheitZeit)
- {
- if(BlockChatInput=1)
- return
- Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- SendChat("/f wurde aus dem Prison/Knast entlassen. Standort: " City ", " Zone "")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar29 <> HelpZeit)
- {
- ownname:=GetPlayerName()
- If(HelpName != ownname)
- {
- Organizer("{DF0101}" HelpName " benötigt Backup in " HelpCity " und hat noch " HelpHP " HP")
- SoundBeep,,
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- else if(ZeitVar30 <> KnastKorrektur)
- {
- if(BlockChatInput=1)
- return
- SendChat("/f Haftstrafe von " mink4 " korrigiert: noch " Varback " Minuten im Knast")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar31 <> He1pZeit)
- {
- ownname:=GetPlayerName()
- If(He1pName != ownname)
- {
- Organizer("{DF0101}" He1pName " benötigt Backup in " He1pCity "")
- SoundBeep,,
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- else if(ZeitVar32 <> BeschussZeit)
- {
- ownname:=GetPlayerName()
- If(BeschussName != ownname)
- {
- Organizer("{DF0101}" BeschussName " steht in " BeschussCity " unter Beschuss, und hat noch " BeschussHP " HP")
- SoundBeep,,
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- else if(ZeitVar34 <> HeIpZeit)
- {
- ownname:=GetPlayerName()
- If(HeIpName != ownname)
- {
- Organizer("{DF0101}" HeIpName " benötigt Backup in " HeIpCity " und hat noch " heIp7 " HP")
- SoundBeep,,
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- else if(ZeitVar35 <> FabianSMS)
- {
- SendChat("/sms 4448 Hallo")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar36 <> PayZeit)
- {
- Organizer("Du hast {5B89CB}" PayName "{FFFFFF} , {5B89CB}" PayBetrag " Dollar{FFFFFF} gegeben !")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar37 <> BekommenZeit)
- {
- Organizer("Du hast von {5B89CB}" bekommenname "{FFFFFF} , {5B89CB}" bekommenbetrag " Dollar{FFFFFF} bekommen !")
- Sendchat("Danke " bekommenname ", für die " bekommenbetrag " Dollar")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar38 <> OrgZeit)
- {
- SendChat("/g Willkommen @" orgname " in der Organisation ")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar39 <> BlitzerZeit)
- {
- Organizer("Du wurdest vom {5B89CB}" Blitzer "-Blitzer {FFFFFF}geblitzt! {5B89CB}" BlitzerKMH " {FFFFFF}KM/H zu schnell | Punkte: {5B89CB}" BlitzerPunkte "")
- if(wSound == 1)
- SoundBeep,
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar40 <> SupZeit)
- {
- user := getplayername()
- SendChat("/sup Hallo, [RGN] Team-Mitglied @" SupName ".")
- sleep 100
- SendChat("/sup Mein Name ist " user " - können Sie mir helfen?")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if(ZeitVar41 <> MissionZeit)
- {
- user := getplayername()
- sendchat("/f Die Mission wurde erfolgreich durch " MissionName " beendet. (" MissionPunkte " Punkte)")
- }
- else if(ZeitVar42 <> EinweisungZeit)
- {
- SendChat("Danke für die Einweisung, Herr Doktor")
- sleep 500
- SendChat("/accept einweisung")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if (ZeitVar43 <> KunZeit)
- {
- iniread, fdurchgabe, Take-binder.ini, fdurchgabe, fdurchgabe
- if(fd = true)
- sendchat("/f Der Gegner befindet sich in " findposition)
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if (ZeitVar44 <> ÃœberweisungZeit)
- {
- Organizer("Ãœberweisung von {5B89CB}" ÃœberweisungName " {FFFFFF}erhalten: {5B89CB}$" ÃœberweisungBetrag " {FFFFFF}Grund: {5B89CB}" ÃœberweisungGrund "")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if (ZeitVar45 <> haus1)
- {
- if(haus1 != oldhaus1)
- {
- oldhaus1 := haus1
- iniwrite, %haus1%, Take-binder.ini, Optionen, haus1
- homespawn := 1
- Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- oldbase1 := base1
- }
- else if (ZeitVar46 <> Base1)
- {
- if(base1 != oldbase1)
- {
- oldbase1 := base1
- Organizer("Du spawnst nun in deiner Base ")
- iniwrite, %base1%, Take-binder.ini, Optionen, base1
- homespawn := 0
- Iniwrite, %homespawn%, Take-binder.ini, Optionen, Homespawn
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- else if (ZeitVar47 <> RobMichzeit)
- {
- Organizer("Jemand versucht dich auszurauben. Renn weg !")
- Sleep 1700
- Organizer("»» 7 ««")
- Sleep 1000
- Organizer("»» 6 ««")
- Sleep 1000
- Organizer("»» 5 ««")
- Sleep 1000
- Organizer("»» 4 ««")
- SoundBeep, 400, 200
- Sleep 1000
- Organizer("»» 3 ««")
- SoundBeep, 500, 200
- Sleep 1000
- Organizer("»» 2 ««")
- SoundBeep, 780, 200
- Sleep 1000
- Organizer("»» 1 ««")
- SoundBeep, 880, 200
- Sleep 700
- Organizer("»» Countdown [ENDE] «« !")
- SoundBeep, 1100, 950
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if (ZeitVar48 <> Robzeit)
- {
- Organizer("Du versuchst jemanden auszurauben. Bleib dran !")
- Sleep 1700
- Organizer("»» 7 ««")
- Sleep 1000
- Organizer("»» 6 ««")
- Sleep 1000
- Organizer("»» 5 ««")
- Sleep 1000
- Organizer("»» 4 ««")
- SoundBeep, 400, 200
- Sleep 1000
- Organizer("»» 3 ««")
- SoundBeep, 500, 200
- Sleep 1000
- Organizer("»» 2 ««")
- SoundBeep, 780, 200
- Sleep 1000
- Organizer("»» 1 ««")
- SoundBeep, 880, 200
- Sleep 700
- Organizer("»» Countdown [ENDE] «« !")
- SoundBeep, 1100, 950
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- else if (ZeitVar49 <> Healzeit)
- {
- SendChat("/accept heal")
- SendChat("Vielen Dank!")
- }
- else if (ZeitVar50 <> VorWarnungZeit)
- {
- Spamtime := A_Hour ":" A_Min ":" A_Sec
- SoundPlay, vorwarnung.wav
- Organizer("{5B89CB} Organizer {FFFFFF}Vorwarnung registriert !")
- }
- if (ZeitVar51 <> TazeZeit)
- {
- If (IsPlayerInAnyInterior() == 0)
- {
- SendChat("/f >> Wurde von " tazename " in " zone " getazed ! <<")
- }
- else
- If (IsPlayerInAnyInterior() ==1)
- {
- SendChat("/f >> Wurde von " tazename " in einem Interior getazed ! <<")
- }
- }
- return
- warten2:
- if(IsPlayerInAnyVehicle() = 1)
- {
- settimer, warten2, off
- sleep 50
- SendChat("/engine")
- SendChat("/lock")
- }
- return
- Piepen:
- SoundBeep, 400, 200
- Sleep, 900
- SoundBeep, 500, 200
- Sleep, 900
- SoundBeep, 780, 200
- Sleep, 900
- SoundBeep, 880, 200
- Sleep, 900
- bctime := 0
- SoundBeep, 1100, 950
- Sleep, 50
- Settimer, Piepen, off
- return
- endtimer:
- endtime--
- if(endtime == 1)
- {
- spamtime =
- Organizer("Du kannst wieder gehackt werden!")
- settimer, endtimer, off
- }
- return
- aktiv:
- SendChat("Tarnung aktiv!")
- sleep 15000
- Organizer("Deine Tarnung ist nur noch 30 Sekunden aktiv!")
- sleep 15000
- Organizer("Deine Tarnung ist nur noch 15 Sekunden aktiv!")
- sleep 14000
- SendChat("Tarnung erloschen!")
- settimer, aktiv, off
- return
- Carlowdl:
- if(isPlayerInAnyVehicle() == 0)
- {
- return
- }
- Cardl := GetVehicleHealth()
- If( Cardl < 350)
- {
- if(beep == 1)
- SoundBeep
- Organizer("Dein Fahrzeug hat LOW-DL (" GetVehicleHealth() "DL)")
- SetTimer, Carlowdl, 120000
- }
- Suspend Off
- return
- 250dl:
- if(isPlayerInAnyVehicle() == 0)
- {
- return
- }
- Cardl := GetVehicleHealth()
- If( Cardl < 251)
- {
- SoundBeep
- Organizer("Hau rein du Unfähiger dein Fahrzeug brennt :(")
- Organizer("»» 5 ««")
- Sleep 1000
- Organizer("»» 4 ««")
- Sleep 1000
- Organizer("»» 3 ««")
- Sleep 1000
- Organizer("»» 2 ««")
- Sleep 1000
- Organizer("»» 1 ««")
- Sleep 700
- Organizer("»» Fahrzeug ist nun explodiert! ««")
- SetTimer, 250dl, 15000
- }
- Suspend Off
- return
- mordmeldung:
- if(ReadStats(text))
- {
- level := keyForEntry(text, "Level")
- KillsDM := keyForEntry(text, "Kills \(DM\)")
- death := keyForEntry(text, "Tode")
- payday := keyForEntry(text, "Minuten seit Payday")
- bank := keyForEntry(text, "Bank")
- }
- RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
- kills := kills1
- tKills +=1
- streak+=1
- MonatKills +=1
- {
- If(IsPlayerInAnyInterior()==1)
- {
- SendChat("/f " FSpruch " in einem Interior | Kills: " Kills " - Heute: " tKills)
- }
- else
- {
- SendChat("/f " FSpruch " in " zone " | Kills: " Kills " - Heute: " tKills)
- }
- If(ChatKillspruchmain = 1)
- {
- Sleep, 500
- gosub, RandomSpruch
- }
- if(Killstreak == 1)
- {
- if(streak=3)
- {
- SendChat("/f »» 3er «« | Killstreak erreicht!")
- }
- else if(streak=6)
- {
- SendChat("/f »» 6er «« | Killstreak erreicht!")
- }
- else if(streak=9)
- {
- SendChat("/f >> 9er «« | Killstreak erreicht!")
- }
- else if(streak=12)
- {
- SendChat("/f >> 12er «« | Killstreak erreicht!")
- }
- else if(streak=15)
- {
- SendChat("/f >> 15er «« | Killstreak erreicht!")
- }
- else if(streak=18)
- {
- SendChat("/f >> 18er «« | Killstreak erreicht!")
- }
- else if(streak=21)
- {
- SendChat("/f >> 21er «« | Killstreak erreicht!")
- }
- else if(streak=24)
- {
- SendChat("/f >> 24er «« | Killstreak erreicht!")
- }
- }
- }
- IniWrite, %tKills%, Statistik\statsi.ini, Tageskills,tkills
- StringReplace, VarBack, Kills, .
- StringReplace, VarBack1, Tode, .
- Iniwrite,%MonatKills%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
- IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
- IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
- KD := gangwarkills / tode
- Organizer("Tages Kills: {5B89CB}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {5B89CB}" kills "{FF6E00}|{FFFFFF} K/D: {5B89CB}" KD "")
- sleep, 3100
- FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- settimer, mordmeldung, off
- return
- sterne:
- If(IsPlayerInRangeOfPoint(2819.41, 1639.75, 11.17, 15))
- {
- secs := 45
- SetTimer, aktiv, 1000
- if(beep == 1)
- settimer, Piepen, 40000
- }
- If(IsPlayerInRangeOfPoint(266.60, 2880.35, 13.34, 5))
- {
- secs := 45
- SetTimer, aktiv, 1000
- if(beep == 1)
- settimer, Piepen, 40000
- }
- If(IsPlayerInRangeOfPoint(-1666.44, 2543.64, 85.53, 10))
- {
- secs := 45
- SetTimer, aktiv, 1000
- if(beep == 1)
- settimer, Piepen, 40000
- }
- If(IsPlayerInRangeOfPoint(-410.79, 1338.31, 13.54, 4))
- {
- secs := 45
- SetTimer, aktiv, 1000
- if(beep == 1)
- settimer, Piepen, 40000
- }
- If(IsPlayerInRangeOfPoint(-2105.30, 893.97, 77.05, 3))
- {
- secs := 45
- SetTimer, aktiv, 1000
- if(beep == 1)
- settimer, Piepen, 40000
- }
- If(IsPlayerInRangeOfPoint(-1856.21, -1664.16, 22.42, 10))
- {
- secs := 45
- SetTimer, aktiv, 1000
- if(beep == 1)
- settimer, Piepen, 40000
- }
- If(IsPlayerInRangeOfPoint(-5.15, -2515.81, 37.01, 5))
- {
- secs := 45
- SetTimer, aktiv, 1000
- if(beep == 1)
- settimer, Piepen, 40000
- }
- If(IsPlayerInRangeOfPoint(2351.66, -652.35, 128.40, 10))
- {
- secs := 45
- SetTimer, aktiv, 1000
- if(beep == 1)
- settimer, Piepen, 40000
- }
- If(IsPlayerInRangeOfPoint(482.20, -256.24, 11.20, 5))
- {
- secs := 45
- SetTimer, aktiv, 1000
- if(beep == 1)
- settimer, Piepen, 40000
- }
- return
- Knastzeit:
- knastzeit--
- if(knastzeit == 0)
- {
- SetTimer, knastzeit, Off
- TextSetString(wantedov, "Wanteds: " wanteds "`nGrund: " grund "`nZeuge: " zeuge "`nVorwarnung: " spamtime)
- }
- return
- schaden:
- If(Started == 0)
- {
- Healmoin := GetPlayerHealth()
- If(Healmoin > 0)
- {
- SendChat("/f waLker Keybinder gestartet")
- pID := GetId()
- If(pID == "88")
- {
- Organizer("Glückwunsch du hast ID 88")
- }
- If(pID == "69")
- {
- Organizer("Glückwunsch du hast ID 69")
- }
- If(pID == "187")
- {
- Organizer("Glückwunsch du hast ID 187")
- }
- Started := 1
- }
- }
- PlayerHealth := GetPlayerHealth()
- PlayerHealthOld -= 5
- lastDamage := 0
- if(PlayerHealth < PlayerHealthOld)
- {
- PlayerHealthOld += 5
- PlayerHealthOld -= PlayerHealth
- lastDamage := PlayerHealthOld
- if(PlayerHealthOld = 8)
- {
- wep = MP5
- }
- if(PlayerHealthOld = 10)
- {
- wep = M4
- }
- if(PlayerHealthOld = 46)
- {
- wep = Deagle
- }
- if(PlayerHealthOld = 41)
- {
- wep = Sniper
- }
- if(PlayerHealthOld = 25)
- {
- wep = Rifle
- }
- if(PlayerHealthOld = 1)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 2)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 3)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 4)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 5)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 6)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 7)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 9)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 11)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 12)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 13)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 14)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 15)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 16)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 17)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 18)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 19)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 20)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 21)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 22)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 23)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 24)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 26)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 27)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 28)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 29)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 30)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 31)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 32)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 33)
- {
- wep = Sonstige
- }if(PlayerHealthOld = 34)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 35)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 36)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 37)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 38)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 39)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 40)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 42)
- {
- wep = Sniper
- }
- if(PlayerHealthOld = 43)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 44)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 45)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 47)
- {
- wep = Deagle
- }
- if(PlayerHealthOld = 48)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 49)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 50)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 51)
- {
- wep = Sniper
- }
- if(PlayerHealthOld = 52)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 53)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 54)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 55)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 56)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 57)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 58)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 59)
- {
- wep = Sonstige
- }
- if(PlayerHealthOld = 60)
- {
- wep = Sonstiged
- }
- Organizer("Du hast soeben ({5B89CB}-" PlayerHealthOld " {FFFFFF}HP) {5B89CB}(" wep "){FFFFFF} verloren. Aktuelle HP: {5B89CB}" GetPlayerHealth() "{FFFFFF}.")
- if(hitsoundl == 1)
- {
- if(beep == 1)
- SoundBeep
- if(mp3 == 1)
- SoundPlay, %A_ScriptDir%/Sounds/beep.wav
- }
- }
- PlayerHealthOld := PlayerHealth
- playerHealth := PlayerHealth
- if(playerHealth == 0)
- {
- }
- return
- robcd:
- Organizer("Du kannst nun wieder jemanden ausrauben")
- settimer, robcd, off
- return
- carschaden:
- If(GetVehicleHealth() != Healthalt)
- {
- Schaden := Healthalt - GetVehicleHealth()
- Healthalt := GetVehicleHealth()
- If(Schaden > 10 and Schaden < 300)
- {
- Organizer("Dein Fahrzeug hat Schaden genommen, {B40226}" Schaden "{FFFFFF} DL verloren, noch {33AA33}" GetVehicleHealth()"{FFFFFF} DL übrig.")
- }
- }
- WinGetTitle, now_playing, ahk_class SpotifyMainWindow
- If(now_playing != now_playingnew)
- {
- WinGetTitle, now_playingnew, ahk_class SpotifyMainWindow
- if(now_playing == "Spotify")
- {
- }
- else
- {
- Spotify("Neuer Song {00FF00}" now_playingnew "")
- }
- }
- return
- Payday:
- oldZinsen1 := Zinsen1
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- If (InStr(A_LoopReadLine, "Zinsen:"))
- {
- RegExMatch(A_LoopReadline, "i)Zinsen: \{00FF00\}\+\$(.*) \{B4B5B7\}\((.*)\)", VarZinsen)
- StringReplace, Zinsen1, VarZinsen1,.,,All
- }
- If (InStr(A_LoopReadLine, "Steuern:"))
- {
- Regexmatch(A_LoopReadLine, "i)Steuern: \{FF0000\}\-\$(.*)", VarSteuern)
- StringReplace, Steuern1, VarSteuern1,.,,All
- }
- If (InStr(A_LoopReadLine, "Stromrechnung:"))
- {
- Regexmatch(A_LoopReadLine, "i)Stromrechnung: \{FF0000\}\-\$(.*)", VarRechnung)
- StringReplace, Rechnung1, VarRechnung1,.,,All
- }
- If (InStr(A_LoopReadLine, "Miete:"))
- {
- Regexmatch(A_LoopReadLine, "i)Miete: \{FF0000\}\-\$(.*)", VarMiete)
- StringReplace, Miete1, VarMiete1,.,,All
- }
- If (InStr(A_LoopReadLine, "Kreditkarte:"))
- {
- Regexmatch(A_LoopReadLine, "i)Kreditkarte: \{FF0000\}\-\$(.*)", VarKredit)
- StringReplace, Kredit1, VarKredit1,.,,All
- }
- If (InStr(A_LoopReadLine, "Gebhren:"))
- {
- Regexmatch(A_LoopReadLine, "Gebhren: \{FF0000\}\-\$(\d+) \{B4B5B7\}(.*)", VarGebhren)
- StringReplace, Gebhren1, VarGebhren1,.,,All
- }
- }
- If(Zinsen1 != OldZinsen1)
- {
- if(Zinsen1 = "") OR (Zinsen1 = "Error"){
- return
- }else{
- if(Steuern1 = ""){
- Steuern1 := 0
- }
- if(Rechnung1 = ""){
- Rechnung1 := 0
- }
- if(Miete1= ""){
- Miete1 := 0
- }
- if(Kredit1 = ""){
- Kredit1 := 0
- }
- if(Gebhren1 = ""){
- Gebhren1 := 0
- }
- iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
- iniread, Paydays, Take-binder.ini, Zinsen, Paydays
- iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
- iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
- ZinsenGes += Zinsen1
- OldZinsen1 := Zinsen1
- OldZinsenGes := ZinsenGes
- AlteZinsen1 := OldZinsen1
- Paydays++
- OldPaydays := Paydays
- AllZins := Zinsen1-Steuern1-Rechnung1-Miete1-Kredit1-Gebhren1
- Organizer("Du hast durch diesen Payday {435CE7}" number_format(Zinsen1) "$ {FFFFFF}Zinsen erhalten und {435CE7}" number_format(AllZins) "$ {FFFFFF}eingenommen")
- Organizer("Du hast {435CE7}" number_Format(Zinsen1 - AllZins) "$ {FFFFFF}ausgegeben")
- Organizer("HINWEIS: Nutze /payday für eine genaue Auskunft des letzten Payday's")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- if(ReadStats(text))
- {
- sleep 1100
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- barren := keyForEntry(text, "Goldbarren")
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack11, Bankl1,.,,All
- If( VarBack11 > 2089000000)
- {
- if(beep == 1)
- SoundBeep
- if(mp3 == 1)
- SoundPlay, %A_ScriptDir%/Sounds/beep.wav
- Organizer("Falls du einen Infernus etc. besitzt bist du fast auf der Geldgrenze ! ")
- }
- }
- OldZinsen1 := AlteZinsen1
- Zinsen1 := OldZinsen1
- ZinsenGes := OldZinsenGes
- Paydays := OldPaydays
- iniwrite, %paydays%, Take-binder.ini, Zinsen, Paydays
- iniwrite, %OldZinsen1%, Take-binder.ini, Zinsen, OldZinsen1
- iniwrite, %Zinsen1%, Take-binder.ini, Zinsen, Zinsen21
- iniwrite, %ZinsenGes%, Take-binder.ini, Zinsen, ZinsenGes
- iniwrite, %AllZins%, Take-binder.ini, Zinsen, Einnahmen
- iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
- iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
- Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
- Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
- DZinsen += %Zinsen1%
- Deinnahmen += %AllZins%
- IniWrite,%DZinsen%, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
- iniWrite,%Deinnahmen%, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
- MonatZinsen += %Zinsen1%
- Meinnahmen += %AllZins%
- IniWrite,%MonatZinsen%, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
- Iniwrite,%meinnahmen%, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
- SendInput {enter}
- finwer := getplayername()
- if(finwer == "takeshi.shinoda")
- soundbeep
- sleep 1200
- GetChatLine(0,finwas)
- RegExMatch(finwas, "Level\:\[(.*)\] Respekt\:\[(.*)\] Geld\:\[\$(.*)\] Bank\:\[\$(.*)\] (.*)\:\[\$(.*)\]", findas)
- HanGel := findas3
- BanGel := findas4
- GesGel := findas6
- if(ReadStats(text))
- {
- sleep 1000
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- barren := keyForEntry(text, "Goldbarren")
- }
- gesamt := number_format(bank)
- geld := number_format(geldd)
- if(conpayday == 1)
- Organizer("|________Finanzen von " getplayername() "________|")
- if(conpayday == 1)
- Organizer("Level: [" level "] Respekt: [" respekt "] Bargeld: [$" geld "]")
- if(conpayday == 1)
- Organizer("Bankvermgen: [" gesamt "] Goldbarren: [" barren "]")
- }
- sleep 1100
- Sendinput {enter}
- If FileExist("Userlist.txt")
- {
- if(conpayday == 1)
- Organizer("Das Contracten beginnt.")
- neu=
- Loop, read, Userlist.txt
- {
- StringSplit, wordarrey, A_LoopReadLine, %A_Space%
- id := GetPlayerIdByName(wordarrey2)
- if(id == -1)
- {
- if(conpayday == 1)
- Organizer("" A_LoopReadLine " || Status:""{FF0000} Offline")
- neu=%neu%Name: %wordarrey2%`n
- }
- else
- {
- if(conpayday == 1)
- SendChat("/contract " wordarrey2 " 10000")
- newcounter:=wordarrey6+1
- neu=%neu%Name: %wordarrey2%`n
- sleep 2000
- }
- }
- if(conpayday == 1)
- Organizer("Alle User haben einen Contract.")
- FileCopy, Userlist.txt,Userlist2.txt
- FileDelete, Userlist.txt
- FileCopy, Userlist2.txt,Userlist.txt
- FileDelete, Userlist2.txt
- }
- else
- {
- if(conpayday == 1)
- Organizer("Noch keine User eingetragen")
- }
- Suspend Off
- }
- return
- Tanken:
- if(autotanken == 1)
- {
- if(IsPlayerInRangeOfPoint(1004.0354,-939.3308,42.1797,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle:{5B89CB} " Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(1944.8086,-1773.6176,13.1606,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle:{5B89CB} " Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(2639.0801,1105.7590,10.8203,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(2114.0857,920.0013,10.5910,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(2147.4446,2747.6521,10.5920,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle:{5B89CB} " Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(2202.0085,2474.5103,10.5773,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(-736.3005,2742.9827,46.9891,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(-1328.9005,2677.5923,49.8199,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(70.5293,1219.1754,18.5799,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint( 615.4907,1689.9753,6.7566,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(1598.0482,2199.4724,10.5925 ,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle:{5B89CB} " Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint( -1471.8784,1863.9641,32.3972,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(-2026.3326,155.4140,29.0391,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(-1676.5333,413.2540,6.9505,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle:{5B89CB} " Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint(-2407.9282,976.3934,45.0646,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint( -2244.2161,-2560.7793,31.6916,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint( -1608.4758,-2719.3704,48.3096,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint( -90.6088,-1168.8462,2.1866,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint( 653.4886,-565.2499,16.1065,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- if(IsPlayerInRangeOfPoint( 1380.9998,458.0788,19.7261,5))
- {
- if(IsPlayerinanyvehicle() == 1 )
- if(isPlayerDriver() == 1 )
- {
- Organizer("Tankstelle: {5B89CB}" Zone "")
- sleep 100
- SendChat("/fill")
- sleep, 3000
- SendChat("/get fuel")
- sleep 20000
- }
- }
- }
- return
- drogenbox:
- If(IsPlayerInRangeOfPoint(837.241211, -1854.104736, 8.398911, 2))
- {
- KeyWait, LButton, D
- If !ErrorLevel
- {
- sendchat("/gtake drugs " Drogenmenge "")
- sleep 1100
- return
- }
- }
- If(IsPlayerInRangeOfPoint(-2543.551514, 1214.305054, 37.421875, 2))
- {
- KeyWait, LButton, D
- If !ErrorLevel
- {
- sendchat("/gtake drugs " Drogenmenge "")
- sleep 1100
- return
- }
- }
- If(IsPlayerInRangeOfPoint(-91.169647, -1576.896606, 2.617188, 2))
- {
- KeyWait, LButton, D T1
- If !ErrorLevel
- {
- sendchat("/gtake drugs " Drogenmenge "")
- sleep 1100
- return
- }
- }
- If(IsPlayerInRangeOfPoint(2802.488525, -1171.602661, 25.569313, 2))
- {
- KeyWait, LButton, D T1
- If !ErrorLevel
- {
- sendchat("/gtake drugs " Drogenmenge "")
- sleep 1100
- return
- }
- }
- return
- AntiSpam:
- AntiSpamVar := SpamZeitVar
- if(wAntiSpam=1)
- {
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- If InStr(A_LoopReadLine,"] Antiflood: Achtung! Unterlasse das")
- {
- if(conquern=1 || tp=1)
- {
- return
- }
- else
- {
- RegExMatch(A_LoopReadLine, "i)\[(.*):(.*):(.*)\] Antiflood: Achtung! Unterlasse das", Spam)
- SpamZeitVar := Spam1 Spam2 Spam3
- }
- }
- }
- If(AntiSpamVar <> SpamZeitVar)
- {
- Organizer("Chat wegen Anti-Flood für 1 Sekunde blockiert.")
- BlockChatInput:=1
- sleep 1000
- BlockChatInput:=0
- Organizer("Chat wieder freigegeben.")
- FileDelete,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- return
- Hotdog:
- Organizer("Du kannst den nächsten Hotdog verkaufen.")
- return
- Drugs:
- Organizer("Du kannst wieder Drogen nehmen.")
- return
- OverlayCheckBox:
- gosub, OverlaySave
- gosub, OverlayLoad
- gosub,ExitOverlay
- gosub,InitOverlay
- return
- F6::
- ~t::
- If(BlockChatInput=1)
- {
- SendInput ^a{backspace}{esc}
- return
- }
- return
- lHKEnterExit:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Int := IsPlayerInAnyInterior()
- If (Int == 0)
- {
- SendChat("/enter")
- }
- else
- {
- SendChat("/exit")
- }
- return
- lHKEngine:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/engine")
- return
- lHKLock:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/lock")
- return
- lHKLights:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/lights")
- return
- lHKCarlock:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/carlock")
- return
- lHKEngineLock:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/lock")
- Sleep 500
- SendChat("/engine")
- return
- lHKTime:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/time")
- return
- lHKMembers:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/members")
- AFK := 0
- Prisonmember := 0
- Sleep 300
- loop{
- GetChatLine(A_Index - 1, chat)
- if(InStr(chat, ", Rank:") OR InStr(chat, ", Leader"))
- {
- members := A_Index
- If(InStr(chat, "(AFK)"))
- {
- AFK++
- }
- If(InStr(chat, "(Prison)"))
- {
- Prisonmember++
- }
- If(InStr(chat, "(Prison, AFK)"))
- {
- AFK++
- Prisonmember++
- }
- }
- else
- {
- break
- }
- }
- if(members=1)
- {
- Organizer("Es ist 1 Member online.")
- }
- if(members>1)
- {
- Organizer("Es sind " members " Member online (" AFK " AFK | " Prisonmember " im Prison).")
- }
- return
- lHKFriends:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/friends")
- sleep 300
- loop
- {
- GetChatLine(A_Index - 1, chat)
- if(InStr(chat, "(Tel."))
- friends := A_Index
- else
- break
- }
- If(friends=1)
- {
- Organizer("Es ist " friends " Freund online.")
- }
- if(friends>1)
- {
- Organizer("Es sind " friends " Freunde online.")
- }
- return
- lHKNotafk:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendInput t/notafk{space}
- return
- lHKWarinfo:
- If(BlockChatInput=1)
- return
- if(isInChat())
- return
- if(IsPlayerInAnyVehicle() = 0)
- {
- settimer, warten2, 100
- Organizer("Motorstart und abschließen vorgemerkt!")
- }
- else
- {
- SendChat("/lock")
- SendChat("/engine")
- }
- return
- lHKKnap1:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/kidnap " Opfername " " Partnername " 0")
- return
- lHKKnap2:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/kidnap " Opfername " " Partnername " 1")
- return
- lHKTie:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendInput t/tie{space}
- return
- lHKUntie:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendInput t/untie{space}
- return
- lHKSex:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendInput t/sex{space}{space}1{left}{left}
- return
- lHKFastfood:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendInput t/fastfood{space}{space}1{left}{left}
- return
- lHKRepeat:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendInput,t
- SendInput,{Up}
- SendInput,{enter}
- return
- lHKFPS20:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Sendinput t/fpslimit 20{enter}
- return
- lHKFPS90:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Sendinput t/fpslimit 90{enter}
- return
- lHKSuspend:
- suspend
- if ( A_IsSuspended )
- {
- Organizer("Du hast den Keybinder deaktiviert.")
- }
- if ( !A_IsSuspended )
- {
- Organizer("Du hast den Keybinder aktiviert.")
- }
- return
- lHKHPDL:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- if(IsPlayerInAnyVehicle())
- SendChat("Ich habe noch " GetPlayerHealth() " HP und " Round(GetVehicleHealth(),0) " DL.")
- else
- SendChat("Ich habe noch " GetPlayerHealth() " HP.")
- return
- lHKBK:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- If(IsPlayerInAnyInterior()==1)
- {
- SendChat("/f Benötige Backup in einem Interior. HP: " GetPlayerHealth())
- }
- else
- {
- SendChat("/f Benötige Backup in " City ", " Zone ". HP: " GetPlayerHealth())
- }
- return
- lHKCTF:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Suspend permit
- SendInput {enter}
- finwer := getplayername()
- sendChat("/finances " . finwer)
- sleep 1200
- GetChatLine(0,finwas)
- RegExMatch(finwas, "Level\:\[(.*)\] Respekt\:\[(.*)\] Geld\:\[\$(.*)\] Bank\:\[\$(.*)\] (.*)\:\[\$(.*)\]", findas)
- HanGel := number_format(findas3)
- BanGel := number_format(findas4)
- GesGel := number_format(findas6)
- SendChat("|________Finanzen von " finwer "________|")
- Sendchat("Level: [" . findas1 . "] Respekt: [" . findas2 . "] Bargeld: [$" . HanGel . "]")
- SendChat("Bankvermögen: [$" Bangel "] Gesamtvermögen: [$" GesGel "]")
- Suspend Off
- Hotkey, t, On
- return
- return
- lHKGiveUp:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/giveup")
- return
- lHKFPos:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- If(IsPlayerInAnyInterior()==1)
- {
- SendChat("/f Standort: Interior, HP: " GetPlayerHealth() ", ID: " getid() ", Ping: " getPlayerPingById(getid()) ", Drogen: " drogen "g, Wanteds: " wanteds)
- }
- else
- {
- SendChat("/f Standort: " zone ", HP: " GetPlayerHealth() ", ID: " getid() ", Ping: " getPlayerPingById(getid()) ", Drogen: " drogen "g, Wanteds: " wanteds)
- }
- return
- lHKGebietInfo:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- IniRead, wGebietinfo, TaKe-Binder.ini,GebietInfo, wGebietinfo
- if(wGebietinfo=1)
- {
- SendChat("/gebietinfo")
- Sleep, 200
- GetChatLine(6, Chat6)
- GetChatLine(5, Chat5)
- GetChatLine(4, Chat4)
- GetChatLine(3, Chat3)
- GetChatLine(2, Chat2)
- GetChatLine(1, Chat1)
- GetChatLine(0, Chat0)
- if(Instr(Chat1, " Restzeit:"))
- {
- RegExMatch(Chat1, "Restzeit: (.*) Tage, (.*) Stunden und (.*) Minuten", regzeit)
- RegExMatch(Chat2, " Kills: (.*)", regkills)
- RegExMatch(Chat3, " Herausforderer: (.*)", regher)
- RegExMatch(Chat4, " Kills: (.*)", reg1kills)
- RegExMatch(Chat5, " Besitzer: (.*)", regbe)
- Sendchat("/f Gebietinfo: " regher1 " - " regbe1 " ")
- sendchat("/f " regbe1 ": " reg1kills1 " Kills - " regher1 ": " regkills1 " Kills ")
- sendchat("/f Restzeit: " regzeit1 " Tage " regzeit2 " Stunden " regzeit3 " Minuten ")
- return
- }
- }
- else
- {
- SendChat("/gebietinfo")
- }
- return
- lHKFWanted:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("Aktuelle Wanteds: (" Wanteds ")")
- SendChat("Grund: (" Grund ") Zeuge: (" Zeuge ")")
- return
- lHKFill:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/fill")
- Sleep, 3000
- SendChat("/get fuel")
- return
- lHKFillCar:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/fillcar")
- return
- lHKCargo:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/cargo")
- return
- lHKOpenCargo:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- SendChat("/opencargo")
- return
- lHKATMDifferenz:
- return
- lHKWP1:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- if (wpc11 == 1)
- {
- if (wp11 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp11 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp11 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp11 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp11 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp11 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp11 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa11)
- }
- if (wpc12 == 1)
- {
- if (wp12 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp12 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp12 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp12 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp12 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp12 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp12 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa12)
- }
- if (wpc13 == 1)
- {
- if (wp13 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp13 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp13 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp13 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp13 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp13 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp13 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa13)
- }
- if (wpc14 == 1)
- {
- if (wp14 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp14 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp14 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp14 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp14 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp14 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp14 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa14)
- }
- if (wpc15 == 1)
- {
- if (wp15 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp15 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp15 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp15 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp15 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp15 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp15 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa15)
- }
- return
- lHKWP2:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- if (wpc21 == 1)
- {
- if (wp21 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp21 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp21 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp21 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp21 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp21 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp21 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa21)
- }
- if (wpc22 == 1)
- {
- if (wp22 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp22 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp22 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp22 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp22 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp22 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp22 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa22)
- }
- if (wpc23 == 1)
- {
- if (wp23 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp23 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp23 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp23 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp23 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp23 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp23 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa23)
- }
- if (wpc24 == 1)
- {
- if (wp24 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp24 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp24 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp24 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp24 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp24 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp24 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa24)
- }
- if (wpc25 == 1)
- {
- if (wp25 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (wp25 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (wp25 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (wp25 == 4)
- {
- Waffe1 := "M4"
- }
- else if (wp25 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (wp25 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (wp25 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " wpa25)
- Sleep 500
- }
- return
- ExitSub:
- If(LoggedIn == True)
- {
- }
- FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- DestroyAllVisual()
- ExitApp
- return
- OwnWeaponsGui:
- gosub, OwnWPLoad
- IfNotEqual,HKOG1,
- StringReplace, HKOG1, HKOG1,~
- IfNotEqual,HKOG2,
- StringReplace, HKOG2, HKOG2,~
- IfNotEqual,HKOG3,
- StringReplace, HKOG3, HKOG3,~
- IfNotEqual,HKOG4,
- StringReplace, HKOG4, HKOG4,~
- IfNotEqual,HKOG5,
- StringReplace, HKOG5, HKOG5,~
- Gui,OwnWP: Add, Picture, x0 y0 h349 w398, back03.png
- Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG1% vOG1 x142 y60 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG2% vOG2 x142 y100 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG3% vOG3 x142 y140 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG4% vOG4 x142 y180 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,OwnWP: Add, DropDownList,AltSubmit Choose%OG5% vOG5 x142 y220 w90 h100 , Deagle|Shotgun|MP5|M4|Rifle|Sniper|katana
- Gui,OwnWP: Add, Hotkey, x22 y60 w90 h20 vHKOG1, %HKOG1%
- Gui,OwnWP: Add, Hotkey, x22 y100 w90 h20 vHKOG2, %HKOG2%
- Gui,OwnWP: Add, Hotkey, x22 y140 w90 h20 vHKOG3, %HKOG3%
- Gui,OwnWP: Add, Hotkey, x22 y180 w90 h20 vHKOG4, %HKOG4%
- Gui,OwnWP: Add, Hotkey, x22 y220 w90 h20 vHKOG5, %HKOG5%
- Gui,OwnWP: Add, Edit, x252 y60 w100 h20 voga1, %oga1%
- Gui,OwnWP: Add, Edit, x252 y100 w100 h20 voga2, %oga2%
- Gui,OwnWP: Add, Edit, x252 y140 w100 h20 voga3, %oga3%
- Gui,OwnWP: Add, Edit, x252 y180 w100 h20 voga4, %oga4%
- Gui,OwnWP: Add, Edit, x252 y220 w100 h20 voga5, %oga5%
- Gui,OwnWP: Add, Text, x22 y20 w90 h20 , - Taste -
- Gui,OwnWP: Add, Text, x142 y20 w90 h20 , - Waffe -
- Gui,OwnWP: Add, Text, x252 y20 w90 h20 , - Munition -
- Gui,OwnWP: Add, Button, x272 y300 w100 h20 gOwnWPSave, Speichern
- Gui,OwnWP: Show, x628 y344 h349 w398, Eigene Waffen belegen
- IfNotEqual,HKOG1,
- HKOG1:= "~" HKOG1
- IfNotEqual,HKOG2,
- HKOG2:= "~" HKOG2
- IfNotEqual,HKOG3,
- HKOG3:= "~" HKOG3
- IfNotEqual,HKOG4,
- HKOG4:= "~" HKOG4
- IfNotEqual,HKOG5,
- HKOG5:= "~" HKOG5
- return
- OwnWPGuiClose:
- Gui,OwnWP: Destroy
- return
- OwnWPSave:
- IfNotEqual,HKOG1,
- Hotkey, %HKOG1%, Off, UseErrorLevel
- IfNotEqual,HKOG2,
- Hotkey, %HKOG2%, Off, UseErrorLevel
- IfNotEqual,HKOG3,
- Hotkey, %HKOG3%, Off, UseErrorLevel
- IfNotEqual,HKOG4,
- Hotkey, %HKOG4%, Off, UseErrorLevel
- IfNotEqual,HKOG5,
- Hotkey, %HKOG5%, Off, UseErrorLevel
- Gui,OwnWP: Submit, NoHide
- IfNotEqual,HKOG1,
- StringReplace, HKOG1, HKOG1,~
- IfNotEqual,HKOG2,
- StringReplace, HKOG2, HKOG2,~
- IfNotEqual,HKOG3,
- StringReplace, HKOG3, HKOG3,~
- IfNotEqual,HKOG4,
- StringReplace, HKOG4, HKOG4,~
- IfNotEqual,HKOG5,
- StringReplace, HKOG5, HKOG5,~
- Iniwrite, %HKOG1%, TaKe-Binder.ini,Wanteds, HKOG1
- Iniwrite, %HKOG2%, TaKe-Binder.ini,Wanteds, HKOG2
- Iniwrite, %HKOG3%, TaKe-Binder.ini,Wanteds, HKOG3
- Iniwrite, %HKOG4%, TaKe-Binder.ini,Wanteds, HKOG4
- Iniwrite, %HKOG5%, TaKe-Binder.ini,Wanteds, HKOG5
- Iniwrite, %oga1%, TaKe-Binder.ini,Wanteds, oga1
- Iniwrite, %oga2%, TaKe-Binder.ini,Wanteds, oga2
- Iniwrite, %oga3%, TaKe-Binder.ini,Wanteds, oga3
- Iniwrite, %oga4%, TaKe-Binder.ini,Wanteds, oga4
- Iniwrite, %oga5%, TaKe-Binder.ini,Wanteds, oga5
- Iniwrite, %OG1%, TaKe-Binder.ini,Wanteds, OG1
- Iniwrite, %OG2%, TaKe-Binder.ini,Wanteds, OG2
- Iniwrite, %OG3%, TaKe-Binder.ini,Wanteds, OG3
- Iniwrite, %OG4%, TaKe-Binder.ini,Wanteds, OG4
- Iniwrite, %OG5%, TaKe-Binder.ini,Wanteds, OG5
- IfNotEqual,HKOG1,
- HKOG1:= "~" HKOG1
- IfNotEqual,HKOG2,
- HKOG2:= "~" HKOG2
- IfNotEqual,HKOG3,
- HKOG3:= "~" HKOG3
- IfNotEqual,HKOG4,
- HKOG4:= "~" HKOG4
- IfNotEqual,HKOG5,
- HKOG5:= "~" HKOG5
- IfNotEqual,HKOG1,
- Hotkey, %HKOG1%, lHKOG1, UseErrorLevel
- IfNotEqual,HKOG2,
- Hotkey, %HKOG2%, lHKOG2, UseErrorLevel
- IfNotEqual,HKOG3,
- Hotkey, %HKOG3%, lHKOG3, UseErrorLevel
- IfNotEqual,HKOG4,
- Hotkey, %HKOG4%, lHKOG4, UseErrorLevel
- IfNotEqual,HKOG5,
- Hotkey, %HKOG5%, lHKOG5, UseErrorLevel
- return
- OwnWPLoad:
- IfNotEqual,HKOG1,
- Hotkey, %HKOG1%, Off, UseErrorLevel
- IfNotEqual,HKOG2,
- Hotkey, %HKOG2%, Off, UseErrorLevel
- IfNotEqual,HKOG3,
- Hotkey, %HKOG3%, Off, UseErrorLevel
- IfNotEqual,HKOG4,
- Hotkey, %HKOG4%, Off, UseErrorLevel
- IfNotEqual,HKOG5,
- Hotkey, %HKOG5%, Off, UseErrorLevel
- IniRead, HKOG1, TaKe-Binder.ini,Wanteds, HKOG1
- IniRead, HKOG2, TaKe-Binder.ini,Wanteds, HKOG2
- IniRead, HKOG3, TaKe-Binder.ini,Wanteds, HKOG3
- IniRead, HKOG4, TaKe-Binder.ini,Wanteds, HKOG4
- IniRead, HKOG5, TaKe-Binder.ini,Wanteds, HKOG5
- IniRead, oga1, TaKe-Binder.ini,Wanteds, oga1
- IniRead, oga2, TaKe-Binder.ini,Wanteds, oga2
- IniRead, oga3, TaKe-Binder.ini,Wanteds, oga3
- IniRead, oga4, TaKe-Binder.ini,Wanteds, oga4
- IniRead, oga5, TaKe-Binder.ini,Wanteds, oga5
- IniRead, OG1, TaKe-Binder.ini,Wanteds, OG1
- IniRead, OG2, TaKe-Binder.ini,Wanteds, OG2
- IniRead, OG3, TaKe-Binder.ini,Wanteds, OG3
- IniRead, OG4, TaKe-Binder.ini,Wanteds, OG4
- IniRead, OG5, TaKe-Binder.ini,Wanteds, OG5
- IfNotEqual,HKOG1,
- HKOG1:= "~" HKOG1
- IfNotEqual,HKOG2,
- HKOG2:= "~" HKOG2
- IfNotEqual,HKOG3,
- HKOG3:= "~" HKOG3
- IfNotEqual,HKOG4,
- HKOG4:= "~" HKOG4
- IfNotEqual,HKOG5,
- HKOG5:= "~" HKOG5
- IfNotEqual,HKOG1,
- Hotkey, %HKOG1%, lHKOG1, UseErrorLevel
- IfNotEqual,HKOG2,
- Hotkey, %HKOG2%, lHKOG2, UseErrorLevel
- IfNotEqual,HKOG3,
- Hotkey, %HKOG3%, lHKOG3, UseErrorLevel
- IfNotEqual,HKOG4,
- Hotkey, %HKOG4%, lHKOG4, UseErrorLevel
- IfNotEqual,HKOG5,
- Hotkey, %HKOG5%, lHKOG5, UseErrorLevel
- return
- firstsave:
- gosub, OverlaySave
- gosub, KeybindsSave
- gosub, OwnWPSave
- gosub, SaveOptions
- Iniwrite, 713, TaKe-Binder.ini,Settings, HPX
- Iniwrite, 89, TaKe-Binder.ini,Settings, HPY
- Iniwrite, 8, TaKe-Binder.ini,Settings, HPSize
- Iniwrite, 630, TaKe-Binder.ini,Settings, WX
- Iniwrite, 170, TaKe-Binder.ini,Settings, WY
- Iniwrite, 9, TaKe-Binder.ini,Settings, WSize
- Iniwrite, 26, TaKe-Binder.ini,Settings, PX
- Iniwrite, 442, TaKe-Binder.ini,Settings, PY
- Iniwrite, 9, TaKe-Binder.ini,Settings, PSize
- Iniwrite, 0, TaKe-Binder.ini,Settings, VX
- Iniwrite, 381, TaKe-Binder.ini,Settings, VY
- Iniwrite, 8, TaKe-Binder.ini,Settings, VSize
- IniWrite, 4, TaKe-Binder.ini,Settings,HPF
- IniWrite, 4, TaKe-Binder.ini,Settings,VCF
- IniWrite, 4, TaKe-Binder.ini,Settings,WCF
- IniWrite, 4, TaKe-Binder.ini,Settings,PCF
- return
- lHKOG1:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- if (OG1 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (OG1 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (OG1 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (OG1 == 4)
- {
- Waffe1 := "M4"
- }
- else if (OG1 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (OG1 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (OG1 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " oga1)
- Sleep 500
- return
- lHKOG2:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- if (OG2 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (OG2 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (OG2 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (OG2 == 4)
- {
- Waffe1 := "M4"
- }
- else if (OG2 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (OG2 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (OG2 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " oga2)
- Sleep 500
- return
- lHKOG3:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- if (OG3 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (OG3 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (OG3 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (OG3 == 4)
- {
- Waffe1 := "M4"
- }
- else if (OG3 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (OG3 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (OG3 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " oga3)
- Sleep 500
- return
- lHKOG4:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- if (OG4 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (OG4 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (OG4 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (OG4 == 4)
- {
- Waffe1 := "M4"
- }
- else if (OG4 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (OG4 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (OG4 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " oga4)
- Sleep 500
- return
- lHKOG5:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- if (OG5 == 1)
- {
- Waffe1 := "Deagle"
- }
- else if (OG5 == 2)
- {
- Waffe1 := "Shotgun"
- }
- else if (OG5 == 3)
- {
- Waffe1 := "MP5"
- }
- else if (OG5 == 4)
- {
- Waffe1 := "M4"
- }
- else if (OG5 == 5)
- {
- Waffe1 := "Rifle"
- }
- else if (OG5 == 6)
- {
- Waffe1 := "Sniper"
- }
- else if (OG5 == 7)
- {
- Waffe1 := "katana"
- }
- else
- return
- SendChat("/buygun " Waffe1 " " oga5)
- Sleep 500
- return
- lHKKillPlus:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Kills++
- tKills++
- streak+=1
- IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
- IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
- if(ReadStats(text))
- {
- level := keyForEntry(text, "Level")
- KillsDM := keyForEntry(text, "Kills \(DM\)")
- death := keyForEntry(text, "Tode")
- payday := keyForEntry(text, "Minuten seit Payday")
- bank := keyForEntry(text, "Bank")
- }
- RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
- kills := kills1
- If(IsPlayerInAnyInterior()==1)
- {
- SendChat("/f " FSpruch " in einem Interior | Kills: " Kills " - Heute: " tKills)
- }
- else
- SendChat("/f " FSpruch " in " zone " | Kills: " Kills " - Heute: " tKills)
- if(Killstreak=1)
- {
- if(streak=3)
- {
- SendChat("/f >> 3er «« | Killstreak erreicht!")
- }
- else if(streak=6)
- {
- SendChat("/f >> 6er «« | Killstreak erreicht!")
- }
- else if(streak=9)
- {
- SendChat("/f >> 9er «« | Killstreak erreicht!")
- }
- else if(streak=12)
- {
- SendChat("/f >> 12er «« | Killstreak erreicht!")
- }
- else if(streak=15)
- {
- SendChat("/f >> 15er «« | Killstreak erreicht!")
- }
- else if(streak=18)
- {
- SendChat("/f >> 18er «« | Killstreak erreicht!")
- }
- else if(streak=21)
- {
- SendChat("/f >> 21er «« | Killstreak erreicht!")
- }
- else if(streak=24)
- {
- SendChat("/f >> 24er «« | Killstreak erreicht!")
- }
- }
- return
- lHKKillSpruch:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Random,rand,1,5
- if(KC%rand% == 1)
- SendChat(Spruch%rand%)
- else
- gosub, lHKKillSpruch
- return
- lHKOwn1:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own1Old := Own1
- CheckReplace("1")
- SendChat(Own1)
- Own1 := Own1Old
- return
- lHKOwn2:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own2Old := Own2
- CheckReplace("2")
- SendChat(Own2)
- Own2 := Own2Old
- return
- lHKOwn3:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own3Old := Own3
- CheckReplace("3")
- SendChat(Own3)
- Own3 := Own3Old
- return
- lHKOwn4:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own4Old := Own4
- CheckReplace("4")
- SendChat(Own4)
- Own4 := Own4Old
- return
- lHKOwn5:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own5Old := Own5
- CheckReplace("5")
- SendChat(Own5)
- Own5 := Own5Old
- return
- lHKOwn6:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own6Old := Own6
- CheckReplace("6")
- SendChat(Own6)
- Own6 := Own6Old
- return
- lHKOwn7:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own7Old := Own7
- CheckReplace("7")
- SendChat(Own7)
- Own7 := Own7Old
- return
- lHKOwn8:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own8Old := Own8
- CheckReplace("8")
- SendChat(Own8)
- Own8 := Own8Old
- return
- lHKOwn9:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own9Old := Own9
- CheckReplace("9")
- SendChat(Own9)
- Own9 := Own9Old
- return
- lHKOwn10:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own10Old := Own10
- CheckReplace("10")
- SendChat(Own10)
- Own10 := Own10Old
- return
- lHKOwn11:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own11Old := Own11
- CheckReplace("11")
- SendChat(Own11)
- Own11 := Own11Old
- return
- lHKOwn12:
- If(BlockChatInput=1)
- return
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- Own12Old := Own12
- CheckReplace("12")
- SendChat(Own12)
- Own12 := Own12Old
- return
- :?:/gk 1.0::
- Suspend Permit
- SendiNput /me schaut im Stadtplan nach - Gebudekomplex 1.0:{enter}
- Sleep 200
- SendiNput t--Prison--{enter}
- Sleep 200
- SendiNput t--Gunshop bei den Ballas--{enter}
- Sleep 200
- SendiNput t--Shamal Interior--{enter}
- Suspend Off
- return
- :?:/gk::
- Suspend Permit
- SendInput /gk
- Organizer("/gk[Nummer]")
- Input, komplex, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if komplex is not number
- {
- Organizer("Bitte eine gültige Summe eingeben!")
- return
- }
- IniRead, GK, %A_WorkingDir%/Komplexe.ini, GKs, %komplex%
- if(GK == "ERROR")
- {
- Organizer("Dieser Gebäudekomplex ist nicht eingetragen !!")
- return
- }
- else
- {
- Sendchat("Keybinder sagt Gebäudekomplex " komplex " ist " GK "")
- }
- Suspend off
- return
- :?:/tp::
- suspend permit
- SendInput {enter}
- Organizer("{5B89CB}Takepizza gestartet schreib nichts ins Chat! {FFFFFF}'<' Abbruchtaste")
- sleep 2000
- SetTimer, Takepizza, 1050
- return
- Takepizza:
- global:= pizzaverkauf
- tp:=1
- loop, 3
- {
- SendChat("/takepizza")
- }
- pizzaverkauf := A_TickCount + 1050
- Suspend Off
- return
- :?:/sp::
- suspend permit
- SendInput /sellpizza{space}
- Input, UID4, V I M, {enter}
- Sendchat("/sellpizza " UID4 "")
- Suspend off
- return
- return
- ~<::
- if(IsInChat()){
- SendInput {%A_ThisHotkey%}
- return
- }
- SetTimer, Takepizza, off
- if(conquern=1)
- {
- Organizer("Conquer Abbruch!")
- conquern:=0
- }
- if(tp=1)
- {
- Organizer("Takepizza gestoppt!")
- tp:=0
- }
- else
- {
- return
- }
- tp:=0
- conquern:=0
- return
- OptionGui:
- Gui,Option: Destroy
- Gui,Option: Add, Picture,x0 y0 w496 h459,back03.png
- Gui,Option: Add, GroupBox, x22 y10 w220 h160, Medic
- Gui,Option: Add, CheckBox,-Checked%mAuto% x32 y40 w140 h20 vmAuto, Heal autom. annehmen?
- Gui,Option: Add, CheckBox,-Checked%mTHX% x32 y70 w140 h20 vmTHX, Bedanken?
- Gui,Option: Add, CheckBox,-Checked%mTGC% x32 y100 w140 h20 vmTGC, Trinkgeld?
- Gui,Option: Add, Edit, x32 y130 w140 h20 vmTG, %mTG%
- Gui,Option: Add, GroupBox, x252 y10 w220 h190, Mechaniker
- Gui,Option: Add, CheckBox,-Checked%mechREP% x262 y40 w150 h20 vmechREP, Rep. autom. annehmen?
- Gui,Option: Add, CheckBox,-Checked%mechREF% x262 y70 w150 h20 vmechREF, Ref. autom. annehmen?
- Gui,Option: Add, CheckBox,-Checked%mechTHX% x262 y100 w140 h20 vmechTHX, Bedanken?
- Gui,Option: Add, CheckBox,-Checked%mechTGC% x262 y130 w140 h20 vmechTGC, Trinkgeld?
- Gui,Option: Add, Edit, x262 y160 w140 h20 vmechTG, %mechTG%
- Gui,Option: Add, GroupBox, x22 y210 w170 h90, Wanteds
- Gui,Option: Add, CheckBox,-Checked%wMSG% x32 y240 w110 h20 vwMSG, Nachricht im Chat?
- Gui,Option: Add, CheckBox,-Checked%wSound% x32 y265 w160 h20 vwSound, Sound abspielen?
- Gui,Option: Add, GroupBox, x22 y320 w170 h75, Gangwar-/Gangzonesound
- Gui,Option: Add, DropDownList,AltSubmit Choose%GZS% x32 y350 w70 h100 vGZS, Leo2201|Thomas Nike|DJ_Sticks
- Gui,Option: Add, Button, x32 y375 w55 h15 gabspielen, abspielen
- Gui,Option: Add, CheckBox,-Checked%gSound% x117 y350 w60 h20 vgSound, aktiviert?
- Gui,Option: Add, GroupBox, x252 y210 w170 h120, Sonstiges
- Gui,Option: Add, CheckBox,-Checked%wGebietinfo% x262 y240 w130 h20 vwGebietinfo, Gebietinfo im /f Chat?
- Gui,Option: Add, CheckBox,-Checked%wAntiSpam% x262 y270 w150 h20 vwAntiSpam, AntiSpam Funktion an?
- Gui,Option: Add, CheckBox,-Checked%Killstreak% x262 y300 w100 h20 vKillstreak, Killstreak an?
- Gui,Option: Add, CheckBox,-Checked%Autotanken% x262 y330 w100 h20 vautotanken, Tanken autom. ?
- Gui,Option: Add, CheckBox,-Checked%Autohd% x262 y360 w160 h20 vautohd, Hotdog autom. annehmen ?
- Gui,Option: Add, Edit, x340 y385 w80 h20 vDrogenmenge, %Drogenmenge%
- Gui,Option: Add, Text, x260 y387 w80 h20 +BackgroundTrans, Drogenmenge:
- Gui,Option: Add, Button, x372 y410 w100 h30 gSaveOptions, Speichern
- Gui,Option: Show, x616 y282 h459 w496, Optionen
- Return
- abspielen:
- GuiControlGet, GZS
- if(GZS=1)
- {
- SoundPlay, leo.wav
- }
- else if(GZS=2)
- {
- SoundPlay, thomas.wav
- }
- else if(GZS=3)
- {
- SoundPlay, sticks.wav
- }
- return
- SaveOptions:
- Gui,Option: Submit, noHide
- Iniwrite, %mAuto%, TaKe-Binder.ini,Wanteds, mAuto
- Iniwrite, %mTHX%, TaKe-Binder.ini,Wanteds, mTHX
- Iniwrite, %mTGC%, TaKe-Binder.ini,Wanteds, mTGC
- Iniwrite, %mTG%, TaKe-Binder.ini,Wanteds, mTG
- Iniwrite, %mechREP%, TaKe-Binder.ini,Wanteds, mechREP
- Iniwrite, %mechREF%, TaKe-Binder.ini,Wanteds, mechREF
- Iniwrite, %mechTHX%, TaKe-Binder.ini,Wanteds, mechTHX
- Iniwrite, %mechTGC%, TaKe-Binder.ini,Wanteds, mechTGC
- Iniwrite, %mechTG%, TaKe-Binder.ini,Wanteds, mechTG
- Iniwrite, %wMSG%, TaKe-Binder.ini,Wanteds, wMSG
- Iniwrite, %wSound%, TaKe-Binder.ini,Wanteds, wSound
- Iniwrite, %wGebietinfo%, TaKe-Binder.ini,Sonstiges, wGebietinfo
- Iniwrite, %wAntiSpam%, TaKe-Binder.ini,Sonstiges, wAntiSpam
- Iniwrite, %Killstreak%, TaKe-Binder.ini,Sonstiges, Killstreak
- Iniwrite, %AutoTanken%, TaKe-Binder.ini,Sonstiges, AutoTanken
- Iniwrite, %Autohd%, TaKe-Binder.ini,Sonstiges, Autohd
- Iniwrite, %Drogenmenge%, TaKe-Binder.ini,Sonstiges, Drogenmenge
- IniWrite, %GZS%, TaKe-Binder.ini,Sonstiges, Gangwar
- IniWrite, %gSound%, TaKe-Binder.ini,Sonstiges, sGangwar
- StreamTrayTip("TaKe-Binder","Optionen erfolgreich gespeichert", 4)
- return
- LoadOptions:
- IniRead, mAuto, TaKe-Binder.ini,Wanteds, mAuto
- IniRead, mTHX, TaKe-Binder.ini,Wanteds, mTHX
- IniRead, mTGC, TaKe-Binder.ini,Wanteds, mTGC
- IniRead, mTG, TaKe-Binder.ini,Wanteds, mTG
- IniRead, mechREP, TaKe-Binder.ini,Wanteds, mechREP
- IniRead, mechREF, TaKe-Binder.ini,Wanteds, mechREF
- IniRead, mechTHX, TaKe-Binder.ini,Wanteds, mechTHX
- IniRead, mechTGC, TaKe-Binder.ini,Wanteds, mechTGC
- IniRead, mechTG, TaKe-Binder.ini,Wanteds, mechTG
- IniRead, wMSG, TaKe-Binder.ini,Wanteds, wMSG
- IniRead, wSound, TaKe-Binder.ini,Wanteds, wSound
- IniRead, wGebietinfo, TaKe-Binder.ini,Sonstiges, wGebietinfo
- IniRead, wAntiSpam, TaKe-Binder.ini,Sonstiges, wAntiSpam
- IniRead, Killstreak, TaKe-Binder.ini,Sonstiges, Killstreak
- IniRead, AutoTanken, TaKe-Binder.ini,Sonstiges, AutoTanken
- IniRead, Autohd, TaKe-Binder.ini,Sonstiges, Autohd
- IniRead, Drogenmenge, TaKe-Binder.ini,Sonstiges, Drogenmenge
- IniRead, GZS, TaKe-Binder.ini,Sonstiges, Gangwar
- IniRead, gSound, TaKe-Binder.ini,Sonstiges, sGangwar
- return
- OptionGuiClose:
- Gui,Option: Destroy
- return
- :?:/cadd::
- Suspend permit
- Organizer("Den ganzen Namen oder id ID eintragen!")
- Organizer("Nach dem eintragen des Namens 'Enter' Drücken!")
- SendInput Name:{space}
- Input bname,V I M,{enter}
- SendInput t{end}+{home}{esc}
- if(bname>=0 && bname<500)
- {
- blaname:=GetPlayerNameById(bname)
- }
- else
- {
- blaname:=bname
- }
- sleep 200
- Suspend on
- Organizer("Den Grund des Contracts der auf den Spieler erstellt wird eintragen.")
- Organizer("Nach dem eintragen des Grundes 'Enter' Drücken!")
- SendInput tGrund:{space}
- Suspend on
- Input bgrund,V I M,{enter}
- SendInput t{end}+{home}{esc}
- sleep 200
- If FileExist("Userlist.txt")
- {
- Loop, read, Userlist.txt
- {
- StringSplit, wordarrey, A_LoopReadLine, %A_Space%
- if (wordarrey2 = blaname)
- {
- inlist := 1
- linetemp = %A_LoopReadLine%
- break
- }
- else
- {
- inlist := 0
- }
- }
- if(inlist == 1)
- {
- Organizer("User bereits in der Liste vorhanden.")
- Organizer("" linetemp )
- }
- else
- {
- FileAppend,
- (
- Name: %blaname% || Grund: %bgrund%`n
- ), Userlist.txt
- Organizer("Name: " blaname " | Grund: " bgrund " --- in die Userlist eingefgt.")
- }
- }
- else
- {
- FileAppend,
- (
- Name: %blaname% || Grund: %bgrund%`n
- ), Userlist.txt
- Organizer("Name: " blaname " | Grund: " bgrund " --- in die Userlist eingefgt.")
- }
- Suspend Off
- return
- :?:/ccheck::
- Suspend permit
- found := 0
- SendInput Suchbegriff:{space}
- Input bsearch,V I M,{enter}
- SendInput t{end}+{home}{esc}
- sleep 200
- If FileExist("Userlist.txt")
- {
- Loop, read, Userlist.txt
- {
- IfInString, A_LoopReadLine, %bsearch%
- {
- StringSplit, wordarrey, A_LoopReadLine, %A_Space%
- id := GetPlayerIdByName(wordarrey2)
- if(id == -1 && id == -1 or id == -1 or id == -1)
- Organizer("" A_LoopReadLine " || Status:{5B89CB} Offline")
- else
- Organizer("" A_LoopReadLine " || Status:{00FF00} Online (ID: " id ")")
- found := 1
- }
- }
- if(found == 1)
- {
- Organizer("Suche Abgeschlossen")
- }
- else
- {
- Organizer("Keine bereinstimmung gefunden")
- }
- }
- else
- {
- Organizer("Noch keine User eingetragen")
- }
- Suspend Off
- return
- :?:/clist::
- Suspend permit
- If FileExist("Userlist.txt")
- {
- Organizer("{AFAFAF}{00FF04}<<<Contractlist>>>")
- Loop, read, Userlist.txt
- {
- StringSplit, wordarrey, A_LoopReadLine, %A_Space%
- id := GetPlayerIdByName(wordarrey2)
- if(id == -1 && id == -1 or id == -1 or id == -1)
- Organizer("" A_LoopReadLine " || Status:{5B89CB} Offline")
- else
- Organizer("" A_LoopReadLine " || Status:{00FF00} Online (ID: " id ")")
- }
- }
- else
- {
- Organizer("Noch keine User eingetragen")
- }
- Suspend Off
- return
- :?:/cdel::
- Suspend permit
- zeile := -1
- SendInput Userlöschen:{space}
- Input bdelete,V I M,{enter}
- SendInput t{end}+{home}{esc}
- sleep 200
- Loop, read, Userlist.txt
- {
- StringSplit, wordarrey, A_LoopReadLine, %A_Space%
- if (wordarrey2 = bdelete)
- {
- zeile := A_Index
- break
- }
- }
- if(zeile = -1)
- {
- Organizer("" bdelete " wurde nicht gefunden. Vergewissern sie sich das der Name")
- Organizer("komplett richtig geschrieben wurde und versuchen sie es erneut")
- Suspend Off
- return
- }
- neu=
- Loop, read, Userlist.txt
- {
- if(A_Index != zeile)
- {
- neu=%neu%%A_LoopReadLine%`n
- }
- }
- FileDelete, Userlist.txt
- FileAppend, %neu%, Userlist.txt
- Organizer("" wordarrey2 " wurde aus der Userliste entfernt.")
- Suspend Off
- return
- :?:/conall::
- Suspend permit
- If FileExist("Userlist.txt")
- {
- Organizer("Das Contracten beginnt.")
- neu=
- Loop, read, Userlist.txt
- {
- StringSplit, wordarrey, A_LoopReadLine, %A_Space%
- id := GetPlayerIdByName(wordarrey2)
- if(id == -1)
- {
- Organizer("" A_LoopReadLine " || Status:{5B89CB} Offline")
- neu=%neu%Name: %wordarrey2%`n
- }
- else
- {
- SendChat("/contract " wordarrey2 " 10000")
- newcounter:=wordarrey6+1
- neu=%neu%Name: %wordarrey2%`n
- sleep 2000
- }
- }
- Organizer("Alle User haben einen Contract.")
- FileCopy, Userlist.txt,Userlist2.txt
- FileDelete, Userlist.txt
- FileCopy, Userlist2.txt,Userlist.txt
- FileDelete, Userlist2.txt
- }
- else
- {
- Organizer("Noch keine User eingetragen")
- }
- Suspend Off
- return
- :?:/badd::
- suspend permit
- SendInput /add{Space}
- Input, bname, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if bname is not number
- {
- Organizer("Achtung: Bitte eine gltige ID eingeben!")
- return
- }
- gid:=getplayernamebyid(bname)
- ownbname:=getplayername()
- if ( gid = ownbname )
- {
- Organizer("Du kannst dich nicht selbst zur Blackliste hinzufügen!")
- return
- }
- if( gid == -1)
- {
- Organizer("Dieser Spieler ist nicht online!")
- return
- }
- bumwandeln:=GetPlayernameByID(bname)
- FileRead, bListe, Blackliste.txt
- If InStr(bListe,bumwandeln)
- {
- Organizer("{00FF04}" bumwandeln " {FFFFFF}ist bereits vorhanden!")
- }
- else
- {
- FileAppend, `nbname=%bumwandeln%, Blackliste.txt
- Organizer("{00FF04}" bumwandeln " {FFFFFF}erfolgreich zur Blackliste hinzugefgt!")
- }
- return
- :?:/bdel::
- Suspend Permit
- SendInput ID des Spielers, den du entfernen mchtest:{space}
- Input, bbnameID, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if bbnameID is not number
- {
- Organizer("Bitte eine gltige ID eingeben!")
- return
- }
- gbname:=GetPlayernameByID(bbnameID)
- if ( gbname == -1) {
- Organizer("Dieser Spieler ist nicht online!")
- return
- }
- FileRead, bListe, Blackliste.txt
- if ( not InStr(bListe, gbname) ) {
- Organizer("{00FF04}" gbname " {FFFFFF}ist nicht in deiner Blackliste!")
- return
- }
- FileRead, bnamen, Blackliste.txt
- ifInString, bnamen, %gbname%
- {
- Loop, read, Blackliste.txt
- {
- ifInString, A_Loopreadline, %gbname%
- continue
- if(A_LoopReadLine!="")
- {
- FileAppend, %a_loopreadline%`n, Blackliste.txt.new
- }
- }
- }
- {
- FileDelete, Blackliste.txt
- FileMove, Blackliste.txt.new, Blackliste.txt, 1
- Organizer("{00FF04}" gbname " {FFFFFF}wurde von deiner Blackliste entfernt!")
- return
- }
- if(gbname == -1)
- {
- Organizer("Fehler: diese ID ist nicht Online!")
- }
- return
- :?:/blist::
- suspend permit
- SendInput {enter}
- Blackon:=0
- Organizer("{AFAFAF}{00FF04}<<<Blackliste>>>")
- Loop, read, Blackliste.txt
- {
- If (A_LoopReadLine = "")
- continue
- IfNotInString, A_LoopReadLine, bname
- continue
- StringSplit, bwort, A_LoopReadLine, =
- id:=getPlayerIdByname(bwort2)
- if (id != -1)
- {
- Organizer("" bwort2 ", ID: " id "")
- Blackon++
- }
- }
- Organizer("Es sind {00FF04}" Blackon " {FFFFFF}Blacklist Spieler Online")
- return
- :?:/bcheck::
- Suspend Permit
- SendInput ID zum überprüfen:{space}
- Input, BLbnameID, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if BLbnameID is not number
- {
- Organizer("Bitte eine gltige ID eingeben!")
- }
- gbname:=GetPlayernameByID(BLbnameID)
- if ( gbname == -1) {
- Organizer("Dieser Spieler ist nicht online!")
- }
- FileRead, Liste, Blackliste.txt
- if ( not InStr(Liste, gbname) ) {
- Organizer("{00FF04}" gbname " {FFFFFF}wurde nicht auf der Blackliste gefunden.")
- }
- else {
- Organizer("{00FF04}" gbname " {FFFFFF}wurde auf der Blackliste gefunden.")
- }
- return
- :?:/fcops::
- SendInput, {Enter}
- cops_on := 0
- cops := 0
- if(con_all == 0)
- {
- Organizer("{5B89CB}<<<Copliste leer!>>>")
- }
- else
- {
- sendchat("/f |___________________Aktuelle Copliste (Onlinespieler)___________________|")
- Loop, Read, Copliste.txt
- {
- StringSplit, split, A_LoopReadLine, =
- idname:=getPlayerIdByName(split2)
- GegnerPing := getPlayerPingById(idname)
- level := getPlayerScoreById(idname)
- if(idname != -1)
- {
- sendchat("/f Name: " split2 ", (ID: {5B89CB}" idname ") Level: " level ", Ping: " GegnerPing)
- sleep 1005
- cops_on++
- }
- cops++
- }
- sleep 1005
- sendchat("/f Es sind " cops_on "/" cops " Cops Online")
- }
- return
- :?:/bcops::
- SendInput, {Enter}
- cops_on := 0
- cops := 0
- if(con_all == 0)
- {
- Organizer("{5B89CB}<<<Copliste leer!>>>")
- }
- else
- {
- sendchat("|___________________Aktuelle Copliste (Onlinespieler)___________________|")
- Loop, Read, Copliste.txt
- {
- StringSplit, split, A_LoopReadLine, =
- idname:=getPlayerIdByName(split2)
- GegnerPing := getPlayerPingById(idname)
- level := getPlayerScoreById(idname)
- if(idname != -1)
- {
- sendchat("Name: " split2 ", (ID: {5B89CB}" idname ") Level: " level ", Ping: " GegnerPing)
- sleep 1005
- cops_on++
- }
- cops++
- }
- sleep 1005
- sendchat("Es sind " cops_on "/" cops " Cops Online")
- }
- return
- :?:/gcops::
- SendInput, {Enter}
- cops_on := 0
- cops := 0
- if(con_all == 0)
- {
- Organizer("{5B89CB}<<<Copliste leer!>>>")
- }
- else
- {
- sendchat("/g |___________________Aktuelle Copliste (Onlinespieler)___________________|")
- Loop, Read, Copliste.txt
- {
- StringSplit, split, A_LoopReadLine, =
- idname:=getPlayerIdByName(split2)
- GegnerPing := getPlayerPingById(idname)
- level := getPlayerScoreById(idname)
- if(idname != -1)
- {
- sendchat("/f Name: " split2 ", (ID: {5B89CB}" idname ") , Level: " level ", Ping: " GegnerPing)
- sleep 1005
- cops_on++
- }
- cops++
- }
- sleep 1005
- sendchat("/g Es sind " cops_on "/" cops " Cops Online")
- }
- return
- :?:/fgegner::
- SendInput, {Enter}
- runner := 0
- runner_on := 0
- if(con_all == 0)
- {
- Organizer("{5B89CB}<<<Gegnerliste leer!>>>")
- }
- else
- {
- SendChat("/f Aktuelle Gegnerliste (Online)")
- Loop, Read, Gegner.txt
- {
- StringSplit, split, A_LoopReadLine, =
- idname:=getPlayerIdByName(split2)
- if(idname != -1)
- {
- SendChat("/f " split2 " - (ID: " idname ")")
- sleep 1005
- runner_on++
- }
- runner++
- }
- sleep 1005
- SendChat("/f Es sind " . runner_on . " Gegner Online")
- }
- return
- :?:/ggegner::
- SendInput, {Enter}
- runner := 0
- runner_on := 0
- if(con_all == 0)
- {
- Organizer("{00B9FF}<<<Gegnerliste leer!>>>")
- }
- else
- {
- SendChat("/g Aktuelle Gegnerliste (Online)")
- Loop, Read, Gegner.txt
- {
- StringSplit, split, A_LoopReadLine, =
- idname:=getPlayerIdByName(split2)
- if(idname != -1)
- {
- SendChat("/g " split2 " - (ID: " idname ") - ")
- sleep 1005
- runner_on++
- }
- runner++
- }
- sleep 1005
- SendChat("/g Es sind " . runner_on . " Gegner Online")
- }
- return
- :?:/copadd::
- suspend permit
- SendInput /add{Space}
- Input, bname, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if bname is not number
- {
- Organizer("Achtung: Bitte eine gültige ID eingeben!")
- return
- }
- gid:=getplayernamebyid(bname)
- ownbname:=getplayername()
- if ( gid = ownbname )
- {
- Organizer("Du kannst dich nicht selbst zur Copliste hinzufügen!")
- return
- }
- if( gid == -1)
- {
- Organizer("Dieser Spieler ist nicht online!")
- return
- }
- bumwandeln:=GetPlayernameByID(bname)
- FileRead, bListe, Copliste.txt
- If InStr(bListe,bumwandeln)
- {
- Organizer("{00FF04}" bumwandeln " {FFFFFF}ist bereits vorhanden!")
- }
- else
- {
- FileAppend, `nbname=%bumwandeln%, Copliste.txt
- Organizer("{00FF04}" bumwandeln " {FFFFFF}erfolgreich zur Copliste hinzugefügt!")
- }
- return
- :?:/copdel::
- Suspend Permit
- SendInput ID des Spielers, den du entfernen mchtest:{space}
- Input, bbnameID, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if bbnameID is not number
- {
- Organizer("Achtung: Bitte eine gültige ID eingeben!")
- return
- }
- gbname:=GetPlayernameByID(bbnameID)
- if ( gbname == -1) {
- Organizer("Dieser Spieler ist nicht online!")
- return
- }
- FileRead, bListe, Copliste.txt
- if ( not InStr(bListe, gbname) ) {
- Organizer("{00FF04}" gbname "{FFFFFF}ist nicht in deiner Copliste!")
- return
- }
- FileRead, bnamen, Copliste.txt
- ifInString, bnamen, %gbname%
- {
- Loop, read, Copliste.txt
- {
- ifInString, A_Loopreadline, %gbname%
- continue
- if(A_LoopReadLine!="")
- {
- FileAppend, %a_loopreadline%`n, Copliste.txt.new
- }
- }
- }
- {
- FileDelete, Copliste.txt
- FileMove, Copliste.txt.new, Copliste.txt, 1
- Organizer("{00FF04}" gbname " {FFFFFF}wurde von deiner Copliste entfernt!")
- return
- }
- if(gbname == -1)
- {
- Organizer("{00FF04}Fehler: diese ID ist nicht Online!")
- }
- return
- :?:/cops::
- suspend permit
- SendInput {enter}
- Blackon:=0
- cops := 0
- Organizer("{AFAFAF}{00FF04}<<<Polizisten>>>")
- Loop, Read, Copliste.txt
- {
- cops++
- If (A_LoopReadLine = "")
- continue
- IfNotInString, A_LoopReadLine, bname
- continue
- StringSplit, bwort, A_LoopReadLine, =
- id:=getPlayerIdByname(bwort2)
- GegnerPing := getPlayerPingById(id)
- if (id != -1)
- {
- Organizer("{FFFFFF}" bwort2 ", ID:{00FF04} " id " - Ping: " GegnerPing "")
- Blackon++
- }
- }
- if(blackon == 1)
- Organizer("Es ist {00FF04}" Blackon "/" cops " {FFFFFF}Polizist Online")
- else
- Organizer("Es sind {00FF04}" Blackon "/" cops " {FFFFFF}Polizisten Online")
- Sendchat("/f Es sind {00FF04}" Blackon "/" cops " Polizisten Online")
- return
- :?:/copcheck::
- Suspend Permit
- SendInput ID zum berprfen:{space}
- Input, BLbnameID, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if BLbnameID is not number
- {
- Organizer("Achtung: Bitte eine gültige ID eingeben!")
- }
- gbname:=GetPlayernameByID(BLbnameID)
- if ( gbname == -1) {
- Organizer("Dieser Spieler ist nicht online!")
- }
- FileRead, Liste, Copliste.txt
- if ( not InStr(Liste, gbname) ) {
- Organizer("{00FF04}" gbname " {FFFFFF}wurde nicht auf der Gegnerliste gefunden.")
- }
- else {
- Organizer("{00FF04}" gbname " {FFFFFF}wurde auf der Gegnerliste gefunden.")
- }
- return
- :?:/add::
- suspend permit
- Organizer("/add {5B89CB}[ID/Name] {5B89CB}[Gang/Mafia]")
- Organizer("/add 88 Cali Kartell oder /add TaKeshi.ShinoDa Cali Kartell")
- SendInput, /add{Space}
- Input, user1, V I M, {Space}
- Input, GangMafia, V I M, {Enter}
- SendInput {end}+{home}{Del}{Esc}
- if(user == "" || GangMafia == "")
- {
- Organizer("{5B89CB}FEHLER! Der Gegner konnte nicht gespeichert werden.")
- }
- else
- {
- if user1 is integer
- username := getPlayerNameById(user1)
- else
- username := user1
- own:=getplayername()
- if ( username = own )
- {
- Organizer("{5B89CB}FEHLER! Du kannst dich nicht selbst zur Gegnerliste hinzufügen!")
- return
- }
- FileRead, Liste, Gegner.txt
- name:=GetPlayernameByID(user1)
- If InStr(Liste, name)
- {
- Organizer("{5B89CB}FEHLER! {5B89CB}" name " {FFFFFF}ist bereits in der Gegnerliste vorhanden!")
- return
- }
- if(username == "")
- {
- Organizer("Der Gegner konnte nicht gefunden werden.")
- }
- else
- {
- FileAppend, %username%|%GangMafia%`n, Gegner.txt
- Organizer("Der Gegner {5B89CB}'" . username . "' {FFFFFF}wurde auf die Gegnerliste gesetzt.")
- con_all++
- }
- }
- return
- :?:/del::
- Suspend Permit
- Organizer("/del {5B89CB}[ID]")
- SendInput /del{space}
- Input, bbnameID, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if bbnameID is not number
- {
- Organizer("{5B89CB}FEHLER! Bitte eine gültige ID eingeben!")
- return
- }
- gbname:=GetPlayernameByID(bbnameID)
- if ( gbname == -1) {
- Organizer("{5B89CB}FEHLER! Dieser Spieler ist nicht online!")
- return
- }
- if ( bbnameID == "") {
- Organizer("{5B89CB}FEHLER! Es konnte kein Name festgestellt werden!")
- return
- }
- FileRead, bListe, Gegner.txt
- if ( not InStr(bListe, gbname) ) {
- Organizer("{5B89CB}FEHLER! {5B89CB}" gbname "{FFFFFF} ist nicht in deiner Gegnerliste!")
- return
- }
- FileRead, bnamen, Gegner.txt
- ifInString, bnamen, %gbname%
- {
- Loop, read, Gegner.txt
- {
- ifInString, A_Loopreadline, %gbname%
- continue
- if(A_LoopReadLine!="")
- {
- FileAppend, %a_loopreadline%`n, Gegner.txt.new
- }
- }
- }
- {
- FileDelete, Gegner.txt
- FileMove, Gegner.txt.new, Gegner.txt, 1
- FileDelete, Gegner.txt.new
- Organizer("{00FF04}" gbname " wurde von deiner Gegnerliste entfernt!")
- return
- }
- return
- EnemyGui:
- Gui,Enemy: Destroy
- Gui,Enemy: Font,s10, Comic Sans
- Gui,Enemy: Add, Picture, x0 y0 w600 h436, back03.png
- Gui,Enemy: Add, Text, x32 y30 w200 h20 +BackgroundTrans, - Gegnerliste -
- Gui,Enemy: Add, Text, x32 y60 w200 h20 +BackgroundTrans, /add - Gegner hinzufügen
- Gui,Enemy: Add, Text, x32 y90 w200 h20 +BackgroundTrans, /del - Gegner löschen
- Gui,Enemy: Add, Text, x32 y120 w220 h20 +BackgroundTrans, /check - überprüfen ob schon in Liste
- Gui,Enemy: Add, Text, x32 y150 w200 h20 +BackgroundTrans, /gegner - Liste abrufen
- Gui,Enemy: Add, Text, x282 y30 w200 h20 +BackgroundTrans, - Contractliste -
- Gui,Enemy: Add, Text, x282 y60 w200 h20 +BackgroundTrans, /cadd - Gegner hinzufügen
- Gui,Enemy: Add, Text, x282 y120 w240 h20 +BackgroundTrans, /ccheck - überprüfen ob schon in Liste
- Gui,Enemy: Add, Text, x282 y150 w200 h20 +BackgroundTrans, /conall - Contracten
- Gui,Enemy: Add, Text, x282 y90 w200 h20 +BackgroundTrans, /cdel - Gegner löschen
- Gui,Enemy: Add, Text, x32 y200 w200 h20 +BackgroundTrans, - Blacklist -
- Gui,Enemy: Add, Text, x32 y230 w200 h20 +BackgroundTrans, /badd - Gegner hinzufügen
- Gui,Enemy: Add, Text, x32 y260 w200 h20 +BackgroundTrans, /bdel - Gegner löschen
- Gui,Enemy: Add, Text, x32 y290 w200 h20 +BackgroundTrans, /blist - Liste abrufen
- Gui,Enemy: Show, x611 y271 h436 w600, Gegnerliste
- Return
- EnemyGuiClose:
- Gui,Enemy: Destroy
- return
- :?:/25k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 25000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/99k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 99000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/50k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 50000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/75k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 75000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/150k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 150000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/200k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 200000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/300k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 300000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/500k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 500000{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- :?:/999k::
- Suspend Permit
- SendInput {enter}t/atm{enter}
- Sleep 150
- SendInput {down}{enter}
- Sleep 100
- SendInput 999999{enter}
- Sleep 100
- SendInput {esc}
- Suspend off
- return
- GameText:
- IfWinNotActive, GTA:SA:MP
- return
- Loop, read,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- {
- Zeile:=A_LoopReadLine
- }
- IfInString,Zeile, ~g~Gangwarkill
- {
- if(gSound=1)
- {
- if(GZS=1)
- {
- SoundPlay, leo.wav
- }
- else if(GZS=2)
- {
- SoundPlay, thomas.wav
- }
- else if(GZS=3)
- {
- SoundPlay, sticks.wav
- }
- }
- if(FSpruch == "")
- FSpruch = GangwarKill
- Kills++
- tKills++
- streak+=1
- MonatKills +=1
- if(ReadStats(text))
- {
- level := keyForEntry(text, "Level")
- KillsDM := keyForEntry(text, "Kills \(DM\)")
- death := keyForEntry(text, "Tode")
- payday := keyForEntry(text, "Minuten seit Payday")
- bank := keyForEntry(text, "Bank")
- }
- RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
- kills := kills1
- StringReplace, varback,kills, .
- StringReplace, VarBack1,death, .
- IniWrite,%MonatKills%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
- IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
- IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
- IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
- IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead, Diff, Take-binder.ini, Optionen, Differenz
- IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
- Dif:= gangwarkills - tode
- KD:= gangwarkills / tode
- FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- Organizer("Tages Kills: {56bfeb}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {56bfeb}" kills "{FFFFFF}K/D: {56bfeb}" KD "")
- If(IsPlayerInAnyInterior()==1)
- {
- SendChat("/f " FSpruch " in einem Interior | Kills: " number_format(GangwarKills) " - Heute: " tKills)
- }
- else
- {
- SendChat("/f " FSpruch " in " zone " | Kills: " number_format(GangwarKills) " - Heute: " tKills)
- }
- If(ChatKillspruchmain = 1)
- {
- gosub, RandomSpruch
- Sleep, 300
- }
- if(Killstreak=1)
- {
- if(streak=3)
- {
- SendChat("/f >> 3er «« | Killstreak erreicht!")
- }
- else if(streak=6)
- {
- SendChat("/f >> 6er «« | Killstreak erreicht!")
- }
- else if(streak=9)
- {
- SendChat("/f >> 9er «« | Killstreak erreicht!")
- }
- else if(streak=12)
- {
- SendChat("/f >> 12er «« | Killstreak erreicht!")
- }
- else if(streak=15)
- {
- SendChat("/f >> 15er «« | Killstreak erreicht!")
- }
- else if(streak=18)
- {
- SendChat("/f >> 18er «« | Killstreak erreicht!")
- }
- else if(streak=21)
- {
- SendChat("/f >> 21er «« | Killstreak erreicht!")
- }
- else if(streak=24)
- {
- SendChat("/f >> 24er «« | Killstreak erreicht!")
- }
- }
- FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- return
- }
- IfInString,Zeile, ~r~gangwarkill
- {
- Zone := calculateZone(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- City := calculateCity(getCoordinates()[1], getCoordinates()[2], getCoordinates()[3])
- streak:=0
- tdeaths +=1
- MonatTode++
- Iniwrite,0, TaKe-Binder.ini,Drogensystem, DrogenLost
- IniWrite, %tDeaths%, Statistik\statsi.ini, Tageskills, tDeaths
- Iniwrite,%MonatTode%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
- IniWrite, 0, Statistik\statsi.ini, Killstreak, streak
- drogenlost := drogen
- If(IsPlayerInAnyInterior()==1)
- {
- SendChat("/f Ein Feind hat mich soeben in einem Interior getötet")
- }
- else
- {
- SendChat("/f Ein Feind hat mich soeben in " zone " getötet")
- }
- FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- return
- }
- IfInString,Zeile, ~r~gangzonekill
- {
- streak:=0
- IniWrite, 0, Statistik\statsi.ini, Killstreak, streak
- Deaths++
- tDeaths++
- MonatTode++
- Iniwrite,0, TaKe-Binder.ini,Drogensystem, DrogenLost
- Iniwrite,%MonatTode%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
- IniWrite, %tDeaths%, Statistik\statsi.ini, Tageskills, tDeaths
- IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
- Iniwrite,0, Take-Binder.ini,Drogensystem, Drogen
- Iniwrite,0, Take-Binder.ini,Drogensystem, Used
- FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- Organizer("Tages Kills: {56bfeb}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {56bfeb}" kills "{FFFFFF}K/D: {56bfeb}" KD "")
- Organizer("Drogen/Killstreak zhler wurde zurckgesetzt")
- SendChat("/f Ich bin soeben im Gebiet gestorben! (Gangzone down)")
- FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- return
- }
- IfInString,Zeile, ~g~Gangzonekill
- {
- if(gSound=1)
- {
- if(GZS=1)
- {
- SoundPlay, leo.wav
- }
- else if(GZS=2)
- {
- SoundPlay, thomas.wav
- }
- else if(GZS=3)
- {
- SoundPlay, sticks.wav
- }
- }
- Kills++
- tKills++
- streak+=1
- MonatKills +=1
- if(ReadStats(text))
- {
- level := keyForEntry(text, "Level")
- KillsDM := keyForEntry(text, "Kills \(DM\)")
- death := keyForEntry(text, "Tode")
- payday := keyForEntry(text, "Minuten seit Payday")
- bank := keyForEntry(text, "Bank")
- }
- RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
- kills := kills1
- StringReplace, varback,kills, .
- StringReplace, VarBack1,death, .
- IniWrite, %streak%, Statistik\statsi.ini, Killstreak, streak
- IniWrite,%MonatKills%, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
- IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead, Diff, Take-binder.ini, Optionen, Differenz
- Dif:= gangwarkills - tode
- KD:= gangwarkills / tode
- FileDelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- FileAppend,clear,%A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- SendChat("/f GangZone | Kills: " Kills " - Heute: " tKills)
- if(Killstreak=1)
- {
- if(streak=3)
- {
- SendChat("/f >> 3er «« | Killstreak erreicht!")
- }
- else if(streak=6)
- {
- SendChat("/f >> 6er «« | Killstreak erreicht!")
- }
- else if(streak=9)
- {
- SendChat("/f >> 9er «« | Killstreak erreicht!")
- }
- else if(streak=12)
- {
- SendChat("/f >> 12er «« | Killstreak erreicht!")
- }
- else if(streak=15)
- {
- SendChat("/f >> 15er «« | Killstreak erreicht!")
- }
- else if(streak=18)
- {
- SendChat("/f >> 18er «« | Killstreak erreicht!")
- }
- else if(streak=21)
- {
- SendChat("/f >> 21er «« | Killstreak erreicht!")
- }
- else if(streak=24)
- {
- SendChat("/f >> 24er «« | Killstreak erreicht!")
- }
- }
- Organizer("Tages Kills: {56bfeb}" tkills " {FF6E00}|{FFFFFF} Aktuelle Kills: {56bfeb}" kills "{FFFFFF}K/D: {56bfeb}" KD "")
- IniWrite, %tKills%, Statistik\statsi.ini, Tageskills, tKills
- FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- return
- }
- IfInString,Zeile, ~n~~w~Restliche Haftstrafe:
- {
- RegExMatch(Zeile,"Restliche Haftstrafe: (.*) sec", Ptime)
- Organizer("Restliche Haftstrafe: " FormatSeconds(Ptime1))
- FileAppend, `nNext, %A_MyDocuments%\GTA San Andreas User Files\SAMP\gametexts.txt
- return
- }
- return
- :?:/idsms::
- suspend permit
- SendInput /number{space}
- Input uwe,V I M,{enter}
- Sleep 250
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- If InStr(A_LoopReadLine, ", Ph:")
- {
- RegExMatch(A_LoopReadLine, "Name: .*, Ph: (\w*)" ,number)
- SendInput, t^a/sms %number1%{space}
- }
- }
- Suspend off
- return
- :?:/cd::
- Suspend Permit
- SendInput,{enter}
- Suspend Off
- Sleep 200
- {
- SendChat("/s 3 ")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- SendChat("/s Countdown abgebrochen")
- return
- }
- }
- {
- SendChat("/s 2 ")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- SendChat("/s Countdown abgebrochen")
- return
- }
- }
- {
- SendChat("/s 1 ")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- SendChat("/s Countdown abgebrochen")
- return
- }
- }
- {
- SendChat("/s GO ")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- SendChat("/s Countdown abgebrochen")
- return
- }
- }
- Return
- :?:/fstand::
- Suspend permit
- SendInput {enter}
- if(ReadStats(text))
- {
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- barren := keyForEntry(text, "Goldbarren")
- gesamt := number_format(bank)
- geld := number_format(geldd)
- SendChat("/f |________Finanzen von " getplayername() "________|")
- Sendchat("/f Level: [" level "] Respekt: [" respekt "] Bargeld: [" geld "]")
- sleep 1100
- SendChat("/f Bankvermögen: [" bank "] Goldbarren: [" barren "]")
- }
- Suspend Off
- Hotkey, t, On
- return
- :?:/kstand::
- Suspend permit
- SendInput {enter}
- if(ReadStats(text))
- {
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- barren := keyForEntry(text, "Goldbarren")
- gesamt := number_format(bank)
- geld := number_format(geldd)
- SendChat("|________Finanzen von " getplayername() "________|")
- Sendchat("Level: [" level "] Respekt: [" respekt "] Bargeld: [" geld "]")
- sleep 1100
- SendChat("Bankvermögen: [" bank "] Goldbarren: [" barren "]")
- }
- Suspend Off
- Hotkey, t, On
- return
- :?:/gstand::
- Suspend permit
- SendInput {enter}
- if(ReadStats(text))
- {
- Bank := keyForEntry(text, "Bank")
- Geldd := keyForEntry(text, "Geld")
- Level := keyForEntry(text, "Level")
- Respekt := keyForEntry(text, "Respekt")
- barren := keyForEntry(text, "Goldbarren")
- gesamt := number_format(bank)
- geld := number_format(geldd)
- SendChat("/g |________Finanzen von " getplayername() "________|")
- Sendchat("/g Level: [" level "] Respekt: [" respekt "] Bargeld: [" geld "]")
- sleep 1100
- SendChat("/g Bankvermögen: [" bank "] Goldbarren: [" barren "]")
- }
- Suspend Off
- Hotkey, t, On
- return
- number_format(num){
- return RegExReplace(num, "\B(?=(\d{3})+(?!\d))", ".")
- }
- :?:/d2::
- Suspend Permit
- SendChat("/gtake drugs 2")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d4::
- Suspend Permit
- SendChat("/gtake drugs 4")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d6::
- Suspend Permit
- SendChat("/gtake drugs 6")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d8::
- Suspend Permit
- SendChat("/gtake drugs 8")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d10::
- Suspend Permit
- SendChat("/gtake drugs 10")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d12::
- Suspend Permit
- SendChat("/gtake drugs 12")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d14::
- Suspend Permit
- SendChat("/gtake drugs 14")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d16::
- Suspend Permit
- SendChat("/gtake drugs 16")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d18::
- Suspend Permit
- SendChat("/gtake drugs 18")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d20::
- Suspend Permit
- SendChat("/gtake drugs 20")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d24::
- Suspend Permit
- SendChat("/gtake drugs 24")
- SendInput, {enter}
- Suspend Off
- return
- :?:/d26::
- Suspend Permit
- SendChat("/gtake drugs 26")
- SendInput, {enter}
- Suspend Off
- return
- :?:/reload::
- Suspend Permit
- SendInput {enter}
- Organizer("{00FF04}Keybinder wird neu gestartet!")
- ShowGameText("~h~~w~Keybinder wird ~b~neugestartet", 2000, 3)
- Reload
- WinMaximize GTA:SA:MP
- Suspend Off
- return
- :?:/dkd::
- suspend permit
- Sendinput {enter}
- IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
- IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
- tKD := tKills/tDeaths
- StringTrimRight,DKD,tKD,4
- If(%tDeaths%=0)
- {
- tKD := tKills/1
- StringTrimRight,DKD,tKD,4
- }
- DDif := tKills-tDeaths
- IfEqual, DKD
- DKD:= 0.00
- sendchat("Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
- Suspend Off
- return
- :?:/fdkd::
- suspend permit
- Sendinput {enter}
- IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
- IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
- tKD := tKills/tDeaths
- StringTrimRight,DKD,tKD,4
- If(%tDeaths%=0)
- {
- tKD := tKills/1
- StringTrimRight,DKD,tKD,4
- }
- DDif := tKills-tDeaths
- IfEqual, DKD
- DKD:= 0.00
- sendchat("/f Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
- Suspend Off
- return
- :?:/paydaysbis::
- Suspend Permit
- SendInput /betrag{Space}
- Organizer("/betrag [Betrag]")
- Input, betrag, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if betrag is not number
- {
- Organizer("Bitte eine gültige Summe eingeben!")
- return
- }
- if(ReadStats(text))
- {
- Bank := keyForEntry(text, "Bank")
- gesamt := number_format(bank)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Bankl1,.,,All
- If(Varback > betrag)
- {
- Organizer("Du hast diesen Betrag schon erreicht!")
- return
- }
- zw1 := betrag/VarBack
- rw1 := log(zw1)
- rw2 := log(1.001)
- rw3 := log(1.0015)
- res := Round(rw1/rw2)
- res1 := Round(rw1/rw3)
- Betragsplitted := number_format(Betrag)
- Organizer("Bis $" Betragsplitted " Bankvermögen benötigst du noch " res " Paydays ohne und " res1 " mit Donator.")
- SendChat("Bis $" Betragsplitted " Bankvermögen benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
- }
- Suspend off
- return
- :?:/gpaydaysbis::
- Suspend Permit
- SendInput /betrag{Space}
- Organizer("/betrag [Betrag]")
- Input, betrag, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if betrag is not number
- {
- Organizer("Bitte eine gültige Summe eingeben!")
- return
- }
- if(ReadStats(text))
- {
- Bank := keyForEntry(text, "Bank")
- gesamt := number_format(bank)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Bankl1,.,,All
- If(Varback > betrag)
- {
- Organizer("Du hast diesen Betrag schon erreicht!")
- return
- }
- zw1 := betrag/VarBack
- rw1 := log(zw1)
- rw2 := log(1.001)
- rw3 := log(1.0015)
- res := Round(rw1/rw2)
- res1 := Round(rw1/rw3)
- Betragsplitted := number_format(Betrag)
- SendChat("/g Bis $" Betragsplitted " Bankvermögen benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
- }
- Suspend off
- return
- :?:/fpaydaysbis::
- Suspend Permit
- SendInput /betrag{Space}
- Organizer("/betrag [Betrag]")
- Input, betrag, V I M, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if betrag is not number
- {
- Organizer("Bitte eine gültige Summe eingeben!")
- return
- }
- if(ReadStats(text))
- {
- Bank := keyForEntry(text, "Bank")
- gesamt := number_format(bank)
- RegExMatch(Bank,"\$(.*)\(\+\$(.*)\)",Bankl)
- StringReplace, VarBack, Bankl1,.,,All
- If(Varback > betrag)
- {
- Organizer("Du hast diesen Betrag schon erreicht!")
- return
- }
- zw1 := betrag/VarBack
- rw1 := log(zw1)
- rw2 := log(1.001)
- rw3 := log(1.0015)
- res := Round(rw1/rw2)
- res1 := Round(rw1/rw3)
- Betragsplitted := number_format(Betrag)
- SendChat("/f Bis $" Betragsplitted " Bankvermögen benötige ich noch " res " Paydays ohne und " res1 " mit Donator")
- }
- Suspend off
- return
- :?:/twp::
- suspend permit
- sendinput /take weapons{space}
- return
- :?:/ep::
- Suspend Permit
- SendInput, {enter}
- SendChat("/eatpizza")
- Suspend Off
- return
- :?:/fud::
- Suspend Permit
- SendInput, {enter}
- SendChat("/me pfeift sich 2 Gramm Drogen rein.")
- Suspend Off
- return
- :?:/untieenemy::
- Suspend Permit
- SendInput, {enter}
- If(opferid = "")
- {
- Organizer("Es wurde kein Opfer eingetragen")
- return
- }
- If(partnerid = "")
- {
- Organizer("Es wurde kein Partner eingetragen")
- return
- }
- SendInput, {enter}
- SendChat("/f " opfername " wird in 3 Sekunden entfesselt. " partnername " bereite dich vor !")
- Sendchat("/take weapons " opfername "")
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- IfInString, A_LoopReadLine, deiner nähe
- {
- sendchat("/f Countdown abgebrochen ! " opfername " ist nicht in deiner Nähe !")
- return
- }
- }
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- IfInString, A_LoopReadLine, Waffen abgenommen.
- {
- Sendchat("/f " opfername " wurden die Waffen abgnommen")
- }
- }
- Sleep 2000
- {
- SendChat("/f >> 3 <<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- SendChat("/f Countdown abgebrochen")
- return
- }
- }
- {
- SendChat("/f >> 2 <<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- SendChat("/f Countdown abgebrochen")
- return
- }
- }
- {
- SendChat("/f >> 1 <<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- SendChat("/f Countdown abgebrochen")
- return
- }
- }
- {
- SendChat("/f " opfername " wurde entfesselt !")
- SendChat("/untie " opfername "")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- SendChat("/f Countdown abgebrochen")
- return
- }
- }
- Suspend Off
- return
- :?:/gdkd::
- suspend permit
- Sendinput {enter}
- IniRead, tKills, Statistik\statsi.ini, Tageskills,tkills
- IniRead, tDeaths, Statistik\statsi.ini, Tageskills,tkills
- tKD := tKills/tDeaths
- StringTrimRight,DKD,tKD,4
- If(%tDeaths%=0)
- {
- tKD := tKills/1
- StringTrimRight,DKD,tKD,4
- }
- DDif := tKills-tDeaths
- IfEqual, DKD
- DKD:= 0.00
- sendchat("/g Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
- Suspend Off
- return
- :?:/dkd::
- suspend permit
- Sendinput {enter}
- IniRead, tKills, Statistik\statsi.ini, Tageskills,tkills
- IniRead, tDeaths, Statistik\statsi.ini, Tageskills,tkills
- tKD := tKills/tDeaths
- StringTrimRight,DKD,tKD,4
- If(%tDeaths%=0)
- {
- tKD := tKills/1
- StringTrimRight,DKD,tKD,4
- }
- DDif := tKills-tDeaths
- IfEqual, DKD
- DKD:= 0.00
- sendchat("/F Kills heute: " tKills " - Tode: " tDeaths " - Differenz: " DDif " Kills - KD: " DKD " ")
- Suspend Off
- return
- :?:/setddeaths::
- Suspend Permit
- Sendinput Tages Tode:{space}
- Input tDeaths,V I M,{enter}
- IniWrite, %tDeaths%, Statistik\statsi.ini, Tageskills, tDeaths
- SendInput {end}+{home}{Del}{esc}
- if tDeaths is not number
- {
- Organizer("Fehler! verwende dafür Zahlen!")
- tDeahts:=0
- }
- else
- {
- Organizer("Tages Tode auf " tDeaths " gesetzt")
- }
- Suspend Off
- return
- :?:/kd::
- Suspend Permit
- Sendinput, {enter}
- if(ReadStats(text))
- {
- level := keyForEntry(text, "Level")
- KillsDM := keyForEntry(text, "Kills \(DM\)")
- death := keyForEntry(text, "Tode")
- payday := keyForEntry(text, "Minuten seit Payday")
- bank := keyForEntry(text, "Bank")
- }
- RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
- kills := kills1
- StringReplace, varback,kills, .
- StringReplace, VarBack1,death, .
- IniWrite, %varback%, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniWrite, %varback1%, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead, Diff, Take-binder.ini, Optionen, Differenz
- Dif:= gangwarkills - tode
- KD:= gangwarkills / tode
- StringTrimRight, KD, KD, 3
- IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
- SendChat("Kills: " Kills " | Tode: " death " | Differenz: " number_format(dif) " | K/D: " KD "")
- return
- :?:/mkd::
- suspend permit
- Sendinput {enter}
- IniRead,MonatTode,Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
- IniRead,MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
- MKD := Round(MonatKills/MonatTode,3)
- MDif := MonatKills-MonatTode
- FormatTime,Monattime,,MMMM
- If(%MonatTode%=0)
- {
- MKD := Round(MonatKills/1,3)
- }
- if(MonatKills=="ERROR"){
- MonatKills= 0
- }
- if(mKD=="ERROR"){
- mKD= 0.00
- }
- if(MDif=="ERROR"){
- MDif= 0
- }
- sendchat(">>>> Kills im " . Monattime . ": " . MonatKills . " - Tode im " Monattime ": " MonatTode " - Differenz: " . MDif . " Kills - KD: " . MKD . " ««")
- Hotkey, t, On
- Suspend off
- return
- :?:/fmkd::
- suspend permit
- Sendinput {enter}
- IniRead,MonatTode,Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
- IniRead,MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
- MKD := Round(MonatKills/MonatTode,3)
- MDif := MonatKills-MonatTode
- FormatTime,Monattime,,MMMM
- If(%MonatTode%=0)
- {
- MKD := Round(MonatKills/1,3)
- }
- if(MonatKills=="ERROR"){
- MonatKills= 0
- }
- if(mKD=="ERROR"){
- mKD= 0.00
- }
- if(MDif=="ERROR"){
- MDif= 0
- }
- sendchat("/f >>>> Kills im " . Monattime . ": " . MonatKills . " - Tode im " Monattime ": " MonatTode " - Differenz: " . MDif . " Kills - KD: " . MKD . " ««")
- Hotkey, t, On
- Suspend off
- return
- :?:/gmkd::
- suspend permit
- Sendinput {enter}
- IniRead,MonatTode,Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
- IniRead,MonatKills, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
- MKD := Round(MonatKills/MonatTode,3)
- MDif := MonatKills-MonatTode
- FormatTime,Monattime,,MMMM
- If(%MonatTode%=0)
- {
- MKD := Round(MonatKills/1,3)
- }
- if(MonatKills=="ERROR"){
- MonatKills= 0
- }
- if(mKD=="ERROR"){
- mKD= 0.00
- }
- if(MDif=="ERROR"){
- MDif= 0
- }
- sendchat("/g >>>> Kills im " . Monattime . ": " . MonatKills . " - Tode im " Monattime ": " MonatTode " - Differenz: " . MDif . " Kills - KD: " . MKD . " ««")
- Hotkey, t, On
- Suspend off
- return
- :?:/kd::
- Suspend Permit
- Sendinput, {enter}
- if(ReadStats(text))
- {
- level := keyForEntry(text, "Level")
- KillsDM := keyForEntry(text, "Kills \(DM\)")
- death := keyForEntry(text, "Tode")
- payday := keyForEntry(text, "Minuten seit Payday")
- bank := keyForEntry(text, "Bank")
- }
- RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
- kills := kills1
- StringReplace, VarBack, Kills, .
- StringReplace, VarBack1, Tode, .
- IniWrite, %kills%, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniWrite, %death%, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
- StringReplace, killsw, gangwarkills, .
- StringReplace, tods, Tode, .
- Dif:= gangwarkills - tode
- KD:= gangwarkills / tode
- StringTrimRight, KD, KD, 3
- IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
- SendChat("Kills: " Gangwarkills " | Tode: " tode " | Differenz: " number_format(killsw - tods) " | K/D: " KD "")
- return
- :?:/fkd::
- Suspend Permit
- Sendinput, {enter}
- if(ReadStats(text))
- {
- level := keyForEntry(text, "Level")
- KillsDM := keyForEntry(text, "Kills \(DM\)")
- death := keyForEntry(text, "Tode")
- payday := keyForEntry(text, "Minuten seit Payday")
- bank := keyForEntry(text, "Bank")
- }
- RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
- kills := kills1
- StringReplace, VarBack, Kills, .
- StringReplace, VarBack1, Tode, .
- IniWrite, %kills%, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniWrite, %death%, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
- StringReplace, killsw, gangwarkills, .
- StringReplace, tods, Tode, .
- Dif:= gangwarkills - tode
- KD:= gangwarkills / tode
- StringTrimRight, KD, KD, 3
- IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
- SendChat("/f Kills: " Gangwarkills " | Tode: " tode " | Differenz: " number_format(killsw - tods) " | K/D: " KD "")
- return
- :?:/gkd::
- Suspend Permit
- Sendinput, {enter}
- if(ReadStats(text))
- {
- level := keyForEntry(text, "Level")
- KillsDM := keyForEntry(text, "Kills \(DM\)")
- death := keyForEntry(text, "Tode")
- payday := keyForEntry(text, "Minuten seit Payday")
- bank := keyForEntry(text, "Bank")
- }
- RegExMatch(KillsDM, "(.*)\((.*)\)" ,kills)
- kills := kills1
- StringReplace, VarBack, Kills, .
- StringReplace, VarBack1, Tode, .
- IniWrite, %kills%, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniWrite, %death%, Statistik\statsi.ini, TodeGesamt, Tode
- IniRead, GangwarKills, Statistik\statsi.ini, KillsGesamt, GangwarKills
- IniRead, Tode, Statistik\statsi.ini, TodeGesamt, Tode
- StringReplace, killsw, gangwarkills, .
- StringReplace, tods, Tode, .
- Dif:= gangwarkills - tode
- KD:= gangwarkills / tode
- StringTrimRight, KD, KD, 3
- IniWrite, %Diff%, Take-binder.ini, Optionen, Differenz
- SendChat("/g Kills: " Gangwarkills " | Tode: " tode " | Differenz: " number_format(killsw - tods) " | K/D: " KD "")
- return
- :?:/kills::
- Suspend Permit
- SendInput {enter}
- if(ReadStats_s(text))
- {
- skills := keyForEntry(text, "Kills\(DM\)")
- sDeaths := keyForEntry(text, "Tode")
- RegExMatch(skills,"(.*)\((.*)\)",pkills)
- SendChat("/f Kills: " pkills1 " - Heute: " tKills " ")
- }
- else
- {
- SendChat("/f Kills: " Kills " - Heute: " tKills " ")
- }
- Suspend off
- return
- :?:/deaths::
- Suspend Permit
- SendInput {enter}
- if(ReadStats_s(text))
- {
- sDeaths := keyForEntry(text, "Tode")
- SendChat("/f Tode: " sDeaths " - Heute: " tDeaths " ")
- }
- else
- {
- SendChat("/f Tode: " Deaths " - Heute: " tDeaths " ")
- }
- Suspend off
- return
- :?:/rechner::
- Suspend, Permit
- Organizer("|________RECHNER________|")
- Organizer("1. -- Materials --")
- Organizer("2. -- Drogen --")
- Organizer("3. -- Codes --")
- Organizer("4. -- Illeagle Fische --")
- Organizer("5. -- LBS Fische --")
- Organizer("6. -- AD's -")
- Organizer("7. -- Hackwanteds --")
- SendInput Zahl:{space} (drücke Space nach der Eingabe){home}{right 6}
- Input, writed, VIM, {space}
- SendInput {end}+{home}{Del}{Esc}
- if(writed=1)
- {
- sib = 0
- SendInput tGib die gewnschte Menge der Materials ein: {space} (Enter -> Bestätigen){left 22}
- Input, sib, VIM, {enter}
- SendInput {end}+{home}{Del}{Esc}
- if sib is not number
- {
- Organizer("Verwende dafür nur Zahlen!.")
- return
- }
- dg:=sib*25
- dg2:=sib*10
- rechnen := number_format(dg)
- min := number_format(dg2)
- ware := number_format(sib)
- Organizer("Rechner: " ware " Materials -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
- }
- if(writed=2)
- {
- sib = 0
- SendInput tGib die gewnschte Menge in Gramm ein: {space} (space -> Bestätigen){left 22}
- Input, sib, VIM, {space}
- SendInput {end}+{home}{Del}{Esc}
- SendInput tGib den gewünschten Preis pro Gramm ein: {space} (Enter -> Bestätigen){left 22}
- Input, drugpreis, VIM, {enter}
- if sib is not number
- {
- Organizer("Verwende dafür nur Zahlen!")
- return
- }
- dg:=sib*drugpreis
- drugspreis := number_format(drugpreis)
- rechnen := number_format(dg)
- ware := number_format(sib)
- SendInput {end}+{home}{Del}{Esc}
- Organizer("" "Rechner: " ware "g -> zum Preis von{5B89CB} $" drugspreis "/g{FFFFFF} sind{5B89CB} $" rechnen ".")
- }
- if(writed=3)
- {
- sib = 0
- SendInput tGib die gewnschte Menge der Codes ein: {space} (Enter -> Bestätigen){left 22}
- Input, sib, VIM, {enter}
- if sib is not number
- {
- Organizer("Verwende dafür nur Zahlen!.")
- return
- }
- dg:=sib*50000
- dg2:=sib*30000
- rechnen := number_format(dg)
- min := number_format(dg2)
- ware := number_format(sib)
- SendInput {end}+{home}{Del}{Esc}
- Organizer("Rechner: " ware " Codes -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
- }
- else if(writed=4)
- {
- sib = 0
- SendInput tGib die gewnschte Menge der Illegalen Fische ein: {space} (Enter -> Bestätigen){left 22}
- Input, sib, VIM, {enter}
- if sib is not number
- {
- Organizer("Verwende dafür nur Zahlen!.")
- return
- }
- dg:=sib*2000
- dg2:=sib*1000
- rechnen := number_format(dg)
- min := number_format(dg2)
- ware := number_format(sib)
- SendInput {end}+{home}{Del}{Esc}
- Organizer("Rechner: " ware " Fische -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
- }
- else if(writed=5)
- {
- sib = 0
- SendInput tGib das Gewicht des LBS Fisches ein: {space} (Enter -> Bestätigen){left 22}
- Input, sib, VIM, {enter}
- if sib is not number
- {
- Organizer("Verwende dafür nur Zahlen!.")
- return
- }
- dg:=sib*200
- dg2:=sib*100
- rechnen := number_format(dg)
- min := number_format(dg2)
- ware := number_format(sib)
- SendInput {end}+{home}{Del}{Esc}
- Organizer("Rechner: " ware " LBS -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
- }
- else if(writed=6)
- {
- sib = 0
- SendInput tGib die gewnschte Menge der AD's ein: {space} (Enter -> Bestätigen){left 22}
- Input, sib, VIM, {enter}
- if sib is not number
- {
- Organizer("Verwende dafür nur Zahlen!.")
- return
- }
- dg:=sib*50000
- rechnen := number_format(dg)
- ware := number_format(sib)
- SendInput {end}+{home}{Del}{Esc}
- Organizer("Rechner: " ware " AD's -> max. {088A08}" rechnen "$")
- }
- else if(writed=7)
- {
- sib = 0
- SendInput tGib die gewnschte Hackwanteds ein: {space} (Enter -> Bestätigen){left 22}
- Input, sib, VIM, {enter}
- if sib is not number
- {
- Organizer("Verwende dafür nur Zahlen!.")
- return
- }
- dg:=sib*500000
- dg2:=sib*50000
- rechnen := number_format(dg)
- min := number_format(dg2)
- ware := number_format(sib)
- SendInput {end}+{home}{Del}{Esc}
- Organizer("Rechner: " ware " Wanteds -> min.{5B89CB} " min "$ {FFFFFF}und max. {088A08}" rechnen "$")
- }
- Suspend Off
- return
- :?:/setdrugs::
- Suspend permit
- SendInput Drogen dabei:{space}
- Input drogen,V I M,{enter}
- SendInput {end}+{home}{Del}{Esc}
- if drogen is not number
- {
- Organizer("Fehler! verwende dafür Zahlen!")
- drogen:=0
- }
- else
- {
- IniWrite,%drogen%, TaKe-Binder.ini,Drogensystem, Drogen
- Organizer("Drogen dabei auf " drogen "g gesetzt.")
- }
- Suspend Off
- return
- :?:/setused::
- Suspend permit
- SendInput Drogen genommen:{space}
- Input genommen,V I M,{enter}
- SendInput {end}+{home}{Del}{Esc}
- if genommen is not number
- {
- Organizer("Fehler! verwende dafür Zahlen!")
- genommen:=0
- }
- else
- {
- IniWrite,%genommen%, TaKe-Binder.ini,Drogensystem, Used
- Organizer("Drogen genommen auf " genommen "g gesetzt.")
- }
- Suspend Off
- return
- :?:/reset::
- suspend permit
- SendInput {enter}
- IniWrite,0, TaKe-Binder.ini,Drogensystem, Used
- IniWrite,0, TaKe-Binder.ini,Drogensystem, Drogen
- Organizer("Du hast dein Drogenzähler auf {DF0101}0g {FFFFFF}gesetzt.")
- Suspend Off
- return
- :?:/drugs::
- suspend permit
- SendInput {enter}
- IniRead,genommen, TaKe-Binder.ini,Drogensystem, Used
- IniRead,drogen, TaKe-Binder.ini,Drogensystem, Drogen
- Organizer("Du hast schon {DF0101}" genommen "g {FFFFFF}zu dir genommen. Du kannst noch {00FF04}" 26 - genommen "g {FFFFFF}nehmen!")
- Organizer("Du hast noch {435CE7}" drogen "g {FFFFFF}Drogen bei dir!")
- Suspend Off
- return
- :?:/gzinsen::
- Suspend Permit
- SendInput {Esc}
- iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
- iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
- Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
- Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
- iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
- iniread, Paydays, Take-binder.ini, Zinsen, Paydays
- iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
- iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
- Zinsen21 := number_format(Zinsen21)
- ZinsenGes := number_format(ZinsenGes)
- OldZinsen1 := Number_format(OldZinsen1)
- Paydays := Number_Format(Paydays)
- DZinsen := Number_Format(DZinsen)
- MonatZinsen := Number_Format(MonatZinsen)
- MEinnahmen := Number_Format(MEinnahmen)
- Deinnahmen := Number_Format(Deinnahmen)
- SendChat("/g |____________________ZINSEN von " getplayername() "____________________|")
- SendChat("/g Letzte Zinsen: $" Oldzinsen1 " - Erhaltene Zinsen: $" Number_format(Allzins)"")
- SendChat("/g Zinsen-Heute:{435CE7} $" DZinsen " - Einnahmen-Heute: $" Deinnahmen "")
- sleep 1300
- SendChat("/g Zinsen-Monat:{435CE7} $" MonatZinsen " - Einnahmen-Monat: $" MEinnahmen "")
- SendChat("/g Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
- SendChat("/g |____________________ZINSEN von " getplayername() "____________________|")
- Suspend off
- return
- :?:/fzinsen::
- Suspend Permit
- SendInput {Esc}
- iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
- iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
- Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
- Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
- iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
- iniread, Paydays, Take-binder.ini, Zinsen, Paydays
- iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
- iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
- Zinsen21 := number_format(Zinsen21)
- ZinsenGes := number_format(ZinsenGes)
- OldZinsen1 := Number_format(OldZinsen1)
- Paydays := Number_Format(Paydays)
- DZinsen := Number_Format(DZinsen)
- MonatZinsen := Number_Format(MonatZinsen)
- MEinnahmen := Number_Format(MEinnahmen)
- Deinnahmen := Number_Format(Deinnahmen)
- SendChat("/f |____________________ZINSEN von " getplayername() "____________________|")
- SendChat("/f Letzte Zinsen: $" Oldzinsen1 " - Erhaltene Zinsen: $" Number_format(Allzins)"")
- SendChat("/f Zinsen-Heute:{435CE7} $" DZinsen " - Einnahmen-Heute: $" Deinnahmen "")
- sleep 1300
- SendChat("/f Zinsen-Monat:{435CE7} $" MonatZinsen " - Einnahmen-Monat: $" MEinnahmen "")
- SendChat("/f Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
- SendChat("/f |____________________ZINSEN von " getplayername() "____________________|")
- Suspend off
- return
- :?:/zinsen::
- Suspend Permit
- SendInput {Esc}
- iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
- iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
- Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
- Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
- iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
- iniread, Paydays, Take-binder.ini, Zinsen, Paydays
- iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
- iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
- Zinsen21 := number_format(Zinsen21)
- ZinsenGes := number_format(ZinsenGes)
- OldZinsen1 := Number_format(OldZinsen1)
- Paydays := Number_Format(Paydays)
- DZinsen := Number_Format(DZinsen)
- MonatZinsen := Number_Format(MonatZinsen)
- MEinnahmen := Number_Format(MEinnahmen)
- Deinnahmen := Number_Format(Deinnahmen)
- SendChat("|____________________ZINSEN von " getplayername() "____________________|")
- SendChat("Letzte Zinsen: $" Oldzinsen1 " - Erhaltene Zinsen: $" Number_format(Allzins)"")
- SendChat("Zinsen-Heute:{435CE7} $" DZinsen " - Einnahmen-Heute: $" Deinnahmen "")
- sleep 1300
- SendChat("Zinsen-Monat:{435CE7} $" MonatZinsen " - Einnahmen-Monat: $" MEinnahmen "")
- SendChat("Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
- SendChat("|____________________ZINSEN von " getplayername() "____________________|")
- Suspend off
- return
- :?:/payday::
- suspend permit
- send, {enter}
- iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
- iniread, Paydays, Take-binder.ini, Zinsen, Paydays
- iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
- iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
- Zinsen1 := number_format(Zinsen1)
- ZinsenGes := number_format(ZinsenGes)
- OldZinsen1 := Number_format(OldZinsen1)
- Paydays := Number_Format(Paydays)
- AllZins := Number_Format(AllZins)
- Organizer("Letzte Zinsen: {5B89CB}$" Oldzinsen1 "{FFFFFF}! - Zinsen Gesamt: {5B89CB}$" ZinsenGes "{FFFFFF}!")
- Organizer("Letzte Payday Einnahmen: {5B89CB}$" AllZins "{FFFFFF}! - Paydays: {5B89CB}" Paydays "{FFFFFF}!")
- Suspend off
- return
- :?:/zinsinfo::
- Suspend Permit
- SendInput {Esc}
- iniread,DZinsen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,DZinsen
- iniread,Deinnahmen, Zinsen/Tagesstatistiken vom %TagMonatYahr%.ini,Tag,Deinnahmen
- Iniread,meinnahmen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,meinnahmen
- Iniread,MonatZinsen, Zinsen/Monatsstatistik im %MonatYahr%.ini,Monat,MonatZinsen
- iniread, ZinsenGes, Take-binder.ini, Zinsen, ZinsenGes
- iniread, Paydays, Take-binder.ini, Zinsen, Paydays
- iniread, AllZins, Take-binder.ini, Zinsen, Einnahmen
- iniread, OldZinsen1, Take-binder.ini, Zinsen, OldZinsen1
- Zinsen21 := number_format(Zinsen21)
- ZinsenGes := number_format(ZinsenGes)
- OldZinsen1 := Number_format(OldZinsen1)
- Paydays := Number_Format(Paydays)
- DZinsen := Number_Format(DZinsen)
- MonatZinsen := Number_Format(MonatZinsen)
- MEinnahmen := Number_Format(MEinnahmen)
- Deinnahmen := Number_Format(Deinnahmen)
- Organizer("|____________________ZINSEN von " getplayername() "____________________|")
- Organizer("Letzte Zinsen:{435CE7} $" Oldzinsen1 " - {FFFFFF}Erhaltene Zinsen: {435CE7}$" Number_format(Allzins)"")
- Organizer("Zinsen-Heute:{435CE7} $" DZinsen " - {FFFFFF}Einnahmen-Heute: {435CE7}$" Deinnahmen "")
- Organizer("Zinsen-Monat:{435CE7} $" MonatZinsen " - {FFFFFF}Einnahmen-Monat: {435CE7}$" MEinnahmen "")
- Organizer("Zinsen-Gesamt:{435CE7} $" ZinsenGes "")
- Organizer("|____________________ZINSEN von " getplayername() "____________________|")
- Suspend off
- return
- :?:/killstreak::
- suspend permit
- Send, {enter}
- IniRead, streak, Statistik\statsi.ini, Killstreak, streak
- If(Killstreak=0)
- {
- Organizer("Du hast die Killstreak Funktion nicht aktiviert!")
- }
- else
- {
- if(streak=0)
- {
- Organizer("{FFFFFF}Du hast noch niemanden gekillt!")
- }
- else
- {
- Organizer("Du hast ein {435CE7}" streak "er{FFFFFF} Killstreak")
- }
- }
- suspend off
- return
- :?:/ausgaben::
- Suspend Permit
- SendInput {Esc}
- IniRead, KnastzeitTotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, KnastzeitTotal
- IniRead, DKnastzeit, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Knast, DKnastzeit
- IniRead, MKnastzeit, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,Knast, MKnastzeit
- IniRead, SpritgeldTotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, SpritgeldTotal
- IniRead, DSpritgeld, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Spritgeld, DSpritgeld
- IniRead, MSpritgeld, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,Spritgeld, MSpritgeld
- IniRead, Drogentotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, Drogentotal
- IniRead, DDrogen, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Ausgaben, DDrogen
- IniRead, MDrogen, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,Ausgaben, MDrogen
- IniRead, CopDMTotal, %A_ScriptDir%/Ini Dateien/Einstellungen.ini,Ausgaben, CopDMTotal
- IniRead, DCopDM, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben vom %TagMonatYahr%.ini,CopDM, DCopDM
- IniRead, MCopDM, %A_ScriptDir%/Ini Dateien/Ausgaben/Ausgaben im %MonatYahr%.ini,CopDM, MCopDM
- IniRead, WaffengeldTotal, Ausgaben/Ausgaben.ini,Ausgaben, WaffengeldTotal
- IniRead, DWaffengeld, Ausgaben/Ausgaben vom %TagMonatYahr%.ini,Waffengeld, DWaffengeld
- IniRead, MWaffengeld, Ausgaben/Ausgaben im %MonatYahr%.ini,Waffengeld, MWaffengeld
- Organizer("========= {435CE7}Spritgeld (Ausgaben) {FFFFFF}=========")
- Organizer("Gesamte Spritgeldausgaben: {435CE7}$"number_format(SpritgeldTotal)"")
- Organizer("Tages Spritgeldausgaben:{435CE7} $" number_format(dSpritGeld)"")
- Organizer("Monats Spritgeldausgaben:{435CE7} $" number_format(mspritGeld)"")
- sleep 300
- Organizer("========= {435CE7}Drogen (Verbrauch){FFFFFF} =========")
- Organizer("Gesamter Drogenverbrauch:{435CE7} "number_format(Drogentotal)"g")
- Organizer("Tages Drogenverbrauch:{435CE7} "number_format(dDrogen)"g")
- Organizer("Monats Drogenverbrauch:{435CE7} "number_format(mDrogen)"g")
- sleep 300
- Organizer("======== {435CE7}CopDM (Geldverlust){FFFFFF} =========")
- Organizer("Gesamter CopDM-Verlust:{435CE7} $" number_format(CopDMTotal)"")
- Organizer("Tages CopDM-Verlust:{435CE7} $" number_format(dCopDM)"")
- Organizer("Monats CopDM-Verlust:{435CE7}$"number_format(mCopDM)"")
- sleep 300
- Organizer("======== {435CE7}Knastzeit{FFFFFF} =========")
- Organizer("Gesamte Knastzeit:{435CE7} "Floor(KnastzeitTotal/60) " Minuten")
- Organizer("Tages Knastzeit:{435CE7} "Floor(dKnastzeit/60) " Minuten")
- Organizer("Monats Knastzeit:{435CE7} "Floor(mKnastzeit/60) " Minuten")
- sleep 300
- Organizer("======== {435CE7}Waffengeld (Ausgaben){FFFFFF} =========")
- Organizer("Gesamtes Waffengeld:{435CE7} $" number_format(WaffengeldTotal)"")
- Organizer("Tages Waffengeld:{435CE7} $" number_format(dWaffengeld)"")
- Organizer("Monats Waffengeld:{435CE7} $" number_format(mWaffengeld)"")
- return
- :?:/killstreak::
- suspend permit
- Send, {enter}
- IniRead, streak, Statistik\statsi.ini, Killstreak, streak
- If(Killstreak=0)
- {
- Organizer("Du hast die Killstreak Funktion nicht aktiviert!")
- }
- else
- {
- if(streak=0)
- {
- Organizer("{FFFFFF}Du hast noch niemanden gekillt!")
- }
- else
- {
- Organizer("Du hast ein {435CE7}" streak "er{FFFFFF} Killstreak")
- }
- }
- suspend off
- return
- :?:/q::
- Suspend Permit
- Iniwrite,0, TaKe-Binder.ini,Drogensystem, Drogen
- Iniwrite,0, TaKe-Binder.ini,Drogensystem, Used
- druglimit := 26
- IniWrite, %druglimit%, TaKe-Binder.ini,Drogen, Drogenlimit
- SendInput /q{enter}
- Suspend Off
- return
- :?:/ovmove::
- suspend permit
- OverlayMove = 1
- Organizer("{FFCC50}|________Overlay-Move________|")
- Organizer("1. HP Overlay")
- Organizer("2. Wanted Overlay")
- Organizer("3. Position Overlay")
- Organizer("4. Carinfo Overlay")
- Organizer("5. Gegner Overlay")
- Organizer("6. Drogen-Info Overlay")
- Organizer("{FFCC50}|________Overlay-Move________|")
- SendInput Zahl: Drücke 'Space' nach der Eingabe{home}{right 6}
- Input, ovzahl, VIM, {space}
- SendInput {end}+{home}{Del}{Esc}
- If(ovzahl=1)
- {
- Organizer("{FFBB50}Du kannst nun das HP-Overlay verschieben!")
- }
- If(ovzahl=2)
- {
- Organizer("{FFBB50}Du kannst nun das Wanted-Overlay verschieben!")
- }
- If(ovzahl=3)
- {
- Organizer("{FFBB50}Du kannst nun die Ortsanzeige verschieben!")
- }
- If(ovzahl=4)
- {
- Organizer("{FFBB50}Du kannst nun die Carinfoanzeige verschieben!")
- }
- If(ovzahl=5)
- {
- Organizer("{FFBB50}Du kannst nun das Gegner-Overlay verschieben!")
- }
- If(ovzahl=6)
- {
- Organizer("{FFBB50}Du kannst nun das DrogenInfo-Overlay verschieben!")
- }
- Suspend Off
- return
- :?:/ovhelp::
- Suspend Permit
- SendInput {enter}
- Organizer("{FF5050}|________Overlay-Help________|")
- Organizer("/ovmove = Movemodus starten")
- Organizer("ALT + Pfeiltasten = schnell")
- Organizer("STRG + Pfeiltasten = langsam")
- Organizer("ENTER = Movemodus beenden")
- Organizer("{FF5050}|________Overlay-Help________|")
- Organizer("{5B89CB}waLker: Während dem Movemodus darf keine Pfeiltaste belegt sein!")
- Suspend Off
- return
- ~Enter::
- if(IsInChat())
- {
- Send, {%A_ThisHotkey%}
- return
- }
- if(OverlayMove = 1)
- {
- if(ovzahl = 1)
- {
- ovzahl:=0
- Iniwrite, %HPX%, TaKe-Binder.ini,Settings, HPX
- Iniwrite, %HPY%, TaKe-Binder.ini,Settings, HPY
- Organizer("{FFCC50}Healthposition wurde gespeichert!")
- OverlayMove:=0
- }
- if(ovzahl = 2)
- {
- ovzahl:=0
- Iniwrite, %WX%, TaKe-Binder.ini,Settings, WX
- Iniwrite, %WY%, TaKe-Binder.ini,Settings, WY
- Organizer("{FFCC50}Wantedposition wurde gespeichert!")
- OverlayMove:=0
- }
- if(ovzahl = 3)
- {
- ovzahl:=0
- Iniwrite, %PX%, TaKe-Binder.ini,Settings, PX
- Iniwrite, %PY%, TaKe-Binder.ini,Settings, PY
- Organizer("{FFCC50}Ortsanzeigeposition wurde gespeichert!")
- OverlayMove:=0
- }
- if(ovzahl = 4)
- {
- ovzahl:=0
- Iniwrite, %VX%, TaKe-Binder.ini,Settings, VX
- Iniwrite, %VY%, TaKe-Binder.ini,Settings, VY
- Organizer("{FFCC50}Carinfoposition wurde gespeichert!")
- OverlayMove:=0
- }
- if(ovzahl = 5)
- {
- ovzahl:=0
- Iniwrite, %GX%, TaKe-Binder.ini,Settings, GX
- Iniwrite, %GY%, TaKe-Binder.ini,Settings, GY
- Organizer("{FFCC50}Gegnerposition wurde gespeichert!")
- OverlayMove:=0
- }
- if(ovzahl = 6)
- {
- ovzahl:=0
- Iniwrite, %DX%, TaKe-Binder.ini,Settings, DX
- Iniwrite, %DY%, TaKe-Binder.ini,Settings, DY
- Organizer("{FFCC50}Drogenposition wurde gespeichert!")
- OverlayMove:=0
- }
- }
- return
- ^up::
- if(OverlayMove = 1)
- {
- if(ovzahl = 1)
- {
- HPY := HPY - 1.00
- TextSetPos(Overlay_HP, HPX, HPY)
- }
- if(ovzahl = 2)
- {
- WY := WY - 1.00
- TextSetPos(Overlay_Wanted, WX, WY)
- }
- if(ovzahl = 3)
- {
- PY := PY - 1.00
- TextSetPos(Overlay_POS, PX, PY)
- }
- if(ovzahl = 4)
- {
- VY := VY - 1.00
- TextSetPos(Overlay_Veh, VX, VY)
- }
- if(ovzahl = 5)
- {
- GY := GY - 1.00
- TextSetPos(Gegner, GX, GY)
- }
- if(ovzahl = 6)
- {
- DY := DY - 1.00
- TextSetPos(infooverlay, DX, DY)
- }
- }
- return
- ^down::
- if(OverlayMove = 1)
- {
- if(ovzahl = 1)
- {
- HPY := HPY + 1.00
- TextSetPos(Overlay_HP, HPX, HPY)
- }
- if(ovzahl = 2)
- {
- WY := WY + 1.00
- TextSetPos(Overlay_Wanted, WX, WY)
- }
- if(ovzahl = 3)
- {
- PY := PY + 1.00
- TextSetPos(Overlay_POS, PX, PY)
- }
- if(ovzahl = 4)
- {
- VY := VY + 1.00
- TextSetPos(Overlay_Veh, VX, VY)
- }
- if(ovzahl = 5)
- {
- GY := GY + 1.00
- TextSetPos(Gegner, GX, GY)
- }
- if(ovzahl = 6)
- {
- DY := DY + 1.00
- TextSetPos(infooverlay, DX, DY)
- }
- }
- return
- ^left::
- if(OverlayMove = 1)
- {
- if(ovzahl = 1)
- {
- HPX := HPX - 1.00
- TextSetPos(Overlay_HP, HPX, HPY)
- }
- if(ovzahl = 2)
- {
- WX := WX - 1.00
- TextSetPos(Overlay_Wanted, WX, WY)
- }
- if(ovzahl = 3)
- {
- PX := PX - 1.00
- TextSetPos(Overlay_POS, PX, PY)
- }
- if(ovzahl = 4)
- {
- VX := VX - 1.00
- TextSetPos(Overlay_Veh, VX, VY)
- }
- if(ovzahl = 5)
- {
- GX := GX - 1.00
- TextSetPos(Gegner, GX, GY)
- }
- if(ovzahl = 6)
- {
- DX := DX - 1.00
- TextSetPos(infooverlay, DX, DY)
- }
- }
- return
- ^right::
- if(OverlayMove = 1)
- {
- if(ovzahl = 1)
- {
- HPX := HPX + 1.00
- TextSetPos(Overlay_HP, HPX, HPY)
- }
- if(ovzahl = 2)
- {
- WX := WX + 1.00
- TextSetPos(Overlay_Wanted, WX, WY)
- }
- if(ovzahl = 3)
- {
- PX := PX + 1.00
- TextSetPos(Overlay_POS, PX, PY)
- }
- if(ovzahl = 4)
- {
- VX := VX + 1.00
- TextSetPos(Overlay_Veh, VX, VY)
- }
- if(ovzahl = 5)
- {
- GX := GX + 1.00
- TextSetPos(Gegner, GX, GY)
- }
- if(ovzahl = 6)
- {
- DX := DX + 1.00
- TextSetPos(infooverlay, DX, DY)
- }
- return
- }
- return
- !up::
- if(OverlayMove = 1)
- {
- if(ovzahl = 1)
- {
- HPY := HPY - 3.00
- TextSetPos(Overlay_HP, HPX, HPY)
- }
- if(ovzahl = 2)
- {
- WY := WY - 3.00
- TextSetPos(Overlay_Wanted, WX, WY)
- }
- if(ovzahl = 3)
- {
- PY := PY - 3.00
- TextSetPos(Overlay_POS, PX, PY)
- }
- if(ovzahl = 4)
- {
- VY := VY - 3.00
- TextSetPos(Overlay_Veh, VX, VY)
- }
- if(ovzahl = 5)
- {
- GY := GY - 3.00
- TextSetPos(Gegner, GX, GY)
- }
- if(ovzahl = 6)
- {
- DY := DY - 3.00
- TextSetPos(infooverlay, DX, DY)
- }
- }
- return
- return
- !down::
- if(OverlayMove = 1)
- {
- if(ovzahl = 1)
- {
- HPY := HPY + 3.00
- TextSetPos(Overlay_HP, HPX, HPY)
- }
- if(ovzahl = 2)
- {
- WY := WY + 3.00
- TextSetPos(Overlay_Wanted, WX, WY)
- }
- if(ovzahl = 3)
- {
- PY := PY + 3.00
- TextSetPos(Overlay_POS, PX, PY)
- }
- if(ovzahl = 4)
- {
- VY := VY + 3.00
- TextSetPos(Overlay_Veh, VX, VY)
- }
- if(ovzahl = 5)
- {
- GY := GY + 3.00
- TextSetPos(Gegner, GX, GY)
- }
- if(ovzahl = 6)
- {
- DY := DY + 3.00
- TextSetPos(infooverlay, DX, DY)
- }
- }
- return
- return
- !left::
- if(OverlayMove = 1)
- {
- if(ovzahl = 1)
- {
- HPX := HPX - 3
- TextSetPos(Overlay_HP, HPX, HPY)
- }
- if(ovzahl = 2)
- {
- WX := WX - 3
- TextSetPos(Overlay_Wanted, WX, WY)
- }
- if(ovzahl = 3)
- {
- PX := PX - 3
- TextSetPos(Overlay_POS, PX, PY)
- }
- if(ovzahl = 4)
- {
- VX := VX - 3
- TextSetPos(Overlay_Veh, VX, VY)
- }
- if(ovzahl = 5)
- {
- GX := GX - 3
- TextSetPos(Gegner, GX, GY)
- }
- if(ovzahl = 6)
- {
- DX := DX - 3.00
- TextSetPos(infooverlay, DX, DY)
- }
- }
- return
- !right::
- if(OverlayMove = 1)
- {
- if(ovzahl = 1)
- {
- HPX := HPX + 3
- TextSetPos(Overlay_HP, HPX, HPY)
- }
- if(ovzahl = 2)
- {
- WX := WX + 3
- TextSetPos(Overlay_Wanted, WX, WY)
- }
- if(ovzahl = 3)
- {
- PX := PX + 3
- TextSetPos(Overlay_POS, PX, PY)
- }
- if(ovzahl = 4)
- {
- VX := VX + 3
- TextSetPos(Overlay_Veh, VX, VY)
- }
- if(ovzahl = 5)
- {
- GX := GX + 3
- TextSetPos(Gegner, GX, GY)
- }
- if(ovzahl = 6)
- {
- DX := DX + 3.00
- TextSetPos(infooverlay, DX, DY)
- }
- }
- return
- CheckDate:
- IniRead, Aktiviert, Statistik\statsi.ini, Tageskills, Aktiviert
- IniRead, Tag, Statistik\statsi.ini, Tageskills, Tag
- IniRead, tKills, Statistik\statsi.ini, Tageskills, tKills
- IniRead, tDeaths, Statistik\statsi.ini, Tageskills, tDeaths
- Aktiv = %Aktiviert%
- Tag = %Tag%
- OldDay = %Tag%
- if(Tag = NeuerTag)
- {
- if(Aktiv != 1)
- {
- Organizer("Der Tag stimmt. Heutiger Tag: " Tag " ")
- }
- IniWrite, 1, Statistik\statsi.ini, Tageskills, Aktiviert
- }
- if(Tag != NeuerTag)
- {
- if(Aktiv != 1)
- {
- Organizer("Tages Statistik wurde zurückgesetzt! Alter Tag " OldDay " | Heute: " NeuerTag)
- }
- FileMove, Statistik\statsi.ini, Statistik\Old\Stats vom %OldDay%_%MonatTag%_%Jahr%.ini
- IniWrite, 0, Statistik\statsi.ini, Tageskills, tKills
- IniWrite, 0, Statistik\statsi.ini, Tageskills, tDeaths
- IniWrite, %NeuerTag%, Statistik\statsi.ini, Tageskills, Tag
- IniWrite, 0.00, Statistik\statsi.ini, Tageskills, tKD
- IniWrite, 1, Statistik\statsi.ini, Tageskills, Aktiviert
- }
- Ifnotexist, Statistik/Monats KD im %MonatYahr%.ini
- {
- Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatTode
- Iniwrite,0, Statistik/Monats KD im %MonatYahr%.ini,Monat,MonatKills
- }
- IfNotExist,Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini
- {
- Activity("Tageszinsen " A_DD " . " A_MMMM " . " A_YYYY ".ini wurde erstellt.")
- IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Zinsen
- IniWrite, 0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,letzter Payday
- IniWrite, 0.0, Zinsen\Tageszinsen\Zinsen von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Zinssatz
- }
- IfNotExist,Zinsen\Wochenzinsen\Zinsen von %A_YWeek% . %A_YYYY%.ini
- {
- Activity("Wochenzinsen " A_YWeek " . " A_YYYY ".ini wurde erstellt.")
- IniWrite, 0, Zinsen\Wochenzinsen\Zinsen von %A_YWeek% . %A_YYYY%.ini,Woche,Zinsen
- }
- IfNotExist,Zinsen\Monatszinsen\Zinsen von %A_MMMM%. %A_YYYY%.ini
- {
- Activity("Monatszinsen " A_MMMM " . " A_YYYY ".ini wurde erstellt.")
- IniWrite, 0, Zinsen\Monatszinsen\Zinsen von %A_MMMM%. %A_YYYY%.ini,Monat,Zinsen
- }
- IfNotExist,Waffenstats\Tagesstats\Waffenstats von %A_DD% . %A_MMMM% . %A_YYYY%.ini
- {
- Activity("Waffenstats " A_DD " . " A_MMMM " . " A_YYYY ".ini wurde erstellt.")
- IniWrite, 0, Waffenstats\Monatsstats\Waffenstats von %A_MMMM%. %A_YYYY%.ini,Monat,Waffenlog
- IniWrite, 0, Waffenstats\Wochenstats\Waffenstats von %A_YWeek% . %A_YYYY%.ini,Woche,Waffenlog
- IniWrite, 0, Waffenstats\Tagesstats\Waffenstats von %A_DD% . %A_MMMM% . %A_YYYY%.ini,Tag,Waffenlog
- }
- return
- UndefineBinds:
- return
- DefineBinds:
- return
- ~1::
- return
- :?:/matsrein::
- Suspend Permit
- sendChat("/opencargo")
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput, 1000{enter}
- sleep,150
- sendChat("/opencargo")
- sleep,150
- SendInput,{down}
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput, 1000{enter}
- sleep,150
- sendChat("/opencargo")
- sleep,400
- SendInput,{down 2}
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput, 1000{enter}
- sleep,150
- sendChat("/opencargo")
- sleep,150
- SendInput,{down 3}
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput, 1000{enter}
- sleep,150
- sendChat("/opencargo")
- sleep,150
- SendInput,{down 4}
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput,{enter}
- sleep,150
- SendInput, 1000{enter}
- sleep,200
- sendChat("/me hat den Kofferraum mit Mats befüllt/ rausgenommen")
- Return
- RandomSpruch:
- If(BlockChatInput=1)
- return
- Random,RandomKillspruch, 1, 3
- if(ChatKillspruchAktiv%RandomKillspruch% == 1)
- SendChat(ChatKillSpruch%RandomKillspruch%)
- else
- gosub, RandomSpruch
- return
- FormatSeconds(Sekunden) {
- Return SubStr("0" . Sekunden // 3600, -1) . ":"
- . SubStr("0" . Mod(Sekunden, 3600) // 60, -1) . ":"
- . SubStr("0" . Mod(Sekunden, 60), -1)
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement