Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;<COMPILER: v1.1.23.03>
- #IfWinActive, GTA:SA:MP
- #UseHook
- #Persistent
- #SingleInstance force
- Version=2.2.8
- API=1.0
- Index = %A_AppData%\.UniversalBinder
- Pictures = %A_AppData%\.UniversalBinder\Pictures
- Sounds = %A_AppData%\.UniversalBinder\Sounds
- Settings = %A_AppData%\.UniversalBinder\Settings.ini
- Hotkeys = %A_AppData%\.UniversalBinder\Hotkeys.ini
- Overlays = %A_AppData%\.UniversalBinder\Overlays.ini
- Tagesstatistik = %A_AppData%\.UniversalBinder\Tagesstatistik.ini
- Abbrechen := 0
- Speichern := 0
- LowHPsoundan = 0
- tot := 0
- Freigabe := 1
- caID = Niemand
- SpeedCheckStatus = 0
- SpeedOnOff = 0
- VehSpeedMax = 0
- Paintballmodus = 0
- Killstreak = 0
- Fishzeit = 0
- Overlay = 0
- Menu_Overlay = 0
- Menu_HP = 0
- Menu_Ort = 0
- switcher = 2
- Fishoverlay := "Du kannst fischen"
- Erstehilfeoverlay := "Nicht gesperrt"
- KrankenhausOverlay := "Nicht in Behandlung"
- CheckURL= http://famouzzsoft.square7.ch/UniversalBinder/Version.txt
- CheckURL2= http://famouzzsoft.square7.ch/UniversalBinder/API.txt
- NeueVersion:=UrlDownloadToVar(CheckURL)
- NeueAPI:=UrlDownloadToVar(CheckURL2)
- IfNotExist, %A_AppData%\.UniversalBinder
- {
- FileCreateDir, %A_AppData%\.UniversalBinder
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Sounds
- {
- FileCreateDir, %A_AppData%\.UniversalBinder\Sounds
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures
- {
- FileCreateDir, %A_AppData%\.UniversalBinder\Pictures
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\background.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/background.jpg, background.jpg
- FileMove, background.jpg, %Pictures%\background.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\upbutton.png
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/upbutton.png, upbutton.png
- FileMove, upbutton.png, %Pictures%\upbutton.png
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\dpbutton.png
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/dpbutton.png, dpbutton.png
- FileMove, dpbutton.png, %Pictures%\dpbutton.png
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\rpbutton.png
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/rpbutton.png, rpbutton.png
- FileMove, rpbutton.png, %Pictures%\rpbutton.png
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\lpbutton.png
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/lpbutton.png, lpbutton.png
- FileMove, lpbutton.png, %Pictures%\lpbutton.png
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\Link.png
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/Link.png, Link.png
- FileMove, Link.png, %Pictures%\Link.png
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\soundwahl.png
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/soundwahl.png, soundwahl.png
- FileMove, soundwahl.png, %Pictures%\soundwahl.png
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\anwaltpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/anwaltpic.jpg, anwaltpic.jpg
- FileMove, anwaltpic.jpg, %Pictures%\anwaltpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\busfahrerpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/busfahrerpic.jpg, busfahrerpic.jpg
- FileMove, busfahrerpic.jpg, %Pictures%\busfahrerpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\detektivpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/detektivpic.jpg, detektivpic.jpg
- FileMove, detektivpic.jpg, %Pictures%\detektivpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\drogendealerpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/drogendealerpic.jpg, drogendealerpic.jpg
- FileMove, drogendealerpic.jpg, %Pictures%\drogendealerpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\hochseefischerpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/hochseefischerpic.jpg, hochseefischerpic.jpg
- FileMove, hochseefischerpic.jpg, %Pictures%\hochseefischerpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\mechatronikerpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/mechatronikerpic.jpg, mechatronikerpic.jpg
- FileMove, mechatronikerpic.jpg, %Pictures%\mechatronikerpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\muellmannpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/muellmannpic.jpg, muellmannpic.jpg
- FileMove, muellmannpic.jpg, %Pictures%\muellmannpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\pilotpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/pilotpic.jpg, pilotpic.jpg
- FileMove, pilotpic.jpg, %Pictures%\pilotpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\truckerpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/truckerpic.jpg, truckerpic.jpg
- FileMove, truckerpic.jpg, %Pictures%\truckerpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\waffendealerpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/waffendealerpic.jpg, waffendealerpic.jpg
- FileMove, waffendealerpic.jpg, %Pictures%\waffendealerpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Pictures\zugfahrerpic.jpg
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Pictures/zugfahrerpic.jpg, zugfahrerpic.jpg
- FileMove, zugfahrerpic.jpg, %Pictures%\zugfahrerpic.jpg
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Sounds\Call.mp3
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/Call.mp3, Call.mp3
- FileMove, Call.mp3, %Sounds%\Call.mp3
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Sounds\SMS.mp3
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/SMS.mp3, SMS.mp3
- FileMove, SMS.mp3, %Sounds%\SMS.mp3
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Sounds\LowHP.mp3
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/LowHP.mp3, LowHP.mp3
- FileMove, LowHP.mp3, %Sounds%\LowHP.mp3
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Sounds\Kill.mp3
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/Kill.mp3, Kill.mp3
- FileMove, Kill.mp3, %Sounds%\Kill.mp3
- }
- IfNotExist, %A_AppData%\.UniversalBinder\Sounds\Tod.mp3
- {
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/Sounds/Tod.mp3, Tod.mp3
- FileMove, Tod.mp3, %Sounds%\Tod.mp3
- }
- IfExist, Update.bat
- {
- FileDelete, Update.bat
- }
- IfNotExist, %Hotkeys%
- {
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl1
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl2
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl3
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl4
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl5
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl6
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl7
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl8
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl9
- IniWrite,"", %Hotkeys%, Tastenbelegung Zahlen, TZahl0
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad1
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad2
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad3
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad4
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad5
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad6
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad7
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad8
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad9
- IniWrite,"", %Hotkeys%, Tastenbelegung Numpad, TNumPad0
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF1
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF2
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF3
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF4
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF5
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF6
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF7
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF8
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF9
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF10
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF11
- IniWrite,"", %Hotkeys%, Tastenbelegung F-Taste, TF12
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste1I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste1B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste2I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste2B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste3I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste3B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste4I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste4B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste5I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste5B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste6I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste6B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste7I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste7B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste8I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste8B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste9I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste9B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste10I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste10B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste11I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste11B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste12I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste12B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste13I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste13B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste14I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste14B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste15I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste15B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste16I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste16B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste17I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste17B
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste18I
- IniWrite,"", %Hotkeys%, Tastenbelegung Zusatztasten, Taste18B
- IniWrite, "" ,%Hotkeys%, Zusatz, HKPause
- IniWrite, "" ,%Hotkeys%, Zusatz, HKWiederholen
- IniWrite, "" ,%Hotkeys%, Zusatz, HKHP
- IniWrite, "" ,%Hotkeys%, Zusatz, HKHilfe
- IniWrite, Benutzername, %Settings%, Einstellungen, Benutzername
- IniWrite, Passwort, %Settings%, Einstellungen, Passwort
- IniWrite, 1, %Settings%, Einstellungen, Job
- IniWrite, 0, %Settings%, Einstellungen, Detektivskill
- IniWrite, 0, %Settings%, Einstellungen, Anwaltskill
- IniWrite, 0, %Settings%, Einstellungen, Busfahrerskill
- IniWrite, TS-Name, %Settings%, Einstellungen, TSName
- IniWrite, 0, %Settings%, Einstellungen, admin
- IniWrite, 0, %Settings%, Einstellungen, Chatlogsaver
- IniWrite, 0, %Settings%, Einstellungen, AntiSpam
- IniWrite, 0, %Settings%, Einstellungen, Gehaltsscheck
- IniWrite, 0, %Settings%, Einstellungen, GangZaehler
- IniWrite, 0, %Settings%, Einstellungen, Killzähler
- IniWrite, 0, %Settings%, Einstellungen, Todestähler
- IniWrite, 0, %Settings%, Einstellungen, Lock
- IniWrite, 0, %Settings%, Einstellungen, TankZoll
- IniWrite, "", %Settings%, Killzähler, KillzählerSpruch
- IniWrite, "", %Settings%, Killzähler, GFKillzählerSpruch
- IniWrite, "", %Settings%, Todeszähler, Todeszählerspruch
- IniWrite, "", %Settings%, Zusatz, Pickup
- IniWrite, "", %Settings%, Zusatz, Hangup
- IniWrite, "", %Hotkeys%, JobHotkey, HotKey1
- IniWrite, "", %Hotkeys%, JobHotkey, HotKey2
- IniWrite, "", %Hotkeys%, JobHotkey, HotKey3
- IniWrite, "", %Hotkeys%, JobHotkey, HotKey4
- IniWrite, "", %Hotkeys%, JobHotkey, HotKey5
- }
- IfNotExist, API.dll
- {
- MsgBox, 64, Fehler, Die API.dll wurde nicht gefunden. Sie wird nun heruntergeladen.
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/API.dll, API.dll
- Sleep, 200
- FileGetSize, API_size, API.dll, k
- if(API_size < 488)
- {
- MsgBox, 16, Fehler, Beim Download der API.dll ist ein Fehler aufgetreten. Bitte überprüfe deine Internetverbindung und stelle sicher, dass dein Virenschutz und deine Firewall den Keybinder nicht blockieren. `nDer Keybinder wird nun beendet.
- ExitApp
- }
- MsgBox, 64, Erfolgreich, Die API.dll wurde erfolgreich heruntergeladen. Der Keybinder wird nun neu gestartet.
- Reload
- }
- IfNotExist, dx9_overlay.dll
- {
- MsgBox, 64, Fehler, Die dx9_overlay.dll wurde nicht gefunden. Sie wird nun heruntergeladen.
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/dx9_overlay.dll, dx9_overlay.dll
- Sleep, 1000
- FileGetSize, overlayapi_size, dx9_overlay.dll, k
- if(overlayapi_size < 500)
- {
- MsgBox, 16, Fehler, Beim Download der dx9_overlay.dll ist ein Fehler aufgetreten. Bitte überprüfe deine Internetverbindung und stelle sicher, dass dein Virenschutz und deine Firewall den Keybinder nicht blockieren. `nDer Keybinder wird nun beendet.
- ExitApp
- }
- MsgBox, 64, Erfolgreich, Die dx9_overlay.dll wurde erfolgreich heruntergeladen. Der Keybinder wird nun neu gestartet.
- Reload
- }
- #NoEnv
- API_ERROR_NONE := 0
- API_ERROR_SNAPSHOT_FAILED := 1
- API_ERROR_SAMP_NOT_FOUND := 2
- API_ERROR_REMOTE_MEMORY_ALLOCATION_FAILED := 3
- API_ERROR_WRITEPROCESSMEMORY_FAILED := 4
- API_ERROR_GETPROCADDRESS_FAILED := 5
- API_ERROR_REMOTETHREAD_FAILED := 6
- API_ERROR_INVALID_GTA_HANDLE := 7
- API_ERROR_PIPE_DOESNT_RESPOND := 8
- API_ERROR_STRING_TOO_LONG := 9
- PLAYER_STATE_LEAVING_VEHICLE := 0
- PLAYER_STATE_NORMAL := 1
- PLAYER_STATE_DRIVING := 50
- PLAYER_STATE_DYING := 54
- PLAYER_STATE_DEAD := 55
- CALLBACK_HEAL := 0
- CALLBACK_ARMOR := 1
- CALLBACK_POSITION := 2
- CALLBACK_ENTEREXIT := 3
- CALLBACK_VEHICLE_ENTEREXIT := 4
- CALLBACK_VEHICLE_HEALTH := 5
- CALLBACK_VEHICLE_ENGINE := 6
- CALLBACK_VEHICLE_LOCK := 7
- CALLBACK_VEHICLE_SPEED := 8
- CALLBACK_WEAPON_CLIP := 9
- CALLBACK_WEAPON_TOTALCLIP := 10
- CALLBACK_WEAPON_SWITCH := 11
- CALLBACK_CHATLOG := 12
- PATH_API := RelToAbs(A_ScriptDir, "API.dll")
- hModule := DllCall("LoadLibrary", Str, PATH_API)
- if(hModule == -1 || hModule == 0)
- {
- MsgBox, 48, API - Fehler, Die API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
- ExitApp
- }
- ReadMemory_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ReadMemory")
- WriteMemory_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_WriteMemory")
- GetBasePointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetBasePointer")
- GetCommandLine_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCommandLine")
- GetLastError_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastError")
- SetLastError_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetLastError")
- SendChat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SendChat")
- ShowGameText_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowGameText")
- AddChatMessage_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_AddChatMessage")
- ShowDialog_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowDialog")
- IsDialogOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsDialogOpen")
- GetLastDialogId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastDialogId")
- GetLastDialogType_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastDialogType")
- BlockChatInput_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BlockChatInput")
- GetChatLine_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLine")
- GetChatLineFromFile_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLineFromFile")
- IsChatOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsChatOpen")
- GetScreenSizeX_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeX")
- GetScreenSizeY_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeY")
- GetCurrentWeatherId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeatherId")
- GetZoneName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneName")
- GetCityName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityName")
- GetZoneNameByCoords_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneNameByCoords")
- GetCityNameByCoords_func:= DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityNameByCoords")
- GetMarkerPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetMarkerPos")
- GetLastMousePosOnMenuMap_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetLastMousePosOnMenuMap")
- GetMapMarkerPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetMapMarkerPos")
- FindGroundZForPosition_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_FindGroundZForPosition")
- WorldToScreen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_WorldToScreen")
- ScreenToWorld_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ScreenToWorld")
- RegisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_RegisterTextBind")
- UnregisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterTextBind")
- UnregisterAllTextBinds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterAllTextBinds")
- TextBindTimer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextBindTimer")
- IsMenuOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsMenuOpen")
- GetPlayerId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerId")
- GetPlayerName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerName")
- GetServerIp_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerIp")
- GetServerPort_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerPort")
- GetPlayerCPed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerCPed")
- GetPlayerHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerHealth")
- GetPlayerArmor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerArmor")
- GetPlayerMoney_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerMoney")
- GetPlayerWanteds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWanteds")
- GetPlayerPosition_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPosition")
- IsPlayerInRangeOfPoint_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint")
- IsPlayerInRangeOfPoint2D_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint2D")
- IsPlayerInAnyInterior_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyInterior")
- IsPlayerFrozen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerFrozen")
- GetPlayerWeaponSlot_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponSlot")
- GetPlayerWeaponId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponId")
- GetPlayerWeaponName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponName")
- GetPlayerWeaponClip_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponClip")
- GetPlayerWeaponTotalClip_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponTotalClip")
- GetPlayerWeaponState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWeaponState")
- GetPlayerState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerState")
- GetVehiclePointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehiclePointer")
- GetVehicleModelId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelId")
- GetVehicleModelName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelName")
- GetVehicleModelNameById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModelNameById")
- GetVehicleType_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleType")
- GetVehicleHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHealth")
- GetVehicleRadioStation_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleRadioStation")
- GetVehicleRadioStationName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleRadioStationName")
- GetVehicleFreeSeats_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFreeSeats")
- GetVehicleSpeed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSpeed")
- GetVehicleFirstColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFirstColor")
- GetVehicleSecondColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSecondColor")
- GetVehicleColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColor")
- GetVehicleColorRGB_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColorRGB")
- GetVehicleColorARGB_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleColorARGB")
- IsPlayerInAnyVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyVehicle")
- IsPlayerDriver_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerDriver")
- IsPlayerPassenger_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerPassenger")
- IsVehicleSeatUsed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleSeatUsed")
- IsVehicleLocked_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleLocked")
- IsVehicleSirenEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleSirenEnabled")
- IsVehicleHornEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleHornEnabled")
- IsVehicleAlternateSirenEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleAlternateSirenEnabled")
- IsVehicleEngineEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleEngineEnabled")
- IsVehicleLightEnabled_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsVehicleLightEnabled")
- IsPlayerInCar_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInCar")
- IsPlayerInPlane_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInPlane")
- IsPlayerInBoat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInBoat")
- IsPlayerInTrain_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInTrain")
- IsPlayerInBike_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInBike")
- SetCallbackPointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetCallbackPointer")
- UnSetCallbackPointer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetCallbackPointer")
- SetListenCallback_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SetListenCallback")
- UnSetListenCallback_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetListenCallback")
- UnSetListenCallbackAll_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnSetListenCallbackAll")
- UpdateServerData_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UpdateServerData")
- GetPlayerNameById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerNameById")
- GetPlayerIdByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerIdByName")
- ReadMemory(addr, size, ByRef data)
- {
- global ReadMemory_func
- VarSetCapacity(data,size)
- res := DllCall(ReadMemory_func, UInt, addr, UInt, size, StrP, data)
- return res
- }
- WriteMemory(addr, size, data)
- {
- global WriteMemory_func
- res := DllCall(WriteMemory_func, UInt, addr, UInt, size, Str, data)
- return res
- }
- GetBasePointer(dll)
- {
- global GetBasePointer_func
- res :=DllCall(GetBasePointer_func, Str, dll)
- return res
- }
- GetCommandLine(ByRef line)
- {
- global GetCommandLine_func
- VarSetCapacity(line,512,0)
- res := DllCall(GetCommandLine_func, StrP, line)
- return res
- }
- GetLastError()
- {
- global GetLastError_func
- res:=DllCall(GetLastError_func)
- return res
- }
- SetLastError(error)
- {
- global SetLastError_func
- res := DllCall(SetLastError_func, Int, error)
- return res
- }
- SendChat(msg)
- {
- global SendChat_func
- res := DllCall(SendChat_func, Str, msg)
- return res
- }
- ShowGameText(str_Text, int_Time, int_Style)
- {
- global ShowGameText_func
- res := DllCall(ShowGameText_func,Str , str_Text, Int, int_Time, Int, int_Style)
- return res
- }
- AddChatMessage(int_Color, str_Text)
- {
- global AddChatMessage_func
- res := DllCall(AddChatMessage_func, Int, int_Color, Str, str_Text)
- return res
- }
- ShowDialog(style, caption, text, button)
- {
- global ShowDialog_func
- res := DllCall(ShowDialog_func, Int, style, Str, caption, Str, text, Str, button)
- return res
- }
- IsDialogOpen()
- {
- global IsDialogOpen_func
- res := DllCall(IsDialogOpen_func)
- return res
- }
- GetLastDialogId()
- {
- global GetLastDialogId_func
- res := DllCall(GetLastDialogId_func)
- return res
- }
- GetLastDialogType()
- {
- global GetLastDialogType_func
- res := DllCall(GetLastDialogType_func)
- return res
- }
- BlockChatInput(block)
- {
- global BlockChatInput_func
- res := DllCall(BlockChatInput_func,UChar,block)
- return res
- }
- GetChatLine(id, ByRef line)
- {
- global GetChatLine_func
- VarSetCapacity(line,256,0)
- res := DllCall(GetChatLine_func,Int,id,StrP,line)
- return res
- }
- GetChatLineFromFile(id, ByRef line)
- {
- global GetChatLineFromFile_func
- VarSetCapacity(line,256,0)
- res := DllCall(GetChatLineFromFile_func,Int,id,StrP,line)
- return res
- }
- IsChatOpen()
- {
- global IsChatOpen_func
- res := DllCall(IsChatOpen_func)
- return res
- }
- GetScreenSizeX()
- {
- global GetScreenSizeX_func
- res := DllCall(GetScreenSizeX_func)
- return res
- }
- GetScreenSizeY()
- {
- global GetScreenSizeY_func
- res := DllCall(GetScreenSizeY_func)
- return res
- }
- GetCurrentWeatherId()
- {
- global GetCurrentWeatherId_func
- res := DllCall(GetCurrentWeatherId_func)
- return res
- }
- GetZoneName( ByRef str_ZoneName)
- {
- global GetZoneName_func
- VarSetCapacity(str_ZoneName, 32)
- res := DllCall(GetZoneName_func, StrP, str_ZoneName)
- return res
- }
- GetCityName( ByRef str_CityName)
- {
- global GetCityName_func
- VarSetCapacity(str_CityName, 32)
- res := DllCall(GetCityName_func, StrP, str_CityName)
- return res
- }
- GetZoneNameByCoords(x, y, ByRef str_ZoneName)
- {
- global GetZoneNameByCoords_func
- VarSetCapacity(str_ZoneName, 32)
- res := DllCall(GetZoneNameByCoords_func, Float, x, Float, y, StrP, str_ZoneName)
- return res
- }
- GetCityNameByCoords(x, y, ByRef str_CityName)
- {
- global GetCityNameByCoords_func
- VarSetCapacity(str_CityName, 32)
- res := DllCall(GetCityNameByCoords_func, Float, x, Float, y, StrP, str_CityName)
- return res
- }
- GetMarkerPos(ByRef x, ByRef y, ByRef z)
- {
- global GetMarkerPos_func
- res := DllCall(GetMarkerPos_func, FloatP, x, FloatP, y, FloatP, z)
- return res
- }
- GetLastMousePosOnMenuMap(ByRef x, ByRef y)
- {
- global GetLastMousePosOnMenuMap_func
- res := DllCall(GetLastMousePosOnMenuMap_func, FloatP, x, FloatP, y)
- return res
- }
- GetMapMarkerPos(ByRef x, ByRef y)
- {
- global GetMapMarkerPos_func
- res := DllCall(GetMapMarkerPos_func, FloatP, x, FloatP, y)
- return res
- }
- FindGroundZForPosition(x,y)
- {
- global FindGroundZForPosition_func
- res := DllCall(FindGroundZForPosition_func, Float, x, Float, y, "Cdecl float")
- return res
- }
- WorldToScreen(worldX, worldY, worldZ, ByRef screenX, ByRef screenY)
- {
- global WorldToScreen_func
- res := DllCall(WorldToScreen_func, Float, worldX, Float, worldY, Float, worldZ, FloatP, screenX, FloatP, screenY)
- return res
- }
- ScreenToWorld(screenX, screenY, ByRef worldX, ByRef worldY, ByRef worldZ)
- {
- global ScreenToWorld_func
- res := DllCall(ScreenToWorld_func, Float, screenX, Float, screenY, FloatP, worldX, FloatP, worldY, FloatP, worldZ)
- return res
- }
- RegisterTextBind(str_TextBind, float_PosX, float_PosY, float_PosZ, float_Radius, int_Delay, int_Loop, int_GroupId, int_isChild, int_Timeout)
- {
- global RegisterTextBind_func
- res := DllCall(RegisterTextBind_func, Str, str_TextBind, Float, float_PosX, Float, float_PosY, Float, float_PosZ, Float, float_Radius, Int, int_Delay, Int, int_Loop, Int, int_GroupId, Int, int_isChild, Int, int_Timeout)
- return res
- }
- UnregisterTextBind(int_TextBindId)
- {
- global UnregisterTextBind_func
- res := DllCall(UnregisterTextBind_func, Int, int_TextBindId)
- return res
- }
- UnregisterAllTextBinds()
- {
- global UnregisterAllTextBinds_func
- res := DllCall(UnregisterAllTextBinds_func)
- return res
- }
- TextBindTimer(int_TextBindSleep)
- {
- global TextBindTimer_func
- res := DllCall(TextBindTimer_func, Int, int_TextBindSleep)
- return res
- }
- IsMenuOpen()
- {
- global IsMenuOpen_func
- res := DllCall(IsMenuOpen_func)
- return res
- }
- GetPlayerId()
- {
- global GetPlayerId_func
- res := DllCall(GetPlayerId_func)
- return res
- }
- GetPlayerName(ByRef szName)
- {
- global GetPlayerName_func
- VarSetCapacity(szName,25)
- res := DllCall(GetPlayerName_func, StrP, szName)
- return res
- }
- GetServerIp(ByRef szHost)
- {
- global GetServerIp_func
- VarSetCapacity(szHost, 30)
- res := DllCall(GetServerIp_func, StrP, szHost)
- return res
- }
- GetServerPort()
- {
- global GetServerPort_func
- res := DllCall(GetServerPort_func)
- return res
- }
- GetPlayerCPed()
- {
- global GetPlayerCPed_func
- res :=DllCall(GetPlayerCPed_func)
- return res
- }
- GetPlayerHealth()
- {
- global GetPlayerHealth_func
- res := DllCall(GetPlayerHealth_func)
- return res
- }
- GetPlayerArmor()
- {
- global GetPlayerArmor_func
- res := DllCall(GetPlayerArmor_func)
- return res
- }
- GetPlayerMoney()
- {
- global GetPlayerMoney_func
- res := DllCall(GetPlayerMoney_func)
- return res
- }
- GetPlayerWanteds()
- {
- global GetPlayerWanteds_func
- res := DllCall(GetPlayerWanteds_func)
- return res
- }
- GetPlayerPosition(ByRef flo_posX, ByRef flo_posY, ByRef flo_posZ, ByRef flo_Rotation)
- {
- global GetPlayerPosition_func
- res := DllCall(GetPlayerPosition_func, FloatP, flo_posX, FloatP, flo_posY, FloatP, flo_posZ, FloatP, flo_Rotation)
- return res
- }
- IsPlayerInRangeOfPoint(flo_posX, flo_posY, flo_posZ, flo_posRadius)
- {
- global IsPlayerInRangeOfPoint_func
- res := DllCall(IsPlayerInRangeOfPoint_func, Float, flo_posX, Float, flo_posY, Float, flo_posZ, Float, flo_posRadius)
- return res
- }
- IsPlayerInRangeOfPoint2D(flo_posX, flo_posY, flo_posRadius)
- {
- global IsPlayerInRangeOfPoint2D_func
- res := DllCall(IsPlayerInRangeOfPoint2D_func, Float, flo_posX, Float, flo_posY, Float, flo_posRadius)
- return res
- }
- IsPlayerInAnyInterior()
- {
- global IsPlayerInAnyInterior_func
- res := DllCall(IsPlayerInAnyInterior_func)
- return res
- }
- IsPlayerFrozen()
- {
- global IsPlayerFrozen_func
- res := DllCall(IsPlayerFrozen_func)
- return res
- }
- GetPlayerWeaponSlot()
- {
- global GetPlayerWeaponSlot_func
- res := DllCall(GetPlayerWeaponSlot_func)
- return res
- }
- GetPlayerWeaponId(int_WeaponSlot)
- {
- global GetPlayerWeaponId_func
- res := DllCall(GetPlayerWeaponId_func, Int, int_WeaponSlot)
- return res
- }
- GetPlayerWeaponName(int_WeaponSlot, ByRef str_WeapName)
- {
- global GetPlayerWeaponName_func
- VarSetCapacity(str_WeapName, 32)
- res := DllCall(GetPlayerWeaponName_func, Int, int_WeaponSlot, StrP, str_WeapName)
- return res
- }
- GetPlayerWeaponClip(int_WeaponSlot)
- {
- global GetPlayerWeaponClip_func
- res := DllCall(GetPlayerWeaponClip_func, Int, int_WeaponSlot)
- return res
- }
- GetPlayerWeaponTotalClip(int_WeaponSlot)
- {
- global GetPlayerWeaponTotalClip_func
- res := DllCall(GetPlayerWeaponTotalClip_func, Int, int_WeaponSlot)
- return res
- }
- GetPlayerWeaponState()
- {
- global GetPlayerWeaponState_func
- res := DllCall(GetPlayerWeaponState_func)
- return res
- }
- GetPlayerState()
- {
- global GetPlayerState_func
- res := DllCall(GetPlayerState_func)
- return res
- }
- GetVehiclePointer()
- {
- global GetVehiclePointer_func
- res := DllCall(GetVehiclePointer_func)
- return res
- }
- GetVehicleModelId()
- {
- global GetVehicleModelId_func
- res := DllCall(GetVehicleModelId_func)
- return res
- }
- GetVehicleModelName(ByRef str_VehicleName)
- {
- global GetVehicleModelName_func
- VarSetCapacity(str_VehicleName, 32)
- res := DllCall(GetVehicleModelName_func, StrP, str_VehicleName)
- return res
- }
- GetVehicleModelNameById(int_VehicleId, ByRef str_VehicleName)
- {
- global GetVehicleModelNameById_func
- VarSetCapacity(str_VehicleName, 32)
- res := DllCall(GetVehicleModelNameById_func, Int, int_VehicleId, StrP, str_VehicleName)
- return res
- }
- GetVehicleType()
- {
- global GetVehicleType_func
- res := DllCall(GetVehicleType_func)
- return res
- }
- GetVehicleHealth()
- {
- global GetVehicleHealth_func
- res := DllCall(GetVehicleHealth_func)
- return res
- }
- GetVehicleRadioStation()
- {
- global GetVehicleRadioStation_func
- res := DllCall(GetVehicleRadioStation_func)
- return res
- }
- GetVehicleRadioStationName(ByRef str_RadioName)
- {
- global GetVehicleRadioStationName_func
- VarSetCapacity(str_RadioName, 32)
- res := DllCall(GetVehicleRadioStationName_func, StrP, str_RadioName)
- return res
- }
- GetVehicleFreeSeats(ByRef int_SeatFL, ByRef int_SeatFR, ByRef int_SeatBL, ByRef int_SeatBR)
- {
- global GetVehicleFreeSeats_func
- res := DllCall(GetVehicleFreeSeats_func, IntP, int_SeatFL, IntP, int_SeatFR, IntP, int_SeatBL, IntP, int_SeatBR)
- return res
- }
- GetVehicleSpeed(float_SpeedMult)
- {
- global GetVehicleSpeed_func
- res := DllCall(GetVehicleSpeed_func, Float, float_SpeedMult)
- return res
- }
- GetVehicleFirstColor()
- {
- global GetVehicleFirstColor_func
- res := DllCall(GetVehicleFirstColor_func)
- return res
- }
- GetVehicleSecondColor()
- {
- global GetVehicleSecondColor_func
- res := DllCall(GetVehicleSecondColor_func)
- return res
- }
- GetVehicleColor(ByRef int_ColorFirst, ByRef int_ColorSecond)
- {
- global GetVehicleColor_func
- res := DllCall(GetVehicleColor_func, IntP, int_ColorFirst, IntP, int_ColorSecond)
- return res
- }
- GetVehicleColorRGB(int_Color, ByRef uint_ColorRGB)
- {
- global GetVehicleColorRGB_func
- res := DllCall(GetVehicleColorRGB_func, Int, int_Color, UIntP, uint_ColorRGB)
- return res
- }
- GetVehicleColorARGB(int_Color, ByRef uint_ColorARGB)
- {
- global GetVehicleColorARGB_func
- res := DllCall(GetVehicleColorARGB_func, Int, int_Color, UIntP, uint_ColorARGB)
- return res
- }
- IsPlayerInAnyVehicle()
- {
- global IsPlayerInAnyVehicle_func
- res := DllCall(IsPlayerInAnyVehicle_func)
- return res
- }
- IsPlayerDriver()
- {
- global IsPlayerDriver_func
- res := DllCall(IsPlayerDriver_func)
- return res
- }
- IsPlayerPassenger()
- {
- global IsPlayerPassenger_func
- res := DllCall(IsPlayerPassenger_func)
- return res
- }
- IsVehicleSeatUsed(int_SeatId)
- {
- global IsVehicleSeatUsed_func
- res := DllCall(IsVehicleSeatUsed_func, int, int_SeatId)
- return res
- }
- IsVehicleLocked()
- {
- global IsVehicleLocked_func
- res := DllCall(IsVehicleLocked_func)
- return res
- }
- IsVehicleSirenEnabled()
- {
- global IsVehicleSirenEnabled_func
- res := DllCall(IsVehicleSirenEnabled_func)
- return res
- }
- IsVehicleHornEnabled()
- {
- global IsVehicleHornEnabled_func
- res := DllCall(IsVehicleHornEnabled_func)
- return res
- }
- IsVehicleAlternateSirenEnabled()
- {
- global IsVehicleAlternateSirenEnabled_func
- res := DllCall(IsVehicleAlternateSirenEnabled_func)
- return res
- }
- IsVehicleEngineEnabled()
- {
- global IsVehicleEngineEnabled_func
- res := DllCall(IsVehicleEngineEnabled_func)
- return res
- }
- IsVehicleLightEnabled()
- {
- global IsVehicleLightEnabled_func
- res := DllCall(IsVehicleLightEnabled_func)
- return res
- }
- IsPlayerInCar()
- {
- global IsPlayerInCar_func
- res := DllCall(IsPlayerInCar_func)
- return res
- }
- IsPlayerInPlane()
- {
- global IsPlayerInPlane_func
- res := DllCall(IsPlayerInPlane_func)
- return res
- }
- IsPlayerInBoat()
- {
- global IsPlayerInBoat_func
- res := DllCall(IsPlayerInBoat_func)
- return res
- }
- IsPlayerInTrain()
- {
- global IsPlayerInTrain_func
- res := DllCall(IsPlayerInTrain_func)
- return res
- }
- IsPlayerInBike()
- {
- global IsPlayerInBike_func
- res := DllCall(IsPlayerInBike_func)
- return res
- }
- SetListenCallback(int_Id)
- {
- global SetListenCallback_func
- res := DllCall(SetListenCallback_func, Int, int_Id)
- return res
- }
- UnSetCallbackPointer()
- {
- global UnSetCallbackPointer_func
- res := DllCall(UnSetCallbackPointer_func)
- return res
- }
- SetCallbackPointer(int_Id)
- {
- global SetCallbackPointer_func
- res := DllCall(SetCallbackPointer_func, Int, int_Id)
- return res
- }
- UnSetListenCallback(int_Id)
- {
- global UnSetListenCallback_func
- res := DllCall(UnSetListenCallback_func, Int, int_Id)
- return res
- }
- UnSetListenCallbackAll()
- {
- global UnSetListenCallbackAll_func
- res := DllCall(UnSetListenCallbackAll_func)
- return res
- }
- GetCallbackHealParams(ptr_HealStruct, ByRef iOldHeal, ByRef iNewHeal)
- {
- ioldHeal := NumGet(ptr_HealStruct+0, "int")
- inewHeal := NumGet(ptr_HealStruct+4, "int")
- }
- GetCallbackArmorParams(ptr_ArmorStruct, ByRef iOldArmor, ByRef iNewArmor)
- {
- ioldArmor := NumGet(ptr_ArmorStruct+0, "int")
- inewArmor := NumGet(ptr_ArmorStruct+4, "int")
- }
- GetCallbackPositionParams(ptr_PositionStruct, ByRef fOldPosX, ByRef fOldPosY, ByRef fOldPosZ, ByRef fOldPosR, ByRef fNewPosX, ByRef fNewPosY, ByRef fNewPosZ, ByRef fNewPosR)
- {
- fOldPosX := NumGet(ptr_PositionStruct+0, "float")
- fOldPosY := NumGet(ptr_PositionStruct+4, "float")
- fOldPosZ := NumGet(ptr_PositionStruct+8, "float")
- fOldPosR := NumGet(ptr_PositionStruct+12, "float")
- fNewPosX := NumGet(ptr_PositionStruct+16, "float")
- fNewPosY := NumGet(ptr_PositionStruct+20, "float")
- fNewPosZ := NumGet(ptr_PositionStruct+24, "float")
- fNewPosR := NumGet(ptr_PositionStruct+28, "float")
- }
- GetCallbackEnterExitParams(ptr_EnterExitStruct, ByRef iOldInteriorState, ByRef iNewInteriorState)
- {
- iOldInteriorState := NumGet(ptr_EnterExitStruct+0, "int")
- iNewInteriorState := NumGet(ptr_EnterExitStruct+4, "int")
- }
- GetCallbackVehicleEnterExitParams(ptr_VehicleEnterExitStruct, ByRef iOldVehicleEnterExit, ByRef iNewVehicleEnterExit)
- {
- iOldVehicleEnterExit := NumGet(ptr_VehicleEnterExitStruct+0, "int")
- iNewVehicleEnterExit := NumGet(ptr_VehicleEnterExitStruct+4, "int")
- }
- GetCallbackVehicleHealthParams(ptr_VehicleHealthStruct, ByRef iOldVehicleHealth, ByRef iNewVehicleHealth)
- {
- iOldVehicleHealth := NumGet(ptr_VehicleHealthStruct+0, "int")
- iNewVehicleHealth := NumGet(ptr_VehicleHealthStruct+4, "int")
- }
- GetCallbackVehicleEngineParams(ptr_VehicleEngineStruct, ByRef iOldVehicleEngine, ByRef iNewVehicleEngine)
- {
- iOldVehicleEngine := NumGet(ptr_VehicleEngineStruct+0, "int")
- iNewVehicleEngine := NumGet(ptr_VehicleEngineStruct+4, "int")
- }
- GetCallbackVehicleLockParams(ptr_VehicleLockStruct, ByRef iOldVehicleLock, ByRef iNewVehicleLock)
- {
- iOldVehicleLock := NumGet(ptr_VehicleLockStruct+0, "int")
- iNewVehicleLock := NumGet(ptr_VehicleLockStruct+4, "int")
- }
- GetCallbackVehicleSpeedParams(ptr_VehicleSpeedStruct, ByRef iOldVehicleSpeed, ByRef iNewVehicleSpeed)
- {
- iOldVehicleSpeed := NumGet(ptr_VehicleSpeedStruct+0, "int")
- iNewVehicleSpeed := NumGet(ptr_VehicleSpeedStruct+4, "int")
- }
- GetCallbackWeaponSwitchParams(ptr_WeaponSwitchStruct, ByRef iOldWeaponId, ByRef iNewWeaponId)
- {
- iOldWeaponId := NumGet(ptr_WeaponSwitchStruct+0, "int")
- iNewWeaponId := NumGet(ptr_WeaponSwitchStruct+4, "int")
- }
- GetCallbackWeaponClipParams(ptr_WeaponClipStruct, ByRef iOldWeaponClip, ByRef iNewWeaponClip)
- {
- iOldWeaponClip := NumGet(ptr_WeaponClipStruct+0, "int")
- iNewWeaponClip := NumGet(ptr_WeaponClipStruct+4, "int")
- }
- GetCallbackWeaponTotalClipParams(ptr_WeaponTotalClipStruct, ByRef iOldWeaponTotalClip, ByRef iNewWeaponTotalClip)
- {
- iOldWeaponTotalClip := NumGet(ptr_WeaponTotalClipStruct+0, "int")
- iNewWeaponTotalClip := NumGet(ptr_WeaponTotalClipStruct+4, "int")
- }
- UpdateServerData()
- {
- global UpdateServerData_func
- res := DllCall(UpdateServerData_func)
- return res
- }
- GetPlayerNameById(id,ByRef name)
- {
- VarSetCapacity(name,24,0)
- global GetPlayerNameById_func
- res := DllCall(GetPlayerNameById_func,UShort,id,StrP,name)
- return res
- }
- GetPlayerIdByName(name)
- {
- global GetPlayerIdByName_func
- res := DllCall(GetPlayerIdByName_func,Str,name)
- return res
- }
- DecimalToHex(Var){
- SetFormat, IntegerFast, hex
- Dec2Hex += Var
- Dec2Hex .= ""
- SetFormat, IntegerFast, d
- StringTrimLeft, Dec2Hex, Dec2Hex, 2
- StringUpper, Dec2Hex, Dec2Hex
- sDec2Hex .= Dec2Hex
- return sDec2Hex
- }
- 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
- }
- PATH_OVERLAY := RelToAbs(A_ScriptDir, "dx9_overlay.dll")
- h2Module := DllCall("LoadLibrary", Str, PATH_OVERLAY)
- if(h2Module == -1 || h2Module == 0)
- {
- MsgBox, 48, Error, Die dx9_overlay.dll konnte nicht gefunden werden. `nDer Keybinder wird nun beendet.
- ExitApp
- }
- Init_func := DllCall("GetProcAddress", UInt, h2Module, Str, "Init")
- SetParam_func := DllCall("GetProcAddress", UInt, h2Module, Str, "SetParam")
- TextCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextCreate")
- TextDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextDestroy")
- TextSetShadow_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetShadow")
- TextSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetShown")
- TextSetColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetColor")
- TextSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetPos")
- TextSetString_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextSetString")
- TextUpdate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "TextUpdate")
- BoxCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxCreate")
- BoxDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxDestroy")
- BoxSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetShown")
- BoxSetBorder_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetBorder")
- BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetBorderColor")
- BoxSetColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetColor")
- BoxSetHeight_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetHeight")
- BoxSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetPos")
- BoxSetWidth_func := DllCall("GetProcAddress", UInt, h2Module, Str, "BoxSetWidth")
- LineCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineCreate")
- LineDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineDestroy")
- LineSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetShown")
- LineSetColor_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetColor")
- LineSetWidth_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetWidth")
- LineSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "LineSetPos")
- ImageCreate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageCreate")
- ImageDestroy_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageDestroy")
- ImageSetShown_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetShown")
- ImageSetAlign_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetAlign")
- ImageSetPos_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetPos")
- ImageSetRotation_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ImageSetRotation")
- DestroyAllVisual_func := DllCall("GetProcAddress", UInt, h2Module, Str, "DestroyAllVisual")
- ShowAllVisual_func := DllCall("GetProcAddress", UInt, h2Module, Str, "ShowAllVisual")
- HideAllVisual_func := DllCall("GetProcAddress", UInt, h2Module, Str, "HideAllVisual")
- GetFrameRate_func := DllCall("GetProcAddress", UInt, h2Module, Str, "GetFrameRate")
- GetScreenSpecs_func := DllCall("GetProcAddress", UInt, h2Module, 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
- }
- GetFrameRate()
- {
- global GetFrameRate_func
- res := DllCall(GetFrameRate_func )
- return res
- }
- GetScreenSpecs(ByRef width, ByRef height)
- {
- global GetScreenSpecs_func
- res := DllCall(GetScreenSpecs_func, IntP, width, IntP, height)
- return res
- }
- SetParam("use_window", "1")
- SetParam("window", "GTA:SA:MP")
- DestroyAllVisual()
- Updater:
- if(Version < NeueVersion)
- {
- Gui, 30: Add, Picture, x0 y0 w660 h400 , %Pictures%\background.jpg
- Gui, 30: Font, cWhite
- Gui, 30: Add, GroupBox, x363 y143 w270 h210,
- URLDownloadToFile, http://famouzzsoft.square7.ch//UniversalBinder/Change.txt, Change.txt
- FileRead, Change, Change.txt
- FileDelete, Change.txt
- Gui, 30: Add, Text, x368 y163 w260 h175 +BackgroundTrans, %Change%
- Gui, 30: Add, Text, x382 y360 w208 h16 +BackgroundTrans gHilfe_Thread, Weitere Informationen im Forum.
- Gui, 30: Add, Picture, x536 y358 w15 h15 gHilfe_Thread, %Pictures%\Link.png
- Gui, 30: Add, Button, x23 y348 w150 h40 gUpdate, Update ausführen
- Gui, 30: Add, Button, x183 y348 w150 h40 gKeinUpdate, Ohne Update starten
- Gui, 30: Font, s10
- Gui, 30: Add, Text, x13 y148 w325 h176 +BackgroundTrans, Für den Universal-Binder ist ein neues Update verfügbar. Um bisherige Fehler zu beheben und neue Features nutzen zu können`, sollten Sie das Update durchführen. `n`nSelbstverständlich können Sie den Keybinder auch mit der bisherigen Version weiter benutzten`, jedoch genießen Sie dann nicht den vollen Support. `n`nEine Liste mit den Änderungen der neuen Version liegt Ihnen rechts neben diesem Text vor.
- Gui, 30: Add, Text, x374 y132 w170 h30 +BackgroundTrans, Veränderung in Version %NeueVersion%
- Gui, 30: Font, s25 cWhite, Georgia
- Gui, 30: Add, Text, x15 y19 w620 h70 +center +BackgroundTrans, Universal-Binder Updater
- Gui, 30: Font, s14 cWhite, Georgia
- Gui, 30: Add, Text, x405 y79 w230 h50 +BackgroundTrans, Created by MrPacific | Edit by Bender
- Gui, 30: Show, w650 h400, Universal-Binder Updater
- }
- else
- {
- goto Hauptfenster
- }
- return
- KeinUpdate:
- Gui, 30: Destroy
- goto Hauptfenster
- return
- Update:
- FileMove, Universalbinder.exe, old_Universalbinder.exe, 1
- URLDownloadToFile, http://famouzzsoft.square7.ch//UniversalBinder/UniversalBinder.exe, UniversalBinder.exe
- if(API < NeueAPI)
- {
- FileMove, API.dll, old_API.dll, 1
- UrlDownloadToFile, http://famouzzsoft.square7.ch//UniversalBinder/API.dll, API.dll
- }
- BatchFile=
- (
- start UniversalBinder.exe
- )
- FileDelete, Update.bat
- FileAppend, %Batchfile%, Update.bat
- Run, Update.bat, hide
- ExitApp
- return
- Hauptfenster:
- Loop, 10
- {
- IniRead, TZahl%A_Index%, %Hotkeys%, Tastenbelegung Zahlen, TZahl%A_Index%, %A_Space%
- }
- Loop, 9
- {
- IniRead, TNumPad%A_Index%, %Hotkeys%, Tastenbelegung Numpad, TNumPad%A_Index%, %A_Space%
- }
- IniRead, TNumPad0, %Hotkeys%, Tastenbelegung Numpad, TNumPad0, %A_Space%
- Loop, 12
- {
- IniRead, TF%A_Index%, %Hotkeys%, Tastenbelegung F-Taste, TF%A_Index%
- }
- Loop, 18
- {
- IniRead, Taste%A_Index%I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%I, %A_Space%
- IniRead, Taste%A_Index%B, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%B, %A_Space%
- }
- IniRead, HKPause, %Hotkeys%, Zusatz, HKPause, %A_Space%
- IniRead, HKWiederholen, %Hotkeys%, Zusatz, HKWiederholen, %A_Space%
- IniRead, HKHP , %Hotkeys%, Zusatz, HKHP, %A_Space%
- IniRead, HKHilfe, %Hotkeys%, Zusatz, HKHilfe, %A_Space%
- IniRead, HotKey1, %Hotkeys%, JobHotkey, HotKey1, %A_Space%
- IniRead, HotKey2, %Hotkeys%, JobHotkey, HotKey2, %A_Space%
- IniRead, HotKey3, %Hotkeys%, JobHotkey, HotKey3, %A_Space%
- IniRead, HotKey4, %Hotkeys%, JobHotkey, HotKey4, %A_Space%
- IniRead, HotKey5, %Hotkeys%, JobHotkey, HotKey5, %A_Space%
- IniRead, Benutzername, %Settings%, Einstellungen, Benutzername
- IniRead, Passwort, %Settings%, Einstellungen, Passwort
- IniRead, Job, %Settings%, Einstellungen, Job
- IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
- IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
- IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
- IniRead, TSNName, %Settings%, Einstellungen, TSName
- IniRead, admin, %Settings%, Einstellungen, admin
- IniRead, Chatlogsaver, %Settings%, Einstellungen, Chatlogsaver
- IniRead, AntiSpam, %Settings%, Einstellungen, AntiSpam
- IniRead, Gehaltsscheck, %Settings%, Einstellungen, Gehaltsscheck
- IniRead, GangZaehler, %Settings%, Einstellungen, GangZaehler
- IniRead, Killzähler, %Settings%, Einstellungen, Killzähler
- IniRead, Todeszähler, %Settings%, Einstellungen, Todeszähler
- IniRead, Lock, %Settings%, Einstellungen, Lock
- IniRead, TankZoll, %Settings%, Einstellungen, TankZoll
- IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch
- IniRead, GFKillzählerSpruch, %Settings%, Killzähler, GFKillzählerSpruch
- IniRead, Todeszählerspruch, %Settings%, Todeszähler, Todeszählerspruch
- IniRead, Pickup, %Settings%, Zusatz, Pickup
- IniRead, Hangup, %Settings%, Zusatz, Hangup
- IniRead, CheckCall, %Settings%, Sounds, CheckCall
- IniRead, CheckSMS, %Settings%, Sounds, CheckSMS
- IniRead, CheckLowHP, %Settings%, Sounds, CheckLowHP
- IniRead, CheckKill, %Settings%, Sounds, CheckKill
- IniRead, CheckTod, %Settings%, Sounds, CheckTod
- IniRead, Callsound, %Settings%, Sounds, Callsound
- IniRead, SMSsound, %Settings%, Sounds, SMSsound
- IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
- IniRead, Killsound, %Settings%, Sounds, Killsound
- IniRead, Todessound, %Settings%, Sounds, Todessound
- IniRead, VolCall, %Settings%, Sounds, VolCall
- IniRead, VolSMS, %Settings%, Sounds, VolSMS
- IniRead, VolLowHP, %Settings%, Sounds, VolLowHP
- IniRead, VolKill, %Settings%, Sounds, VolKill
- IniRead, VolTod, %Settings%, Sounds, VolTod
- IfNotEqual, Taste1B,, Hotkey, %Taste1B%, Taste1B
- IfNotEqual, Taste2B,, Hotkey, %Taste2B%, Taste2B
- IfNotEqual, Taste3B,, Hotkey, %Taste3B%, Taste3B
- IfNotEqual, Taste4B,, Hotkey, %Taste4B%, Taste4B
- IfNotEqual, Taste5B,, Hotkey, %Taste5B%, Taste5B
- IfNotEqual, Taste6B,, Hotkey, %Taste6B%, Taste6B
- IfNotEqual, Taste7B,, Hotkey, %Taste7B%, Taste7B
- IfNotEqual, Taste8B,, Hotkey, %Taste8B%, Taste8B
- IfNotEqual, Taste9B,, Hotkey, %Taste9B%, Taste9B
- IfNotEqual, Taste10B,, Hotkey, %Taste10B%, Taste10B
- IfNotEqual, Taste11B,, Hotkey, %Taste11B%, Taste11B
- IfNotEqual, Taste12B,, Hotkey, %Taste12B%, Taste12B
- IfNotEqual, Taste13B,, Hotkey, %Taste13B%, Taste13B
- IfNotEqual, Taste14B,, Hotkey, %Taste14B%, Taste14B
- IfNotEqual, Taste15B,, Hotkey, %Taste15B%, Taste15B
- IfNotEqual, Taste16B,, Hotkey, %Taste16B%, Taste16B
- IfNotEqual, Taste17B,, Hotkey, %Taste17B%, Taste17B
- IfNotEqual, Taste18B,, Hotkey, %Taste18B%, Taste18B
- IfNotEqual, HKPause,,Hotkey, %HKPause%, HKPause
- IfnotEqual, HKWiederholen,,Hotkey, %HKWiederholen%, HKWiederholen
- IfNotEqual, HKHP,,Hotkey, %HKHP%, HKHP
- IfNotEqual, HKHilfe,,Hotkey, %HKHilfe%, HKHilfe
- IfNotEqual, HotKey1,, Hotkey, %HotKey1%, HotKey1
- IfNotEqual, HotKey2,, Hotkey, %HotKey2%, HotKey2
- IfNotEqual, HotKey3,, Hotkey, %HotKey3%, HotKey3
- IfNotEqual, HotKey4,, Hotkey, %HotKey4%, HotKey4
- IfNotEqual, HotKey5,, Hotkey, %HotKey5%, HotKey5
- IniRead, Overlay_size, %Overlays%, Status Overlay, Overlay_size, 7
- IniRead, Overlay_posx, %Overlays%, Status Overlay, Overlay_posx, 18
- IniRead, Overlay_posy, %Overlays%, Status Overlay, Overlay_posy, 265
- IniRead, HP_size, %Overlays%, HP Overlay, HP_size, 8
- IniRead, HP_posx, %Overlays%, HP Overlay, HP_posx, 715
- IniRead, HP_posy, %Overlays%, HP Overlay, HP_posy, 88
- IniRead, Ort_size, %Overlays%, Ort Overlay, Ort_size, 8
- IniRead, Ort_posx, %Overlays%, Ort Overlay, Ort_posx, 100
- IniRead, Ort_posy, %Overlays%, Ort Overlay, Ort_posy, 438
- IniRead, HPAnzeige, %Overlays%, HP Overlay, HPAnzeige, 1
- IniRead, OrtAnzeige, %Overlays%, Ort Overlay, OrtAnzeige, 1
- IniRead, VIP, %Settings%, VIP, VIP, 0
- Menu, QuickConnect, Add, GTA: SA:MP, QuickConnect_SAMP
- Menu, QuickConnect, Add, TeamSpeak 3, QuickConnect_TS
- Menu, Weblinks, Add, Forum, Weblink_Forum
- Menu, Weblinks, Add, Control Panel, Weblink_CP
- Menu, Hilfe, Add, About, Hilfe_About
- Menu, Hilfe, Add, Entwickler #1 (MrPacific), Hilfe_Entwickler
- Menu, Hilfe, Add, Entwickler #2 (Joey_Bender), Hilfe_Entwickler2
- Menu, Hilfe, Add, Feedback und Informationen, Hilfe_Thread
- Menu, GTA Radio, Add, GTA Radio Pop, Radio_GTA_Pop
- Menu, GTA Radio, Add, GTA Radio HipHop, Radio_GTA_HipHop
- Menu, GTA Radio, Add, GTA Radio Rock, Radio_GTA_Rock
- Menu, GTA Radio, Add, GTA Radio Dubstep, Radio_GTA_Dubstep
- Menu, GTA Radio, Add, GTA Radio Techno, Radio_GTA_Techno
- Menu, I love Radio, Add, I love Radio, Radio_love_Radio
- Menu, I love Radio, Add, I love to Dance, Radio_love_Dance
- Menu, I love Radio, Add, I love the Dome, Radio_love_Dome
- Menu, I love Radio, Add, I love you, Radio_love_you
- Menu, I love Radio, Add, I love Mashup, Radio_love_Mashup
- Menu, Eigener Stream, Add, Eigenen Stream hinzufügen/bearbeiten, Eigener_Stream_Add
- Menu, Eigener Stream, Add, Eigener Stream, Eigener_Stream
- Menu, Radio, Add, GTA Radio, :GTA Radio
- Menu, Radio, Add, I love Radio, :I love Radio
- Menu, Radio, Add, Eigener Stream, :Eigener Stream
- Menu, Radio, Add, Hilfe, Radio_Hilfe
- Menu, Radio, Add, Radio aus, Radio_aus
- Menu, MainMenu, Add, QuickConnect, :QuickConnect
- Menu, MainMenu, Add, Weblinks, :Weblinks
- Menu, MainMenu, Add, Radio, :Radio
- Menu, MainMenu, Add, Hilfe, :Hilfe
- Gui, Menu, MainMenu
- Gui, Add, Picture, x0 y0 w560 h330, %Pictures%\background.jpg
- Gui, Add, Button, x366 y200 w160 h50 gEinstellungen, Einstellungen
- Gui, Add, Button, x366 y90 w160 h50 gSounds, Eigene Sounds
- Gui, Add, Button, x16 y90 w160 h50 gBefehle, Befehle
- Gui, Add, Button, x16 y200 w160 h50 gtoKeybinds, Keybinds
- Gui, Font, cwhite
- Gui, Font, s11
- Gui, Add, Text, x190 y10 w400 h30 +backgroundTrans, U N I V E R S A L B I N D E R
- Gui, Add, GroupBox, x196 y70 w150 h200 ,
- Gui, Add, Text, x200 y60 w130 h20 +backgroundTrans, Tägliche Neuigkeiten
- URLDownloadToFile, http://famouzzsoft.square7.ch/UniversalBinder/daily.txt, daily.txt
- FileRead, DailyMessage, daily.txt
- FileDelete, daily.txt
- Gui, Add, Text, x206 y90 w130 h170 +backgroundTrans, %DailyMessage%
- Gui, Font, s8
- Gui, Add, Text, x370 y310 +backgroundtrans, Created by MrPacific | Edit by Bender
- Gui, Show, w550 h330, Universal-Binder (%Version%)
- 4True=0
- SetTimer, _GtaCheck, 1000
- return
- GuiClose:
- DestroyAllVisual()
- ExitApp
- Radio_GTA_Pop:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://188.138.33.174:12300/listen.asx?sid=1,, Hide
- return
- Radio_GTA_HipHop:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://188.138.33.174:12200/stream/1/,, Hide
- return
- Radio_GTA_Rock:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://188.138.33.174:12600/listen.asx?sid=1,, Hide
- return
- Radio_GTA_Dubstep:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://188.138.33.174:12500/stream/1/,, Hide
- return
- Radio_GTA_Techno:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://188.138.33.174:12800/stream/1/,, Hide
- return
- Radio_love_Radio:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de/listen.m3u,, Hide
- return
- Radio_love_Dance:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de/listen2.m3u ,, Hide
- return
- Radio_love_Dome:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de/listen3.m3u ,, Hide
- return
- Radio_love_you:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de/listen4.m3u ,, Hide
- return
- Radio_love_Mashup:
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de/listen5.m3u ,, Hide
- return
- Eigener_Stream_Add:
- Gui, 40: Destroy
- Gui, 40: Add, Picture, x0 y0 w490 h140 , %Pictures%\background.jpg
- Gui, 40: Add, Text, x26 y10 w430 h30 cWhite +BackgroundTrans, Hier kannst du einen eigenen Radio-Stream hinzufügen bzw. bearbeiten. Ingame kannst du diesen mit dem Befehl /stream starten.
- IniRead, EigenerStream, %settings%, Radio, Eigener Stream
- Gui, 40: Add, Edit, x26 y50 w420 h20 vEigenerStream, %EigenerStream%
- Gui, 40: Add, Button, x116 y90 w100 h30 gRadio_Speichern, Speichern
- Gui, 40: Add, Button, x246 y90 w100 h30 gRadio_Abbrechen, Abbrechen
- Gui, 40: Show, w490 h140, Eigener Stream
- return
- Eigener_Stream:
- IniRead, EigenerStream, %settings%, Radio, Eigener Stream
- Run %A_programfiles%\Windows Media Player\wmplayer.exe %EigenerStream%,, Hide
- return
- Radio_Abbrechen:
- 40GuiClose:
- Gui, 40: Destroy
- return
- Radio_Speichern:
- Gui, 40: Submit
- IniWrite, %EigenerStream%, %settings%, Radio, Eigener Stream
- Gui, 40: Destroy
- return
- Radio_Hilfe:
- MsgBox, 64, Hilfe: Radio, Das Radio kann über die grafische Benutzeroberfläche oder per Ingame-Befehle gesteuert werden. Vorraussetzung ist ein Windows Media Player.`nMit dem Befehl /radiohelp können Ingame alle Befehle eingesehen`, um das Radio zu steuern.
- return
- Radio_aus:
- Process, Close, wmplayer.exe
- return
- QuickConnect_SAMP:
- Gui, Minimize
- RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\SAMP, GTA_SA_EXE
- SplitPath, GTA_SA_EXE,, PFAD
- Run, %PFAD%\samp.exe 31.214.160.11:7777
- return
- QuickConnect_TS:
- Gui, Minimize
- IniRead, TSNName, %Settings%, Einstellungen, TSName
- run, ts3server:// rpg-city.de?nickname=%TSName%
- return
- Weblink_Forum:
- Gui, Minimize
- run, http://rpg-city.de/
- return
- Weblink_CP:
- Gui, Minimize
- run, http://cp.rpg-city.de/
- return
- Hilfe_About:
- Gui, 6: Destroy
- Gui, 6: Font, s14 cWhite, Georgia
- Gui, 6: +AlwaysOnTop
- Gui, 6: Add, Picture, x0 y0, %Pictures%\background.jpg
- Gui, 6: Add, Text, x22 y15 +BackgroundTrans, Universal-Binder
- Gui, 6: Add, Text, x57 y35 +BackgroundTrans, Version %Version%
- Gui, 6: Font, s10
- Gui, 6: Add, Text, x3 y80 +BackgroundTrans, Copyright ©2014-2016 by MrPacific | Joey_Bender `nSAMP-API by www.samp-api.net `n`nDieses Programm ist nach dem `ndeutschen Gesetz urheberrichtlich `ngeschützt.`nAlle Rechte vorbehalten.
- Gui, 6: Add, Button, x238 y210 w80 h35 gAbbrechen, OK
- Gui, 6: Show, w325 h250, About
- return
- Hilfe_Entwickler:
- Gui, Minimize
- run, http://rpg-city.de/index.php/User/3-MrPacific/
- return
- Hilfe_Entwickler2:
- Gui, Minimize
- run, http://rpg-city.de/index.php/User/327-Joey-Bender/
- return
- Hilfe_Thread:
- Gui, Minimize
- run, http://rpg-city.de/index.php/Thread/76500-Universal-Binder-Persönlich-anpassbarer-Keybinder/
- return
- Einstellungen:
- Gui, 5: Destroy
- if(Benutzername = "" || Benutzername = "ERROR")
- {
- Benutzername := "Benutzername"
- }
- if(Passwort = "" || Passwort = "ERROR")
- {
- Passwort := "Passwort"
- }
- if(TSName = "" || TSName = "ERROR")
- {
- TSName := "TS-Name"
- }
- if(Job = "" || Job = "ERROR")
- {
- Job := 1
- }
- Gui, 5:Font, cwhite
- Gui, 5:Add, Text, x440 y355 w110 h40 , Created by MrPacific | Edit by Bender
- Gui, 5:Add, GroupBox, x16 y20 w510 h80 , InGame
- Gui, 5:Add, Text, x26 y40 w50 h20 , Name:
- Gui, 5:Add, Text, x26 y70 w50 h20 , Beruf:
- Gui, 5:Add, Edit, x86 y40 w160 h20 cblack vBenutzername, %Benutzername%
- Gui, 5:Add, DDL, x86 y70 w160 cblack +AltSubmit gJob vJob, Arbeitslos|Waffendealer|Drogendealer|Müllmann|Trucker|Hochseefischer|Zugfahrer|Pilot|Mechatroniker|Detektiv|Anwalt|Busfahrer
- IniRead, Job, %Settings%, Einstellungen, Job
- if(Job = 10)
- {
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vAnwaltskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vBusfahrerskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5|Skill 6|Skill 7|Skill 8|Skill 9|Skill 10|Skill 11|Skill 12
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vDetektivskill, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
- }
- if(Job = 11)
- {
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vDetektivskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vBusfahrerskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5|Skill 6|Skill 7|Skill 8|Skill 9|Skill 10|Skill 11|Skill 12
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vAnwaltskill , Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
- }
- if(Job = 12)
- {
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vDetektivskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vAnwaltskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vBusfahrerskill, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5|Skill 6|Skill 7|Skill 8|Skill 9|Skill 10|Skill 11|Skill 12
- }
- if(Job != 10 && Job != 11 && Job != 12)
- {
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vDetektivskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vAnwaltskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5
- Gui, 5: Add, DDl, x376 y70 w140 cblack +AltSubmit vBusfahrerskill +Disabled, Skill 1|Skill 2|Skill 3|Skill 4|Skill 5|Skill 6|Skill 7|Skill 8|Skill 9|Skill 10|Skill 11|Skill 12
- }
- IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
- IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
- IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
- IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch, %A_Space%
- IniRead, GFKillzählerSpruch, %Settings%, Killzähler, GFKillzählerSpruch, %A_Space%
- IniRead, Todeszählerspruch, %Settings%, Todeszähler, Todeszählerspruch, %A_Space%
- if(KillzählerSpruch = "ERROR")
- {
- KillzählerSpruch := ""
- }
- if(Todeszählerspruch = "ERROR")
- {
- Todeszählerspruch := ""
- }
- GuiControl, 5: Choose, Job, %Job%
- GuiControl, 5: Choose, Detektivskill, %Detektivskill%
- GuiControl, 5: Choose, Anwaltskill, %Anwaltskill%
- GuiControl, 5: Choose, Busfahrerskill, %Busfahrerskill%
- IniRead, AntiSpam, %Settings%, Einstellungen, AntiSpam
- Gui, 5:Add, Text, x266 y40 w100 h20 , Passwort (optional):
- Gui, 5:Add, Text, x266 y70 w100 h20 , Skill:
- Gui, 5:Add, Edit, x376 y40 w140 h20 cblack +Password vPasswort, %Passwort%
- Gui, 5:Add, GroupBox, x16 y110 w250 h60 , Teamspeak
- Gui, 5:Add, Text, x26 y130 w50 h20 , Name:
- Gui, 5:Add, Edit, x86 y130 w160 h20 cblack vTSName, %TSName%
- Gui, 5:Add, GroupBox, x280 y110 w250 h60 , Admin-Systeme
- Gui, 5:Add, CheckBox, x350 y130 w110 h20 Checked%admin% vadmin , Admin aktivieren?
- Gui, 5:Add, CheckBox, x26 y200 w140 h20 Checked%Chatlogsaver% vChatlogsaver , Chatlogsaver aktivieren?
- Gui, 5:Add, CheckBox, x26 y230 w180 h20 Checked%AntiSpam% vAntiSpam , AntiSpamKick-System aktivieren?
- Gui, 5:Add, CheckBox, x26 y260 w160 h20 Checked%Gehaltsscheck% vGehaltsscheck, Gehaltsscheck aktivieren?
- Gui, 5:Add, CheckBox, x26 y290 w190 h20 Checked%GangZaehler% vGangZaehler, Gang-Funktionen aktivieren?
- Gui, 5:Add, CheckBox, x246 y200 w130 h20 Checked%Killzähler% vKillzähler, Killzähler aktivieren?
- Gui, 5:Add, CheckBox, x246 y230 w135 h20 Checked%Todeszähler% vTodeszähler, Todeszähler aktivieren?
- Gui, 5:Add, CheckBox, x246 y260 w150 h20 Checked%Lock% vLock, Lock-System aktivieren?
- Gui, 5:Add, CheckBox, x246 y290 w210 h20 Checked%TankZoll% vTankZoll, Easy Tank- und Zoll-System aktivieren?
- Gui, 5:Add, GroupBox, x16 y180 w510 h140 , Funktionen
- Gui, 5:Add, Button, x400 y260 w30 h20 gHilfe_Lock, ?
- Gui, 5:Add, Button, x175 y200 w30 h20 gHilfe_Chatlog, ?
- Gui, 5:Add, Button, x463 y290 w30 h20 gHilfe_TankstelleZoll, ?
- Gui, 5:Add, Button, x385 y200 w30 h20 gHilfe_Killzähler, ?
- Gui, 5:Add, Button, x390 y230 w30 h20 gHilfe_Todeszähler, ?
- Gui, 5:Add, Button, x186 y260 w30 h20 gHilfe_Gehaltscheck, ?
- Gui, 5:Add, Button, x266 y330 w140 h40 gAbbrechen, Abbrechen
- Gui, 5:Add, Button, x86 y330 w150 h40 gSpeichern, Speichern
- Gui, 5:Add, GroupBox, x16 y380 w510 h190 , Killzähler
- Gui, 5:Add, Text, x26 y400 w490 h80 , Trage hier einen Spruch für den Killzähler im /f-Chat ein. Ist die Eingabe leer und der Killzähler dennoch aktiviert`, sind die Kills nur für dich sichtbar. `n`nFolgende "Kürzel" haben eine zusätzliche Funktion:`n<kills> = Anzahl deiner aktuellen Kills `n<pos> = Aktuelle Position
- Gui, 5:Add, Edit, x26 y490 w490 h20 cblack vKillzählerSpruch, %KillzählerSpruch%
- Gui, 5: Add, Text, x26 y517 w490 h18 , Gangfight-Killzähler-Spruch:
- Gui, 5: Add, Edit, x26 y536 w490 h20 cblack vGFKillzählerSpruch, %GFKillzählerSpruch%
- Gui, 5:Add, GroupBox, x16 y575 w510 h140 , Todeszähler
- Gui, 5:Add, Text, x26 y595 w490 h80 , Trage hier einen Spruch für den Todeszähler im /f-Chat ein. Ist die Eingabe leer und der Todeszähler dennoch aktiviert`, sind die Tode nur für dich sichtbar. `n`nFolgende "Kürzel" haben eine zusätzliche Funktion:`n<deaths> = Anzahl deiner aktuellen Tode `n<pos> = Aktuelle Position
- Gui, 5:Add, Edit, x26 y685 w490 h20 cblack vTodeszählerSpruch, %Todeszählerspruch%
- Gui, 5: Add, Picture, x436 y330 w110 h20 vTallgui gTallgui, %Pictures%\dpbutton.png
- Gui, 5:Color, 292929
- Gui, 5: Show, w550 h745, Einstellungen
- Gui, 5: Show, w550 h383, Einstellungen
- return
- Hilfe_Lock:
- MsgBox, 64, Hilfe: Lock-System, Das Locksystem wird über die Tasten "F" und "M" gesteuert (diese können später nicht mehr belegt werden).`nBeim Einstegen mit der Taste "F" wird das Fahrzeug automatisch abgeschlossen`, um Diebstähle zu vermeiden. Beim Aussteigen mit "F" wird der Motor`, falls er an ist`, kurz vor dem Verlassen des Fahrzeuges ausgeschaltet.`nMit der Taste "M" kann der Motor sowie die Lichtanlage aktiviert werden. Ist das Fahrzeug vor dem Starten des Motors noch nicht abgeschlossen`, übernimmt dies der Keybinder.
- return
- Hilfe_Chatlog:
- MsgBox, 64, Hilfe: Chatlogsaver, Nach dem Beenden von SA:MP wird eine Kopie des Chatlogs im Ordner vom SA:MP gespeichert.
- return
- Hilfe_TankstelleZoll:
- MsgBox, 64, Hilfe: Easy Tank- und Zoll-System, Mit diesem halbautomatischen System fällt das Durchfahren des Zolls und das Betanken eines Fahrzeuges an einer Tankstelle wesentlich einfacher. An einer Zollstation oder einer Tankstelle einfach den Anweisungen des Keybinders folgen.
- return
- Hilfe_Killzähler:
- MsgBox, 64, Hilfe: Killzähler, Der Killzähler zählt automatisch eure Kills. Nutzt ihr diese Funktion das erste Mal könnt ihr Ingame mit dem Befehl /setkills eure Kills eintragen.`n`nDie weiteren Befehle lauten:`n/addkill = Manuell einen Kill addieren (+Ansage im /f-Chat oder im privaten Chat)`nNumPad + = + 1 Kill (+Ansage im /f-Chat oder im privaten Chat)`n/kills = Zeigt deine derzeitigen Kills an
- return
- Hilfe_Todeszähler:
- MsgBox, 64, Hilfe: Todeszähler, Der Todeszähler zählt automatisch eure Tode. Nutzt ihr diese Funktion das erste Mal könnt ihr Ingame mit dem Befehl /setdeaths eure Tode eintragen.`n`nDie weiteren Befehle lauten:`n/adddeath = Manuell einen Tod addieren (+Ansage im /f-Chat oder im privaten Chat)`n ALT + NumPad + = + 1 Tod (+Ansage im /f-Chat oder im privaten Chat)`n/deaths = Zeigt deine derzeitigen Kills an
- return
- Hilfe_Gehaltscheck:
- MsgBox, 64, Hilfe: Gehaltscheck, Ist der Gehaltscheck aktiviert`, wird nach jedem Payday der Netto-Verdienst (Gehalt abzüglich Steuern und Rechnungen) angezeigt.
- return
- 5GuiClose:
- Gui, 5: Destroy
- return
- Tallgui:
- If GuiListShown
- {
- GuiListShown = 0
- GuiControl,,Tallgui, %Pictures%\dpbutton.png
- Gui, 5: Show, w550 h383, Einstellungen
- }
- else
- {
- GuiListShown = 1
- GuiControl,,Tallgui, %Pictures%\upbutton.png
- GuiControl, Move, Created by MrPacific | Edit by Bender, x350 y720 w220 h30
- Gui, 5: Show, w550 h745, Einstellungen
- }
- return
- Sounds:
- IniRead, Callsound, %Settings%, Sounds, Callsound
- if(Callsound == "" || Callsound == "ERROR")
- {
- Callsound := "" . Sounds . "/Call.mp3"
- IniWrite, %Callsound%, %Settings%, Sounds, Callsound
- }
- IniRead, SMSsound, %Settings%, Sounds, SMSsound
- if(SMSsound = "" || SMSsound = "ERROR")
- {
- SMSsound := "" . Sounds . "/SMS.mp3"
- IniWrite, %SMSsound%, %Settings%, Sounds, SMSsound
- }
- IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
- if(LowHPsound = "" || LowHPsound = "ERROR")
- {
- LowHPsound := "" . Sounds . "/LowHP.mp3"
- IniWrite, %LowHPsound%, %Settings%, Sounds, LowHPsound
- }
- IniRead, Killsound, %Settings%, Sounds, Killsound
- if(Killsound = "" || Killsound = "ERROR")
- {
- Killsound := "" . Sounds . "/Kill.mp3"
- IniWrite, %Killsound%, %Settings%, Sounds, Killsound
- }
- IniRead, Todessound, %Settings%, Sounds, Todessound
- if(Todessound = "" || Todessound = "ERROR")
- {
- Todessound := "" . Sounds . "/Tod.mp3"
- IniWrite, %Todessound%, %Settings%, Sounds, Todessound
- }
- Gui, 4: Destroy
- Gui, 4: Font, s10, bold
- Gui, 4:Add, GroupBox, x36 y10 w700 h110 cwhite, Informationen
- Gui, 4:Add, Text, x46 y30 w620 h80 cwhite, Spielt je nach Aktion einen Sound ab`, welchen du selber auswählen kannst.`nAlternativ kann der Standardsound vom Keybinder genutzt werden. `n`nDas Auswahlmenü für den Pfad kann geöffnet werden`, indem du auf den Dateinamen klickst. `nErwünscht sind kleine bzw. kurze Sounds`, empfehlenswert sind .mp3-Dateien.
- Gui, 4:Add, Checkbox, x52 y163 w13 h13 gCheckCall Checked%CheckCall% vCheckCall,
- Gui, 4:Add, Checkbox, x52 y193 w13 h13 gCheckSMS Checked%CheckSMS% vCheckSMS,
- Gui, 4:Add, Checkbox, x52 y223 w13 h13 gCheckLowHP Checked%CheckLowHP% vCheckLowHP,
- Gui, 4:Add, Checkbox, x52 y253 w13 h13 gCheckKill Checked%CheckKill% vCheckKill,
- Gui, 4:Add, Checkbox, x52 y283 w13 h13 gCheckTod Checked%CheckTod% vCheckTod,
- Gui, 4:Add, GroupBox, x36 y130 w700 h190 cwhite, Sounds
- Gui, 4:Add, Text, x76 y160 w60 h20 cwhite +center, Anruf:
- Gui, 4:Add, Text, x76 y190 w60 h20 cwhite +center, SMS:
- Gui, 4:Add, Text, x76 y220 w60 h20 cwhite +center, Low-HP:
- Gui, 4:Add, Text, x76 y250 w60 h20 cwhite +center, Kill:
- Gui, 4:Add, Text, x76 y280 w60 h20 cwhite +center, Tod:
- Gui, 4:Add, Text, x156 y160 w540 h20 cwhite +0x200 +E0x20210 +center gCallAuswahl vCallAuswahl, %Callsound%
- Gui, 4:Add, Text, x156 y190 w540 h20 cwhite +0x200 +E0x20210 +center gSMSAuswahl vSMSAuswahl, %SMSsound%
- Gui, 4:Add, Text, x156 y220 w540 h20 cwhite +0x200 +E0x20210 +center gLowHPAuswahl vLowHPAuswahl, %LowHPsound%
- Gui, 4:Add, Text, x156 y250 w540 h20 cwhite +0x200 +E0x20210 +center gKillAuswahl vKillAuswahl, %Killsound%
- Gui, 4:Add, Text, x156 y280 w540 h20 cwhite +0x200 +E0x20210 +center gTodAuswahl vTodAuswahl, %Todessound%
- Gui, 4:Add, Picture, x705 y160 w20 h20 +BackgroundTrans gEinstellCall, %Pictures%\soundwahl.png
- Gui, 4:Add, Picture, x705 y190 w20 h20 +BackgroundTrans gEinstellSMS, %Pictures%\soundwahl.png
- Gui, 4:Add, Picture, x705 y220 w20 h20 +BackgroundTrans gEinstellLowHP, %Pictures%\soundwahl.png
- Gui, 4:Add, Picture, x705 y250 w20 h20 +BackgroundTrans gEinstellKill, %Pictures%\soundwahl.png
- Gui, 4:Add, Picture, x705 y280 w20 h20 +BackgroundTrans gEinstellTod, %Pictures%\soundwahl.png
- IniRead, CheckCall, %Settings%, Sounds, CheckCall
- IniRead, CheckSMS, %Settings%, Sounds, CheckSMS
- IniRead, CheckLowHP, %Settings%, Sounds, CheckLowHP
- IniRead, CheckKill, %Settings%, Sounds, CheckKill
- IniRead, CheckTod, %Settings%, Sounds, CheckTod
- IniRead, Callsound, %Settings%, Sounds, Callsound
- IniRead, SMSsound, %Settings%, Sounds, SMSsound
- IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
- IniRead, Killsound, %Settings%, Sounds, Killsound
- IniRead, Todessound, %Settings%, Sounds, Todessound
- GuiControl, 4: , CheckCall, %CheckCall%
- GuiControl, 4: , CheckSMS, %CheckSMS%
- GuiControl, 4: , CheckLowHP, %CheckLowHP%
- GuiControl, 4: , CheckKill, %CheckKill%
- GuiControl, 4: , CheckTod, %CheckTod%
- GuiControl, 4: , CallAuswahl, %CallSound%
- GuiControl, 4: , SMSAuswahl, %SMSSound%
- GuiControl, 4: , LowHPAuswahl, %LowHPSound%
- GuiControl, 4: , KillAuswahl, %KillSound%
- GuiControl, 4: , TodAuswahl, %Todessound%
- Gui, 4: Add, Button, x296 y330 w180 h50 gZurück, Zurück
- Gui, 4:Color, 292929
- Gui, 4:Show, w780 h400, Sounds
- IniRead, VolCall, %Settings%, Sounds, VolCall
- IniRead, VolSMS, %Settings%, Sounds, VolSMS
- IniRead, VolLowHP, %Settings%, Sounds, VolLowHP
- IniRead, VolKill, %Settings%, Sounds, VolKill
- IniRead, VolTod, %Settings%, Sounds, VolTod
- if(VolCall = "" || VolCall = "ERROR")
- {
- VolCall := 100
- IniWrite, %VolCall%, %Settings%, Sounds, VolCall
- }
- if(VolSMS = "" || VolSMS = "ERROR")
- {
- VolSMS := 100
- IniWrite, %VolSMS%, %Settings%, Sounds, VolSMS
- }
- if(VolLowHP = "" || VolLowHP = "ERROR")
- {
- VolLowHP := 100
- IniWrite, %VolLowHP%, %Settings%, Sounds, VolLowHP
- }
- if(VolKill = "" || VolKill = "ERROR")
- {
- VolKill := 100
- IniWrite, %VolKill%, %Settings%, Sounds, VolKill
- }
- if(VolTod = "" || VolTod = "ERROR")
- {
- VolTod := 100
- IniWrite, %VolTod%, %Settings%, Sounds, VolTod
- }
- return
- Zurück:
- 4GuiClose:
- goto Abbrechen
- return
- CallAuswahl:
- if(CheckCall = 1)
- {
- FileSelectFile, Callsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(Callsoundx != "")
- {
- Callsound := Callsoundx
- IniWrite, %Callsound%, %Settings%, Sounds, Callsound
- GuiControl, 4: , CallAuswahl, %CallSound%
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolCall%
- }
- SoundPlay, %CallSound%
- }
- }
- return
- SMSAuswahl:
- if(CheckSMS = 1)
- {
- FileSelectFile, SMSsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(SMSsoundx != "")
- {
- SMSsound := SMSsoundx
- IniWrite, %SMSsound%, %Settings%, Sounds, SMSsound
- GuiControl, 4: , SMSAuswahl, %SMSSound%
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolSMS%
- }
- SoundPlay, %SMSSound%
- }
- }
- return
- LowHPAuswahl:
- if(CheckLowHP = 1)
- {
- FileSelectFile, LowHPsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(LowHPsoundx != "")
- {
- LowHPsound := LowHPsoundx
- IniWrite, %LowHPsound%, %Settings%, Sounds, LowHPsound
- GuiControl, 4: , LowHPAuswahl, %LowHPSound%
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolLowHP%
- }
- SoundPlay, %LowHPSound%
- }
- }
- return
- KillAuswahl:
- if(CheckKill = 1)
- {
- FileSelectFile, Killsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(Killsoundx != "")
- {
- Killsound := Killsoundx
- IniWrite, %Killsound%, %Settings%, Sounds, Killsound
- GuiControl, 4: , KillAuswahl, %KillSound%
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolKill%
- }
- SoundPlay, %KillSound%
- }
- }
- return
- TodAuswahl:
- if(CheckTod = 1)
- {
- FileSelectFile, Todsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(Todsoundx != "")
- {
- Todessound := Todsoundx
- IniWrite, %Todessound%, %Settings%, Sounds, Todessound
- GuiControl, 4: , TodAuswahl, %Todessound%
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolTod%
- }
- SoundPlay, %Todessound%
- }
- }
- return
- CheckCall:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckCall%, %Settings%, Sounds, CheckCall
- return
- CheckSMS:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckSMS%, %Settings%, Sounds, CheckSMS
- GuiControl, 4: Choose, CheckSMS, %CheckSMS%
- return
- CheckLowHP:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckLowHP%, %Settings%, Sounds, CheckLowHP
- GuiControl, 4: Choose, CheckLowHP, %CheckLowHP%
- return
- CheckKill:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckKill%, %Settings%, Sounds, CheckKill
- GuiControl, 4: Choose, CheckKill, %CheckKill%
- return
- CheckTod:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckTod%, %Settings%, Sounds, CheckTod
- GuiControl, 4: Choose, CheckTod, %CheckTod%
- return
- EinstellCall:
- if(CheckCall = 1)
- {
- if(A_OSVersion != "WIN_XP")
- {
- Gui, 41: Destroy
- Gui, 41: Add, Text, x15 y10 w60 h20, Lautstärke:
- Gui, 41: Add, Slider, x5 y30 w310 h30 AltSubmit vVolCall gVolCall, %VolCall%
- Gui, 41: Add, Text, x15 y60 w30 h20 +center, Min
- Gui, 41: Add, Text, x285 y60 w30 h20 +center, Max
- VolCallProz := "" . VolCall . "%"
- Gui, 41: Add, Text, x40 y60 w240 h20 +center vVolCallProz, %VolCallProz%
- Gui, 41: Show
- }
- else
- {
- MsgBox, 48, Einstellung Callsound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
- }
- }
- return
- EinstellSMS:
- if(CheckSMS = 1)
- {
- if(A_OSVersion != "WIN_XP")
- {
- Gui, 42: Destroy
- Gui, 42: Add, Text, x15 y10 w60 h20, Lautstärke:
- Gui, 42: Add, Slider, x5 y30 w310 h30 AltSubmit vVolSMS gVolSMS, %VolSMS%
- Gui, 42: Add, Text, x15 y60 w30 h20 +center, Min
- Gui, 42: Add, Text, x285 y60 w30 h20 +center, Max
- VolSMSProz := "" . VolSMS . "%"
- Gui, 42: Add, Text, x40 y60 w240 h20 +center vVolSMSProz, %VolSMSProz%
- Gui, 42: Show
- }
- else
- {
- MsgBox, 48, Einstellung SMSsound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
- }
- }
- return
- EinstellLowHP:
- if(CheckLowHP = 1)
- {
- if(A_OSVersion != "WIN_XP")
- {
- Gui, 43: Destroy
- Gui, 43: Add, Text, x15 y10 w60 h20, Lautstärke:
- Gui, 43: Add, Slider, x5 y30 w310 h30 AltSubmit vVolLowHP gVolLowHP, %VolLowHP%
- Gui, 43: Add, Text, x15 y60 w30 h20 +center, Min
- Gui, 43: Add, Text, x285 y60 w30 h20 +center, Max
- VolLowHPProz := "" . VolLowHP . "%"
- Gui, 43: Add, Text, x40 y60 w240 h20 +center vVolLowHPProz, %VolLowHPProz%
- Gui, 43: Show
- }
- else
- {
- MsgBox, 48, Einstellung LowHPsound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
- }
- }
- return
- EinstellKill:
- if(CheckKill = 1)
- {
- if(A_OSVersion != "WIN_XP")
- {
- Gui, 44: Destroy
- Gui, 44: Add, Text, x15 y10 w60 h20, Lautstärke:
- Gui, 44: Add, Slider, x5 y30 w310 h30 AltSubmit vVolKill gVolKill, %VolKill%
- Gui, 44: Add, Text, x15 y60 w30 h20 +center, Min
- Gui, 44: Add, Text, x285 y60 w30 h20 +center, Max
- VolKillProz := "" . VolKill . "%"
- Gui, 44: Add, Text, x40 y60 w240 h20 +center vVolKillProz, %VolKillProz%
- Gui, 44: Show
- }
- else
- {
- MsgBox, 48, Einstellung Killsound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
- }
- }
- return
- EinstellTod:
- if(CheckTod = 1)
- {
- if(A_OSVersion != "WIN_XP")
- {
- Gui, 45: Destroy
- Gui, 45: Add, Text, x15 y10 w60 h20, Lautstärke:
- Gui, 45: Add, Slider, x5 y30 w310 h30 AltSubmit vVolTod gVolTod, %VolTod%
- Gui, 45: Add, Text, x15 y60 w30 h20 +center, Min
- Gui, 45: Add, Text, x285 y60 w30 h20 +center, Max
- VolTodProz := "" . VolTod . "%"
- Gui, 45: Add, Text, x40 y60 w240 h20 +center vVolTodProz, %VolTodProz%
- Gui, 45: Show
- }
- else
- {
- MsgBox, 48, Einstellung Todessound, Es tut mir leid`, aber Windows XP Nutzer können die Lautstärke des jeweiligen Sounds aus technischen Gründen leider nicht einstellen.`nEine Möglichkeit wäre es jedoch die Sounddatei mit einem Audio-Bearbeitungsprogramm auf deine gewünschte Lautstärke manuell anzupassen.
- }
- }
- return
- VolCall:
- GuiControlGet MemVol,, VolCall
- VolCallProz := "" . VolCall . "%"
- GuiControl,,VolCallProz, %VolCallProz%
- SoundSetWaveVolume %MemVol%
- SoundPlay, %Callsound%
- IniWrite, %VolCall%, %Settings%, Sounds, VolCall
- return
- VolSMS:
- GuiControlGet MemVol,, VolSMS
- VolSMSProz := "" . VolSMS . "%"
- GuiControl,,VolSMSProz, %VolSMSProz%
- SoundSetWaveVolume %MemVol%
- SoundPlay, %SMSsound%
- IniWrite, %VolSMS%, %Settings%, Sounds, VolSMS
- return
- VolLowHP:
- GuiControlGet MemVol,, VolLowHP
- VolLowHPProz := "" . VolLowHP . "%"
- GuiControl,,VolLowHPProz, %VolLowHPProz%
- SoundSetWaveVolume %MemVol%
- SoundPlay, %LowHPsound%
- IniWrite, %VolLowHP%, %Settings%, Sounds, VolLowHP
- return
- VolKill:
- GuiControlGet MemVol,, VolKill
- VolKillProz := "" . VolKill . "%"
- GuiControl,,VolKillProz, %VolKillProz%
- SoundSetWaveVolume %MemVol%
- SoundPlay, %Killsound%
- IniWrite, %VolKill%, %Settings%, Sounds, VolKill
- return
- VolTod:
- GuiControlGet MemVol,, VolTod
- VolTodProz := "" . VolTod . "%"
- GuiControl,,VolTodProz, %VolTodProz%
- SoundSetWaveVolume %MemVol%
- SoundPlay, %Todessound%
- IniWrite, %VolTod%, %Settings%, Sounds, VolTod
- return
- 41GuiClose:
- Soundplay, avixa.avi
- Gui, 41: Destroy
- return
- 42GuiClose:
- Soundplay, avixa.avi
- Gui, 42: Destroy
- return
- 43GuiClose:
- Soundplay, avixa.avi
- Gui, 43: Destroy
- return
- 44GuiClose:
- Soundplay, avixa.avi
- Gui, 44: Destroy
- return
- 45GuiClose:
- Soundplay, avixa.avi
- Gui, 45: Destroy
- return
- Befehle:
- Gui, 9: Destroy
- Gui, 9:Font, cwhite
- Gui, 9: Add, GroupBox, x6 y10 w690 h50 , Information
- Gui, 9: Add, Text, x16 y30 w660 h20 , Auf dieser Seite können feste Befehle eingesehen werden und andere Funktionen angepasst werden.
- if(Pickup = "" || Pickup = "ERROR")
- Pickup := "Text bei entgegengenommenen Anrufen (/p)"
- if(Hangup = "" || Hangup = "ERROR")
- Hangup := "Text beim Beenden eines Telefonats (/h)"
- Gui, 9: Add, Edit, x366 y110 w300 h25 cblack vPickup, %Pickup%
- Gui, 9: Add, Edit, x366 y150 w300 h25 cblack vHangup, %Hangup%
- Gui, 9: Add, Text, x460 y202 w202 h16 , = Keybinder pausieren / aktivieren
- Gui, 9: Add, Hotkey, x366 y200 w90 h20 vHKPause Limit3, %HKPause%
- Gui, 9: Add, Text, x460 y232 w202 h16, = Gesagtes Wiederholen
- Gui, 9: Add, Hotkey, x366 y230 w90 h20 vHKWiederholen, %HKWiederholen%
- Gui, 9: Add, Text, x460 y262 w202 h16 , = Aktuelle HP anzeigen im /f-Chat
- Gui, 9: Add, Hotkey, x366 y260 w90 h20 vHKHP, %HKHP%
- Gui, 9: Add, HotKey, x366 y290 w90 h20 vHKHilfe, %HKHilfe%
- Gui, 9: Add, Text, x460 y292 w202 h16, = Hilfe im /f-Chat mit Standort
- Gui, 9: Add, Button, x194 y514 w150 h40 gSpeichern, Speichern
- Gui, 9: Add, Button, x364 y514 w150 h40 gAbbrechen, Abbrechen
- Gui, 9: Add, GroupBox, x6 y80 w340 h420 , Feste Befehle
- Gui, 9: Add, Edit, x16 y100 w320 h390 +ReadOnly, /overlay - (De-)aktiviert das Overlay `n/move Overlay - (De-)aktiviert den Verschiebungsmodus `n/speichern - Speichert das verschobene Overlay `n/gstats - Zeigt die aktuellen Gang / Mafien Statistik `n/pbmodus - (De-)aktiviert den Paintballmodus `n/on = /hitsound + /messages + /tog -> Telefon `n`nLSTRG + T = Tempomat (de-)aktiviert `n/tempo = Tempomat mit fester Geschwindigkeit aktivieren `n`n/re = Antwortet auf die letzte SMS `n/read = Antwortet auf die letzte AD `n/kcall = Call by Name `n/ksms = SMS by Name `n/an = Anruf annehmen mit Anrufererkennung `n/ab - Anrufbeantworter `n/danke = Danke für Ihren Anruf (+/h) `n`n/tag = Guten Tag Sir `n/jas = Ja Sir `n/jam - Ja Madam `n/ja - Ja `n/bye = Schönen Tag noch. `n`n/fischen = Automatisiertes Fischen/Verkaufen `n/kochen = Kocht alle Fische `n/hp = Zeigt die HP der aktuellen Fische an `nNum* - Isst einen Fisch (Erst Fish 1, dann Fisch 2 ...) `n`n/fhilfe = Öffnet die Hilfe der Freundesliste und zeigt die weitere Befehle an `n/radiohelp - Zeigt alle Radio-Befehle an `n`n/fg = Legt 1.250.000 Festgeld an `n/sani = Nimmt ein Paket an `n/tanken = Automatisiertes Tanken `n/cd oder /countdown = Starten eines Countdwons `n`, = Starten der Stoppuhr `n. = Stoppen der Stoppuhr `n/alotto = /lotto mit einer zufälligen Zahl `n/minuten - Rechnet Sekunden in Minuten um `n/info = Gibt aktuelle Informationen (Player und Car) an `n/user = Zeigt die Statistik eines anderen Users an `n/savestats = Screen der Stats mit /time `n/chat = Cleart den Chat `n/relog = Führt einen Relog durch
- Gui, 9: Add, GroupBox, x356 y330 w340 h170 , Jobbefehle
- Gui, 9: Add, GroupBox, x356 y80 w340 h240 , Optionale Befehle
- IniRead, Job, %Settings%, Einstellungen, Job
- if(Job = 1)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Arbeitslos: Deaktiviert
- }
- if(Job = 2)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Waffendealer
- }
- if(Job = 3)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Drogendealer
- }
- if(Job = 4)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Müllmann
- }
- if(Job = 5)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Trucker
- }
- if(Job = 6)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Hochseefischer
- }
- if(Job = 7)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Zugfahrer
- }
- if(Job = 8)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Pilot
- }
- if(Job = 9)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Mechatroniker
- }
- if(Job = 10)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Detektiv
- }
- if(Job = 11)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Anwalt
- }
- if(Job = 12)
- {
- Gui, 9: Add, Button, x386 y350 w270 h40 gInfoBeruf vInfoBeruf, Keybinds für Busfahrer
- }
- Gui, 9:Add, Text, x366 y410 w320 h80 , Befehle für den Job als Taxifahrer: `n`n/gast [ID] - Begrüßt den Gast und fragt nach dem Reiseziel `n/ok - Bestätigt das Ziel und startet eine Stoppuhr `n/ende - Merkt an`, dass das Ziel erreicht wurde`, gibt die Fahrzeit an und verabschiedet sich vom Fahrgast
- Gui, 9:Color, 292929
- Gui, 9:Show, w710 h588, Befehle
- return
- InfoBeruf:
- IniRead, Job, %Settings%, Einstellungen, Job
- IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
- IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
- IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
- IniRead, HotKey1, %Hotkeys%, JobHotkey, HotKey1, %A_Space%
- IniRead, HotKey2, %Hotkeys%, JobHotkey, HotKey2, %A_Space%
- IniRead, HotKey3, %Hotkeys%, JobHotkey, HotKey3, %A_Space%
- IniRead, HotKey4, %Hotkeys%, JobHotkey, HotKey4, %A_Space%
- IniRead, HotKey5, %Hotkeys%, JobHotkey, HotKey5, %A_Space%
- if(Job = 1)
- {
- }
- if(Job = 2)
- {
- Gui, 12: Destroy
- Gui, 12: Add, Picture, x0 y0 w480 h250 , %Pictures%\waffendealerpic.jpg
- Gui, 12: Add, Text, x236 y44 w150 h20 +BackgroundTrans, /materials get <Anzahl>
- Gui, 12: Add, Text, x236 y74 w150 h20 +BackgroundTrans, /materials deliver
- Gui, 12: Add, Text, x236 y104 w150 h20 +BackgroundTrans, /sellgun <Spieler> <Waffe>
- Gui, 12: Add, Text, x236 y134 w150 h20 +BackgroundTrans, /put mats <Menge>
- Gui, 12: Add, Text, x236 y164 w150 h20 +BackgroundTrans, /gtake mats <Anzahl>
- Gui, 12: Add, Button, x176 y200 w100 h30 gSave12, OK
- Gui, 12: Add, Hotkey, x66 y40 w160 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
- Gui, 12: Add, Hotkey, x66 y70 w160 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
- Gui, 12: Add, Hotkey, x66 y100 w160 h20 vHotKey3 Checked%HotKey3%, %HotKey3%
- Gui, 12: Add, Hotkey, x66 y130 w160 h20 vHotKey4 Checked%HotKey4%, %HotKey4%
- Gui, 12: Add, Hotkey, x66 y160 w160 h20 vHotKey5 Checked%HotKey1%, %HotKey5%
- Gui, 12: Show, w475 h250, Job: Waffendealer
- }
- if(Job = 3)
- {
- Gui, 13: Destroy
- Gui, 13: Add, Picture, x-4 y0 w410 h210 , %Pictures%\drogendealerpic.jpg
- Gui, 13: Add, Hotkey, x36 y20 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
- Gui, 13: Add, Hotkey, x36 y50 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
- Gui, 13: Add, Hotkey, x36 y80 w150 h20 vHotKey3 Checked%HotKey3%, %HotKey3%
- Gui, 13: Add, Hotkey, x36 y110 w150 h20 vHotKey4 Checked%HotKey4%, %HotKey4%
- Gui, 13: Add, Hotkey, x36 y140 w150 h20 vHotKey5 Checked%HotKey5%, %HotKey5%
- Gui, 13: Add, Text, x196 y24 w160 h20 +BackgroundTrans, /drogen get <Anzahl>
- Gui, 13: Add, Text, x196 y54 w160 h20 +BackgroundTrans, /drogen deliver
- Gui, 13: Add, Text, x196 y84 w180 h20 +BackgroundTrans, /selldrugs <Gramm> <Spieler> <Preis>
- Gui, 13: Add, Text, x196 y114 w160 h20 +BackgroundTrans, /put drugs <Gramm>
- Gui, 13: Add, Text, x196 y144 w160 h20 +BackgroundTrans, /gtake drugs <Gramm>
- Gui, 13: Add, Button, x146 y170 w100 h30 gSave13, OK
- Gui, 13: Show, w408 h212, Job: Drogendealer
- }
- if(Job = 4)
- {
- Gui, 14: Destroy
- Gui, 14: Add, Picture, x0 y0 w410 h160 , %Pictures%\muellmannpic.jpg
- Gui, 14: Add, Hotkey, x54 y20 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
- Gui, 14: Add, Text, x214 y23 w160 h20 +BackgroundTrans, /garbage <Spieler>
- Gui, 14: Add, Hotkey, x54 y60 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
- Gui, 14: Add, Text, x214 y63 w160 h20 +BackgroundTrans, /garbagestop
- Gui, 14: Add, Button, x166 y100 w100 h30 gSave14, OK
- Gui, 14: Show, w407 h160, Job: Müllmann
- }
- if(Job = 5)
- {
- Gui, 15: Destroy
- Gui, 15: Add, Picture, x0 y0 w400 h217 , %Pictures%\truckerpic.jpg
- Gui, 15: Add, Hotkey, x36 y27 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
- Gui, 15: Add, Text, x196 y30 w180 h20 +BackgroundTrans, /delivery (Zum Ansehen der Aufträge)
- Gui, 15: Add, Hotkey, x36 y57 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
- Gui, 15: Add, Text, x196 y60 w180 h20 +BackgroundTrans, /delivery <Auftrag>
- Gui, 15: Add, Button, x136 y90 w100 h30 gSave15, OK
- Gui, 15: Show, w400 h152, Job: Trucker
- }
- if(Job = 6)
- {
- Gui, 16: Destroy
- Gui, 16: Add, Picture, x0 y0 w400 h180 , %Pictures%\hochseefischerpic.jpg
- Gui, 16: Add, Text, x75 y25 w140 h20 +BackgroundTrans, Reuse 2 auslegen/einholen
- Gui, 16: Add, Text, x75 y45 w140 h20 +BackgroundTrans, Reuse 3 auslegen/einholen
- Gui, 16: Add, Text, x75 y65 w140 h20 +BackgroundTrans, Reuse 4 auslegen/einholen
- Gui, 16: Add, Text, x75 y85 w140 h20 +BackgroundTrans, Reuse 5 auslegen/einholen
- Gui, 16: Add, Text, x75 y122 w140 h20 +BackgroundTrans, Abgabepunkt markieren
- Gui, 16: Add, Text, x75 y5 w140 h20 +BackgroundTrans, Reuse 1 auslegen/einholen
- Gui, 16: Add, Text, x225 y5 w130 h20 +BackgroundTrans, /R1
- Gui, 16: Add, Text, x225 y25 w130 h20 +BackgroundTrans, /R2
- Gui, 16: Add, Text, x225 y45 w130 h20 +BackgroundTrans, /R3
- Gui, 16: Add, Text, x225 y65 w130 h20 +BackgroundTrans, /R4
- Gui, 16: Add, Text, x225 y85 w130 h20 +BackgroundTrans, /R5
- Gui, 16: Add, Text, x225 y122 w130 h20 +BackgroundTrans, /abgabe
- Gui, 16: Add, Text, x75 y103 w140 h20 +BackgroundTrans, Aktuelle Fische anzeigen
- Gui, 16: Add, Text, x225 y102 w130 h20 +BackgroundTrans, /fische
- Gui, 16: Add, Button, x155 y143 w100 h30 gSave16, OK
- Gui, 16: Show, w396 h180, Job: Hochseefischer
- }
- if(Job = 7)
- {
- Gui, 17: Destroy
- Gui, 17: Add, Picture, x0 y0 w400 h170 , %Pictures%\zugfahrerpic.jpg
- Gui, 17: Add, Hotkey, x66 y40 w140 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
- Gui, 17: Add, Text, x218 y44 w140 h20 +BackgroundTrans, /duty
- Gui, 17: Add, Button, x156 y100 w100 h30 gSave17, OK
- Gui, 17: Show, w395 h170, Job: Zugfahrer
- }
- if(Job = 8)
- {
- Gui, 18: Destroy
- Gui, 18: Add, Picture, x0 y0 w400 h170 , %Pictures%\pilotpic.jpg
- Gui, 18: Add, Hotkey, x46 y40 w140 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
- Gui, 18: Add, Text, x206 y45 w110 h20 +BackgroundTrans, /duty
- Gui, 18: Add, Button, x146 y100 w90 h30 gSave18, OK
- Gui, 18: Show, w400 h170, Job: Pilot
- }
- if(Job = 9)
- {
- Gui, 19: Destroy
- Gui, 19: Add, Picture, x0 y0 w400 h170 , %Pictures%\mechatronikerpic.jpg
- Gui, 19: Add, Hotkey, x46 y30 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
- Gui, 19: Add, Hotkey, x46 y70 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
- Gui, 19: Add, Text, x206 y34 w160 h20 +BackgroundTrans, /refill <Spieler> <Preis>
- Gui, 19: Add, Text, x206 y74 w160 h20 +BackgroundTrans, /repair <Spieler> <Preis>
- Gui, 19: Add, Button, x156 y120 w100 h30 gSave19, OK
- Gui, 19: Show, w396 h170, Job: Mechatroniker
- }
- if(Job = 10)
- {
- Gui, 20: Destroy
- Gui, 20: Add, Picture, x0 y0 w400 h170 , %Pictures%\detektivpic.jpg
- Gui, 20: Add, Text, x46 y10 w320 h20 +BackgroundTrans, Information: Der Skill kann in den Einstellungen angepasst werden.
- Gui, 20: Add, Text, x70 y55 w60 h20 +BackgroundTrans, /afind (/af)
- Gui, 20: Add, Text, x70 y95 w80 h20 +BackgroundTrans, /ashowpos (/as)
- Gui, 20: Add, Text, x150 y55 w230 h20 +BackgroundTrans, = Automatisches Suchen (abhängig vom Skill)
- Gui, 20: Add, Text, x150 y95 w230 h20 +BackgroundTrans, = Automatisches Zeigen (abhängig vom Skill)
- Gui, 20: Add, Button, x146 y130 w100 h30 gSave20, OK
- Gui, 20: Show, w395 h170, Job: Detektiv
- }
- if(Job = 11)
- {
- Gui, 21: Destroy
- Gui, 21: Add, Picture, x0 y0 w400 h170 , %Pictures%\anwaltpic.jpg
- Gui, 21: Add, Hotkey, x46 y30 w150 h20 vHotKey1 Checked%HotKey1%, %HotKey1%
- Gui, 21: Add, Hotkey, x46 y70 w150 h20 vHotKey2 Checked%HotKey2%, %HotKey2%
- Gui, 21: Add, Text, x216 y36 w150 h20 +BackgroundTrans, /freeinfo
- Gui, 21: Add, Text, x216 y76 w150 h20 +BackgroundTrans, /free <Spieler> <Kaution>
- Gui, 21: Add, Button, x156 y110 w100 h30 gSave21, OK
- Gui, 21: Show, w395 h170, Job: Anwalt
- }
- if(Job = 12)
- {
- Gui, 22: Destroy
- Gui, 22: Add, Picture, x0 y0 w480 h290 , %Pictures%\busfahrerpic.jpg
- Gui, 22: Add, Text, x161 y20 w100 h20 +BackgroundTrans, /l1
- Gui, 22: Add, Text, x161 y40 w100 h20 +BackgroundTrans, /l2
- Gui, 22: Add, Text, x161 y60 w100 h20 +BackgroundTrans, /l3
- Gui, 22: Add, Text, x161 y80 w100 h20 +BackgroundTrans, /l4
- Gui, 22: Add, Text, x161 y100 w100 h20 +BackgroundTrans, /l5
- Gui, 22: Add, Text, x161 y120 w100 h20 +BackgroundTrans, /l6
- Gui, 22: Add, Text, x161 y140 w100 h20 +BackgroundTrans, /l7
- Gui, 22: Add, Text, x161 y160 w100 h20 +BackgroundTrans, /l8
- Gui, 22: Add, Text, x161 y180 w100 h20 +BackgroundTrans, /l9
- Gui, 22: Add, Text, x161 y200 w100 h20 +BackgroundTrans, /l10
- Gui, 22: Add, Text, x161 y220 w100 h20 +BackgroundTrans, /l11
- Gui, 22: Add, Text, x211 y20 w170 h20 +BackgroundTrans, = Auswahl von Linie 1
- Gui, 22: Add, Text, x211 y40 w170 h20 +BackgroundTrans, = Auswahl von Linie 2
- Gui, 22: Add, Text, x211 y60 w170 h20 +BackgroundTrans, = Auswahl von Linie 3
- Gui, 22: Add, Text, x211 y80 w170 h20 +BackgroundTrans, = Auswahl von Linie 4
- Gui, 22: Add, Text, x211 y100 w170 h20 +BackgroundTrans, = Auswahl von Linie 5
- Gui, 22: Add, Text, x211 y120 w170 h20 +BackgroundTrans, = Auswahl von Linie 6
- Gui, 22: Add, Text, x211 y140 w170 h20 +BackgroundTrans, = Auswahl von Linie 7
- Gui, 22: Add, Text, x211 y160 w170 h20 +BackgroundTrans, = Auswahl von Linie 8
- Gui, 22: Add, Text, x211 y180 w170 h20 +BackgroundTrans, = Auswahl von Linie 9
- Gui, 22: Add, Text, x211 y200 w170 h20 +BackgroundTrans, = Auswahl von Linie 10
- Gui, 22: Add, Text, x211 y220 w170 h20 +BackgroundTrans, = Auswahl von Linie 11
- Gui, 22: Add, Button, x196 y250 w100 h30 gSave22, OK
- Gui, 22: Show, w480 h290, Job: Busfahrer
- }
- return
- Save12:
- 12GuiClose:
- Gui, 12: Submit
- IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
- IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
- IniWrite, %HotKey3%, %Hotkeys%, JobHotkey, HotKey3
- IniWrite, %HotKey4%, %Hotkeys%, JobHotkey, HotKey4
- IniWrite, %HotKey5%, %Hotkeys%, JobHotkey, HotKey5
- Gui, 12: Destroy
- return
- Save13:
- 13GuiClose:
- Gui, 13: Submit
- IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
- IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
- IniWrite, %HotKey3%, %Hotkeys%, JobHotkey, HotKey3
- IniWrite, %HotKey4%, %Hotkeys%, JobHotkey, HotKey4
- IniWrite, %HotKey5%, %Hotkeys%, JobHotkey, HotKey5
- Gui, 13: Destroy
- return
- Save14:
- 14GuiClose:
- Gui, 14: Submit
- IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
- IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
- Gui, 14: Destroy
- return
- Save15:
- 15GuiClose:
- Gui, 15: Submit
- IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
- IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
- Gui, 15: Destroy
- return
- Save16:
- 16GuiClose:
- Gui, 16: Destroy
- return
- Save17:
- 17GuiClose:
- Gui, 17: Submit
- IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
- Gui, 17: Destroy
- return
- Save18:
- 18GuiClose:
- Gui, 18: Submit
- IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
- Gui, 18: Destroy
- return
- Save19:
- 19GuiClose:
- Gui, 19: Submit
- IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
- IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
- Gui, 19: Destroy
- return
- Save20:
- 20GuiClose:
- Gui, 20: Destroy
- return
- Save21:
- 21GuiClose:
- Gui, 21: Submit
- IniWrite, %HotKey1%, %Hotkeys%, JobHotkey, HotKey1
- IniWrite, %HotKey2%, %Hotkeys%, JobHotkey, HotKey2
- Gui, 21: Destroy
- return
- Save22:
- 22GuiClose:
- Gui, 22: Destroy
- return
- toKeybinds:
- Loop, 10
- {
- IniRead, TZahl%A_Index%, %Hotkeys%, Tastenbelegung Zahlen, TZahl%A_Index%, %A_Space%
- }
- Loop, 9
- {
- IniRead, TNumPad%A_Index%, %Hotkeys%, Tastenbelegung Numpad, TNumPad%A_Index%, %A_Space%
- }
- IniRead, TNumPad0, %Hotkeys%, Tastenbelegung Numpad, TNumPad0, %A_Space%
- Loop, 12
- {
- IniRead, TF%A_Index%, %Hotkeys%, Tastenbelegung F-Taste, TF%A_Index%
- }
- Loop, 18
- {
- IniRead, Taste%A_Index%I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%I, %A_Space%
- IniRead, Taste%A_Index%B, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%B, %A_Space%
- }
- goto Keybinds
- return
- Keybinds:
- Gui, 3: Submit
- Gui, 3: Destroy
- Gui, 33: Submit
- Gui, 33: Destroy
- Gui, 2: Destroy
- Gui, 2: Font, s9,5
- Gui, 2: Add, GroupBox, x6 y10 w680 h150 cwhite , Information
- Gui, 2: Add, Text, x16 y30 w650 h120 cwhite, Für eine Taste können bis zu drei Befehle belegt werden. Trenne die Befehle mit dem Rautezeichen voneinander ab ("#").`nDie Taste "t" für das Öffnen der Chat-Konsole muss NICHT berücksichtigt werden.`n`nFolgende "Kürzel" haben noch eine zusätzliche Funktion:`n<name> = Wird ersetzt durch den Namen `n<hp> / <car> = Wird ersetzt durch die aktuelle Player- oder Car-HP`n<time> = Wird ersetzt durch die akt. Uhrzeit `n<date> = Wird ersetzt durch das akt. Datum `n<pos> = Wird ersetzt durch die aktuelle Position
- Gui, 2:Add, GroupBox, x6 y170 w680 h280 cwhite, Zahlen
- Gui, 2:Add, Text, x16 y190 w40 h20 cwhite, Zahl 1:
- Gui, 2:Add, Edit, x16 y210 w150 h25 vTZahl1, %TZahl1%
- Gui, 2:Add, Text, x188 y189 w39 h16 cwhite, Zahl 2:
- Gui, 2:Add, Edit, x184 y209 w150 h25 vTZahl2, %TZahl2%
- Gui, 2:Add, Text, x16 y240 w40 h20 cwhite, Zahl 3:
- Gui, 2:Add, Edit, x16 y260 w150 h25 vTZahl3, %TZahl3%
- Gui, 2:Add, Text, x188 y239 w39 h16 cwhite, Zahl 4:
- Gui, 2:Add, Edit, x184 y259 w150 h25 vTZahl4, %TZahl4%
- Gui, 2:Add, Text, x16 y290 w40 h20 cwhite, Zahl 5:
- Gui, 2:Add, Edit, x16 y310 w150 h25 vTZahl5, %TZahl5%
- Gui, 2:Add, Text, x188 y289 w39 h16 cwhite, Zahl 6:
- Gui, 2:Add, Edit, x184 y309 w150 h25 vTZahl6, %TZahl6%
- Gui, 2:Add, Text, x16 y340 w40 h20 cwhite, Zahl 7:
- Gui, 2:Add, Edit, x16 y360 w150 h25 vTZahl7, %TZahl7%
- Gui, 2:Add, Text, x188 y339 w39 h16 cwhite, Zahl 8:
- Gui, 2:Add, Edit, x184 y359 w150 h25 vTZahl8, %TZahl8%
- Gui, 2:Add, Text, x16 y390 w40 h20 cwhite, Zahl 9:
- Gui, 2:Add, Edit, x16 y410 w150 h25 vTZahl9, %TZahl9%
- Gui, 2:Add, Text, x188 y389 w39 h16 cwhite, Zahl 0:
- Gui, 2:Add, Edit, x186 y410 w150 h25 vTZahl0, %TZahl0%
- Gui, 2:Add, Text, x368 y189 w65 h16 cwhite, Numpad 1:
- Gui, 2:Add, Edit, x364 y209 w150 h25 vTNumPad1, %TNumPad1%
- Gui, 2:Add, Text, x526 y190 w60 h20 cwhite, Numpad 2:
- Gui, 2:Add, Edit, x526 y210 w150 h25 vTNumPad2, %TNumPad2%
- Gui, 2:Add, Text, x368 y239 w65 h16 cwhite, Numpad 3:
- Gui, 2:Add, Edit, x364 y259 w150 h25 vTNumPad3, %TNumPad3%
- Gui, 2:Add, Text, x526 y240 w60 h20 cwhite, Numpad 4:
- Gui, 2:Add, Edit, x526 y260 w150 h25 vTNumPad4, %TNumPad4%
- Gui, 2:Add, Text, x368 y289 w65 h16 cwhite, Numpad 5:
- Gui, 2:Add, Edit, x366 y310 w150 h25 vTNumPad5, %TNumPad5%
- Gui, 2:Add, Text, x526 y290 w60 h20 cwhite, Numpad 6:
- Gui, 2:Add, Edit, x526 y310 w150 h25 vTNumPad6, %TNumPad6%
- Gui, 2:Add, Text, x368 y339 w65 h16 cwhite, Numpad 7:
- Gui, 2:Add, Edit, x364 y359 w150 h25 vTNumPad7, %TNumPad7%
- Gui, 2:Add, Text, x526 y340 w60 h20 cwhite, Numpad 8:
- Gui, 2:Add, Edit, x526 y360 w150 h25 vTNumPad8, %TNumPad8%
- Gui, 2:Add, Text, x368 y389 w65 h16 cwhite, Numpad 9:
- Gui, 2:Add, Edit, x364 y409 w150 h25 vTNumPad9, %TNumPad9%
- Gui, 2:Add, Text, x526 y390 w60 h20 cwhite, Numpad 0:
- Gui, 2:Add, Edit, x526 y410 w150 h25 vTNumPad0, %TNumPad0%
- Gui, 2:Add, GroupBox, x6 y460 w680 h180 cwhite, F-Tasten
- Gui, 2:Add, Text, x16 y480 w40 h20 cwhite, F 1:
- Gui, 2:Add, Edit, x16 y500 w150 h25 vTF1, %TF1%
- Gui, 2:Add, Text, x186 y480 w40 h20 cwhite, F 2:
- Gui, 2:Add, Edit, x186 y500 w150 h25 vTF2, %TF2%
- Gui, 2:Add, Text, x366 y480 w40 h20 cwhite, F 3:
- Gui, 2:Add, Edit, x366 y500 w150 h25 vTF3, %TF3%
- Gui, 2:Add, Text, x526 y480 w40 h20 cwhite, F 4:
- Gui, 2:Add, Edit, x526 y500 w150 h25 vTF4, %TF4%
- Gui, 2:Add, Text, x16 y530 w40 h20 cwhite, F 5:
- Gui, 2:Add, Edit, x16 y550 w150 h25 vTF5, %TF5%
- Gui, 2:Add, Text, x186 y530 w40 h20 cwhite, F 6:
- Gui, 2:Add, Edit, x186 y550 w150 h25 vTF6, %TF6%
- Gui, 2:Add, Text, x366 y530 w40 h20 cwhite, F 7:
- Gui, 2:Add, Edit, x366 y550 w150 h25 vTF7, %TF7%
- Gui, 2:Add, Text, x526 y530 w40 h20 cwhite, F 8:
- Gui, 2:Add, Edit, x526 y550 w150 h25 vTF8, %TF8%
- Gui, 2:Add, Text, x16 y580 w40 h20 cwhite, F 9:
- Gui, 2:Add, Edit, x16 y600 w150 h25 vTF9, %TF9%
- Gui, 2:Add, Text, x186 y580 w40 h20 cwhite, F 10:
- Gui, 2:Add, Edit, x186 y600 w150 h25 vTF10, %TF10%
- Gui, 2:Add, Text, x366 y580 w40 h20 cwhite, F 11:
- Gui, 2:Add, Edit, x366 y600 w150 h25 vTF11, %TF11%
- Gui, 2:Add, Text, x526 y580 w40 h20 cwhite, F 12:
- Gui, 2:Add, Edit, x526 y600 w150 h25 vTF12, %TF12%
- Gui, 2:Add, Button, x186 y660 w150 h40 gSpeichern , Speichern
- Gui, 2:Add, Button, x366 y660 w150 h40 gAbbrechen, Abbrechen
- Gui, 2:Add, Picture, x620 y660 w52 h52 gKeybinds2, %Pictures%\rpbutton.png
- Gui, 2:Add, Picture, x20 y660 w52 h52 gKeybinds3, %Pictures%\lpbutton.png
- Gui, 2:Color, 292929
- Gui, 2:Show, w700 h729, Keybinds (Seite 1)
- return
- 2GuiClose:
- goto Abbrechen
- return
- Keybinds2:
- Gui, 2: Submit
- Gui, 2: Destroy
- Gui, 33: Submit
- Gui, 33: Destroy
- Gui, 3: Destroy
- Gui, 3:Add, GroupBox, x6 y10 w610 h160 cwhite, Information
- Gui, 3:Add, Text, x16 y30 w590 h130 cwhite, Für eine Taste können bis zu drei Befehle belegt werden. Trenne die Befehle mit dem Rautezeichen voneinander ab ("#").`nDie Taste "t" für das Öffnen der Chat-Konsole muss NICHT berücksichtigt werden.`nAchte bitte darauf`, dass deine Belegung der Zusatztasten mit den Tastenfeldern vereinbar ist! `n`nFolgende "Kürzel" haben noch eine zusätzliche Funktion:`n<name> = Wird ersetzt durch den Namen `n<hp> / <car> = Wird ersetzt durch die aktuelle Player- oder Car-HP`n<time> = Wird ersetzt durch die akt. Uhrzeit `n<date> = Wird ersetzt durch das akt. Datum `n<pos> = Wird ersetzt durch die aktuelle Position
- Gui, 3:Add, GroupBox, x6 y180 w610 h340 cwhite, Zusatztasten
- Gui, 3:Add, Hotkey, x16 y210 w210 h20 vTaste1B Checked%Taste1B%, %Taste1B%
- Gui, 3:Add, Hotkey, x16 y240 w210 h20 VTaste2B Checked%Taste2B%, %Taste2B%
- Gui, 3:Add, Hotkey, x16 y270 w210 h20 vTaste3B Checked%Taste3B%, %Taste3B%
- Gui, 3:Add, Hotkey, x16 y300 w210 h20 vTaste4B Checked%Taste4B%, %Taste4B%
- Gui, 3:Add, Hotkey, x16 y330 w210 h20 vTaste5B Checked%Taste5B%, %Taste5B%
- Gui, 3:Add, Hotkey, x16 y360 w210 h20 vTaste6B Checked%Taste6B%, %Taste6B%
- Gui, 3:Add, Hotkey, x16 y390 w210 h20 vTaste7B Checked%Taste7B%, %Taste7B%
- Gui, 3:Add, Hotkey, x16 y420 w210 h20 vTaste8B Checked%Taste8B%, %Taste8B%
- Gui, 3:Add, Hotkey, x16 y450 w210 h20 vTaste9B Checked%Taste9B%, %Taste9B%
- Gui, 3:Add, Hotkey, x16 y480 w210 h20 vTaste10B Checked%Taste10B%, %Taste10B%
- Gui, 3:Add, Edit, x256 y210 w330 h20 vTaste1I, %Taste1I%
- Gui, 3:Add, Edit, x256 y240 w330 h20 vTaste2I, %Taste2I%
- Gui, 3:Add, Edit, x256 y270 w330 h20 vTaste3I, %Taste3I%
- Gui, 3:Add, Edit, x256 y300 w330 h20 vTaste4I, %Taste4I%
- Gui, 3:Add, Edit, x256 y330 w330 h20 vTaste5I, %Taste5I%
- Gui, 3:Add, Edit, x256 y360 w330 h20 vTaste6I, %Taste6I%
- Gui, 3:Add, Edit, x256 y390 w330 h20 vTaste7I, %Taste7I%
- Gui, 3:Add, Edit, x256 y420 w330 h20 vTaste8I, %Taste8I%
- Gui, 3:Add, Edit, x256 y450 w330 h20 vTaste9I, %Taste9I%
- Gui, 3:Add, Edit, x256 y480 w330 h20 vTaste10I, %Taste10I%
- Gui, 3:Add, Button, x146 y530 w150 h40 gSpeichern, Speichern
- Gui, 3:Add, Button, x326 y530 w150 h40 gAbbrechen, Abbrechen
- Gui, 3:Font, s13 CDefault Bolt, Wingdings 3
- Gui, 3:Add, Picture, x540 y530 w52 h52 gKeybinds3, %Pictures%\rpbutton.png
- Gui, 3:Add, Picture, x20 y530 w52 h52 gKeybinds, %Pictures%\lpbutton.png
- Gui, 3:Color, 292929
- Gui, 3:Show, w640 h588, Keybinds (Seite 2)
- return
- 3GuiClose:
- goto Abbrechen
- return
- 33GuiClose:
- goto Abbrechen
- return
- Keybinds3:
- Gui, 2: Submit
- Gui, 2: Destroy
- Gui, 3: Submit
- Gui, 3: Destroy
- Gui, 33: Destroy
- Gui, 33:Add, GroupBox, x6 y10 w610 h220 cwhite, Information: Befehle ohne direktes Senden
- Gui, 33:Add, Text, x16 y30 w590 h190 cwhite, Folgende Befehle werden nicht direkt an den Server gesendet, das Absenden muss selbst bestätigt werden. Die Taste "t" für das Öffnen der Chat-Konsole muss NICHT berücksichtigt werden. Es kann nur ein Befehl verwendet werden!`n`nFolgende "Kürzel" haben noch eine zusätzliche Funktion:`n<name> = Wird ersetzt durch den Namen `n<hp> / <car> = Wird ersetzt durch die aktuelle Player- oder Car-HP`n<time> = Wird ersetzt durch die akt. Uhrzeit `n<date> = Wird ersetzt durch das akt. Datum `n<pos> = Wird ersetzt durch die aktuelle Position `n`nAls zusätzliches Kürzel ist nun auch folgendes möglich: `n<left> = Bewegt den Cursor um eine Position nach links `n<space> = Schreibt eine Leerzeichen in den Chat (nur am Ende der Eingabe verwenden)
- Gui, 33:Add, GroupBox, x6 y240 w610 h280 cwhite, Zusatztasten: Kein direktes Senden
- Gui, 33:Add, Hotkey, x16 y270 w210 h20 vTaste11B Checked%Taste11B%, %Taste11B%
- Gui, 33:Add, Hotkey, x16 y300 w210 h20 vTaste12B Checked%Taste12B%, %Taste12B%
- Gui, 33:Add, Hotkey, x16 y330 w210 h20 vTaste13B Checked%Taste13B%, %Taste13B%
- Gui, 33:Add, Hotkey, x16 y360 w210 h20 vTaste14B Checked%Taste14B%, %Taste14B%
- Gui, 33:Add, Hotkey, x16 y390 w210 h20 vTaste15B Checked%Taste15B%, %Taste15B%
- Gui, 33:Add, Hotkey, x16 y420 w210 h20 vTaste16B Checked%Taste16B%, %Taste16B%
- Gui, 33:Add, Hotkey, x16 y450 w210 h20 vTaste17B Checked%Taste17B%, %Taste17B%
- Gui, 33:Add, Hotkey, x16 y480 w210 h20 vTaste18B Checked%Taste18B%, %Taste18B%
- Gui, 33:Add, Edit, x256 y270 w330 h20 vTaste11I, %Taste11I%
- Gui, 33:Add, Edit, x256 y300 w330 h20 vTaste12I, %Taste12I%
- Gui, 33:Add, Edit, x256 y330 w330 h20 vTaste13I, %Taste13I%
- Gui, 33:Add, Edit, x256 y360 w330 h20 vTaste14I, %Taste14I%
- Gui, 33:Add, Edit, x256 y390 w330 h20 vTaste15I, %Taste15I%
- Gui, 33:Add, Edit, x256 y420 w330 h20 vTaste16I, %Taste16I%
- Gui, 33:Add, Edit, x256 y450 w330 h20 vTaste17I, %Taste17I%
- Gui, 33:Add, Edit, x256 y480 w330 h20 vTaste18I, %Taste18I%
- Gui, 33:Add, Button, x146 y530 w150 h40 gSpeichern, Speichern
- Gui, 33:Add, Button, x326 y530 w150 h40 gAbbrechen, Abbrechen
- Gui, 33:Add, Picture, x540 y530 w52 h52 gKeybinds, %Pictures%\rpbutton.png
- Gui, 33:Add, Picture, x20 y530 w52 h52 gKeybinds2, %Pictures%\lpbutton.png
- Gui, 33:Color, 292929
- Gui, 33:Show, w640 h588, Keybinds (Seite 3)
- return
- Speichern:
- Gui, Submit
- Loop, 10
- {
- IniWrite, % TZahl%A_Index%, %Hotkeys%, Tastenbelegung Zahlen, TZahl%A_Index%
- }
- Loop, 9
- {
- IniWrite, % TNumPad%A_Index%, %Hotkeys%, Tastenbelegung Numpad, TNumpad%A_Index%
- }
- IniWrite, %TNumPad0%, %Hotkeys%, Tastenbelegung Numpad, TNumPad0
- Loop, 12
- {
- IniWrite, % TF%A_Index%, %Hotkeys%, Tastenbelegung F-Taste, TF%A_Index%
- }
- Loop, 18
- {
- IniWrite, % Taste%A_Index%B, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%B
- IniWrite, % Taste%A_Index%I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%I
- }
- IniWrite, %HKPause%, %Hotkeys%, Zusatz, HKPause
- IniWrite, %HKWiederholen%, %Hotkeys%, Zusatz, HKWiederholen
- IniWrite, %HKHP% , %Hotkeys%, Zusatz, HKHP
- IniWrite, %HKHilfe%, %Hotkeys%, Zusatz, HKHilfe
- IniWrite, %Benutzername%, %Settings%, Einstellungen, Benutzername
- IniWrite, %Passwort%, %Settings%, Einstellungen, Passwort
- IniWrite, %Job%, %Settings%, Einstellungen, Job
- IniWrite, %Detektivskill%, %Settings%, Einstellungen, Detektivskill
- IniWrite, %Busfahrerskill%, %Settings%, Einstellungen, Busfahrerskill
- IniWrite, %Anwaltskill%, %Settings%, Einstellungen, Anwaltskill
- IniWrite, %TSName%, %Settings%, Einstellungen, TSName
- IniWrite, %admin%, %Settings%, Einstellungen, admin
- IniWrite, %Chatlogsaver%, %Settings%, Einstellungen, Chatlogsaver
- IniWrite, %AntiSpam%, %Settings%, Einstellungen, AntiSpam
- IniWrite, %Gehaltsscheck%, %Settings%, Einstellungen, Gehaltsscheck
- IniWrite, %GangZaehler%, %Settings%, Einstellungen, GangZaehler
- IniWrite, %Killzähler%, %Settings%, Einstellungen, Killzähler
- IniWrite, %Todeszähler%, %Settings%, Einstellungen, Todeszähler
- IniWrite, %Lock%, %Settings%, Einstellungen, Lock
- IniWrite, %TankZoll%, %Settings%, Einstellungen, TankZoll
- IniWrite, %KillzählerSpruch%, %Settings%, Killzähler, Killzählerspruch
- IniWrite, %GFKillzählerSpruch%, %Settings%, Killzähler, GFKillzählerSpruch
- IniWrite, %Todeszählerspruch%, %Settings%, Todeszähler, Todeszählerspruch
- IniWrite, %Pickup%, %Settings%, Zusatz, Pickup
- IniWrite, %Hangup%, %Settings%, Zusatz, Hangup
- goto Reading
- return
- Reading:
- Loop, 10
- {
- IniRead, TZahl%A_Index%, %Hotkeys%, Tastenbelegung Zahlen, TZahl%A_Index%, %A_Space%
- }
- Loop, 9
- {
- IniRead, TNumPad%A_Index%, %Hotkeys%, Tastenbelegung Numpad, TNumPad%A_Index%, %A_Space%
- }
- IniRead, TNumPad0, %Hotkeys%, Tastenbelegung Numpad, TNumPad0, %A_Space%
- Loop, 12
- {
- IniRead, TF%A_Index%, %Hotkeys%, Tastenbelegung F-Taste, TF%A_Index%
- }
- Loop, 18
- {
- IniRead, Taste%A_Index%I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%I, %A_Space%
- IniRead, Taste%A_Index%B, %Hotkeys%, Tastenbelegung Zusatztasten, Taste%A_Index%B, %A_Space%
- }
- IniRead, HKPause, %Hotkeys%, Zusatz, HKPause, %A_Space%
- IniRead, HKWiederholen, %Hotkeys%, Zusatz, HKWiederholen, %A_Space%
- IniRead, HKHP , %Hotkeys%, Zusatz, HKHP, %A_Space%
- IniRead, HKHilfe, %Hotkeys%, Zusatz, HKHilfe, %A_Space%
- IniRead, HotKey1, %Hotkeys%, JobHotkey, HotKey1, %A_Space%
- IniRead, HotKey2, %Hotkeys%, JobHotkey, HotKey2, %A_Space%
- IniRead, HotKey3, %Hotkeys%, JobHotkey, HotKey3, %A_Space%
- IniRead, HotKey4, %Hotkeys%, JobHotkey, HotKey4, %A_Space%
- IniRead, HotKey5, %Hotkeys%, JobHotkey, HotKey5, %A_Space%
- IniRead, Benutzername, %Settings%, Einstellungen, Benutzername
- IniRead, Passwort, %Settings%, Einstellungen, Passwort
- IniRead, Job, %Settings%, Einstellungen, Job
- IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
- IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
- IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
- IniRead, TSNName, %Settings%, Einstellungen, TSName
- IniRead, admin, %Settings%, Einstellungen, admin
- IniRead, Chatlogsaver, %Settings%, Einstellungen, Chatlogsaver
- IniRead, AntiSpam, %Settings%, Einstellungen, AntiSpam
- IniRead, Gehaltsscheck, %Settings%, Einstellungen, Gehaltsscheck
- IniRead, GangZaehler, %Settings%, Einstellungen, GangZaehler
- IniRead, Killzähler, %Settings%, Einstellungen, Killzähler
- IniRead, Todeszähler, %Settings%, Einstellungen, Todeszähler
- IniRead, Lock, %Settings%, Einstellungen, Lock
- IniRead, TankZoll, %Settings%, Einstellungen, TankZoll
- IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch
- IniRead, GFKillzählerSpruch, %Settings%, Kilzähler, GFKillzählerSpruch
- IniRead, Todeszählerspruch, %Settings%, Todeszähler, Todeszählerspruch
- IniRead, Pickup, %Settings%, Zusatz, Pickup
- IniRead, Hangup, %Settings%, Zusatz, Hangup
- IniRead, CheckCall, %Settings%, Sounds, CheckCall
- IniRead, CheckSMS, %Settings%, Sounds, CheckSMS
- IniRead, CheckLowHP, %Settings%, Sounds, CheckLowHP
- IniRead, CheckKill, %Settings%, Sounds, CheckKill
- IniRead, CheckTod, %Settings%, Sounds, CheckTod
- IniRead, Callsound, %Settings%, Sounds, Callsound
- IniRead, SMSsound, %Settings%, Sounds, SMSsound
- IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
- IniRead, Killsound, %Settings%, Sounds, Killsound
- IniRead, Todessound, %Settings%, Sounds, Todessound
- IniRead, VolCall, %Settings%, Sounds, VolCall
- IniRead, VolSMS, %Settings%, Sounds, VolSMS
- IniRead, VolLowHP, %Settings%, Sounds, VolLowHP
- IniRead, VolKill, %Settings%, Sounds, VolKill
- IniRead, VolTod, %Settings%, Sounds, VolTod
- if (Chatlogsaver == 1)
- {
- SetTimer, chatlog, off
- SetTimer, chatlog, 500
- }
- else
- {
- SetTimer, chatlog, off
- }
- if(Abbrechen = 1)
- {
- goto Abbrechen
- }
- IfNotEqual, Taste1B,, Hotkey, %Taste1B%, Taste1B
- IfNotEqual, Taste2B,, Hotkey, %Taste2B%, Taste2B
- IfNotEqual, Taste3B,, Hotkey, %Taste3B%, Taste3B
- IfNotEqual, Taste4B,, Hotkey, %Taste4B%, Taste4B
- IfNotEqual, Taste5B,, Hotkey, %Taste5B%, Taste5B
- IfNotEqual, Taste6B,, Hotkey, %Taste6B%, Taste6B
- IfNotEqual, Taste7B,, Hotkey, %Taste7B%, Taste7B
- IfNotEqual, Taste8B,, Hotkey, %Taste8B%, Taste8B
- IfNotEqual, Taste9B,, Hotkey, %Taste9B%, Taste9B
- IfNotEqual, Taste10B,, Hotkey, %Taste10B%, Taste10B
- IfNotEqual, Taste11B,, Hotkey, %Taste11B%, Taste11B
- IfNotEqual, Taste12B,, Hotkey, %Taste12B%, Taste12B
- IfNotEqual, Taste13B,, Hotkey, %Taste13B%, Taste13B
- IfNotEqual, Taste14B,, Hotkey, %Taste14B%, Taste14B
- IfNotEqual, Taste15B,, Hotkey, %Taste15B%, Taste15B
- IfNotEqual, Taste16B,, Hotkey, %Taste16B%, Taste16B
- IfNotEqual, Taste17B,, Hotkey, %Taste17B%, Taste17B
- IfNotEqual, Taste18B,, Hotkey, %Taste18B%, Taste18B
- IfNotEqual, HKPause,,Hotkey, %HKPause%, HKPause
- IfnotEqual, HKWiederholen,,Hotkey, %HKWiederholen%, HKWiederholen
- IfNotEqual, HKHP,,Hotkey, %HKHP%, HKHP
- IfNotEqual, HKHilfe,,Hotkey, %HKHilfe%, HKHilfe
- IfNotEqual, HotKey1,, Hotkey, %HotKey1%, HotKey1
- IfNotEqual, HotKey2,, Hotkey, %HotKey2%, HotKey2
- IfNotEqual, HotKey3,, Hotkey, %HotKey3%, HotKey3
- IfNotEqual, HotKey4,, Hotkey, %HotKey4%, HotKey4
- IfNotEqual, HotKey5,, Hotkey, %HotKey5%, HotKey5
- return
- Abbrechen:
- if (Abbrechen = 0)
- {
- Abbrechen := 1
- goto Reading
- }
- if (Abbrechen = 1)
- {
- GuiControl,, TNumpad1, %TNumpad1%
- GuiControl,, TNumpad2, %TNumpad2%
- GuiControl,, TNumpad3, %TNumpad3%
- GuiControl,, TNumpad4, %TNumpad4%
- GuiControl,, TNumpad5, %TNumpad5%
- GuiControl,, TNumpad6, %TNumpad6%
- GuiControl,, TNumpad7, %TNumpad7%
- GuiControl,, TNumpad8, %TNumpad8%
- GuiControl,, TNumpad9, %TNumpad9%
- GuiControl,, TNumpad0, %TNumpad0%
- GuiControl,, TZahl1, %TZahl1%
- GuiControl,, TZahl2, %TZahl2%
- GuiControl,, TZahl3, %TZahl3%
- GuiControl,, TZahl4, %TZahl4%
- GuiControl,, TZahl5, %TZahl5%
- GuiControl,, TZahl6, %TZahl6%
- GuiControl,, TZahl7, %TZahl7%
- GuiControl,, TZahl8, %TZahl8%
- GuiControl,, TZahl9, %TZahl9%
- GuiControl,, TZahl0, %TZahl0%
- GuiControl,, TF1, %TF1%
- GuiControl,, TF2, %TF2%
- GuiControl,, TF3, %TF3%
- GuiControl,, TF4, %TF4%
- GuiControl,, TF5, %TF5%
- GuiControl,, TF6, %TF6%
- GuiControl,, TF7, %TF7%
- GuiControl,, TF8, %TF8%
- GuiControl,, TF9, %TF9%
- GuiControl,, TF10, %TF10%
- GuiControl,, TF11, %TF11%
- GuiControl,, TF12, %TF12%
- GuiControl,, Taste1I, %Taste1I%
- GuiControl,, Taste2I, %Taste2I%
- GuiControl,, Taste3I, %Taste3I%
- GuiControl,, Taste4I, %Taste4I%
- GuiControl,, Taste5I, %Taste5I%
- GuiControl,, Taste6I, %Taste6I%
- GuiControl,, Taste7I, %Taste7I%
- GuiControl,, Taste8I, %Taste8I%
- GuiControl,, Taste9I, %Taste9I%
- GuiControl,, Taste10I, %Taste10I%
- GuiControl,, Taste11I, %Taste11I%
- GuiControl,, Taste12I, %Taste12I%
- GuiControl,, Taste13I, %Taste13I%
- GuiControl,, Taste14I, %Taste14I%
- GuiControl,, Taste15I, %Taste15I%
- GuiControl,, Taste16I, %Taste16I%
- GuiControl,, Taste17I, %Taste17I%
- GuiControl,, Taste18I, %Taste18I%
- Abbrechen := 0
- }
- Gui, 2: Destroy
- Gui, 3: Destroy
- Gui, 33: Destroy
- Gui, 4: Destroy
- Gui, 5: Destroy
- Gui, 6: Destroy
- Gui, 9: Destroy
- return
- Job:
- Gui, submit, NoHide
- IniRead, HotKey1, %Hotkeys%, JobHotkey, HotKey1, %A_Space%
- IniRead, HotKey2, %Hotkeys%, JobHotkey, HotKey2, %A_Space%
- IniRead, HotKey3, %Hotkeys%, JobHotkey, HotKey3, %A_Space%
- IniRead, HotKey4, %Hotkeys%, JobHotkey, HotKey4, %A_Space%
- IniRead, HotKey5, %Hotkeys%, JobHotkey, HotKey5, %A_Space%
- if(Job = 1)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- }
- if(Job = 2)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- }
- if(Job = 3)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- }
- if(Job = 4)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- }
- if(Job = 5)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- }
- if(Job = 6)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- }
- if(Job = 7)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- }
- if(Job = 8)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- }
- if(Job = 9)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- }
- if(Job = 10)
- {
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Disable%Job%, Busfahrerskill
- GuiControl, Enable%Job% , Detektivskill
- }
- if(Job = 11)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Busfahrerskill
- GuiControl, Enable%Job%, Anwaltskill
- }
- if(Job = 12)
- {
- GuiControl, Disable%Job% , Detektivskill
- GuiControl, Disable%Job%, Anwaltskill
- GuiControl, Enable%Job%, Busfahrerskill
- }
- IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
- IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
- IniRead, Busfahrerskill, %Settings%, Einstellungen, Busfahrerskill
- GuiControl, Choose, Detektivskill, %Detektivskill%
- GuiControl, Choose, Anwaltskill, %Anwaltskill%
- GuiControl, Choose, Busfahrerskill, %Busfahrerskill%
- return
- _GtaCheck:
- Process , exist, gta_sa.exe
- GtaPid := ErrorLevel
- if (GtaPid != 0)
- {
- if(GtaCheckTrue == "0")
- {
- SetTimer, _GtaCheck, Off
- GtaCheckTrue := "1"
- Sleep, 200
- SetTimer, Systeme, off
- SetTimer, Systeme, 500
- IniRead, Chatlogsaver, %Settings%, Einstellungen, Chatlogsaver
- if (Chatlogsaver == 1)
- {
- SetTimer, chatlog, off
- SetTimer, chatlog, 500
- }
- else
- {
- SetTimer, chatlog, off
- }
- }
- }
- else
- {
- SetTimer, Systeme, off
- GtaCheckTrue := "0"
- }
- return
- ChatLine(firstline, instr, lines=5)
- {
- loop, %lines%
- {
- GetChatLine(firstline + (A_Index - 1), chat)
- if(InStr(chat, instr))
- return chat
- }
- return
- }
- IsPlayerInRangeOfPoint_fast(x, y, z, r)
- {
- static pos_x, pos_y, pos_z, lastcalled
- if(lastcalled < A_TickCount - 150){
- GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
- lastcalled := A_TickCount
- }
- d := sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
- if(d < r)
- return 1
- return 0
- }
- IsPlayerInRangeOfPoint2D_fast(x, y, r){
- static pos_x, pos_y, lastcalled
- if(lastcalled < A_TickCount - 150){
- GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
- lastcalled := A_TickCount
- }
- d := sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
- if(d < r)
- return 1
- return 0
- }
- GetDistanceFromPoint(x, y, z){
- GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
- return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
- }
- GetDistancebetween(x, y, z, pos_x, pos_y, pos_z)
- {
- return sqrt((sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2) ** 2) + (pos_z - z) ** 2)
- }
- GetDistanceFromPoint2D(x, y){
- GetPlayerPosition(pos_x, pos_y, pos_z, pos_r)
- return sqrt((pos_x - x) ** 2 + (pos_y - y) ** 2)
- }
- +T::
- ~t::
- Suspend On
- Hotkey, Enter, On
- Hotkey, Escape, On
- Hotkey, t, Off
- if(SpeedCheckStatus == 1)
- {
- Send {backspace}
- Send {backspace}
- }
- return
- ~Enter::
- ~NumpadEnter::
- Suspend Permit
- Suspend Off
- Hotkey, t, On
- Hotkey, Enter, Off
- Hotkey, Escape, Off
- if(IsChatOpen() == 1 || IsDialogOpen == 1)
- return
- if(Menu_Overlay || Menu_HP || Menu_Ort)
- {
- if Switcher = 6
- {
- IniWrite, %Overlay_size%, %Overlays%, Status Overlay, Overlay_size
- IniWrite, %Overlay_posx%, %Overlays%, Status Overlay, Overlay_posx
- IniWrite, %Overlay_posy%, %Overlays%, Status Overlay, Overlay_posy
- IniWrite, %HP_size%, %Overlays%, HP Overlay, HP_size
- IniWrite, %HP_posx%, %Overlays%, HP Overlay, HP_posx
- IniWrite, %HP_posy%, %Overlays%, HP Overlay, HP_posy
- IniWrite, %Ort_size%, %Overlays%, Ort Overlay, Ort_size
- IniWrite, %Ort_posx%, %Overlays%, Ort Overlay, Ort_posx
- IniWrite, %Ort_posy%, %Overlays%, Ort Overlay, Ort_posy
- SetTimer, Ov_Update, off
- TextSetString(boxtext6,"Einstellungen gespeichert")
- TextSetColor(boxtext6,0xFF4DFF55)
- sleep 1000
- Menu_Overlay := 0
- Menu_HP := 0
- Menu_Ort := 0
- Loop 6
- {
- BoxSetShown(Box%A_INDex%, false)
- TextSetShown(boxtext%A_index%,false)
- }
- TextSetColor(boxtext6,0xFFFFFFFF)
- Settimer, Ov_Update, 1500
- }
- }
- return
- ~Escape::
- Suspend Permit
- Suspend Off
- SendInput {Escape}
- Hotkey, t, On
- Hotkey, Enter, Off
- Hotkey, Escape, Off
- return
- PlayerInput(text)
- {
- s := A_IsSuspended
- Suspend On
- KeyWait Enter
- SendInput t^a{backspace}%text%
- Input, var, v, {enter}
- SendInput ^a{backspace}{enter}
- if(!s)
- Suspend Off
- return var
- }
- Refresh:
- ifWinActive, GTA:SA:MP
- {
- GetServerIp(ServerIP)
- if(ServerIP != "31.214.160.11:7777")
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du befindest dich nicht auf RPG-City. Der Keybinder wird nun beendet.")
- ExitApp
- }
- Sucess := 0
- Sleep, 4000
- GetPlayerName(Name)
- NameCheck=http://mrpacific.pf-control.de/UniversalBinder/blacklist.php?Name=%Name%
- Sucess:= UrlDownloadToVar(NameCheck)
- Sleep, 4000
- if(Sucess == "1")
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie haben kein Recht das Programm zu benutzen.")
- ExitApp
- }
- }
- return
- Systeme:
- IfWinNotActive, GTA:SA:MP
- {
- return
- }
- GetChatLine(0, Line0)
- GetChatLine(1, Line1)
- GetPlayerName(Name)
- HP := GetPlayerHealth()
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- last_line:=A_LoopReadLine
- }
- IfInString, last_line, %Name%'s Handy klingelt
- {
- if(CheckCall = 1)
- {
- IniRead, Callsound, %Settings%, Sounds, Callsound
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolCall%
- }
- Soundplay, %CallSound%
- Sleep 1000
- FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- IfInString, last_line, Sender:
- {
- if not InStr(last_line, "Sender: " Name)
- {
- if(CheckSMS = 1)
- {
- IniRead, SMSsound, %Settings%, Sounds, SMSsound
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolSMS%
- }
- Soundplay, %SMSsound%
- Sleep 1000
- FileAppend, Zeile fur Keybinder ,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- }
- }
- if((InStr(Line1, "Du hast ein Verbrechen begangen ( Mord ). Zeuge: Niemand") && InStr(last_line, "Dein Wanted Level:")))
- {
- If(CheckKill = 1)
- {
- IniRead, Killsound, %Settings%, Sounds, Killsound
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolKill%
- }
- SoundPlay, %Killsound%
- FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- if(Killzähler = 1)
- {
- IniRead, Kills, %Settings%, Killzähler, Kills
- Kills++
- IniWrite, %Kills%, %Settings%, Killzähler, Kills
- if(Killzählerspruch != "")
- {
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- KillzählerSpruch_hilf := KillzählerSpruch
- StringReplace, KillzählerSpruch, KillzählerSpruch, <kills>, %Kills%
- StringReplace, KillzählerSpruch, KillzählerSpruch, <pos>, %Position%
- SendChat("/f " Killzählerspruch "")
- KillzählerSpruch := KillzählerSpruch_hilf
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Kill Nr. {FFBB00}" Kills "{FFFFFF}.")
- }
- }
- if(GangZaehler = 1)
- {
- FormatTime, TagMonatJahr,,dd.MM.yyyy
- IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
- DKills++
- IniWrite, %DKills%, %Tagesstatistik%, %TagMonatJahr%, DKills
- IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
- Killstreak++
- IniRead, KillstreakRekord, %Settings%, Zähler, KillstreakRekord, 0
- if(Killstreak > KillstreakRekord)
- {
- IniWrite, %Killstreak%, %Settings%, Zähler, KillstreakRekord
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast einen neuen Killstreak-Rekord von {FFBB00}" Killstreak "{FFFFFF}.")
- }
- }
- Sleep 500
- }
- if(InStr(last_line, "wurde von " Name " getötet.") && InStr(last_line, "*Gangfight*"))
- {
- If(CheckKill = 1)
- {
- IniRead, Killsound, %Settings%, Sounds, Killsound
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolKill%
- }
- SoundPlay, %Killsound%
- FileAppend, Zeile fur Keybinder `n,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- }
- if(GangZaehler = 1)
- {
- IniRead, Kills, %Settings%, Killzähler, Kills
- Kills++
- IniWrite, %Kills%, %Settings%, Killzähler, Kills
- IniRead, GFKills, %Settings%, Gangfight, GFKills, 0
- GFKills++
- IniWrite, %GFKills%, %Settings%, Gangfight, GFKills
- if(GFKillzählerSpruch != "")
- {
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- GFKillzählerSpruch_hilf := KillzählerSpruch
- StringReplace, GFKillzählerSpruch, GFKillzählerSpruch, <kills>, %Kills%
- StringReplace, GFKillzählerSpruch, GFKillzählerSpruch, <pos>, %Position%
- SendChat("/f " GFKillzählerspruch "")
- GFKillzählerSpruch := GFKillzählerSpruch_hilf
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Gangfight-Kill Nr. {FFBB00}" GFKills "{FFFFFF}.")
- }
- FormatTime, TagMonatJahr,,dd.MM.yyyy
- IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
- DKills++
- IniWrite, %DKills%, %Tagesstatistik%, %TagMonatJahr%, DKills
- IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
- Killstreak++
- IniRead, KillstreakRekord, %Settings%, Zähler, KillstreakRekord, 0
- if(Killstreak > KillstreakRekord)
- {
- IniWrite, %Killstreak%, %Settings%, Zähler, KillstreakRekord
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast einen neuen Killstreak-Rekord {FFBB00}" Killstreak "{FFFFFF}.")
- }
- }
- }
- if(InStr(last_line, "" . Name . " wurde von ") && InStr(last_line, "*Gangfight*"))
- {
- IniRead, GFTode, %Settings%, Gangfight, GFTode
- GFTode++
- IniWrite, %GFTode%, %Settings%, Gangfight, GFTode
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Gangfight-Tod Nr. {FFBB00}" GFTode "{FFFFFF}.")
- Killstreak := 0
- }
- if(InStr(last_line, "*Gangfight* " . Name . " (") && InStr(last_line, ") hat Flagge ") && InStr(last_line, " eingenommen"))
- {
- if(GangZaehler = 1)
- {
- IniRead, Flaggen, %Settings%, Zähler, Flaggen, 0
- Flaggen++
- IniWrite, Flaggen, %Settings%, Zähler, Flaggen
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast bereits {FFBB00}" Flaggen "{FFFFFF} Flaggen eingenommen.")
- }
- }
- if(InStr(Line1, "* " . Name . " benutzt ein Erste-Hilfe-Paket und versorgt die Wunden."))
- {
- SetTimer, ErsteHilfe, 1000
- Erstehilfezeit := 600
- Erstehilfeminute := 9
- Erstehilfesekunde := 60
- }
- if(InStr(last_line, "Paintball: ") && InStr(last_line, "wurde von " Name " getötet"))
- {
- if(Paintballmodus = 1)
- {
- IniRead, PBKills, %Settings%, Zähler, PBKills, 0
- PBKills++
- IniWrite, %PBKills%, %Settings%, Zähler, PBKills
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Dies war dein Paintball-Kill Nr. {FFBB00}" PBKills "{FFFFFF}.")
- }
- }
- if(InStr(last_line, "Paintball: ") && InStr(last_line, "" . Name . " wurde von "))
- {
- if(Paintballmodus = 1)
- {
- IniRead, PBTode, %Settings%, Zähler, PBTode, 0
- PBTode++
- IniWrite, %PBTode%, %Settings%, Zähler, PBTode
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Dies war dein Paintball-Tod Nr. {FFBB00}" PBTode "{FFFFFF}.")
- }
- }
- If (InStr(Line0, "WARNUNG: Hör auf zu Spamen, sonst wirst du gekickt!") || InStr(Line1, "WARNUNG: Hör auf zu Spamen, sonst wirst du gekickt!"))
- {
- if(AntiSpam = 1)
- {
- BlockChatInput(True)
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}AntiSpamKick System {00FF00}aktiv{00FF00}.")
- Sleep, 1500
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}AntiSpamKick System {FF0000}inaktiv{FF0000}.")
- BlockChatInput(false)
- }
- }
- If (InStr, Line0, "Der Gesprächspartner hat aufgelegt")
- {
- Soundplay, avixa.avi
- }
- if(CheckLowHP = 1)
- {
- if(LowHPsoundan == 0)
- {
- if(HP < 47.0 && HP != -1)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}WARNUNG: {FFFFFF}Du hast nur noch {FFA000}" HP " HP{FFFFFF}. Heil dich schnell!")
- IniRead, LowHPsound, %Settings%, Sounds, LowHPsound
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolLowHP%
- }
- SoundPlay, %LowHPsound%
- LowHPsoundan := 1
- }
- }
- }
- if(LowHPsoundan = 1)
- {
- if(HP > 47)
- {
- LowHPsoundan := 0
- SoundPlay, avixa.avi
- }
- }
- if(tot == 0)
- {
- if(HP == 0 && Paintballmodus == 0)
- {
- if(InStr(line0, "Lost connection to the server. Reconnecting..") || InStr(line0, "The server is restarting..") || InStr(line0, "Connecting to 31.214.160.11:7777...") || InStr(line0, "The server didn't respond. Retrying.."))
- {
- Sleep, 2500
- return
- }
- tot := 1
- Killstreak := 0
- if(VIP == 1)
- {
- Krankenhaus := 120
- }
- else
- {
- Krankenhaus := 180
- }
- SetTimer, Krankenhaus, 1000
- if(Todeszähler = 1)
- {
- IniRead, Deaths, %Settings%, Todeszähler, Deaths
- Deaths++
- IniWrite, %Deaths%, %Settings%, Todeszähler, Deaths
- if(Todeszählerspruch != "")
- {
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- TodeszählerSpruch_hilf := TodeszählerSpruch
- StringReplace, TodeszählerSpruch, TodeszählerSpruch, <deaths>, %Deaths%, All
- StringReplace, TodeszählerSpruch, TodeszählerSpruch, <pos>, %Position%, All
- SendChat("/f " Todeszählerspruch "")
- TodeszählerSpruch := TodeszählerSpruch_hilf
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Tod Nr. {FFBB00}" Deaths "{FFFFFF}.")
- }
- }
- if(GangZaehler == 1)
- {
- FormatTime, TagMonatJahr,,dd.MM.yyyy
- IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
- IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
- DDeaths++
- IniWrite, %DDeaths%, %Tagesstatistik%, %TagMonatJahr%, DDeaths
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
- }
- If(CheckTod = 1)
- {
- IniRead, Todessound, %Settings%, Sounds, Todessound
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolTod%
- }
- SoundPlay, %Todessound%
- }
- }
- }
- if(InStr(last_line, "* Sanitäter ") && InStr(last_line, " hat dich geheilt."))
- {
- SetTimer, Krankenhaus, off
- Krankenhaus := 0
- KrankenhausOverlay := "Nicht in Behandlung"
- }
- if(tot == 1)
- {
- if(HP != 0)
- {
- tot := 0
- }
- }
- if(Gehaltsscheck = 1)
- {
- If (InStr(Line0, "|=================||============||=================|") || InStr(Line1, "|=================||============||=================|"))
- {
- if(InStr(Line0, "|Gehaltscheck|"))
- {
- return
- }
- Loop
- {
- GetChatLine(A_Index - 1, chat)
- if(InStr(chat, "KFZ Steuer:"))
- {
- RegExMatch(chat, "KFZ Steuer: -(.*)\$", kfz)
- }
- if(InStr(chat, "Lohn: "))
- {
- RegExMatch(chat, "Lohn: (.*)\$ Miete: -(.*)\$ Lohnsteuer: -(.*)\$", rest)
- }
- if(InStr(chat, "Stromrechnung: "))
- {
- RegExMatch(chat, "Stromrechnung: -(.*)\$", strom)
- }
- if(Instr(chat, "|================| Gehalts-Check |================|"))
- {
- break
- }
- }
- Gehalt=%rest1%
- Gehalt-=%rest2%
- Gehalt-=%rest3%
- Gehalt-=%kfz1%
- Gehalt-=%strom1%
- AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Gehaltscheck| {FFFFFF}" . Gehalt . "$")
- }
- }
- if(Job = 11)
- {
- If(Instr(Line0, "Du hast den Spieler befreit und eine") || Instr(Line1, "Du hast den Spieler befreit und eine"))
- {
- IniRead, Anwaltskill, %Settings%, Einstellungen, Anwaltskill
- if(Anwaltskill = 1)
- {
- SetTimer, Anwalt, 1800000
- }
- if(Anwaltskill = 2)
- {
- SetTimer, Anwalt, 1500000
- }
- if(Anwaltskill = 3)
- {
- SetTimer, Anwalt, 1200000
- }
- if(Anwaltskill = 4)
- {
- SetTimer, Anwalt, 900000
- }
- if(Anwaltskill = 5)
- {
- SetTimer, Anwalt, 600000
- }
- }
- }
- if(SpeedCheckStatus == "1")
- {
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- VehSpeed := GetPlayerSpeed()
- if(IsPlayerDriver() == 1)
- {
- if (VehSpeed <= VehSpeedMax)
- {
- SendInput, {W Down}
- }
- else if (VehSpeed > VehSpeedMax)
- {
- SendInput, {W Up}
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges. Der Tempomat wurde deaktiviert.")
- SpeedCheckStatus := "0"
- SpeedOnOff := "0"
- Sleep, 250
- SendInput {W up}
- }
- }
- if(TankZoll == 1)
- {
- goto, TankstelleZoll
- }
- return
- Gehalt:
- GetChatLine(0, Line0)
- If (InStr(Line0, "|=================||============||=================|") || InStr(Line0, "Brief/e im Postfach"))
- {
- Loop
- {
- GetChatLine(A_Index - 1, chat)
- if(InStr(chat, "KFZ Steuer:"))
- {
- RegExMatch(chat, "KFZ Steuer: -(.*)\$", kfz)
- }
- if(InStr(chat, "Lohn: "))
- {
- RegExMatch(chat, "Lohn: (.*)\$ Miete: -(.*)\$ Lohnsteuer: -(.*)\$", rest)
- }
- if(InStr(chat, "Stromrechnung: "))
- {
- RegExMatch(chat, "Stromrechnung: -(.*)\$", strom)
- }
- if(Instr(chat, "|================| Gehalts-Check |================|"))
- {
- break
- }
- }
- Gehalt=%rest1%
- Gehalt-=%rest2%
- Gehalt-=%rest3%
- Gehalt-=%kfz1%
- Gehalt-=%strom1%
- AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Gehaltscheck| {FFFFFF}" . Gehalt . "$")
- }
- return
- Anwalt:
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine Anwaltsperrzeit ist nun abgelaufen.")
- SetTimer, Anwalt, off
- return
- CheckHealth:
- HP := GetPlayerHealth()
- if(HP > 30)
- {
- LowHPsoundan := 0
- SetTimer, CheckHealth, off
- SoundPlay, avixa.avi
- }
- return
- TankstelleZoll:
- if(IsPlayerInAnyVehicle())
- {
- if(Freigabe = 1)
- {
- if(IsPlayerInRangeOfPoint_fast(614.7936,1689.5481,6.5567, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-1328.5437,2677.2109,49.6285, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(1595.7455,2198.9319,10.3875, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(2202.3479,2473.9041,10.3849, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(2113.8887,920.1363,10.3840, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-2408.7478,975.8612,44.8655, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-2029.3025,156.4132,28.4108, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-1676.3165,414.2832,6.7490, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(1004.1802,-939.2733,41.7504, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(1944.1013,-1772.9907,12.9622, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-90.6283,-1169.5378,1.9707, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-1605.3982,-2714.4424,48.5335, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-2243.8896,-2560.5569,31.9219, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(1380.9418,457.1429,19.4861, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(70.4341,1218.6842,18.3743, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(1555.4310,-1605.5901,13.1827, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du dein Fahrzeug jetzt betanken? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !Errorlevel
- {
- Freigabe := 0
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- SetTimer, Zähler, 5000
- Var := 0
- }
- else
- {
- Freigabe := 1
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(1733.4684,546.3726,26.2758, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(1741.1063,543.4731,26.3013, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(1744.0303,523.6337,27.3567, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(1752.7092,521.6908,27.3102, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(512.5435,476.6207,18.4921, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(529.2228,467.2050,18.5020, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-159.7899,414.1762,11.6441, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-157.4410,392.2368,11.6423, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-1408.2322,824.1868,46.9611, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-1414.7716,803.5920,46.8070, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-2695.0493,1284.6304,54.9936, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-2686.3394,1284.2363,54.9928, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-2676.6162,1265.3683,54.9934, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-2668.1848,1264.9076,54.9993, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-963.0773,-343.0494,35.6944, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-967.9983,-322.3340,35.9383, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-71.7615,-892.4689,15.3092, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(-68.7422,-867.9615,14.0653, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(100.1979,-1284.3651,13.6976, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(94.4024,-1277.8165,13.6380, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(97.1871,-1254.1139,14.2317, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(94.6934,-1245.5920,14.2429, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(42.7052,-1537.9767,4.7632, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- else if(IsPlayerInRangeOfPoint_fast(58.0220,-1524.9335,4.5461, 10))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Möchtest du den Zoll jetzt öffnen? [mit 'X' bestätigen]")
- KeyWait, X, D, T10
- if !ErrorLevel
- {
- Freigabe := 0
- Sleep, 100
- SendChat("/zoll")
- SetTimer, Zähler, 5000
- Var := 0
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Es ist keine Zoll Station in deiner Nähe"))
- {
- Sleep, 800
- SendChat("/zoll")
- }
- }
- }
- }
- }
- return
- Zähler:
- var++
- if(var = 4 || var > 4)
- {
- SetTimer, Zähler, off
- Freigabe := 1
- }
- return
- chatlog:
- WinWait, GTA:SA:MP
- WinWaitClose, GTA:SA:MP
- FileCreateDir, %A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups
- FormatTime, zeit,%A_Now%,dd.MM HH_mm
- FileCopy,%A_MyDocuments%\GTA San Andreas User Files\SAMP\Chatlog.txt,%A_MyDocuments%\GTA San Andreas User Files\SAMP\ChatlogBackups\Chatlog_%zeit%.txt,0
- return
- NummerCheck:
- GetChatLine(0, line)
- GetChatLine(1, line2)
- if InStr(line, ", Name: ")
- {
- RegExMatch(line, "ID\: (.*)\, Name\: (.*)\, Level", Output)
- if(Output1 != "" && Output1 != "-1")
- {
- SendChat("/number " . Output2)
- return
- }
- }
- if InStr(line2, ", Name: ")
- {
- RegExMatch(line, "ID\: (.*)\, Name\: (.*)\, Level", Output)
- if(Output1 != "" && Output1 != "-1")
- {
- SendChat("/number " . Output2)
- return
- }
- }
- return
- NumPadAdd::
- IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch
- IniRead, Kills, %Settings%, Killzähler, Kills
- Kills++
- IniWrite, %Kills%, %Settings%, Killzähler, Kills
- if(Killzählerspruch != "")
- {
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- KillzählerSpruch_hilf := KillzählerSpruch
- StringReplace, KillzählerSpruch, KillzählerSpruch, <kills>, %Kills%
- StringReplace, KillzählerSpruch, KillzählerSpruch, <pos>, %Position%
- SendChat("/f " Killzählerspruch "")
- KillzählerSpruch := KillzählerSpruch_hilf
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Kill Nr. {FFBB00}" Kills "{FFFFFF}.")
- }
- if(Gangzaehler == 1)
- {
- FormatTime, TagMonatJahr,,dd.MM.yyyy
- IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
- IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
- DKills++
- IniWrite, %DKills%, %Tagesstatistik%, %TagMonatJahr%, DKills
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
- }
- return
- :?:/addkill::
- Suspend Permit
- IniRead, KillzählerSpruch, %Settings%, Killzähler, Killzählerspruch
- IniRead, Kills, %Settings%, Killzähler, Kills
- Kills++
- IniWrite, %Kills%, %Settings%, Killzähler, Kills
- if(Killzählerspruch != "")
- {
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- KillzählerSpruch_hilf := KillzählerSpruch
- StringReplace, KillzählerSpruch, KillzählerSpruch, <kills>, %Kills%
- StringReplace, KillzählerSpruch, KillzählerSpruch, <pos>, %Position%
- SendChat("/f " Killzählerspruch "")
- KillzählerSpruch := KillzählerSpruch_hilf
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Kill Nr. {FFBB00}" Kills "{FFFFFF}.")
- }
- if(Gangzaehler == 1)
- {
- FormatTime, TagMonatJahr,,dd.MM.yyyy
- IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
- IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
- DKills++
- IniWrite, %DKills%, %Tagesstatistik%, %TagMonatJahr%, DKills
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
- }
- return
- :?:/setkills::
- Suspend Permit
- Kills := PlayerInput("Trage deine Kills ein: ")
- IniWrite, %Kills%, %Settings%, Killzähler, Kills
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine Kills wurden auf {FFBB00}" Kills " {FFFFFF}gesetzt.")
- return
- :?:/kills::
- Suspend Permit
- IniRead, Kills, %Settings%, Killzähler, Kills
- if(Kills > 1)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast bereits {FFBB00}" Kills " {FFFFFF}Kills gemacht.")
- }
- else if (Kills = 1)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast erst einen Kill gemacht.")
- }
- else if (Kills = 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast bisher keinen Kill gemacht.")
- }
- else if (Kills < 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast es geschafft weniger als keinen Kill zu machen...")
- }
- return
- !NumPadAdd::
- IniRead, TodeszählerSpruch, %Settings%, Todeszähler, Todeszählerspruch
- IniRead, Deaths, %Settings%, Todeszähler, Deaths
- Deaths++
- IniWrite, %Deaths%, %Settings%, Todeszähler, Deaths
- if(Todeszählerspruch != "")
- {
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- TodeszählerSpruch_hilf := TodeszählerSpruch
- StringReplace, TodeszählerSpruch, TodeszählerSpruch, <deaths>, %Deaths%, All
- StringReplace, TodeszählerSpruch, TodeszählerSpruch, <pos>, %Position%, All
- SendChat("/f " Todeszählerspruch "")
- TodeszählerSpruch := TodeszählerSpruch_hilf
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Tod Nr. {FFBB00}" Deaths "{FFFFFF}.")
- }
- if(Gangzaehler == 1)
- {
- FormatTime, TagMonatJahr,,dd.MM.yyyy
- IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
- IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
- DDeaths++
- IniWrite, %DDeaths%, %Tagesstatistik%, %TagMonatJahr%, DDeaths
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
- }
- return
- :?:/adddeath::
- Suspend Permit
- IniRead, TodeszählerSpruch, %Settings%, Todeszähler, Todeszählerspruch
- IniRead, Deaths, %Settings%, Todeszähler, Deaths
- Deaths++
- IniWrite, %Deaths%, %Settings%, Todeszähler, Deaths
- if(Todeszählerspruch != "")
- {
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- TodeszählerSpruch_hilf := TodeszählerSpruch
- StringReplace, TodeszählerSpruch, TodeszählerSpruch, <deaths>, %Deaths%, All
- StringReplace, TodeszählerSpruch, TodeszählerSpruch, <pos>, %Position%, All
- SendChat("/f " Todeszählerspruch "")
- TodeszählerSpruch := TodeszählerSpruch_hilf
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das war dein Tod Nr. {FFBB00}" Deaths "{FFFFFF}.")
- }
- if(Gangzaehler == 1)
- {
- FormatTime, TagMonatJahr,,dd.MM.yyyy
- IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
- IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
- DDeaths++
- IniWrite, %DDeaths%, %Tagesstatistik%, %TagMonatJahr%, DDeaths
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF8200}Tagesstatistik{FFFFFF} Kills: {FFBB00}" DKills "{FFFFFF} Tode: {FFBB00}" DDeaths "{FFFFFF} Tages-KD: {FFBB00}" round(DKills / DDeaths, 3) "")
- }
- return
- :?:/setdeaths::
- Suspend Permit
- Deaths := PlayerInput("Trage deine Tode ein: ")
- IniWrite, %Deaths%, %Settings%, Todeszähler, Deaths
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine Tode wurden auf {FFBB00}" Deaths " {FFFFFF}gesetzt.")
- return
- :?:/deaths::
- Suspend Permit
- IniRead, Deaths, %Settings%, Todeszähler, Deaths
- if(Deaths > 1)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist bereits {FFBB00}" Deaths " {FFFFFF}mal gestorben.")
- }
- else if (Deaths = 1)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist erst einaml gestorben.")
- }
- else if (Deaths = 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist noch nicht einmal gestorben.")
- }
- else if (Kills < 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast es geschafft weniger als keinmal zu sterben...")
- }
- return
- :?:/kd::
- Suspend Permit
- IniRead, Kills, %Settings%, Killzähler, Kills
- IniRead, Deaths, %Settings%, Todeszähler, Deaths
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine K/D: {FFBB00}" Kills/Deaths "{FFFFFF}.")
- return
- :?:/gast::
- Suspend Permit
- ID := PlayerInput("ID des Fahrgastes: ")
- GetPlayerNamebyID(ID, PName)
- GetPlayerName(Name)
- SendChat("/l Guten Tag " . PName . ",")
- SendChat("/l Willkommen bei dem Taxiunternehmen von " . Name . ".")
- SendChat("/l Wohin darf ich Sie bringen?")
- return
- :?:/ok::
- Suspend Permit
- SendChat("/l Gerne. Ich wünsche Ihnen eine angenehme Fahrt.")
- SetTimer, Fahrtdauer, 1000
- Dauer = 0
- return
- Fahrtdauer:
- Dauer++
- return
- :?:/ende::
- Suspend Permit
- SendChat("/l Wir haben das Ziel erreicht. Die Fahrt hat insgesamt " . Dauer . " Sekunden gedauert.")
- SendChat("/l Ich wünsche Ihnen noch einen schönen Tag.")
- SetTimer, Fahrtdauer, off
- return
- :?:/r1::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 6)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 50
- SendChat("/fishing")
- Sleep, 100
- SendInput {enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
- }
- return
- :?:/r2::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 6)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 50
- SendChat("/fishing")
- Sleep, 200
- SendInput {down 1}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
- }
- return
- :?:/r3::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 6)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 50
- SendChat("/fishing")
- Sleep, 200
- SendInput {down 2}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
- }
- return
- :?:/r4::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 6)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 50
- SendChat("/fishing")
- Sleep, 200
- SendInput {down 3}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
- }
- return
- :?:/r5::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 6)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 50
- SendChat("/fishing")
- Sleep, 200
- SendInput {down 4}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
- }
- return
- :?:/fische::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 6)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 50
- SendChat("/fishing")
- Sleep, 200
- SendInput {down 6}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
- }
- return
- :?:/abgabe::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 6)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 50
- SendChat("/fishing")
- Sleep, 200
- SendInput {down 7}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Hochseefischer ausgewählt.")
- }
- return
- :?:/af::
- :?:/afind::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
- if (Job = 10)
- {
- Suspend On
- SendInput, /find{space}
- Input, AID, V I M,{enter}
- Send {enter}
- if(Detektivskill = 1)
- {
- SetTimer, Find, 125000
- }
- else if(Detektivskill = 2)
- {
- SetTimer, Find, 95000
- }
- else if(Detektivskill = 3)
- {
- SetTimer, Find, 65000
- }
- else if(Detektivskill = 4)
- {
- SetTimer, Find, 35000
- }
- else if(Detektivskill = 5)
- {
- SetTimer, Find, 6000
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast keinen Detektiv-Skill in den Einstellungen ausgewählt.")
- }
- Suspend Off
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das automatische Suchen können Sie mit der Taste '<' deaktivieren.")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Detektiv ausgewählt.")
- }
- return
- Find:
- SendChat("/find " . AID)
- return
- :?:/as::
- :?:/ashowpos::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- IniRead, Detektivskill, %Settings%, Einstellungen, Detektivskill
- if (Job = 10)
- {
- Suspend On
- SendInput, /showpos{space}
- Input, AID, V I M,{enter}
- Send {enter}
- if(Detektivskill = 1)
- {
- SetTimer, Show, 125000
- }
- else if(Detektivskill = 2)
- {
- SetTimer, Show, 95000
- }
- else if(Detektivskill = 3)
- {
- SetTimer, Show, 65000
- }
- else if(Detektivskill = 4)
- {
- SetTimer, Show, 35000
- }
- else if(Detektivskill = 5)
- {
- SetTimer, Show, 6000
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast keinen Detektiv-Skill in den Einstellungen ausgewählt.")
- }
- Suspend Off
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Das automatische Zeigen können Sie mit der Taste '<' deaktivieren.")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Detektiv ausgewählt.")
- }
- return
- Show:
- SendChat("/showpos " . AID)
- return
- ~<::
- If(IsChatOpen() == 1 || IsDialogOpen == 1 || IsMenuOpen() == 1)
- {
- return
- }
- SetTimer, Find, Off
- SetTimer, Show, Off
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Automatische Suchsysteme deaktiviert.")
- return
- :?:/l1::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/l2::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 1}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/l3::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 2}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/l4::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 3}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/l5::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 4}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/l6::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 5}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/l7::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 6}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/l8::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 7}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/l9::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 8}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/ll0::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 9}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- :?:/l11::
- Suspend Permit
- IniRead, Job, %Settings%, Einstellungen, Job
- if (Job = 12)
- {
- Sleep, 200
- SendInput {enter}
- Sleep, 100
- SendChat("/linie")
- Sleep, 500
- SendInput {down 10}{enter}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast nicht den Beruf Busfahrer ausgewählt.")
- }
- return
- HotKey1:
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- IniRead, Job, %Hotkeys%, Einstellungen, Job
- if(Job == 2)
- {
- SendInput, t/materials get{space}
- }
- if(Job == 3)
- {
- SendInput, t/drogen get{space}
- }
- if(Job == 4)
- {
- SendInput, t/garbage{space}
- }
- if(Job == 5)
- {
- SendChat("/delivery")
- }
- if(Job == 7)
- {
- SendChat("/duty")
- }
- if(Job == 8)
- {
- SendChat("/duty")
- }
- if(Job == 9)
- {
- SendInput, t/refill{space}
- }
- if(Job == 11)
- {
- SendChat("/freeinfo")
- }
- return
- HotKey2:
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- IniRead, Job, %Hotkeys%, Einstellungen, Job
- if(Job = 2)
- {
- SendChat("/materials deliver")
- }
- if(Job = 3)
- {
- SendChat("/drogen deliver")
- }
- if(Job = 4)
- {
- SendChat("/garbagestop")
- }
- if(Job = 5)
- {
- SendInput, t/delivery{space}
- }
- if(Job = 9)
- {
- SendInput, t/repair{space}
- }
- if(Job = 11)
- {
- SendInput, t/free{space}
- }
- return
- HotKey3:
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- IniRead, Job, %Hotkeys%, Einstellungen, Job
- if(Job = 2)
- {
- SendInput, t/sellgun{space}
- }
- if(Job = 3)
- {
- SendInput, t/selldrugs{space}
- }
- return
- HotKey4:
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- IniRead, Job, %Hotkeys%, Einstellungen, Job
- if(Job = 2)
- {
- SendInput, t/put mats{space}
- }
- if(Job = 3)
- {
- SendInput, t/put drugs{space}
- }
- return
- HotKey5:
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- IniRead, Job, %Hotkeys%, Einstellungen, Job
- if(Job = 2)
- {
- SendInput, t/gtake mats{space}
- }
- if(Job = 3)
- {
- SendInput, t/gtake drugs{space}
- }
- return
- ~1::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl1, %Hotkeys%, Tastenbelegung Zahlen, TZahl1
- if(TZahl1 != "" || TZahl1 != """" || TZahl1 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- Car := (CarDL / 1000)*100
- Car := floor(Car)
- StringReplace, TZahl1, TZahl1, <name>, %MyName%, All
- StringReplace, TZahl1, TZahl1, <hp>, %HP%, All
- StringReplace, TZahl1, TZahl1, <car>, %Car%, All
- StringReplace, TZahl1, TZahl1, <time>, %Zeit%, All
- StringReplace, TZahl1, TZahl1, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl1, TZahl1, <pos>, %Position%, All
- TZahl1_1 := ""
- TZahl1_2 := ""
- TZahl1_3 := ""
- StringSplit, TZahl1_, TZahl1, #
- if(TZahl1_1 != "")
- {
- SendChat("" TZahl1_1 "")
- Sleep, 100
- }
- if(TZahl1_2 != "")
- {
- SendChat("" TZahl1_2 "")
- Sleep, 100
- }
- if(TZahl1_3 != "")
- {
- SendChat("" TZahl1_3 "")
- }
- }
- return
- ~2::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl2, %Hotkeys%, Tastenbelegung Zahlen, TZahl2
- if(TZahl2 != "" || TZahl2 != """" || TZahl2 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TZahl2, TZahl2, <name>, %MyName%, All
- StringReplace, TZahl2, TZahl2, <hp>, %HP%, All
- StringReplace, TZahl2, TZahl2, <car>, %Car%, All
- StringReplace, TZahl2, TZahl2, <time>, %Zeit%, All
- StringReplace, TZahl2, TZahl2, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl2, TZahl2, <pos>, %Position%, All
- TZahl2_1 := ""
- TZahl2_2 := ""
- TZahl2_3 := ""
- StringSplit, TZahl2_, TZahl2, #
- if(TZahl2_1 != "")
- {
- SendChat("" TZahl2_1 "")
- Sleep, 100
- }
- if(TZahl2_2 != "")
- {
- SendChat("" TZahl2_2 "")
- Sleep, 100
- }
- if(TZahl2_3 != "")
- {
- SendChat("" TZahl2_3 "")
- }
- }
- return
- ~3::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl3, %Hotkeys%, Tastenbelegung Zahlen, TZahl3
- if(TZahl3 != "" || TZahl3 != """" || TZahl3 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TZahl3, TZahl3, <name>, %MyName%, All
- StringReplace, TZahl3, TZahl3, <hp>, %HP%, All
- StringReplace, TZahl3, TZahl3, <car>, %Car%, All
- StringReplace, TZahl3, TZahl3, <time>, %Zeit%, All
- StringReplace, TZahl3, TZahl3, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl3, TZahl3, <pos>, %Position%, All
- TZahl3_1 := ""
- TZahl3_2 := ""
- TZahl3_3 := ""
- StringSplit, TZahl3_, TZahl3, #
- if(TZahl3_1 != "")
- {
- SendChat("" TZahl3_1 "")
- Sleep, 100
- }
- if(TZahl3_2 != "")
- {
- SendChat("" TZahl3_2 "")
- Sleep, 100
- }
- if(TZahl3_3 != "")
- {
- SendChat("" TZahl3_3 "")
- }
- }
- return
- ~4::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl4, %Hotkeys%, Tastenbelegung Zahlen, TZahl4
- if(TZahl4 != "" || TZahl4 != """" || TZahl4 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TZahl4, TZahl4, <name>, %MyName%, All
- StringReplace, TZahl4, TZahl4, <hp>, %HP%, All
- StringReplace, TZahl4, TZahl4, <car>, %Car%, All
- StringReplace, TZahl4, TZahl4, <time>, %Zeit%, All
- StringReplace, TZahl4, TZahl4, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl4, TZahl4, <pos>, %Position%, All
- TZahl4_1 := ""
- TZahl4_2 := ""
- TZahl4_3 := ""
- StringSplit, TZahl4_, TZahl4, #
- if(TZahl4_1 != "")
- {
- SendChat("" TZahl4_1 "")
- Sleep, 100
- }
- if(TZahl4_2 != "")
- {
- SendChat("" TZahl4_2 "")
- Sleep, 100
- }
- if(TZahl4_3 != "")
- {
- SendChat("" TZahl4_3 "")
- }
- }
- return
- ~5::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl5, %Hotkeys%, Tastenbelegung Zahlen, TZahl5
- if(TZahl5 != "" || TZahl5 != """" || TZahl5 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TZahl5, TZahl5, <name>, %MyName%, All
- StringReplace, TZahl5, TZahl5, <hp>, %HP%, All
- StringReplace, TZahl5, TZahl5, <car>, %Car%, All
- StringReplace, TZahl5, TZahl5, <time>, %Zeit%, All
- StringReplace, TZahl5, TZahl5, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl5, TZahl5, <pos>, %Position%, All
- TZahl5_1 := ""
- TZahl5_2 := ""
- TZahl5_3 := ""
- StringSplit, TZahl5_, TZahl5, #
- if(TZahl5_1 != "")
- {
- SendChat("" TZahl5_1 "")
- Sleep, 100
- }
- if(TZahl5_2 != "")
- {
- SendChat("" TZahl5_2 "")
- Sleep, 100
- }
- if(TZahl5_3 != "")
- {
- SendChat("" TZahl5_3 "")
- }
- }
- return
- ~6::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl6, %Hotkeys%, Tastenbelegung Zahlen, TZahl6
- if(TZahl6 != "" || TZahl6 != """" || TZahl6 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TZahl6, TZahl6, <name>, %MyName%, All
- StringReplace, TZahl6, TZahl6, <hp>, %HP%, All
- StringReplace, TZahl6, TZahl6, <car>, %Car%, All
- StringReplace, TZahl6, TZahl6, <time>, %Zeit%, All
- StringReplace, TZahl6, TZahl6, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl6, TZahl6, <pos>, %Position%, All
- TZahl6_1 := ""
- TZahl6_2 := ""
- TZahl6_3 := ""
- StringSplit, TZahl6_, TZahl6, #
- if(TZahl6_1 != "")
- {
- SendChat("" TZahl6_1 "")
- Sleep, 100
- }
- if(TZahl6_2 != "")
- {
- SendChat("" TZahl6_2 "")
- Sleep, 100
- }
- if(TZahl6_3 != "")
- {
- SendChat("" TZahl6_3 "")
- }
- }
- return
- ~7::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl7, %Hotkeys%, Tastenbelegung Zahlen, TZahl7
- if(TZahl7 != "" || TZahl7 != """" || TZahl7 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TZahl7, TZahl7, <name>, %MyName%, All
- StringReplace, TZahl7, TZahl7, <hp>, %HP%, All
- StringReplace, TZahl7, TZahl7, <car>, %Car%, All
- StringReplace, TZahl7, TZahl7, <time>, %Zeit%, All
- StringReplace, TZahl7, TZahl7, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl7, TZahl7, <pos>, %Position%, All
- TZahl7_1 := ""
- TZahl7_2 := ""
- TZahl7_3 := ""
- StringSplit, TZahl7_, TZahl7, #
- if(TZahl7_1 != "")
- {
- SendChat("" TZahl7_1 "")
- Sleep, 100
- }
- if(TZahl7_2 != "")
- {
- SendChat("" TZahl7_2 "")
- Sleep, 100
- }
- if(TZahl7_3 != "")
- {
- SendChat("" TZahl7_3 "")
- }
- }
- return
- ~8::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl8, %Hotkeys%, Tastenbelegung Zahlen, TZahl8
- if(TZahl8 != "" || TZahl8 != """" || TZahl8 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TZahl8, TZahl8, <name>, %MyName%, All
- StringReplace, TZahl8, TZahl8, <hp>, %HP%, All
- StringReplace, TZahl8, TZahl8, <car>, %Car%, All
- StringReplace, TZahl8, TZahl8, <time>, %Zeit%, All
- StringReplace, TZahl8, TZahl8, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl8, TZahl8, <pos>, %Position%, All
- TZahl8_1 := ""
- TZahl8_2 := ""
- TZahl8_3 := ""
- StringSplit, TZahl8_, TZahl8, #
- if(TZahl8_1 != "")
- {
- SendChat("" TZahl8_1 "")
- Sleep, 100
- }
- if(TZahl8_2 != "")
- {
- SendChat("" TZahl8_2 "")
- Sleep, 100
- }
- if(TZahl8_3 != "")
- {
- SendChat("" TZahl8_3 "")
- }
- }
- return
- ~9::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl9, %Hotkeys%, Tastenbelegung Zahlen, TZahl9
- if(TZahl9 != "" || TZahl9 != """" || TZahl9 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TZahl9, TZahl9, <name>, %MyName%, All
- StringReplace, TZahl9, TZahl9, <hp>, %HP%, All
- StringReplace, TZahl9, TZahl9, <car>, %Car%, All
- StringReplace, TZahl9, TZahl9, <time>, %Zeit%, All
- StringReplace, TZahl9, TZahl9, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl9, TZahl9, <pos>, %Position%, All
- TZahl9_1 := ""
- TZahl9_2 := ""
- TZahl9_3 := ""
- StringSplit, TZahl9_, TZahl9, #
- if(TZahl9_1 != "")
- {
- SendChat("" TZahl9_1 "")
- Sleep, 100
- }
- if(TZahl9_2 != "")
- {
- SendChat("" TZahl9_2 "")
- Sleep, 100
- }
- if(TZahl9_3 != "")
- {
- SendChat("" TZahl9_3 "")
- }
- }
- return
- ~0::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TZahl0, %Hotkeys%, Tastenbelegung Zahlen, TZahl0
- if(TZahl0 != "" || TZahl0 != """" || TZahl0 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TZahl0, TZahl0, <name>, %MyName%, All
- StringReplace, TZahl0, TZahl0, <hp>, %HP%, All
- StringReplace, TZahl0, TZahl0, <car>, %Car%, All
- StringReplace, TZahl0, TZahl0, <time>, %Zeit%, All
- StringReplace, TZahl0, TZahl0, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TZahl0, TZahl0, <pos>, %Position%, All
- TZahl0_1 := ""
- TZahl0_2 := ""
- TZahl0_3 := ""
- StringSplit, TZahl0_, TZahl0, #
- if(TZahl0_1 != "")
- {
- SendChat("" TZahl0_1 "")
- Sleep, 100
- }
- if(TZahl0_2 != "")
- {
- SendChat("" TZahl0_2 "")
- Sleep, 100
- }
- if(TZahl0_3 != "")
- {
- SendChat("" TZahl0_3 "")
- }
- }
- return
- ~Numpad1::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad1, %Hotkeys%, Tastenbelegung Numpad, TNumPad1
- if(TNumPad1 != "" || TNumPad1 != """" || TNumPad1 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad1, TNumPad1, <name>, %MyName%, All
- StringReplace, TNumPad1, TNumPad1, <hp>, %HP%, All
- StringReplace, TNumPad1, TNumPad1, <car>, %Car%, All
- StringReplace, TNumPad1, TNumPad1, <time>, %Zeit%, All
- StringReplace, TNumPad1, TNumPad1, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad1, TNumPad1, <pos>, %Position%, All
- TNumPad1_1 := ""
- TNumPad1_2 := ""
- TNumPad1_3 := ""
- StringSplit, TNumPad1_, TNumPad1, #
- if(TNumPad1_1 != "")
- {
- SendChat("" TNumPad1_1 "")
- Sleep, 100
- }
- if(TNumPad1_2 != "")
- {
- SendChat("" TNumPad1_2 "")
- Sleep, 100
- }
- if(TNumPad1_3 != "")
- {
- SendChat("" TNumPad1_3 "")
- }
- }
- return
- ~Numpad2::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad2, %Hotkeys%, Tastenbelegung Numpad, TNumPad2
- if(TNumPad2 != "" || TNumPad2 != """" || TNumPad2 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad2, TNumPad2, <name>, %MyName%, All
- StringReplace, TNumPad2, TNumPad2, <hp>, %HP%, All
- StringReplace, TNumPad2, TNumPad2, <car>, %Car%, All
- StringReplace, TNumPad2, TNumPad2, <time>, %Zeit%, All
- StringReplace, TNumPad2, TNumPad2, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad2, TNumPad2, <pos>, %Position%, All
- TNumPad2_1 := ""
- TNumPad2_2 := ""
- TNumPad2_3 := ""
- StringSplit, TNumPad2_, TNumPad2, #
- if(TNumPad2_1 != "")
- {
- SendChat("" TNumPad2_1 "")
- Sleep, 100
- }
- if(TNumPad2_2 != "")
- {
- SendChat("" TNumPad2_2 "")
- Sleep, 100
- }
- if(TNumPad2_3 != "")
- {
- SendChat("" TNumPad2_3 "")
- }
- }
- return
- ~Numpad3::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad3, %Hotkeys%, Tastenbelegung Numpad, TNumPad3
- if(TNumPad3 != "" || TNumPad3 != """" || TNumPad3 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad3, TNumPad3, <name>, %MyName%, All
- StringReplace, TNumPad3, TNumPad3, <hp>, %HP%, All
- StringReplace, TNumPad3, TNumPad3, <car>, %Car%, All
- StringReplace, TNumPad3, TNumPad3, <time>, %Zeit%, All
- StringReplace, TNumPad3, TNumPad3, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad3, TNumPad3, <pos>, %Position%, All
- TNumPad3_1 := ""
- TNumPad3_2 := ""
- TNumPad3_3 := ""
- StringSplit, TNumPad3_, TNumPad3, #
- if(TNumPad3_1 != "")
- {
- SendChat("" TNumPad3_1 "")
- Sleep, 100
- }
- if(TNumPad3_2 != "")
- {
- SendChat("" TNumPad3_2 "")
- Sleep, 100
- }
- if(TNumPad3_3 != "")
- {
- SendChat("" TNumPad3_3 "")
- }
- }
- return
- ~Numpad4::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad4, %Hotkeys%, Tastenbelegung Numpad, TNumPad4
- if(TNumPad4 != "" || TNumPad4 != """" || TNumPad4 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad4, TNumPad4, <name>, %MyName%, All
- StringReplace, TNumPad4, TNumPad4, <hp>, %HP%, All
- StringReplace, TNumPad4, TNumPad4, <car>, %Car%, All
- StringReplace, TNumPad4, TNumPad4, <time>, %Zeit%, All
- StringReplace, TNumPad4, TNumPad4, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad4, TNumPad4, <pos>, %Position%, All
- TNumPad4_1 := ""
- TNumPad4_2 := ""
- TNumPad4_3 := ""
- StringSplit, TNumPad4_, TNumPad4, #
- if(TNumPad4_1 != "")
- {
- SendChat("" TNumPad4_1 "")
- Sleep, 100
- }
- if(TNumPad4_2 != "")
- {
- SendChat("" TNumPad4_2 "")
- Sleep, 100
- }
- if(TNumPad4_3 != "")
- {
- SendChat("" TNumPad4_3 "")
- }
- }
- return
- ~Numpad5::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad5, %Hotkeys%, Tastenbelegung Numpad, TNumPad5
- if(TNumPad5 != "" || TNumPad5 != """" || TNumPad5 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad5, TNumPad5, <name>, %MyName%, All
- StringReplace, TNumPad5, TNumPad5, <hp>, %HP%, All
- StringReplace, TNumPad5, TNumPad5, <car>, %Car%, All
- StringReplace, TNumPad5, TNumPad5, <time>, %Zeit%, All
- StringReplace, TNumPad5, TNumPad5, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad5, TNumPad5, <pos>, %Position%, All
- TNumPad5_1 := ""
- TNumPad5_2 := ""
- TNumPad5_3 := ""
- StringSplit, TNumPad5_, TNumPad5, #
- if(TNumPad5_1 != "")
- {
- SendChat("" TNumPad5_1 "")
- Sleep, 100
- }
- if(TNumPad5_2 != "")
- {
- SendChat("" TNumPad5_2 "")
- Sleep, 100
- }
- if(TNumPad5_3 != "")
- {
- SendChat("" TNumPad5_3 "")
- }
- }
- return
- ~Numpad6::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad6, %Hotkeys%, Tastenbelegung Numpad, TNumPad6
- if(TNumPad6 != "" || TNumPad6 != """" || TNumPad6 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad6, TNumPad6, <name>, %MyName%, All
- StringReplace, TNumPad6, TNumPad6, <hp>, %HP%, All
- StringReplace, TNumPad6, TNumPad6, <car>, %Car%, All
- StringReplace, TNumPad6, TNumPad6, <time>, %Zeit%, All
- StringReplace, TNumPad6, TNumPad6, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad6, TNumPad6, <pos>, %Position%, All
- TNumPad6_1 := ""
- TNumPad6_2 := ""
- TNumPad6_3 := ""
- StringSplit, TNumPad6_, TNumPad6, #
- if(TNumPad6_1 != "")
- {
- SendChat("" TNumPad6_1 "")
- Sleep, 100
- }
- if(TNumPad6_2 != "")
- {
- SendChat("" TNumPad6_2 "")
- Sleep, 100
- }
- if(TNumPad6_3 != "")
- {
- SendChat("" TNumPad6_3 "")
- }
- }
- return
- ~Numpad7::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad7, %Hotkeys%, Tastenbelegung Numpad, TNumPad7
- if(TNumPad7 != "" || TNumPad7 != """" || TNumPad7 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad7, TNumPad7, <name>, %MyName%, All
- StringReplace, TNumPad7, TNumPad7, <hp>, %HP%, All
- StringReplace, TNumPad7, TNumPad7, <car>, %Car%, All
- StringReplace, TNumPad7, TNumPad7, <time>, %Zeit%, All
- StringReplace, TNumPad7, TNumPad7, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad7, TNumPad7, <pos>, %Position%, All
- TNumPad7_1 := ""
- TNumPad7_2 := ""
- TNumPad7_3 := ""
- StringSplit, TNumPad7_, TNumPad7, #
- if(TNumPad7_1 != "")
- {
- SendChat("" TNumPad7_1 "")
- Sleep, 100
- }
- if(TNumPad7_2 != "")
- {
- SendChat("" TNumPad7_2 "")
- Sleep, 100
- }
- if(TNumPad7_3 != "")
- {
- SendChat("" TNumPad7_3 "")
- }
- }
- return
- ~Numpad8::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad8, %Hotkeys%, Tastenbelegung Numpad, TNumPad8
- if(TNumPad8 != "" || TNumPad8 != """" || TNumPad8 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad8, TNumPad8, <name>, %MyName%, All
- StringReplace, TNumPad8, TNumPad8, <hp>, %HP%, All
- StringReplace, TNumPad8, TNumPad8, <car>, %Car%, All
- StringReplace, TNumPad8, TNumPad8, <time>, %Zeit%, All
- StringReplace, TNumPad8, TNumPad8, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad8, TNumPad8, <pos>, %Position%, All
- TNumPad8_1 := ""
- TNumPad8_2 := ""
- TNumPad8_3 := ""
- StringSplit, TNumPad8_, TNumPad8, #
- if(TNumPad8_1 != "")
- {
- SendChat("" TNumPad8_1 "")
- Sleep, 100
- }
- if(TNumPad8_2 != "")
- {
- SendChat("" TNumPad8_2 "")
- Sleep, 100
- }
- if(TNumPad8_3 != "")
- {
- SendChat("" TNumPad8_3 "")
- }
- }
- return
- ~Numpad9::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad9, %Hotkeys%, Tastenbelegung Numpad, TNumPad9
- if(TNumPad9 != "" || TNumPad9 != """" || TNumPad9 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad9, TNumPad9, <name>, %MyName%, All
- StringReplace, TNumPad9, TNumPad9, <hp>, %HP%, All
- StringReplace, TNumPad9, TNumPad9, <car>, %Car%, All
- StringReplace, TNumPad9, TNumPad9, <time>, %Zeit%, All
- StringReplace, TNumPad9, TNumPad9, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad9, TNumPad9, <pos>, %Position%, All
- TNumPad9_1 := ""
- TNumPad9_2 := ""
- TNumPad9_3 := ""
- StringSplit, TNumPad9_, TNumPad9, #
- if(TNumPad9_1 != "")
- {
- SendChat("" TNumPad9_1 "")
- Sleep, 100
- }
- if(TNumPad9_2 != "")
- {
- SendChat("" TNumPad9_2 "")
- Sleep, 100
- }
- if(TNumPad9_3 != "")
- {
- SendChat("" TNumPad9_3 "")
- }
- }
- return
- ~Numpad0::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TNumPad0, %Hotkeys%, Tastenbelegung Numpad, TNumPad0
- if(TNumPad0 != "" || TNumPad0 != """" || TNumPad0 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TNumPad0, TNumPad0, <name>, %MyName%, All
- StringReplace, TNumPad0, TNumPad0, <hp>, %HP%, All
- StringReplace, TNumPad0, TNumPad0, <car>, %Car%, All
- StringReplace, TNumPad0, TNumPad0, <time>, %Zeit%, All
- StringReplace, TNumPad0, TNumPad0, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TNumPad0, TNumPad0, <pos>, %Position%, All
- TNumPad0_1 := ""
- TNumPad0_2 := ""
- TNumPad0_3 := ""
- StringSplit, TNumPad0_, TNumPad0, #
- if(TNumPad0_1 != "")
- {
- SendChat("" TNumPad0_1 "")
- Sleep, 100
- }
- if(TNumPad0_2 != "")
- {
- SendChat("" TNumPad0_2 "")
- Sleep, 100
- }
- if(TNumPad0_3 != "")
- {
- SendChat("" TNumPad0_3 "")
- }
- }
- return
- ~F1::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF1, %Hotkeys%, Tastenbelegung F-Taste, TF1
- if(TF1 != "" || TF1 != """" || TF1 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF1, TF1, <name>, %MyName%, All
- StringReplace, TF1, TF1, <hp>, %HP%, All
- StringReplace, TF1, TF1, <car>, %Car%, All
- StringReplace, TF1, TF1, <time>, %Zeit%, All
- StringReplace, TF1, TF1, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF1, TF1, <pos>, %Position%, All
- TF1_1 := ""
- TF1_2 := ""
- TF1_3 := ""
- StringSplit, TF1_, TF1, #
- if(TF1_1 != "")
- {
- SendChat("" TF1_1 "")
- Sleep, 100
- }
- if(TF1_2 != "")
- {
- SendChat("" TF1_2 "")
- Sleep, 100
- }
- if(TF1_3 != "")
- {
- SendChat("" TF1_3 "")
- }
- }
- return
- ~F2::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF2, %Hotkeys%, Tastenbelegung F-Taste, TF2
- if(TF2 != "" || TF2 != """" || TF2 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF2, TF2, <name>, %MyName%, All
- StringReplace, TF2, TF2, <hp>, %HP%, All
- StringReplace, TF2, TF2, <car>, %Car%, All
- StringReplace, TF2, TF2, <time>, %Zeit%, All
- StringReplace, TF2, TF2, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF2, TF2, <pos>, %Position%, All
- TF2_1 := ""
- TF2_2 := ""
- TF2_3 := ""
- StringSplit, TF2_, TF2, #
- if(TF2_1 != "")
- {
- SendChat("" TF2_1 "")
- Sleep, 100
- }
- if(TF2_2 != "")
- {
- SendChat("" TF2_2 "")
- Sleep, 100
- }
- if(TF2_3 != "")
- {
- SendChat("" TF2_3 "")
- }
- }
- return
- ~F3::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF3, %Hotkeys%, Tastenbelegung F-Taste, TF3
- if(TF3 != "" || TF3 != """" || TF3 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF3, TF3, <name>, %MyName%, All
- StringReplace, TF3, TF3, <hp>, %HP%, All
- StringReplace, TF3, TF3, <car>, %Car%, All
- StringReplace, TF3, TF3, <time>, %Zeit%, All
- StringReplace, TF3, TF3, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF3, TF3, <pos>, %Position%, All
- TF3_1 := ""
- TF3_2 := ""
- TF3_3 := ""
- StringSplit, TF3_, TF3, #
- if(TF3_1 != "")
- {
- SendChat("" TF3_1 "")
- Sleep, 100
- }
- if(TF3_2 != "")
- {
- SendChat("" TF3_2 "")
- Sleep, 100
- }
- if(TF3_3 != "")
- {
- SendChat("" TF3_3 "")
- }
- }
- return
- ~F4::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF4, %Hotkeys%, Tastenbelegung F-Taste, TF4
- if(TF4 != "" || TF4 != """" || TF4 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF4, TF4, <name>, %MyName%, All
- StringReplace, TF4, TF4, <hp>, %HP%, All
- StringReplace, TF4, TF4, <car>, %Car%, All
- StringReplace, TF4, TF4, <time>, %Zeit%, All
- StringReplace, TF4, TF4, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF4, TF4, <pos>, %Position%, All
- TF4_1 := ""
- TF4_2 := ""
- TF4_3 := ""
- StringSplit, TF4_, TF4, #
- if(TF4_1 != "")
- {
- SendChat("" TF4_1 "")
- Sleep, 100
- }
- if(TF4_2 != "")
- {
- SendChat("" TF4_2 "")
- Sleep, 100
- }
- if(TF4_3 != "")
- {
- SendChat("" TF4_3 "")
- }
- }
- return
- ~F5::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF5, %Hotkeys%, Tastenbelegung F-Taste, TF5
- if(TF5 != "" || TF5 != """" || TF5 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF5, TF5, <name>, %MyName%, All
- StringReplace, TF5, TF5, <hp>, %HP%, All
- StringReplace, TF5, TF5, <car>, %Car%, All
- StringReplace, TF5, TF5, <time>, %Zeit%, All
- StringReplace, TF5, TF5, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF5, TF5, <pos>, %Position%, All
- TF5_1 := ""
- TF5_2 := ""
- TF5_3 := ""
- StringSplit, TF5_, TF5, #
- if(TF5_1 != "")
- {
- SendChat("" TF5_1 "")
- Sleep, 100
- }
- if(TF5_2 != "")
- {
- SendChat("" TF5_2 "")
- Sleep, 100
- }
- if(TF5_3 != "")
- {
- SendChat("" TF5_3 "")
- }
- }
- return
- ~F6::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF6, %Hotkeys%, Tastenbelegung F-Taste, TF6
- if(TF6 != "" || TF6 != """" || TF6 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF6, TF6, <name>, %MyName%, All
- StringReplace, TF6, TF6, <hp>, %HP%, All
- StringReplace, TF6, TF6, <car>, %Car%, All
- StringReplace, TF6, TF6, <time>, %Zeit%, All
- StringReplace, TF6, TF6, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF6, TF6, <pos>, %Position%, All
- TF6_1 := ""
- TF6_2 := ""
- TF6_3 := ""
- StringSplit, TF6_, TF6, #
- if(TF6_1 != "")
- {
- SendChat("" TF6_1 "")
- Sleep, 100
- }
- if(TF6_2 != "")
- {
- SendChat("" TF6_2 "")
- Sleep, 100
- }
- if(TF6_3 != "")
- {
- SendChat("" TF6_3 "")
- }
- }
- return
- ~F7::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF7, %Hotkeys%, Tastenbelegung F-Taste, TF7
- if(TF7 != "" || TF7 != """" || TF7 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF7, TF7, <name>, %MyName%, All
- StringReplace, TF7, TF7, <hp>, %HP%, All
- StringReplace, TF7, TF7, <car>, %Car%, All
- StringReplace, TF7, TF7, <time>, %Zeit%, All
- StringReplace, TF7, TF7, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF7, TF7, <pos>, %Position%, All
- TF7_1 := ""
- TF7_2 := ""
- TF7_3 := ""
- StringSplit, TF7_, TF7, #
- if(TF7_1 != "")
- {
- SendChat("" TF7_1 "")
- Sleep, 100
- }
- if(TF7_2 != "")
- {
- SendChat("" TF7_2 "")
- Sleep, 100
- }
- if(TF7_3 != "")
- {
- SendChat("" TF7_3 "")
- }
- }
- return
- ~F8::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF8, %Hotkeys%, Tastenbelegung F-Taste, TF8
- if(TF8 != "" || TF8 != """" || TF8 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF8, TF8, <name>, %MyName%, All
- StringReplace, TF8, TF8, <hp>, %HP%, All
- StringReplace, TF8, TF8, <car>, %Car%, All
- StringReplace, TF8, TF8, <time>, %Zeit%, All
- StringReplace, TF8, TF8, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF8, TF8, <pos>, %Position%, All
- TF8_1 := ""
- TF8_2 := ""
- TF8_3 := ""
- StringSplit, TF8_, TF8, #
- if(TF8_1 != "")
- {
- SendChat("" TF8_1 "")
- Sleep, 100
- }
- if(TF8_2 != "")
- {
- SendChat("" TF8_2 "")
- Sleep, 100
- }
- if(TF8_3 != "")
- {
- SendChat("" TF8_3 "")
- }
- }
- return
- ~F9::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF9, %Hotkeys%, Tastenbelegung F-Taste, TF9
- if(TF9 != "" || TF9 != """" || TF9 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF9, TF9, <name>, %MyName%, All
- StringReplace, TF9, TF9, <hp>, %HP%, All
- StringReplace, TF9, TF9, <car>, %Car%, All
- StringReplace, TF9, TF9, <time>, %Zeit%, All
- StringReplace, TF9, TF9, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF9, TF9, <pos>, %Position%, All
- TF9_1 := ""
- TF9_2 := ""
- TF9_3 := ""
- StringSplit, TF9_, TF9, #
- if(TF9_1 != "")
- {
- SendChat("" TF9_1 "")
- Sleep, 100
- }
- if(TF9_2 != "")
- {
- SendChat("" TF9_2 "")
- Sleep, 100
- }
- if(TF9_3 != "")
- {
- SendChat("" TF9_3 "")
- }
- }
- return
- ~F10::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF10, %Hotkeys%, Tastenbelegung F-Taste, TF10
- if(TF10 != "" || TF10 != """" || TF10 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF10, TF10, <name>, %MyName%, All
- StringReplace, TF10, TF10, <hp>, %HP%, All
- StringReplace, TF10, TF10, <car>, %Car%, All
- StringReplace, TF10, TF10, <time>, %Zeit%, All
- StringReplace, TF10, TF10, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF10, TF10, <pos>, %Position%, All
- TF10_1 := ""
- TF10_2 := ""
- TF10_3 := ""
- StringSplit, TF10_, TF10, #
- if(TF10_1 != "")
- {
- SendChat("" TF10_1 "")
- Sleep, 100
- }
- if(TF10_2 != "")
- {
- SendChat("" TF10_2 "")
- Sleep, 100
- }
- if(TF10_3 != "")
- {
- SendChat("" TF10_3 "")
- }
- }
- return
- ~F11::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF11, %Hotkeys%, Tastenbelegung F-Taste, TF11
- if(TF11 != "" || TF11 != """" || TF11 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF11, TF11, <name>, %MyName%, All
- StringReplace, TF11, TF11, <hp>, %HP%, All
- StringReplace, TF11, TF11, <car>, %Car%, All
- StringReplace, TF11, TF11, <time>, %Zeit%, All
- StringReplace, TF11, TF11, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF11, TF11, <pos>, %Position%, All
- TF11_1 := ""
- TF11_2 := ""
- TF11_3 := ""
- StringSplit, TF11_, TF11, #
- if(TF11_1 != "")
- {
- SendChat("" TF11_1 "")
- Sleep, 100
- }
- if(TF11_2 != "")
- {
- SendChat("" TF11_2 "")
- Sleep, 100
- }
- if(TF11_3 != "")
- {
- SendChat("" TF11_3 "")
- }
- }
- return
- ~F12::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, TF12, %Hotkeys%, Tastenbelegung F-Taste, TF12
- if(TF12 != "" || TF12 != """" || TF12 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, TF12, TF12, <name>, %MyName%, All
- StringReplace, TF12, TF12, <hp>, %HP%, All
- StringReplace, TF12, TF12, <car>, %Car%, All
- StringReplace, TF12, TF12, <time>, %Zeit%, All
- StringReplace, TF12, TF12, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, TF12, TF12, <pos>, %Position%, All
- TF12_1 := ""
- TF12_2 := ""
- TF12_3 := ""
- StringSplit, TF12_, TF12, #
- if(TF12_1 != "")
- {
- SendChat("" TF12_1 "")
- Sleep, 100
- }
- if(TF12_2 != "")
- {
- SendChat("" TF12_2 "")
- Sleep, 100
- }
- if(TF12_3 != "")
- {
- SendChat("" TF12_3 "")
- }
- }
- return
- Taste1B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste1I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste1I
- if(Taste1I != "" || Taste1I != """" || Taste1I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste1I, Taste1I, <name>, %MyName%, All
- StringReplace, Taste1I, Taste1I, <hp>, %HP%, All
- StringReplace, Taste1I, Taste1I, <car>, %Car%, All
- StringReplace, Taste1I, Taste1I, <time>, %Zeit%, All
- StringReplace, Taste1I, Taste1I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste1I, Taste1I, <pos>, %Position%, All
- Taste1I_1 := ""
- Taste1I_2 := ""
- Taste1I_3 := ""
- StringSplit, Taste1I_, Taste1I, #
- if(Taste1I_1 != "")
- {
- SendChat("" Taste1I_1 "")
- Sleep, 100
- }
- if(Taste1I_2 != "")
- {
- SendChat("" Taste1I_2 "")
- Sleep, 100
- }
- if(Taste1I_3 != "")
- {
- SendChat("" Taste1I_3 "")
- }
- }
- return
- Taste2B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste2I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste2I
- if(Taste2I != "" || Taste2I != """" || Taste2I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste2I, Taste2I, <name>, %MyName%, All
- StringReplace, Taste2I, Taste2I, <hp>, %HP%, All
- StringReplace, Taste2I, Taste2I, <car>, %Car%, All
- StringReplace, Taste2I, Taste2I, <time>, %Zeit%, All
- StringReplace, Taste2I, Taste2I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste2I, Taste2I, <pos>, %Position%, All
- Taste2I_1 := ""
- Taste2I_2 := ""
- Taste2I_3 := ""
- StringSplit, Taste2I_, Taste2I, #
- if(Taste2I_1 != "")
- {
- SendChat("" Taste2I_1 "")
- Sleep, 100
- }
- if(Taste2I_2 != "")
- {
- SendChat("" Taste2I_2 "")
- Sleep, 100
- }
- if(Taste2I_3 != "")
- {
- SendChat("" Taste2I_3 "")
- }
- }
- return
- Taste3B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste3I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste3I
- if(Taste3I != "" || Taste3I != """" || Taste3I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(FahrzeugHealth)
- StringReplace, Taste3I, Taste3I, <name>, %MyName%, All
- StringReplace, Taste3I, Taste3I, <hp>, %HP%, All
- StringReplace, Taste3I, Taste3I, <car>, %Car%, All
- StringReplace, Taste3I, Taste3I, <time>, %Zeit%, All
- StringReplace, Taste3I, Taste3I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste3I, Taste3I, <pos>, %Position%, All
- Taste3I_1 := ""
- Taste3I_2 := ""
- Taste3I_3 := ""
- StringSplit, Taste3I_, Taste3I, #
- if(Taste3I_1 != "")
- {
- SendChat("" Taste3I_1 "")
- Sleep, 100
- }
- if(Taste3I_2 != "")
- {
- SendChat("" Taste3I_2 "")
- Sleep, 100
- }
- if(Taste3I_3 != "")
- {
- SendChat("" Taste3I_3 "")
- }
- }
- return
- Taste4B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste4I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste4I
- if(Taste4I != "" || Taste4I != """" || Taste4I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste4I, Taste4I, <name>, %MyName%, All
- StringReplace, Taste4I, Taste4I, <hp>, %HP%, All
- StringReplace, Taste4I, Taste4I, <car>, %Car%, All
- StringReplace, Taste4I, Taste4I, <time>, %Zeit%, All
- StringReplace, Taste4I, Taste4I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste4I, Taste4I, <pos>, %Position%, All
- Taste4I_1 := ""
- Taste4I_2 := ""
- Taste4I_3 := ""
- StringSplit, Taste4I_, Taste4I, #
- if(Taste4I_1 != "")
- {
- SendChat("" Taste4I_1 "")
- Sleep, 100
- }
- if(Taste4I_2 != "")
- {
- SendChat("" Taste4I_2 "")
- Sleep, 100
- }
- if(Taste4I_3 != "")
- {
- SendChat("" Taste4I_3 "")
- }
- }
- return
- Taste5B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste5I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste5I
- if(Taste5I != "" || Taste5I != """" || Taste5I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste5I, Taste5I, <name>, %MyName%, All
- StringReplace, Taste5I, Taste5I, <hp>, %HP%, All
- StringReplace, Taste5I, Taste5I, <car>, %Car%, All
- StringReplace, Taste5I, Taste5I, <time>, %Zeit%, All
- StringReplace, Taste5I, Taste5I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste5I, Taste5I, <pos>, %Position%, All
- Taste5I_1 := ""
- Taste5I_2 := ""
- Taste5I_3 := ""
- StringSplit, Taste5I_, Taste5I, #
- if(Taste5I_1 != "")
- {
- SendChat("" Taste5I_1 "")
- Sleep, 100
- }
- if(Taste5I_2 != "")
- {
- SendChat("" Taste5I_2 "")
- Sleep, 100
- }
- if(Taste5I_3 != "")
- {
- SendChat("" Taste5I_3 "")
- }
- }
- return
- Taste6B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste6I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste6I
- if(Taste6I != "" || Taste6I != """" || Taste6I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste6I, Taste6I, <name>, %MyName%, All
- StringReplace, Taste6I, Taste6I, <hp>, %HP%, All
- StringReplace, Taste6I, Taste6I, <car>, %Car%, All
- StringReplace, Taste6I, Taste6I, <time>, %Zeit%, All
- StringReplace, Taste6I, Taste6I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste6I, Taste6I, <pos>, %Position%, All
- Taste6I_1 := ""
- Taste6I_2 := ""
- Taste6I_3 := ""
- StringSplit, Taste6I_, Taste6I, #
- if(Taste6I_1 != "")
- {
- SendChat("" Taste6I_1 "")
- Sleep, 100
- }
- if(Taste6I_2 != "")
- {
- SendChat("" Taste6I_2 "")
- Sleep, 100
- }
- if(Taste6I_3 != "")
- {
- SendChat("" Taste6I_3 "")
- }
- }
- return
- Taste7B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste7I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste7I
- if(Taste7I != "" || Taste7I != """" || Taste7I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste7I, Taste7I, <name>, %MyName%, All
- StringReplace, Taste7I, Taste7I, <hp>, %HP%, All
- StringReplace, Taste7I, Taste7I, <car>, %Car%, All
- StringReplace, Taste7I, Taste7I, <time>, %Zeit%, All
- StringReplace, Taste7I, Taste7I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste7I, Taste7I, <pos>, %Position%, All
- Taste7I_1 := ""
- Taste7I_2 := ""
- Taste7I_3 := ""
- StringSplit, Taste7I_, Taste7I, #
- if(Taste7I_1 != "")
- {
- SendChat("" Taste7I_1 "")
- Sleep, 100
- }
- if(Taste7I_2 != "")
- {
- SendChat("" Taste7I_2 "")
- Sleep, 100
- }
- if(Taste7I_3 != "")
- {
- SendChat("" Taste7I_3 "")
- }
- }
- return
- Taste8B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste8I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste8I
- if(Taste8I != "" || Taste8I != """" || Taste8I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste8I, Taste8I, <name>, %MyName%, All
- StringReplace, Taste8I, Taste8I, <hp>, %HP%, All
- StringReplace, Taste8I, Taste8I, <car>, %Car%, All
- StringReplace, Taste8I, Taste8I, <time>, %Zeit%, All
- StringReplace, Taste8I, Taste8I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste8I, Taste8I, <pos>, %Position%, All
- Taste8I_1 := ""
- Taste8I_2 := ""
- Taste8I_3 := ""
- StringSplit, Taste8I_, Taste8I, #
- if(Taste8I_1 != "")
- {
- SendChat("" Taste8I_1 "")
- Sleep, 100
- }
- if(Taste8I_2 != "")
- {
- SendChat("" Taste8I_2 "")
- Sleep, 100
- }
- if(Taste8I_3 != "")
- {
- SendChat("" Taste8I_3 "")
- }
- }
- return
- Taste9B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste9I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste9I
- if(Taste9I != "" || Taste9I != """" || Taste9I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste9I, Taste9I, <name>, %MyName%, All
- StringReplace, Taste9I, Taste9I, <hp>, %HP%, All
- StringReplace, Taste9I, Taste9I, <car>, %Car%, All
- StringReplace, Taste9I, Taste9I, <time>, %Zeit%, All
- StringReplace, Taste9I, Taste9I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste9I, Taste9I, <pos>, %Position%, All
- Taste9I_1 := ""
- Taste9I_2 := ""
- Taste9I_3 := ""
- StringSplit, Taste9I_, Taste9I, #
- if(Taste9I_1 != "")
- {
- SendChat("" Taste9I_1 "")
- Sleep, 100
- }
- if(Taste9I_2 != "")
- {
- SendChat("" Taste9I_2 "")
- Sleep, 100
- }
- if(Taste9I_3 != "")
- {
- SendChat("" Taste9I_3 "")
- }
- }
- return
- Taste10B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste10I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste10I
- if(Taste10I != "" || Taste10I != """" || Taste10I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste10I, Taste10I, <name>, %MyName%, All
- StringReplace, Taste10I, Taste10I, <hp>, %HP%, All
- StringReplace, Taste10I, Taste10I, <car>, %Car%, All
- StringReplace, Taste10I, Taste10I, <time>, %Zeit%, All
- StringReplace, Taste10I, Taste10I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste10I, Taste10I, <pos>, %Position%, All
- Taste10I_1 := ""
- Taste10I_2 := ""
- Taste10I_3 := ""
- StringSplit, Taste10I_, Taste10I, #
- if(Taste10I_1 != "")
- {
- SendChat("" Taste10I_1 "")
- Sleep, 100
- }
- if(Taste10I_2 != "")
- {
- SendChat("" Taste10I_2 "")
- Sleep, 100
- }
- if(Taste10I_3 != "")
- {
- SendChat("" Taste10I_3 "")
- }
- }
- return
- Taste11B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste11I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste11I
- if(Taste11I != "" || Taste11I != """" || Taste11I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste11I, Taste11I, <name>, %MyName%, All
- StringReplace, Taste11I, Taste11I, <hp>, %HP%, All
- StringReplace, Taste11I, Taste11I, <car>, %Car%, All
- StringReplace, Taste11I, Taste11I, <time>, %Zeit%, All
- StringReplace, Taste11I, Taste11I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste11I, Taste11I, <pos>, %Position%, All
- StringReplace, Taste11I, Taste11I, <left>, {left}, All
- StringReplace, Taste11I, Taste11I, <space>, {space}, All
- SendInput, t%Taste11I%
- }
- return
- Taste12B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste12I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste12I
- if(Taste12I != "" || Taste12I != """" || Taste12I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste12I, Taste12I, <name>, %MyName%, All
- StringReplace, Taste12I, Taste12I, <hp>, %HP%, All
- StringReplace, Taste12I, Taste12I, <car>, %Car%, All
- StringReplace, Taste12I, Taste12I, <time>, %Zeit%, All
- StringReplace, Taste12I, Taste12I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste12I, Taste12I, <pos>, %Position%, All
- StringReplace, Taste12I, Taste12I, <left>, {left}, All
- StringReplace, Taste12I, Taste12I, <space>, {space}, All
- SendInput, t%Taste12I%
- }
- return
- Taste13B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste13I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste13I
- if(Taste13I != "" || Taste13I != """" || Taste13I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste13I, Taste13I, <name>, %MyName%, All
- StringReplace, Taste13I, Taste13I, <hp>, %HP%, All
- StringReplace, Taste13I, Taste13I, <car>, %Car%, All
- StringReplace, Taste13I, Taste13I, <time>, %Zeit%, All
- StringReplace, Taste13I, Taste13I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste13I, Taste13I, <pos>, %Position%, All
- StringReplace, Taste13I, Taste13I, <left>, {left}, All
- StringReplace, Taste13I, Taste13I, <space>, {space}, All
- SendInput, t%Taste13I%
- }
- return
- Taste14B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste14I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste14I
- if(Taste14I != "" || Taste14I != """" || Taste14I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste14I, Taste14I, <name>, %MyName%, All
- StringReplace, Taste14I, Taste14I, <hp>, %HP%, All
- StringReplace, Taste14I, Taste14I, <car>, %Car%, All
- StringReplace, Taste14I, Taste14I, <time>, %Zeit%, All
- StringReplace, Taste14I, Taste14I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste14I, Taste14I, <pos>, %Position%, All
- StringReplace, Taste14I, Taste14I, <left>, {left}, All
- StringReplace, Taste14I, Taste14I, <space>, {space}, All
- SendInput, t%Taste14I%
- }
- return
- Taste15B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste15I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste15I
- if(Taste15I != "" || Taste15I != """" || Taste15I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste15I, Taste15I, <name>, %MyName%, All
- StringReplace, Taste15I, Taste15I, <hp>, %HP%, All
- StringReplace, Taste15I, Taste15I, <car>, %Car%, All
- StringReplace, Taste15I, Taste15I, <time>, %Zeit%, All
- StringReplace, Taste15I, Taste15I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste15I, Taste15I, <pos>, %Position%, All
- StringReplace, Taste15I, Taste15I, <left>, {left}, All
- StringReplace, Taste15I, Taste15I, <space>, {space}, All
- SendInput, t%Taste15I%
- }
- return
- Taste16B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste16I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste16I
- if(Taste16I != "" || Taste16I != """" || Taste16I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste16I, Taste16I, <name>, %MyName%, All
- StringReplace, Taste16I, Taste16I, <hp>, %HP%, All
- StringReplace, Taste16I, Taste16I, <car>, %Car%, All
- StringReplace, Taste16I, Taste16I, <time>, %Zeit%, All
- StringReplace, Taste16I, Taste16I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste16I, Taste16I, <pos>, %Position%, All
- StringReplace, Taste16I, Taste16I, <left>, {left}, All
- StringReplace, Taste16I, Taste16I, <space>, {space}, All
- SendInput, t%Taste16I%
- }
- return
- Taste17B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste17I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste17I
- if(Taste17I != "" || Taste17I != """" || Taste17I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste17I, Taste17I, <name>, %MyName%, All
- StringReplace, Taste17I, Taste17I, <hp>, %HP%, All
- StringReplace, Taste17I, Taste17I, <car>, %Car%, All
- StringReplace, Taste17I, Taste17I, <time>, %Zeit%, All
- StringReplace, Taste17I, Taste17I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste17I, Taste17I, <pos>, %Position%, All
- StringReplace, Taste17I, Taste17I, <left>, {left}, All
- StringReplace, Taste17I, Taste17I, <space>, {space}, All
- SendInput, t%Taste17I%
- }
- return
- Taste18B:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Taste18I, %Hotkeys%, Tastenbelegung Zusatztasten, Taste18I
- if(Taste18I != "" || Taste18I != """" || Taste18I != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- GetPlayerName(MyName)
- HP := GetPlayerHealth()
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- car := (CarDL / 1000)*100
- car := floor(Car)
- StringReplace, Taste18I, Taste18I, <name>, %MyName%, All
- StringReplace, Taste18I, Taste18I, <hp>, %HP%, All
- StringReplace, Taste18I, Taste18I, <car>, %Car%, All
- StringReplace, Taste18I, Taste18I, <time>, %Zeit%, All
- StringReplace, Taste18I, Taste18I, <date>, %Datum%, All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Taste18I, Taste18I, <pos>, %Position%, All
- StringReplace, Taste18I, Taste18I, <left>, {left}, All
- StringReplace, Taste18I, Taste18I, <space>, {space}, All
- SendInput, t%Taste18I%
- }
- return
- HKPause:
- Suspend
- if ( A_IsSuspended )
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast den Keybinder {FF0000}pausiert{FF0000}.")
- }
- if ( !A_IsSuspended )
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast den Keybinder {00FF00}aktiviert{00FF00}.")
- }
- return
- HKWiederholen:
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- SendInput t{up}{enter}
- return
- HKHP:
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- HP := GetPlayerhealth()
- SendChat("/f Ich habe noch " HP " HP.")
- return
- HKHilfe:
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- GetCityName(city)
- GetZoneName(zone)
- ID := GetPlayerID()
- HP := GetPlayerHealth()
- SendChat("/f Ich benötige Hilfe! ID: " ID " Standort: "zone ", " city " HP: " HP "")
- return
- GetPlayerSpeed()
- {
- speed := 0
- exe := OpenMemoryfromTitle_("GTA:SA:MP")
- pointer := ReadMemory_(exe, 0xBA18FC)
- speedX := ReadMemory_(exe, pointer+68,"Float")
- speedY := ReadMemory_(exe,pointer+72,"Float")
- speedZ := ReadMemory_(exe, pointer+76,"Float")
- CloseMemory_(exe)
- speed := (((speedX * speedX) + (speedY * speedY) + (speedZ * speedZ))**(1/2))
- speed := speed * 160.9344
- speed := floor(speed)
- return speed
- }
- GetPlayerSpeed_2()
- {
- speed := 0
- if(IsPlayerInAnyVehicle()){
- GetPlayerPosition(x1,y1,z1,r1)
- sleep, 500
- GetPlayerPosition(x2,y2,z2, r2)
- bill := (x1 - x2) * 2
- bill_ := (y1 - y2) * 2
- bill__ := (z1 - z2) * 2
- speed := bill + bill_ + bill__
- speed := speed^(1/3)
- speed *= 3
- if(speed < 0)
- speed *= -1
- }
- return speed
- }
- ~LControl & ~t::
- Suspend Permit
- If (IsPlayerinAnyVehicle() == 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist in keinem Fahrzeug!")
- return
- }
- If (IsPlayerDriver() == 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer!")
- return
- }
- SpeedOnOff := !SpeedOnOff
- if(SpeedOnOff == 1)
- {
- VehSpeedMax := GetPlayerSpeed()
- SpeedCheckStatus := "1"
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
- }
- else
- {
- SpeedCheckStatus := "0"
- Sleep, 250
- SendInput {W up}
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
- SendInput {W Up}
- VehSpeedMax := 0
- }
- return
- :?:/tempo::
- Suspend Permit
- If (IsPlayerinAnyVehicle() == 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist in keinem Fahrzeug!")
- return
- }
- If (IsPlayerDriver() == 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer!")
- return
- }
- tempo := PlayerInput("Bitte gebe deine gewünschte Geschwindigkeit an: ")
- VehSpeedMax := tempo
- SpeedCheckStatus := "1"
- SpeedOnOff := "1"
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
- return
- ~N::
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- if (SpeedCheckStatus == 1)
- {
- VehSpeedMax := VehSpeedMax + 5
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde auf {FFA000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
- }
- return
- ~B::
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- if (SpeedCheckStatus == 1)
- {
- VehSpeedMax := VehSpeedMax - 5
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde auf {FFA000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
- }
- return
- ~W::
- ~S::
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- if (SpeedCheckStatus == 1)
- {
- SpeedCheckStatus := "0"
- SpeedOnOff := "0"
- Sleep, 250
- SendInput {W up}
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
- SendInput {W Up}
- VehSpeedMax := 0
- }
- return
- SpeedCheckPerm:
- IfWinNotActive, GTA:SA:MP
- return
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- VehSpeed := GetPlayerSpeed()
- if(IsPlayerDriver() == 1)
- {
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if (VehSpeed <= VehSpeedMax)
- {
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- AddChatmessage(0xFFF000, "Chat ist offen")
- return
- }
- SendInput, {W Down}
- }
- else if (VehSpeed > VehSpeedMax)
- {
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- AddChatmessage(0xFFF000, "Chat ist offen")
- return
- }
- SendInput, {W Up}
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges. Der Tempomat wurde deaktiviert.")
- SetTimer, SpeedCheckPerm, off
- SpeedCheckStatus := "0"
- SpeedOnOff := "0"
- Sleep, 250
- SendInput {W up}
- return
- }
- return
- :*?:/fhilfe::
- Suspend, Permit
- SendInput, {Enter}
- ShowDialog(0, ">>Freundesliste Hilfe<<", "Folgende Befehle für die Freundesliste sind vorhanden`n`n/flist Zeigt euch die Freundesliste`n/fadd Fügt ein Freund anhand des Namens hinzu `n/fidadd Fügt ein freund anhand der ID hinzu`n/fdel löscht ein Freund anhand des Names`n/fiddel Löscht ein freund anhand der ID", "OK")
- Suspend, Off
- return
- :?:/flist::
- Suspend, Permit
- SendInput, {Enter}
- Sleep, 250
- VarSetCapacity(final, 256, 0)
- Loop, read, Freunde.ini
- {
- StringSplit, OutputArr, A_LoopReadLine, =
- id := GetPlayerIdByName("" OutputArr1 "")
- if( A_LoopReadLine != "[Freunde]")
- {
- if(id == -1)
- {
- final = %final%->{FF0000}Offline`t{FFFFFF}%OutputArr1%`n
- }
- else
- {
- if(id == 0)
- id := GetPlayerIdByName(OutputArr1)
- score := Unbekannt
- if(Score == 0)
- score := Unbekannt
- Score := feldlänge(score,3)
- id := feldlänge(id,3)
- OutputArr1 := feldlänge(OutputArr1,24)
- final = %final%->{00FF00}Online`t{FFFFFF}%OutputArr1%
- if(strlen(OutputArr2) != 0)
- {
- OutputArr2 := feldlänge(OutputArr2,5)
- final = %final%`tTel.: %OutputArr2%`tLevel: %score%`tID: %id%`n
- }
- else
- {
- final = %final%`tLevel: %score%`tID: %id%`n
- }
- final = %final%
- }
- }
- }
- if(final == "")
- Final := "Keine Freunde"
- Sort, Final
- ShowDialog(1, "Freundesliste", final, "Verlassen")
- Suspend, Off
- return
- :?:/fadd::
- Suspend, Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte den Namen ein")
- sleep, 300
- SendInput, {Enter}
- SendInput, t{Space}
- Suspend, On
- Hotkey, Enter, On
- Input, NeuerFreund, V I M T10,{Enter}
- Keywait, Enter, D, T20
- If errorlevel
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
- }
- else
- {
- Sleep, 300
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte Handynummer ein")
- Suspend, On
- Sleep, 300
- SendInput, t{Space}
- Input, NeueNummer, V I M ,{Enter}
- Keywait, Enter, D, T20
- If ErrorLevel
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
- }
- else
- {
- IniWrite, %NeueNummer%, Freunde.ini, Freunde, %NeuerFreund%
- return
- }
- Suspend, Off
- }
- return
- :?:/fidadd::
- Suspend, Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte die ID ein")
- sleep, 300
- SendInput, {Enter}
- SendInput, t{Space}
- Suspend, On
- Hotkey, Enter, On
- Input, NeuerFreundID, V I M T10,{Enter}
- Keywait, Enter, D, T20
- If errorlevel
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
- }
- else
- {
- Sleep, 300
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte Handynummer ein")
- Suspend, On
- Sleep, 300
- SendInput, t{Space}
- Input, NeueNummer, V I M ,{Enter}
- Keywait, Enter, D, T20
- If ErrorLevel
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
- }
- else
- {
- GetPlayerNameById(NeuerFreundID, NeuerFreund)
- IniWrite, %NeueNummer%, Freunde.ini, Freunde, %NeuerFreund%
- return
- }
- Suspend, Off
- }
- return
- :?:/fdel::
- Suspend, Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte den Namen ein")
- sleep, 300
- SendInput, {Enter}
- SendInput, t{Space}
- Suspend, On
- Hotkey, Enter, On
- Input, NeuerFreund, V I M T10,{Enter}
- Keywait, Enter, D, T20
- If errorlevel
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
- }
- else
- {
- IniDelete, Freunde.ini, Freunde, %NeuerFreund%
- }
- Suspend, Off
- return
- :?:/fiddel::
- Suspend, Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Eingabe: {FFFFFF}Gebe bitte die ID ein")
- sleep, 300
- SendInput, {Enter}
- SendInput, t{Space}
- Suspend, On
- Hotkey, Enter, On
- Input, FreundwegID, V I M T10,{Enter}
- Keywait, Enter, D, T20
- If errorlevel
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FF0000}Fehler: {FFFFFF}Sie brauchten zu lange")
- }
- else
- {
- GetPlayerNameById(FreundwegID, NeuerFreund)
- IniDelete, Freunde.ini, Freunde, %NeuerFreund%
- }
- Suspend, Off
- return
- feldlänge(str, länge = 15, zeichen = " ")
- {
- l := länge - StrLen(SubStr(str, 1, länge))
- Loop, %l%
- ID := ID zeichen
- Result := SubStr(str, 1, länge) ID
- Return Result
- }
- :?:/kcall::
- Suspend Permit
- pinput := PlayerInput("Name: ")
- Sleep, 250
- SendChat("/number " . pinput . "")
- Loop,
- {
- GetChatLine(0, line)
- if(InStr(line, "Name: "))
- {
- RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
- SendChat("/call " . Output2)
- return
- }
- else If(InStr(line, "Diesen Spieler gibt es nicht!"))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Anruf fehlgeschlagen!")
- return
- }
- else
- {
- continue
- }
- }
- return
- :?:/ksms::
- Suspend Permit
- pinput := PlayerInput("Name: ")
- SendChat("/number " . pinput . "")
- Loop,
- {
- GetChatLine(0, line)
- if(InStr(line, "Name: "))
- {
- RegExMatch(line, "Name: (.*), Ph: (.*)", Output)
- SendInput, t/sms %Output2%{space}
- return
- }
- else If(InStr(line, "Diesen Spieler gibt es nicht!"))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Versendung nicht möglich!")
- return
- }
- else
- {
- continue
- }
- }
- return
- :?:/p::
- Suspend Permit
- SendChat("/p")
- IniRead, Pickup, %Settings%, Zusatz, Pickup
- if(Pickup != "" && Pickup != "Text bei entgegengenommenen Anrufen (/p)")
- {
- SendChat("" Pickup "")
- }
- SoundPlay, avixa.avi
- return
- :?:/pickup::
- Suspend Permit
- SendChat("/p")
- IniRead, Pickup, %Settings%, Zusatz, Pickup
- if(Pickup != "" && Pickup != "Text bei entgegengenommenen Anrufen (/p)" && Pickup != "ERROR")
- {
- SendChat("" Pickup "")
- }
- SoundPlay, avixa.avi
- return
- :?:/h::
- Suspend Permit
- IniRead, Hangup, %Settings%, Zusatz, Hangup
- if(Hangup != "" && Hangup != "Text beim Beenden eines Telefonats (/h)" && Hangup != "ERROR")
- {
- SendChat("" Hangup "")
- }
- SendChat("/h")
- return
- :?:/hangup::
- Suspend Permit
- IniRead, Hangup, %Settings%, Zusatz, Hangup
- if(Hangup != "" && Hangup != "Text beim Beenden eines Telefonats (/h)" && Hangup != "ERROR")
- {
- SendChat("" Hangup "")
- }
- SendChat("/hangup")
- return
- :?:/hp::
- Suspend Permit
- SendChat("/cooked")
- Sleep 250
- GetChatLine(5, fish1)
- GetChatLine(4, fish2)
- GetChatLine(3, fish3)
- GetChatLine(2, fish4)
- GetChatLine(1, fish5)
- RegExMatch(fish1, "\*\* \(1\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch1_)
- RegExMatch(fish2, "\*\* \(2\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch2_)
- RegExMatch(fish3, "\*\* \(3\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch3_)
- RegExMatch(fish4, "\*\* \(4\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch4_)
- RegExMatch(fish5, "\*\* \(5\) Hergestellt: gekochten (.*) \((.*) LBS\)", fisch5_)
- HP1 = %fisch1_2%
- HP1*=0.3
- HP1 := Floor(HP1)
- HP2 = %fisch2_2%
- HP2*=0.3
- HP2 := Floor(HP2)
- HP3 = %fisch3_2%
- HP3*=0.3
- HP3 := Floor(HP3)
- HP4 = %fisch4_2%
- HP4*=0.3
- HP4 := Floor(HP4)
- HP5 = %fisch5_2%
- HP5*=0.3
- HP5 := Floor(HP5)
- Gesamt=0
- Gesamt+=%HP1%
- Gesamt+=%HP2%
- Gesamt+=%HP3%
- Gesamt+=%HP4%
- Gesamt+=%HP5%
- AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch1_1 . " (" . fisch1_2 . " LBS) - {FFA000} " . HP1 . " HP")
- AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch2_1 . " (" . fisch2_2 . " LBS) - {FFA000} " . HP2 . " HP")
- AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch3_1 . " (" . fisch3_2 . " LBS) - {FFA000} " . HP3 . " HP")
- AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch4_1 . " (" . fisch4_2 . " LBS) - {FFA000} " . HP4 . " HP")
- AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}" . fisch5_1 . " (" . fisch5_2 . " LBS) - {FFA000} " . HP5 . " HP")
- AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}-----------------------------------------------")
- AddChatMessage(0x2090B3, "|Universal-Binder| {15A170}|Fish| {FFFFFF}Gesamt: {FFA000}" . Gesamt . " HP")
- return
- :?:/minuten::
- Suspend Permit
- Sekunden := PlayerInput("Anzahl der Sekunden: ")
- if(Sekunden != "" && Sekunden != " " && Sekunden != 0)
- {
- Minuten := Sekunden / 60
- Minuten := round(Minuten, 2)
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}{FFBB00}" Sekunden "{FFFFFF} Sekunden sind {FFBB00}" Minuten "{FFFFFF} Minuten.")
- }
- return
- :?:/fg::
- Suspend Permit
- SendChat("/festgeld 1250000")
- return
- :?:/sani::
- Suspend Permit
- SendChat("/accept Paket")
- return
- :?:/tanken::
- Suspend Permit
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist in keinem Fahrzeug")
- return
- }
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- return
- :?:/user::
- Suspend Permit
- UserData := ""
- UserName := PlayerInput("User-Name: ")
- If(UserName!="")
- {
- UserUrl = http://cp.rpg-city.de/api.php?type=level|job|fraction|rank|online|playtime|org|number|money|bank|deposit|kills|deaths|premium|skin&player=%UserName%
- UserData := URLDownloadToVar(UserUrl)
- if(UserData == "Der Spieler existiert nicht.")
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Spieler existiert nicht.")
- return
- }
- If(UserData!="Des Spielers Profil ist privat.")
- {
- RegExMatch(UserData, "level:(.+)\|j", UserLevel)
- RegExMatch(UserData, ".+\|job:(.+)\|f", UserJob)
- RegExMatch(UserData, ".+\|fraction:(.+)\|r", UserFraction)
- RegExMatch(UserData, ".+\|rank:(.+)\|online", UserRank)
- RegExMatch(UserData, ".+\|online:(.)\|play", UserOnline)
- RegExMatch(UserData, ".+\|playtime:(.+)\|o", UserPlaytime)
- RegExMatch(UserData, ".+\|org:(.+)\|n", UserOrg)
- RegExMatch(UserData, ".+\|number:(.+)\|m", UserNumber)
- RegExMatch(UserData, ".+\|money:(.+)\|b", UserMoney)
- RegExMatch(UserData, ".+\|bank:(.+)\|dep", UserBank)
- RegExMatch(UserData, ".+\|deposit:(.+)\|k", UserDeposit)
- RegExMatch(UserData, ".+\|kills:(.+)\|d", UserKills)
- RegExMatch(UserData, ".+\|deaths:(.+)\|p", UserDeaths)
- RegExMatch(UserData, ".+\|premium:(.)", UserPremium)
- Gesamt +=UserBank1
- Gesamt += UserMoney1
- Gesamt += UserDeposit1
- KD := Userkills1 / UserDeaths1
- KD := Round(KD, 3)
- if(UserPremium1 == 1)
- {
- ShowDialog(0, "Infos über " . UserName . ""," Level: " . UserLevel1 . " `n Spielzeit: " . UserPlaytime1 . " `n Nummer: " . UserNumber1 . " `n `n Fraktion: " . UserFraction1 . " Rank: " . UserRank1 . " `n Job: " . UserJob1 . " `n Organisation: " . UserOrg1 . " `n `n Bargeld: " . UserMoney1 . "$ `n Konto: " . UserBank1 . "$ `n Festgeld: " . UserDeposit1 . "$ `n Gesamt: " . Gesamt . "$ `n `n Kills: " . UserKills1 . " `n Tode: " . UserDeaths1 . " `n K/D: " . KD . " `n `n {FF6600} Premium ", "Verlassen")
- }
- else if(UserPremium1 == 2)
- {
- ShowDialog(0, "Infos über " . UserName . ""," Level: " . UserLevel1 . " `n Spielzeit: " . UserPlaytime1 . " `n Nummer: " . UserNumber1 . " `n `n Fraktion: " . UserFraction1 . " Rank: " . UserRank1 . " `n Job: " . UserJob1 . " `n Organisation: " . UserOrg1 . " `n `n Bargeld: " . UserMoney1 . "$ `n Konto: " . UserBank1 . "$ `n Festgeld: " . UserDeposit1 . "$ `n Gesamt: " . Gesamt . "$ `n `n Kills: " . UserKills1 . " `n Tode: " . UserDeaths1 . " `n K/D: " . KD . " `n `n {FF6600} VIP ", "Verlassen")
- }
- else
- {
- ShowDialog(0, "Infos über " . UserName . ""," Level: " . UserLevel1 . " `n Spielzeit: " . UserPlaytime1 . " `n Nummer: " . UserNumber1 . " `n `n Fraktion: " . UserFraction1 . " Rank: " . UserRank1 . " `n Job: " . UserJob1 . " `n Organisation: " . UserOrg1 . " `n `n Bargeld: " . UserMoney1 . "$ `n Konto: " . UserBank1 . "$ `n Festgeld: " . UserDeposit1 . "$ `n Gesamt: " . Gesamt . "$ `n `n Kills: " . UserKills1 . " `n Tode: " . UserDeaths1 . " `n K/D: " . KD . " `n ", "Verlassen")
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Spieler hat sein Profil auf privat gestellt.")
- }
- }
- return
- ~NumpadMult::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/eat " . fischers . "")
- fischers++
- if(fischers == "6")
- {
- fischers=1
- }
- return
- ~m::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else If(IsPlayerDriver() == 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges.")
- }
- else If(IsPlayerInAnyVehicle() == "1" && IsVehicleLocked() == 0)
- {
- SendChat("/lock")
- sleep 200
- SendChat("/motor")
- SetTimer, LichtEinschalten, 2400
- return
- }
- return
- LichtEinschalten:
- if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
- {
- SendChat("/licht")
- }
- SetTimer, LichtEinschalten, off
- return
- ~F::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- Loop,
- if(IsPlayerDriver() == 1 && IsVehicleLocked() == 0 )
- {
- SendChat("/lock")
- return
- }
- }
- else
- if(IsPlayerDriver() == 1 && IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- Sleep 700
- Send F
- return
- }
- return
- ~Y::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/lock")
- return
- :?:/countdown::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Drücke '.', um den Countdown abzubrechen.")
- SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
- Sleep 1500
- SendChat(">>3<<")
- KeyWait, ., D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>2<<")
- KeyWait, ., D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>1<<")
- KeyWait, ., D T1
- If !ErrorLevel
- {
- return
- }
- SendChat("Letzte Warnung!")
- return
- :?:/cd::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Drücke '.', um den Countdown abzubrechen.")
- SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
- Sleep 1500
- SendChat(">>3<<")
- KeyWait, ., D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>2<<")
- KeyWait, ., D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>1<<")
- KeyWait, ., D T1
- If !ErrorLevel
- {
- return
- }
- SendChat("Letzte Warnung!")
- return
- :?:/info::
- Suspend Permit
- GetCityName(city)
- GetZoneName(zone)
- GetPlayerName(Name)
- PlayerID := GetPlayerID()
- if(PlayerID != "65535" && PlayerID != "" && PlayerID != "-1")
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Spieler-Information von " Name " [ID: " PlayerID " ]:")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Spieler-Information von " Name ":")
- }
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}HP: {FFBB00}" GetPlayerHealth() " {FFFFFF}Armor: {FFBB00}" GetPlayerArmor() "{FFFFFF}, Standort: {FFBB00}" zone ", " city "{FFFFFF}.")
- if (IsPlayerInAnyVehicle() == 1)
- {
- GetVehicleModelName(Fahrzeug)
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fahrzeug-Information für das Fahrzeug {FFBB00}" Fahrzeug "{FFFFFF}:")
- if(GetVehicleSecondColor() != -1 && GetVehicleSecondColor() != "")
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Farbe: {FFBB00}"GetVehicleFirstColor() "{FFFFFF} / {FFBB00}" GetVehicleSecondColor() "{FFFFFF}, CarDL: {FFBB00}" GetVehicleHealth() "{FFFFFF}.")
- }
- else
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Farbe: {FFBB00}"GetVehicleFirstColor() "{FFFFFF}, CarDL: {FFBB00}" GetVehicleHealth() "{FFFFFF}.")
- }
- return
- :?:/an::
- Suspend Permit
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if InStr(A_LoopReadLine, "Dein Handy klingelt. Tippe /pickup. Anrufer-ID: ")
- {
- RegExMatch(A_LoopReadLine, "Dein Handy klingelt\. Tippe /pickup\. Anrufer\-ID\: (.*)", var)
- }
- }
- SendChat("/p")
- SoundPlay, avixa.avi
- if(var1 == "" || var1 == " " || var1 == " " || var1 == "-1")
- {
- var1 := "Sir "
- }
- StringTrimRight Anrufer, var1, 1
- FormatTime, Uhrzeit,, HH
- if (Uhrzeit >= 12 && Uhrzeit < 20)
- {
- SendChat("Guten Tag " . Anrufer . ", Sie sprechen mit " . Benutzername . ".")
- }
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("Guten Abend " . Anrufer . ", Sie sprechen mit " . Benutzername . ".")
- }
- if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("Guten Morgen " . Anrufer . ", Sie sprechen mit " . Benutzername . ".")
- }
- SendChat("Wie kann ich Ihnen behilflich sein?")
- return
- :?:/ab::
- Suspend Permit
- SoundPlay, xavi.avi
- SendChat("/p")
- FormatTime, Uhrzeit,, HH
- if (Uhrzeit >= 12 && Uhrzeit < 20)
- {
- SendChat("Guten Tag, Sie sind verbunden mit dem Anrufbeantworter von " . Benutzername . "")
- }
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("Guten Abend, Sie sind verbunden mit dem Anrufbeantworter von " . Benutzername . "")
- }
- if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("Guten Morgen, Sie sind verbunden mit dem Anrufbeantworter von " . Benutzername . "")
- }
- Sleep 1000
- SendChat("Leider habe ich keine Zeit, bitte versuchen Sie es später erneut.")
- SendChat("/h")
- return
- :?:/jas::
- Suspend Permit
- SendChat("Ja Sir, was kann ich für Sie tun?")
- return
- :?:/jam::
- Suspend Permit
- SendChat("Ja Madam, was kann ich für Sie tun?")
- return
- :?:/ja::
- SendChat("Ja, was kann ich für Sie tun?")
- return
- :?:/danke::
- Suspend Permit
- SendChat("Vielen Dank für Ihren Anruf. Schönen Tag noch.")
- SendChat("/h")
- return
- :?:/tag::
- Suspend Permit
- FormatTime, Uhrzeit,, HH
- if (Uhrzeit >= 12 && Uhrzeit < 20)
- {
- SendChat("Guten Tag Sir, was kann ich für Sie tun?")
- }
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("Guten Abend Sir, was kann ich für Sie tun?")
- }
- if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("Guten Morgen Sir, was kann ich für Sie tun?")
- }
- return
- :?:/bye::
- Suspend Permit
- FormatTime, Uhrzeit,, HH
- if (Uhrzeit >= 12 && Uhrzeit < 20)
- {
- SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
- }
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("Ich wünsche Ihnen noch einen schönen Abend. Auf Wiedersehen.")
- }
- if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("Ich wünsche Ihnen noch einen schönen Tag. Auf Wiedersehen.")
- }
- return
- :?:/on::
- Suspend Permit
- SendChat("/hitsound")
- SendChat("/messages")
- Sleep, 850
- SendChat("/tog")
- Sleep, 200
- SendInput {enter}
- return
- :?:/pbmodus::
- Suspend Permit
- if(paintballmodus == 0)
- {
- paintballmodus := 1
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast den Paintball-Modus {00FF00}aktiviert{FFFFFF}.")
- }
- else
- {
- paintballmodus := 0
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast den Paintball-Modus {FF0000}deaktiviert{FFFFFF}.")
- }
- return
- :?:/gstats::
- Suspend Permit
- IniRead, Flaggen, %Settings%, Zähler, Flaggen, 0
- IniRead, GFTode, %Settings%, Gangfight, GFTode, 0
- IniRead, GFKills, %Settings%, Gangfight, GFKills, 0
- IniRead, PBTode, %Settings%, Zähler, PBTode, 0
- IniRead, PBKills, %Settings%, Zähler, PBKills, 0
- IniRead, Kills, %Settings%, Killzähler, Kills, 0
- IniRead, Deaths, %Settings%, Todeszähler, Deaths, 0
- IniRead, KillstreakRekord, %Settings%, Zähler, KillstreakRekord, 0
- PBKD := PBKills / PBTode
- PBKD := Round(PBKD, 2)
- KD := Kills / Deaths
- KD := Round(KD, 2)
- GFKD := GFKills / GFTode
- GFKD := Round(GFKD, 2)
- FormatTime, TagMonatJahr,,dd.MM.yyyy
- IniRead, DKills, %Tagesstatistik%, %TagMonatJahr%, DKills, 0
- IniRead, DDeaths, %Tagesstatistik%, %TagMonatJahr%, DDeaths, 0
- DKD := DKills / Deaths
- DKD := Round(DKD, 2)
- ShowDialog(0, "Gang / Mafia Statistik","{FFFFFF}Allgemein`n`nKills: {FFBB00}" . Kills . "`n{FFFFFF}Tode: {FFBB00}" . Deaths . "`n{FFFFFF}K/D: {FFBB00}" . KD . "`n`n{FFFFFF}Tagesstatistik `nKills: {FFBB00}" . DKills . "`n{FFFFFF}Tode: {FFBB00}" . DDeaths . "`n{FFFFFF}K/D: {FFBB00}" . DKD . "`n`n{FFFFFF}Gangfight`n`nEingenommene Flaggen: {FFBB00}" . Flaggen . "`n{FFFFFF}GF-Kills: {FFBB00}" . GFKills . "`n{FFFFFF}GF-Tode: {FFBB00}" . GFTode . "`n{FFFFFF}GF-K/D: {FFBB00}" . GFKD . "`n`n{FFFFFF}Paintball`n`nPB-Kills: {FFBB00}" . PBKills . "`n{FFFFFF}PB-Tode: {FFBB00}" . PBTode . "`n{FFFFFF}PB-K/D: {FFBB00}" . PBKD . "`n`n{FFFFFF}Killstreaks`n`nAktueller: {FFBB00}" . Killstreak . "`n{FFFFFF}Höchster: {FFBB00}" . KillstreakRekord . "", "Verlassen")
- return
- :?:/savestats::
- Suspend Permit
- FormatTime, StatsZeit, dd.MM.yyyy
- AddChatMessage(0x2090B3, "|Universal-Binder| {AEFF00}Statistiken werden gespeichert, Datum " StatsZeit)
- SendChat("/time")
- Sleep, 250
- SendChat("/stats")
- Sleep, 250
- Send {F8}
- Sleep, 250
- Send {ESC}
- return
- :?:/relog::
- Suspend Permit
- SendInput /q{enter}
- Sleep 3000
- Suspend Off
- RegRead GTA_SA_EXE, HKEY_CURRENT_USER, Software\samp, gta_sa_exe
- SplitPath, GTA_SA_EXE,, PFAD
- run %PFAD%\samp.exe 31.214.160.11:7777, %PFAD%
- return
- :?:/fan::
- Suspend Permit
- Fan := PlayerInput("Fan-ID: ")
- GetPlayerNameById(Fan, name)
- SendChat("/me gibt " name " ein Autogramm.")
- return
- :?:/kochen::
- Suspend Permit
- SendChat("/cook fish 1")
- SendChat("/cook fish 2")
- Sleep 1250
- SendChat("/cook fish 3")
- SendChat("/cook fish 4")
- Sleep 1250
- SendChat("/cook fish 5")
- return
- :?:/re::
- Suspend Permit
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if InStr(A_LoopReadLine, ", Sender: " . Name)
- continue
- {
- if InStr(A_LoopReadLine, ", Sender: ")
- {
- RegExMatch(A_LoopReadLine, ", Sender: .* \((.*)\)" ,SMS)
- }
- }
- }
- SendInput /sms %SMS1%{space}
- return
- :?:/read::
- Suspend Permit
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- if InStr(A_LoopReadLine, "Werbung: ")
- {
- RegExMatch(A_LoopReadLine, "Werbung\: (.*)\, (.*) \((.*)\)" ,AD)
- }
- }
- SendInput /sms %AD3%{space}
- return
- ~,::
- SendChat("Stoppuhr gestartet!")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Um die Stoppuhr zu beenden, drücke '.'")
- zeit=0
- Loop,
- {
- zeit++
- KeyWait, ., D T1
- If !ErrorLevel
- {
- If ( Prüfungszeit < 1000)
- {
- minuten=%zeit%
- minuten/=60
- minuten1=%minuten%
- minuten1*=60
- sekunden=%zeit%
- sekunden-=%minuten1%
- SendChat("Stoppuhr gestoppt. Minute: " . minuten . " Sekunden: " . Sekunden)
- SendChat("Gesamt: " . zeit . " Sekunden")
- break
- }
- }
- }
- return
- :?:/fischen::
- Suspend Permit
- If (IsPlayerinAnyInterior() == 1)
- {
- Geld_vorher := GetPlayerMoney()
- SendChat("/sell fish 1")
- sleep 200
- GetChatLine(0, chat)
- if(InStr(chat, "Du bist in keinem 24-7!"))
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Verkaufen abgebrochen. Bitte gehe in einen 24-7 Shop.")
- return
- }
- Sleep, 300
- SendChat("/sell fish 2")
- sleep 500
- SendChat("/sell fish 3")
- sleep 500
- SendChat("/sell fish 4")
- sleep 500
- SendChat("/sell fish 5")
- sleep 500
- Geld_nachher := GetPlayerMoney()
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Deine Fische wurden verkauft, du hast insgesamt {FFBB00}" Geld_nachher - Geld_vorher "{FFFFFF}$ verdient.")
- return
- }
- else
- {
- Loop
- {
- Sleep, 600
- SendChat("/fish")
- Sleep, 200
- GetChatLine(0, chat)
- if(InStr(chat, "Du bist an keinem Angelplatz (Big Wheel Rods) oder an einem Fischerboot!") || InStr(chat, "Du kannst nur 5 Fische bei dir tragen.") || InStr(chat, "Du kannst momentan nicht Angeln. Bitte warte einige Minuten."))
- {
- if(InStr(chat, "Du kannst momentan nicht Angeln. Bitte warte einige Minuten."))
- {
- Fishzeit := 1200
- Fishminute := 19
- Fishsekunde := 60
- SetTimer, Fischen, 1000
- }
- Loop 25
- {
- fischges += fisch%A_Index%
- }
- if(fischges > 0)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du würdest für deine Fische {FFBB00}" fischges "{FFFFFF}$ bekommen.")
- fischLBS := fischLBSGesamt / 3
- fischLBS := Round(fischLBS, 0)
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du würdest mit deinen Fischen {FFBB00}" fischLBS "{FFFFFF} HP generieren.")
- Loop 25
- {
- fisch%A_Index% := 0
- }
- fischges := 0
- fischLBS := 0
- fischLBSGesamt := 0
- }
- break
- }
- if(InStr(chat, "Du hast ein/e ") AND RegExMatch(chat, "Du hast ein/e (.*) mit (.*) LBS gefangen.", chat))
- {
- if(chat1 == "Bernfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 1
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Blauer Fächerfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 2
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Zackenbarsch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 3
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Schwertfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 3
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Roter Schnapper")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 3
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Katzenfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 4
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Forelle")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 5
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Segelfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 7
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Hai")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 7
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Delphin")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 7
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Makrele")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 8
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Hecht")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 9
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Aal")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 9
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Schildkröte")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 10
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Thunfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 12
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Wolfbarsch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 12
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- continue
- }
- }
- }
- return
- Fischen:
- if(Fishzeit >= "0")
- {
- Fishzeit--
- Fishmin++
- Fishsekunde--
- if(Fishmin == "60")
- {
- Fishmin := 0
- Fishminute -= 1
- Fishsekunde := 0
- }
- if(Fishsekunde == "0")
- {
- Fishsekunde := 60
- }
- Fishoverlay := "Noch " . Fishminute . ":" . Fishsekunde . " Minuten gesperrt."
- }
- if(Fishzeit == "0")
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du kannst nun wieder am Angelsteg angeln.")
- Fishoverlay := "Du kannst am Angelsteg angeln."
- SetTimer, Fischen, off
- }
- return
- ErsteHilfe:
- if(Erstehilfezeit >= "0")
- {
- Erstehilfezeit--
- Erstehilfemin++
- Erstehilfesekunde--
- if(Erstehilfemin == "60")
- {
- Erstehilfemin := 0
- Erstehilfeminute -= 1
- Erstehilfesekunde := 0
- }
- if(Erstehilfesekunde == "0")
- {
- Erstehilfesekunde := 60
- }
- Erstehilfeoverlay := "Noch" . Erstehilfeminute . ":" . Erstehilfesekunde . " Minuten gesperrt."
- }
- if(Erstehilfezeit == "0")
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du kannst wieder ein ErsteHilfe-Paket verwenden.")
- Erstehilfeoverlay := "Nicht gesperrt"
- Settimer, ErsteHilfe, off
- }
- return
- Krankenhaus:
- Krankenhaus--
- KrankenhausOverlay := "Noch " . Krankenhaus . " Sekunden in Behandlung."
- if(Krankenhaus == 0)
- {
- SetTimer, Krankenhaus, off
- KrankenhausOverlay := "Nicht in Behandlung"
- }
- return
- :?:/chat::
- Suspend Permit
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- AddChatMessage(0xFFFFFF, " ")
- return
- :?:/alotto::
- Suspend Permit
- Random, rand, 1, 200
- SendChat("/lotto " rand)
- return
- :?:/neustart::
- Suspend Permit
- SetTimer, Systeme, off
- Sleep, 500
- SetTimer, Systeme, 500
- GtaCheckTrue := "1"
- return
- :?:/vip::
- Suspend Permit
- IniRead, VIP, %Settings%, VIP, VIP, 0
- if(VIP == 0)
- {
- VIP := 1
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist VIP User.")
- }
- else
- {
- VIP := 0
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist kein VIP User.")
- }
- IniWrite, %VIP%, %Settings%, VIP, VIP
- return
- :?:/overlay::
- Suspend Permit
- if(Overlay!=1)
- {
- Status_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, overlay_posy, 0xFFFFFFFF, "", true, false)
- Ort_Ov := TextCreate("Arial", Ort_size, false, false, Ort_posx, Ort_posy, 0xFFFFFFFF, "", true, false)
- HP_Ov := TextCreate("Comic Sans MS", HP_size, false, false, HP_posx, HP_posy, 0xFFFFFFFF, "", true, false)
- Settimer, Ov_Update, 1500
- TextSetShown(Status_Ov, 1)
- TextSetShown(Ort_Ov, 1)
- TextSetShown(HP_Ov, 1)
- Overlay := 1
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Overlay {00FF00}eingeschaltet{FFFFFF}.")
- loop 6
- {
- Box%A_Index% := BoxCreate(400,A_INDEX*22+100,80,20,0xBA000000,0)
- boxtext%A_INDEX% := TextCreate("Arial", 6, 1, 0, 408, A_INDEX*22+105, 0xFFFFFFFF, bt%A_Index%, 0, 0)
- }
- BoxSetColor(Box1,0xFF000000)
- BoxSetBorder(Box2,2,1)
- BoxSetBorderColor(Box2,0xFFFFFFFF)
- }
- else
- {
- TextDestroy(Status_Ov)
- TextDestroy(Ort_Ov)
- TextDestroy(HP_Ov)
- Overlay := !Overlay
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Overlay {FF0000}ausgeschaltet{FFFFFF}.")
- Loop 6
- {
- BoxDestroy(Box%A_Index%)
- TextDestroy(Box%A_Index%)
- }
- }
- return
- :?:/move overlay::
- Suspend Permit
- if(Overlay)
- {
- if(Menu_Overlay == 0 && Menu_HP == 0 && Menu_Ort == 0)
- {
- Menu_Overlay = 1
- Menu_HP = 0
- Menu_Ort = 0
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Overlay-Verschiebung ist nun möglich (Bestätigung der Einstellungen mit NumPadEnter).")
- Settimer, Ov_Update, Off
- SetTimer, Ov_Update, 100
- }
- else
- {
- Menu_Overlay := 0
- Menu_HP := 0
- Menu_Ort := 0
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Verschiebung des Overlays abgebrochen.")
- Loop 6
- {
- BoxSetShown(Box%A_INDex%, false)
- TextSetShown(boxtext%A_index%, false)
- }
- TextSetColor(boxtext6,0xFFFFFFFF)
- Settimer, Ov_Update, Off
- Settimer, Ov_Update, 1500
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Starte zunächst bitte das Overlay.")
- }
- return
- :?:/speichern::
- Suspend Permit
- if(Menu_Overlay || Menu_HP || Menu_Ort)
- {
- IniWrite, %Overlay_size%, %Overlays%, Status Overlay, Overlay_size
- IniWrite, %Overlay_posx%, %Overlays%, Status Overlay, Overlay_posx
- IniWrite, %Overlay_posy%, %Overlays%, Status Overlay, Overlay_posy
- IniWrite, %HP_size%, %Overlays%, HP Overlay, HP_size
- IniWrite, %HP_posx%, %Overlays%, HP Overlay, HP_posx
- IniWrite, %HP_posy%, %Overlays%, HP Overlay, HP_posy
- IniWrite, %Ort_size%, %Overlays%, Ort Overlay, Ort_size
- IniWrite, %Ort_posx%, %Overlays%, Ort Overlay, Ort_posx
- IniWrite, %Ort_posy%, %Overlays%, Ort Overlay, Ort_posy
- SetTimer, Ov_Update, off
- TextSetString(boxtext6,"Einstellungen gespeichert")
- TextSetColor(boxtext6,0xFF4DFF55)
- sleep 1000
- Menu_Overlay := 0
- Menu_HP := 0
- Menu_Ort := 0
- Loop 6
- {
- BoxSetShown(Box%A_INDex%, false)
- TextSetShown(boxtext%A_index%,false)
- }
- TextSetColor(boxtext6,0xFFFFFFFF)
- Settimer, Ov_Update, 1500
- }
- return
- Ov_Update:
- if(WinExist("GTA:SA:MP") && WinActive("GTA:SA:MP"))
- {
- GetZoneName(Zone)
- GetCityName(City)
- MyID := GetPlayerID()
- if(MyID == "65535" || MyID == "-1")
- {
- MyID := GetPlayerID()
- if(MyID == "65535" || MyID == "-1")
- {
- MyID := "-"
- }
- }
- FPS := GetFramerate()
- IniRead, KillstreakRekord, %Settings%, Zähler, KillstreakRekord, 0
- IniRead, Kills, %Settings%, Killzähler, Kills, 0
- IniRead, Deaths, %Settings%, Todeszähler, Deaths, 0
- KD := Kills / Deaths
- KD := Round(KD, 2)
- if(IsPlayerInAnyVehicle())
- {
- if(IsVehicleLocked())
- {
- Lockstatus := "{2EA100}Fahrzeug abgeschlossen{FFFFFF}"
- }
- else
- {
- Lockstatus := "{CC0000}Fahrzeug aufgeschlossen{FFFFFF}"
- }
- if(IsVehicleLightEnabled())
- {
- Lichtstatus := "{2EA100}Licht eingeschaltet{FFFFFF}"
- }
- else
- {
- Lichtstatus := "{CC0000}Licht ausgeschaltet{FFFFFF}"
- }
- GetVehicleModelName(FahrzeugName)
- CarDL := GetVehicleHealth()
- CarDL := floor(CarDL)
- FahrzeugHealth := (CarDL / 1000)*100
- FahrzeugHealth := floor(FahrzeugHealth)
- TextSetString(Status_Ov, "{0066FF}Spieler Informationen{FFFFFF}`n{FFBB00}" . Name . "{FFFFFF} (ID: {FFBB00}" MyID "{FFFFFF}) (FPS: {FFBB00}" FPS "{FFFFFF}) `nLeben: {FFBB00}"HP "{FFFFFF} `n`n{0066FF}Fahrzeug Informationen{FFFFFF} ({0066FF}" . FahrzeugName . "{FFFFFF}) `nLock-Status: " . Lockstatus . "{FFFFFF} `nLicht-Status: " . Lichtstatus . "`n{FFFFFF}Fahrzeugzustand: {FFBB00}" . FahrzeugHealth "{FFFFFF}% ( {FFBB00}" . CarDL . "{FFFFFF} CarDL) `n`nFischen: {FFBB00}" Fishoverlay "{FFFFFF} `nErste-Hilfe: {FFBB00}" ErsteHilfeOverlay "{FFFFFF} `nKrankenhaus: {FFBB00}" KrankenhausOverlay "{FFFFFF} `n`nKills: {FFBB00}" Kills "{FFFFFF} `nTode: {FFBB00}" Deaths "{FFFFFF} `nK/D: {FFBB00}" KD "{FFFFFF} `nAktueller Killstreak: {FFBB00}" Killstreak "{FFFFFF} `nHöchsterKillstreak: {FFBB00}" KillstreakRekord "{FFFFFF}")
- }
- else
- {
- TextSetString(Status_Ov, "{0066FF}Spieler Informationen{FFFFFF}`n{FFBB00}" . Name . "{FFFFFF} (ID: {FFBB00}" MyID "{FFFFFF}) (FPS: {FFBB00}" FPS "{FFFFFF}) `nLeben: {FFBB00}"HP "{FFFFFF} `n`nFischen: {FFBB00}" Fishoverlay "{FFFFFF} `nErste-Hilfe: {FFBB00}" ErsteHilfeOverlay "{FFFFFF} `nKrankenhaus: {FFBB00}" KrankenhausOverlay "{FFFFFF} `n`nKills: {FFBB00}" Kills "{FFFFFF} `nTode: {FFBB00}" Deaths "{FFFFFF} `nK/D: {FFBB00}" KD "{FFFFFF} `nAktueller Killstreak: {FFBB00}" Killstreak "{FFFFFF} `nHöchsterKillstreak: {FFBB00}" KillstreakRekord "{FFFFFF}")
- }
- TextSetString(HP_Ov, "" . HP . "")
- GetPlayerPosition(x, y, z, r)
- If(IsPlayerInAnyInterior())
- {
- If(x > 318.199036 && x < 388.445953 && y > 148.873856 && y < 217.235733)
- {
- TextSetString(Ort_Ov, "Stadthalle")
- TextSetColor(Ortt_Ov, 0xFFFF0000)
- }
- else
- {
- TextSetString(Ort_Ov, "Interior")
- TextSetColor(Ort_Ov, 0xFF0000FF)
- }
- }
- else
- {
- TextSetString(Ort_Ov, "" . zone . ", " . city . "")
- If(IsPlayerInNoDM(x, y, z))
- {
- TextSetColor(Ort_Ov, 0xFFFF0000)
- }
- else
- {
- TextSetColor(Ort_Ov, 0xFFFFFFFF)
- }
- }
- if(Menu_Overlay || Menu_HP || Menu_Ort)
- {
- bt1 := "Overlay by Bender"
- if(Menu_Overlay)
- {
- bt2 := "Overlay: {8C8C8C} Status"
- bt3 := "Size: {8C8C8C}" overlay_size
- bt4 := "X: {8C8C8C}" overlay_posx
- bt5 := "Y: {8C8C8C}" overlay_posy
- }
- else if(Menu_HP)
- {
- bt2 := "Overlay: {8C8C8C} HP"
- bt3 := "Size: {8C8C8C}" HP_size
- bt4 := "X: {8C8C8C}" HP_posx
- bt5 := "Y: {8C8C8C}" HP_posy
- }
- else if(Menu_Ort)
- {
- bt2 := "Overlay: {8C8C8C} Ort"
- bt3 := "Size: {8C8C8C}" Ort_size
- bt4 := "X: {8C8C8C}" Ort_posx
- bt5 := "Y: {8C8C8C}" Ort_posy
- }
- bt6 := "Einstellungen speichern"
- Loop,6
- {
- TextSetString(Boxtext%A_Index%,bt%A_Index%)
- BoxSetShown(Box%A_INDex%, 1)
- TextSetShown(boxtext%A_index%,1)
- }
- if switcher = 2
- {
- BoxSetBorder(Box2,2,1)
- BoxSetBorder(Box3,2,0)
- BoxSetBorder(Box6,2,0)
- BoxSetBorderColor(Box2,0xFFFFFFFF)
- }
- if switcher = 3
- {
- BoxSetBorder(Box2,2,0)
- BoxSetBorder(Box3,2,1)
- BoxSetBorder(Box4,2,0)
- BoxSetBorderColor(Box3,0xFFFFFFFF)
- }
- if switcher = 4
- {
- BoxSetBorder(Box3,2,0)
- BoxSetBorder(Box4,2,4)
- BoxSetBorder(Box5,2,0)
- BoxSetBorderColor(Box4,0xFFFFFFFF)
- }
- if switcher = 5
- {
- BoxSetBorder(Box4,2,0)
- BoxSetBorder(Box5,2,1)
- BoxSetBorder(Box6,2,0)
- BoxSetBorderColor(Box5,0xFFFFFFFF)
- }
- if switcher = 6
- {
- BoxSetBorder(Box2,2,0)
- BoxSetBorder(Box5,2,0)
- BoxSetBorder(Box6,2,1)
- BoxSetBorderColor(Box6,0xFFFFFFFF)
- }
- if switcher > 6
- switcher = 2
- if switcher < 2
- switcher = 6
- }
- if (!Menu_Overlay && !Menu_HP && !Menu_Ort)
- {
- Loop,6
- {
- BoxSetShown(Box%A_INDex%, false)
- TextSetShown(boxtext%A_index%, false)
- }
- }
- }
- return
- ~Up::
- if (IsChatOpen() == 1 || IsDialogOpen == 1)
- return
- if(Menu_Overlay || Menu_HP || Menu_Ort)
- {
- switcher--
- }
- return
- ~Down::
- if (IsChatOpen() == 1 || IsDialogOpen == 1)
- return
- if(Menu_Overlay || Menu_HP || Menu_Ort)
- {
- switcher++
- }
- return
- ~left::
- if (IsChatOpen() == 1 || IsDialogOpen == 1)
- return
- if Menu_Overlay
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 0
- Menu_Ort := 1
- Menu_HP := 0
- }
- if(Switcher == 3)
- {
- overlay_size--
- TextUpdate(Status_Ov, "Arial", overlay_size, 1, 0)
- }
- if(Switcher == 4)
- {
- overlay_posx--
- TextSetPos(Status_Ov, Overlay_posx, Overlay_posy)
- }
- if(Switcher == 5)
- {
- overlay_posy--
- TextSetPos(Status_Ov, Overlay_posx, Overlay_posy)
- }
- }
- else if(Menu_HP)
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 1
- Menu_Ort := 0
- Menu_HP := 0
- }
- if(Switcher == 3)
- {
- HP_size--
- TextUpdate(HP_Ov, "Comic Sans MS", HP_size, 1, 0)
- }
- if(Switcher == 4)
- {
- HP_posx--
- TextSetPos(HP_Ov, HP_posx, HP_posy)
- }
- if(Switcher == 5)
- {
- HP_posy--
- TextSetPos(HP_Ov, HP_posx, HP_posy)
- }
- }
- else if(Menu_Ort)
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 0
- Menu_Ort := 0
- Menu_HP := 1
- }
- if(Switcher == 3)
- {
- Ort_size--
- TextUpdate(Ort_Ov, "Arial", Ort_size, 1, 0)
- }
- if(Switcher == 4)
- {
- Ort_posx--
- TextSetPos(Ort_Ov, Ort_posx, Ort_posy)
- }
- if(Switcher == 5)
- {
- Ort_posy--
- TextSetPos(Ort_Ov, Ort_posx, Ort_posy)
- }
- }
- return
- ~right::
- if (IsChatOpen() == 1 || IsDialogOpen == 1)
- return
- if Menu_Overlay
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 0
- Menu_Ort := 0
- Menu_HP := 1
- }
- if(Switcher == 3)
- {
- overlay_size++
- TextUpdate(Status_Ov, "Arial", overlay_size, 1, 0)
- }
- if(Switcher == 4)
- {
- overlay_posx++
- TextSetPos(Status_Ov, Overlay_posx, Overlay_posy)
- }
- if(Switcher == 5)
- {
- overlay_posy++
- TextSetPos(Status_Ov, Overlay_posx, Overlay_posy)
- }
- }
- else if(Menu_HP)
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 0
- Menu_Ort := 1
- Menu_HP := 0
- }
- if(Switcher == 3)
- {
- HP_size++
- TextUpdate(HP_Ov, "Comic Sans MS", HP_size, 1, 0)
- }
- if(Switcher == 4)
- {
- HP_posx++
- TextSetPos(HP_Ov, HP_posx, HP_posy)
- }
- if(Switcher == 5)
- {
- HP_posy++
- TextSetPos(HP_Ov, HP_posx, HP_posy)
- }
- }
- else if(Menu_Ort)
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 1
- Menu_Ort := 0
- Menu_HP := 0
- }
- if(Switcher == 3)
- {
- Ort_size++
- TextUpdate(Ort_Ov, "Arial", Ort_size, 1, 0)
- }
- if(Switcher == 4)
- {
- Ort_posx++
- TextSetPos(Ort_Ov, Ort_posx, Ort_posy)
- }
- if(Switcher == 5)
- {
- Ort_posy++
- TextSetPos(Ort_Ov, Ort_posx, Ort_posy)
- }
- }
- return
- IsPlayerInNoDM(x, y, z)
- {
- result := ""
- if(x<1561.5 && x>1387.8 && y<-1727.6 && y>-1870)
- {
- result := 1
- }
- else if(x>1688.8 && x<1820.8 && y<-1859.5 && y>-1961.2)
- {
- result := 1
- }
- return result
- }
- :?:/radiohelp::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Hilfe: Radio")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}/gtapop, /gtarock, /gtahiphop, /gtadubstep, /gtatechno")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}/iloveradio, /ilovetodance, /ilovethedome, /iloveyou, /ilovemashup")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}/stream (Eigener Stream)")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}/radioaus")
- return
- :?:/gtapop::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio Pop.")
- goto Radio_GTA_Pop
- return
- :?:/gtarock::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio Rock.")
- goto Radio_GTA_Rock
- return
- :?:/gtahiphop::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio HipHop.")
- goto Radio_GTA_HipHop
- return
- :?:/gtadubstep::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio Dubstep.")
- goto Radio_GTA_Dubstep
- return
- :?:/gtatechno::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}GTA Radio Techno.")
- goto Radio_GTA_Techno
- return
- :?:/iloveradio::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love Radio.")
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen.m3u,, Hide
- return
- :?:/ilovetodance::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love 2 Dance.")
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen2.m3u,, Hide
- return
- :?:/ilovethedome::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love The Dome.")
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen3.m3u,, Hide
- return
- :?:/iloveyou::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love You.")
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen4.m3u,, Hide
- return
- :?:/ilovemashup::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun {FFD700}I Love Mashup Radio.")
- Run %A_programfiles%\Windows Media Player\wmplayer.exe http://www.iloveradio.de//listen5.m3u,, Hide
- return
- :?:/stream::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie hören nun Ihren {FFD700}eigenen Stream.")
- IniRead, EigenerStream, %settings%, Radio, Eigener Stream
- Run %A_programfiles%\Windows Media Player\wmplayer.exe %EigenerStream%,, Hide
- return
- :?:/radioaus::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Sie haben das Radio {FF0000}ausgeschaltet.")
- goto Radio_aus
- return
- :?:/rmpos::
- Suspend Permit
- exe := OpenMemoryfromTitle_("GTA:SA:MP")
- posX := ReadMemory_(exe,0xC7DEC8,"Float")
- posY := ReadMemory_(exe,0xC7DECC,"Float")
- posZ := ReadMemory_(exe, 0xC7DED0,"Float")
- CloseMemory_(exe)
- posX := Floor(posX)
- posY := Floor(posY)
- posZ := Floor(posZ)
- Zone := GetZoneByCoords(posX, posY, posZ)
- City := GetCityByCoords(posX, posY, posZ)
- Entfernung := GetDistanceFromPoint(posX, posY, posZ)
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Der Marker befindet sich in {FFBB00}" . Zone . "{FFFFFF}, {FFBB00}" . City . "{FFFFFF}.")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Die Entfernung beträgt {FFBB00}" . Entfernung . "{FFFFFF}m.")
- return
- GetCityByCoords(posX, posY, posZ)
- {
- if (posX >= 685.0) and (posY >= 476.093) and (posZ >= -500.0) and (posX <= 3000.0) and (posY <= 3000.0) and (posZ <= 500.0)
- {
- CityName := "Las Venturas"
- }
- else if (posX >= -3000.0) and (posY >= -742.306) and (posZ >= -500.0) and (posX <= -1270.53) and (posY <= 1530.24) and (posZ <= 500.0)
- {
- CityName := "San Fierro"
- }
- else if (posX >= -1270.53) and (posY >= -402.481) and (posZ >= -500.0) and (posX <= -1038.45) and (posY <= 832.495) and (posZ <= 500.0)
- {
- CityName := "San Fierro"
- }
- else if (posX >= -1038.45) and (posY >= -145.539) and (posZ >= -500.0) and (posX <= -897.546) and (posY <= 376.632) and (posZ <= 500.0)
- {
- CityName := "San Fierro"
- }
- else if (posX >= 480.0) and (posY >= -3000.0) and (posZ >= -500.0) and (posX <= 3000.0) and (posY <= -850.0) and (posZ <= 500.0)
- {
- CityName := "Los Santos"
- }
- else if (posX >= 80.0) and (posY >= -2101.61) and (posZ >= -500.0) and (posX <= 1075.0) and (posY <= -1239.61) and (posZ <= 500.0)
- {
- CityName := "Los Santos"
- }
- else if (posX >= -1213.91) and (posY >= 596.349) and (posZ >= -242.99) and (posX <= -480.539) and (posY <= 1659.68) and (posZ <= 900.0)
- {
- CityName := "Tierra Robada"
- }
- else if (posX >= -1213.91) and (posY >= -768.027) and (posZ >= -242.99) and (posX <= 2997.06) and (posY <= 596.349) and (posZ <= 900.0)
- {
- CityName := "Red County"
- }
- else if (posX >= -1213.91) and (posY >= -2892.97) and (posZ >= -242.99) and (posX <= 44.6147) and (posY <= -768.027) and (posZ <= 900.0)
- {
- CityName := "Flint County"
- }
- else if (posX >= -2997.47) and (posY >= -2892.97) and (posZ >= -242.99) and (posX <= -1213.91) and (posY <= -1115.58) and (posZ <= 900.0)
- {
- CityName := "Whetstone"
- }
- else
- {
- CityName := "Unbekannt"
- }
- return CityName
- }
- GetZoneByCoords(posX, posY, posZ)
- {
- if (posX >= -2667.810) and (posY >= -302.135) and (posZ >= -28.831) and (posX <= -2646.400) and (posY <= -262.320) and (posZ <= 71.169)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= -1315.420) and (posY >= -405.388) and (posZ >= 15.406) and (posX <= -1264.400) and (posY <= -209.543) and (posZ <= 25.406)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= -2550.040) and (posY >= -355.493) and (posZ >= 0.000) and (posX <= -2470.040) and (posY <= -318.493) and (posZ <= 39.700)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= -1490.330) and (posY >= -209.543) and (posZ >= 15.406) and (posX <= -1264.400) and (posY <= -148.388) and (posZ <= 25.406)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= -2395.140) and (posY >= -222.589) and (posZ >= -5.3) and (posX <= -2354.090) and (posY <= -204.792) and (posZ <= 200.000)
- {
- ZoneName := "Garcia"
- }
- else if (posX >= -1632.830) and (posY >= -2263.440) and (posZ >= -3.0) and (posX <= -1601.330) and (posY <= -2231.790) and (posZ <= 200.000)
- {
- ZoneName := "Shady Cabin"
- }
- else if (posX >= 2381.680) and (posY >= -1494.030) and (posZ >= -89.084) and (posX <= 2421.030) and (posY <= -1454.350) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 1236.630) and (posY >= 1163.410) and (posZ >= -89.084) and (posX <= 1277.050) and (posY <= 1203.280) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= 1277.050) and (posY >= 1044.690) and (posZ >= -89.084) and (posX <= 1315.350) and (posY <= 1087.630) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Intersection"
- }
- else if (posX >= -2470.040) and (posY >= -355.493) and (posZ >= 0.000) and (posX <= -2270.040) and (posY <= -318.493) and (posZ <= 46.100)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= 1252.330) and (posY >= -926.999) and (posZ >= -89.084) and (posX <= 1357.000) and (posY <= -910.170) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 1692.620) and (posY >= -1971.800) and (posZ >= -20.492) and (posX <= 1812.620) and (posY <= -1932.800) and (posZ <= 79.508)
- {
- ZoneName := "Unity Station"
- }
- else if (posX >= 1315.350) and (posY >= 1044.690) and (posZ >= -89.084) and (posX <= 1375.600) and (posY <= 1087.630) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= 2581.730) and (posY >= -1454.350) and (posZ >= -89.084) and (posX <= 2632.830) and (posY <= -1393.420) and (posZ <= 110.916)
- {
- ZoneName := "Los Flores"
- }
- else if (posX >= 2437.390) and (posY >= 1858.100) and (posZ >= -39.084) and (posX <= 2495.090) and (posY <= 1970.850) and (posZ <= 60.916)
- {
- ZoneName := "Starfish Casino"
- }
- else if (posX >= -1132.820) and (posY >= -787.391) and (posZ >= 0.000) and (posX <= -956.476) and (posY <= -768.027) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Chemicals"
- }
- else if (posX >= 1370.850) and (posY >= -1170.870) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -1130.850) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= -1620.300) and (posY >= 1176.520) and (posZ >= -4.5) and (posX <= -1580.010) and (posY <= 1274.260) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade East"
- }
- else if (posX >= 787.461) and (posY >= -1410.930) and (posZ >= -34.126) and (posX <= 866.009) and (posY <= -1310.210) and (posZ <= 65.874)
- {
- ZoneName := "Market Station"
- }
- else if (posX >= 2811.250) and (posY >= 1229.590) and (posZ >= -39.594) and (posX <= 2861.250) and (posY <= 1407.590) and (posZ <= 60.406)
- {
- ZoneName := "Linden Station"
- }
- else if (posX >= 1582.440) and (posY >= 347.457) and (posZ >= 0.000) and (posX <= 1664.620) and (posY <= 401.750) and (posZ <= 200.000)
- {
- ZoneName := "Montgomery Intersection"
- }
- else if (posX >= 2759.250) and (posY >= 296.501) and (posZ >= 0.000) and (posX <= 2774.250) and (posY <= 594.757) and (posZ <= 200.000)
- {
- ZoneName := "Frederick Bridge"
- }
- else if (posX >= 1377.480) and (posY >= 2600.430) and (posZ >= -21.926) and (posX <= 1492.450) and (posY <= 2687.360) and (posZ <= 78.074)
- {
- ZoneName := "Yellow Bell Station"
- }
- else if (posX >= 1507.510) and (posY >= -1385.210) and (posZ >= 110.916) and (posX <= 1582.550) and (posY <= -1325.310) and (posZ <= 335.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 2185.330) and (posY >= -1210.740) and (posZ >= -89.084) and (posX <= 2281.450) and (posY <= -1154.590) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 1318.130) and (posY >= -910.170) and (posZ >= -89.084) and (posX <= 1357.000) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -2361.510) and (posY >= -417.199) and (posZ >= 0.000) and (posX <= -2270.040) and (posY <= -355.493) and (posZ <= 200.000)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= 1996.910) and (posY >= -1449.670) and (posZ >= -89.084) and (posX <= 2056.860) and (posY <= -1350.720) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 1236.630) and (posY >= 2142.860) and (posZ >= -89.084) and (posX <= 1297.470) and (posY <= 2243.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway West"
- }
- else if (posX >= 2124.660) and (posY >= -1494.030) and (posZ >= -89.084) and (posX <= 2266.210) and (posY <= -1449.670) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 1848.400) and (posY >= 2478.490) and (posZ >= -89.084) and (posX <= 1938.800) and (posY <= 2553.490) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 422.680) and (posY >= -1570.200) and (posZ >= -89.084) and (posX <= 466.223) and (posY <= -1406.050) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= -2007.830) and (posY >= 56.306) and (posZ >= 0.000) and (posX <= -1922.000) and (posY <= 224.782) and (posZ <= 100.000)
- {
- ZoneName := "Cranberry Station"
- }
- else if (posX >= 1391.050) and (posY >= -1026.330) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -926.999) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 1704.590) and (posY >= 2243.230) and (posZ >= -89.084) and (posX <= 1777.390) and (posY <= 2342.830) and (posZ <= 110.916)
- {
- ZoneName := "Redsands West"
- }
- else if (posX >= 1758.900) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Little Mexico"
- }
- else if (posX >= 1375.600) and (posY >= 823.228) and (posZ >= -89.084) and (posX <= 1457.390) and (posY <= 919.447) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Intersection"
- }
- else if (posX >= 1974.630) and (posY >= -2394.330) and (posZ >= -39.084) and (posX <= 2089.000) and (posY <= -2256.590) and (posZ <= 60.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= -399.633) and (posY >= -1075.520) and (posZ >= -1.489) and (posX <= -319.033) and (posY <= -977.516) and (posZ <= 198.511)
- {
- ZoneName := "Beacon Hill"
- }
- else if (posX >= 334.503) and (posY >= -1501.950) and (posZ >= -89.084) and (posX <= 422.680) and (posY <= -1406.050) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 225.165) and (posY >= -1369.620) and (posZ >= -89.084) and (posX <= 334.503) and (posY <= -1292.070) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 1724.760) and (posY >= -1250.900) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1150.870) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 2027.400) and (posY >= 1703.230) and (posZ >= -89.084) and (posX <= 2137.400) and (posY <= 1783.230) and (posZ <= 110.916)
- {
- ZoneName := "The Strip"
- }
- else if (posX >= 1378.330) and (posY >= -1130.850) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -1026.330) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 1197.390) and (posY >= 1044.690) and (posZ >= -89.084) and (posX <= 1277.050) and (posY <= 1163.390) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Intersection"
- }
- else if (posX >= 1073.220) and (posY >= -1842.270) and (posZ >= -89.084) and (posX <= 1323.900) and (posY <= -1804.210) and (posZ <= 110.916)
- {
- ZoneName := "Conference Center"
- }
- else if (posX >= 1451.400) and (posY >= 347.457) and (posZ >= -6.1) and (posX <= 1582.440) and (posY <= 420.802) and (posZ <= 200.000)
- {
- ZoneName := "Montgomery"
- }
- else if (posX >= -2270.040) and (posY >= -430.276) and (posZ >= -1.2) and (posX <= -2178.690) and (posY <= -324.114) and (posZ <= 200.000)
- {
- ZoneName := "Foster Valley"
- }
- else if (posX >= 1325.600) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 1375.600) and (posY <= 795.010) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Chapel"
- }
- else if (posX >= 2051.630) and (posY >= -2597.260) and (posZ >= -39.084) and (posX <= 2152.450) and (posY <= -2394.330) and (posZ <= 60.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= 1096.470) and (posY >= -910.170) and (posZ >= -89.084) and (posX <= 1169.130) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 1457.460) and (posY >= 2723.230) and (posZ >= -89.084) and (posX <= 1534.560) and (posY <= 2863.230) and (posZ <= 110.916)
- {
- ZoneName := "Yellow Bell Gol Course"
- }
- else if (posX >= 2027.400) and (posY >= 1783.230) and (posZ >= -89.084) and (posX <= 2162.390) and (posY <= 1863.230) and (posZ <= 110.916)
- {
- ZoneName := "The Strip"
- }
- else if (posX >= 2056.860) and (posY >= -1210.740) and (posZ >= -89.084) and (posX <= 2185.330) and (posY <= -1126.320) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 952.604) and (posY >= -937.184) and (posZ >= -89.084) and (posX <= 1096.470) and (posY <= -860.619) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -1372.140) and (posY >= 2498.520) and (posZ >= 0.000) and (posX <= -1277.590) and (posY <= 2615.350) and (posZ <= 200.000)
- {
- ZoneName := "Aldea Malvada"
- }
- else if (posX >= 2126.860) and (posY >= -1126.320) and (posZ >= -89.084) and (posX <= 2185.330) and (posY <= -934.489) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 1994.330) and (posY >= -1100.820) and (posZ >= -89.084) and (posX <= 2056.860) and (posY <= -920.815) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 647.557) and (posY >= -954.662) and (posZ >= -89.084) and (posX <= 768.694) and (posY <= -860.619) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 1277.050) and (posY >= 1087.630) and (posZ >= -89.084) and (posX <= 1375.600) and (posY <= 1203.280) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= 1377.390) and (posY >= 2433.230) and (posZ >= -89.084) and (posX <= 1534.560) and (posY <= 2507.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 2201.820) and (posY >= -2095.000) and (posZ >= -89.084) and (posX <= 2324.000) and (posY <= -1989.900) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= 1704.590) and (posY >= 2342.830) and (posZ >= -89.084) and (posX <= 1848.400) and (posY <= 2433.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1252.330) and (posY >= -1130.850) and (posZ >= -89.084) and (posX <= 1378.330) and (posY <= -1026.330) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 1701.900) and (posY >= -1842.270) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1722.260) and (posZ <= 110.916)
- {
- ZoneName := "Little Mexico"
- }
- else if (posX >= -2411.220) and (posY >= 373.539) and (posZ >= 0.000) and (posX <= -2253.540) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "Queens"
- }
- else if (posX >= 1515.810) and (posY >= 1586.400) and (posZ >= -12.500) and (posX <= 1729.950) and (posY <= 1714.560) and (posZ <= 87.500)
- {
- ZoneName := "Las Venturas Airport"
- }
- else if (posX >= 225.165) and (posY >= -1292.070) and (posZ >= -89.084) and (posX <= 466.223) and (posY <= -1235.070) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 1252.330) and (posY >= -1026.330) and (posZ >= -89.084) and (posX <= 1391.050) and (posY <= -926.999) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 2266.260) and (posY >= -1494.030) and (posZ >= -89.084) and (posX <= 2381.680) and (posY <= -1372.040) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 2623.180) and (posY >= 943.235) and (posZ >= -89.084) and (posX <= 2749.900) and (posY <= 1055.960) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway East"
- }
- else if (posX >= 2541.700) and (posY >= -1941.400) and (posZ >= -89.084) and (posX <= 2703.580) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= 2056.860) and (posY >= -1126.320) and (posZ >= -89.084) and (posX <= 2126.860) and (posY <= -920.815) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 2625.160) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2442.550) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway East"
- }
- else if (posX >= 225.165) and (posY >= -1501.950) and (posZ >= -89.084) and (posX <= 334.503) and (posY <= -1369.620) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= -365.167) and (posY >= 2123.010) and (posZ >= -3.0) and (posX <= -208.570) and (posY <= 2217.680) and (posZ <= 200.000)
- {
- ZoneName := "Las Brujas"
- }
- else if (posX >= 2536.430) and (posY >= 2442.550) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2542.550) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway East"
- }
- else if (posX >= 334.503) and (posY >= -1406.050) and (posZ >= -89.084) and (posX <= 466.223) and (posY <= -1292.070) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 647.557) and (posY >= -1227.280) and (posZ >= -89.084) and (posX <= 787.461) and (posY <= -1118.280) and (posZ <= 110.916)
- {
- ZoneName := "Vinewood"
- }
- else if (posX >= 422.680) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 558.099) and (posY <= -1570.200) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 2498.210) and (posY >= 2542.550) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2626.550) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1724.760) and (posY >= -1430.870) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1250.900) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 225.165) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 312.803) and (posY <= -1501.950) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 2056.860) and (posY >= -1449.670) and (posZ >= -89.084) and (posX <= 2266.210) and (posY <= -1372.040) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 603.035) and (posY >= 264.312) and (posZ >= 0.000) and (posX <= 761.994) and (posY <= 366.572) and (posZ <= 200.000)
- {
- ZoneName := "Hampton Barns"
- }
- else if (posX >= 1096.470) and (posY >= -1130.840) and (posZ >= -89.084) and (posX <= 1252.330) and (posY <= -1026.330) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= -1087.930) and (posY >= 855.370) and (posZ >= -89.084) and (posX <= -961.950) and (posY <= 986.281) and (posZ <= 110.916)
- {
- ZoneName := "Kincaid Bridge"
- }
- else if (posX >= 1046.150) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1161.520) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= 1323.900) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1440.900) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 1357.000) and (posY >= -926.999) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 466.223) and (posY >= -1570.200) and (posZ >= -89.084) and (posX <= 558.099) and (posY <= -1385.070) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 911.802) and (posY >= -860.619) and (posZ >= -89.084) and (posX <= 1096.470) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 768.694) and (posY >= -954.662) and (posZ >= -89.084) and (posX <= 952.604) and (posY <= -860.619) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 2377.390) and (posY >= 788.894) and (posZ >= -89.084) and (posX <= 2537.390) and (posY <= 897.901) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway South"
- }
- else if (posX >= 1812.620) and (posY >= -1852.870) and (posZ >= -89.084) and (posX <= 1971.660) and (posY <= -1742.310) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= 2089.000) and (posY >= -2394.330) and (posZ >= -89.084) and (posX <= 2201.820) and (posY <= -2235.840) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 1370.850) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -1384.950) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 2121.400) and (posY >= 2508.230) and (posZ >= -89.084) and (posX <= 2237.400) and (posY <= 2663.170) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1096.470) and (posY >= -1026.330) and (posZ >= -89.084) and (posX <= 1252.330) and (posY <= -910.170) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 1812.620) and (posY >= -1449.670) and (posZ >= -89.084) and (posX <= 1996.910) and (posY <= -1350.720) and (posZ <= 110.916)
- {
- ZoneName := "Glen Park"
- }
- else if (posX >= -1242.980) and (posY >= -50.096) and (posZ >= 0.000) and (posX <= -1213.910) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= -222.179) and (posY >= 293.324) and (posZ >= 0.000) and (posX <= -122.126) and (posY <= 476.465) and (posZ <= 200.000)
- {
- ZoneName := "Martin Bridge"
- }
- else if (posX >= 2106.700) and (posY >= 1863.230) and (posZ >= -89.084) and (posX <= 2162.390) and (posY <= 2202.760) and (posZ <= 110.916)
- {
- ZoneName := "The Strip"
- }
- else if (posX >= 2541.700) and (posY >= -2059.230) and (posZ >= -89.084) and (posX <= 2703.580) and (posY <= -1941.400) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= 807.922) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 926.922) and (posY <= -1416.250) and (posZ <= 110.916)
- {
- ZoneName := "Marina"
- }
- else if (posX >= 1457.370) and (posY >= 1143.210) and (posZ >= -89.084) and (posX <= 1777.400) and (posY <= 1203.280) and (posZ <= 110.916)
- {
- ZoneName := "Las Venturas Airport"
- }
- else if (posX >= 1812.620) and (posY >= -1742.310) and (posZ >= -89.084) and (posX <= 1951.660) and (posY <= -1602.310) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= -1580.010) and (posY >= 1025.980) and (posZ >= -6.1) and (posX <= -1499.890) and (posY <= 1274.260) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade East"
- }
- else if (posX >= 1370.850) and (posY >= -1384.950) and (posZ >= -89.084) and (posX <= 1463.900) and (posY <= -1170.870) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 1664.620) and (posY >= 401.750) and (posZ >= 0.000) and (posX <= 1785.140) and (posY <= 567.203) and (posZ <= 200.000)
- {
- ZoneName := "The Mako Span"
- }
- else if (posX >= 312.803) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 422.680) and (posY <= -1501.950) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 1440.900) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1583.500) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Pershing Square"
- }
- else if (posX >= 687.802) and (posY >= -860.619) and (posZ >= -89.084) and (posX <= 911.802) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -2741.070) and (posY >= 1490.470) and (posZ >= -6.1) and (posX <= -2616.400) and (posY <= 1659.680) and (posZ <= 200.000)
- {
- ZoneName := "Gant Bridge"
- }
- else if (posX >= 2185.330) and (posY >= -1154.590) and (posZ >= -89.084) and (posX <= 2281.450) and (posY <= -934.489) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 1169.130) and (posY >= -910.170) and (posZ >= -89.084) and (posX <= 1318.130) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 1938.800) and (posY >= 2508.230) and (posZ >= -89.084) and (posX <= 2121.400) and (posY <= 2624.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1667.960) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1430.870) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 72.648) and (posY >= -1544.170) and (posZ >= -89.084) and (posX <= 225.165) and (posY <= -1404.970) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 2536.430) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2625.160) and (posY <= 2442.550) and (posZ <= 110.916)
- {
- ZoneName := "Roca Escalante"
- }
- else if (posX >= 72.648) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 225.165) and (posY <= -1544.170) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 952.663) and (posY >= -1310.210) and (posZ >= -89.084) and (posX <= 1072.660) and (posY <= -1130.850) and (posZ <= 110.916)
- {
- ZoneName := "Market"
- }
- else if (posX >= 2632.740) and (posY >= -1135.040) and (posZ >= -89.084) and (posX <= 2747.740) and (posY <= -945.035) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 861.085) and (posY >= -674.885) and (posZ >= -89.084) and (posX <= 1156.550) and (posY <= -600.896) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -2253.540) and (posY >= 373.539) and (posZ >= -9.1) and (posX <= -1993.280) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "King's"
- }
- else if (posX >= 1848.400) and (posY >= 2342.830) and (posZ >= -89.084) and (posX <= 2011.940) and (posY <= 2478.490) and (posZ <= 110.916)
- {
- ZoneName := "Redsands East"
- }
- else if (posX >= -1580.010) and (posY >= 744.267) and (posZ >= -6.1) and (posX <= -1499.890) and (posY <= 1025.980) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 1046.150) and (posY >= -1804.210) and (posZ >= -89.084) and (posX <= 1323.900) and (posY <= -1722.260) and (posZ <= 110.916)
- {
- ZoneName := "Conference Center"
- }
- else if (posX >= 647.557) and (posY >= -1118.280) and (posZ >= -89.084) and (posX <= 787.461) and (posY <= -954.662) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= -2994.490) and (posY >= 277.411) and (posZ >= -9.1) and (posX <= -2867.850) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "Ocean Flats"
- }
- else if (posX >= 964.391) and (posY >= 930.890) and (posZ >= -89.084) and (posX <= 1166.530) and (posY <= 1044.690) and (posZ <= 110.916)
- {
- ZoneName := "Greenglass College"
- }
- else if (posX >= 1812.620) and (posY >= -1100.820) and (posZ >= -89.084) and (posX <= 1994.330) and (posY <= -973.380) and (posZ <= 110.916)
- {
- ZoneName := "Glen Park"
- }
- else if (posX >= 1375.600) and (posY >= 919.447) and (posZ >= -89.084) and (posX <= 1457.370) and (posY <= 1203.280) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= -405.770) and (posY >= 1712.860) and (posZ >= -3.0) and (posX <= -276.719) and (posY <= 1892.750) and (posZ <= 200.000)
- {
- ZoneName := "Regular Tom"
- }
- else if (posX >= 1161.520) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1323.900) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= 2281.450) and (posY >= -1372.040) and (posZ >= -89.084) and (posX <= 2381.680) and (posY <= -1135.040) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 2137.400) and (posY >= 1703.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 1783.230) and (posZ <= 110.916)
- {
- ZoneName := "Caligula's Palace"
- }
- else if (posX >= 1951.660) and (posY >= -1742.310) and (posZ >= -89.084) and (posX <= 2124.660) and (posY <= -1602.310) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= 2624.400) and (posY >= 1383.230) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 1783.230) and (posZ <= 110.916)
- {
- ZoneName := "Pilgrim"
- }
- else if (posX >= 2124.660) and (posY >= -1742.310) and (posZ >= -89.084) and (posX <= 2222.560) and (posY <= -1494.030) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= -2533.040) and (posY >= 458.411) and (posZ >= 0.000) and (posX <= -2329.310) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Queens"
- }
- else if (posX >= -1871.720) and (posY >= 1176.420) and (posZ >= -4.5) and (posX <= -1620.300) and (posY <= 1274.260) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 1583.500) and (posY >= -1722.260) and (posZ >= -89.084) and (posX <= 1758.900) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 2381.680) and (posY >= -1454.350) and (posZ >= -89.084) and (posX <= 2462.130) and (posY <= -1135.040) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 647.712) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 807.922) and (posY <= -1416.250) and (posZ <= 110.916)
- {
- ZoneName := "Marina"
- }
- else if (posX >= 72.648) and (posY >= -1404.970) and (posZ >= -89.084) and (posX <= 225.165) and (posY <= -1235.070) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 647.712) and (posY >= -1416.250) and (posZ >= -89.084) and (posX <= 787.461) and (posY <= -1227.280) and (posZ <= 110.916)
- {
- ZoneName := "Vinewood"
- }
- else if (posX >= 2222.560) and (posY >= -1628.530) and (posZ >= -89.084) and (posX <= 2421.030) and (posY <= -1494.030) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 558.099) and (posY >= -1684.650) and (posZ >= -89.084) and (posX <= 647.522) and (posY <= -1384.930) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= -1709.710) and (posY >= -833.034) and (posZ >= -1.5) and (posX <= -1446.010) and (posY <= -730.118) and (posZ <= 200.000)
- {
- ZoneName := "Easter Tunnel"
- }
- else if (posX >= 466.223) and (posY >= -1385.070) and (posZ >= -89.084) and (posX <= 647.522) and (posY <= -1235.070) and (posZ <= 110.916)
- {
- ZoneName := "Rodeo"
- }
- else if (posX >= 1817.390) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2011.940) and (posY <= 2342.830) and (posZ <= 110.916)
- {
- ZoneName := "Redsands East"
- }
- else if (posX >= 2162.390) and (posY >= 1783.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 1883.230) and (posZ <= 110.916)
- {
- ZoneName := "The Clown's Pocket"
- }
- else if (posX >= 1971.660) and (posY >= -1852.870) and (posZ >= -89.084) and (posX <= 2222.560) and (posY <= -1742.310) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= 1546.650) and (posY >= 208.164) and (posZ >= 0.000) and (posX <= 1745.830) and (posY <= 347.457) and (posZ <= 200.000)
- {
- ZoneName := "Montgomery Intersection"
- }
- else if (posX >= 2089.000) and (posY >= -2235.840) and (posZ >= -89.084) and (posX <= 2201.820) and (posY <= -1989.900) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= 952.663) and (posY >= -1130.840) and (posZ >= -89.084) and (posX <= 1096.470) and (posY <= -937.184) and (posZ <= 110.916)
- {
- ZoneName := "Temple"
- }
- else if (posX >= 1848.400) and (posY >= 2553.490) and (posZ >= -89.084) and (posX <= 1938.800) and (posY <= 2863.230) and (posZ <= 110.916)
- {
- ZoneName := "Prickle Pine"
- }
- else if (posX >= 1400.970) and (posY >= -2669.260) and (posZ >= -39.084) and (posX <= 2189.820) and (posY <= -2597.260) and (posZ <= 60.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= -1213.910) and (posY >= 950.022) and (posZ >= -89.084) and (posX <= -1087.930) and (posY <= 1178.930) and (posZ <= 110.916)
- {
- ZoneName := "Garver Bridge"
- }
- else if (posX >= -1339.890) and (posY >= 828.129) and (posZ >= -89.084) and (posX <= -1213.910) and (posY <= 1057.040) and (posZ <= 110.916)
- {
- ZoneName := "Garver Bridge"
- }
- else if (posX >= -1339.890) and (posY >= 599.218) and (posZ >= -89.084) and (posX <= -1213.910) and (posY <= 828.129) and (posZ <= 110.916)
- {
- ZoneName := "Kincaid Bridge"
- }
- else if (posX >= -1213.910) and (posY >= 721.111) and (posZ >= -89.084) and (posX <= -1087.930) and (posY <= 950.022) and (posZ <= 110.916)
- {
- ZoneName := "Kincaid Bridge"
- }
- else if (posX >= 930.221) and (posY >= -2006.780) and (posZ >= -89.084) and (posX <= 1073.220) and (posY <= -1804.210) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= 1073.220) and (posY >= -2006.780) and (posZ >= -89.084) and (posX <= 1249.620) and (posY <= -1842.270) and (posZ <= 110.916)
- {
- ZoneName := "Verdant Bluffs"
- }
- else if (posX >= 787.461) and (posY >= -1130.840) and (posZ >= -89.084) and (posX <= 952.604) and (posY <= -954.662) and (posZ <= 110.916)
- {
- ZoneName := "Vinewood"
- }
- else if (posX >= 787.461) and (posY >= -1310.210) and (posZ >= -89.084) and (posX <= 952.663) and (posY <= -1130.840) and (posZ <= 110.916)
- {
- ZoneName := "Vinewood"
- }
- else if (posX >= 1463.900) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 1667.960) and (posY <= -1430.870) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 787.461) and (posY >= -1416.250) and (posZ >= -89.084) and (posX <= 1072.660) and (posY <= -1310.210) and (posZ <= 110.916)
- {
- ZoneName := "Market"
- }
- else if (posX >= 2377.390) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 2537.390) and (posY <= 788.894) and (posZ <= 110.916)
- {
- ZoneName := "Rockshore West"
- }
- else if (posX >= 2237.400) and (posY >= 2542.550) and (posZ >= -89.084) and (posX <= 2498.210) and (posY <= 2663.170) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 2632.830) and (posY >= -1668.130) and (posZ >= -89.084) and (posX <= 2747.740) and (posY <= -1393.420) and (posZ <= 110.916)
- {
- ZoneName := "East Beach"
- }
- else if (posX >= 434.341) and (posY >= 366.572) and (posZ >= 0.000) and (posX <= 603.035) and (posY <= 555.680) and (posZ <= 200.000)
- {
- ZoneName := "Fallow Bridge"
- }
- else if (posX >= 2089.000) and (posY >= -1989.900) and (posZ >= -89.084) and (posX <= 2324.000) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= -2274.170) and (posY >= 578.396) and (posZ >= -7.6) and (posX <= -2078.670) and (posY <= 744.170) and (posZ <= 200.000)
- {
- ZoneName := "Chinatown"
- }
- else if (posX >= -208.570) and (posY >= 2337.180) and (posZ >= 0.000) and (posX <= 8.430) and (posY <= 2487.180) and (posZ <= 200.000)
- {
- ZoneName := "El Castillo del Diablo"
- }
- else if (posX >= 2324.000) and (posY >= -2145.100) and (posZ >= -89.084) and (posX <= 2703.580) and (posY <= -2059.230) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= -1132.820) and (posY >= -768.027) and (posZ >= 0.000) and (posX <= -956.476) and (posY <= -578.118) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Chemicals"
- }
- else if (posX >= 1817.390) and (posY >= 1703.230) and (posZ >= -89.084) and (posX <= 2027.400) and (posY <= 1863.230) and (posZ <= 110.916)
- {
- ZoneName := "The Visage"
- }
- else if (posX >= -2994.490) and (posY >= -430.276) and (posZ >= -1.2) and (posX <= -2831.890) and (posY <= -222.589) and (posZ <= 200.000)
- {
- ZoneName := "Ocean Flats"
- }
- else if (posX >= 321.356) and (posY >= -860.619) and (posZ >= -89.084) and (posX <= 687.802) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 176.581) and (posY >= 1305.450) and (posZ >= -3.0) and (posX <= 338.658) and (posY <= 1520.720) and (posZ <= 200.000)
- {
- ZoneName := "Green Palms"
- }
- else if (posX >= 321.356) and (posY >= -768.027) and (posZ >= -89.084) and (posX <= 700.794) and (posY <= -674.885) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 2162.390) and (posY >= 1883.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 2012.180) and (posZ <= 110.916)
- {
- ZoneName := "Starfish Casino"
- }
- else if (posX >= 2747.740) and (posY >= -1668.130) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -1498.620) and (posZ <= 110.916)
- {
- ZoneName := "East Beach"
- }
- else if (posX >= 2056.860) and (posY >= -1372.040) and (posZ >= -89.084) and (posX <= 2281.450) and (posY <= -1210.740) and (posZ <= 110.916)
- {
- ZoneName := "Jefferson"
- }
- else if (posX >= 1463.900) and (posY >= -1290.870) and (posZ >= -89.084) and (posX <= 1724.760) and (posY <= -1150.870) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= 1463.900) and (posY >= -1430.870) and (posZ >= -89.084) and (posX <= 1724.760) and (posY <= -1290.870) and (posZ <= 110.916)
- {
- ZoneName := "Downtown Los Santos"
- }
- else if (posX >= -1499.890) and (posY >= 696.442) and (posZ >= -179.615) and (posX <= -1339.890) and (posY <= 925.353) and (posZ <= 20.385)
- {
- ZoneName := "Garver Bridge"
- }
- else if (posX >= 1457.390) and (posY >= 823.228) and (posZ >= -89.084) and (posX <= 2377.390) and (posY <= 863.229) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway South"
- }
- else if (posX >= 2421.030) and (posY >= -1628.530) and (posZ >= -89.084) and (posX <= 2632.830) and (posY <= -1454.350) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 964.391) and (posY >= 1044.690) and (posZ >= -89.084) and (posX <= 1197.390) and (posY <= 1203.220) and (posZ <= 110.916)
- {
- ZoneName := "Greenglass College"
- }
- else if (posX >= 2747.740) and (posY >= -1120.040) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -945.035) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 737.573) and (posY >= -768.027) and (posZ >= -89.084) and (posX <= 1142.290) and (posY <= -674.885) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 2201.820) and (posY >= -2730.880) and (posZ >= -89.084) and (posX <= 2324.000) and (posY <= -2418.330) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 2462.130) and (posY >= -1454.350) and (posZ >= -89.084) and (posX <= 2581.730) and (posY <= -1135.040) and (posZ <= 110.916)
- {
- ZoneName := "East Los Santos"
- }
- else if (posX >= 2222.560) and (posY >= -1722.330) and (posZ >= -89.084) and (posX <= 2632.830) and (posY <= -1628.530) and (posZ <= 110.916)
- {
- ZoneName := "Ganton"
- }
- else if (posX >= -2831.890) and (posY >= -430.276) and (posZ >= -6.1) and (posX <= -2646.400) and (posY <= -222.589) and (posZ <= 200.000)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= 1970.620) and (posY >= -2179.250) and (posZ >= -89.084) and (posX <= 2089.000) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= -1982.320) and (posY >= 1274.260) and (posZ >= -4.5) and (posX <= -1524.240) and (posY <= 1358.900) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade North"
- }
- else if (posX >= 1817.390) and (posY >= 1283.230) and (posZ >= -89.084) and (posX <= 2027.390) and (posY <= 1469.230) and (posZ <= 110.916)
- {
- ZoneName := "The High Roller"
- }
- else if (posX >= 2201.820) and (posY >= -2418.330) and (posZ >= -89.084) and (posX <= 2324.000) and (posY <= -2095.000) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 1823.080) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 1997.220) and (posY <= 823.228) and (posZ <= 110.916)
- {
- ZoneName := "Last Dime Motel"
- }
- else if (posX >= -2353.170) and (posY >= 2275.790) and (posZ >= 0.000) and (posX <= -2153.170) and (posY <= 2475.790) and (posZ <= 200.000)
- {
- ZoneName := "Bayside Marina"
- }
- else if (posX >= -2329.310) and (posY >= 458.411) and (posZ >= -7.6) and (posX <= -1993.280) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "King's"
- }
- else if (posX >= 1692.620) and (posY >= -2179.250) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -1842.270) and (posZ <= 110.916)
- {
- ZoneName := "El Corona"
- }
- else if (posX >= 1375.600) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 1558.090) and (posY <= 823.228) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Chapel"
- }
- else if (posX >= 1817.390) and (posY >= 1083.230) and (posZ >= -89.084) and (posX <= 2027.390) and (posY <= 1283.230) and (posZ <= 110.916)
- {
- ZoneName := "The Pink Swan"
- }
- else if (posX >= 1197.390) and (posY >= 1163.390) and (posZ >= -89.084) and (posX <= 1236.630) and (posY <= 2243.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway West"
- }
- else if (posX >= 2581.730) and (posY >= -1393.420) and (posZ >= -89.084) and (posX <= 2747.740) and (posY <= -1135.040) and (posZ <= 110.916)
- {
- ZoneName := "Los Flores"
- }
- else if (posX >= 1817.390) and (posY >= 1863.230) and (posZ >= -89.084) and (posX <= 2106.700) and (posY <= 2011.830) and (posZ <= 110.916)
- {
- ZoneName := "The Visage"
- }
- else if (posX >= 1938.800) and (posY >= 2624.230) and (posZ >= -89.084) and (posX <= 2121.400) and (posY <= 2861.550) and (posZ <= 110.916)
- {
- ZoneName := "Prickle Pine"
- }
- else if (posX >= 851.449) and (posY >= -1804.210) and (posZ >= -89.084) and (posX <= 1046.150) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= -1119.010) and (posY >= 1178.930) and (posZ >= -89.084) and (posX <= -862.025) and (posY <= 1351.450) and (posZ <= 110.916)
- {
- ZoneName := "Robada Intersection"
- }
- else if (posX >= 2749.900) and (posY >= 943.235) and (posZ >= -89.084) and (posX <= 2923.390) and (posY <= 1198.990) and (posZ <= 110.916)
- {
- ZoneName := "Linden Side"
- }
- else if (posX >= 2703.580) and (posY >= -2302.330) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -2126.900) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 2324.000) and (posY >= -2059.230) and (posZ >= -89.084) and (posX <= 2541.700) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Willowfield"
- }
- else if (posX >= -2411.220) and (posY >= 265.243) and (posZ >= -9.1) and (posX <= -1993.280) and (posY <= 373.539) and (posZ <= 200.000)
- {
- ZoneName := "King's"
- }
- else if (posX >= 1323.900) and (posY >= -1842.270) and (posZ >= -89.084) and (posX <= 1701.900) and (posY <= -1722.260) and (posZ <= 110.916)
- {
- ZoneName := "Commerce"
- }
- else if (posX >= 1269.130) and (posY >= -768.027) and (posZ >= -89.084) and (posX <= 1414.070) and (posY <= -452.425) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 647.712) and (posY >= -1804.210) and (posZ >= -89.084) and (posX <= 851.449) and (posY <= -1577.590) and (posZ <= 110.916)
- {
- ZoneName := "Marina"
- }
- else if (posX >= -2741.070) and (posY >= 1268.410) and (posZ >= -4.5) and (posX <= -2533.040) and (posY <= 1490.470) and (posZ <= 200.000)
- {
- ZoneName := "Battery Point"
- }
- else if (posX >= 1817.390) and (posY >= 863.232) and (posZ >= -89.084) and (posX <= 2027.390) and (posY <= 1083.230) and (posZ <= 110.916)
- {
- ZoneName := "The Four Dragons Casino"
- }
- else if (posX >= 964.391) and (posY >= 1203.220) and (posZ >= -89.084) and (posX <= 1197.390) and (posY <= 1403.220) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield"
- }
- else if (posX >= 1534.560) and (posY >= 2433.230) and (posZ >= -89.084) and (posX <= 1848.400) and (posY <= 2583.230) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway North"
- }
- else if (posX >= 1117.400) and (posY >= 2723.230) and (posZ >= -89.084) and (posX <= 1457.460) and (posY <= 2863.230) and (posZ <= 110.916)
- {
- ZoneName := "Yellow Bell Gol Course"
- }
- else if (posX >= 1812.620) and (posY >= -1602.310) and (posZ >= -89.084) and (posX <= 2124.660) and (posY <= -1449.670) and (posZ <= 110.916)
- {
- ZoneName := "Idlewood"
- }
- else if (posX >= 1297.470) and (posY >= 2142.860) and (posZ >= -89.084) and (posX <= 1777.390) and (posY <= 2243.230) and (posZ <= 110.916)
- {
- ZoneName := "Redsands West"
- }
- else if (posX >= -2270.040) and (posY >= -324.114) and (posZ >= -1.2) and (posX <= -1794.920) and (posY <= -222.589) and (posZ <= 200.000)
- {
- ZoneName := "Doherty"
- }
- else if (posX >= 967.383) and (posY >= -450.390) and (posZ >= -3.0) and (posX <= 1176.780) and (posY <= -217.900) and (posZ <= 200.000)
- {
- ZoneName := "Hilltop Farm"
- }
- else if (posX >= -926.130) and (posY >= 1398.730) and (posZ >= -3.0) and (posX <= -719.234) and (posY <= 1634.690) and (posZ <= 200.000)
- {
- ZoneName := "Las Barrancas"
- }
- else if (posX >= 1817.390) and (posY >= 1469.230) and (posZ >= -89.084) and (posX <= 2027.400) and (posY <= 1703.230) and (posZ <= 110.916)
- {
- ZoneName := "Pirates in Men's Pants"
- }
- else if (posX >= -2867.850) and (posY >= 277.411) and (posZ >= -9.1) and (posX <= -2593.440) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "City Hall"
- }
- else if (posX >= -2646.400) and (posY >= -355.493) and (posZ >= 0.000) and (posX <= -2270.040) and (posY <= -222.589) and (posZ <= 200.000)
- {
- ZoneName := "Avispa Country Club"
- }
- else if (posX >= 2027.400) and (posY >= 863.229) and (posZ >= -89.084) and (posX <= 2087.390) and (posY <= 1703.230) and (posZ <= 110.916)
- {
- ZoneName := "The Strip"
- }
- else if (posX >= -2593.440) and (posY >= -222.589) and (posZ >= -1.0) and (posX <= -2411.220) and (posY <= 54.722) and (posZ <= 200.000)
- {
- ZoneName := "Hashbury"
- }
- else if (posX >= 1852.000) and (posY >= -2394.330) and (posZ >= -89.084) and (posX <= 2089.000) and (posY <= -2179.250) and (posZ <= 110.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= 1098.310) and (posY >= 1726.220) and (posZ >= -89.084) and (posX <= 1197.390) and (posY <= 2243.230) and (posZ <= 110.916)
- {
- ZoneName := "Whitewood Estates"
- }
- else if (posX >= -789.737) and (posY >= 1659.680) and (posZ >= -89.084) and (posX <= -599.505) and (posY <= 1929.410) and (posZ <= 110.916)
- {
- ZoneName := "Sherman Reservoir"
- }
- else if (posX >= 1812.620) and (posY >= -2179.250) and (posZ >= -89.084) and (posX <= 1970.620) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "El Corona"
- }
- else if (posX >= -1700.010) and (posY >= 744.267) and (posZ >= -6.1) and (posX <= -1580.010) and (posY <= 1176.520) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= -2178.690) and (posY >= -1250.970) and (posZ >= 0.000) and (posX <= -1794.920) and (posY <= -1115.580) and (posZ <= 200.000)
- {
- ZoneName := "Foster Valley"
- }
- else if (posX >= -354.332) and (posY >= 2580.360) and (posZ >= 2.0) and (posX <= -133.625) and (posY <= 2816.820) and (posZ <= 200.000)
- {
- ZoneName := "Las Payasadas"
- }
- else if (posX >= -936.668) and (posY >= 2611.440) and (posZ >= 2.0) and (posX <= -715.961) and (posY <= 2847.900) and (posZ <= 200.000)
- {
- ZoneName := "Valle Ocultado"
- }
- else if (posX >= 1166.530) and (posY >= 795.010) and (posZ >= -89.084) and (posX <= 1375.600) and (posY <= 1044.690) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield Intersection"
- }
- else if (posX >= 2222.560) and (posY >= -1852.870) and (posZ >= -89.084) and (posX <= 2632.830) and (posY <= -1722.330) and (posZ <= 110.916)
- {
- ZoneName := "Ganton"
- }
- else if (posX >= -1213.910) and (posY >= -730.118) and (posZ >= 0.000) and (posX <= -1132.820) and (posY <= -50.096) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= 1817.390) and (posY >= 2011.830) and (posZ >= -89.084) and (posX <= 2106.700) and (posY <= 2202.760) and (posZ <= 110.916)
- {
- ZoneName := "Redsands East"
- }
- else if (posX >= -1499.890) and (posY >= 578.396) and (posZ >= -79.615) and (posX <= -1339.890) and (posY <= 1274.260) and (posZ <= 20.385)
- {
- ZoneName := "Esplanade East"
- }
- else if (posX >= 2087.390) and (posY >= 1543.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 1703.230) and (posZ <= 110.916)
- {
- ZoneName := "Caligula's Palace"
- }
- else if (posX >= 2087.390) and (posY >= 1383.230) and (posZ >= -89.084) and (posX <= 2437.390) and (posY <= 1543.230) and (posZ <= 110.916)
- {
- ZoneName := "Royal Casino"
- }
- else if (posX >= 72.648) and (posY >= -1235.070) and (posZ >= -89.084) and (posX <= 321.356) and (posY <= -1008.150) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 2437.390) and (posY >= 1783.230) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2012.180) and (posZ <= 110.916)
- {
- ZoneName := "Starfish Casino"
- }
- else if (posX >= 1281.130) and (posY >= -452.425) and (posZ >= -89.084) and (posX <= 1641.130) and (posY <= -290.913) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= -1982.320) and (posY >= 744.170) and (posZ >= -6.1) and (posX <= -1871.720) and (posY <= 1274.260) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 2576.920) and (posY >= 62.158) and (posZ >= 0.000) and (posX <= 2759.250) and (posY <= 385.503) and (posZ <= 200.000)
- {
- ZoneName := "Hankypanky Point"
- }
- else if (posX >= 2498.210) and (posY >= 2626.550) and (posZ >= -89.084) and (posX <= 2749.900) and (posY <= 2861.550) and (posZ <= 110.916)
- {
- ZoneName := "K.A.C.C. Military Fuels"
- }
- else if (posX >= 1777.390) and (posY >= 863.232) and (posZ >= -89.084) and (posX <= 1817.390) and (posY <= 2342.830) and (posZ <= 110.916)
- {
- ZoneName := "Harry Gold Parkway"
- }
- else if (posX >= -2290.190) and (posY >= 2548.290) and (posZ >= -89.084) and (posX <= -1950.190) and (posY <= 2723.290) and (posZ <= 110.916)
- {
- ZoneName := "Bayside Tunnel"
- }
- else if (posX >= 2324.000) and (posY >= -2302.330) and (posZ >= -89.084) and (posX <= 2703.580) and (posY <= -2145.100) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= 321.356) and (posY >= -1044.070) and (posZ >= -89.084) and (posX <= 647.557) and (posY <= -860.619) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= 1558.090) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 1823.080) and (posY <= 823.235) and (posZ <= 110.916)
- {
- ZoneName := "Randolph Industrial Estate"
- }
- else if (posX >= 2632.830) and (posY >= -1852.870) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -1668.130) and (posZ <= 110.916)
- {
- ZoneName := "East Beach"
- }
- else if (posX >= -314.426) and (posY >= -753.874) and (posZ >= -89.084) and (posX <= -106.339) and (posY <= -463.073) and (posZ <= 110.916)
- {
- ZoneName := "Flint Water"
- }
- else if (posX >= 19.607) and (posY >= -404.136) and (posZ >= 3.8) and (posX <= 349.607) and (posY <= -220.137) and (posZ <= 200.000)
- {
- ZoneName := "Blueberry"
- }
- else if (posX >= 2749.900) and (posY >= 1198.990) and (posZ >= -89.084) and (posX <= 2923.390) and (posY <= 1548.990) and (posZ <= 110.916)
- {
- ZoneName := "Linden Station"
- }
- else if (posX >= 1812.620) and (posY >= -1350.720) and (posZ >= -89.084) and (posX <= 2056.860) and (posY <= -1100.820) and (posZ <= 110.916)
- {
- ZoneName := "Glen Park"
- }
- else if (posX >= -1993.280) and (posY >= 265.243) and (posZ >= -9.1) and (posX <= -1794.920) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 1377.390) and (posY >= 2243.230) and (posZ >= -89.084) and (posX <= 1704.590) and (posY <= 2433.230) and (posZ <= 110.916)
- {
- ZoneName := "Redsands West"
- }
- else if (posX >= 321.356) and (posY >= -1235.070) and (posZ >= -89.084) and (posX <= 647.522) and (posY <= -1044.070) and (posZ <= 110.916)
- {
- ZoneName := "Richman"
- }
- else if (posX >= -2741.450) and (posY >= 1659.680) and (posZ >= -6.1) and (posX <= -2616.400) and (posY <= 2175.150) and (posZ <= 200.000)
- {
- ZoneName := "Gant Bridge"
- }
- else if (posX >= -90.218) and (posY >= 1286.850) and (posZ >= -3.0) and (posX <= 153.859) and (posY <= 1554.120) and (posZ <= 200.000)
- {
- ZoneName := "Lil' Probe Inn"
- }
- else if (posX >= -187.700) and (posY >= -1596.760) and (posZ >= -89.084) and (posX <= 17.063) and (posY <= -1276.600) and (posZ <= 110.916)
- {
- ZoneName := "Flint Intersection"
- }
- else if (posX >= 2281.450) and (posY >= -1135.040) and (posZ >= -89.084) and (posX <= 2632.740) and (posY <= -945.035) and (posZ <= 110.916)
- {
- ZoneName := "Las Colinas"
- }
- else if (posX >= 2749.900) and (posY >= 1548.990) and (posZ >= -89.084) and (posX <= 2923.390) and (posY <= 1937.250) and (posZ <= 110.916)
- {
- ZoneName := "Sobell Rail Yards"
- }
- else if (posX >= 2011.940) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2237.400) and (posY <= 2508.230) and (posZ <= 110.916)
- {
- ZoneName := "The Emerald Isle"
- }
- else if (posX >= -208.570) and (posY >= 2123.010) and (posZ >= -7.6) and (posX <= 114.033) and (posY <= 2337.180) and (posZ <= 200.000)
- {
- ZoneName := "El Castillo del Diablo"
- }
- else if (posX >= -2741.070) and (posY >= 458.411) and (posZ >= -7.6) and (posX <= -2533.040) and (posY <= 793.411) and (posZ <= 200.000)
- {
- ZoneName := "Santa Flora"
- }
- else if (posX >= 2703.580) and (posY >= -2126.900) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -1852.870) and (posZ <= 110.916)
- {
- ZoneName := "Playa del Seville"
- }
- else if (posX >= 926.922) and (posY >= -1577.590) and (posZ >= -89.084) and (posX <= 1370.850) and (posY <= -1416.250) and (posZ <= 110.916)
- {
- ZoneName := "Market"
- }
- else if (posX >= -2593.440) and (posY >= 54.722) and (posZ >= 0.000) and (posX <= -2411.220) and (posY <= 458.411) and (posZ <= 200.000)
- {
- ZoneName := "Queens"
- }
- else if (posX >= 1098.390) and (posY >= 2243.230) and (posZ >= -89.084) and (posX <= 1377.390) and (posY <= 2507.230) and (posZ <= 110.916)
- {
- ZoneName := "Pilson Intersection"
- }
- else if (posX >= 2121.400) and (posY >= 2663.170) and (posZ >= -89.084) and (posX <= 2498.210) and (posY <= 2861.550) and (posZ <= 110.916)
- {
- ZoneName := "Spinybed"
- }
- else if (posX >= 2437.390) and (posY >= 1383.230) and (posZ >= -89.084) and (posX <= 2624.400) and (posY <= 1783.230) and (posZ <= 110.916)
- {
- ZoneName := "Pilgrim"
- }
- else if (posX >= 964.391) and (posY >= 1403.220) and (posZ >= -89.084) and (posX <= 1197.390) and (posY <= 1726.220) and (posZ <= 110.916)
- {
- ZoneName := "Blackfield"
- }
- else if (posX >= -410.020) and (posY >= 1403.340) and (posZ >= -3.0) and (posX <= -137.969) and (posY <= 1681.230) and (posZ <= 200.000)
- {
- ZoneName := "'The Big Ear'"
- }
- else if (posX >= 580.794) and (posY >= -674.885) and (posZ >= -9.5) and (posX <= 861.085) and (posY <= -404.790) and (posZ <= 200.000)
- {
- ZoneName := "Dillimore"
- }
- else if (posX >= -1645.230) and (posY >= 2498.520) and (posZ >= 0.000) and (posX <= -1372.140) and (posY <= 2777.850) and (posZ <= 200.000)
- {
- ZoneName := "El Quebrados"
- }
- else if (posX >= -2533.040) and (posY >= 1358.900) and (posZ >= -4.5) and (posX <= -1996.660) and (posY <= 1501.210) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade North"
- }
- else if (posX >= -1499.890) and (posY >= -50.096) and (posZ >= -1.0) and (posX <= -1242.980) and (posY <= 249.904) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= 1916.990) and (posY >= -233.323) and (posZ >= -100.000) and (posX <= 2131.720) and (posY <= 13.800) and (posZ <= 200.000)
- {
- ZoneName := "Fisher's Lagoon"
- }
- else if (posX >= 1414.070) and (posY >= -768.027) and (posZ >= -89.084) and (posX <= 1667.610) and (posY <= -452.425) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland"
- }
- else if (posX >= 2747.740) and (posY >= -1498.620) and (posZ >= -89.084) and (posX <= 2959.350) and (posY <= -1120.040) and (posZ <= 110.916)
- {
- ZoneName := "East Beach"
- }
- else if (posX >= 2450.390) and (posY >= 385.503) and (posZ >= -100.000) and (posX <= 2759.250) and (posY <= 562.349) and (posZ <= 200.000)
- {
- ZoneName := "San Andreas Sound"
- }
- else if (posX >= -2030.120) and (posY >= -2174.890) and (posZ >= -6.1) and (posX <= -1820.640) and (posY <= -1771.660) and (posZ <= 200.000)
- {
- ZoneName := "Shady Creeks"
- }
- else if (posX >= 1072.660) and (posY >= -1416.250) and (posZ >= -89.084) and (posX <= 1370.850) and (posY <= -1130.850) and (posZ <= 110.916)
- {
- ZoneName := "Market"
- }
- else if (posX >= 1997.220) and (posY >= 596.349) and (posZ >= -89.084) and (posX <= 2377.390) and (posY <= 823.228) and (posZ <= 110.916)
- {
- ZoneName := "Rockshore West"
- }
- else if (posX >= 1534.560) and (posY >= 2583.230) and (posZ >= -89.084) and (posX <= 1848.400) and (posY <= 2863.230) and (posZ <= 110.916)
- {
- ZoneName := "Prickle Pine"
- }
- else if (posX >= -1794.920) and (posY >= -50.096) and (posZ >= -1.04) and (posX <= -1499.890) and (posY <= 249.904) and (posZ <= 200.000)
- {
- ZoneName := "Easter Basin"
- }
- else if (posX >= -1166.970) and (posY >= -1856.030) and (posZ >= 0.000) and (posX <= -815.624) and (posY <= -1602.070) and (posZ <= 200.000)
- {
- ZoneName := "Leafy Hollow"
- }
- else if (posX >= 1457.390) and (posY >= 863.229) and (posZ >= -89.084) and (posX <= 1777.400) and (posY <= 1143.210) and (posZ <= 110.916)
- {
- ZoneName := "LVA Freight Depot"
- }
- else if (posX >= 1117.400) and (posY >= 2507.230) and (posZ >= -89.084) and (posX <= 1534.560) and (posY <= 2723.230) and (posZ <= 110.916)
- {
- ZoneName := "Prickle Pine"
- }
- else if (posX >= 104.534) and (posY >= -220.137) and (posZ >= 2.3) and (posX <= 349.607) and (posY <= 152.236) and (posZ <= 200.000)
- {
- ZoneName := "Blueberry"
- }
- else if (posX >= -464.515) and (posY >= 2217.680) and (posZ >= 0.000) and (posX <= -208.570) and (posY <= 2580.360) and (posZ <= 200.000)
- {
- ZoneName := "El Castillo del Diablo"
- }
- else if (posX >= -2078.670) and (posY >= 578.396) and (posZ >= -7.6) and (posX <= -1499.890) and (posY <= 744.267) and (posZ <= 200.000)
- {
- ZoneName := "Downtown"
- }
- else if (posX >= 2537.390) and (posY >= 676.549) and (posZ >= -89.084) and (posX <= 2902.350) and (posY <= 943.235) and (posZ <= 110.916)
- {
- ZoneName := "Rockshore East"
- }
- else if (posX >= -2616.400) and (posY >= 1501.210) and (posZ >= -3.0) and (posX <= -1996.660) and (posY <= 1659.680) and (posZ <= 200.000)
- {
- ZoneName := "San Fierro Bay"
- }
- else if (posX >= -2741.070) and (posY >= 793.411) and (posZ >= -6.1) and (posX <= -2533.040) and (posY <= 1268.410) and (posZ <= 200.000)
- {
- ZoneName := "Paradiso"
- }
- else if (posX >= 2087.390) and (posY >= 1203.230) and (posZ >= -89.084) and (posX <= 2640.400) and (posY <= 1383.230) and (posZ <= 110.916)
- {
- ZoneName := "The Camel's Toe"
- }
- else if (posX >= 2162.390) and (posY >= 2012.180) and (posZ >= -89.084) and (posX <= 2685.160) and (posY <= 2202.760) and (posZ <= 110.916)
- {
- ZoneName := "Old Venturas Strip"
- }
- else if (posX >= -2533.040) and (posY >= 578.396) and (posZ >= -7.6) and (posX <= -2274.170) and (posY <= 968.369) and (posZ <= 200.000)
- {
- ZoneName := "Juniper Hill"
- }
- else if (posX >= -2533.040) and (posY >= 968.369) and (posZ >= -6.1) and (posX <= -2274.170) and (posY <= 1358.900) and (posZ <= 200.000)
- {
- ZoneName := "Juniper Hollow"
- }
- else if (posX >= 2237.400) and (posY >= 2202.760) and (posZ >= -89.084) and (posX <= 2536.430) and (posY <= 2542.550) and (posZ <= 110.916)
- {
- ZoneName := "Roca Escalante"
- }
- else if (posX >= 2685.160) and (posY >= 1055.960) and (posZ >= -89.084) and (posX <= 2749.900) and (posY <= 2626.550) and (posZ <= 110.916)
- {
- ZoneName := "Julius Thruway East"
- }
- else if (posX >= 647.712) and (posY >= -2173.290) and (posZ >= -89.084) and (posX <= 930.221) and (posY <= -1804.210) and (posZ <= 110.916)
- {
- ZoneName := "Verona Beach"
- }
- else if (posX >= -2178.690) and (posY >= -599.884) and (posZ >= -1.2) and (posX <= -1794.920) and (posY <= -324.114) and (posZ <= 200.000)
- {
- ZoneName := "Foster Valley"
- }
- else if (posX >= -901.129) and (posY >= 2221.860) and (posZ >= 0.000) and (posX <= -592.090) and (posY <= 2571.970) and (posZ <= 200.000)
- {
- ZoneName := "Arco del Oeste"
- }
- else if (posX >= -792.254) and (posY >= -698.555) and (posZ >= -5.3) and (posX <= -452.404) and (posY <= -380.043) and (posZ <= 200.000)
- {
- ZoneName := "Fallen Tree"
- }
- else if (posX >= -1209.670) and (posY >= -1317.100) and (posZ >= 114.981) and (posX <= -908.161) and (posY <= -787.391) and (posZ <= 251.981)
- {
- ZoneName := "The Farm"
- }
- else if (posX >= -968.772) and (posY >= 1929.410) and (posZ >= -3.0) and (posX <= -481.126) and (posY <= 2155.260) and (posZ <= 200.000)
- {
- ZoneName := "The Sherman Dam"
- }
- else if (posX >= -1996.660) and (posY >= 1358.900) and (posZ >= -4.5) and (posX <= -1524.240) and (posY <= 1592.510) and (posZ <= 200.000)
- {
- ZoneName := "Esplanade North"
- }
- else if (posX >= -1871.720) and (posY >= 744.170) and (posZ >= -6.1) and (posX <= -1701.300) and (posY <= 1176.420) and (posZ <= 300.000)
- {
- ZoneName := "Financial"
- }
- else if (posX >= -2411.220) and (posY >= -222.589) and (posZ >= -1.14) and (posX <= -2173.040) and (posY <= 265.243) and (posZ <= 200.000)
- {
- ZoneName := "Garcia"
- }
- else if (posX >= 1119.510) and (posY >= 119.526) and (posZ >= -3.0) and (posX <= 1451.400) and (posY <= 493.323) and (posZ <= 200.000)
- {
- ZoneName := "Montgomery"
- }
- else if (posX >= 2749.900) and (posY >= 1937.250) and (posZ >= -89.084) and (posX <= 2921.620) and (posY <= 2669.790) and (posZ <= 110.916)
- {
- ZoneName := "Creek"
- }
- else if (posX >= 1249.620) and (posY >= -2394.330) and (posZ >= -89.084) and (posX <= 1852.000) and (posY <= -2179.250) and (posZ <= 110.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= 72.648) and (posY >= -2173.290) and (posZ >= -89.084) and (posX <= 342.648) and (posY <= -1684.650) and (posZ <= 110.916)
- {
- ZoneName := "Santa Maria Beach"
- }
- else if (posX >= 1463.900) and (posY >= -1150.870) and (posZ >= -89.084) and (posX <= 1812.620) and (posY <= -768.027) and (posZ <= 110.916)
- {
- ZoneName := "Mulholland Intersection"
- }
- else if (posX >= -2324.940) and (posY >= -2584.290) and (posZ >= -6.1) and (posX <= -1964.220) and (posY <= -2212.110) and (posZ <= 200.000)
- {
- ZoneName := "Angel Pine"
- }
- else if (posX >= 37.032) and (posY >= 2337.180) and (posZ >= -3.0) and (posX <= 435.988) and (posY <= 2677.900) and (posZ <= 200.000)
- {
- ZoneName := "Verdant Meadows"
- }
- else if (posX >= 338.658) and (posY >= 1228.510) and (posZ >= 0.000) and (posX <= 664.308) and (posY <= 1655.050) and (posZ <= 200.000)
- {
- ZoneName := "Octane Springs"
- }
- else if (posX >= 2087.390) and (posY >= 943.235) and (posZ >= -89.084) and (posX <= 2623.180) and (posY <= 1203.230) and (posZ <= 110.916)
- {
- ZoneName := "Come-A-Lot"
- }
- else if (posX >= 1236.630) and (posY >= 1883.110) and (posZ >= -89.084) and (posX <= 1777.390) and (posY <= 2142.860) and (posZ <= 110.916)
- {
- ZoneName := "Redsands West"
- }
- else if (posX >= 342.648) and (posY >= -2173.290) and (posZ >= -89.084) and (posX <= 647.712) and (posY <= -1684.650) and (posZ <= 110.916)
- {
- ZoneName := "Santa Maria Beach"
- }
- else if (posX >= 1249.620) and (posY >= -2179.250) and (posZ >= -89.084) and (posX <= 1692.620) and (posY <= -1842.270) and (posZ <= 110.916)
- {
- ZoneName := "Verdant Bluffs"
- }
- else if (posX >= 1236.630) and (posY >= 1203.280) and (posZ >= -89.084) and (posX <= 1457.370) and (posY <= 1883.110) and (posZ <= 110.916)
- {
- ZoneName := "Las Venturas Airport"
- }
- else if (posX >= -594.191) and (posY >= -1648.550) and (posZ >= 0.000) and (posX <= -187.700) and (posY <= -1276.600) and (posZ <= 200.000)
- {
- ZoneName := "Flint Range"
- }
- else if (posX >= 930.221) and (posY >= -2488.420) and (posZ >= -89.084) and (posX <= 1249.620) and (posY <= -2006.780) and (posZ <= 110.916)
- {
- ZoneName := "Verdant Bluffs"
- }
- else if (posX >= 2160.220) and (posY >= -149.004) and (posZ >= 0.000) and (posX <= 2576.920) and (posY <= 228.322) and (posZ <= 200.000)
- {
- ZoneName := "Palomino Creek"
- }
- else if (posX >= 2373.770) and (posY >= -2697.090) and (posZ >= -89.084) and (posX <= 2809.220) and (posY <= -2330.460) and (posZ <= 110.916)
- {
- ZoneName := "Ocean Docks"
- }
- else if (posX >= -1213.910) and (posY >= -50.096) and (posZ >= -4.5) and (posX <= -947.980) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= 883.308) and (posY >= 1726.220) and (posZ >= -89.084) and (posX <= 1098.310) and (posY <= 2507.230) and (posZ <= 110.916)
- {
- ZoneName := "Whitewood Estates"
- }
- else if (posX >= -2274.170) and (posY >= 744.170) and (posZ >= -6.1) and (posX <= -1982.320) and (posY <= 1358.900) and (posZ <= 200.000)
- {
- ZoneName := "Calton Heights"
- }
- else if (posX >= -1794.920) and (posY >= 249.904) and (posZ >= -9.1) and (posX <= -1242.980) and (posY <= 578.396) and (posZ <= 200.000)
- {
- ZoneName := "Easter Basin"
- }
- else if (posX >= -321.744) and (posY >= -2224.430) and (posZ >= -89.084) and (posX <= 44.615) and (posY <= -1724.430) and (posZ <= 110.916)
- {
- ZoneName := "Los Santos Inlet"
- }
- else if (posX >= -2173.040) and (posY >= -222.589) and (posZ >= -1.0) and (posX <= -1794.920) and (posY <= 265.243) and (posZ <= 200.000)
- {
- ZoneName := "Doherty"
- }
- else if (posX >= -2178.690) and (posY >= -2189.910) and (posZ >= -47.917) and (posX <= -2030.120) and (posY <= -1771.660) and (posZ <= 576.083)
- {
- ZoneName := "Mount Chiliad"
- }
- else if (posX >= -376.233) and (posY >= 826.326) and (posZ >= -3.0) and (posX <= 123.717) and (posY <= 1220.440) and (posZ <= 200.000)
- {
- ZoneName := "Fort Carson"
- }
- else if (posX >= -2178.690) and (posY >= -1115.580) and (posZ >= 0.000) and (posX <= -1794.920) and (posY <= -599.884) and (posZ <= 200.000)
- {
- ZoneName := "Foster Valley"
- }
- else if (posX >= -2994.490) and (posY >= -222.589) and (posZ >= -1.0) and (posX <= -2593.440) and (posY <= 277.411) and (posZ <= 200.000)
- {
- ZoneName := "Ocean Flats"
- }
- else if (posX >= 508.189) and (posY >= -139.259) and (posZ >= 0.000) and (posX <= 1306.660) and (posY <= 119.526) and (posZ <= 200.000)
- {
- ZoneName := "Fern Ridge"
- }
- else if (posX >= -2741.070) and (posY >= 2175.150) and (posZ >= 0.000) and (posX <= -2353.170) and (posY <= 2722.790) and (posZ <= 200.000)
- {
- ZoneName := "Bayside"
- }
- else if (posX >= 1457.370) and (posY >= 1203.280) and (posZ >= -89.084) and (posX <= 1777.390) and (posY <= 1883.110) and (posZ <= 110.916)
- {
- ZoneName := "Las Venturas Airport"
- }
- else if (posX >= -319.676) and (posY >= -220.137) and (posZ >= 0.000) and (posX <= 104.534) and (posY <= 293.324) and (posZ <= 200.000)
- {
- ZoneName := "Blueberry Acres"
- }
- else if (posX >= -2994.490) and (posY >= 458.411) and (posZ >= -6.1) and (posX <= -2741.070) and (posY <= 1339.610) and (posZ <= 200.000)
- {
- ZoneName := "Palisades"
- }
- else if (posX >= 2285.370) and (posY >= -768.027) and (posZ >= 0.000) and (posX <= 2770.590) and (posY <= -269.740) and (posZ <= 200.000)
- {
- ZoneName := "North Rock"
- }
- else if (posX >= 337.244) and (posY >= 710.840) and (posZ >= -115.239) and (posX <= 860.554) and (posY <= 1031.710) and (posZ <= 203.761)
- {
- ZoneName := "Hunter Quarry"
- }
- else if (posX >= 1382.730) and (posY >= -2730.880) and (posZ >= -89.084) and (posX <= 2201.820) and (posY <= -2394.330) and (posZ <= 110.916)
- {
- ZoneName := "Los Santos International"
- }
- else if (posX >= -2994.490) and (posY >= -811.276) and (posZ >= 0.000) and (posX <= -2178.690) and (posY <= -430.276) and (posZ <= 200.000)
- {
- ZoneName := "Missionary Hill"
- }
- else if (posX >= -2616.400) and (posY >= 1659.680) and (posZ >= -3.0) and (posX <= -1996.660) and (posY <= 2175.150) and (posZ <= 200.000)
- {
- ZoneName := "San Fierro Bay"
- }
- else if (posX >= -91.586) and (posY >= 1655.050) and (posZ >= -50.000) and (posX <= 421.234) and (posY <= 2123.010) and (posZ <= 250.000)
- {
- ZoneName := "Restricted Area"
- }
- else if (posX >= -2997.470) and (posY >= -1115.580) and (posZ >= -47.917) and (posX <= -2178.690) and (posY <= -971.913) and (posZ <= 576.083)
- {
- ZoneName := "Mount Chiliad"
- }
- else if (posX >= -2178.690) and (posY >= -1771.660) and (posZ >= -47.917) and (posX <= -1936.120) and (posY <= -1250.970) and (posZ <= 576.083)
- {
- ZoneName := "Mount Chiliad"
- }
- else if (posX >= -1794.920) and (posY >= -730.118) and (posZ >= -3.0) and (posX <= -1213.910) and (posY <= -50.096) and (posZ <= 200.000)
- {
- ZoneName := "Easter Bay Airport"
- }
- else if (posX >= -947.980) and (posY >= -304.320) and (posZ >= -1.1) and (posX <= -319.676) and (posY <= 327.071) and (posZ <= 200.000)
- {
- ZoneName := "The Panopticon"
- }
- else if (posX >= -1820.640) and (posY >= -2643.680) and (posZ >= -8.0) and (posX <= -1226.780) and (posY <= -1771.660) and (posZ <= 200.000)
- {
- ZoneName := "Shady Creeks"
- }
- else if (posX >= -1166.970) and (posY >= -2641.190) and (posZ >= 0.000) and (posX <= -321.744) and (posY <= -1856.030) and (posZ <= 200.000)
- {
- ZoneName := "Back o Beyond"
- }
- else if (posX >= -2994.490) and (posY >= -2189.910) and (posZ >= -47.917) and (posX <= -2178.690) and (posY <= -1115.580) and (posZ <= 576.083)
- {
- ZoneName := "Mount Chiliad"
- }
- else if (posX >= -1213.910) and (posY >= 596.349) and (posZ >= -242.990) and (posX <= -480.539) and (posY <= 1659.680) and (posZ <= 900.000)
- {
- ZoneName := "Tierra Robada"
- }
- else if (posX >= -1213.910) and (posY >= -2892.970) and (posZ >= -242.990) and (posX <= 44.615) and (posY <= -768.027) and (posZ <= 900.000)
- {
- ZoneName := "Flint County"
- }
- else
- {
- ZoneName := "Unbekannt"
- }
- return ZoneName
- }
- OpenMemoryfromTitle_(title,right=0x1F0FFF)
- {
- WinGet,PID,PID,%title%
- HWND := DllCall("OpenProcess","Uint",right,"int",0,"int",PID)
- return HWND
- }
- CloseMemory_(hwnd)
- {
- return DllCall("CloseHandle", "int", hwnd)
- }
- ReadMemory_(hwnd,address,datatype="int",length=4,offset=0)
- {
- VarSetCapacity(readvalue,length, 0)
- DllCall("ReadProcessMemory","Uint",hwnd,"Uint",address+offset,"Str",readvalue,"Uint",length,"Uint *",0)
- finalvalue := NumGet(readvalue,0,datatype)
- return finalvalue
- }
- :?:/togtickets::
- Suspend Permit
- if(admin = 1)
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Diese Funktion ist im Universal-Binder derzeit noch deaktiviert.")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- TicketUpdate:
- FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
- FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
- IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
- IniRead, Heute, Tickets.ini, TicketT, %TagSt%
- IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
- if(Monat == "ERROR")
- {
- Monat=0
- }
- if(Heute == "ERROR")
- {
- Heute=0
- }
- if(Gesamt == "ERROR")
- {
- Gesamt=0
- }
- TextSetString(tickettext, "Angenommene Tickets: " . Gesamt . "`n an diesem Tag: " . Heute . "`n in diesem Monat: " . Monat . "")
- return
- :?:/tt::
- Suspend Permit
- FormatTime, Uhrzeit,, HH
- GetPlayerName(Name)
- if(admin = 1)
- {
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/tt " . TicketID . "")
- if (Uhrzeit >= 12 && Uhrzeit < 20)
- {
- SendChat("/aw " . TicketID . " Guten Tag,")
- }
- else if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("/aw " . TicketID . " Guten Abend,")
- }
- else if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("/aw " . TicketID . " Guten Morgen ,")
- }
- SendChat("/aw " . TicketID . " Mein Name ist " . Name . " und ich bin für Ihre Fragen oder Probleme offen.")
- Sleep, 200
- GetChatLine(0, string)
- GetChatLine(1, string1)
- GetChatLine(2, string2)
- if(Instr(string, "Fragen oder Probleme offen") || InStr(string1, "Fragen oder Probleme offen") || InStr(string2, "Fragen oder Probleme offen"))
- {
- FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
- FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
- IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
- IniRead, Heute, Tickets.ini, TicketT, %TagSt%
- IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
- Monat1=%Monat%
- Heute1=%Heute%
- Gesamt1=%Gesamt%
- Sleep, 200
- Monat1++
- Heute1++
- Gesamt1++
- IniWrite, %Monat1%, Tickets.ini, TicketM, %MonatSt%
- IniWrite, %Heute1%, Tickets.ini, TicketT, %TagSt%
- IniWrite, %Gesamt1%, Tickets.ini, Ticket, Gesamt
- }
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du bist kein Team-Funktion nicht aktiviert.")
- }
- return
- :?:/gt::
- Suspend Permit
- if(admin = 1)
- {
- FormatTime, Uhrzeit,, HH
- TicketID := PlayerInput("Ticket-ID: ")
- TeamMitglied := PlayerInput("Team-Mitglied: ")
- SendChat("/aw " . TicketID . " Ich werde Sie nun an " TeamMitglied " weiterleiten.")
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("/aw " . TicketID . " Schönen Abend noch.")
- }
- else
- {
- SendChat("/aw " . TicketID . " Schönen Tag noch.")
- }
- SendChat("/gt " . TicketID . "")
- Sleep, 1500
- SendChat("/a Ticket " TicketID " für dich " TeamMitglied "")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/grund::
- Suspend Permit
- if(admin = 1)
- {
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/aw " . TicketID . " Warum soll ich Sie an das gewünschte Teammitglied weiterleiten?")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/dt::
- Suspend Permit
- if(admin = 1)
- {
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/aw " . TicketID . " Ich wünsche Ihnen noch einen schönen Aufenthalt auf RPG-City")
- SendChat("/aw " . TicketID . " Bei weiteren Fragen melden Sie sich gerne wieder im Ticketsystem")
- SendChat("/dt " . TicketID . "")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- SendChat("/dt")
- }
- return
- :?:/fragen::
- Suspend Permit
- if(admin = 1)
- {
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/aw " . TicketID . " Haben Sie weitere Fragen, Probleme oder Anliegen?")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/meldungen::
- Suspend Permit
- if(admin = 1)
- {
- SendChat("/announce Bei Fragen zum Server stehen wir Ihnen jederzeit per /sup [Frage] zur Verfügung.")
- SendChat("/announce Hacker, Buguser und weitere Regelbrecher können per /a gemeldet werden.")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/adabuse::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /mute 120 Ausnutzung des Werbesystems{left 32}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/aabuse::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /supban 120 Ausnutzung des Adminchats{left 30}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/sdm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Sinnloses Deathmatch{left 25}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/bansdm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /ban Sinnloses Deathmatch mit Level 1{left 33}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/jobstörung::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Jobstörung{left 15}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/jobdm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Job Deathmatch{left 19}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/intflucht::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Interrior-Flucht{left 21}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/escflucht::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 ESC-Flucht{left 25}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/offflucht::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Offline-Flucht{left 19}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/cardm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Carsurf DM{left 15}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/spam::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /mute 120 Spam{left 9}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/esccp::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /kick ESC im Checkpoint{left 18}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/afkp::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /kick AFK im Paintball{left 17}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/anfahren::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /prison 120 Absichtliches Anfahren{left 27}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/nodm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /prison 120 Deathmatch in einer No DM Zone{left 35}
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/tv::
- Suspend Permit
- SendInput, /tv{space}
- Input, TVID, V I M,{enter}
- SendChat("/id " TVID "")
- return
- :?:/hacker::
- Suspend Permit
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Diese Funktion ist im Universal-Binder derzeit noch deaktiviert.")
- return
- :?:/tickets::
- Suspend Permit
- SendInput ^a{delete}{enter}
- if(admin = 1)
- {
- FormatTime, MonatSt, YYYYMMDDHH24MISS, MM
- FormatTime, TagSt, YYYYMMDDHH24MISS, dd.MM
- IniRead, Monat, Tickets.ini, TicketM, %MonatSt%
- IniRead, Heute, Tickets.ini, TicketT, %TagSt%
- IniRead, Gesamt, Tickets.ini, Ticket, Gesamt
- if(Monat == "ERROR")
- {
- Monat=0
- }
- if(Heute == "ERROR")
- {
- Heute=0
- }
- if(Gesamt == "ERROR")
- {
- Gesamt=0
- }
- Sleep, 100
- ShowDialog(0, "Ticket Statistik" , "Angenommene Tickets: " Gesamt "`nan diesem Tag: " Heute "`nin diesem Monat: " Monat, "Schließen")
- }
- else
- {
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Du hast die Team-Funktion nicht aktiviert.")
- }
- return
- :?:/ahelp::
- Suspend Permit
- SendChat("/ahelp")
- if(admin = 1)
- {
- Sleep, 300
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFFFFF}Keybinder-Befehle für Team-Mitglieder:")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFBB00}Tickets:{FFFFFF} /tt, /gt, /dt, /grund, /fragen")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFBB00}Nützliches:{FFFFFF} /togtickets, /tickets, /hacker, /meldungen")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFBB00}Sanktionen:{FFFFFF} /adabuse, /aabuse, /sdm, /bansdm, /jobstörung, /intflucht, /escflucht, /offflucht")
- AddChatMessage(0x2090B3, "|Universal-Binder| {FFBB00}Sanktionen:{FFFFFF} /cardm, /jobdm, /spam, /esccp, /afkp, /anfahren, /nodm")
- }
- return
- UrlDownloadToVar(URL, UserAgent = "", Proxy = "", ProxyBypass = "") {
- pFix:=a_isunicode ? "W" : "A"
- hModule2 := DllCall("LoadLibrary", "Str", "wininet.dll")
- AccessType := Proxy != "" ? 3 : 1
- io := DllCall("wininet\InternetOpen" . pFix
- , "Str", UserAgent
- , "UInt", AccessType
- , "Str", Proxy
- , "Str", ProxyBypass
- , "UInt", 0)
- iou := DllCall("wininet\InternetOpenUrl" . pFix
- , "UInt", io
- , "Str", url
- , "Str", ""
- , "UInt", 0
- , "UInt", 0x80000000
- , "UInt", 0)
- If (ErrorLevel != 0 or iou = 0) {
- DllCall("FreeLibrary", "UInt", hModule2)
- return 0
- }
- VarSetCapacity(buffer, 10240, 0)
- VarSetCapacity(BytesRead, 4, 0)
- Loop
- {
- irf := DllCall("wininet\InternetReadFile", "UInt", iou, "UInt", &buffer, "UInt", 10240, "UInt", &BytesRead)
- VarSetCapacity(buffer, -1)
- BytesRead_ = 0
- Loop, 4
- BytesRead_ += *(&BytesRead + A_Index-1) << 8*(A_Index-1)
- If (irf = 1 and BytesRead_ = 0)
- break
- Else
- {
- Result .= SubStr(buffer, 1, BytesRead_ * (a_isunicode ? 2 : 1))
- }
- }
- DllCall("wininet\InternetCloseHandle", "UInt", iou)
- DllCall("wininet\InternetCloseHandle", "UInt", io)
- DllCall("FreeLibrary", "UInt", hModule2)
- return % result
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement