Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IfWinActive, GTA:SA:MP
- #UseHook
- #Persistent
- #SingleInstance force
- #HotKeyInterval 1
- #MaxHotkeysPerInterval 2000
- 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
- }
- Version=3.0.4
- API=1.0
- TicketOverlay = 0
- Overlay = 0
- Menu_Overlay = 0
- Menu_HP = 0
- Menu_AP = 0
- switcher = 2
- caID = Niemand
- SpeedCheckStatus = 0
- SpeedOnOff = 0
- VehSpeedMax = 0
- LowHPsoundan = 0
- BKsoundan = 0
- altergk = -1
- fischers = 1
- watermode = 0
- swatmode = 0
- bkon = 0
- hmOn = 0
- streife = 0
- Freigabe = 1
- pOn = 0
- Partner1 = -1
- Partner2 = -1
- Partner3 = -1
- Fahrer = -1
- arrest1 = -1
- arrest2 = -1
- arrest3 = -1
- arrest4 = -1
- arrest5 = -1
- PoliceID := "X"
- MAX_CODES := 29
- Binds := 52
- SetTimer, Waffenschein, 1000
- SetTimer, Flugschein, 1000
- Loop, %MAX_CODES%
- {
- CodeVars_Code[A_Index] := "-1"
- CodeVars_Text[A_Index] := "Empty"
- CodeVars_Write[A_Index] := 0
- }
- InitializeCodes()
- Sounds = %A_ScriptDir%\Sounds
- Pictures = %A_ScriptDir%\Pictures
- Hotkeys = %A_ScriptDir%\Hotkeys.ini
- IfNotExist, %A_ScriptDir%\Sounds
- {
- FileCreateDir, %A_ScriptDir%\Sounds
- }
- IfNotExist, %A_ScriptDir%\Pictures
- {
- FileCreateDir, %A_ScriptDir%\Pictures\
- }
- IfNotExist,%A_ScriptDir%\Sounds\Call.mp3
- {
- URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/Call.mp3, Call.mp3
- FileMove, Call.mp3, %Sounds%\Call.mp3
- }
- IfNotExist, %A_ScriptDir%\Sounds\SMS.mp3
- {
- URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/SMS.mp3, SMS.mp3
- FileMove, SMS.mp3, %Sounds%\SMS.mp3
- }
- IfNotExist, %A_ScriptDir%\Sounds\LowHP.mp3
- {
- URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/LowHP.mp3, LowHP.mp3
- FileMove, LowHP.mp3, %Sounds%\LowHP.mp3
- }
- IfNotExist, %A_ScriptDir%\Sounds\BK.mp3
- {
- URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/BK.mp3, BK.mp3
- FileMove, BK.mp3, %Sounds%\BK.mp3
- }
- IfNotExist, %A_ScriptDir%\Pictures\soundwahl.png
- {
- URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/soundwahl.png, soundwahl.png
- FileMove, soundwahl.png, %A_ScriptDir%\Pictures\soundwahl.png
- }
- IfNotExist, %A_ScriptDir%\Pictures\SAPDLogo.png
- {
- URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/SAPDLogo.png, SAPDLogo.png
- FileMove, SAPDLogo.png, %A_ScriptDir%\Pictures\SAPDLogo.png
- }
- IfExist, Update.bat
- {
- FileDelete, Update.bat
- }
- CheckURL2=http://ni31914_3.vweb16.nitrado.net/keybinder/API.txt
- NeueAPI:=UrlDownloadToVar(CheckURL2)
- if(Version < NeueVersion)
- {
- if(API < NeueAPI)
- {
- FileMove, API.dll, old_API.dll, 1
- UrlDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/API.dll, API.dll
- }
- BatchFile=
- (
- start StaatsgewaltKeybinder.exe
- )
- FileDelete, Update.bat
- FileAppend, %Batchfile%, Update.bat
- Run, Update.bat, hide
- ExitApp
- }
- IfNotExist, API.dll
- {
- MsgBox, 64, Fehler, Die API.dll wurde nicht gefunden. Sie wird nun heruntergeladen.
- URLDownloadToFile, http://ni31914_3.vweb16.nitrado.net/keybinder/API.dll, API.dll
- Sleep, 1000
- FileGetSize, API_size, API.dll, k
- if(API_size < 486)
- {
- 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://ni31914_3.vweb16.nitrado.net/keybinder/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")
- IniRead, Fraktion, settings.ini, Daten, Fraktion
- if(Fraktion == "" || Fraktion = "ERROR")
- {
- Fraktion := "SAPD"
- IniWrite, %Fraktion%, settings.ini, Daten, Fraktion
- }
- IniRead, Abteilung, settings.ini, Daten, Abteilung
- if(Abteilung = "ERROR")
- {
- Abteilung := ""
- IniWrite, %Abteilung%, settings.ini, Daten, Abteilung
- }
- IniRead, Swatabteilung, settings.ini, Daten, Swatabteilung
- if(Swatabteilung = "ERROR")
- {
- Swatabteilung := ""
- IniWrite, %Swatabteilung%, settings.ini, Daten, Swatabteilung
- }
- IniRead, Laptop, settings.ini, Daten, Laptop
- IniRead, Lock, settings.ini, Daten, Lock
- IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
- IniRead, TankZoll, settings.ini, Daten, TankZoll
- IniRead, CheckCall, settings.ini, Sounds, CheckCall
- IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
- IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
- IniRead, CheckBK, settings.ini, Sounds, CheckBK
- IniRead, Callsound, settings.ini, Sounds, Callsound
- IniRead, SMSsound, settings.ini, Sounds, SMSsound
- IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
- IniRead, BKsound, settings.ini, Sounds, BKsound
- IniRead, Profil1_1, settings.ini, Ausruesten, Profil1_1
- IniRead, Profil1_2, settings.ini, Ausruesten, Profil1_2
- IniRead, Profil1_3, settings.ini, Ausruesten, Profil1_3
- IniRead, Profil1_4, settings.ini, Ausruesten, Profil1_4
- IniRead, Profil1_5, settings.ini, Ausruesten, Profil1_5
- IniRead, Profil1_6, settings.ini, Ausruesten, Profil1_6
- IniRead, Profil1_7, settings.ini, Ausruesten, Profil1_7
- IniRead, Profil2_1, settings.ini, Ausruesten, Profil2_1
- IniRead, Profil2_2, settings.ini, Ausruesten, Profil2_2
- IniRead, Profil2_3, settings.ini, Ausruesten, Profil2_3
- IniRead, Profil2_4, settings.ini, Ausruesten, Profil2_4
- IniRead, Profil2_5, settings.ini, Ausruesten, Profil2_5
- IniRead, Profil2_6, settings.ini, Ausruesten, Profil2_6
- IniRead, Profil2_7, settings.ini, Ausruesten, Profil2_7
- IniRead, Profil3_1, settings.ini, Ausruesten, Profil3_1
- IniRead, Profil3_2, settings.ini, Ausruesten, Profil3_2
- IniRead, Profil3_3, settings.ini, Ausruesten, Profil3_3
- IniRead, Profil3_4, settings.ini, Ausruesten, Profil3_4
- IniRead, Profil3_5, settings.ini, Ausruesten, Profil3_5
- IniRead, Profil3_6, settings.ini, Ausruesten, Profil3_6
- IniRead, Profil3_7, settings.ini, Ausruesten, Profil3_7
- IniRead, UCSkin, settings.ini, Ausruesten, UCSkin
- IniRead, Schutzweste, settings.ini, Ausruesten, Schutzweste
- IniRead, Passwort, settings.ini, Sonstiges, Passwort
- IniRead, xBind1, %Hotkeys%, Maus, xBind1, %A_Space%
- IniRead, xBind2, %Hotkeys%, Maus, xBind2, %A_Space%
- IniRead, wBind1, %Hotkeys%, Maus, wBind1, %A_Space%
- IniRead, wBind2, %Hotkeys%, Maus, wBind2, %A_Space%
- loop, %Binds%
- {
- IniRead, Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%, %A_Space%
- IniRead, Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%, %A_Space%
- IfNotEqual, Key%A_Index%,, Hotkey, % Key%A_Index%, Key%A_Index%
- IniRead, SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%, 0
- }
- IniRead, Overlay_size, Overlay.ini, Status Overlay, Overlay_size, 7
- IniRead, Overlay_posx, Overlay.ini, Status Overlay, Overlay_posx, 18
- IniRead, Overlay_posy, Overlay.ini, Status Overlay, Overlay_posy, 265
- IniRead, HP_size, Overlay.ini, HP Overlay, HP_size, 8
- IniRead, HP_posx, Overlay.ini, HP Overlay, HP_posx, 715
- IniRead, HP_posy, Overlay.ini, HP Overlay, HP_posy, 88
- IniRead, AP_size, Overlay.ini, AP Overlay, AP_size, 8
- IniRead, AP_posx, Overlay.ini, AP Overlay, AP_posx, 715
- IniRead, AP_posy, Overlay.ini, AP Overlay, AP_posy, 59
- IniRead, HPAnzeige, Overlay.ini, HP Overlay, HPAnzeige, 1
- IniRead, APAnzeige, Overlay.ini, AP Overlay, APAnzeige, 1
- SynchronizeLaptop(Laptop)
- Gui, Add, Text, x5 y485 w500 h20 gDanksagung, caLi Edit
- Gui, Add, Tab2, x0 y0 w500 h482, Allgemein|Belegung|Vergaben|Laptop-Modus|Admin-Befehle|Settings
- Gui, Tab, Allgemein
- Gui, Add, Picture, x115 y40 w175 h175, %Pictures%\SAPDLogo.png
- Gui, Add, Text, x12 y220 w380 h110, Herzlich Willkommen, `nich freue mich, dass du dich für meinen CaliBinder-Keybinder entschieden hast. Ich habe mir das Ziel gesetzt dich bei deiner Tätigkeit als Beamter bestmöglich zu unterstützen und dir mit zusätzlichen Hilfen unter die Arme zugreifen. `nSolltest du Fragen, Probleme, Kritik oder Anregungen haben, dann teile mir diese doch bitte im Thread des Keybinders mit oder kontaktiere mich privat. `nIch wünsche dir nun viel Erfolg und Spaß bei deiner Tätigkeit als Staatsbeamter!
- Gui, Add, Groupbox, x12 y340 w380 h130, Neuigkeiten
- URLDownloadToFile, http://www.rpg-ausbildung.de/keybinder/daily.txt, daily.txt
- FileRead, DailyMessage, daily.txt
- FileDelete, daily.txt
- Gui, Add, Text, x18 y360 w360 h100, %DailyMessage%
- Gui, Tab, Belegung
- Belegungen =
- (
- Keybinds
- ___________________________________________________________
- 1 - Motor, Licht, Lock (wenn das Lock-System aktiviert ist)
- Shift + 1 - /licht
- 2 - Dürfen wir Sie auf Drogen / Waffenbesitz überprüfen?
- 3 - Zeigen Sie mir Ihre Scheine
- 4 - Vielen Dank für Ihre Kooperation
- 5 - Steigen Sie bitte aus Ihrem Fahrzeug
- 6 - Sie sind festgenommen (in den Dienstwagen)
- 7 - Sie sind festgenommen (zu den Zellen)
- 8 - /ram
- 9 /grab
- 0 - /carinfo
- ä - Wiederholt die letzte Eingabe
- Y - /lock
- B - /uclight
- J - /policelight
- m - /members
- P - Anzeigen der Position im /hq
- STRG+P - Anzeigen der aktuellen Position im /r
- STRG+ALT+P - Anzeigen der Position im /d
- K - Kontrolliert einen Spieler
- I - Bitte stecken Sie umgehend Ihre Waffen ein
- U - /uncuff
- ´ - /hq Übernimmt den Auftrag
- ALT + ` - /hq Auftrag ausgeführt
- STRG + ´ - /d Übernimmt den Auftrag
- STRG+Alt+´ - /d Hat den Auftrag ausgeführt
- ALT + C - Zoll schließen bitte
- ALT + C - /eject
- ALT + Y - Isst einen Fisch
- Alt + X - erstehilfe
- - - /clear
- ^ - Notruf-Annahme
- Shift + ^ - Manuelle Notrufannahme
- , - Startet die Stoppuhr
- END - Startet einen Countdown
- Windows - /wanted
- Windows&1 - /wanted ls
- Windows&2 - /wanted sf
- Windows&3 - /wanted lv
- F1 - /tog -> Phone
- F3 - /erstehilfe
- F4 - /ausruesten (Profil I - Streife)
- F5 - /ausruesten (Profil II - Streife)
- F6 - /ausruesten (Profil III - UC Streife)
- ALT+F4 - /ausruesten
- STRG+F4 - /heal
- NumPad
- ___________________________________________________________
- NumPad, - /m Bitte halten Sie sich an die StVO
- NumPad0 - /m Folgen Sie dem Wagen
- NumPad1 - /m Straßenverkehrskontrolle
- NumPad2 - /m Halten Sie sofort an
- NumPad3 - /m Unterlassen Sie die verfolgung
- NumPad4 - /m Steigen Sie aus Ihrem Fahrzeug
- NumPad5 - /m Räumen Sie die Straße
- NumPad6 - /m Legen Sie Ihre Waffen nieder
- NumPad7 - /cuff, /frisk
- NumPad8 - /arrest
- NumPad9 - /m Verlassen Sie dieses Gelände
- Alt+NumpadEnter - /m Unterlassen Sie die Verfolgung
- Num/ - Zoll schließen
- ALT+Num/ - Zoll öffnen
- Num* - /gov Die Zollstationen sind geschlossen
- ALT+Num* - /gov Zollstation geöffnet
- Num+ - Benötige Verstärkung
- ALT+Num+ - Verstärkung nicht mehr benötigt
- Befehle
- ___________________________________________________________
- /op - Offline Prison
- /oa - Offline Knast
- /dp - Death Prison
- /da - Death Knast `
- /codes - Zeigt alle Chatcodes an
- /cr - Code im /r
- /cd - Code im /d
- /ch - Code im /hq
- /streife - Startet einen Streifendienst
- /setEinheit - Einstellung der Streifeneinheit
- /setNummer - Einstellungen der Streifennummer
- /setPersonen - Einstellungen der Personen im Fahrzeug
- /kennung - Zeigt deine aktuelle Streifenkennung an
- /partner1 - Trägt einen einen Streifenpartner ein
- /partner2 - Trägt einen zweiten Streifenpartner ein
- /partner3 - Trägt einen dritten Streifenpartner ein
- /partners - Zeigt alle eingetragenen Streifenpartner an
- /updatesteuersatz - Aktualisiert den Steuersatz
- /settax - Manuelle Eingabe des Steuersatzes
- /water- Aktiviert den Wassermodus
- /swat - Aktiviert den SWAT-Modus (nur FBI)
- /tasks - Zeigt alle noch zu erledigenden Aufgaben an
- /addtask - Fügt eine Aufgabe hinzu
- /deletetask - Löscht eine Aufgabe
- /gk - Zeigt den gesuchten Gk
- /addts - Fügt eine Todesstrafe hinzu
- /deletets - Entfernt eine Todesstrafe
- ALT+T - Zeigt die akuellen Todesstrafen
- /hm - Zeigt die Hitmanliste
- /toghm - (De-)aktiviert das Hitman-Overlay
- /copstats - Zeigt die aktuelle Statstik an
- /overlay - (De-)aktiviert das Status-Overlay
- /move overlay - Ermöglicht das Verschieben des Overlays
- /forum - Forum messages aktivieren
- # - Auto-Arrest
- ALT+# - Zeigt alle in der Arrestliste
- F9 - Resettet die Arrestliste
- /afind - Automatisches Suchen
- /af - Automatisches Suchen
- /as - Automatisches Zeigen
- /pos - Automatisches Zeigen für Fahrer / Partner
- /dshow - Showpos im /d
- /fshow - Showpos im /f
- /rshow - Showpos im /r
- < - Jeweils zum Beenden
- /fahrer - Eintragen des Fahrers (Wird vor Partner1, Partner2, Partner3 genutzt)
- /vf - /r Verfolge Verbrecher
- /verfolgung - Erbitte Unterstützung bei der Verfolgung
- /ort - Letzter bekannter Aufenthaltsort
- /luft - Fordere Luftüberwachung an
- /jas - Ja Sir
- /jam - Ja Madam
- /ja - Ja, was kann ich für Sie tun?
- /tag - Guten Tag
- /bye - Auf Wiedershen
- /beweise - Haben Sie Beweise
- /passieren - Sie dürfen passieren
- /warten - Bitte warten Sie einen Augenblick
- /rechte - Vorlesen der Rechte
- /ruhe - Sie haben das Recht zu schweigen
- /runter - Steigen Sie vom Fahrzeug
- /ende - Startet einen Countdown
- /on - /pdmarker, /hitsound, /tog -> Phone
- /uc - /undercover
- /auc - /undercover mit zufälligem Skin
- /sb - /showbadge
- /abholung - Benötige Abholung
- /kabholung - Abholung nicht mehr benötigt
- /razzia - Razzia
- /rz - Razzia (S.W.A.T.)
- /stvo - Möchten Sie Punkte oder ein Ticket
- /apunkte - Stellt nach /stvo automatisch Strafpunkte aus
- /aticket - Stellt nach /stvo automatisch ein Ticket aus
- /stvo[1-5] - Punkte oder Ticket?
- /stvof - Ticket oder Flugscheinentzug?
- /pot - Ticket oder Punkte?
- /kontrolle - Kontrolliert einen Spieler
- /tst - Take Strafpunkt
- /tw - Take Waffen
- /tws - Take Waffenschein
- /tfs - Take Flugschein
- /td - Take Drogen
- /tm - Take Materialien
- /tall - Take alles
- /ver - /HQ Habe verstanden
- /dver - /d Habe verstanden
- /fver - /f Habe verstanden
- /rver - /r Habe verstanden
- /wo - Wo befindet ihr euch?
- /needbk - Wird Verstärkung weiterhin benötigt?
- /repos - Neu formieren in ...
- /go - /HQ Zugriff
- /rgo - /r Zugriff
- /dgo - /d Zugriff
- /fgo - /f Zugriff
- /rstreife - Suche Streifenpartner im /r
- /dstreife - Suche Streifenpartner im /d
- /fstreife - Suche Streifenpartner im /f
- /afk - /f Melde mich für die nächsten Minuten ab
- /rb - Straßensperre setzen
- /db - Straßensperre entfernen
- /dba - Alle Straßensperren entfernen
- /an - Nimmt einen Anruf entgegen
- /ab - Anrufbeantworter
- /danke - Danke für Ihren Anruf (+/h)
- /re - Antwort auf die letzte SMS
- /read - Antwort auf die letzte AD
- /kcall - Call by Name
- /ksms - SMS by Name
- /fischen - Automatisches Fischen
- /kochen - Kocht alle Fische
- /cf - Kocht alle Fische
- /hp - Zeigt die HP aller Fische an
- /fische - Zeigt Informationen über die gefangenen Fische an
- STRG + T - Tempomat aktivieren
- /tempo - Tempomat aktivieren (Geschwindigkeit einstellbar)
- L - Tempomat: Geschwindigkeit um 5 KM/H senken
- Ö - Tempomat: Geschwindigkeit um 5 KM/h erhöhen
- /fg - Legt Festgeld an
- /ap - Nimmt ein Paket an
- /paket - Nimmt ein Paket an
- /tanken - Betankt das Fahrzeug
- /savestats - Speichert die aktuellen Stats
- /relog - Führt einen Relog durch
- /fan - Gibt einem Spieler ein Autogramm
- /minuten - Rechnet Sekunden in Minuten um
- /chat - Cleat den Chat
- /alotto - /lotto mit zufälliger Zahl
- /user - Zeigt die Statistik eines Users
- /auto - Zeigt allgemeine Informationen zu einem Fahrzeug
- /rmpos - Benennt die Position des Redmarkers
- )
- Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %Belegungen%
- Gui, Tab, Vergaben
- Vergaben =
- (
- Wantedvergaben
- ___________________________________________________________
- ALT+Num1 - Angriff/Beschuss auf Beamte/Zivilisten
- ALT+Num2 - Flucht/Fluchtversuch
- ALT+Num3 - Verweigerung
- ALT+Num4 - Behinderung der Justiz
- ALT+Num5 - Besitz von Materialien
- ALT+Num6 - Besitz von Drogen
- ALT+Num7 - Beihilfe zur Flucht
- ALT+Num8 - Illegaler Handel mit Materialien/Drogen
- ALT+Num9 - Einbruch
- ALT+N - Notruf-Missbrauch
- /na - Notruf Missbrauch
- ALT+Z - Zollflucht
- /zf - Zollflucht
- ALT+J - Absichtliches Anfahren
- ALT+K - Fahrzeugdiebstahl
- ALT+L - Staatsfahrzeugdiebstahl
- ALT+Ö - Diebstahl von bewaffneten Fahrzeugen
- ALT+O - Beamtenbeleidigung
- ALT+I - Waffengebrauch i.d.Ö.
- ALT+B - Beamtenbestechung
- ALT+G - Straßenverkehrsgefährdung
- Punktevergaben
- ___________________________________________________________
- STRG+Num0 - Rote Ampel missachtet
- STRG+Num1 - Straßenverkehrsgefährdung
- STRG+Num2 - Fahren auf falscher Seite
- STRG+Num3 - Fahren mit überhöhter Geschwindigkeit
- STRG+Num4 - Missachtung der Vorfahrt
- STRG+Num5 - Fahren abseits der Straße
- STRG+Num6 - Fahren ohne Licht
- STRG+Num7 - Parken im Parkverbot
- STRG+Num8 - Straßenverkehrsbehinderung
- STRG+Num9 - Fahren unter Alkoholeinfluss
- )
- Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %Vergaben%
- Gui, Tab, Laptop-Modus
- LaptopModus =
- (
- Allgemein
- ___________________________________________________________
- + - Benötige Verstärkung
- ALT&+ - Benötige keine Verstärkung
- ALT&STRG&0 - Folgen Sie dem Wagen
- ALT&STRG&1 - Straßenverkehrskontrolle
- ALT&STRG&2 - Halten Sie sofort an
- ALT&STRG&3 - Letzte Warnung
- ALT&STRG&4 - Steigen Sie aus Ihrem Fahrzeug
- ALT&STRG&5 - Räumen Sie die Straße
- ALT&STRG&6 - Legen Sie Ihre Waffen nieder
- ALT&STRG&7 - /cuff, /frisk
- ALT&STRG&8 - /arrest
- ALT&STRG&9 - Verlassen Sie dieses Gelände
- Wantedvergabe
- ___________________________________________________________
- ALT&1 - Angriff/Beschuss auf Beamte/Zivilisten
- ALT&2 - Flucht/Fluchtversuch
- ALT&3 - Verweigerung
- ALT&4 - Behinderung der Justiz
- ALT&5 - Besitz von Materialien
- ALT&6 - Besitz von Drogen
- ALT&7 - Beihilfe zur Flucht
- ALT&8 - Illegaler Handel mit Materialien/Drogen
- ALT&9 - Einbruch
- Punktevergabe
- ___________________________________________________________
- STRG&0 - Rote Ampel missachtet
- STRG&1 - Straßenverkehrsgefährdung
- STRG&2 - Fahren auf falscher Seite
- STRG&3 - Fahren mit überhöhter Geschwindigkeit
- STRG&4 - Missachtung der Vorfahrt
- STRG&5 - Fahren abseits der Straße
- STRG&6 - Fahren ohne Licht
- STRG&7 - Parken im Parkverbot
- STRG&8 - Straßenverkehrsbehinderung
- STRG&9 - Fahren unter Alkoholeinfluss
- )
- Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %LaptopModus%
- Gui, Tab, Admin-Befehle
- AdminBefehle =
- (
- Ticket-System
- ___________________________________________________________
- /tt - Ticket annehmen
- /dt - Ticket schließen
- /gt - Ticket weiterleiten
- /grund - Warum soll ich Sie weiterleiten?
- /fragen - Weitere Fragen?
- /tafk - Ticket wegen AFK schließen
- /tickets - Zeigt die aktuelle Ticketstatistik (ENB geeignet)
- /togtickets - (De-)aktiviert das TicketOverlay (nicht für ENB)
- Nützliches
- ___________________________________________________________
- /meldungen - Info über /sup und /a
- /hacker - Zeigt alle Level 1er / potentielle Hacker
- /rc - /respawncar
- Sanktionen
- ___________________________________________________________
- /adabuse - AD-Abuse
- /aabuse - /a - Abuse
- /spam - /mute Spam
- /sdm - Prison wegen SDM
- /bansdm - /ban wegen SDM
- /nodm - /prison DM in No DM Zone
- /jobstörung - /prison Jobstörung `
- jobdm - /prison Job Deathmatch
- /intflucht - /prison Interrior-Flucht
- /escflucht - /prison ESC-Flucht
- /offflucht - /prison Offline-Flucht
- /cardm - /prison Carsurf Dm
- /anfahren - /prison Absichtliches Anfahren
- /esccp - /kick ESC im Checkpoint
- /afkp - AFK im Paintball
- )
- Gui, Add, Edit, x6 y30 w382 h440 ReadOnly, %AdminBefehle%
- Gui, Tab, Settings
- Gui, Add, Text, x10 y40 w120 h20 , Fraktion
- Gui, Add, DropDownList, x170 y40 w150 h80 vFraktion, SAPD|FBI|Al Quaida|Kuschelhäschen
- GuiControl, Choose, Fraktion, %Fraktion%
- Gui, Add, Text, x10 y70 w120 h20 , Abteilung
- Gui, Add, Text, x10 y85 w120 h20, Swatabteilung
- Gui, Add, Edit, x170 y60 w150 h20 vAbteilung, %Abteilung%
- Gui, Add, Edit, x170 y80 w150 h20 vSwatabteilung, %Swatabteilung%
- Gui, Add, Checkbox, x10 y100 w220 h20 vLock Checked%Lock%, Lock-System aktivieren?
- Gui, Add, Checkbox, x10 y130 w220 h20 vChatlogsaver Checked%Chatlogsaver%, Chatlogsaver aktivieren?
- Gui, Add, Checkbox, x10 y160 w390 h20 vLaptop Checked%Laptop%, Laptopmodus aktivieren? (NumPadBinds werden auf ALT-Tasten verlegt)
- Gui, Add, Checkbox, x10 y190 w220 h20 vTankZoll Checked%TankZoll%, Easy Tank- und Zoll-System aktivieren?
- Gui, Add, Button, x125 y225 w150 h40 gSpeichern, Speichern
- Gui, Add, Button, x215 y285 w150 h40 gSounds, Sounds
- Gui, Add, Button, x35 y285 w150 h40 gAusruesten, Ausrüsten
- Gui, Add, Button, x35 y345 w150 h40 gOverlayGUI, Overlay
- Gui, Add, Button, x215 y345 w150 h40 gCustomBindsGUI, Eigene Binds
- Gui, Add, Button, x35 y405 w150 h40 gUpdate, News und Updates
- Gui, Add, Button, x215 y405 w150 h40 gDruck, Druckversion
- Gui, Show, w400 h500, CaliBinderkeybinder (Version %Version%)
- IniRead, Punkte, Statistik.ini, Vergaben, Punkte
- IniRead, Tickets, Statistik.ini, Vergaben, Tickets
- IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
- IniRead, Tazer, Statistik.ini, Tazer, Tazer
- IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
- IniRead, Arrest, Statistik.ini, Arrests, Arrest
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Kills, Statistik.ini, Kills, Kills
- IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
- IniRead, Money, Statistik.ini, Arrests, Money
- IniRead, Flugschein, Statistik.ini, Scheine, Flugschein
- IniRead, Waffenschein, Statistik.ini, Scheine, Waffenschein
- IniRead, Bootschein, Statistik.ini, Scheine, Bootschein
- if(Punkte = "ERROR" || Punkte = "")
- {
- Punkte = 0
- IniWrite, %Punkte%, Statistik.ini, Vergaben, Punkte
- }
- if(Tickets = "ERROR" || Tickets = "")
- {
- Tickets = 0
- IniWrite, %Tickets%, Statistik.ini, Vergaben, Tickets
- }
- if(TicketGeld = "ERROR" || TicketGeld = "")
- {
- TicketGeld = 0
- IniWrite, %TicketGeld%, Statistik.ini, Vergaben, TicketGeld
- }
- if(Tazer = "ERROR" || Tazer = "")
- {
- Tazer = 0
- IniWrite, %Tazer%, Statistik.ini, Tazer, Tazer
- }
- if(OffArrest = "ERROR" || OffArrest = "")
- {
- OffArrest = 0
- IniWrite, %OffArrest%, Statistik.ini, Arrests, OffArrest
- }
- if(Arrest = "ERROR" || Arrest = "")
- {
- Arrest = 0
- IniWrite, %Arrest%, Statistik.ini, Arrests, Arrest
- }
- if(DeathArrest = "ERROR" || DeathArrest = "")
- {
- DeathArrest = 0
- IniWrite, %DeathArrest%, Statistik.ini, Arrests, DeathArrest
- }
- if(Wanted = "ERROR" || Wanted = "")
- {
- Wanted = 0
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- }
- if(Kills = "ERROR" || Kills = "")
- {
- Kills = 0
- IniWrite, %Kills%, Statistik.ini, Kills, Kills
- }
- if(Money = "ERROR" || Money = "")
- {
- Money = 0
- IniWrite, %Money%, Statistik.ini, Arrests, Money
- }
- if(Flugschein = "ERROR" || Flugschein = "")
- {
- Flugschein = 0
- IniWrite, %Flugschein%, Statistik.ini, Scheine, Flugschein
- }
- if(Waffenschein = "ERROR" || Waffenschein = "")
- {
- Waffenschein = 0
- IniWrite, %Waffenschein%, Statistik.ini, Scheine, Waffenschein
- }
- if(Bootschein = "ERROR" || Bootschein = "")
- {
- Bootschein = 0
- IniWrite, %Bootschein%, Statistik.ini, Scheine, Bootschein
- }
- IniRead, VolCall, settings.ini, Sounds, VolCall
- IniRead, VolSMS, settings.ini, Sounds, VolSMS
- IniRead, VolLowHP, settings.ini, Sounds, VolLowHP
- IniRead, VolBK, settings.ini, Sounds, VolBk
- IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
- if (Chatlogsaver == 1)
- {
- SetTimer, chatlog, 500
- }
- else
- {
- SetTimer, chatlog, off
- }
- GtaCheckTrue=0
- SetTimer, _GtaCheck, 1000
- return
- GuiClose:
- DestroyAllVisual()
- ExitApp
- OverlayGUI:
- Gui, 7: Submit
- Gui, 7: Destroy
- Gui, 7: Add, CheckBox, x32 y19 w150 h20 vHPAnzeige Checked%HPAnzeige%, HP Anzeige aktivieren
- Gui, 7: Add, CheckBox, x32 y49 w150 h20 vAPAnzeige Checked%APAnzeige%, Armor Anzeige aktivieren
- Gui, 7: Add, Button, x32 y89 w150 h30 gSpeichern, Speichern
- Gui, 7: Show, w226 h147, Overlay Einstellungen
- return
- Danksagung:
- Gui, 30: Add, Text, x15 y150 w620 h150, Dieser Keybinder wird von mir komplett kostenlos allen Staatsbeamten zur Verfügung gestellt. Zum Gelingen dieses Keybinder bedanke ich mich recht herzlich bei `n`n-Valle und Tonyalva, welche das Grundkonzept der heute verwendeten GUI erfunden haben `n-John und Dean_Hunter, welche mir das Grundscript zur Verfügung gestellt haben `n-Tom.Perry für kleinere Unterstützungen beim Scripten
- Gui, 30: Font, s25 cblack, Georgia
- Gui, 30: Add, Text, x15 y19 w620 h70 +center, CaliBinderkeybinder
- Gui, 30: Font, s14 cblack, Georgia
- Gui, 30: Add, Text, x405 y79 w230 h50, Keybinder V. f. sean.cali
- Gui, 30: Show, w650 h280, CaliBinderkeybinder - Danksagung
- return
- Sounds:
- IniRead, Callsound, settings.ini, Sounds, Callsound
- if(Callsound == "" || Callsound == "ERROR")
- {
- Callsound := "" . Sounds . "\Call.mp3"
- IniWrite, %Callsound%, settings.ini, Sounds, Callsound
- }
- IniRead, SMSsound, settings.ini, Sounds, SMSsound
- if(SMSsound = "" || SMSsound = "ERROR")
- {
- SMSsound := "" . Sounds . "\SMS.mp3"
- IniWrite, %SMSsound%, settings.ini, Sounds, SMSsound
- }
- IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
- if(LowHPsound = "" || LowHPsound = "ERROR")
- {
- LowHPsound := "" . Sounds . "\LowHP.mp3"
- IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
- }
- IniRead, BKsound, settings.ini, Sounds, BKsound
- if(BKsound = "" || BKsound == "ERROR")
- {
- BKsound := "" . Sounds . "\BK.mp3"
- IniWrite, %BKsound%, settings.ini, Sounds, BKsound
- }
- 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 gCheckBK Checked%CheckBK% vCheckBK,
- Gui, 4:Add, GroupBox, x36 y130 w700 h160 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, BK:
- 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 gBKAuswahl vBKAuswahl, %BKsound%
- 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 gEinstellBK, %Pictures%\soundwahl.png
- IniRead, CheckCall, settings.ini, Sounds, CheckCall
- IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
- IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
- IniRead, CheckBK, settings.ini, Sounds, CheckBK
- IniRead, Callsound, settings.ini, Sounds, Callsound
- IniRead, SMSsound, settings.ini, Sounds, SMSsound
- IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
- IniRead, BKsound, settings.ini, Sounds, BKsound
- GuiControl, 4: , CheckCall, %CheckCall%
- GuiControl, 4: , CheckSMS, %CheckSMS%
- GuiControl, 4: , CheckLowHP, %CheckLowHP%
- GuiControl, 4: , CheckBK, %CheckBK%
- GuiControl, 4: , CallAuswahl, %CallSound%
- GuiControl, 4: , SMSAuswahl, %SMSSound%
- GuiControl, 4: , LowHPAuswahl, %LowHPSound%
- GuiControl, 4: , BKAuswahl, %BKSound%
- Gui, 4: Add, Button, x296 y300 w180 h50 gZurück, Zurück
- Gui, 4:Color, 292929
- Gui, 4:Show, w780 h372, Sounds
- IniRead, VolCall, settings.ini, Sounds, VolCall
- IniRead, VolSMS, settings.ini, Sounds, VolSMS
- IniRead, VolLowHP, settings.ini, Sounds, VolLowHP
- IniRead, VolBK, settings.ini, Sounds, VolBK
- if(VolCall = "" || VolCall = "ERROR")
- {
- VolCall := 100
- IniWrite, %VolCall%, settings.ini, Sounds, VolCall
- }
- if(VolSMS = "" || VolSMS = "ERROR")
- {
- VolSMS := 100
- IniWrite, %VolSMS%, settings.ini, Sounds, VolSMS
- }
- if(VolLowHP = "" || VolLowHP = "ERROR")
- {
- VolLowHP := 100
- IniWrite, %VolLowHP%, settings.ini, Sounds, VolLowHP
- }
- if(VolBK = "" || VolBK = "ERROR")
- {
- VolBK := 100
- IniWrite, %VolBK%, settings.ini, Sounds, VolBK
- }
- SetParam("use_window", "1")
- SetParam("window", "GTA:SA:MP")
- return
- Zurück:
- 4GuiClose:
- Gui, 4: Destroy
- return
- CallAuswahl:
- if(CheckCall = 1)
- {
- FileSelectFile, Callsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(Callsoundx != "")
- {
- Callsound := Callsoundx
- IniWrite, %Callsound%, settings.ini, 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.ini, Sounds, SMSsound
- GuiControl, 4: , SMSAuswahl, %SMSSound%
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolCall%
- }
- SoundPlay, %SMSSound%
- }
- }
- return
- LowHPAuswahl:
- if(CheckLowHP = 1)
- {
- FileSelectFile, LowHPsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(LowHPsoundx != "")
- {
- LowHPsound := LowHPsoundx
- IniWrite, %LowHPsound%, settings.ini, Sounds, LowHPsound
- GuiControl, 4: , LowHPAuswahl, %LowHPSound%
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolCall%
- }
- SoundPlay, %LowHPSound%
- }
- }
- return
- BKAuswahl:
- if(CheckBK = 1)
- {
- FileSelectFile, BKsoundx, 3, %Sounds%, MP3-Sound auswählen,*.mp3
- if(BKsoundx != "")
- {
- BKsound := BKsoundx
- IniWrite, %BKsound%, settings.ini, Sounds, BKsound
- GuiControl, 4: , BKAuswahl, %BKSound%
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolCall%
- }
- SoundPlay, %BKSound%
- }
- }
- return
- CheckCall:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckCall%, settings.ini, Sounds, CheckCall
- return
- CheckSMS:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckSMS%, settings.ini, Sounds, CheckSMS
- GuiControl, 4: Choose, CheckSMS, %CheckSMS%
- return
- CheckLowHP:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckLowHP%, settings.ini, Sounds, CheckLowHP
- GuiControl, 4: Choose, CheckLowHP, %CheckLowHP%
- return
- CheckBK:
- Gui, 4: Submit, NoHide
- IniWrite, %CheckBK%, settings.ini, Sounds, CheckBK
- GuiControl, 4: Choose, CheckBK, %CheckBK%
- 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
- EinstellBK:
- if(CheckBK = 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 vVolBK gVolBK, %VolBK%
- Gui, 44: Add, Text, x15 y60 w30 h20 +center, Min
- Gui, 44: Add, Text, x285 y60 w30 h20 +center, Max
- VolBKProz := "" . VolBK . "%"
- Gui, 44: Add, Text, x40 y60 w240 h20 +center vVolBKProz, %VolBKProz%
- Gui, 44: Show
- }
- else
- {
- MsgBox, 48, Einstellung BKsound, 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.ini, Sounds, VolCall
- return
- VolSMS:
- GuiControlGet MemVol,, VolSMS
- VolSMSProz := "" . VolSMS . "%"
- GuiControl,,VolSMSProz, %VolSMSProz%
- SoundSetWaveVolume %MemVol%
- SoundPlay, %SMSsound%
- IniWrite, %VolSMS%, settings.ini, Sounds, VolSMS
- return
- VolLowHP:
- GuiControlGet MemVol,, VolLowHP
- VolLowHPProz := "" . VolLowHP . "%"
- GuiControl,,VolLowHPProz, %VolLowHPProz%
- SoundSetWaveVolume %MemVol%
- SoundPlay, %LowHPsound%
- IniWrite, %VolLowHP%, settings.ini, Sounds, VolLowHP
- return
- VolBK:
- GuiControlGet MemVol,, VolBK
- VolBkProz := "" . VolBk . "%"
- GuiControl,,VolBKProz, %VolBKProz%
- SoundSetWaveVolume %MemVol%
- SoundPlay, %Bksound%
- IniWrite, %VolBK%, settings.ini, Sounds, VolBK
- 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
- Ausruesten:
- Gui, 3: Destroy
- IniRead, Profil1_1, settings.ini, Ausruesten, Profil1_1
- IniRead, Profil1_2, settings.ini, Ausruesten, Profil1_2
- IniRead, Profil1_3, settings.ini, Ausruesten, Profil1_3
- IniRead, Profil1_4, settings.ini, Ausruesten, Profil1_4
- IniRead, Profil1_5, settings.ini, Ausruesten, Profil1_5
- IniRead, Profil1_6, settings.ini, Ausruesten, Profil1_6
- IniRead, Profil1_7, settings.ini, Ausruesten, Profil1_7
- IniRead, Profil2_1, settings.ini, Ausruesten, Profil2_1
- IniRead, Profil2_2, settings.ini, Ausruesten, Profil2_2
- IniRead, Profil2_3, settings.ini, Ausruesten, Profil2_3
- IniRead, Profil2_4, settings.ini, Ausruesten, Profil2_4
- IniRead, Profil2_5, settings.ini, Ausruesten, Profil2_5
- IniRead, Profil2_6, settings.ini, Ausruesten, Profil2_6
- IniRead, Profil2_7, settings.ini, Ausruesten, Profil2_7
- IniRead, Profil3_1, settings.ini, Ausruesten, Profil3_1
- IniRead, Profil3_2, settings.ini, Ausruesten, Profil3_2
- IniRead, Profil3_3, settings.ini, Ausruesten, Profil3_3
- IniRead, Profil3_4, settings.ini, Ausruesten, Profil3_4
- IniRead, Profil3_5, settings.ini, Ausruesten, Profil3_5
- IniRead, Profil3_6, settings.ini, Ausruesten, Profil3_6
- IniRead, Profil3_7, settings.ini, Ausruesten, Profil3_7
- IniRead, UCSkin, settings.ini, Ausruesten, UCSkin
- IniRead, Schutzweste, settings.ini, Ausruesten, Schutzweste
- If(UCSkin == "ERROR")
- {
- UCSkin := ""
- }
- Gui, 3: Add, Text, x22 y29 w810 h70 , Hier kannst du dir drei Ausrüsten-Profile zusammenstellen und direkt ingame abrufen. Die ersten beiden Profile sind für den normalen Streifendienst gedacht und können mit F4 bzw. F5 ausgewählt werden. Im dritten Profil kann zusätzlich ein UC-Skin gewählt werden und du kannst entscheiden, ob du mit einer Schutzweste auf Streife gehen möchtest oder nicht. Die UC-Streife kannst du mit F6 auswählen. `nGehealt wirst du aber in jedem Fall. `nWICHTIG: Die erste Waffe darf nicht leer sein!
- Gui, 3: Add, GroupBox, x12 y9 w830 h90 , Information
- Gui, 3: Add, GroupBox, x12 y108 w830 h98 , Normale Streife
- Gui, 3: Add, GroupBox, x12 y209 w830 h90 , Undercover Streife
- Gui, 3: Add, Text, x22 y129 w110 h20 , Ausrüsten Profil I (F4):
- Gui, 3: Add, DropDownList, x142 y127 w90 h110 vProfil1_1, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
- Gui, 3: Add, DropDownList, x242 y127 w90 h110 vProfil1_2, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
- Gui, 3: Add, DropDownList, x342 y127 w90 h110 vProfil1_3, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
- Gui, 3: Add, DropDownList, x442 y127 w90 h110 vProfil1_4, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
- Gui, 3: Add, DropDownList, x542 y127 w90 h110 vProfil1_5, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
- Gui, 3: Add, DropDownList, x642 y127 w90 h110 vProfil1_6, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
- Gui, 3: Add, DropDownList, x742 y127 w90 h110 vProfil1_7, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Rifle|Spray
- GuiControl, 3: Choose, Profil1_1, %Profil1_1%
- GuiControl, 3: Choose, Profil1_2, %Profil1_2%
- GuiControl, 3: Choose, Profil1_3, %Profil1_3%
- GuiControl, 3: Choose, Profil1_4, %Profil1_4%
- GuiControl, 3: Choose, Profil1_5, %Profil1_5%
- GuiControl, 3: Choose, Profil1_6, %Profil1_6%
- GuiControl, 3: Choose, Profil1_7, %Profil1_7%
- Gui, 3: Add, Text, x22 y179 w110 h20 , Ausrüsten Profil II (F5):
- Gui, 3: Add, DropDownList, x142 y177 w90 h110 vProfil2_1, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x242 y177 w90 h110 vProfil2_2, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x342 y177 w90 h110 vProfil2_3, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x442 y177 w90 h110 vProfil2_4, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x542 y177 w90 h110 vProfil2_5, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x642 y177 w90 h110 vProfil2_6, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x742 y177 w90 h110 vProfil2_7, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- GuiControl, 3: Choose, Profil2_1, %Profil2_1%
- GuiControl, 3: Choose, Profil2_2, %Profil2_2%
- GuiControl, 3: Choose, Profil2_3, %Profil2_3%
- GuiControl, 3: Choose, Profil2_4, %Profil2_4%
- GuiControl, 3: Choose, Profil2_5, %Profil2_5%
- GuiControl, 3: Choose, Profil2_6, %Profil2_6%
- GuiControl, 3: Choose, Profil2_7, %Profil2_7%
- Gui, 3: Add, Text, x22 y229 w110 h20 , UC-Profil (F6):
- Gui, 3: Add, DropDownList, x142 y227 w90 h110 vProfil3_1, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x242 y227 w90 h110 vProfil3_2, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x342 y227 w90 h110 vProfil3_3, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x442 y227 w90 h110 vProfil3_4, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x542 y227 w90 h110 vProfil3_5, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x642 y227 w90 h110 vProfil3_6, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- Gui, 3: Add, DropDownList, x742 y227 w90 h110 vProfil3_7, ||Schlagstock|Deagle|Shotgun|MP5|M4|Sniper|Spray
- GuiControl, 3: Choose, Profil3_1, %Profil3_1%
- GuiControl, 3: Choose, Profil3_2, %Profil3_2%
- GuiControl, 3: Choose, Profil3_3, %Profil3_3%
- GuiControl, 3: Choose, Profil3_4, %Profil3_4%
- GuiControl, 3: Choose, Profil3_5, %Profil3_5%
- GuiControl, 3: Choose, Profil3_6, %Profil3_6%
- GuiControl, 3: Choose, Profil3_7, %Profil3_7%
- Gui, 3: Add, Text, x142 y269 w90 h20 , UC-Skin (1-XX):
- Gui, 3: Add, Edit, x242 y267 w110 h20 vUCSkin, %UCSkin%
- Gui, 3: Add, CheckBox, x402 y267 w120 h20 vSchutzweste Checked%Schutzweste%, Schutzweste?
- Gui, 3: Add, Button, x358 y305 w150 h40 gSpeichern2, Speichern
- Gui, 3: Show, w867 h358, Ausrüsten
- return
- Speichern2:
- GuiControlGet, Profil1_1
- GuiControlGet, Profil1_2
- GuiControlGet, Profil1_3
- GuiControlGet, Profil1_4
- GuiControlGet, Profil1_5
- GuiControlGet, Profil1_6
- GuiControlGet, Profil1_7
- GuiControlGet, Profil2_1
- GuiControlGet, Profil2_2
- GuiControlGet, Profil2_3
- GuiControlGet, Profil2_4
- GuiControlGet, Profil2_5
- GuiControlGet, Profil2_6
- GuiControlGet, Profil2_7
- GuiControlGet, Profil3_1
- GuiControlGet, Profil3_2
- GuiControlGet, Profil3_3
- GuiControlGet, Profil3_4
- GuiControlGet, Profil3_5
- GuiControlGet, Profil3_6
- GuiControlGet, Profil3_7
- GuiControlGet, UCSkin
- GuiControlGet, Schutzweste
- IniWrite, %Profil1_1%, settings.ini, Ausruesten, Profil1_1
- IniWrite, %Profil1_2%, settings.ini, Ausruesten, Profil1_2
- IniWrite, %Profil1_3%, settings.ini, Ausruesten, Profil1_3
- IniWrite, %Profil1_4%, settings.ini, Ausruesten, Profil1_4
- IniWrite, %Profil1_5%, settings.ini, Ausruesten, Profil1_5
- IniWrite, %Profil1_6%, settings.ini, Ausruesten, Profil1_6
- IniWrite, %Profil1_7%, settings.ini, Ausruesten, Profil1_7
- IniWrite, %Profil2_1%, settings.ini, Ausruesten, Profil2_1
- IniWrite, %Profil2_2%, settings.ini, Ausruesten, Profil2_2
- IniWrite, %Profil2_3%, settings.ini, Ausruesten, Profil2_3
- IniWrite, %Profil2_4%, settings.ini, Ausruesten, Profil2_4
- IniWrite, %Profil2_5%, settings.ini, Ausruesten, Profil2_5
- IniWrite, %Profil2_6%, settings.ini, Ausruesten, Profil2_6
- IniWrite, %Profil2_7%, settings.ini, Ausruesten, Profil2_7
- IniWrite, %Profil3_1%, settings.ini, Ausruesten, Profil3_1
- IniWrite, %Profil3_2%, settings.ini, Ausruesten, Profil3_2
- IniWrite, %Profil3_3%, settings.ini, Ausruesten, Profil3_3
- IniWrite, %Profil3_4%, settings.ini, Ausruesten, Profil3_4
- IniWrite, %Profil3_5%, settings.ini, Ausruesten, Profil3_5
- IniWrite, %Profil3_6%, settings.ini, Ausruesten, Profil3_6
- IniWrite, %Profil3_7%, settings.ini, Ausruesten, Profil3_7
- IniWrite, %UCSkin%, settings.ini, Ausruesten, UCSkin
- IniWrite, %Schutzweste%, settings.ini, Ausruesten, Schutzweste
- IniRead, Profil1_1, settings.ini, Ausruesten, Profil1_1
- IniRead, Profil1_2, settings.ini, Ausruesten, Profil1_2
- IniRead, Profil1_3, settings.ini, Ausruesten, Profil1_3
- IniRead, Profil1_4, settings.ini, Ausruesten, Profil1_4
- IniRead, Profil1_5, settings.ini, Ausruesten, Profil1_5
- IniRead, Profil1_6, settings.ini, Ausruesten, Profil1_6
- IniRead, Profil1_7, settings.ini, Ausruesten, Profil1_7
- IniRead, Profil2_1, settings.ini, Ausruesten, Profil2_1
- IniRead, Profil2_2, settings.ini, Ausruesten, Profil2_2
- IniRead, Profil2_3, settings.ini, Ausruesten, Profil2_3
- IniRead, Profil2_4, settings.ini, Ausruesten, Profil2_4
- IniRead, Profil2_5, settings.ini, Ausruesten, Profil2_5
- IniRead, Profil2_6, settings.ini, Ausruesten, Profil2_6
- IniRead, Profil2_7, settings.ini, Ausruesten, Profil2_7
- IniRead, Profil3_1, settings.ini, Ausruesten, Profil3_1
- IniRead, Profil3_2, settings.ini, Ausruesten, Profil3_2
- IniRead, Profil3_3, settings.ini, Ausruesten, Profil3_3
- IniRead, Profil3_4, settings.ini, Ausruesten, Profil3_4
- IniRead, Profil3_5, settings.ini, Ausruesten, Profil3_5
- IniRead, Profil3_6, settings.ini, Ausruesten, Profil3_6
- IniRead, Profil3_7, settings.ini, Ausruesten, Profil3_7
- IniRead, UCSkin, settings.ini, Ausruesten, UCSkin
- IniRead, Schutzweste, settings.ini, Ausruesten, Schutzweste
- MsgBox, 64, , Gespeichert.
- Gui, 3: Destroy
- return
- Speichern:
- GuiControlGet, Fraktion
- GuiControlGet, Abteilung
- GuiControlGet, Swatabteilung
- GuiControlGet, Laptop
- GuiControlGet, Lock
- GuiControlGet, Chatlogsaver
- GuiControlGet, TankZoll
- Gui, 5: Submit
- Gui, 7: Submit
- if(Chatlogsaver == 1)
- {
- SetTimer, Chatlog, Off
- SetTimer, Chatlog, 500
- }
- IniWrite, %Fraktion%, settings.ini, Daten, Fraktion
- IniWrite, %Abteilung%, settings.ini, Daten, Abteilung
- IniWrite, %Swatabteilung%, settings.ini, Daten, Swatabteilung
- IniWrite, %Laptop%, settings.ini, Daten, Laptop
- IniWrite, %Lock%, settings.ini, Daten, Lock
- IniWrite, %Chatlogsaver%, settings.ini, Daten, Chatlogsaver
- IniWrite, %TankZoll%, settings.ini, Daten, TankZoll
- IniRead, Fraktion, settings.ini, Daten, Fraktion
- IniRead, Abteilung, settings.ini, Daten, Abteilung
- IniRead, Swatabteilung, settings.ini, Daten, Swatabteilung
- IniRead, Laptop, settings.ini, Daten, Laptop
- IniRead, Lock, settings.ini, Daten, Lock
- IniRead, Chatlogsaver, settings.ini, Daten, Chatlogsaver
- IniRead, TankZoll, settings.ini, Daten, TankZoll
- IniRead, CheckCall, settings.ini, Sounds, CheckCall
- IniRead, CheckSMS, settings.ini, Sounds, CheckSMS
- IniRead, CheckLowHP, settings.ini, Sounds, CheckLowHP
- IniRead, CheckBK, settings.ini, Sounds, CheckBK
- IniRead, Callsound, settings.ini, Sounds, Callsound
- IniRead, SMSsound, settings.ini, Sounds, SMSsound
- IniRead, LowHPsound, settings.ini, Sounds, LowHPsound
- IniRead, BKsound, settings.ini, Sounds, BKsound
- IniRead, VolCall, settings.ini, Sounds, VolCall
- IniRead, VolSMS, settings.ini, Sounds, VolSMS
- IniRead, VolLowHP,settings.ini, Sounds, VolLowHP
- IniRead, VolBk, settings.ini, Sounds, VolBK
- loop, %Binds%
- {
- IniWrite, % Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%
- IniWrite, % Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%
- IniWrite, % SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%
- }
- IniWrite, %xBind1%, %Hotkeys%, Maus, xBind1
- IniWrite, %xBind2%, %Hotkeys%, Maus, xBind2
- IniWrite, %wBind1%, %Hotkeys%, Maus, wBind1
- IniWrite, %wBind2%, %Hotkeys%, Maus, wBind2
- IniRead, xBind1, %Hotkeys%, Maus, xBind1, %A_Space%
- IniRead, xBind2, %Hotkeys%, Maus, xBind2, %A_Space%
- IniRead, wBind1, %Hotkeys%, Maus, wBind1, %A_Space%
- IniRead, wBind2, %Hotkeys%, Maus, wBind2, %A_Space%
- loop, %Binds%
- {
- IniRead, Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%, %A_Space%
- IniRead, Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%, %A_Space%
- IfNotEqual, Key%A_Index%,, Hotkey, % Key%A_Index%, Key%A_Index%
- IniRead, SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%, 0
- }
- IniWrite, %HPAnzeige%, Overlay.ini, HP Overlay, HPAnzeige
- IniWrite, %APAnzeige%, Overlay.ini, AP Overlay, APAnzeige
- SynchronizeLaptop(Laptop)
- MsgBox, 64, , Gespeichert.
- return
- CustomBindsGui:
- Gui, 5: Submit
- Gui, 5: Destroy
- IniRead, xBind1, %Hotkeys%, Maus, xBind1, %A_Space%
- IniRead, xBind2, %Hotkeys%, Maus, xBind2, %A_Space%
- IniRead, wBind1, %Hotkeys%, Maus, wBind1, %A_Space%
- IniRead, wBind2, %Hotkeys%, Maus, wBind2, %A_Space%
- loop, %Binds%
- {
- IniRead, Key%A_Index%, %Hotkeys%, Hotkeys, Key%A_Index%, %A_Space%
- IniRead, Bind%A_Index%, %Hotkeys%, Hotkeys, Bind%A_Index%, %A_Space%
- IfNotEqual, Key%A_Index%,, Hotkey, % Key%A_Index%, Key%A_Index%
- IniRead, SendenKey%A_Index%, %Hotkeys%, Senden, SendenKey%A_Index%, 0
- }
- Gui, 5: Add, Tab2, x5 y5 h375 w655 +Theme -Background -Wrap, Hotkeys|Maustasten
- Gui, 5:Tab, Hotkeys
- Gui, 5:Add, GroupBox, x325 y50 h200 w1
- Gui, 5:Font, underline
- Gui, 5:Add, Text, x10 y30 h20, Taste
- Gui, 5:Add, Text, x140 y30 h20, Aktion
- Gui, 5:Add, Text, x340 y30 h20, Taste
- Gui, 5:Add, Text, x470 y30 h20, Aktion
- Gui, 5: Add, Text, x245 y30 h20, Direkt Senden
- Gui, 5: Add, Text, x580 y30 h20, Direkt Senden
- Gui, 5: Font
- Gui, 5: Add, Hotkey, x10 y50 w120 h20 vKey1 Checked%Key1%, %Key1%
- Gui, 5: Add, Edit, x140 y50 w120 h20 vBind1, %Bind1%
- Gui, 5: Add, Hotkey, x10 y75 w120 h20 vKey2 Checked%Key2%, %Key2%
- Gui, 5: Add, Edit, x140 y75 w120 h20 vBind2, %Bind2%
- Gui, 5: Add, Hotkey, x10 y100 w120 h20 vKey3 Checked%Key3%, %Key3%
- Gui, 5: Add, Edit, x140 y100 w120 h20 vBind3, %Bind3%
- Gui, 5: Add, Hotkey, x10 y125 w120 h20 vKey4 Checked%Key4%, %Key4%
- Gui, 5: Add, Edit, x140 y125 w120 h20 vBind4, %Bind4%
- Gui, 5: Add, Hotkey, x10 y150 w120 h20 vKey5 Checked%Key5%, %Key5%
- Gui, 5: Add, Edit, x140 y150 w120 h20 vBind5, %Bind5%
- Gui, 5: Add, Hotkey, x10 y175 w120 h20 vKey6 Checked%Ke6%, %Key6%
- Gui, 5: Add, Edit, x140 y175 w120 h20 vBind6, %Bind6%
- Gui, 5: Add, Hotkey, x10 y200 w120 h20 vKey7 Checked%Key7%, %Key7%
- Gui, 5: Add, Edit, x140 y200 w120 h20 vBind7, %Bind7%
- Gui, 5: Add, Hotkey, x10 y225 w120 h20 vKey8 Checked%Key8%, %Key8%
- Gui, 5: Add, Edit, x140 y225 w120 h20 vBind8, %Bind8%
- Gui, 5: Add, Hotkey, x10 y250 w120 h20 vKey9 Checked%Key9%, %Key9%
- Gui, 5: Add, Edit, x140 y250 w120 h20 vBind9, %Bind9%
- Gui, 5: Add, Hotkey, x10 y275 w120 h20 vKey10 Checked%Key10%, %Key10%
- Gui, 5: Add, Edit, x140 y275 w120 h20 vBind10, %Bind10%
- Gui, 5: Add, Hotkey, x10 y300 w120 h20 vKey11 Checked%Key11%, %Key11%
- Gui, 5: Add, Edit, x140 y300 w120 h20 vBind11, %Bind111%
- Gui, 5: Add, Hotkey, x10 y325 w120 h20 vKey12 Checked%Key12%, %Key12%
- Gui, 5: Add, Edit, x140 y325 w120 h20 vBind12, %Bind12%
- Gui, 5: Add, Hotkey, x10 y350 w120 h20 vKey13 Checked%Key13%, %Key13%
- Gui, 5: Add, Edit, x140 y350 w120 h20 vBind13, %Bind13%
- Gui, 5: Add, Hotkey, x340 y50 w120 h20 vKey14 Checked%Key14%, %Key14%
- Gui, 5: Add, Edit, x470 y50 w120 h20 vBind14, %Bind14%
- Gui, 5: Add, Hotkey, x340 y75 w120 h20 vKey15 Checked%Key15%, %Key15%
- Gui, 5: Add, Edit, x470 y75 w120 h20 vBind15, %Bind15%
- Gui, 5: Add, Hotkey, x340 y100 w120 h20 vKey16 Checked%Key16%, %Key16%
- Gui, 5: Add, Edit, x470 y100 w120 h20 vBind16, %Bind16%
- Gui, 5: Add, Hotkey, x340 y125 w120 h20 vKey17 Checked%Key17%, %Key17%
- Gui, 5: Add, Edit, x470 y125 w120 h20 vBind17, %Bind17%
- Gui, 5: Add, Hotkey, x340 y150 w120 h20 vKey18 Checked%Key18%, %Key18%
- Gui, 5: Add, Edit, x470 y150 w120 h20 vBind18, %Bind18%
- Gui, 5: Add, Hotkey, x340 y175 w120 h20 vKey19 Checked%Key19%, %Key19%
- Gui, 5: Add, Edit, x470 y175 w120 h20 vBind19, %Bind19%
- Gui, 5: Add, Hotkey, x340 y200 w120 h20 vKey20 Checked%Key20%, %Key20%
- Gui, 5: Add, Edit, x470 y200 w120 h20 vBind20, %Bind20%
- Gui, 5: Add, Hotkey, x340 y225 w120 h20 vKey21 Checked%Key21%, %Key21%
- Gui, 5: Add, Edit, x470 y225 w120 h20 vBind21, %Bind21%
- Gui, 5: Add, Hotkey, x340 y250 w120 h20 vKey22 Checked%Key22%, %Key22%
- Gui, 5: Add, Edit, x470 y250 w120 h20 vBind22, %Bind22%
- Gui, 5: Add, Hotkey, x340 y275 w120 h20 vKey23 Checked%Key23%, %Key23%
- Gui, 5: Add, Edit, x470 y275 w120 h20 vBind23, %Bind23%
- Gui, 5: Add, Hotkey, x340 y300 w120 h20 vKey24 Checked%Key24%, %Key24%
- Gui, 5: Add, Edit, x470 y300 w120 h20 vBind24, %Bind22%
- Gui, 5: Add, Hotkey, x340 y325 w120 h20 vKey25 Checked%Key25%, %Key25%
- Gui, 5: Add, Edit, x470 y325 w120 h20 vBind25, %Bind25%
- Gui, 5: Add, Hotkey, x340 y350 w120 h20 vKey26 Checked%Key26%, %Key26%
- Gui, 5: Add, Edit, x470 y350 w120 h20 vBind26, %Bind26%
- Gui, 5: Font, norm
- Gui, 5: Add, CheckBox, x270 y52 +BackgroundTrans vSendenKey1 Checked%SendenKey1%,
- Gui, 5: Add, CheckBox, x270 y77 +BackgroundTrans vSendenKey2 Checked%SendenKey2%,
- Gui, 5: Add, CheckBox, x270 y102 +BackgroundTrans vSendenKey3 Checked%SendenKey3%,
- Gui, 5: Add, CheckBox, x270 y127 +BackgroundTrans vSendenKey4 Checked%SendenKey4%,
- Gui, 5: Add, CheckBox, x270 y152 +BackgroundTrans vSendenKey5 Checked%SendenKey5%,
- Gui, 5: Add, CheckBox, x270 y177 +BackgroundTrans vSendenKey6 Checked%SendenKey6%,
- Gui, 5: Add, CheckBox, x270 y202 +BackgroundTrans vSendenKey7 Checked%SendenKey7%,
- Gui, 5: Add, CheckBox, x270 y227 +BackgroundTrans vSendenKey8 Checked%SendenKey8%,
- Gui, 5: Add, CheckBox, x270 y252 +BackgroundTrans vSendenKey9 Checked%SendenKey9%,
- Gui, 5: Add, CheckBox, x270 y277 +BackgroundTrans vSendenKey10 Checked%SendenKey10%,
- Gui, 5: Add, CheckBox, x270 y302 +BackgroundTrans vSendenKey11 Checked%SendenKey11%,
- Gui, 5: Add, CheckBox, x270 y327 +BackgroundTrans vSendenKey12 Checked%SendenKey12%,
- Gui, 5: Add, CheckBox, x270 y352 +BackgroundTrans vSendenKey13 Checked%SendenKey13%,
- Gui, 5: Add, CheckBox, x600 y52 +BackgroundTrans vSendenKey14 Checked%SendenKey14%,
- Gui, 5: Add, CheckBox, x600 y77 +BackgroundTrans vSendenKey15 Checked%SendenKey15%,
- Gui, 5: Add, CheckBox, x600 y102 +BackgroundTrans vSendenKey16 Checked%SendenKey16%,
- Gui, 5: Add, CheckBox, x600 y127 +BackgroundTrans vSendenKey17 Checked%SendenKey17%,
- Gui, 5: Add, CheckBox, x600 y152 +BackgroundTrans vSendenKey18 Checked%SendenKey18%,
- Gui, 5: Add, CheckBox, x600 y177 +BackgroundTrans vSendenKey19 Checked%SendenKey19%,
- Gui, 5: Add, CheckBox, x600 y202 +BackgroundTrans vSendenKey20 Checked%SendenKey20%,
- Gui, 5: Add, CheckBox, x600 y227 +BackgroundTrans vSendenKey21 Checked%SendenKey21%,
- Gui, 5: Add, CheckBox, x600 y252 +BackgroundTrans vSendenKey22 Checked%SendenKey22%,
- Gui, 5: Add, CheckBox, x600 y277 +BackgroundTrans vSendenKey23 Checked%SendenKey23%,
- Gui, 5: Add, CheckBox, x600 y302 +BackgroundTrans vSendenKey24 Checked%SendenKey24%,
- Gui, 5: Add, CheckBox, x600 y327 +BackgroundTrans vSendenKey25 Checked%SendenKey25%,
- Gui, 5: Add, CheckBox, x600 y352 +BackgroundTrans vSendenKey26 Checked%SendenKey26%,
- Gui, 5: Tab, Maustasten
- Gui, 5: Font, underline
- Gui, 5: Add, Text, x10 y30 h20, Taste
- Gui, 5: Add, Text, x140 y30 h20, Aktion
- Gui, 5: Add, Text, x300 y30 h20, Taste
- Gui, 5: Add, Text, x430 y30 h20, Aktion
- Gui, 5: Font
- Gui, 5: Add, Text, x10 y50, Maustaste 4
- Gui, 5: Add, Edit, x140 y50 w130 h20 vxBind1, %xBind1%
- Gui, 5: Add, Text, x300 y50, Maustaste 5
- Gui, 5: Add, Edit, x430 y50 w130 h20 vxBind2, %xBind2%
- Gui, 5: Add, Text, x10 y75, Mausrad links kippen
- Gui, 5: Add, Edit, x140 y75 w130 h20 vwBind1, %wBind1%
- Gui, 5: Add, Text, x300 y75, Mausrad rechts kippen
- Gui, 5: Add, Edit, x430 y75 w130 h20 vwBind2, %wBind2%
- Menu, MenuBar, Add, &Speichern, Speichern
- Menu, MenuBar, Add, &Informationen, Hotkeys_Informationen
- Gui, 5: Menu, MenuBar
- Gui, 5: Show,, Staatsgewaltkeybinder: Eigene Binds
- return
- Hotkeys_Informationen:
- MsgBox, 64, Staatsgewaltkeybinder: Informationen zu den eigenen Binds, 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. Du kannst selbst entscheiden`, ob der Befehl direkt gesendet werden soll oder ob der eingegebene Befehl / Text erst im Chatfenster bestätigt werden muss. Bei der zweiten Variante kannst mit folgender Kombination {left XY} den Cursor um XY Zeichen nach lanks bewegen. Verwendest du {space} am Ende`, kannst du nach dem Befehl / Text diesen weiter ergänzen.`n`nFolgende "Kürzel" habenin beiden Fällen 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<einheit> = Wird ersetzt durch die aktuelle Streifeneinheit
- return
- Druck:
- IfExist, Druckversion.txt
- {
- FileDelete, Druckversion.txt
- }
- FileAppend, Belegungen`n %Belegungen%`n`n%Vergaben%`n`nLaptopModus `n%LaptopModus%`n`nAdmin-Befehle `n%AdminBefehle%, Druckversion.txt
- MsgBox, 64, Druckversion, Die Druckversion befindet sich nun im Ordner des Keybinders.
- return
- Update:
- URLDownloadToFile, http://www.rpg-ausbildung.de/keybinder/Patchlist.txt, %A_AppData%/Patchlist.txt
- FileRead, Patchlist, %A_AppData%/Patchlist.txt
- Gui, 2:Add, Edit, x0 y0 w300 h300, %Patchlist%
- Gui, 2:Show, x152 y112 w300 h300, News und Updates
- 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
- _GtaCheck:
- Process , exist, gta_sa.exe
- GtaPid := ErrorLevel
- if (GtaPid != 0)
- {
- if(GtaCheckTrue == "0")
- {
- GtaCheckTrue := "1"
- SetTimer, Systeme, off
- SetTimer, Systeme, 500
- SetTimer, NameCheck, off
- SetTimer, NameCheck, 1000
- 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_AP)
- {
- if Switcher = 6
- {
- IniWrite, %Overlay_size%, Overlay.ini, Status Overlay, Overlay_size
- IniWrite, %Overlay_posx%, Overlay.ini, Status Overlay, Overlay_posx
- IniWrite, %Overlay_posy%, Overlay.ini, Status Overlay, Overlay_posy
- IniWrite, %HP_size%, Overlay.ini, HP Overlay, HP_size
- IniWrite, %HP_posx%, Overlay.ini, HP Overlay, HP_posx
- IniWrite, %HP_posy%, Overlay.ini, HP Overlay, HP_posy
- IniWrite, %AP_size%, Overlay.ini, AP Overlay, AP_size
- IniWrite, %AP_posx%, Overlay.ini, AP Overlay, AP_posx
- IniWrite, %AP_posy%, Overlay.ini, AP Overlay, AP_posy
- SetTimer, Ov_Update, off
- TextSetString(boxtext6,"Einstellungen gespeichert")
- TextSetColor(boxtext6,0xFF4DFF55)
- sleep 1000
- Menu_Overlay := 0
- Menu_HP := 0
- Menu_AP := 0
- Loop 6
- {
- BoxSetShown(Box%A_INDex%, false)
- TextSetShown(boxtext%A_index%,false)
- }
- TextSetColor(boxtext6,0x00BFFFFF)
- Settimer, Ov_Update, 1500
- }
- }
- return
- ~Escape::
- Suspend Permit
- Suspend Off
- SendInput {Escape}
- Hotkey, t, On
- Hotkey, Enter, Off
- Hotkey, Escape, Off
- return
- SynchronizeLaptop(Integer)
- {
- if(!integer)
- {
- HotKey, !^0, off
- HotKey, !^1, off
- HotKey, !^2, off
- HotKey, !^3, off
- HotKey, !^4, off
- HotKey, !^5, off
- HotKey, !^6, off
- HotKey, !^7, off
- HotKey, !^8, off
- HotKey, !^9, off
- HotKey, !1, off
- HotKey, !2, off
- HotKey, !3, off
- HotKey, !4, off
- HotKey, !5, off
- HotKey, !6, off
- HotKey, !7, off
- HotKey, !8, off
- HotKey, !9, off
- HotKey, ^0, off
- HotKey, ^1, off
- HotKey, ^2, off
- HotKey, ^3, off
- HotKey, ^4, off
- HotKey, ^5, off
- HotKey, ^6, off
- HotKey, ^7, off
- HotKey, ^8, off
- HotKey, ^9, off
- HotKey, +, off
- HotKey, !+, off
- }
- else
- {
- HotKey, !^0, on
- HotKey, !^1, on
- HotKey, !^2, on
- HotKey, !^3, on
- HotKey, !^4, on
- HotKey, !^5, on
- HotKey, !^6, on
- HotKey, !^7, on
- HotKey, !^8, on
- HotKey, !^9, on
- HotKey, !1, on
- HotKey, !2, on
- HotKey, !3, on
- HotKey, !4, on
- HotKey, !5, on
- HotKey, !6, on
- HotKey, !7, on
- HotKey, !8, on
- HotKey, !9, on
- HotKey, ^0, on
- HotKey, ^1, on
- HotKey, ^2, on
- HotKey, ^3, on
- HotKey, ^4, on
- HotKey, ^5, on
- HotKey, ^6, on
- HotKey, ^7, on
- HotKey, ^8, on
- HotKey, ^9, on
- HotKey, +, on
- HotKey, !+, on
- }
- 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
- }
- NameCheck:
- if(WinExist("GTA:SA:MP"))
- GetServerIP(serverip)
- if(serverip != "37.187.135.201")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht auf RPG-City verbunden.")
- ExitApp
- }
- SetTimer, NameCheck, off
- Sleep, 750
- IniRead, Passwort, settings.ini, Sonstiges, Passwort
- if(Passwort != "" && Passwort != " " && Passwort != "ERROR")
- {
- query = http://ni31914_3.vweb16.nitrado.net/keybinder/checkPassword.php?password=%Passwort%
- result := UrlDownloadToVar(query)
- Sleep, 100
- StringTrimRight, result, result, 1
- if(result != "True")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dein Authentifizierungspasswort für alle Online-Features ist nicht korrekt.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Bitte benutze {FFBF00}/passwort{FFFFFF}, um das neue Passwort einzugeben (zu finden im Keybinder-Thread).")
- }
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Um alle Online-Features nutzen zu können, musst du dich mit einem Passwort authentifizieren.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Bitte benutze {FFBF00}/passwort{FFFFFF}, um das neue Passwort einzugeben (zu finden im Keybinder-Thread).")
- }
- return
- :?:/passwort::
- Suspend Permit
- SendInput Authentifizierungs-Passwort:{space}
- Input,Passwort,V I M,{enter}{escape}{space}
- if(errorlevel == "EndKey:Escape")
- return
- SendInput ^a{delete}{enter}
- Send {enter}
- Sleep, 100
- if(Passwort != "" && Passwort != " ")
- {
- query = http://ni31914_3.vweb16.nitrado.net/keybinder/checkPassword.php?password=%Passwort%
- result := UrlDownloadToVar(query)
- Sleep, 100
- StringTrimRight, result, result, 1
- if(result != "True")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das eingegebene Passwort war {FF0000}falsch!")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das Passwort war korrekt und wird für die nächste Verwendung gespeichert.")
- IniWrite, %Passwort%, settings.ini, Sonstiges, Passwort
- }
- }
- return
- Systeme:
- If not WinActive("GTA:SA:MP")
- {
- return
- }
- GetChatLine(0, Line0)
- GetChatLine(1, Line1)
- GetChatLine(2, Line2)
- 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.ini, 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.ini, 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(last_line, "benötigt Verstärkung in") && not InStr(last_line, "" . Name . " benötigt Verstärkung in ")) || (InStr(Line1, "benötigt Verstärkung in") && not InStr(last_line, "" . Name . " benötigt Verstärkung in")))
- {
- If(CheckBK = 1)
- {
- if(BKsoundan == 0)
- {
- IniRead, BKsound, settings.ini, Sounds, BKsound
- if(A_OSVersion != "WIN_XP")
- {
- SoundSetWaveVolume, %VolBK%
- }
- SoundPlay, %BKsound%
- Sleep, 500
- FileAppend, Zeile fur Keybinder ,%A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- BKsoundan := 1
- BKCountdown := 14
- }
- }
- }
- if(BKsoundan == 1)
- {
- BKCountdown--
- if(BKCountdown < 1)
- {
- BKsoundan := 0
- }
- }
- 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!"))
- {
- BlockChatInput(True)
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}AntiSpamKick-System {00FF00}aktiv{00FF00}.")
- Sleep, 1500
- AddChatMessage(0xDF0101, "[Calibinder] {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(0xDF0101, "[Calibinder] {FF0000}WARNUNG: {FFFFFF}Du hast nur noch {FFBF00}" GetPlayerHealth() " HP{FFFFFF}. Heil dich schnell!")
- IniRead, LowHPsound, settings.ini, 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(HP == 0)
- {
- bkon = 0
- swatmode := 0
- }
- 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%
- sleep, 250
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}{15A170}[Gehaltscheck]{FFFFFF} Du hast {FFBF00}" . Gehalt . "{FFFFFF}$ verdient.")
- }
- 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(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges. Der Tempomat wurde deaktiviert.")
- SpeedCheckStatus := "0"
- SpeedOnOff := "0"
- Sleep, 250
- SendInput {W up}
- }
- }
- if(InStr(line0, "Strafpunkte eingetragen, Grund: ") && InStr(line0, "" . name . " hat "))
- {
- RegExMatch(line0, "hat (.*) (.*) Strafpunkte eingetragen, Grund\: (.*)", params)
- if(params1 != Name)
- {
- IniRead, Punkte, Statistik.ini, Vergaben, Punkte
- Punkte += params2
- IniWrite, %Punkte%, Statistik.ini, Vergaben, Punkte
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" Punkte "{FFFFFF} Punkte vergeben.")
- }
- }
- if(InStr(line0, "* Du hast ") && InStr(line0, "ein Ticket für") && InStr(line0, "$ gegeben, Grund:"))
- {
- IniRead, Tickets, Statistik.ini, Vergaben, Tickets
- Tickets++
- IniWrite, %Tickets%, Statistik.ini, Vergaben, Tickets
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" Tickets "{FFFFFF} Tickets ausgestellt.")
- }
- if(InStr(line0, "hat dein") && InStr(line0, "$ bezahlt."))
- {
- RegExMatch(line0, "\* (.*) hat dein (.*)\$ bezahlt.", verdientesGeld)
- if(verdientesGeld2 > 0 && verdientesGeld2 != "" && verdientesGeld2 != " ")
- {
- IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
- TicketGeld += verdientesGeld2
- IniWrite, %TicketGeld%, Statistik.ini, Vergaben, TicketGeld
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" TicketGeld "{FFFFFF}$ durch Tickets verdient.")
- }
- }
- if(InStr(line0, "schießt mit seinen Elektroschocker auf"))
- {
- RegExMatch(line0, "\* (.*) schießt mit seinen Elektroschocker auf (.*) und setzt ihn unter Strom.", params)
- GetPlayerName(name)
- if(params1 == name)
- {
- IniRead, Tazer, Statistik.ini, Tazer, Tazer
- Tazer++
- IniWrite, %Tazer%, Statistik.ini, Tazer, Tazer
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" Tazer "{FFFFFF} Personen getazert.")
- }
- }
- if(InStr(line1, " " . Name . " hat den Verdächtigen") && InStr(line1, "offline eingesperrt."))
- {
- RegExMatch(line1, " " Name " hat den Verdächtigen (.*) offline eingesperrt.", Spieler)
- IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
- OffArrest++
- IniWrite, %OffArrest%, Statistik.ini, Arrests, OffArrest
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast {FFBF00}" Spieler1 "{FFFFFF} Off-Arrestet. Off Arrest Nummer {FFBF00}" OffArrest ".")
- Sleep, 250
- }
- if(Instr(line1, "[HQ]:") && InStr(line1, " " . Name . " hat den Verdächtigen") && InStr(line1, "getötet."))
- {
- RegExMatch(line1, " " Name " hat den Verdächtigen (.*) getötet.", Spieler)
- IniRead, Kills, Statistik.ini, Kills, Kills
- Kills++
- IniWrite, %Kills%, Statistik.ini, Kills, Kills
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast {FFBF00}" Spieler1 " getötet, Kill Nummer {FF0000}" Kills "{FFFFFF}.")
- }
- if(InStr(line1, " " . name . " hat den Verdächtigen ") && InStr(line1, "eingesperrt."))
- {
- RegExMatch(line0, "Haftzeit: (.*) Minuten, Geldstrafe: (.*)\$.", param) && RegExMatch(line1, " " Name " hat den Verdächtigen (.*) eingesperrt.", Spieler)
- if(param2 != 0 && param2 > 0)
- {
- IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
- DeathArrest++
- IniWrite, %DeathArrest%, Statistik.ini, Arrests, DeathArrest
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast {FFBF00}" Spieler1 "{FFFFFF} Tot eingesperrt. Death-Arrest Nummer {FFBF00}" DeathArrest ".")
- Sleep, 250
- }
- }
- if(InStr(Line0,"Der Spieler befindet sich in Gebäudekomplex"))
- {
- RegExMatch(Line0,"Der Spieler befindet sich in Gebäudekomplex (.*)", params)
- if(params1 != altergk)
- {
- IniRead, Passwort, settings.ini, Sonstiges, Passwort
- getgk = http://ni31914_3.vweb16.nitrado.net/keybinder/GK/getalldata.php?gkID=%params1%&password=%Passwort%
- success := UrlDownloadToVar(getgk)
- altergk := params1
- if(success == "ERROR_BAD_LINK")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
- }
- else if(success == "ERROR_ACCESS_DENIED")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FF0000}ACHTUNG: {FFFFFF}Zugriff verweigert, das Passwort ist falsch!")
- }
- else if(success == "ERROR_PARAMETER_NO_NUMBER")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Eine Zahl wird vorausgesetzt.")
- }
- else if(success == "ERROR_NOT_FOUND")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FF0000}FEHLER:{FFFFFF} Komplex wurde nicht in der Datenbank gefunden.")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Gebäudekomplex " params1 ":")
- Loop, Parse, success, ~
- {
- AddChatMessage(0xFFFFFF,A_LoopField)
- }
- }
- }
- }
- if(InStr(Line1,"Der Spieler befindet sich in Gebäudekomplex"))
- {
- RegExMatch(Line1,"Der Spieler befindet sich in Gebäudekomplex (.*)", params)
- if(params1 != altergk)
- {
- IniRead, Passwort, settings.ini, Sonstiges, Passwort
- getgk = http://ni31914_3.vweb16.nitrado.net/keybinder/GK/getalldata.php?gkID=%params1%&password=%Passwort%
- success := UrlDownloadToVar(getgk)
- altergk := params1
- if(success == "ERROR_BAD_LINK")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
- }
- else if(success == "ERROR_ACCESS_DENIED")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FF0000}ACHTUNG: {FFFFFF}Zugriff verweigert, das Passwort ist falsch!")
- }
- else if(success == "ERROR_PARAMETER_NO_NUMBER")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Eine Zahl wird vorausgesetzt.")
- }
- else if(success == "ERROR_NOT_FOUND")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FF0000}FEHLER:{FFFFFF} Komplex wurde nicht in der Datenbank gefunden.")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Gebäudekomplex " params1 ":")
- Loop, Parse, success, ~
- {
- AddChatMessage(0xFFFFFF,A_LoopField)
- }
- }
- }
- }
- Flugschein:
- IfWinNotActive, GTA:SA:MP
- return
- GetChatLine(0, Chat1)
- If(InStr(Chat1, "Du hast ") && InStr(Chat1, " seinen ") && InStr(Chat1, "Flugschein weggenommen."))
- {
- RegExMatch(Chat1, "Du hast (.*) seinen Flugschein weggenommen.", Name)
- IniRead, Flugschein, Statistik.ini, Scheine, Flugschein
- Flugschein++
- IniWrite, %Flugschein%, Statistik.ini, Scheine, Flugschein
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FF0000} " . Flugschein . " {FFFFFF} Flugscheine getakt.")
- }
- return
- Bootschein:
- IfWinNotActive, GTA:SA:MP
- return
- GetChatLine(0, Chat1)
- If(InStr(Chat1, "Du hast ") && InStr(Chat1, " seinen ") && InStr(Chat1, "Bootschein weggenommen."))
- {
- RegExMatch(Chat1, "Du hast (.*) seinen Bootschein weggenommen.", Name)
- IniRead, Bootschein, Statistik.ini, Scheine, Bootschein
- Bootschein++
- IniWrite, %Bootschein%, Statistik.ini, Scheine, Bootschein
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] Du hast bereits {FF0000} " . Bootschein . "{FFFFFF} Bootscheine getakt.")
- }
- return
- Waffenschein:
- IfWinNotActive, GTA:SA:MP
- return
- GetChatLine(0, Chat1)
- If(InStr(Chat1, "Du hast ") && InStr(Chat1, " seinen ") && InStr(Chat1, "Waffenschein weggenommen."))
- {
- RegExMatch(Chat1, "Du hast (.*) seinen Waffenschein weggenommen.", Name)
- IniRead, Waffenschein, Statistik.ini, Scheine, Waffenschein
- IniRead, W_Schaden, Statistik.ini, Scheine, W_Schaden
- Waffenschein++
- W_Schaden+=36000
- IniWrite, %Waffenschein%, Statistik.ini, Scheine, Waffenschein
- IniWrite, %W_Schaden%, Statistik.ini, Scheine, W_Schaden
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FFBF00}" . Waffenschein . " {FFFFFF} Waffenscheine getakt.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Geldsumme beläuft sich auf {FFBF00}" W_Schaden "{FFFFFF}$.")
- }
- return
- if(TankZoll == 1)
- {
- goto, TankstelleZoll
- }
- return
- if(TankZoll == 1)
- {
- goto, TankstelleZoll
- }
- return
- TankstelleZoll:
- if(Freigabe == 1)
- {
- if(IsPlayerInAnyVehicle() && IsPlayerDriver())
- {
- if(IsPlayerInRangeOfPoint_fast(614.7936,1689.5481,6.5567, 10) || IsPlayerInRangeOfPoint_fast(-1328.5437,2677.2109,49.6285, 10) || IsPlayerInRangeOfPoint_fast(1595.7455,2198.9319,10.3875, 10) || IsPlayerInRangeOfPoint_fast(2202.3479,2473.9041,10.3849, 10) || IsPlayerInRangeOfPoint_fast(2113.8887,920.1363,10.3840, 10) || IsPlayerInRangeOfPoint_fast(-2408.7478,975.8612,44.8655, 10) || IsPlayerInRangeOfPoint_fast(-2029.3025,156.4132,28.4108, 10) || IsPlayerInRangeOfPoint_fast(-1676.3165,414.2832,6.7490, 10) || IsPlayerInRangeOfPoint_fast(1004.1802,-939.2733,41.7504, 10) || IsPlayerInRangeOfPoint_fast(1944.1013,-1772.9907,12.9622, 10) || IsPlayerInRangeOfPoint_fast(-90.6283,-1169.5378,1.9707, 10) || IsPlayerInRangeOfPoint_fast(-1605.3982,-2714.4424,48.5335, 10) || IsPlayerInRangeOfPoint_fast(-2243.8896,-2560.5569,31.9219, 10) || IsPlayerInRangeOfPoint_fast(1380.9418,457.1429,19.4861, 10) || IsPlayerInRangeOfPoint_fast(70.4341,1218.6842,18.3743, 10) || IsPlayerInRangeOfPoint_fast(1555.4310,-1605.5901,13.1827, 10))
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du kannst jetzt dein Fahrzeug betanken. Drück '{FFBF00}X{FFFFFF}' zum 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) || IsPlayerInRangeOfPoint_fast(1741.1063,543.4731,26.3013, 10) || IsPlayerInRangeOfPoint_fast(1744.0303,523.6337,27.3567, 10) || IsPlayerInRangeOfPoint_fast(1752.7092,521.6908,27.3102, 10) || IsPlayerInRangeOfPoint_fast(512.5435,476.6207,18.4921, 10) || IsPlayerInRangeOfPoint_fast(529.2228,467.2050,18.5020, 10) || IsPlayerInRangeOfPoint_fast(-159.7899,414.1762,11.6441, 10) || IsPlayerInRangeOfPoint_fast(-157.4410,392.2368,11.6423, 10) || IsPlayerInRangeOfPoint_fast(-1408.2322,824.1868,46.9611, 10) || IsPlayerInRangeOfPoint_fast(-1414.7716,803.5920,46.8070, 10) || IsPlayerInRangeOfPoint_fast(-2695.0493,1284.6304,54.9936, 10) || IsPlayerInRangeOfPoint_fast(-2686.3394,1284.2363,54.9928, 10) || IsPlayerInRangeOfPoint_fast(-2676.6162,1265.3683,54.9934, 10) || IsPlayerInRangeOfPoint_fast(-2668.1848,1264.9076,54.9993, 10) || IsPlayerInRangeOfPoint_fast(-963.0773,-343.0494,35.6944, 10) || IsPlayerInRangeOfPoint_fast(-967.9983,-322.3340,35.9383, 10) || IsPlayerInRangeOfPoint_fast(-71.7615,-892.4689,15.3092, 10) || IsPlayerInRangeOfPoint_fast(-68.7422,-867.9615,14.0653, 10) || IsPlayerInRangeOfPoint_fast(100.1979,-1284.3651,13.6976, 10) || IsPlayerInRangeOfPoint_fast(94.4024,-1277.8165,13.6380, 10) || IsPlayerInRangeOfPoint_fast(97.1871,-1254.1139,14.2317, 10) || IsPlayerInRangeOfPoint_fast(94.6934,-1245.5920,14.2429, 10) || IsPlayerInRangeOfPoint_fast(42.7052,-1537.9767,4.7632, 10) || IsPlayerInRangeOfPoint_fast(58.0220,-1524.9335,4.5461, 10))
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Möchtest du den Zoll jetzt öffnen? Zum öffnen '{FFBF00}X{FFFFFF}' drücken.")
- 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
- Partner:
- countdown--
- if(countdown == 0)
- {
- SetTimer, Partner, off
- }
- else
- {
- FormatTime, Monat,,MM
- GetChatLine(0, ChatLine0)
- GetChatLine(1, ChatLine1)
- GetPlayerName(name)
- if(InStr(ChatLine1, " " . name . " hat den Verdächtigen ") && InStr(ChatLine1, "eingesperrt."))
- {
- RegExMatch(ChatLine1, "" . Name . " hat den Verdächtigen (.*) eingesperrt.", Opfer)
- IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
- SetTimer, #Partner, off
- RegExMatch(ChatLine0, "Haftzeit: (.*) Minuten, Geldstrafe: 0\$.", zeit)
- if(zeit1 > 104)
- {
- Wanted = 104
- }
- else
- {
- Wanted = %zeit1%
- }
- Wanted /= 4
- Wanted *= 750
- Geld = %Wanted%
- Geld *= %Steuersatz%
- Geld := Floor(Geld)
- if(Partner1 > -1 && Partner2 > -1 && Partner3 > -1)
- {
- Geld /= 4
- Geld := Floor(Geld)
- SendChat("/pay " . Partner1 . " " . Geld . "")
- Sleep, 500
- SendChat("/pay " . Partner2 . " " . Geld . "")
- Sleep, 500
- SendChat("/pay " . Partner3 . " " . Geld . "")
- }
- else if(Partner1 > -1 && Partner2 > -1 && Partner3 == -1)
- {
- Geld /= 3
- Geld := Floor(Geld)
- SendChat("/pay " . Partner1 . " " . Geld . "")
- SendChat("/pay " . Partner2 . " " . Geld . "")
- }
- else if(Partner1 > -1 && Partner2 == -1 && Partner3 > -1)
- {
- Geld /= 3
- Geld := Floor(Geld)
- SendChat("/pay " . Partner1 . " " . Geld . "")
- SendChat("/pay " . Partner3 . " " . Geld . "")
- }
- else if(Partner1 > -1 && Partner2 == -1 && Partner3 == -1)
- {
- Geld /= 2
- Geld := Floor(Geld)
- SendChat("/pay " . Partner1 . " " . Geld . "")
- }
- else if(Partner1 == -1 && Partner2 > -1 && Partner3 > -1)
- {
- Geld /= 3
- Geld := Floor(Geld)
- SendChat("/pay " . Partner2 . " " . Geld . "")
- SendChat("/pay " . Partner3 . " " . Geld . "")
- }
- else if(Partner1 == -1 && Partner2 > -1 && Partner3 == -1)
- {
- Geld /= 2
- Geld := Floor(Geld)
- SendChat("/pay " . Partner2 . " " . Geld . "")
- }
- else if(Partner1 == -1 && Partner2 == -1 && Partner3 > -1)
- {
- Geld /= 2
- Geld := Floor(Geld)
- SendChat("/pay " . Partner3 . " " . Geld . "")
- }
- Sleep, 200
- IniRead, Arrest, Statistik.ini, Arrests, Arrest
- IniRead, Arrests, Statistik.ini, %A_MM%, Arrests
- Arrest++
- Arrests++
- IniWrite, %Arrest%, Statistik.ini, Arrests, Arrest
- IniWrite, %Arrests%, Statistik.ini, %A_MM%, Monat
- IniRead, Money, Statistik.ini, Arrests, Money
- Money += Geld
- IniWrite, %Money%, Statistik.ini, Arrests, Money
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Gesamt eingesperrte Verbrecher: {FFBF00}" Arrest "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Durch Festnahmen erworbener gesamt Lohn: {FFBF00}" Money "{FFFFFF}.")
- SendChat("/f " Opfer1 "'s Akte wurde zurückgesetzt. Der Spieler wurde arrest, Verhaftung Nr. " Arrest ".")
- sleep, 250
- }
- Sleep 200
- SetTimer, Partner, off
- }
- return
- :?:/test::
- Suspend Permit
- AddChatMessage(0x00BFFF, "[HQ]: Special Agent II " Name " hat den Verdächtigen Jack_Dublin eingeperrt.")
- AddChatMessage(0x00BFFF, "[HQ]: Haftzeit: 8 Minuten, Geldstrafe: 0$.")
- return
- CheckHealth:
- HP := GetPlayerHealth()
- if(HP > 30)
- {
- LowHPsoundan := 0
- SetTimer, CheckHealth, off
- SoundPlay, avixa.avi
- }
- return
- ;~ ----------------- SAPD Codes by Alva ---------------------
- ; Code-System für das SAPD, entwickelt von tonyalva (rpg-city.de).
- RestartCodes()
- {
- global
- Loop, %MAX_CODES%
- {
- if(CodeVars_Code%A_Index% != "-1")
- {
- CodeVars_Code%A_Index% := "-1"
- CodeVars_Text%A_Index% := "Empty"
- CodeVars_Write%A_Index% := 0
- }
- }
- InitializeCodes()
- }
- return
- GetTextByCode(Code)
- {
- global
- found := 0
- Loop, %MAX_CODES%
- {
- if(CodeVars_Code%A_Index% == Code) {
- found := 1
- a := "(" . CodeVars_Code%A_Index% . ") " . CodeVars_Text%A_Index% . ""
- ;~ a := "" . CodeVars_Text%A_Index% . ""
- return a
- }
- }
- if(found == 0)
- return -1
- }
- GetTextByCodeWithoutCode(Code)
- {
- global
- found := 0
- Loop, %MAX_CODES%
- {
- if(CodeVars_Code%A_Index% == Code) {
- found := 1
- a := "" . CodeVars_Text%A_Index% . ""
- return a
- }
- }
- if(found == 0)
- return -1
- }
- GetWriteByCode(Code)
- {
- global
- found := 0
- Loop, %MAX_CODES%
- {
- if(CodeVars_Code%A_Index% == Code)
- {
- found := 1
- return CodeVars_Write%A_Index%
- }
- }
- if(found == 0)
- return -1
- }
- GetNextCodeID()
- {
- global
- found := 0
- Loop, %MAX_CODES%
- {
- if(CodeVars_Text%A_Index% == "Empty")
- {
- found := 1
- return A_Index
- }
- }
- if(found == 0)
- return -1
- }
- CreateDialogByCodes()
- {
- global
- string := ""
- Loop, %MAX_CODES%
- {
- if(CodeVars_Code%A_Index% != "-1")
- {
- string .= "Code: " . CodeVars_Code%A_Index% . " - " . CodeVars_Text%A_Index% . "`n"
- }
- }
- return string
- }
- AddCode(Write, Code, Text)
- {
- global
- cID := GetNextCodeID()
- if(cID == -1)
- {
- cID := 0
- }
- CodeVars_Code%cID% := Code
- CodeVars_Text%cID% := Text
- CodeVars_Write%cID% := Write
- }
- return
- InitializeCodes()
- {
- global
- GetZoneName(zone)
- GetCityName(city)
- AddCode(1,"10-90", "Alle Einheiten, neu positionieren in:")
- AddCode(0,"10-4-1", "Einheit " . PoliceID . ": Verstanden und bestätigt")
- AddCode(0,"10-4-2", "Einheit " . PoliceID . ": übernimmt den Auftrag")
- AddCode(0,"10-4-3", "Einheit " . PoliceID . ": hat den Auftrag ausgeführt")
- AddCode(0,"10-5", "Einheit " . PoliceID . ": Wiederhole die letzte Durchsage")
- AddCode(0,"10-6", "Einheit " . PoliceID . ": Ignoriert die letzte Durchsage")
- AddCode(0,"10-8", "Einheit " . PoliceID . " ist zurzeit beschäftigt")
- AddCode(0,"10-14-1", "Einheit " . PoliceID . " erbittet Abholung in " . zone . ", " . city . "")
- AddCode(0,"10-14-2", "Einheit " . PoliceID . " benötigt keine Abholung mehr")
- AddCode(0,"10-15", "Einheit " . PoliceID . ": Verdächtige Person wird verhaftet")
- AddCode(0,"10-18", "Einheit " . PoliceID . ": Wird Verstärkung weiterhin benötigt?")
- AddCode(0,"10-20", "Einheit " . PoliceID . " befindet sich in " . zone . ", " . city . "")
- AddCode(1,"10-21", "Einheit " . PoliceID . ": Mein Status ist")
- AddCode(0,"10-40", "Einheit " . PoliceID . ": Viele Person in " . zone . ", " . city . "")
- AddCode(0,"10-40", "Einheit " . PoliceID . ": Verdacht auf illegale Aktivitäten")
- AddCode(0,"10-46", "Einheit " . PoliceID . " befindet sich in einer Durchsuchung")
- AddCode(0,"10-50", "Einheit " . PoliceID . " befindet sich außerhalb des Fahrzeuges für Untersuchungen")
- AddCode(0,"10-55", "Einheit " . PoliceID . " befindet sich in einer Kontrolle")
- AddCode(0,"10-57", "Einheit " . PoliceID . " befindet sich außerhalb des Fahrzeuges für Untersuchungen")
- AddCode(0,"10-57-1", "Einheit " . PoliceID . " verfolgt flüchtiges Fahrzeug")
- AddCode(0,"10-57-2", "Einheit " . PoliceID . " verfolgt flüchtigen Straftäter")
- AddCode(1,"10-60", "Einheit " . PoliceID . ": Das gesuchte Fahrzeug ist")
- AddCode(1,"10-61", "Einheit " . PoliceID . ": Der gesuchte Täter ist")
- AddCode(0,"10-70-1", "Einheit " . PoliceID . " benötigt Verstärkung")
- AddCode(0,"10-70-2", "Einheit " . PoliceID . " benötigt Verstärkung")
- AddCode(0,"10-70-3", "Einheit " . PoliceID . " benötigt Verstärkung")
- AddCode(0,"10-71", "Einheit " . PoliceID . " benötigt einen Sanitäter")
- AddCode(0,"10-98", "Einheit " . PoliceID . " benötigt keine Verstärkung mehr")
- AddCode(0,"10-99", "Einheit " . PoliceID . ": Situation geklärt")
- }
- return
- :?:/codes::
- Suspend Permit
- SendInput ^a{delete}{enter}
- RestartCodes()
- sleep 100
- a := CreateDialogByCodes()
- ShowDialog(0, "HQ-Codes:", a, "Schließen")
- return
- :?:/cr::
- Suspend Permit
- RestartCodes()
- SendInput Status:{space}
- Input,CodeID,V I M,{enter}{escape}{space}
- if(errorlevel == "EndKey:Escape")
- return
- SendInput ^a{delete}{enter}
- Send {enter}
- Sleep, 100
- write := GetWriteByCode(CodeID)
- text := GetTextByCode(CodeID)
- if(text == -1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der angegebene Code {FF0000}" . CodeID . "{FFFFFF} wurde nicht gefunden.")
- return
- }
- if(write == 1)
- {
- SendInput t/r %text%{space}
- }
- else
- {
- SendChat("/r " . text . "")
- }
- return
- :?:/cd::
- Suspend Permit
- RestartCodes()
- SendInput Status:{space}
- Input,CodeID,V I M,{enter}{escape}{space}
- if(errorlevel == "EndKey:Escape")
- return
- SendInput ^a{delete}{enter}
- Send {enter}
- Sleep, 100
- write := GetWriteByCode(CodeID)
- text := GetTextByCode(CodeID)
- if(text == -1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der angegebene Code {FF0000}" . CodeID . "{FFFFFF} wurde nicht gefunden.")
- return
- }
- if(write == 1)
- {
- SendInput t/d %text%{space}
- }
- else
- {
- SendChat("/d " . text . "")
- }
- return
- :?:/ch::
- Suspend Permit
- RestartCodes()
- SendInput Status:{space}
- Input,CodeID,V I M,{enter}{escape}{space}
- if(errorlevel == "EndKey:Escape")
- return
- SendInput ^a{delete}{enter}
- Send {enter}
- Sleep, 100
- write := GetWriteByCode(CodeID)
- text := GetTextByCode(CodeID)
- if(text == -1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der angegebene Code {FF0000}" . CodeID . "{FFFFFF} wurde nicht gefunden.")
- return
- }
- if(write == 1)
- {
- SendInput t/hq %text%{space}
- }
- else
- {
- SendChat("/hq " . text . "")
- }
- return
- :?:/sani::
- Suspend Permit
- SendInput ^a{delete}{enter}
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-71")
- if(text != "-1")
- {
- SendChat("/hq " . text . "")
- }
- }
- else
- {
- SendChat("/d Ich benötige DRINGEND einen Sanitäter.")
- }
- SendChat("/service")
- Sleep, 250
- SendInput {Enter}
- return
- ErmittelPartnerZahl()
- {
- global
- AnzahlPartner := 0
- if(Partner1 > -1)
- {
- AnzahlPartner++
- }
- if(Partner2 > -1)
- {
- AnzahlPartner++
- }
- if(Partner3 > -1)
- {
- AnzahlPartner++
- }
- return AnzahlPartner
- }
- :?:/streife::
- Suspend Permit
- if(streife == 0)
- {
- Einheit := PlayerInput("Deine Einheit: ")
- if(Einheit == "" || Einheit == " ")
- {
- return
- }
- else if(Einheit != "JOHN" && Einheit != "TOM" && Einheit != "HENRY" && Einheit != "ROBERT" && Einheit != "OMEGA" && Einheit != "DELTA" && != "GEORGE" && Einheit != "ALPHA")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Bitte verwende eine gültige Einheit (ALPHA, OMEGA, DELTA, JOHN, TOM, HENRY, ROBERT oder GEORGE).")
- return
- }
- StringUpper, Einheit, Einheit
- Streifennummer := PlayerInput("Deine Streifennummer: ")
- if(Streifennummer == "" || Streifennummer == " ")
- {
- return
- }
- AnzahlPartner := ErmittelPartnerZahl()
- AnzahlPersonen := 1 + AnzahlPartner
- PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
- SendChat("/f Einheit " . PoliceID . ": Start of Watch")
- streife := 1
- }
- else
- {
- SendChat("/f Einheit " . PoliceID . ": End of Watch")
- streife := 0
- PoliceID := "X"
- Einheit := ""
- Streifennummer := ""
- }
- return
- :?:/setEinheit::
- Suspend Permit
- if(streife == 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Starte vorher bitte eine Streife mit {FF0000}/streife{FFFFFF}.")
- return
- }
- Einheit := PlayerInput("Wähle deine neue Einheit aus: ")
- if(Einheit == "" || Einheit == " ")
- {
- return
- }
- else if(Einheit != "JOHN" && Einheit != "TOM" && Einheit != "HENRY" && Einheit != "ROBERT" && Einheit != "OMEGA" && != "DELTA" && != "GEORGE" && Einheit != "ALPHA")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Bitte verwende eine gültige Einheit (ALPHA, OMEGA, DELTA, JOHN, TOM, HENRY, ROBERT oder GEORGE).")
- return
- }
- StringUpper, Einheit, Einheit
- PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Neue Streifenkennung: {FF0000}" PoliceID "")
- return
- :?:/setNummer::
- Suspend Permit
- if(streife == 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Starte vorher bitte eine Streife mit {FF0000}/streife{FFFFFF}.")
- return
- }
- Streifennummer := PlayerInput("Deine Streifennummer: ")
- if(Streifennummer == "" || Streifennummer == " ")
- {
- return
- }
- PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Neue Streifenkennung: {FF0000}" PoliceID "")
- return
- :?:/setPersonen::
- Suspend Permit
- if(streife == 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Starte vorher bitte eine Streife mit {FF0000}/streife{FFFFFF}.")
- return
- }
- AnzahlPersonen := PlayerInput("Anzahl deiner Partner: ")
- if(AnzahlPersonen == "" || AnzahlPersonen == " ")
- {
- return
- }
- AnzahlPersonen++
- PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Neue Streifenkennung: {FF0000}" PoliceID "")
- return
- :?:/kennung::
- Suspend Permit
- if(Streife == 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast noch keine Streife gestartet.")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Deine aktuelle Streifenkennung lautet: {FF0000}" PoliceID "")
- }
- return
- WheelRight::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(wBind1 != "" || wBind1 != """" || wBind1 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(MyName)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, wBind1, wBind1, <name>, %Name%, All
- StringReplace, wBind1, wBind1, <hp>, %HP%, All
- StringReplace, wBind1, wBind1, <car>, %Car%, All
- StringReplace, wBind1, wBind1, <time>, %Zeit%, All
- StringReplace, wBind1, wBind1, <date>, %Datum%, All
- StringReplace, wBind1, wBind1, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, wBind1, wBind1, <pos>, %Position%, All
- wBind1_1 := ""
- wBind1_2 := ""
- wBind1_3 := ""
- StringSplit, wBind1_, wBind1, #
- if(wBind1_1 != "")
- {
- SendChat("" wBind1_1 "")
- Sleep, 100
- }
- if(wBind1_2 != "")
- {
- SendChat("" wBind1_2 "")
- Sleep, 100
- }
- if(wBind1_3 != "")
- {
- SendChat("" wBind1_3 "")
- }
- }
- return
- WheelLeft::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(wBind2 != "" || wBind2 != """" || wBind2 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(MyName)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, wBind2, wBind2, <name>, %Name%, All
- StringReplace, wBind2, wBind2, <hp>, %HP%, All
- StringReplace, wBind2, wBind2, <car>, %Car%, All
- StringReplace, wBind2, wBind2, <time>, %Zeit%, All
- StringReplace, wBind2, wBind2, <date>, %Datum%, All
- StringReplace, wBind2, wBind2, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, wBind2, wBind2, <pos>, %Position%, All
- wBind2_1 := ""
- wBind2_2 := ""
- wBind2_3 := ""
- StringSplit, wBind2_, wBind2, #
- if(wBind2_1 != "")
- {
- SendChat("" wBind2_1 "")
- Sleep, 100
- }
- if(wBind2_2 != "")
- {
- SendChat("" wBind2_2 "")
- Sleep, 100
- }
- if(wBind2_3 != "")
- {
- SendChat("" wBind2_3 "")
- }
- }
- return
- XButton1::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(xBind1 != "" || xBind1 != """" || xBind1 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(MyName)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, xBind1, xBind1, <name>, %Name%, All
- StringReplace, xBind1, xBind1, <hp>, %HP%, All
- StringReplace, xBind1, xBind1, <car>, %Car%, All
- StringReplace, xBind1, xBind1, <time>, %Zeit%, All
- StringReplace, xBind1, xBind1, <date>, %Datum%, All
- StringReplace, xBind1, xBind1, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, xBind1, xBind1, <pos>, %Position%, All
- xBind1_1 := ""
- xBind1_2 := ""
- xBind1_3 := ""
- StringSplit, xBind1_, xBind1, #
- if(xBind1_1 != "")
- {
- SendChat("" xBind1_1 "")
- Sleep, 100
- }
- if(xBind1_2 != "")
- {
- SendChat("" xBind1_2 "")
- Sleep, 100
- }
- if(xBind1_3 != "")
- {
- SendChat("" xBind1_3 "")
- }
- }
- return
- XButton2::
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(wBind2 != "" || wBind2 != """" || wBind2 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(MyName)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, wBind2, wBind2, <name>, %Name%, All
- StringReplace, wBind2, wBind2, <hp>, %HP%, All
- StringReplace, wBind2, wBind2, <car>, %Car%, All
- StringReplace, wBind2, wBind2, <time>, %Zeit%, All
- StringReplace, wBind2, wBind2, <date>, %Datum%, All
- StringReplace, wBind2, wBind2, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, wBind2, wBind2, <pos>, %Position%, All
- wBind2_1 := ""
- wBind2_2 := ""
- wBind2_3 := ""
- StringSplit, wBind2_, wBind2, #
- if(wBind2_1 != "")
- {
- SendChat("" wBind2_1 "")
- Sleep, 100
- }
- if(wBind2_2 != "")
- {
- SendChat("" wBind2_2 "")
- Sleep, 100
- }
- if(wBind2_3 != "")
- {
- SendChat("" wBind2_3 "")
- }
- }
- return
- Key1:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind1 != "" || Bind1 != """" || Bind1 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(MyName)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind1, Bind1, <name>, %Name%, All
- StringReplace, Bind1, Bind1, <hp>, %HP%, All
- StringReplace, Bind1, Bind1, <car>, %Car%, All
- StringReplace, Bind1, Bind1, <time>, %Zeit%, All
- StringReplace, Bind1, Bind1, <date>, %Datum%, All
- StringReplace, Bind1, Bind1, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind1, Bind1, <pos>, %Position%, All
- if(SendenKey1 == 1)
- {
- Bind1_1 := ""
- Bind1_2 := ""
- Bind1_3 := ""
- StringSplit, Bind1_, Bind1, #
- if(Bind1_1 != "")
- {
- SendChat("" Bind1_1 "")
- Sleep, 100
- }
- if(Bind1_2 != "")
- {
- SendChat("" Bind1_2 "")
- Sleep, 100
- }
- if(Bind1_3 != "")
- {
- SendChat("" Bind1_3 "")
- }
- }
- else
- {
- SendInput, t%Bind1%
- }
- }
- return
- Key2:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind2 != "" || Bind2 != """" || Bind2 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(MyName)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind2, Bind2, <name>, %Name%, All
- StringReplace, Bind2, Bind2, <hp>, %HP%, All
- StringReplace, Bind2, Bind2, <car>, %Car%, All
- StringReplace, Bind2, Bind2, <time>, %Zeit%, All
- StringReplace, Bind2, Bind2, <date>, %Datum%, All
- StringReplace, Bind2, Bind2, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind2, Bind2, <pos>, %Position%, All
- if(SendenKey2 == 1)
- {
- Bind2_1 := ""
- Bind2_2 := ""
- Bind2_3 := ""
- StringSplit, Bind2_, Bind2, #
- if(Bind2_1 != "")
- {
- SendChat("" Bind2_1 "")
- Sleep, 100
- }
- if(Bind2_2 != "")
- {
- SendChat("" Bind2_2 "")
- Sleep, 100
- }
- if(Bind2_3 != "")
- {
- SendChat("" Bind2_3 "")
- }
- }
- else
- {
- SendInput, t%Bind2%
- }
- }
- return
- Key3:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind3 != "" || Bind3 != """" || Bind3 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind3, Bind3, <name>, %Name%, All
- StringReplace, Bind3, Bind3, <hp>, %HP%, All
- StringReplace, Bind3, Bind3, <car>, %Car%, All
- StringReplace, Bind3, Bind3, <time>, %Zeit%, All
- StringReplace, Bind3, Bind3, <date>, %Datum%, All
- StringReplace, Bind3, Bind3, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind3, Bind3, <pos>, %Position%, All
- if(SendenKey3 == 1)
- {
- Bind3_1 := ""
- Bind3_2 := ""
- Bind3_3 := ""
- StringSplit, Bind3_, Bind3, #
- if(Bind3_1 != "")
- {
- SendChat("" Bind3_1 "")
- Sleep, 100
- }
- if(Bind3_2 != "")
- {
- SendChat("" Bind3_2 "")
- Sleep, 100
- }
- if(Bind3_3 != "")
- {
- SendChat("" Bind3_3 "")
- }
- }
- else
- {
- SendInput, t%Bind3%
- }
- }
- return
- Key4:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind4 != "" || Bind4 != """" || Bind4 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind4, Bind4, <name>, %Name%, All
- StringReplace, Bind4, Bind4, <hp>, %HP%, All
- StringReplace, Bind4, Bind4, <car>, %Car%, All
- StringReplace, Bind4, Bind4, <time>, %Zeit%, All
- StringReplace, Bind4, Bind4, <date>, %Datum%, All
- StringReplace, Bind4, Bind4, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind4, Bind4, <pos>, %Position%, All
- if(SendenKey4 == 1)
- {
- Bind4_1 := ""
- Bind4_2 := ""
- Bind4_3 := ""
- StringSplit, Bind4_, Bind4, #
- if(Bind4_1 != "")
- {
- SendChat("" Bind4_1 "")
- Sleep, 100
- }
- if(Bind4_2 != "")
- {
- SendChat("" Bind4_2 "")
- Sleep, 100
- }
- if(Bind4_3 != "")
- {
- SendChat("" Bind4_3 "")
- }
- }
- else
- {
- SendInput, t%Bind4%
- }
- }
- return
- Key5:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind5 != "" || Bind5 != """" || Bind5 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind5, Bind5, <name>, %Name%, All
- StringReplace, Bind5, Bind5, <hp>, %HP%, All
- StringReplace, Bind5, Bind5, <car>, %Car%, All
- StringReplace, Bind5, Bind5, <time>, %Zeit%, All
- StringReplace, Bind5, Bind5, <date>, %Datum%, All
- StringReplace, Bind5, Bind5, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind5, Bind5, <pos>, %Position%, All
- if(SendenKey5 == 1)
- {
- Bind5_1 := ""
- Bind5_2 := ""
- Bind5_3 := ""
- StringSplit, Bind5_, Bind5, #
- if(Bind5_1 != "")
- {
- SendChat("" Bind5_1 "")
- Sleep, 100
- }
- if(Bind5_2 != "")
- {
- SendChat("" Bind5_2 "")
- Sleep, 100
- }
- if(Bind5_3 != "")
- {
- SendChat("" Bind5_3 "")
- }
- }
- else
- {
- SendInput, t%Bind5%
- }
- }
- return
- Key6:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind6 != "" || Bind6 != """" || Bind6 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind6, Bind6, <name>, %Name%, All
- StringReplace, Bind6, Bind6, <hp>, %HP%, All
- StringReplace, Bind6, Bind6, <car>, %Car%, All
- StringReplace, Bind6, Bind6, <time>, %Zeit%, All
- StringReplace, Bind6, Bind6, <date>, %Datum%, All
- StringReplace, Bind6, Bind6, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind6, Bind6, <pos>, %Position%, All
- if(SendenKey6 == 1)
- {
- Bind6_1 := ""
- Bind6_2 := ""
- Bind6_3 := ""
- StringSplit, Bind6_, Bind6, #
- if(Bind6_1 != "")
- {
- SendChat("" Bind6_1 "")
- Sleep, 100
- }
- if(Bind6_2 != "")
- {
- SendChat("" Bind6_2 "")
- Sleep, 100
- }
- if(Bind6_3 != "")
- {
- SendChat("" Bind6_3 "")
- }
- }
- else
- {
- SendInput, t%Bind6%
- }
- }
- return
- Key7:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind7 != "" || Bind7 != """" || Bind7 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind7, Bind7, <name>, %Name%, All
- StringReplace, Bind7, Bind7, <hp>, %HP%, All
- StringReplace, Bind7, Bind7, <car>, %Car%, All
- StringReplace, Bind7, Bind7, <time>, %Zeit%, All
- StringReplace, Bind7, Bind7, <date>, %Datum%, All
- StringReplace, Bind7, Bind7, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind7, Bind7, <pos>, %Position%, All
- if(SendenKey7 == 1)
- {
- Bind7_1 := ""
- Bind7_2 := ""
- Bind7_3 := ""
- StringSplit, Bind7_, Bind7, #
- if(Bind7_1 != "")
- {
- SendChat("" Bind7_1 "")
- Sleep, 100
- }
- if(Bind7_2 != "")
- {
- SendChat("" Bind7_2 "")
- Sleep, 100
- }
- if(Bind7_3 != "")
- {
- SendChat("" Bind7_3 "")
- }
- }
- else
- {
- SendInput, t%Bind7%
- }
- }
- return
- Key8:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind8 != "" || Bind8 != """" || Bind8 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind8, Bind8, <name>, %Name%, All
- StringReplace, Bind8, Bind8, <hp>, %HP%, All
- StringReplace, Bind8, Bind8, <car>, %Car%, All
- StringReplace, Bind8, Bind8, <time>, %Zeit%, All
- StringReplace, Bind8, Bind8, <date>, %Datum%, All
- StringReplace, Bind8, Bind8, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind8, Bind8, <pos>, %Position%, All
- if(SendenKey8 == 1)
- {
- Bind8_1 := ""
- Bind8_2 := ""
- Bind8_3 := ""
- StringSplit, Bind8_, Bind8, #
- if(Bind8_1 != "")
- {
- SendChat("" Bind8_1 "")
- Sleep, 100
- }
- if(Bind8_2 != "")
- {
- SendChat("" Bind8_2 "")
- Sleep, 100
- }
- if(Bind8_3 != "")
- {
- SendChat("" Bind8_3 "")
- }
- }
- else
- {
- SendInput, t%Bind8%
- }
- }
- return
- Key9:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind9 != "" || Bind9 != """" || Bind9 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind9, Bind9, <name>, %Name%, All
- StringReplace, Bind9, Bind9, <hp>, %HP%, All
- StringReplace, Bind9, Bind9, <car>, %Car%, All
- StringReplace, Bind9, Bind9, <time>, %Zeit%, All
- StringReplace, Bind9, Bind9, <date>, %Datum%, All
- StringReplace, Bind9, Bind9, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind9, Bind9, <pos>, %Position%, All
- if(SendenKey9 == 1)
- {
- Bind9_1 := ""
- Bind9_2 := ""
- Bind9_3 := ""
- StringSplit, Bind9_, Bind9, #
- if(Bind9_1 != "")
- {
- SendChat("" Bind9_1 "")
- Sleep, 100
- }
- if(Bind9_2 != "")
- {
- SendChat("" Bind9_2 "")
- Sleep, 100
- }
- if(Bind9_3 != "")
- {
- SendChat("" Bind9_3 "")
- }
- }
- else
- {
- SendInput, t%Bind9%
- }
- }
- return
- Key10:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind10 != "" || Bind10 != """" || Bind10 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind10, Bind10, <name>, %Name%, All
- StringReplace, Bind10, Bind10, <hp>, %HP%, All
- StringReplace, Bind10, Bind10, <car>, %Car%, All
- StringReplace, Bind10, Bind10, <time>, %Zeit%, All
- StringReplace, Bind10, Bind10, <date>, %Datum%, All
- StringReplace, Bind10, Bind10, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind10, Bind10, <pos>, %Position%, All
- if(SendenKey10 == 1)
- {
- Bind10_1 := ""
- Bind10_2 := ""
- Bind10_3 := ""
- StringSplit, Bind10_, Bind10, #
- if(Bind10_1 != "")
- {
- SendChat("" Bind10_1 "")
- Sleep, 100
- }
- if(Bind10_2 != "")
- {
- SendChat("" Bind10_2 "")
- Sleep, 100
- }
- if(Bind10_3 != "")
- {
- SendChat("" Bind10_3 "")
- }
- }
- else
- {
- SendInput, t%Bind10%
- }
- }
- return
- Key11:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind11 != "" || Bind11 != """" || Bind11 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind11, Bind11, <name>, %Name%, All
- StringReplace, Bind11, Bind11, <hp>, %HP%, All
- StringReplace, Bind11, Bind11, <car>, %Car%, All
- StringReplace, Bind11, Bind11, <time>, %Zeit%, All
- StringReplace, Bind11, Bind11, <date>, %Datum%, All
- StringReplace, Bind11, Bind11, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind11, Bind11, <pos>, %Position%, All
- if(SendenKey11 == 1)
- {
- Bind11_1 := ""
- Bind11_2 := ""
- Bind11_3 := ""
- StringSplit, Bind11_, Bind11, #
- if(Bind11_1 != "")
- {
- SendChat("" Bind11_1 "")
- Sleep, 100
- }
- if(Bind11_2 != "")
- {
- SendChat("" Bind11_2 "")
- Sleep, 100
- }
- if(Bind11_3 != "")
- {
- SendChat("" Bind11_3 "")
- }
- }
- else
- {
- SendInput, t%Bind11%
- }
- }
- return
- Key12:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind12 != "" || Bind12 != """" || Bind12 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind12, Bind12, <name>, %Name%, All
- StringReplace, Bind12, Bind12, <hp>, %HP%, All
- StringReplace, Bind12, Bind12, <car>, %Car%, All
- StringReplace, Bind12, Bind12, <time>, %Zeit%, All
- StringReplace, Bind12, Bind12, <date>, %Datum%, All
- StringReplace, Bind12, Bind12, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind12, Bind12, <pos>, %Position%, All
- if(SendenKey12 == 1)
- {
- Bind12_1 := ""
- Bind12_2 := ""
- Bind12_3 := ""
- StringSplit, Bind12_, Bind12, #
- if(Bind12_1 != "")
- {
- SendChat("" Bind12_1 "")
- Sleep, 100
- }
- if(Bind12_2 != "")
- {
- SendChat("" Bind12_2 "")
- Sleep, 100
- }
- if(Bind12_3 != "")
- {
- SendChat("" Bind12_3 "")
- }
- }
- else
- {
- SendInput, t%Bind12%
- }
- }
- return
- Key13:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind13 != "" || Bind13 != """" || Bind13 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind13, Bind13, <name>, %Name%, All
- StringReplace, Bind13, Bind13, <hp>, %HP%, All
- StringReplace, Bind13, Bind13, <car>, %Car%, All
- StringReplace, Bind13, Bind13, <time>, %Zeit%, All
- StringReplace, Bind13, Bind13, <date>, %Datum%, All
- StringReplace, Bind13, Bind13, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind13, Bind13, <pos>, %Position%, All
- if(SendenKey13 == 1)
- {
- Bind13_1 := ""
- Bind13_2 := ""
- Bind13_3 := ""
- StringSplit, Bind13_, Bind13, #
- if(Bind13_1 != "")
- {
- SendChat("" Bind13_1 "")
- Sleep, 100
- }
- if(Bind13_2 != "")
- {
- SendChat("" Bind13_2 "")
- Sleep, 100
- }
- if(Bind13_3 != "")
- {
- SendChat("" Bind13_3 "")
- }
- }
- else
- {
- SendInput, t%Bind13%
- }
- }
- return
- Key14:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind14 != "" || Bind14 != """" || Bind14 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind14, Bind14, <name>, %Name%, All
- StringReplace, Bind14, Bind14, <hp>, %HP%, All
- StringReplace, Bind14, Bind14, <car>, %Car%, All
- StringReplace, Bind14, Bind14, <time>, %Zeit%, All
- StringReplace, Bind14, Bind14, <date>, %Datum%, All
- StringReplace, Bind14, Bind14, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind14, Bind14, <pos>, %Position%, All
- if(SendenKey14 == 1)
- {
- Bind14_1 := ""
- Bind14_2 := ""
- Bind14_3 := ""
- StringSplit, Bind14_, Bind14, #
- if(Bind14_1 != "")
- {
- SendChat("" Bind14_1 "")
- Sleep, 100
- }
- if(Bind14_2 != "")
- {
- SendChat("" Bind14_2 "")
- Sleep, 100
- }
- if(Bind14_3 != "")
- {
- SendChat("" Bind14_3 "")
- }
- }
- else
- {
- SendInput, t%Bind14%
- }
- }
- return
- Key15:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind15 != "" || Bind15 != """" || Bind15 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind15, Bind15, <name>, %Name%, All
- StringReplace, Bind15, Bind15, <hp>, %HP%, All
- StringReplace, Bind15, Bind15, <car>, %Car%, All
- StringReplace, Bind15, Bind15, <time>, %Zeit%, All
- StringReplace, Bind15, Bind15, <date>, %Datum%, All
- StringReplace, Bind15, Bind15, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind15, Bind15, <pos>, %Position%, All
- if(SendenKey15 == 1)
- {
- Bind15_1 := ""
- Bind15_2 := ""
- Bind15_3 := ""
- StringSplit, Bind15_, Bind15, #
- if(Bind15_1 != "")
- {
- SendChat("" Bind15_1 "")
- Sleep, 100
- }
- if(Bind15_2 != "")
- {
- SendChat("" Bind15_2 "")
- Sleep, 100
- }
- if(Bind15_3 != "")
- {
- SendChat("" Bind15_3 "")
- }
- }
- else
- {
- SendInput, t%Bind15%
- }
- }
- return
- Key16:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind16 != "" || Bind16 != """" || Bind16 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind16, Bind16, <name>, %Name%, All
- StringReplace, Bind16, Bind16, <hp>, %HP%, All
- StringReplace, Bind16, Bind16, <car>, %Car%, All
- StringReplace, Bind16, Bind16, <time>, %Zeit%, All
- StringReplace, Bind16, Bind16, <date>, %Datum%, All
- StringReplace, Bind16, Bind16, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind16, Bind16, <pos>, %Position%, All
- if(SendenKey16 == 1)
- {
- Bind16_1 := ""
- Bind16_2 := ""
- Bind16_3 := ""
- StringSplit, Bind16_, Bind16, #
- if(Bind16_1 != "")
- {
- SendChat("" Bind16_1 "")
- Sleep, 100
- }
- if(Bind16_2 != "")
- {
- SendChat("" Bind16_2 "")
- Sleep, 100
- }
- if(Bind16_3 != "")
- {
- SendChat("" Bind16_3 "")
- }
- }
- else
- {
- SendInput, t%Bind16%
- }
- }
- return
- Key17:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind17 != "" || Bind17 != """" || Bind17 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind17, Bind17, <name>, %Name%, All
- StringReplace, Bind17, Bind17, <hp>, %HP%, All
- StringReplace, Bind17, Bind17, <car>, %Car%, All
- StringReplace, Bind17, Bind17, <time>, %Zeit%, All
- StringReplace, Bind17, Bind17, <date>, %Datum%, All
- StringReplace, Bind17, Bind17, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind17, Bind17, <pos>, %Position%, All
- if(SendenKey17 == 1)
- {
- Bind17_1 := ""
- Bind17_2 := ""
- Bind17_3 := ""
- StringSplit, Bind17_, Bind17, #
- if(Bind17_1 != "")
- {
- SendChat("" Bind17_1 "")
- Sleep, 100
- }
- if(Bind17_2 != "")
- {
- SendChat("" Bind17_2 "")
- Sleep, 100
- }
- if(Bind17_3 != "")
- {
- SendChat("" Bind17_3 "")
- }
- }
- else
- {
- SendInput, t%Bind17%
- }
- }
- return
- Key18:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind18 != "" || Bind18 != """" || Bind18 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind18, Bind18, <name>, %Name%, All
- StringReplace, Bind18, Bind18, <hp>, %HP%, All
- StringReplace, Bind18, Bind18, <car>, %Car%, All
- StringReplace, Bind18, Bind18, <time>, %Zeit%, All
- StringReplace, Bind18, Bind18, <date>, %Datum%, All
- StringReplace, Bind18, Bind18, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind18, Bind18, <pos>, %Position%, All
- if(SendenKey18 == 1)
- {
- Bind18_1 := ""
- Bind18_2 := ""
- Bind18_3 := ""
- StringSplit, Bind18_, Bind18, #
- if(Bind18_1 != "")
- {
- SendChat("" Bind18_1 "")
- Sleep, 100
- }
- if(Bind18_2 != "")
- {
- SendChat("" Bind18_2 "")
- Sleep, 100
- }
- if(Bind18_3 != "")
- {
- SendChat("" Bind18_3 "")
- }
- }
- else
- {
- SendInput, t%Bind18%
- }
- }
- return
- Key19:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind19 != "" || Bind19 != """" || Bind19 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind19, Bind19, <name>, %Name%, All
- StringReplace, Bind19, Bind19, <hp>, %HP%, All
- StringReplace, Bind19, Bind19, <car>, %Car%, All
- StringReplace, Bind19, Bind19, <time>, %Zeit%, All
- StringReplace, Bind19, Bind19, <date>, %Datum%, All
- StringReplace, Bind19, Bind19, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind19, Bind19, <pos>, %Position%, All
- if(SendenKey19 == 1)
- {
- Bind19_1 := ""
- Bind19_2 := ""
- Bind19_3 := ""
- StringSplit, Bind19_, Bind19, #
- if(Bind19_1 != "")
- {
- SendChat("" Bind19_1 "")
- Sleep, 100
- }
- if(Bind19_2 != "")
- {
- SendChat("" Bind19_2 "")
- Sleep, 100
- }
- if(Bind19_3 != "")
- {
- SendChat("" Bind19_3 "")
- }
- }
- else
- {
- SendInput, t%Bind19%
- }
- }
- return
- Key20:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind20 != "" || Bind20 != """" || Bind20 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind20, Bind20, <name>, %Name%, All
- StringReplace, Bind20, Bind20, <hp>, %HP%, All
- StringReplace, Bind20, Bind20, <car>, %Car%, All
- StringReplace, Bind20, Bind20, <time>, %Zeit%, All
- StringReplace, Bind20, Bind20, <date>, %Datum%, All
- StringReplace, Bind20, Bind20, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind20, Bind20, <pos>, %Position%, All
- if(SendenKey20 == 1)
- {
- Bind20_1 := ""
- Bind20_2 := ""
- Bind20_3 := ""
- StringSplit, Bind20_, Bind20, #
- if(Bind20_1 != "")
- {
- SendChat("" Bind20_1 "")
- Sleep, 100
- }
- if(Bind20_2 != "")
- {
- SendChat("" Bind20_2 "")
- Sleep, 100
- }
- if(Bind20_3 != "")
- {
- SendChat("" Bind20_3 "")
- }
- }
- else
- {
- SendInput, t%Bind20%
- }
- }
- return
- Key21:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind21 != "" || Bind21 != """" || Bind21 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind21, Bind21, <name>, %Name%, All
- StringReplace, Bind21, Bind21, <hp>, %HP%, All
- StringReplace, Bind21, Bind21, <car>, %Car%, All
- StringReplace, Bind21, Bind21, <time>, %Zeit%, All
- StringReplace, Bind21, Bind21, <date>, %Datum%, All
- StringReplace, Bind21, Bind21, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind21, Bind21, <pos>, %Position%, All
- if(SendenKey21 == 1)
- {
- Bind21_1 := ""
- Bind21_2 := ""
- Bind21_3 := ""
- StringSplit, Bind21_, Bind21, #
- if(Bind21_1 != "")
- {
- SendChat("" Bind21_1 "")
- Sleep, 100
- }
- if(Bind21_2 != "")
- {
- SendChat("" Bind21_2 "")
- Sleep, 100
- }
- if(Bind21_3 != "")
- {
- SendChat("" Bind21_3 "")
- }
- }
- else
- {
- SendInput, t%Bind21%
- }
- }
- return
- Key22:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind22 != "" || Bind22 != """" || Bind22 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind22, Bind22, <name>, %Name%, All
- StringReplace, Bind22, Bind22, <hp>, %HP%, All
- StringReplace, Bind22, Bind22, <car>, %Car%, All
- StringReplace, Bind22, Bind22, <time>, %Zeit%, All
- StringReplace, Bind22, Bind22, <date>, %Datum%, All
- StringReplace, Bind22, Bind22, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind22, Bind22, <pos>, %Position%, All
- if(SendenKey22 == 1)
- {
- Bind22_1 := ""
- Bind22_2 := ""
- Bind22_3 := ""
- StringSplit, Bind22_, Bind22, #
- if(Bind22_1 != "")
- {
- SendChat("" Bind22_1 "")
- Sleep, 100
- }
- if(Bind22_2 != "")
- {
- SendChat("" Bind22_2 "")
- Sleep, 100
- }
- if(Bind22_3 != "")
- {
- SendChat("" Bind22_3 "")
- }
- }
- else
- {
- SendInput, t%Bind22%
- }
- }
- return
- Key23:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind23 != "" || Bind23 != """" || Bind23 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind23, Bind23, <name>, %Name%, All
- StringReplace, Bind23, Bind23, <hp>, %HP%, All
- StringReplace, Bind23, Bind23, <car>, %Car%, All
- StringReplace, Bind23, Bind23, <time>, %Zeit%, All
- StringReplace, Bind23, Bind23, <date>, %Datum%, All
- StringReplace, Bind23, Bind23, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind23, Bind23, <pos>, %Position%, All
- if(SendenKey23 == 1)
- {
- Bind23_1 := ""
- Bind23_2 := ""
- Bind23_3 := ""
- StringSplit, Bind23_, Bind23, #
- if(Bind23_1 != "")
- {
- SendChat("" Bind23_1 "")
- Sleep, 100
- }
- if(Bind23_2 != "")
- {
- SendChat("" Bind23_2 "")
- Sleep, 100
- }
- if(Bind23_3 != "")
- {
- SendChat("" Bind23_3 "")
- }
- }
- else
- {
- SendInput, t%Bind23%
- }
- }
- return
- Key24:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind24 != "" || Bind24 != """" || Bind24 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind24, Bind24, <name>, %Name%, All
- StringReplace, Bind24, Bind24, <hp>, %HP%, All
- StringReplace, Bind24, Bind24, <car>, %Car%, All
- StringReplace, Bind24, Bind24, <time>, %Zeit%, All
- StringReplace, Bind24, Bind24, <date>, %Datum%, All
- StringReplace, Bind24, Bind24, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind24, Bind24, <pos>, %Position%, All
- if(SendenKey24 == 1)
- {
- Bind24_1 := ""
- Bind24_2 := ""
- Bind24_3 := ""
- StringSplit, Bind24_, Bind24, #
- if(Bind24_1 != "")
- {
- SendChat("" Bind24_1 "")
- Sleep, 100
- }
- if(Bind24_2 != "")
- {
- SendChat("" Bind24_2 "")
- Sleep, 100
- }
- if(Bind24_3 != "")
- {
- SendChat("" Bind24_3 "")
- }
- }
- else
- {
- SendInput, t%Bind24%
- }
- }
- return
- Key25:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind25 != "" || Bind25 != """" || Bind25 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind25, Bind25, <name>, %Name%, All
- StringReplace, Bind25, Bind25, <hp>, %HP%, All
- StringReplace, Bind25, Bind25, <car>, %Car%, All
- StringReplace, Bind25, Bind25, <time>, %Zeit%, All
- StringReplace, Bind25, Bind25, <date>, %Datum%, All
- StringReplace, Bind25, Bind25, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind25, Bind25, <pos>, %Position%, All
- if(SendenKey25 == 1)
- {
- Bind25_1 := ""
- Bind25_2 := ""
- Bind25_3 := ""
- StringSplit, Bind25_, Bind25, #
- if(Bind25_1 != "")
- {
- SendChat("" Bind25_1 "")
- Sleep, 100
- }
- if(Bind25_2 != "")
- {
- SendChat("" Bind25_2 "")
- Sleep, 100
- }
- if(Bind25_3 != "")
- {
- SendChat("" Bind25_3 "")
- }
- }
- else
- {
- SendInput, t%Bind25%
- }
- }
- return
- Key26:
- If(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(Bind26 != "" || Bind26 != """" || Bind26 != "ERROR")
- {
- FormatTime, Zeit,,HH:mm
- FormatTime, Datum,,dd.MM.yyyy
- ;~ GetPlayerName(Name)
- ;~ HP := GetPlayerHealth()
- Car := GetVehicleHealth()
- StringReplace, Bind26, Bind26, <name>, %Name%, All
- StringReplace, Bind26, Bind26, <hp>, %HP%, All
- StringReplace, Bind26, Bind26, <car>, %Car%, All
- StringReplace, Bind26, Bind26, <time>, %Zeit%, All
- StringReplace, Bind26, Bind26, <date>, %Datum%, All
- StringReplace, Bind26, Bind26, <einheit>, "Einheit: " . PoliceID . "", All
- GetZoneName(Zone)
- GetCityName(City)
- Position := "" Zone ", " City
- StringReplace, Bind26, Bind26, <pos>, %Position%, All
- if(SendenKey26 == 1)
- {
- Bind26_1 := ""
- Bind26_2 := ""
- Bind26_3 := ""
- StringSplit, Bind26_, Bind26, #
- if(Bind26_1 != "")
- {
- SendChat("" Bind26_1 "")
- Sleep, 100
- }
- if(Bind26_2 != "")
- {
- SendChat("" Bind26_2 "")
- Sleep, 100
- }
- if(Bind26_3 != "")
- {
- SendChat("" Bind26_3 "")
- }
- }
- else
- {
- SendInput, t%Bind26%
- }
- }
- return
- ;~ ---------------------------------------------------------------------------------------------------------
- :?:/id::
- Suspend Permit
- Suspend On
- SendInput, /id{space}
- Input, CID, V I M,{enter}
- Send {enter}
- SendChat("/number " . CID . "")
- Suspend Off
- return
- :?:/afind::
- Suspend Permit
- Suspend On
- SendInput, /find{space}
- Input, AID, V I M,{enter}
- Send {enter}
- SetTimer, Find, 6000
- Suspend Off
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das automatische Suchen können Sie mit der Taste '<' deaktivieren.")
- return
- :?:/af::
- Suspend Permit
- Suspend On
- SendInput, /find{space}
- Input, AID, V I M,{enter}
- Send {enter}
- SetTimer, Find, 6000
- Suspend Off
- return
- Find:
- SendChat("/find " . AID)
- return
- :?:/ashowpos::
- Suspend Permit
- Suspend On
- SendInput, /showpos{space}
- Input, AID, V I M,{enter}
- Send {enter}
- SetTimer, Show, 6000
- Suspend Off
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das automatische Zeigen können Sie mit der Taste '<' deaktivieren.")
- return
- :?:/as::
- Suspend Permit
- Suspend On
- SendInput, /showpos{space}
- Input, AID, V I M,{enter}
- Send {enter}
- SetTimer, Show, 6000
- Suspend Off
- return
- Show:
- SendChat("/showpos " . AID)
- return
- :?:/pos::
- Suspend Permit
- if(Fahrer > -1)
- {
- pFahrer := Fahrer
- }
- else if(Partner1 > -1)
- {
- pFahrer := Partner1
- }
- else if(Partner2 > -1)
- {
- pFahrer := Partner2
- }
- else if(Partner3 > -1)
- {
- pFahrer := Partner3
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es ist kein Partner / Fahrer eingetragen.")
- return
- }
- Suspend On
- SendInput, /showpos %pFahrer%{space}
- Input, SID, V I M,{enter}
- Send {enter}
- SetTimer, PShow, 6000
- Suspend Off
- return
- PShow:
- SendChat("/showpos " . pFahrer . " " SID "")
- return
- :?:/dshow::
- Suspend Permit
- FindID := PlayerInput("Spieler ID / Name: ")
- chatart := "d"
- SetTimer, show_dete, 6000
- SendChat("/find " FindID "")
- Sleep, 200
- GetChatLine(0, chatline_dete)
- if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
- {
- SendChat("/d Spieler " FindID " kann nicht gesucht werden.")
- }
- else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
- {
- SendChat("/d Spieler " FindID " ist nicht online.")
- }
- else
- {
- RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
- SendChat("/d Spieler " FindID " befindet sich in " Ort1 ".")
- }
- return
- :?:/fshow::
- Suspend Permit
- FindID := PlayerInput("Spieler ID / Name: ")
- chatart := "f"
- SetTimer, show_dete, 6000
- SendChat("/find " FindID "")
- Sleep, 200
- GetChatLine(0, chatline_dete)
- if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
- {
- SendChat("/f Spieler " FindID " kann nicht gesucht werden.")
- }
- else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
- {
- SendChat("/f Spieler " FindID " ist nicht online.")
- }
- else
- {
- RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
- SendChat("/f Spieler " FindID " befindet sich in " Ort1 ".")
- }
- return
- :?:/rshow::
- Suspend Permit
- FindID := PlayerInput("Spieler ID / Name: ")
- chatart := "r"
- SetTimer, show_dete, 6000
- SendChat("/find " FindID "")
- Sleep, 200
- GetChatLine(0, chatline_dete)
- if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
- {
- SendChat("/r Spieler " FindID " kann nicht gesucht werden.")
- }
- else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
- {
- SendChat("/r Spieler " FindID " ist nicht online.")
- }
- else
- {
- RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
- SendChat("/r Spieler " FindID " befindet sich in " Ort1 ".")
- }
- return
- show_dete:
- SendChat("/find " FindID "")
- Sleep, 200
- GetChatLine(0, chatline_dete)
- if(InStr(chatline_dete, "Dieser Spieler kann nicht gesucht werden."))
- {
- SendChat("/" chatart " Spieler " FindID " kann nicht gesucht werden.")
- }
- else if(InStr(chatline_dete, "Der Spieler ist nicht online."))
- {
- SendChat("/" chatart " Spieler " FindID " ist nicht online.")
- }
- else
- {
- RegExMatch(chatline_dete, "befindet sich in (.*)", Ort)
- SendChat("/" chatart " Spieler " FindID " befindet sich in " Ort1 ".")
- }
- return
- :?:/kh::
- 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)
- if(GetDistancebetween(1163.2358,-1323.2552,15.3945, posX, posY, posZ) <= 3)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Spieler befindet sich im Krankenhaus.")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Spieler befindet sich NICHT im Krankenhaus.")
- }
- return
- :?:/fahrer::
- Suspend Permit
- if(Fahrer == -1)
- {
- SendInput, Gebe die ID deines Fahrers ein:{Space}
- Input, caID, V I M,{Enter}
- SendInput {end}+{home}{Del}{Esc}
- Fahrer=%caID%
- ;~ UpdateServerData()
- if(Fahrer < 0 || Fahrer > 400)
- {
- caID := GetPlayerIDByName(Fahrer)
- Fahrer=%caID%
- }
- GetPlayerNameById(caID, fahrername)
- if(fahrername == -1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}" . fahrername . " wurde als Fahrer eingetragen.")
- }
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Fahrer wurde entfernt.")
- Fahrer=-1
- }
- return
- ~<::
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- SetTimer, Find, Off
- SetTimer, Show, Off
- SetTimer, PShow, Off
- SetTimer, show_dete, off
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Automatische Suchsysteme deaktiviert.")
- return
- flucht:
- fluchtName := ""
- SetTimer, flucht, off
- if fluchtID is number
- {
- UpdateServerData()
- GetPlayerNameByID(fluchtID, fluchtName)
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du darfst nun wieder zwei Flucht-Wanteds bei {FF0000}" . fluchtName . "{FFFFFF} vergeben, sofern du ihn noch verfolgst.")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du darfst nun wieder zwei Flucht-Wanteds bei {FF0000}" . fluchtID . "{FFFFFF} vergeben, sofern du ihn noch verfolgst.")
- }
- fluchtID := -1
- return
- ~LControl & ~t::
- Suspend Permit
- If (IsPlayerinAnyVehicle() == 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug!")
- return
- }
- If (IsPlayerDriver() == 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht der Fahrer!")
- return
- }
- SpeedOnOff := !SpeedOnOff
- if(SpeedOnOff == 1)
- {
- VehSpeedMax := GetPlayerSpeed()
- SpeedCheckStatus := "1"
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({FFA000}~ " VehSpeedMax " {FFFFFF}KM/H)")
- }
- else
- {
- SpeedCheckStatus := "0"
- Sleep, 250
- SendInput {W up}
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
- SendInput {W Up}
- VehSpeedMax := 0
- }
- return
- :?:/tempo::
- Suspend Permit
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Diese Funktion ist derzeit deaktiviert.")
- If (IsPlayerinAnyVehicle() == 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug!")
- return
- }
- If (IsPlayerDriver() == 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht der Fahrer!")
- return
- }
- tempo := PlayerInput("Bitte gebe deine gewünschte Geschwindigkeit an: ")
- VehSpeedMax := tempo
- SpeedCheckStatus := "1"
- SpeedOnOff := "1"
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {00FF00}aktiviert{FFFFFF}. ({0x00BFFF}~ " VehSpeedMax " {FFFFFF}KM/H)")
- return
- ~ö::
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- if (SpeedCheckStatus == 1)
- {
- VehSpeedMax := VehSpeedMax + 5
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde auf {FF0000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
- }
- return
- ~L::
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- if (SpeedCheckStatus == 1)
- {
- VehSpeedMax := VehSpeedMax - 5
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde auf {FFA000}~ " VehSpeedMax " {FFFFFF}KM/H eingestellt.")
- }
- return
- ~W::
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- if (SpeedCheckStatus == 1)
- {
- SpeedCheckStatus := "0"
- SpeedOnOff := "0"
- Sleep, 250
- SendInput {W up}
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
- SendInput {W Up}
- VehSpeedMax := 0
- }
- ;~ if(Lock = 1)
- ;~ {
- ;~ if(IsPlayerDriver() && IsVehicleEngineEnabled() == 0)
- ;~ {
- ;~ SendChat("/motor")
- ;~ Sleep, 2600
- ;~ if(IsVehicleEngineEnabled() == 1)
- ;~ {
- ;~ if(IsVehicleLocked() == 0)
- ;~ {
- ;~ SendChat("/lock")
- ;~ }
- ;~ }
- ;~ if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
- ;~ {
- ;~ SendChat("/licht")
- ;~ }
- ;~ }
- ;~ }
- return
- ~S::
- If(IsChatOpen() == 1 || IsDialogOpen == 1)
- {
- return
- }
- if (SpeedCheckStatus == 1)
- {
- SpeedCheckStatus := "0"
- SpeedOnOff := "0"
- Sleep, 250
- SendInput {W up}
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Tempomat wurde {FF0000}deaktiviert{FFFFFF}.")
- SendInput {W Up}
- VehSpeedMax := 0
- }
- return
- :?:/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(0xDF0101, "[Calibinder] {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(0xDF0101, "[Calibinder] {FFFFFF}Versendung nicht möglich!")
- return
- }
- else
- {
- continue
- }
- }
- return
- :?:/p::
- Suspend Permit
- SendChat("/p")
- SoundPlay, avixa.avi
- return
- :?:/pickup::
- Suspend Permit
- SendChat("/p")
- SoundPlay, avixa.avi
- 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/=3
- HP1 := Floor(HP1)
- HP2 = %fisch2_2%
- HP2/=3
- HP2 := Floor(HP2)
- HP3 = %fisch3_2%
- HP3/=3
- HP3 := Floor(HP3)
- HP4 = %fisch4_2%
- HP4/=3
- HP4 := Floor(HP4)
- HP5 = %fisch5_2%
- HP5/=3
- HP5 := Floor(HP5)
- Gesamt=0
- Gesamt+=%HP1%
- Gesamt+=%HP2%
- Gesamt+=%HP3%
- Gesamt+=%HP4%
- Gesamt+=%HP5%
- AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch1_1 . " (" . fisch1_2 . " LBS) - {FFBF00} " . HP1 . " HP")
- AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch2_1 . " (" . fisch2_2 . " LBS) - {FFBF00} " . HP2 . " HP")
- AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch3_1 . " (" . fisch3_2 . " LBS) - {FFBF00} " . HP3 . " HP")
- AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch4_1 . " (" . fisch4_2 . " LBS) - {FFBF00} " . HP4 . " HP")
- AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}" . fisch5_1 . " (" . fisch5_2 . " LBS) - {FFA000} " . HP5 . " HP")
- AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}-----------------------------------------------")
- AddChatMessage(0xDF0101, "[Calibinder] {04B45F}[Fish] {FFFFFF}Gesamt: {FFBF00}" . Gesamt . " HP")
- return
- :?:/fische::
- Suspend Permit
- SendChat("/fishes")
- Sleep 250
- GetChatLine(5, fische1)
- GetChatLine(4, fische2)
- GetChatLine(3, fische3)
- GetChatLine(2, fische4)
- GetChatLine(1, fische5)
- RegExMatch(fische1, "\*\* \(1\) Fisch: (.*) \((.*) LBS\)", fische1_)
- RegExMatch(fische2, "\*\* \(2\) Fisch: (.*) \((.*) LBS\)", fische2_)
- RegExMatch(fische3, "\*\* \(3\) Fisch: (.*) \((.*) LBS\)", fische3_)
- RegExMatch(fische4, "\*\* \(4\) Fisch: (.*) \((.*) LBS\)", fische4_)
- RegExMatch(fische5, "\*\* \(5\) Fisch: (.*) \((.*) LBS\)", fische5_)
- if(fische1_1 == "Makrele")
- {
- Multiplier1 := 8
- }
- else if(fische1_1 == "Zackenbarsch")
- {
- Multiplier1 := 3
- }
- else if(fische1_1 == "Bernfisch")
- {
- Multiplier1 := 1
- }
- else if(fische1_1 == "Schwertfisch")
- {
- Multiplier1 := 3
- }
- else if(fische1_1 == "Roter Schnapper")
- {
- Multiplier1 := 3
- }
- else if(fische1_1 == "Blauer Fächerfisch")
- {
- Multiplier1 := 2
- }
- else if(fische1_1 == "Thunfisch")
- {
- Multiplier1 := 12
- }
- else if(fische1_1 == "Wolfbarsch")
- {
- Multiplier1 := 12
- }
- else if(fische1_1 == "Segelfisch")
- {
- Multiplier1 := 7
- }
- else if(fische1_1 == "Hai")
- {
- Multiplier1 := 7
- }
- else if(fische1_1 == "Delphin")
- {
- Multiplier1 := 7
- }
- else if(fische1_1 == "Katzenfisch")
- {
- Multiplier1 := 4
- }
- else if(fische1_1 == "Hecht")
- {
- Multiplier1 := 9
- }
- else if(fische1_1 == "Aal")
- {
- Multiplier1 := 9
- }
- else if(fische1_1 == "Schildkröte")
- {
- Multiplier1 := 10
- }
- else if(fische1_1 == "Forelle")
- {
- Multiplier1 := 5
- }
- else if(fische1_1 == "Nichts")
- {
- Multiplier1 := 0
- }
- if(fische2_1 == "Makrele")
- {
- Multiplier2 := 8
- }
- else if(fische2_1 == "Bernfisch")
- {
- Multiplier2 := 1
- }
- else if(fische2_1 == "Zackenbarsch")
- {
- Multiplier2 := 3
- }
- else if(fische2_1 == "Schwertfisch")
- {
- Multiplier2 := 3
- }
- else if(fische2_1 == "Roter Schnapper")
- {
- Multiplier2 := 3
- }
- else if(fische2_1 == "Blauer Fächerfisch")
- {
- Multiplier2 := 2
- }
- else if(fische2_1 == "Thunfisch")
- {
- Multiplier2 := 12
- }
- else if(fische2_1 == "Wolfbarsch")
- {
- Multiplier2 := 12
- }
- else if(fische2_1 == "Segelfisch")
- {
- Multiplier2 := 7
- }
- else if(fische2_1 == "Hai")
- {
- Multiplier2 := 7
- }
- else if(fische2_1 == "Delphin")
- {
- Multiplier2 := 7
- }
- else if(fische2_1 == "Katzenfisch")
- {
- Multiplier2 := 4
- }
- else if(fische2_1 == "Hecht")
- {
- Multiplier2 := 9
- }
- else if(fische2_1 == "Aal")
- {
- Multiplier2 := 9
- }
- else if(fische2_1 == "Schildkröte")
- {
- Multiplier2 := 10
- }
- else if(fische2_1 == "Forelle")
- {
- Multiplier2 := 5
- }
- else if(fische2_1 == "Nichts")
- {
- Multiplier2 := 0
- }
- if(fische3_1 == "Makrele")
- {
- Multiplier3 := 8
- }
- else if(fische3_1 == "Zackenbarsch")
- {
- Multiplier3 := 3
- }
- else if(fische3_1 == "Bernfisch")
- {
- Multiplier3 := 1
- }
- else if(fische3_1 == "Schwertfisch")
- {
- Multiplier3 := 3
- }
- else if(fische3_1 == "Roter Schnapper")
- {
- Multiplier3 := 3
- }
- else if(fische3_1 == "Blauer Fächerfisch")
- {
- Multiplier3 := 2
- }
- else if(fische3_1 == "Thunfisch")
- {
- Multiplier3 := 12
- }
- else if(fische3_1 == "Wolfbarsch")
- {
- Multiplier3 := 12
- }
- else if(fische3_1 == "Segelfisch")
- {
- Multiplier3 := 7
- }
- else if(fische3_1 == "Hai")
- {
- Multiplier3 := 7
- }
- else if(fische3_1 == "Delphin")
- {
- Multiplier3 := 7
- }
- else if(fische3_1 == "Katzenfisch")
- {
- Multiplier3 := 4
- }
- else if(fische3_1 == "Hecht")
- {
- Multiplier3 := 9
- }
- else if(fische3_1 == "Aal")
- {
- Multiplier3 := 9
- }
- else if(fische3_1 == "Schildkröte")
- {
- Multiplier3 := 10
- }
- else if(fische3_1 == "Forelle")
- {
- Multiplier3 := 5
- }
- else if(fische3_1 == "Nichts")
- {
- Multiplier3 := 0
- }
- if(fische4_1 == "Makrele")
- {
- Multiplier4 := 8
- }
- else if(fische4_1 == "Zackenbarsch")
- {
- Multiplier4 := 3
- }
- else if(fische4_1 == "Schwertfisch")
- {
- Multiplier4 := 3
- }
- else if(fische4_1 == "Roter Schnapper")
- {
- Multiplier4 := 3
- }
- else if(fische4_1 == "Bernfisch")
- {
- Multiplier4 := 1
- }
- else if(fische4_1 == "Blauer Fächerfisch")
- {
- Multiplier4 := 2
- }
- else if(fische4_1 == "Thunfisch")
- {
- Multiplier4 := 12
- }
- else if(fische4_1 == "Wolfbarsch")
- {
- Multiplier4 := 12
- }
- else if(fische4_1 == "Segelfisch")
- {
- Multiplier4 := 7
- }
- else if(fische4_1 == "Hai")
- {
- Multiplier4 := 7
- }
- else if(fische4_1 == "Delphin")
- {
- Multiplier4 := 7
- }
- else if(fische4_1 == "Katzenfisch")
- {
- Multiplier4 := 4
- }
- else if(fische4_1 == "Hecht")
- {
- Multiplier4 := 9
- }
- else if(fische4_1 == "Aal")
- {
- Multiplier4 := 9
- }
- else if(fische4_1 == "Schildkröte")
- {
- Multiplier4 := 10
- }
- else if(fische4_1 == "Forelle")
- {
- Multiplier4 := 5
- }
- else if(fische4_1 == "Nichts")
- {
- Multiplier4 := 0
- }
- if(fische5_1 == "Makrele")
- {
- Multiplier5 := 8
- }
- else if(fische5_1 == "Zackenbarsch")
- {
- Multiplier5 := 3
- }
- else if(fische5_1 == "Schwertfisch")
- {
- Multiplier5 := 3
- }
- else if(fische5_1 == "Bernfisch")
- {
- Multiplier5 := 1
- }
- else if(fische5_1 == "Roter Schnapper")
- {
- Multiplier5 := 3
- }
- else if(fische5_1 == "Blauer Fächerfisch")
- {
- Multiplier5 := 2
- }
- else if(fische5_1 == "Thunfisch")
- {
- Multiplier5 := 12
- }
- else if(fische5_1 == "Wolfbarsch")
- {
- Multiplier5 := 12
- }
- else if(fische5_1 == "Segelfisch")
- {
- Multiplier5 := 7
- }
- else if(fische5_1 == "Hai")
- {
- Multiplier5 := 7
- }
- else if(fische5_1 == "Delphin")
- {
- Multiplier5 := 7
- }
- else if(fische5_1 == "Katzenfisch")
- {
- Multiplier5 := 4
- }
- else if(fische5_1 == "Hecht")
- {
- Multiplier5 := 9
- }
- else if(fische5_1 == "Aal")
- {
- Multiplier5 := 9
- }
- else if(fische5_1 == "Schildkröte")
- {
- Multiplier5 := 10
- }
- else if(fische5_1 == "Forelle")
- {
- Multiplier5 := 5
- }
- else if(fische5_1 == "Nichts")
- {
- Multiplier5 := 0
- }
- Geld1 = %fische1_2%
- Geld1_2 := Multiplier1
- Geld1*= Geld1_2
- Geld1 := Floor(Geld1)
- Geld2 = %fische2_2%
- Geld2_2 := Multiplier2
- Geld2*= Geld2_2
- Geld2 := Floor(Geld2)
- Geld3 = %fische3_2%
- Geld3_2 := Multiplier3
- Geld3*= Geld3_2
- Geld3 := Floor(Geld3)
- Geld4 = %fische4_2%
- Geld4_2 := Multiplier4
- Geld4*= Geld4_2
- Geld4 := Floor(Geld4)
- Geld5 = %fische5_2%
- Geld5_2 := Multiplier5
- Geld5*= Geld5_2
- Geld5 := Floor(Geld5)
- HP1_2 = %fische1_2%
- HP1 := Round(HP1_2*0.3,0)
- HP1 := Floor(HP1)
- HP2_2 = %fische2_2%
- HP2 := Round(HP2_2*0.3,0)
- HP2 := Floor(HP2)
- HP3_2 = %fische3_2%
- HP3 := Round(HP3_2*0.3,0)
- HP3 := Floor(HP3)
- HP4_2 = %fische4_2%
- HP4 := Round(HP4_2*0.3,0)
- HP4 := Floor(HP4)
- HP5_2 = %fische5_2%
- HP5 := Round(HP5_2*0.3,0)
- HP5 := Floor(HP5)
- Gesamt := 0
- Gesamt2 := 0
- Gesamt3 := 0
- Gesamt+=%Geld1%
- Gesamt+=%Geld2%
- Gesamt+=%Geld3%
- Gesamt+=%Geld4%
- Gesamt+=%Geld5%
- Gesamt2+=%HP1%
- Gesamt2+=%HP2%
- Gesamt2+=%HP3%
- Gesamt2+=%HP4%
- Gesamt2+=%HP5%
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" . fische1_1 . " (" . fische1_2 . " LBS) - {009AFF} " . Geld1 . " $ - " . HP1 . " HP")
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" . fische2_1 . " (" . fische2_2 . " LBS) - {009AFF} " . Geld2 . " $ - " . HP2 . " HP")
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" . fische3_1 . " (" . fische3_2 . " LBS) - {009AFF} " . Geld3 . " $ - " . HP3 . " HP")
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" . fische4_1 . " (" . fische4_2 . " LBS) - {009AFF} " . Geld4 . " $ - " . HP4 . " HP")
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}: {FFFFFF}" . fische5_1 . " (" . fische5_2 . " LBS) - {009AFF} " . Geld5 . " $ - " . HP5 . " HP")
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}: {FFFFFF}-----------------------------------------------")
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}: {FFFFFF}Gesamt: {009AFF}" . Gesamt . " $ - " . Gesamt2 . " HP")
- return
- :?:/minuten::
- Suspend Permit
- Sekunden := PlayerInput("Anzahl der Sekunden: ")
- if(Sekunden != "" && Sekunden != " " && Sekunden != 0)
- {
- Minuten := Sekunden / 60
- Minuten := round(Minuten, 2)
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}{3ADF00}" Sekunden "{FFFFFF} Sekunden sind {3ADF00}" Minuten "{FFFFFF} Minuten.")
- }
- return
- :?:/kaution::
- Suspend Permit
- caID := PlayerInput("Klient-Name: ")
- UpdateServerData()
- Klient=%caID%
- if(Klient < 0 || Klient > 400)
- {
- caID := GetPlayerIDByName(Klient)
- Klient=%caID%
- }
- GetPlayerNameByID(caID, Klientname)
- SendChat("/freeinfo")
- Sleep, 700
- Loop
- {
- GetChatLine(A_Index - 1, chat)
- if(InStr(chat, Klientname))
- {
- RegExMatch(chat, "" Klientname " {FFA600}(.*) Minuten {00B7FF}(.*)\$ {A30000}SAPD", kaution)
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dein Klient {3ADF00}" Klientname "{FFFFFF} hat eine Kaution von {3ADF00}" kaution2 "{FFFFFF}$.")
- break
- }
- if(Instr(chat, "{55FF00}Name {FFA600}Haftzeit {00B7FF}Kaution {A30000}Standort"))
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Klient nicht gefunden.")
- break
- }
- if(InStr(chat, "Du bist nicht in der Polizei Station."))
- {
- break
- }
- }
- return
- :?:/fg::
- Suspend Permit
- SendChat("/festgeld 1250000")
- return
- :?:/ap::
- Suspend Permit
- SendChat("/accept Paket")
- return
- :?:/paket::
- Suspend Permit
- SendChat("/accept Paket")
- return
- :?:/tanken::
- Suspend Permit
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
- return
- }
- if(IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- }
- SendChat("/fill")
- Sleep, 10000
- SendChat("/motor")
- Sleep, 2600
- SendChat("/licht")
- return
- :?:/sb::
- Suspend Permit
- id := PlayerInput("/showbadge ")
- SendChat("/showbadge " id)
- return
- ~1::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- If(IsPlayerDriver() == 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht der Fahrer eines Fahrzeuges.")
- }
- else
- {
- SendChat("/motor")
- Sleep, 200
- IniRead, Lock, settings.ini, Daten, Lock
- if(Lock = 1)
- {
- ;~ if(IsVehicleEngineEnabled() == 1)
- ;~ {
- if(IsVehicleLocked() == 0)
- {
- SendChat("/lock")
- }
- ;~ }
- }
- SetTimer, LichtEinschalten, 2400
- Sleep, 2400
- if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
- {
- SendChat("/licht")
- }
- }
- }
- return
- LichtEinschalten:
- ;~ Sleep, 2400
- if(IsVehicleLightEnabled() == 0 && IsVehicleEngineEnabled() == 1)
- {
- SendChat("/licht")
- }
- SetTimer, LichtEinschalten, off
- return
- ~+1::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- SendChat("/licht")
- }
- return
- ~F::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- IniRead, Lock, settings.ini, Daten, Lock
- if(Lock = 1)
- {
- if(IsPlayerInAnyVehicle() == "0")
- {
- Loop,
- if(IsPlayerDriver() == 1)
- {
- ;~ Sleep, 250
- if(IsVehicleLocked() == 0)
- {
- Sleep, 200
- SendChat("/lock")
- return
- }
- }
- }
- else
- {
- if(IsPlayerDriver() == 1)
- {
- if (IsVehicleEngineEnabled() == 1)
- {
- SendChat("/motor")
- Sleep 700
- Send F
- return
- }
- return
- }
- }
- }
- return
- ~Y::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- SendChat("/lock")
- }
- return
- !Y::
- SendChat("/eat " . fischers . "")
- fischers++
- if(fischers == "6")
- {
- fischers=1
- }
- return
- ~F2::
- SendChat("/eat " . fischers . "")
- fischers++
- if(fischers == "6")
- {
- fischers=1
- }
- return
- !X::
- SendChat("/erstehilfe")
- 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 "
- }
- GetPlayerName(Name)
- StringTrimRight Anrufer, var1, 1
- SendChat("Guten Tag " . Anrufer . ", Sie sprechen mit " . Name ".")
- SendChat("Wie kann ich Ihnen behilflich sein?")
- return
- :?:/ab::
- Suspend Permit
- SoundPlay, xavi.avi
- GetPlayerName(Name)
- SendChat("/p")
- SendChat("Guten Tag, Sie sind verbunden mit dem Anrufbeantworter von " . Name . ".")
- Sleep 1000
- SendChat("Leider habe ich keine Zeit, bitte versuchen Sie es später erneut.")
- Sleep, 1000
- SendChat("Auf Wiederhören.")
- 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, wie kann ich Ihnen behilflich sein?")
- }
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("Guten Abend, wie kann ich Ihnen behilflich sein?")
- }
- if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("Guten Morgen, wie kann ich Ihnen behilflich sein?")
- }
- 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
- GetPlayerName(Name)
- Titel = ""
- IniRead, Fraktion, settings.ini, Daten, Fraktion
- if(Fraktion == "SAPD" || Fraktion == "LSPD" || Fraktion == "LVPD")
- {
- Titel := "Officer"
- SendChat("/hq " Titel " " Name " meldet sich zum Dienst.")
- }
- else if(Fraktion == "FBI")
- {
- Titel := "Agent"
- SendChat("/hq " Titel " " Name " meldet sich zum Dienst.")
- }
- else
- {
- Titel := ""
- SendChat("/hq " Name " meldet sich zum Dienst.")
- }
- SendChat("/hitsound")
- SendChat("/pdmarker")
- Sleep, 850
- SendChat("/tog")
- Sleep, 200
- SendInput {enter}
- return
- ~m::
- if(IsChatOpen() || IsDialogOpen() || IsMenuOpen())
- return
- SendChat("/members")
- sleep 100
- Zähler := 0
- Loop, 100
- {
- GetChatLine(Zähler, Chat)
- If(InStr(Chat, "Rang") || InStr(Chat, "Leader") || InStr(Chat, "Menba"))
- Zähler++
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Von deiner Fraktion sind {FFBF00}" Zähler "{FFFFFF} Spieler online.")
- return
- }
- }
- return
- :?:/members::
- Suspend Permit
- SendChat("/members")
- sleep 100
- Zähler := 0
- Loop, 100
- {
- GetChatLine(Zähler, Chat)
- If(InStr(Chat, "Rang") || InStr(Chat, "Leader") || InStr(Chat, "Menba"))
- Zähler++
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es sind {FF8000}" Zähler "{FFFFFF} Beamte online.")
- return
- }
- }
- return
- :?:/savestats::
- Suspend Permit
- FormatTime, StatsZeit, dd.MM.yyyy
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}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 37.187.135.201:7777, %PFAD%
- return
- :?:/fan::
- Suspend Permit
- Fan := PlayerInput("Fan-ID: ")
- GetPlayerNameById(Fan, name)
- SendChat("/me gibt " name " ein Autogramm.")
- SendChat("/showbadge " Fan "")
- return
- :?:/cf::
- Suspend Permit
- SendChat("/cook fish 1")
- Sleep,1000
- SendChat("/cook fish 2")
- Sleep,1000
- SendChat("/cook fish 3")
- Sleep,1000
- SendChat("/cook fish 4")
- Sleep,1000
- SendChat("/cook fish 5")
- Sleep,1000
- 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
- ~,::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("Stoppuhr gestartet!")
- AddChatMessage(0xDF0101, "[Calibinder] {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(0xDF0101, "[Calibinder] {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(0xDF0101, "[Calibinder] {FFFFFF}Deine Fische wurden verkauft, du hast insgesamt {3ADF00}" Geld_nachher - Geld_vorher "{FFFFFF}$ verdient.")
- return
- }
- else
- {
- Loop
- {
- Sleep, 600
- SendChat("/fish")
- ;~ sleep, 800
- 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."))
- {
- SetTimer, Fischen, 1200000 ;20 Minuten
- }
- Loop 25
- {
- fischges += fisch%A_Index%
- }
- if(fischges > 0)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du würdest für deine Fische {3ADF00}" fischges "{FFFFFF}$ bekommen.")
- fischLBS := fischLBSGesamt / 3
- fischLBS := Round(fischLBS, 0)
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du würdest mit deinen Fischen {3ADF00}" 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(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Blauer Fächerfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 2
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Zackenbarsch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 3
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Schwertfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 3
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Roter Schnapper")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 3
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Katzenfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 4
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Forelle")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 5
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Segelfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 7
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Hai")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 7
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Delphin")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 7
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Makrele")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 8
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Hecht")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 9
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Aal")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 9
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Schildkröte")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 10
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Thunfisch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 12
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- else if(chat1 == "Wolfbarsch")
- {
- fischLBSGesamt += chat2
- fisch%A_Index% := chat2 * 12
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fisch: " chat1 " - " fisch%A_Index% "$")
- }
- ;~ sleep 850
- continue
- }
- ;~ else
- ;~ {
- ;~ sleep 200
- ;~ }
- }
- }
- return
- Fischen:
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du kannst nun wieder am Angelsteg angeln.")
- SetTimer, Fischen, off
- 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
- ;------------------------------------------------------------------------------------------
- ~P::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-20")
- if(text != "-1")
- {
- SendChat("/hq " . text . "")
- }
- }
- else
- {
- GetCityName(city)
- GetZoneName(zone)
- If (city == "" || city == "Unbekannt")
- {
- SendChat("/hq Ich befinde mich derzeit in " zone ".")
- }
- else
- {
- SendChat("/hq Ich befinde mich derzeit in " zone ", " city ".")
- }
- }
- return
- ^P::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-20")
- if(text != "-1")
- {
- SendChat("/d " . text . "")
- }
- }
- else
- {
- GetCityName(city)
- GetZoneName(zone)
- If (city == "" || city == "Unbekannt")
- {
- SendChat("/d HQ: Ich befinde mich derzeit in " zone ".")
- }
- else
- {
- SendChat("/d HQ: Ich befinde mich derzeit in " zone ", " city "")
- }
- }
- return
- !^P::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-20")
- if(text != "-1")
- {
- SendChat("/r " . text . "")
- }
- }
- else
- {
- GetCityName(city)
- GetZoneName(zone)
- If (city == "" || city == "Unbekannt")
- {
- SendChat("/r HQ: Ich befinde mich derzeit in " zone ".")
- }
- else
- {
- SendChat("/r HQ: Ich befinde mich derzeit in " zone ", " city "")
- }
- }
- return
- :?:/abholung::
- Suspend Permit
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-14-1")
- if(text != "-1")
- {
- SendChat("/hq " . text . "")
- }
- }
- else
- {
- GetZoneName(MyZone)
- GetCityName(City)
- If (city == "" || city == "Unbekannt")
- {
- SendChat("/hq Erbitte Abholung in " MyZone ".")
- }
- else
- {
- SendChat("/hq Erbitte Abholung in "MyZone ", " city ".")
- }
- }
- return
- :?:/kabholung::
- Suspend Permit
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-14-2")
- if(text != "-1")
- {
- SendChat("/hq " . text . "")
- }
- }
- else
- {
- SendChat("/hq Eine Abholung wird nicht mehr benötigt.")
- }
- return
- :?:/stw::
- Suspend Permit
- GetZoneName(MyZone)
- GetCityName(City)
- If (city == "" || city == "Unbekannt")
- {
- SendChat("/d HQ: Ich benötige einen Streifenwagen in " MyZone ".")
- }
- else
- {
- SendChat("/d HQ: Ich benötige einen Streifenwagen in "MyZone ", " city ".")
- }
- return
- :?:/beweise::
- Suspend Permit
- SendChat("Haben Sie Beweise dafür, z.B. einen Screenshot?")
- return
- :?:/uc::
- Suspend Permit
- SendInput, /undercover{space}
- return
- :?:/auc::
- Suspend Permit
- Random, skin,1,34
- SendChat("/undercover " skin)
- return
- ;~ :?:/search::
- ;~ Suspend Permit
- ;~ if(pOn == 1)
- ;~ {
- ;~ if(sOn == 0)
- ;~ {
- ;~ SendInput, Gebe die Verbrecher ID ein:{Space}
- ;~ Input, caID, V I M,{Enter}
- ;~ SendInput {end}+{home}{Del}{Esc}
- ;~
- ;~ GetPlayerNameById(caID, Verbrechername)
- ;~ GetPlayerNameById(Partner, partnername)
- ;~ if(partnername == -1)
- ;~ {
- ;~ AddChatMessage(0xFFFFFF, "Dieser Spieler ist nicht Online.")
- ;~ }
- ;~ else
- ;~ {
- ;~ SendChat("/d HQ: " . partnername . " und ich übernehmen die Verfolgung von " . Verbrechername . ".")
- ;~ sOn=1
- ;~ }
- ;~ }
- ;~ else
- ;~ {
- ;~ SendChat("/d HQ: Wir haben die Verfolgung beendet!")
- ;~ sOn=0
- ;~ }
- ;~ }
- ;~ else
- ;~ {
- ;~ if(sOn == 0)
- ;~ {
- ;~ SendInput, Gebe die Verbrecher ID ein:{Space}
- ;~ Input, caID, V I M,{Enter}
- ;~ SendInput {end}+{home}{Del}{Esc}
- ;~
- ;~ GetPlayerNameById(caID, Verbrechername)
- ;~ if(partnername == -1)
- ;~ {
- ;~ AddChatMessage(0xFFFFFF, "Dieser Spieler ist nicht Online.")
- ;~ }
- ;~ else
- ;~ {
- ;~ SendChat("/d HQ: Ich übernehmen die Verfolgung von " . Verbrechername . ".")
- ;~ sOn=1
- ;~ }
- ;~ }
- ;~ else
- ;~ {
- ;~ SendChat("/d HQ: Ich haben die Verfolgung beendet!")
- ;~ sOn=0
- ;~ }
- ;~ }
- ;~ return
- :?:/vf::
- Suspend Permit
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-57-1")
- if(text != "-1")
- {
- SendChat("/f " . text . "")
- }
- }
- else
- {
- GetPlayerName(myName)
- id := PlayerInput("Verbrecher-ID: ")
- if(IsNumeric(id))
- {
- GetPlayerNameByID(id, Verbrechername)
- }
- SendChat("/r " myName " verfolgt nun " Verbrechername)
- if(id != "")
- {
- SetTimer, Find,Off
- findid := id
- SendChat("/find " findid)
- SetTimer, Find,6000
- }
- }
- return
- :?:/verfolgung::
- Suspend Permit
- verbrecher := PlayerInput("Verbrecher-ID | Voller Name: ")
- if(verbrecher < 0 || verbrecher > 400)
- {
- caID := GetPlayerIDByName(verbrecher)
- verbrecher=%caID%
- }
- GetPlayerNameById(caID, Verbrechername)
- if(verbrechername == -1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
- }
- else
- {
- SendChat("/r HQ: Erbitte Unterstützung bei der Verfolgung von " verbrechername " (" verbrecher ").")
- }
- return
- :?:/ort::
- Suspend Permit
- ort := PlayerInput("Letzter bekannter Aufenthaltsort: ")
- SendChat("/r Letzter bekannter Aufenthaltsort: " ort ".")
- return
- :?:/luft::
- Suspend Permit
- GetZoneName(MyZone)
- GetCityName(City)
- If (city == "" || city == "Unbekannt")
- {
- SendChat("/r HQ: Fordere Luftüberwachung im Sektor "MyZone " an.")
- }
- else
- {
- SendChat("/r HQ: Fordere Luftüberwachung im Sektor "MyZone ", " city " an.")
- }
- return
- :?:/settax::
- Suspend Permit
- SendCHat("/tax")
- Sleep 250
- GetChatLine(0, chat1)
- RegExMatch(chat1, "{00FF33}Steuerklasse 4: (.*) Prozent", haha)
- Steuersatz=100
- Steuersatz-=%haha1%
- Steuerlappen=0.%Steuersatz%
- IniWrite, %Steuerlappen%, settings.ini, Steuern, Steuersatz
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Steuersatz hat sich auf {FF8000}" . haha1 . "{FFFFFF} Prozent gesetzt.")
- return
- :?:/partner1::
- Suspend Permit
- if(Partner1 == -1)
- {
- SendInput, Gebe deine Partner ID ein:{Space}
- Input, caID, V I M,{Enter}
- SendInput {end}+{home}{Del}{Esc}
- Partner1=%caID%
- if(Partner1 < 0 || Partner1 > 400)
- {
- caID := GetPlayerIDByName(Partner1)
- Partner1=%caID%
- }
- GetPlayerNameById(caID, partnername1)
- if(partnername1 == "" || partnername1 == " ")
- {
- partnername1 := "ID " . caID . ""
- }
- if(partnername1 == -1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
- Partner1 := -1
- }
- else
- {
- SendChat("/d " . partnername1 . " wurde als Streifenpartner [1] eingetragen.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFBF00}" partnername1 "{FFFFFF} wurde als Streifenpartner (1) eingetragen.")
- Sleep, 200
- IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
- if(Steuersatz < 0 || Steuersatz > 1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es wurde noch kein Steuersatz eingetragen, nutze bitte {FF8000}/settax{FFFFFF} oder {FF8000}/updatesteuersatz")
- }
- }
- }
- else
- {
- ;~ pOn = 0
- SendChat("/d Der Streifenpartner [1] wurde entfernt.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Streifenpartner (1) wurde entfernt.")
- Partner1 := -1
- Partnername := -1
- }
- if(Streife == 1)
- {
- AnzahlPersonen := 1
- AnzahlPersonen += ErmittelPartnerZahl()
- PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
- }
- return
- :?:/partner2::
- Suspend Permit
- if(Partner2 == -1)
- {
- SendInput, Gebe deine Partner ID ein:{Space}
- Input, caID, V I M,{Enter}
- SendInput {end}+{home}{Del}{Esc}
- Partner2=%caID%
- if(Partner2 < 0 || Partner2 > 400)
- {
- caID := GetPlayerIDByName(Partner2)
- Partner2=%caID%
- }
- GetPlayerNameById(caID, partnername2)
- if(partnername2 == "" || partnername2 == " ")
- {
- partnername2 := "ID " . caID . ""
- }
- if(partnername2 == -1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
- Partner2 := -1
- }
- else
- {
- SendChat("/hq " . partnername2 . " wurde als Streifenpartner (2) eingetragen.")
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" partnername2 "{FFFFFF} wurde als Streifenpartner (2) eingetragen.")
- IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
- if(Steuersatz < 0 || Steuersatz > 1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es wurde noch kein Steuersatz eingetragen, nutze bitte {FF8000}/settax{FFFFFF} oder {FF8000}/updatesteuersatz{FFFFFF}.")
- }
- }
- }
- else
- {
- SendChat("/hq Der Streifenpartner (2) wurde entfernt.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Streifenpartner (2) wurde entfernt.")
- Partner2 := -1
- Partnername := -1
- }
- if(Streife == 1)
- {
- AnzahlPersonen := 1
- AnzahlPersonen += ErmittelPartnerZahl()
- PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
- }
- return
- :?:/partner3::
- Suspend Permit
- if(Partner3 == -1)
- {
- SendInput, Gebe deine Partner ID ein:{Space}
- Input, caID, V I M,{Enter}
- SendInput {end}+{home}{Del}{Esc}
- Partner3=%caID%
- if(Partner3 < 0 || Partner3 > 400)
- {
- caID := GetPlayerIDByName(Partner3)
- Partner1=%caID%
- }
- GetPlayerNameById(caID, partnername3)
- if(partnername3 == "" || partnername3 == " ")
- {
- partnername3 := "ID " . caID . ""
- }
- if(partnername3 == -1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Dieser Spieler ist nicht Online.")
- Partner3 := -1
- }
- else
- {
- SendChat("/hq " . partnername3 . " wurde als Streifenpartner (3) eingetragen.")
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik] {FF8000}" partnername3 "{FFFFFF} wurde als Streifenpartner (3) eingetragen.")
- IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
- if(Steuersatz < 0 || Steuersatz > 1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Es wurde noch kein Steuersatz eingetragen, nutze bitte {FF8000}/settax{FFFFFF} oder {FF8000}/updatesteuersatz{FFFFFF}.")
- }
- }
- }
- else
- {
- SendChat("/hq Der Streifenpartner (3) wurde entfernt.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Der Streifenpartner (3) wurde entfernt.")
- Partner3 := -1
- Partnername := -1
- }
- if(Streife == 1)
- {
- AnzahlPersonen := 1
- AnzahlPersonen += ErmittelPartnerZahl()
- PoliceID := "" . Streifennummer . "-" . Einheit . "-" . AnzahlPersonen . ""
- }
- return
- :?:/partners::
- Suspend Permit
- If(Partner1 > -1)
- {
- GetPlayerNameByID(Partner1, partnername1_temp)
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}1. Streifenpartner: " partnername1_temp " [ID: " Partner1 "]")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}1. Streifenpartner: / ")
- }
- if(Partner2 > -1)
- {
- GetPlayerNameByID(Partner2, partnername2_temp)
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}2. Streifenpartner: " partnername2_temp " [ID: " Partner2 "]")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}2. Streifenpartner: / ")
- }
- if(Partner3 > -1)
- {
- GetPlayerNameByID(partner3, partnername3_temp)
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}3. Streifenpartner: " partnername3_temp " [ID: " Partner3 "]")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}3. Streifenpartner: / ")
- }
- return
- :?:/wt::
- Suspend Permit
- ID := PlayerInput("Spieler-ID: ")
- if(ID != "" && ID != " ")
- {
- Grund := PlayerInput("Wantedgrund: ")
- if(Grund != "" && Grund != " ")
- {
- SendChat("/d HQ: Bitte ID " ID " Wanteds eintragen, Grund: " Grund ".")
- }
- }
- return
- :?:/kontrolle::
- Suspend Permit
- SendInput, /frisk{Space}
- Input, caID, V I M,{Enter}
- Send {Enter}
- SendChat("/waffen " . caID . "")
- Sleep 2000
- SendChat("/alktest " . caID . "")
- return
- :?:/warten::
- Suspend Permit
- SendChat("/l Bitte warten Sie einen Moment, ich überprüfe die Gültigkeit Ihrer Dokumente.")
- return
- :?:/rechte::
- Suspend Permit
- SendChat("Sie haben das Recht zu schweigen. Alles was Sie sagen, kann und wird gegen Sie verwendet werden.")
- Sleep, 1500
- SendChat("Sie haben das Recht einen Verteidiger hinzuziehen.")
- Sleep, 2000
- SendChat("Haben Sie die Rechte verstanden, die ich Ihnen soeben vorgelesen habe?")
- return
- :?:/passieren::
- Suspend Permit
- SendChat("Sie dürfen passieren.")
- SendChat("Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
- return
- :?:/runter::
- Suspend Permit
- SendChat("/l Steigen Sie bitte umgehend vom Fahrzeug.")
- Sleep, 750
- SendChat("/l Ansonsten sind wir gezwungen Sie wegen Verweigerung zu verhaften.")
- return
- ~2::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- SendChat("/l Guten Tag Sir, dürfen wir Sie auf Drogen und Waffenbesitz überprüfen?")
- SendChat("/l Sollten Sie sich weigern, bekommen Sie ein Wanted und werden verhaftet!")
- Sleep, 850
- SendChat("/l Bitte antworten Sie mit 'Ja' oder 'Nein'.")
- return
- ~3::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- playerid := GetPlayerID()
- if(playerid == "" || playerid == " " || playerid == "65535")
- {
- UpdateServerData()
- playerid := GetPlayerID()
- if(playerid == "" || playerid == " " || playerid == "65535")
- {
- playerid := name
- }
- }
- SendChat("/l Bitte zeigen Sie mir Ihre Scheine. (/scheine " . playerid . ")")
- return
- ~4::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- SendChat("Vielen Dank für Ihre Kooperation.")
- return
- ~5::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- SendChat("/l Steigen Sie bitte aus Ihrem Fahrzeug.")
- return
- ~6::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- SendChat("/l Sie sind vorläufig festgenommen, steigen Sie bitte in das Dienstfahrzeug.")
- return
- ~7::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- SendChat("/l Sie sind vorläufig festgenommen, bitte laufen Sie zu den Zellen des Police Departments.")
- return
- ~8::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- SendChat("/ram")
- return
- ~9::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- id := PlayerInput("Grab: ")
- SendChat("/grab " id)
- return
- ;~ !9::
- ;~ if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- ;~ {
- ;~ return
- ;~ }
- ;~ SendInput, t/ungrab{space}
- ;~ return
- ~B::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- SendChat("/uclight")
- }
- return
- ~J::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInAnyVehicle() == "0")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist in keinem Fahrzeug")
- }
- else
- {
- SendChat("/policelight")
- }
- return
- ~I::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/l Bitte stecken Sie umgehend Ihre Waffen ein.")
- return
- !E::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendInput, t/eject{space}
- return
- ~ä::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendInput t{up}{enter}
- return
- ^Numpad0::
- id := PlayerInput("Rote Ampel missachtet: ")
- SendChat("/punkte " id " 2 Missachtung roter Ampeln")
- return
- ^Numpad1::
- id := PlayerInput("SVG: ")
- SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
- return
- ^Numpad2::
- id := PlayerInput("Falsche Seite: ")
- SendChat("/punkte " id " 2 Fahren auf der falschen Straßenseite")
- return
- ^Numpad3::
- id := PlayerInput("Zu schnell: ")
- SendChat("/punkte " id " 2 Überschreitung der Höchstgeschwindigkeit")
- return
- ^Numpad4::
- id := PlayerInput("Vorfahrt: ")
- SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
- return
- ^Numpad5::
- id := PlayerInput("Abseits: ")
- SendChat("/punkte " id " 2 Fahren abseits der Straße")
- return
- ^Numpad6::
- id := PlayerInput("Ohne Licht: ")
- SendChat("/punkte " id " 1 Fahren ohne Licht")
- return
- ^Numpad7::
- GetZoneName(MyZone)
- id := PlayerInput("Parkverbot: ")
- SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
- return
- ^Numpad8::
- id := PlayerInput("SVB: ")
- SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
- return
- ^Numpad9::
- id := PlayerInput("Alkoholeinfluss: ")
- SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
- return
- ~NumpadDot::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Bitte halten Sie sich an die Straßenverkehrsordnung <<")
- return
- ~Numpad0::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, bitte folgen Sie dem Boot <<")
- }
- else if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . " bitte folgen Sie dem Einsatzfahrzeug <<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen <<")
- }
- }
- return
- ~Numpad1::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an <<")
- }
- else if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . " Straßenverkehrskontrolle. Fahren Sie SOFORT rechts ran! <<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
- }
- }
- return
- ~Numpad2::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot! <<")
- }
- else if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . " halten Sie SOFORT an!<<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an! <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an!<<")
- }
- SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen! <<")
- }
- return
- ~Numpad3::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- SendChat("/m >> Unterlassen Sie umgehend die Verfolgung <<")
- return
- ~Numpad4::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug! <<")
- return
- ~Numpad5::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, fahren Sie SOFORT zur Seite! <<")
- }
- else if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . " räumen Sie SOFORT die Straße! <<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße! <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße! <<")
- }
- }
- return
- ~Numpad6::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . " Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
- }
- else
- {
- SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
- }
- return
- ~Numpad9::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- SendChat("/m >> Verlassen Sie SOFORT dieses Gelände! <<")
- return
- ~ß::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Verlassen Sie SOFORT dieses Gebäude! <<")
- return
- ~Numpad7::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendInput, t/waffen{Space}
- Input, SID, V I M,{Enter}
- Send {Enter}
- SendInput t/frisk %SID%{Enter}
- SendInput t/cuff %SID%{Enter}
- ;~ name := GetPlayerNameByID(SID)
- ;~ if(name != -1)
- ;~ {
- if(arrest1 == -1)
- {
- arrest1 := SID
- return
- }
- else if(arrest2 == -1)
- {
- arrest2 := SID
- return
- }
- else if(arrest3 == -1)
- {
- arrest3 := SID
- return
- }
- else if(arrest4 == -1)
- {
- arrest4 := SID
- return
- }
- else if(arrest5 == -1)
- {
- arrest5 := SID
- return
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F9 zum Resetten)")
- return
- }
- ;~ }
- return
- ~F9::
- if(IsDialogOpen() == 1 || IsChatOpen() == 1)
- {
- return
- }
- arrest1 := -1
- arrest2 := -1
- arrest3 := -1
- arrest4 := -1
- arrest5 := -1
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Arrestslots zurückgesetzt")
- return
- :?:/uncuff::
- Suspend Permit
- id := PlayerInput("/uncuff ")
- SendChat("/uncuff " id)
- if(arrest1 == id)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == id)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == id)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == id)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == id)
- {
- arrest5 = -1
- return
- }
- return
- ~U::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- id := PlayerInput("/uncuff ")
- SendChat("/uncuff " id)
- if(arrest1 == id)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == id)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == id)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == id)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == id)
- {
- arrest5 = -1
- return
- }
- return
- ^!Numpad7::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- id := PlayerInput("/uncuff ")
- SendChat("/uncuff " id)
- if(arrest1 == id)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == id)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == id)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == id)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == id)
- {
- arrest5 = -1
- return
- }
- return
- ~Numpad8::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- Suspend on
- Random, rand, 1, 3
- SendInput, t/arrest %rand%{left 2}
- Input, SID, V I M,{Enter}
- Send {Enter}
- Suspend off
- Countdown := 200
- SetTimer, Partner, 100
- if(arrest1 == SID)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == SID)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == SID)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == SID)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == SID)
- {
- arrest5 = -1
- return
- }
- return
- ~#::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(IsPlayerInRangeOfPoint(1564.6409,-1694.5798,5.8906,2.5) || IsPlayerInRangeOfPoint(-1589.4081,715.9786,-5.2422,2.5) || IsPlayerInRangeOfPoint(2281.5886,2431.0747,3.2734,2.5))
- {
- gesamtgeld := 0
- Random, rand, 1, 3
- if (arrest1 != -1)
- {
- SendChat("/arrest " arrest1 " " rand "")
- ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
- ;~ {
- Countdown := 200
- SetTimer, #Partner, 100
- ;~ }
- arrest1 := -1
- Sleep, 500
- }
- if (arrest2 != -1)
- {
- SendChat("/arrest " arrest2 " " rand "")
- ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
- ;~ {
- Countdown := 200
- SetTimer, #Partner, 100
- ;~ }
- arrest2 := -1
- Sleep, 500
- }
- if (arrest3 != -1)
- {
- SendChat("/arrest " arrest3 " " rand "")
- ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
- ;~ {
- Countdown := 200
- SetTimer, #Partner, 100
- ;~ }
- arrest3 := -1
- Sleep, 500
- }
- Sleep, 1000
- if (arrest4 != -1)
- {
- SendChat("/arrest " arrest4 " " rand "")
- ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
- ;~ {
- Countdown := 200
- SetTimer, #Partner, 100
- ;~ }
- arrest4 := -1
- Sleep, 500
- }
- if (arrest5 != -1)
- {
- SendChat("/arrest " arrest5 " " rand "")
- ;~ if(Partner1 > -1 || Partner2 > -1 || Partner3 > -1)
- ;~ {
- Countdown := 200
- SetTimer, #Partner, 100
- ;~ }
- arrest5 := -1
- }
- Sleep, 2000
- if(Partner1 > -1 && Partner2 > -1 && Partner3 > -1)
- {
- gesamtgeld /= 4
- gesamtgeld := Floor(gesamtgeld)
- SendChat("/pay " . Partner1 . " " . gesamtgeld . "")
- Sleep, 500
- SendChat("/pay " . Partner2 . " " . gesamtgeld . "")
- Sleep, 500
- SendChat("/pay " . Partner3 . " " . gesamtgeld . "")
- }
- else if(Partner1 > -1 && Partner2 > -1 && Partner3 == -1)
- {
- gesamtgeld /= 3
- gesamtgeld := Floor(gesamtgeld)
- SendChat("/pay " . Partner1 . " " . gesamtgeld . "")
- SendChat("/pay " . Partner2 . " " . gesamtgeld . "")
- }
- else if(Partner1 > -1 && Partner2 == -1 && Partner3 > -1)
- {
- gesamtgeld /= 3
- gesamtgeld := Floor(gesamtgeld)
- SendChat("/pay " . Partner1 . " " . gesamtgeld . "")
- SendChat("/pay " . Partner3 . " " . gesamtgeld . "")
- }
- else if(Partner1 > -1 && Partner2 == -1 && Partner3 == -1)
- {
- gesamtgeld /= 2
- gesamtgeld := Floor(gesamtgeld)
- SendChat("/pay " . Partner1 . " " . gesamtgeld . "")
- }
- else if(Partner1 == -1 && Partner2 > -1 && Partner3 > -1)
- {
- gesamtgeld /= 3
- gesamtgeld := Floor(gesamtgeld)
- SendChat("/pay " . Partner2 . " " . gesamtgeld . "")
- SendChat("/pay " . Partner3 . " " . gesamtgeld . "")
- }
- else if(Partner1 == -1 && Partner2 > -1 && Partner3 == -1)
- {
- gesamtgeld /= 2
- gesamtgeld := Floor(gesamtgeld)
- SendChat("/pay " . Partner2 . " " . gesamtgeld . "")
- }
- else if(Partner1 == -1 && Partner2 == -1 && Partner3 > -1)
- {
- gesamtgeld /= 2
- gesamtgeld := Floor(gesamtgeld)
- SendChat("/pay " . Partner3 . " " . gesamtgeld . "")
- }
- IniRead, Money, Statistik.ini, Arrests, Money
- Money += gesamtgeld
- IniWrite, %Money%, Statistik.ini, Arrests, Money
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FF0000}" Money "{FFFFFF}$ durch Festnahmen verdient.")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist an keinem Arrestpoint.")
- }
- return
- #Partner:
- countdown--
- if(countdown == 0)
- {
- SetTimer, #Partner, off
- }
- else
- {
- GetChatLine(0, ChatLine0)
- GetChatLine(1, ChatLine1)
- GetPlayerName(name)
- if(InStr(ChatLine1, " " . name . " hat den Verdächtigen ") && InStr(ChatLine1, "eingesperrt."))
- {
- IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
- ;~ if(InStr(ChatLine1, "" . name . " hat den Auftrag ausgeführt."))
- ;~ {
- SetTimer, #Partner, off
- RegExMatch(ChatLine0, "Haftzeit: (.*) Minuten, Geldstrafe: 0\$.", zeit)
- if(zeit1 > 104) ; / 56 / 80
- {
- Wanted = 104 ; / 56 / 104
- }
- else
- {
- Wanted = %zeit1%
- }
- Wanted /= 4
- Wanted *= 750
- Geld = %Wanted%
- Geld *= %Steuersatz%
- Geld := Floor(Geld)
- gesamtgeld += Geld
- Sleep, 200
- IniRead, Arrest, Statistik.ini, Arrests, Arrest
- Arrest++
- IniWrite, %Arrest%, Statistik.ini, Arrests, Arrest
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast bereits {FF0000}" Arrest "{FFFFFF} Verbrecher eingesperrt.")
- ;~ }
- Sleep 200
- SetTimer, #Partner, off
- }
- }
- return
- !#::
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Verbrecher in der Arrestliste:")
- ;~ UpdateServerData()
- if(arrest1 != -1)
- {
- GetPlayerNameByID(arrest1, name)
- AddChatMessage(0xFFFFFF, name)
- }
- if(arrest2 != -1)
- {
- GetPlayerNameByID(arrest2, name)
- AddChatMessage(0xFFFFFF, name)
- }
- if(arrest3 != -1)
- {
- GetPlayerNameByID(arrest3, name)
- AddChatMessage(0xFFFFFF, name)
- }
- if(arrest4 != -1)
- {
- GetPlayerNameByID(arrest4, name)
- AddChatMessage(0xFFFFFF, name)
- }
- if(arrest5 != -1)
- {
- GetPlayerNameByID(arrest5, name)
- AddChatMessage(0xFFFFFF, name)
- }
- return
- :?:/rstreife::
- Suspend Permit
- SendChat("/r Suche Streifenpartner.")
- return
- :?:/fstreife::
- Suspend Permit
- SendChat("/f Suche Streifenpartner.")
- return
- :?:/dstreife::
- Suspend Permit
- SendChat("/d Suche Streifenpartner.")
- return
- ~´::
- if(IsDialogOpen() == 1 || IsChatOpen() == 1)
- {
- return
- }
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-4-2")
- if(text != "-1")
- {
- SendChat("/hq " . text . "")
- }
- }
- else
- {
- GetPlayerName(name)
- SendChat("/hq " name " übernimmt den Auftrag.")
- }
- Soundplay, avixa.avi
- return
- !´::
- if(PoliceID != "X")
- {
- GetPlayerName(name)
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-4-3")
- if(text != "-1")
- {
- SendChat("/hq " . text . "")
- }
- }
- else
- {
- GetPlayerName(name)
- SendChat("/hq " name " hat den Auftrag ausgeführt.")
- }
- return
- ^´::
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-4-2")
- if(text != "-1")
- {
- SendChat("/d " . text . "")
- }
- }
- else
- {
- SendChat("/d HQ: " name " übernimmt den Auftrag")
- }
- return
- !^´::
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-4-3")
- if(text != "-1")
- {
- SendChat("/d " . text . "")
- }
- }
- else
- {
- GetPlayerName(name)
- SendChat("/d HQ: " name " hat den Auftrag ausgeführt")
- }
- return
- :?:/razzia::
- Suspend Permit
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", dies ist eine Razzia! <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", dies ist eine Razzia! <<")
- }
- SendChat("/m >> Nehmen Sie SOFORT die Hände hoch oder wir schießen! <<")
- return
- :?:/rz::
- Suspend Permit
- ;~ if(GetPlayerSkin() == 285)
- if(swatmode == 1)
- {
- SendChat("/m >> S.W.A.T., Dies ist eine Razzia! <<")
- SendChat("/m >> Nehmen Sie SOFORT die Hände hoch oder Sie werden erschossen! <<")
- Sleep, 2000
- SendChat("/m >>5<<")
- Sleep, 1000
- SendChat("/m >>4<<")
- Sleep, 1000
- SendChat("/m >>3<<")
- Sleep, 1000
- SendChat("/m >>2<<")
- Sleep, 1000
- SendChat("/m >>1<<")
- Sleep, 1000
- SendChat("/m >>Letzte Warnung!<<")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist nicht im SWAT-Modus.")
- }
- return
- :?:/ruhe::
- Suspend Permit
- SendChat("Sie haben das Recht zu schweigen!")
- SendChat("Später können Sie eventuell einen Anwalt gestellt bekommen!")
- return
- :?:/wo::
- Suspend Permit
- SendChat("/d Wo befindet ihr euch und was ist das Problem?")
- return
- :?:/ver::
- Suspend Permit
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-4-1")
- if(text != "-1")
- {
- SendChat("/hq " . text . "")
- }
- }
- else
- {
- SendChat("/hq Habe verstanden.")
- }
- return
- :?:/dver::
- Suspend Permit
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-4-1")
- if(text != "-1")
- {
- SendChat("/d " . text . "")
- }
- }
- else
- {
- SendChat("/d HQ: Habe verstanden.")
- }
- return
- :?:/rver::
- Suspend Permit
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-4-1")
- if(text != "-1")
- {
- SendChat("/r " . text . "")
- }
- }
- else
- {
- SendChat("/r HQ: Habe verstanden.")
- }
- return
- :?:/fver::
- Suspend Permit
- SendChat("/f HQ: Habe verstanden.")
- return
- :?:/needbk::
- Suspend Permit
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-18")
- if(text != "-1")
- {
- SendChat("/r " . text . "")
- }
- }
- else
- {
- SendChat("/r Wird Verstärkung weiterhin benötigt?")
- }
- return
- :?:/repos::
- Suspend Permit
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-18")
- if(text != "-1")
- {
- SendInput t/r %text%{space}
- }
- return
- :?:/dgo::
- Suspend Permit
- SendChat("/d Einsatzleiter erlaubt Zugriff, GOGOGO!")
- return
- :?:/go::
- Suspend Permit
- SendChat("/hq Einsatzleiter erlaubt Zugriff, GOGOGO!")
- return
- :?:/rgo::
- Suspend Permit
- SendChat("/r Einsatzleiter erlaubt Zugriff, GOGOGO!")
- return
- :?:/fgo::
- Suspend Permit
- SendChat("/f Einsatzleiter erlaubt Zugriff, GOGOGO!")
- return
- :?:/afk::
- Suspend Permit
- Zeit := PlayerInput("Zeit: ")
- SendChat("/f Ich melde mich AFK, Zeit: " Zeit " ")
- return
- :?:/tw::
- Suspend Permit
- SendInput, /take Waffen{space}
- return
- :?:/tws::
- Suspend Permit
- SendInput, /take Waffenschein{space}
- return
- :?:/twl::
- Suspend Permit
- SendInput, /take Waffenschein{space}
- return
- :?:/tfl::
- Suspend Permit
- SendInput, /take Flugschein{space}
- return
- :?:/tfs::
- Suspend Permit
- SendInput, /take Flugschein{space}
- return
- :?:/td::
- Suspend Permit
- SendInput, /take Drogen{space}
- return
- :?:/tm::
- Suspend Permit
- SendInput, /take Materialien{space}
- return
- :?:/tall::
- Suspend Permit
- SendInput, /take Waffen{Space}
- Input, SID, V I M,{Enter}
- Send {Enter}
- SendInput t/take Materialien %SID%{Enter}
- Send {Enter}
- SendInput, t/take Drogen %SID%{enter}
- Suspend Off
- return
- :?:/tst::
- Suspend Permit
- Tid := PlayerInput("Spieler Name / ID: ")
- anzahl := PlayerInput("Anzahl: ")
- SendChat("/licunban " Tid " points " anzahl)
- return
- :?:/clearpoints::
- Suspend Permit
- Tid := PlayerInput("Spieler Name / ID: ")
- anzahl := PlayerInput("Anzahl: ")
- SendChat("/licunban " Tid " points " anzahl)
- return
- ~-::
- if(IsDialogOpen() == 1 || IsChatOpen() == 1)
- {
- return
- }
- id := PlayerInput("/clear ")
- SendChat("/clear " id)
- return
- :?:/op::
- Suspend Permit
- SendInput, /offlinearrest 1{left 2}
- return
- :?:/oa::
- Suspend Permit
- SendInput, /offlinearrest 0{left 2}
- return
- :?:/dp::
- Suspend Permit
- SendInput, /deatharrest 1{left 2}
- return
- :?:/da::
- Suspend Permit
- SendInput, /deatharrest 0{left 2}
- return
- :?:/danke::
- Suspend Permit
- SendChat("Vielen Dank für ihren Anruf. Schönen Tag noch.")
- SendChat("/h")
- return
- ~^::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- If InStr(beforeline, "|____________________Notruf____________________|")
- {
- RegExMAtch(A_LoopReadLine, "Anrufer\: (.*) \(\/notruf" , notruf)
- }
- beforeline = %A_LoopReadLine%
- }
- SendChat("/notruf " notruf1 "")
- return
- ~+^::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendInput, t/notruf{space}
- return
- :?:/stvo::
- Suspend Permit
- anzahl := 0
- rsn := ""
- anzahl := PlayerInput("Anzahl der möglichen Punkte: ")
- rsn := PlayerInput("Grund: ")
- if(anzahl != 0 && rsn != "")
- {
- ticket := anzahl * 2000
- FormatTime, Uhrzeit,, HH
- if (Uhrzeit >= 12 && Uhrzeit < 20)
- {
- SendChat("Guten Tag, Sie haben gegen die StVo verstoßen.")
- }
- else if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("Guten Abend, Sie haben gegen die StVo verstoßen.")
- }
- else if (Uhrzeit >= 1 && Uhrzeit < 12)
- {
- SendChat("Guten Morgen, Sie haben gegen die StVo verstoßen.")
- }
- SendChat("Ihre Vergehen: " rsn)
- SendChat("Möchten Sie ein Ticket in Höhe von " ticket "$ oder " anzahl " Strafpunkte?")
- Sleep, 1000
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Benutze nun {3ADF00}/aticket{FFFFFF} oder {3ADF00}/apunkte{FFFFFF}, um ein Ticket oder Punkte auszustellen.")
- }
- return
- :?:/aticket::
- Suspend Permit
- if(rsn != "" && ticket != "")
- {
- ID := PlayerInput("ID / Name des Spielers: ")
- SendChat("/ticket " . ID . " " . ticket . " " . rsn . "")
- anzahl := 0
- rsn := ""
- ticket := ""
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Nutze vorher {3ADF00}/stvo{FFFFFF}, bevor du ein Ticket ausstellst.")
- }
- return
- :?:/apunkte::
- Suspend Permit
- if(rsn != "" && anzahl != "")
- {
- ID := PlayerInput("ID / Name des Spielers: ")
- SendChat("/punkte " . ID . " " . anzahl . " " . rsn . "")
- anzahl := 0
- rsn := ""
- ticket := ""
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Nutze vorher {3ADF00}/stvo{FFFFFF}, bevor du Strafpunkte ausstellst.")
- }
- return
- :?:/pot::
- Suspend Permit
- SendChat("/l Möchten Sie nun ein Ticket oder die Strafpunkte?")
- return
- :?:/fahrt::
- Suspend Permit
- SendChat("/l Ich wünsche Ihnen eine gute Weiterfahrt. Auf Wiedersehen.")
- return
- LWin::
- SendChat("/wanted")
- return
- LWin & 1::
- SendChat("/wanted ls")
- return
- LWin & 2::
- SendChat("/wanted sf")
- return
- LWin & 3::
- SendChat("/wanted lv")
- return
- :?:/ende::
- Suspend Permit
- SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
- Sleep 1500
- SendChat(">>5<<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>4<<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- return
- }
- 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!")
- Sleep, 2000
- AddChatMessage(0xFFFFFF,"Freigegeben")
- return
- End::
- SendChat("Es folgt ein Countdown, sollten Sie sich weigern, erschießen wir Sie!")
- Sleep 1500
- SendChat(">>5<<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- return
- }
- SendChat(">>4<<")
- KeyWait, <, D T1
- If !ErrorLevel
- {
- return
- }
- 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!")
- Sleep, 2000
- AddChatMessage(0xFFFFFF,"Freigegeben")
- return
- !End::
- SendChat("Sie haben nun folgende Möglichkeiten:")
- Sleep 1000
- SendChat("1. Sie versuchen zu flüchten, erhalten Wanteds und wir wenden Gewalt an.")
- Sleep 1000
- SendChat("2. Sie stellen sich und können einen Anwalt beauftragen.")
- Sleep 1000
- SendChat("3. Sie verweigern, erhalten Wanteds und wir wenden Gewalt an.")
- Sleep 1000
- SendChat("Sie haben die Wahl!")
- return
- !c::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- zoll := PlayerInput("Zoll schließen lassen - Zoll-ID: ")
- if(zoll != "" && zoll != " ")
- {
- SendChat("/hq Erbitte Schließung von Zollstation " zoll ".")
- }
- return
- ;------------------------------------------------------------
- NumpadDiv::
- SendInput, t/zollcontrol zu{left}{left}{left}
- return
- !NumpadDiv::
- SendInput, t/zollcontrol auf{left}{left}{left}{left}
- return
- NumpadMult::
- SendInput, t/gov Die Zollstationen sind zurzeit geschlossen.{left 26}
- return
- !NumpadMult::
- SendInput, t/gov Die Zollstationen sind nicht mehr geschlossen.{left 29}
- return
- NumpadSub::
- SendChat("/auf")
- return
- !NumpadSub::
- SendChat("/zoll")
- return
- NumpadAdd::
- If (IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {%A_ThisHotkey%}
- return
- }
- if(bkon == 0)
- {
- SendChat("/bk")
- bkon := 1
- }
- else if(bkon == 1)
- {
- GetCityName(city)
- GetZoneName(zone)
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-70-1")
- if(text != "-1")
- {
- SendChat("/hq " . text . " in " zone ", " city ".")
- }
- }
- else
- {
- If (city == "" || city == "Unbekannt")
- {
- SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ".")
- }
- else
- {
- SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ", " city ".")
- }
- }
- }
- return
- !NumpadAdd::
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-98")
- if(text != "-1")
- {
- SendChat("/hq " . text . "")
- }
- if(bkon == 1)
- {
- SendChat("/bk")
- bkon := 0
- }
- }
- else
- {
- SendChat("/hq Verstärkung wird NICHT mehr benötigt!")
- if(bkon == 1)
- {
- SendChat("/bk")
- bkon := 0
- }
- }
- return
- Pause::
- suspend
- if ( A_IsSuspended )
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast den Keybinder {FF0000}pausiert{FF0000}.")
- SetTimer, Systeme, off
- SetTimer, _GtaCheck, off
- }
- if ( !A_IsSuspended )
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du hast den Keybinder {00FF00}aktiviert{00FF00}.")
- SetTimer, Systeme, 500
- SetTimer, _GtaCheck, 1000
- }
- return
- F1::
- SendChat("/tog")
- Sleep, 200
- SendInput {enter}
- return
- F3::
- SendChat("/erstehilfe")
- return
- F4::
- SendChat("/ausruesten " . Profil1_1 . " " . Profil1_2 . " " . Profil1_3 . " " . Profil1_4 . " " . Profil1_5 . " " . Profil1_6 . " " . Profil1_7 . "")
- Sleep, 1000
- SendChat("/heal")
- return
- F5::
- SendChat("/ausruesten " . Profil2_1 . " " . Profil2_2 . " " . Profil2_3 . " " . Profil2_4 . " " . Profil2_5 . " " . Profil2_6 . " " . Profil2_7 . "")
- Sleep, 1000
- SendChat("/heal")
- return
- F6::
- SendChat("/ausruesten " . Profil3_1 . " " . Profil3_2 . " " . Profil3_3 . " " . Profil3_4 . " " . Profil3_5 . " " . Profil3_6 . " " . Profil3_7 . "")
- Sleep, 1000
- If(Schutzweste == 1)
- {
- SendChat("/undercover " UCSkin "")
- Sleep, 200
- SendChat("/heal")
- }
- else
- {
- SendChat("/heal")
- Sleep, 200
- SendChat("/undercover " UCSkin "")
- }
- return
- !F4::
- SendChat("/ausruesten")
- Sleep 1200
- SendInput, {enter}{enter}
- return
- ^F4::
- SendChat("/heal")
- return
- ~0::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {A_ThisHotkey}
- return
- }
- id := PlayerInput("Vehicle-ID: ")
- SendChat("/carinfo " id)
- return
- :?:/stvo1::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 2.000$, oder Ihnen wird 1 Strafpunkt eingetragen.")
- return
- :?:/stvo2::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 4.000$, oder Ihnen werden 2 Strafpunkte eingetragen.")
- return
- :?:/stvo3::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 6.000$, oder Ihnen werden 3 Strafpunkte eingetragen.")
- return
- :?:/stvo4::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 8.000$, oder Ihnen werden 4 Strafpunkte eingetragen.")
- return
- :?:/stvo5::
- Suspend Permit
- SendChat("Guten Tag, Sie haben gegen die StVO verstoßen. Sie haben die Wahl zwischen folgenden Konsequenzen:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihnen werden 5 Strafpunkte eingetragen.")
- return
- :?:/stvof::
- Suspend Permit
- SendChat("Guten Tag, Sie haben mit Ihrem Flugobjekt gegen die StVO verstoßen. Sie haben folgende Möglichkeiten:")
- SendChat("Entweder bezahlen Sie ein Ticket in Höhe von 10.000$, oder Ihr Flugschein wird beschlagnahmt.")
- return
- :?:/rb::
- Suspend Permit
- SendChat("/roadblock create")
- return
- :?:/db::
- Suspend Permit
- SendChat("/roadblock delete")
- return
- :?:/dba::
- Suspend Permit
- SendChat("/roadblock deleteall")
- 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(0xDF0101, "[Calibinder] {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)
- ;RegExMatch(UserData, ".+\|skin:(.+)", UserSkin
- Gesamt +=UserBank1
- Gesamt += UserMoney1
- Gesamt += UserDeposit1
- ;~ Gesamt /=1000
- ;~ if(Gesamt>1000)
- ;~ {
- ;~ Gesamt2 := Gesamt
- ;~ Gesamt2 /= 1000
- ;~ }
- KD := Userkills1 / UserDeaths1
- KD := Round(KD, 3)
- ;~ UserBank1 /= 1000
- ;~ UserMoney1 /= 1000
- ;~ UserDeposit1 /= 1000
- ;~ if(Gesamt>1000)
- 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(0xDF0101, "[Calibinder] {FFFFFF}Der Spieler hat sein Profil auf privat gestellt.")
- }
- }
- return
- :?:/water::
- Suspend Permit
- if(watermode == 0)
- {
- watermode := 1
- swatmode := 0
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Wassermodus {33CC00}eingeschaltet")
- ;~ SendInput, {ESC}
- }
- else if(watermode == 1)
- {
- watermode := 0
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Wassermodus {FF0000}ausgeschaltet")
- ;~ SendInput, {ESC}
- }
- return
- :?:/swat::
- Suspend Permit
- if ( A_IsSuspended )
- {
- SendChat("/swat")
- }
- else
- {
- if(IsPlayerInRangeOfPoint(225.6339,121.3084,999.0673,2.2) || IsPlayerInRangeOfPoint(197.8038,168.1594,1003.0234, 1.2) || IsPlayerInRangeOfPoint(255.3859,77.3740,1003.6406, 1.2)) ;Reihenfolge: FBI - LVPD - LSPD
- {
- if(swatmode == 0)
- {
- swatmode := 1
- watermode := 0
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}SWATmodus {33CC00}eingeschaltet")
- }
- else
- ;~ if(swatmode == 1)
- {
- swatmode := 0
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}SWATmodus {FF0000}ausgeschaltet")
- ;~ SendInput, {ESC}
- }
- SendChat("/swat")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du kannst den SWATmodus hier nicht (de-)aktivieren.")
- }
- }
- return
- ;:------------------ Laptop-Modus ---------------------------------
- !^0::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, bitte folgen Sie dem Boot <<")
- }
- else if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . ": bitte folgen Sie dem Einsatzfahrzeug <<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", bitte folgen Sie dem Polizeiwagen <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", bitte folgen Sie dem Polizeiwagen <<")
- }
- }
- return
- !^1::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, Wasserverkehrskontrolle. Halten Sie bitte an <<")
- }
- else if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . ": Straßenverkehrskontrolle. Fahren Sie SOFORT rechts ran <<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", Straßenverkehrskontrolle. Fahren Sie bitte rechts ran <<")
- }
- }
- return
- !^2::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, stoppen Sie SOFORT Ihr Boot! <<")
- }
- else if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . ": halten Sie SOFORT an! <<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", halten Sie SOFORT an! <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", halten Sie SOFORT an! <<")
- }
- }
- return
- !^3::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Letzte Warnung, bleiben Sie stehen oder wir schießen! <<")
- return
- !^4::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Steigen Sie SOFORT mit erhobenen Händen aus Ihrem Fahrzeug! <<")
- return
- !^5::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(watermode == 1)
- {
- SendChat("/m >> Küstenwache, fahren Sie SOFORT zur Seite! <<")
- }
- else if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . ": räumen Sie SOFORT die Straße! <<")
- }
- else
- {
- If(Abteilung = "" || Abteilung = "ERROR")
- {
- SendChat("/m >> " . Fraktion . ", räumen Sie SOFORT die Straße! <<")
- }
- else
- {
- SendChat("/m >> " . Abteilung . ", räumen Sie SOFORT die Straße! <<")
- }
- }
- return
- !^6::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- if(swatmode == 1)
- {
- SendChat("/m >> SWAT, " . Swatabteilung . ": Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
- }
- else
- {
- SendChat("/m >> Legen Sie SOFORT die Waffen nieder oder wir werden Gewalt anwenden! <<")
- }
- return
- !^9::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- SendChat("/m >> Verlassen Sie SOFORT dieses Gelände! <<")
- return
- ^0::
- id := PlayerInput("Rote Ampel missachtet: ")
- SendChat("/punkte " id " 2 Missachtung roter Ampeln")
- return
- ^1::
- id := PlayerInput("SVG: ")
- SendChat("/punkte " id " 2 Straßenverkehrsgefährdung")
- return
- ^2::
- id := PlayerInput("Falsche Seite: ")
- SendChat("/punkte " id " 2 Fahren auf der falschen Straßenseite")
- return
- ^3::
- id := PlayerInput("Zu schnell: ")
- SendChat("/punkte " id " 2 Überschreitung der Höchstgeschwindigkeit")
- return
- ^4::
- id := PlayerInput("Vorfahrt: ")
- SendChat("/punkte " id " 2 Missachtung der Vorfahrt")
- return
- ^5::
- id := PlayerInput("Abseits: ")
- SendChat("/punkte " id " 2 Fahren abseits der Straße")
- return
- ^6::
- id := PlayerInput("Ohne Licht: ")
- SendChat("/punkte " id " 1 Fahren ohne Licht")
- return
- ^7::
- GetZoneName(MyZone)
- id := PlayerInput("Parkverbot: ")
- SendChat("/punkte " id " 1 Parken im Parkverbot [" . MyZone . "]")
- return
- ^8::
- id := PlayerInput("SVB: ")
- SendChat("/punkte " id " 2 Straßenverkehrsbehinderung")
- return
- ^9::
- id := PlayerInput("Alkoholeinfluss: ")
- SendChat("/punkte " id " 4 Fahren unter Alkohol-/Drogeneinfluss")
- return
- !^7::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- Suspend On
- SendInput, t/cuff{Space}
- Input, SID, V I M,{Enter}
- Send {Enter}
- SendInput t/frisk %SID%{Enter}
- Suspend Off
- if(arrest1 == -1)
- {
- arrest1 := SID
- return
- }
- else if(arrest2 == -1)
- {
- arrest2 := SID
- return
- }
- else if(arrest3 == -1)
- {
- arrest3 := SID
- return
- }
- else if(arrest4 == -1)
- {
- arrest4 := SID
- return
- }
- else if(arrest5 == -1)
- {
- arrest5 := SID
- return
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Alle Arrestslots belegt, dieser Spieler wird nicht automatisch arrestet.(F9 zum Resetten)")
- return
- }
- ;~ }
- return
- !^8::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- Suspend On
- Random, rand, 1, 3
- SendInput, t/arrest %rand%{left 2}
- Input, SID, V I M,{Enter}
- Send {Enter}
- Suspend Off
- Countdown := 200
- SetTimer, Partner, 100
- ;~ }
- if(arrest1 == SID)
- {
- arrest1 = -1
- return
- }
- else if(arrest2 == SID)
- {
- arrest2 = -1
- return
- }
- else if(arrest3 == SID)
- {
- arrest3 = -1
- return
- }
- else if(arrest4 == SID)
- {
- arrest4 = -1
- return
- }
- else if(arrest5 == SID)
- {
- arrest5 = -1
- return
- }
- return
- +::
- If (IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- SendInput, {%A_ThisHotkey%}
- return
- }
- if(bkon == 0)
- {
- SendChat("/bk")
- bkon := 1
- }
- else if(bkon == 1)
- {
- GetCityName(city)
- GetZoneName(zone)
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-70-1")
- if(text != "-1")
- {
- SendChat("/hq " . text . " in " zone ", " city ".")
- }
- }
- else
- {
- If (city == "" || city == "Unbekannt")
- {
- SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ".")
- }
- else
- {
- SendChat("/hq Ich benötige DRINGEND Verstärkung in " zone ", " city ".")
- }
- }
- }
- return
- !+::
- if(PoliceID != "X")
- {
- RestartCodes()
- text := GetTextByCodeWithoutCode("10-98")
- if(text != "-1")
- {
- SendChat("/hq " . text . "")
- }
- if(bkon == 1)
- {
- SendChat("/bk")
- bkon := 0
- }
- }
- else
- {
- SendChat("/hq Verstärkung wird NICHT mehr benötigt!")
- if(bkon == 1)
- {
- SendChat("/bk")
- bkon := 0
- }
- }
- return
- ;~ ------------------------------------------------------------------------------
- :?:/gk::
- Suspend Permit
- success := ""
- splitted := ""
- id := PlayerInput("GK ID: ")
- if(id != "")
- {
- IniRead, Passwort, settings.ini, Sonstiges, Passwort
- getgk = http://www.rpg-ausbildung.de/keybinder/GK/getalldata.php?gkID=%params1%&password=%Passwort%
- success := UrlDownloadToVar(getgk)
- if(success == "ERROR_BAD_LINK")
- {
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Fehlerhafte Parameter angegeben.")
- }
- else if(success == "ERROR_ACCESS_DENIED")
- {
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
- }
- else if(success == "ERROR_PARAMETER_NO_NUMBER")
- {
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Eine Zahl wird vorausgesetzt.")
- }
- else if(success == "ERROR_NOT_FOUND")
- {
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Gebäudekomplex nicht gefunden.")
- }
- else
- {
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Gebäudekomplex] {FFFFFF}Gebäudekomplex {FF8000}" id ":")
- Loop, Parse, success, ~
- {
- AddChatMessage(0xFFFFFF,A_LoopField)
- }
- }
- }
- return
- :?:/tasks::
- Suspend Permit
- IniRead, Passwort, settings.ini, Sonstiges, Passwort
- url = http://ni31914_3.vweb16.nitrado.net/keybinder/tasks/pdapi.php?action=get&password=%Passwort%
- tasks := UrlDownloadToVar(url)
- if(tasks == "ERROR_BAD_LINK")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
- }
- else if(tasks == "ERROR_ACCESS_DENIED")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
- }
- else
- {
- AnzahlTasks := 0
- Loop, Parse, tasks, '
- {
- AnzahlTasks++
- }
- AnzahlSeiten := Ceil(AnzahlTasks / 10)
- TaskID := 0
- Seite := 0
- ;~ UpdateServerData()
- ausstehendeAufgaben := "{FFBB00}ID Zeitpunkt {FF4040}Betreffende Person {00F0CC}Aufgabe {99CC00}Auftraggeber`n"
- Loop, Parse, tasks, '
- {
- aufgabe := ""
- aufgabe_ := ""
- RegExMatch(A_LoopField, "(.*)~(.*)~(.*)~(.*)~(.*)", aufgabe_) ;ID~Zeit~Person~Aufgabe~Auftraggeber(IP)
- id := GetPlayerIDByName(aufgabe_3)
- if(id != -1 && id != 65535)
- {
- ausstehendeAufgaben .= "`n{FFBB00}" aufgabe_1 "{FFFFFF} - {FFBB00}" aufgabe_2 "{FFFFFF} - {33CC00}" aufgabe_3 "{FFFFFF} - {00F0CC}" aufgabe_4 "{FFFFFF} - {99CC00}" aufgabe_5 "{FFFFFF}"
- }
- else
- {
- ausstehendeAufgaben .= "`n{FFBB00}" aufgabe_1 "{FFFFFF} - {FFBB00}" aufgabe_2 "{FFFFFF} - {FF4040}" aufgabe_3 "{FFFFFF} - {00F0CC}" aufgabe_4 "{FFFFFF} - {99CC00}" aufgabe_5 "{FFFFFF}"
- }
- TaskID++
- if(TaskID == 10)
- ;~ || TaskID == AnzahlTasks
- {
- ;~ if(Seite < AnzahlSeiten)
- ;~ {
- ShowDialog(0, "Ausstehende Aufgaben", ausstehendeAufgaben, "Weiter >>")
- ;~ }
- ;~ else
- ;~ {
- ;~ ShowDialog(0, "Ausstehende Aufgaben", ausstehendeAufgaben, "Ok")
- ;~ }
- ausstehendeAufgaben := "{FFBB00}ID Zeitpunkt {FF4040}Betreffende Person {00F0CC}Aufgabe {99CC00}Auftraggeber`n"
- TaskID := 0
- Seite++
- Sleep, 500
- Loop
- {
- if(IsChatOpen() || IsDialogOpen())
- continue
- else
- break
- }
- }
- }
- ShowDialog(0, "Ausstehende Aufgaben", ausstehendeAufgaben, "Ok")
- }
- return
- :?:/addtask::
- Suspend Permit
- betreffendePerson := PlayerInput("Betreffende Person: ")
- if(betreffendePerson == "" || betreffendePerson == " ")
- {
- return
- }
- Aufgabe := PlayerInput("Aufgabe: ")
- if(Aufgabe == "" || Aufgabe == " ")
- {
- return
- }
- GetPlayerName(auftraggeber)
- IniRead, Passwort, settings.ini, Sonstiges, Passwort
- url = http://ni31914_3.vweb16.nitrado.net/keybinder/tasks/pdapi.php?action=add&task=%Aufgabe%&person=%betreffendePerson%&auftraggeber=%auftraggeber%&password=%Passwort%
- success := UrlDownloadToVar(url)
- if(success == "QUERY_SUCCESSFUL_EXECUTED")
- {
- SendChat("/hq ** Neue Aufgabe ist verfügbar: Betreffende Person: " betreffendePerson ", Aufgabe: " Aufgabe ".")
- }
- else if(success == "ERROR_BAD_LINK")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
- }
- else if(success == "ERROR_BAD_QUERY")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Query konnte nicht an den MySQL Server gesendet werden.")
- }
- else if(success == "ERROR_ACCESS_DENIED")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Unbekannter Fehler.")
- }
- return
- :?:/deletetask::
- Suspend Permit
- AufgabenID := PlayerInput("ID der Aufgabe: ")
- if(AufgabenID == "" || AufgabenID == " ")
- {
- return
- }
- IniRead, Passwort, settings.ini, Sonstiges, Passwort
- url = http://www.rpg-ausbildung.de/keybinder/tasks/pdapi.php?action=delete&id=%AufgabenID%&password=%Passwort%
- success := UrlDownloadToVar(url)
- if(success == "QUERY_SUCCESSFUL_EXECUTED")
- {
- SendChat("/hq ** Aufgabe " AufgabenID " wurde ausgeführt.")
- }
- else if(success == "ERROR_BAD_LINK")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
- }
- else if(success == "ERROR_BAD_QUERY")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Query konnte nicht an den MySQL Server gesendet werden.")
- }
- else if(success == "ERROR_ACCESS_DENIED")
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Unbekannter Fehler.")
- }
- return
- :?:/hm::
- Suspend Permit
- hitmen := ""
- hmcounter := 0
- url = http://www.rpg-ausbildung.de/keybinder/Hitmen/getalldata.php
- hm := UrlDownloadToVar(url)
- Loop, Parse, hm, '
- {
- id := GetPlayerIdByName(A_LoopField)
- if(id != -1 && id != 65535)
- {
- hitmen .= "`n{66CC00}" A_LoopField
- hmcounter ++
- }
- else
- {
- hitmen .= "`n{FF0000}" A_LoopField
- }
- }
- hitmen .= "`n`n{FFFFFF}::.Legende.::`n{66CC00}Grün: Online`n{FF0000}Rot: Offline"
- title := "Hitmen online (" hmcounter ")"
- ShowDialog(0,title,hitmen,"OK")
- return
- ;~ :?:/addts::
- ;~ Suspend Permit
- ;~ criminal := PlayerInput("Name des Spielers: ")
- ;~ if(criminal != "")
- ;~ {
- ;~ GetPlayerName(cop)
- ;~ IniRead, Passwort, settings.ini, Sonstiges, Passwort
- ;~ addts = http://www.rpg-ausbildung.de/keybinder/Hitmen/addtodesstrafe.php?Name=%criminal%&Cop=%cop%&password=%Passwort%
- ;~ todesstrafe := UrlDownloadToVar(addts)
- ;~ StringTrimRight todesstrafe, todesstrafe, 1
- ;~ if(todesstrafe == "QUERY_SUCCESSFUL_EXECUTED")
- ;~ {
- ;~ SendChat("/hq ** Gegen " criminal " wird die Todesstrafe ausgesprochen.")
- ;~ }
- ;~ else if(todesstrafe == "ERROR_BAD_LINK")
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
- ;~ }
- ;~ else if(todesstrafe == "ERROR_BAD_QUERY")
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Query konnte nicht an den MySQL Server gesendet werden.")
- ;~ }
- ;~ else if(todesstrafe == "ERROR_ACCESS_DENIED")
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
- ;~ }
- ;~ else
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Unbekannter Fehler.")
- ;~ }
- ;~ }
- ;~ return
- ;~ :?:/deletets::
- ;~ Suspend Permit
- ;~ pName := PlayerInput("Name des Spielers: ")
- ;~ if(pName != "")
- ;~ {
- ;~ IniRead, Passwort, settings.ini, Sonstiges, Passwort
- ;~ deletets = http://www.rpg-ausbildung.de/keybinder/Hitmen/deletetodesstrafe.php?Name=%pName%&password=%Passwort%
- ;~ success := UrlDownloadToVar(deletets)
- ;~ Sleep, 500
- ;~ StringTrimRight success, success, 1
- ;~
- ;~ if(success == "QUERY_SUCCESSFUL_EXECUTED")
- ;~ {
- ;~ SendChat("/hq ** Die Todesstrafe von " pName " wurde vollstreckt.")
- ;~ }
- ;~ else if(success == "ERROR_BAD_LINK")
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Fehlerhafte Parameter angegeben.")
- ;~ }
- ;~ else if(success == "ERROR_BAD_QUERY")
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Die Query konnte nicht an den MySQL Server gesendet werden.")
- ;~ }
- ;~ else if(success == "ERROR_ACCESS_DENIED")
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Zugriff verweigert, das Passwort ist falsch.")
- ;~ }
- ;~ else
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Unbekannter Fehler.")
- ;~ }
- ;~ }
- ;~ return
- ;~ !t::
- ;~ ts := ""
- ;~ ts2 := ""
- ;~ IniRead, Passwort, settings.ini, Sonstiges, Passwort
- ;~ url = http://www.rpg-ausbildung.de/CaliBinderKeybinder/keybinder/Hitmen/gettodesstrafen.php?password=%Passwort%
- ;~ ts := UrlDownloadToVar(url)
- ;~ Sleep, 150
- ;~ StringTrimRight, ts, ts, 1
- ;~ if(ts == "ERROR_BAD_LINK")
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}}Fehlerhafte Parameter angegeben.")
- ;~ }
- ;~ else if(ts == "ERROR_ACCESS_DENIED")
- ;~ {
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFF00}Achtung: {FFFFFF}Zugriff verweigert, das Passwort ist falsch!")
- ;~ }
- ;~ else
- ;~ {
- ;~ AddChatMessage(0x00BFFF, "|Todesstrafenliste|")
- ;~ Loop, Parse, ts, '
- ;~ {
- ;~ AddChatMessage(0xFFFFFF, A_LoopField)
- ;~ id := GetPlayerIdByName(A_LoopField)
- ;~ if(id != -1)
- ;~ {
- ;~ ts2 .= "`n" A_LoopField
- ;~ }
- ;~ }
- ;~ }
- ;~ return
- :?:/copstats::
- Suspend Permit
- Send, {Enter}
- Sleep, 500
- IniRead, Punkte, Statistik.ini, Vergaben, Punkte
- IniRead, Tickets, Statistik.ini, Vergaben, Tickets
- IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
- IniRead, Tazer, Statistik.ini, Tazer, Tazer
- IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
- IniRead, Arrest, Statistik.ini, Arrests, Arrest
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Kills, Statistik.ini, Kills, Kills
- IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
- IniRead, Money, Statistik.ini, Arrests, Money
- IniRead, Flugschein, Statistik.ini, Scheine, Flugschein
- IniRead, Waffenschein, Statistik.ini, Scheine, Waffenschein
- IniRead, Bootschein, Statistik.ini, Scheine, Bootschein
- if(Punkte = "ERROR")
- {
- Punkte = 0
- }
- if(Tickets = "ERROR")
- {
- Tickets = 0
- }
- if(TicketGeld = "ERROR")
- {
- TicketGeld = 0
- }
- if(Tazer = "ERROR")
- {
- Tazer = 0
- }
- if(OffArrest = "ERROR")
- {
- OffArrest = 0
- }
- if(Arrest = "ERROR")
- {
- Arrest = 0
- }
- if(DeathArrest = "ERROR")
- {
- DeathArrest = 0
- }
- if(Wanted = "ERROR")
- {
- Wanted = 0
- }
- if(Kills = "ERROR")
- {
- Kills = 0
- }
- if(Money = "ERROR")
- {
- Money = 0
- }
- if(Flugschein = "ERROR")
- {
- Flugschein = 0
- }
- if(Waffenschein = "ERROR")
- {
- Waffenschein = 0
- }
- if(Bootschein = "ERROR")
- {
- Bootschein = 0
- }
- GetCityName(city)
- GetZoneName(zone)
- FPS := GetFramerate()
- AP := GetPlayerArmor()
- HP := GetPlayerHealth()
- GetPlayerName(Name)
- PlayerID := GetPlayerID()
- if(PlayerID != "65535" && PlayerID != "" && PlayerID != "-1")
- {
- stats := "{FF0000}Spieler-Infos:{FFFFFF}`nStandort: {FFBF00}" zone "{FFFFFF}, {FFBF00}" City "`n{FFFFFF}FPS: {FFBF00}" FPS "`n{FFFFFF}Leben: {FFBF00}" HP "{FFFFFF}/{FFBF00}" AP "`n`n{FF0000}Cop-Infos:{FFFFFF}`n{FFFFFF}Ausgestellte Wanteds: {FFBF00}" Wanted "{FFFFFF}`n{FFFFFF}Ausgestellte Punkte: {FFBF00}" Punkte "{FFFFFF}`n{FFFFFF}Ausgestellte Tickets: {FFBF00}" Tickets "{FFFFFF} (Verdientes Geld: {FFBF00}" TicketGeld "{FFFFFF}$) `n`nEingesperrte Verbrecher: {FFBF00}" Arrest "{FFFFFF} `nVerdientes Geld: {FFBF00}" Money "{FFFFFF}$`nOffline eingesperrte Verbrecher: {FFBF00}" OffArrest "{FFFFFF}`nGetötete Verbrecher: {FFBF00}" Kills "{FFFFFF}`nDeath Arrests: {FFBF00}" DeathArrest "{FFFFFF}`n `nGetazerte Personen: {FFBF00}" Tazer "{FFFFFF} `n`n{FF0000}Scheine:{FFFFFF}`nEntzogene Flugscheine: {FFBF00}" Flugschein "{FFFFFF} `nEntzogene Waffenscheine: {FFBF00}" Waffenschein "{FFFFFF} `nEntzogene Bootsscheine: {FFBF00}" Bootschein "{FFFFFF}"
- ShowDialog(0, "{FFFFFF}Copstatistiken ( {FF0000}" Name "{FFFFFF} )", stats, "OK")
- return
- IsNumeric(number)
- {
- url = http://ni31914_1.vweb14.nitrado.net/Keybinder/files/fbibinder/isnumeric.php?number=%number%
- success := UrlDownloadToVar(url)
- return success
- }
- }
- :?:/auto::
- Suspend Permit
- Fahrzeug := PlayerInput("Model-ID oder Fahrzeugname: ")
- Sleep, 100
- car_id := ""
- car_name := ""
- car_preis := ""
- car_autohaus := ""
- car_kaution := ""
- car_tank := ""
- car_verbrauch := ""
- car_geschwindigkeit := ""
- car_level := ""
- car_tuningwerkstatt := ""
- if(Fahrzeug == 571 || Fahrzeug = "Kart")
- {
- car_id := 571
- car_name := "Kart"
- car_preis := "/"
- car_autohaus := "/"
- car_kaution := "12.000$"
- car_tank := "12 Liter"
- car_verbrauch := "4.5"
- car_geschwindigkeit := "72 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Zweiradtuning"
- }
- else if(Fahrzeug == 487 || Fahrzeug = "Maverick")
- {
- car_id := 487
- car_name := "Maverick"
- car_preis := "750.000$"
- car_autohaus := "Airport LS"
- car_kaution := "/"
- car_tank := "120 Liter"
- car_verbrauch := "35.0"
- car_geschwindigkeit := "135 km/h"
- car_level := "12"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 593 || Fahrzeug = "Dodo")
- {
- car_id := 593
- car_name := "Dodo"
- car_preis := "150.000$"
- car_autohaus := "Airport LS"
- car_kaution := "/"
- car_tank := "80 Liter"
- car_verbrauch := "24.8"
- car_geschwindigkeit := "120 km/h"
- car_level := "6"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 519 || Fahrzeug = "Shamal")
- {
- car_id := 519
- car_name := "Shamal"
- car_preis := "3.000.000$"
- car_autohaus := "Airport LS"
- car_kaution := "/"
- car_tank := "3000 Liter"
- car_verbrauch := "450.0"
- car_geschwindigkeit := "210 km/h"
- car_level := "12"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 461 || Fahrzeug = "PCJ-600" || Fahrzeug = "PCJ600" || Fahrzeug = "PCJ")
- {
- car_id := 461
- car_name := "PCJ-600"
- car_preis := "12.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "11.6"
- car_geschwindigkeit := "125 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 462 || Fahrzeug = "Faggio")
- {
- car_id := 462
- car_name := "Faggio"
- car_preis := "3.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "15 Liter"
- car_verbrauch := "7.5"
- car_geschwindigkeit := "86 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 463 || Fahrzeug = "Freeway")
- {
- car_id := 463
- car_name := "Freeway"
- car_preis := "22.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "111 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 468 || Fahrzeug = "Sanchez")
- {
- car_id := 468
- car_name := "Sanchez"
- car_preis := "16.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "10.8"
- car_geschwindigkeit := "111 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 586 || Fahrzeug = "Wayfarer")
- {
- car_id := 586
- car_name := "Wayfarer"
- car_preis := "10.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "9.8"
- car_geschwindigkeit := "111 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 581 || Fahrzeug = "BF-400" || Fahrzeug = "BF" || Fahrzeug = "BF 400" || Fahrzeug = "BF400")
- {
- car_id := 581
- car_name := "BF-400"
- car_preis := "14.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "10.0"
- car_geschwindigkeit := "117 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 522 || Fahrzeug = "NRG-500" || Fahrzeug = "NRG" || Fahrzeug = "NRG 500" || Fahrzeug = "NRG500")
- {
- car_id := 522
- car_name := "NRG-500"
- car_preis := "50.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "21.1"
- car_geschwindigkeit := "136 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 481 || Fahrzeug = "BMX")
- {
- car_id := 481
- car_name := "BMX"
- car_preis := "1.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "3 Liter"
- car_verbrauch := "0.0"
- car_geschwindigkeit := "74 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 521 || Fahrzeug = "FCR-900" || Fahrzeug = "FCR" || Fahrzeug = "FCR900" || Fahrzeug = "FCR 900")
- {
- car_id := 521
- car_name := "FCR-900"
- car_preis := "14.000$"
- car_autohaus := "Coutt and Schutz"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "14.1"
- car_geschwindigkeit := "125 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 506 || Fahrzeug = "Super GT" || Fahrzeug = "SuperGT")
- {
- car_id := 506
- car_name := "Super GT"
- car_preis := "250.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.8"
- car_geschwindigkeit := "139 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 560 || Fahrzeug = "Sultan")
- {
- car_id := 560
- car_name := "Sultan"
- car_preis := "85.000$"
- car_autohaus := "Grottis"
- car_kaution := "5.0000$"
- car_tank := "50 Liter"
- car_verbrauch := "16.7"
- car_geschwindigkeit := "131 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 559 || Fahrzeug = "Jester")
- {
- car_id := 559
- car_name := "Jester"
- car_preis := "200.000$"
- car_autohaus := "Grottis"
- car_kaution := "6.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.1"
- car_geschwindigkeit := "138 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 541 || Fahrzeug = "Bullet")
- {
- car_id := 541
- car_name := "Bullet"
- car_preis := "225.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "18.2"
- car_geschwindigkeit := "157 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 451 || Fahrzeug = "Turismo")
- {
- car_id := 451
- car_name := "Turismo"
- car_preis := "325.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "21.1"
- car_geschwindigkeit := "150 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 415 || Fahrzeug = "Cheetah")
- {
- car_id := 415
- car_name := "Cheetah"
- car_preis := "250.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.6"
- car_geschwindigkeit := "149 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 411 || Fahrzeug = "Infernus")
- {
- car_id := 411
- car_name := "Infernus"
- car_preis := "350.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "24.2"
- car_geschwindigkeit := "172 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 402 || Fahrzeug = "Buffalo")
- {
- car_id := 402
- car_name := "Buffalo"
- car_preis := "225.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.3"
- car_geschwindigkeit := "144 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 429 || Fahrzeug = "Banshee")
- {
- car_id := 429
- car_name := "Banshee"
- car_preis := "200.000$"
- car_autohaus := "Grottis"
- car_kaution := "6.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "19.2"
- car_geschwindigkeit := "156 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 602 || Fahrzeug = "Alpha")
- {
- car_id := 602
- car_name := "Alpha"
- car_preis := "250.000$"
- car_autohaus := "Grottis"
- car_kaution := "7.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.2"
- car_geschwindigkeit := "131 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 576 || Fahrzeug = "Tornado")
- {
- car_id := 576
- car_name := "Tornado"
- car_preis := "12.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 575 || Fahrzeug = "Broadway")
- {
- car_id := 575
- car_name := "Broadway"
- car_preis := "8.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 567 || Fahrzeug = "Savanna")
- {
- car_id := 567
- car_name := "Savanna"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "134 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 536 || Fahrzeug = "Blade")
- {
- car_id := 536
- car_name := "Blade"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.1"
- car_geschwindigkeit := "134 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 535 || Fahrzeug = "Slamvan")
- {
- car_id := 535
- car_name := "Slamvan"
- car_preis := "18.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 534 || Fahrzeug = "Remington")
- {
- car_id := 534
- car_name := "Remington"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "131 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 518 || Fahrzeug = "Buccaneer")
- {
- car_id := 518
- car_name := "Buccaneer"
- car_preis := "14.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 419 || Fahrzeug = "Esperanto")
- {
- car_id := 419
- car_name := "Esperanto"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "115 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 412 || Fahrzeug = "Voodoo")
- {
- car_id := 412
- car_name := "Voodoo"
- car_preis := "10.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "14.1"
- car_geschwindigkeit := "131 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Loco Low Co."
- }
- else if(Fahrzeug == 545 || Fahrzeug = "Hustler")
- {
- car_id := 545
- car_name := "Hustler"
- car_preis := "12.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "114 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 496 || Fahrzeug = "Blista Compact" || Fahrzeug = "Blista")
- {
- car_id := 496
- car_name := "Blista Compact"
- car_preis := "4.000$"
- car_autohaus := "Intercars"
- car_kaution := "3.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "10.8"
- car_geschwindigkeit := "126 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 480 || Fahrzeug = "Comet")
- {
- car_id := 400
- car_name := "Comet"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "18.2"
- car_geschwindigkeit := "143 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 562 || Fahrzeug = "Elegy")
- {
- car_id := 562
- car_name := "Elegy"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "18.2"
- car_geschwindigkeit := "143 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 579 || Fahrzeug = "Huntley")
- {
- car_id := 579
- car_name := "Huntley"
- car_preis := "24.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "50 Liter"
- car_verbrauch := "16.2"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 500 || Fahrzeug = "Mesa")
- {
- car_id := 500
- car_name := "Mesa"
- car_preis := "28.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.5"
- car_geschwindigkeit := "109 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 418 || Fahrzeug = "Moonbeam")
- {
- car_id := 418
- car_name := "Moonbeam"
- car_preis := "20.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "50 Liter"
- car_verbrauch := "15.6"
- car_geschwindigkeit := "89 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 549 || Fahrzeug = "Tampa")
- {
- car_id := 549
- car_name := "Tampa"
- car_preis := "4.600$"
- car_autohaus := "Intercars"
- car_kaution := "3.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "119 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 422 || Fahrzeug = "Bobcat")
- {
- car_id := 422
- car_name := "Bobcat"
- car_preis := "18.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "45 Liter"
- car_verbrauch := "14.8"
- car_geschwindigkeit := "108 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 482 || Fahrzeug = "Burrito")
- {
- car_id := 482
- car_name := "Burrito"
- car_preis := "16.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.2"
- car_geschwindigkeit := "121 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 516 || Fahrzeug = "Nebula")
- {
- car_id := 516
- car_name := "Nebula"
- car_preis := "12.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 603 || Fahrzeug = "Phoenix")
- {
- car_id := 603
- car_name := "Phoenix"
- car_preis := "28.000$"
- car_autohaus := "Intercars"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "14.1"
- car_geschwindigkeit := "133 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 401 || Fahrzeug = "Bravura")
- {
- car_id := 401
- car_name := "Bravura"
- car_preis := "7.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "114 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 467 || Fahrzeug = "Oceanic")
- {
- car_id := 467
- car_name := "Oceanic"
- car_preis := "16.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "109 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 426 || Fahrzeug = "Premier")
- {
- car_id := 426
- car_name := "Premier"
- car_preis := "20.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.3"
- car_geschwindigkeit := "134 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 405 || Fahrzeug = "Sentinel")
- {
- car_id := 405
- car_name := "Sentinel"
- car_preis := "14.900$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 445 || Fahrzeug = "Admiral")
- {
- car_id := 445
- car_name := "Admiral"
- car_preis := "12.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 507 || Fahrzeug = "Elegant")
- {
- car_id := 507
- car_name := "Elegant"
- car_preis := "20.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "128 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 475 || Fahrzeug = "Sabre")
- {
- car_id := 475
- car_name := "Sabre"
- car_preis := "22.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "134 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 421 || Fahrzeug = "Washington")
- {
- car_id := 421
- car_name := "Washington"
- car_preis := "21.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.3"
- car_geschwindigkeit := "119 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 527 || Fahrzeug = "Cadrona")
- {
- car_id := 527
- car_name := "Cadrona"
- car_preis := "11.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "115 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 550 || Fahrzeug = "Sunrise")
- {
- car_id := 550
- car_name := "Sunrise"
- car_preis := "14.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "112 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 580 || Fahrzeug = "Stafford")
- {
- car_id := 580
- car_name := "Stafford"
- car_preis := "18.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.6"
- car_geschwindigkeit := "118 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 492 || Fahrzeug = "Greenwood")
- {
- car_id := 492
- car_name := "Greenwood"
- car_preis := "7.500$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.6"
- car_geschwindigkeit := "109 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 474 || Fahrzeug = "Hermes")
- {
- car_id := 474
- car_name := "Hermes"
- car_preis := "15.000$"
- car_autohaus := "Ottos"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.3"
- car_geschwindigkeit := "115 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 542 || Fahrzeug = "Clover")
- {
- car_id := 542
- car_name := "Clover"
- car_preis := "5.000$"
- car_autohaus := "Ottos"
- car_kaution := "3.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "10.1"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 531 || Fahrzeug = "Tractor" || Fahrzeug = "Traktor")
- {
- car_id := 531
- car_name := "Tractor"
- car_preis := "25.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "25 Liter"
- car_verbrauch := "7.5"
- car_geschwindigkeit := "54 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 578 || Fahrzeug = "DFT-30" || Fahrzeug = "DFT" || Fahrzeug = "DFT 30" || Fahrzeug = "DFT30")
- {
- car_id := 578
- car_name := "DFT-30"
- car_preis := "70.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "12.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.2"
- car_geschwindigkeit := "101 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 404 || Fahrzeug = "Perennial")
- {
- car_id := 404
- car_name := "Perennial"
- car_preis := "8.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "103 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 478 || Fahrzeug = "Walton")
- {
- car_id := 478
- car_name := "Walton"
- car_preis := "8.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "14.1"
- car_geschwindigkeit := "91 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 529 || Fahrzeug = "Willard")
- {
- car_id := 529
- car_name := "Willard"
- car_preis := "8.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.6"
- car_geschwindigkeit := "115 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 554 || Fahrzeug = "Yosemite")
- {
- car_id := 554
- car_name := "Yosemite"
- car_preis := "18.000$"
- car_autohaus := "Rastplatz"
- car_kaution := "4.0000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "111 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 446 || Fahrzeug = "Squallo" || Fahrzeug = "Squalo")
- {
- car_id := 446
- car_name := "Squalo"
- car_preis := "500.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "70 Liter"
- car_verbrauch := "19.2"
- car_geschwindigkeit := "180 km/h"
- car_level := "6"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 454 || Fahrzeug = "Tropic")
- {
- car_id := 454
- car_name := "Tropic"
- car_preis := "750.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "70 Liter"
- car_verbrauch := "22.3"
- car_geschwindigkeit := "99 km/h"
- car_level := "12"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 493 || Fahrzeug = "Jetmax")
- {
- car_id := 493
- car_name := "Jetmax"
- car_preis := "500.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "60 Liter"
- car_verbrauch := "19.1"
- car_geschwindigkeit := "130 km/h"
- car_level := "6"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 452 || Fahrzeug = "Speeder")
- {
- car_id := 452
- car_name := "Speeder"
- car_preis := "500.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "70 Liter"
- car_verbrauch := "19.5"
- car_geschwindigkeit := "130 km/h"
- car_level := "6"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 473 || Fahrzeug = "Dinghy")
- {
- car_id := 473
- car_name := "Dinghy"
- car_preis := "25.000$"
- car_autohaus := "Strand"
- car_kaution := "/"
- car_tank := "30 Liter"
- car_verbrauch := "9.8"
- car_geschwindigkeit := "83 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 458 || Fahrzeug = "Solair")
- {
- car_id := 458
- car_name := "Solair"
- car_preis := "16.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.1"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 561 || Fahrzeug = "Stratum")
- {
- car_id := 561
- car_name := "Stratum"
- car_preis := "16.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "119 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 424 || Fahrzeug = "BF Injection" || Fahrzeug = "bfinjection" || Fahrzeug = "injection")
- {
- car_id := 424
- car_name := "BF Injection"
- car_preis := "500.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "12.000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "105 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 400 || Fahrzeug = "Landstalker")
- {
- car_id := 400
- car_name := "Landstalker"
- car_preis := "18.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "16.7"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 589 || Fahrzeug = "Club")
- {
- car_id := 589
- car_name := "Club"
- car_preis := "22.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.3"
- car_geschwindigkeit := "126 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 565 || Fahrzeug = "Flash")
- {
- car_id := 565
- car_name := "Flash"
- car_preis := "22.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "10.8"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 558 || Fahrzeug = "Uranus")
- {
- car_id := 558
- car_name := "Uranus"
- car_preis := "90.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "5.000$"
- car_tank := "40 Liter"
- car_verbrauch := "18.2"
- car_geschwindigkeit := "121 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Wheel Arch Angels"
- }
- else if(Fahrzeug == 471 || Fahrzeug = "Quad")
- {
- car_id := 471
- car_name := "Quad"
- car_preis := "80.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "5.000$"
- car_tank := "20 Liter"
- car_verbrauch := "9.8"
- car_geschwindigkeit := "85 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Fahrzeuglackiererei"
- }
- else if(Fahrzeug == 409 || Fahrzeug = "Stretch" || Fahrzeug = "Limo" || Fahrzeug = "Limousine")
- {
- car_id := 409
- car_name := "Stretch"
- car_preis := "1.000.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "12.000$"
- car_tank := "50 Liter"
- car_verbrauch := "17.8"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 587 || Fahrzeug = "Euros")
- {
- car_id := 587
- car_name := "Euros"
- car_preis := "90.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "5.000$"
- car_tank := "40 Liter"
- car_verbrauch := "15.3"
- car_geschwindigkeit := "127 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 489 || Fahrzeug = "Rancher")
- {
- car_id := 489
- car_name := "Rancher"
- car_preis := "20.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "16.7"
- car_geschwindigkeit := "108 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 434 || Fahrzeug = "Hotknife")
- {
- car_id := 434
- car_name := "Hotknife"
- car_preis := "500.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "12.000$"
- car_tank := "40 Liter"
- car_verbrauch := "13.1"
- car_geschwindigkeit := "129 km/h"
- car_level := "1"
- car_tuningwerkstatt := "/"
- }
- else if(Fahrzeug == 439 || Fahrzeug = "Stallion")
- {
- car_id := 439
- car_name := "Stallion"
- car_preis := "26.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "12.5"
- car_geschwindigkeit := "130 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 555 || Fahrzeug = "Windsor")
- {
- car_id := 555
- car_name := "Windsor"
- car_preis := "24.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "15.1"
- car_geschwindigkeit := "122 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 533 || Fahrzeug = "Feltzer")
- {
- car_id := 533
- car_name := "Feltzer"
- car_preis := "26.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "4.000$"
- car_tank := "40 Liter"
- car_verbrauch := "11.8"
- car_geschwindigkeit := "129 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else if(Fahrzeug == 477 || Fahrzeug = "ZR-350" || Fahrzeug = "ZR" || Fahrzeug = "ZR 350" || Fahrzeug = "ZR350")
- {
- car_id := 477
- car_name := "ZR-350"
- car_preis := "120.000$"
- car_autohaus := "Wang Cars"
- car_kaution := "6.000$"
- car_tank := "40 Liter"
- car_verbrauch := "17.2"
- car_geschwindigkeit := "144 km/h"
- car_level := "1"
- car_tuningwerkstatt := "Transfender"
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Das Fahrzeug wurde nicht gefunden.")
- return
- }
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Informationen für das Fahrzeug {3ADF00}" car_name " {FFFFFF}[Model-ID: {3ADF00}" car_id "{FFFFFF}]:")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Authoaus: {3ADF00}" car_autohaus "{FFFFFF}, Preis: {3ADF00}" car_preis "{FFFFFF}, Kaution: {3ADF00}" car_kaution "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Geschwindigkeit: {3ADF00}" car_geschwindigkeit "{FFFFFF}, Verbrauch: {3ADF00}" car_verbrauch "{FFFFFF}, Tank: {3ADF00}" car_tank "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Tuningwerkstatt: {3ADF00}" car_tuningwerkstatt "{FFFFFF}, Mindestlevel: {3ADF00}" car_level "{FFFFFF}.")
- return
- ;~ ---------------------------------------------------------------------------------------------------------------
- :?:/toghm::
- Suspend Permit
- if(hmOn == 0)
- {
- SetTimer, UpdateHitmenList, 20000
- hmTD := TextCreate("Arial", 8, false, false, 690, 290, 0xFF00E1FF, "Hitmen online:", false, true)
- url = http://www.rpg-ausbildung.de/CaliBinderKeybinder/keybinder/Hitmen/getalldata.php
- hm := UrlDownloadToVar(url)
- hitmen := "Hitmen online:`n"
- hmcounter := 0
- ;~ UpdateServerData()
- Loop, Parse, hm, '
- {
- id := GetPlayerIdByName(A_LoopField)
- if(id != -1 && id != 65535)
- {
- hitmen .= "`n" A_LoopField "`t [ID: " id "]"
- }
- }
- TextSetString(hmTD, hitmen)
- TextSetShown(hmTD, true)
- hmOn := 1
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Hitmenanzeige {00FF00}eingeschaltet{FFFFFF}.")
- }
- else if(hmOn == 1)
- {
- TextDestroy(hmTD)
- hmOn := 0
- SetTimer, UpdateHitmenList, off
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Hitmenanzeige {FF0000}ausgeschaltet{FFFFFF}.")
- }
- return
- UpdateHitmenList:
- hitmen := "Hitmen online:`n"
- hmcounter := 0
- Loop, Parse, hm, '
- {
- id := GetPlayerIdByName(A_LoopField)
- if(id != -1 && id != 65535)
- {
- hitmen .= "`n" A_LoopField "`t [ID: " id "]"
- }
- }
- TextSetString(hmTD, hitmen)
- return
- ;------------------------------------------------------------------------------------------------------------------
- :?:/overlay::
- Suspend Permit
- if(Overlay!=1)
- {
- Name_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, overlay_posy, 0xFFFFFFFF, "", true, false)
- StandortText_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+10), 0xFFFFFFFF, "", true, false)
- Standort_Ov := TextCreate("Arial", overlay_size, true, true, (overlay_posx+31), (overlay_posy+10), 0xFFFFFFFF, "", true, false)
- Partner_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+30), 0xFFFFFFFF, "", true, false)
- Kennung_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+40), 0xFFFFFFFF, "", true, false)
- Steuern_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+50), 0xFFFFFFFF, "", true, false)
- Stats_Ov := TextCreate("Arial", overlay_size, true, true, overlay_posx, (overlay_posy+70), 0xFFFFFFFF, "", true, false)´
- HP_Ov := TextCreate("Comic Sans MS", HP_size, false, false, HP_posx, HP_posy, 0xFFFFFFFF, "", true, false)
- AP_Ov := TextCreate("Comic Sans MS", AP_size, false, false, AP_posx, AP_posy, 0xFFFFFFFF, "", true, false)
- Settimer, Ov_Update, 1500
- TextSetShown(Name_Ov, 1)
- TextSetShown(Standort_Ov, 1)
- TextSetShown(StandortText_Ov, 1)
- TextSetShown(Partner_Ov, 1)
- TextSetShown(Steuern_Ov, 1)
- TextSetShown(Kennung_Ov, 1)
- TextSetShown(Stats_Ov, 1)
- if(HPAnzeige)
- {
- TextSetShown(HP_Ov, 1)
- }
- if(APAnzeige)
- {
- TextSetShown(AP_Ov, 1)
- }
- Overlay := 1
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Status-Overlay {00FF00}eingeschaltet{FFFFFF}.")
- Sleep, 1500
- TextSetString(StandortText_Ov, "|Standort: ")
- 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,0x00BFFF00)
- BoxSetBorder(Box2,2,1)
- BoxSetBorderColor(Box2,0xFFFFFFFF)
- }
- else
- {
- TextDestroy(Partner_Ov)
- TextDestroy(Steuern_Ov)
- TextDestroy(Kennung_Ov)
- TextDestroy(Stats_Ov)
- TextDestroy(HP_Ov)
- TextDestroy(AP_Ov)
- TextDestroy(Name_Ov)
- TextDestroy(Standort_Ov)
- TextDestroy(StandortText_Ov)
- Overlay := !Overlay
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Status-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_AP == 0)
- {
- Menu_Overlay = 1
- Menu_HP = 0
- Menu_AP = 0
- AddChatMessage(0xDF0101, "[Calibinder] {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_AP := 0
- AddChatMessage(0xDF0101, "[Calibinder] {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(0xDF0101, "[Calibinder] {FFFFFF}Starte zunächst bitte das Overlay.")
- }
- return
- Ov_Update:
- if(WinExist("GTA:SA:MP") && WinActive("GTA:SA:MP"))
- {
- IniRead, Punkte, Statistik.ini, Vergaben, Punkte
- IniRead, Tickets, Statistik.ini, Vergaben, Tickets
- IniRead, TicketGeld, Statistik.ini, Vergaben, TicketGeld
- IniRead, Tazer, Statistik.ini, Tazer, Tazer
- IniRead, OffArrest, Statistik.ini, Arrests, OffArrest
- IniRead, Arrest, Statistik.ini, Arrests, Arrest
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Kills, Statistik.ini, Kills, Kills
- IniRead, DeathArrest, Statistik.ini, Arrests, DeathArrest
- IniRead, Money, Statistik.ini, Arrests, Money
- IniRead, Steuersatz, settings.ini, Steuern, Steuersatz
- Steuersatz := Round((Steuersatz*100), 0)
- Steuersatz := 100-Steuersatz
- GetZoneName(Zone)
- GetCityName(City)
- MyID := GetPlayerID()
- if(MyID == "65535" || MyID == "-1")
- {
- MyID := GetPlayerID()
- if(MyID == "65535" || MyID == "-1")
- {
- MyID := "-"
- }
- }
- FPS := GetFramerate()
- AP := GetPlayerArmor()
- GetPlayerPosition(x, y, z, r)
- If(IsPlayerInAnyInterior())
- {
- If(x > 318.199036 && x < 388.445953 && y > 148.873856 && y < 217.235733)
- {
- TextSetString(Standort_Ov, "Stadthalle")
- TextSetColor(Standort_Ov, 0xFF800000)
- }
- else
- {
- TextSetString(Standort_Ov, "Interior")
- TextSetColor(Standort_Ov, 0x00BFFFFF)
- }
- }
- else
- {
- TextSetString(Standort_Ov, "" . zone . ", " . city . "")
- If(IsPlayerInNoDM(x, y, z))
- {
- TextSetColor(Standort_Ov, 0xFF800000)
- }
- else
- {
- TextSetColor(Standort_Ov, 0xFFFFFFFF)
- }
- }
- if(PoliceID != "X")
- {
- TextSetString(Kennung_Ov, "|Kennung: {FF0000}" . PoliceID . "")
- }
- else
- {
- TextSetString(Kennung_Ov, "|Keine Streife gestartet")
- }
- if(Partner1 == "-1" && Partner2 == "-1" && Partner3 == "-1")
- {
- TextSetString(Partner_Ov, "|Kein Partner eingetragen")
- }
- else
- {
- if(Partner1 > -1 && Partner2 > -1 && Partner3 > -1)
- {
- TextSetString(Partner_Ov, "|Partner 1: {FF0000}" . Partnername1 . "{FFFFFF}, Partner 2: {FF0000}" . Partnername2 . "{FFFFFF}, Partner 3: {FF0000}" . Partnername3 . "{FFFFFF}")
- }
- else if(Partner1 > -1 && Partner2 > -1 && Partner3 == -1)
- {
- TextSetString(Partner_Ov, "|Partner 1: {FF0000}" . Partnername1 . "{FFFFFF}, Partner 2: {FF0000}" . Partnername2 . "{FFFFFF}")
- }
- else if(Partner1 > -1 && Partner2 == -1 && Partner3 > -1)
- {
- TextSetString(Partner_Ov, "|Partner 1: {FF0000}" . Partnername1 . "{FFFFFF}, Partner 3: {FF0000}" . Partnername3 . "{FFFFFF}")
- }
- else if(Partner1 > -1 && Partner2 == -1 && Partner3 == -1)
- {
- TextSetString(Partner_Ov, "|Partner 1: {FF0000}" . Partnername1 . "{FFFFFF}")
- }
- else if(Partner1 == -1 && Partner2 > -1 && Partner3 > -1)
- {
- TextSetString(Partner_Ov, "|Partner 2: {FF0000}" . Partnername2 . "{FFFFFF}, Partner 3: {FF0000}" . Partnername3 . "{FFFFFF}")
- }
- else if(Partner1 == -1 && Partner2 > -1 && Partner3 == -1)
- {
- TextSetString(Partner_Ov, "|Partner 2: {2ECCFA}" . Partnername2 . "{FFFFFF}")
- }
- else if(Partner1 == -1 && Partner2 == -1 && Partner3 > -1)
- {
- TextSetString(Partner_Ov, "|Partner 3: {2ECCFA}" . Partnername3 . "{FFFFFF}")
- }
- }
- TextSetString(Steuern_Ov, "|Aktueller Steuersatz: {FF0000}" . Steuersatz . "{FFFFFF}%")
- TextSetString(Name_Ov, "|Name: {0000FF}" . name . "{FFFFFF} [ ID: {0000FF}" . MyID . "{FFFFFF} ] [ FPS: {0000FF}" . fps . "{FFFFFF} ]")
- TextSetString(Stats_Ov, "|Vergebene Wanteds: {FF0000}" . Wanted . "{FFFFFF} `n|Ausgestellte Punkte: {FF0000}" . Punkte . "{FFFFFF} `n|Ausgestellte Tickets: {FF0000}"Tickets "{FFFFFF} (Verdientes Geld: {FF0000}" TicketGeld "{FFFFFF}$) `n`n|Eingesperre Verbrecher: {FF0000}" . Arrest . "{FFFFFF} `n|Verdientes Geld: {FF0000}" . Money . "{FFFFFF}$ `n`n|Offline-Arrests: {FF0000}" . OffArrest . "{FFFFFF} `n|Death-Arrests: {FF0000}" . Deatharrest . "{FFFFFF} `n|Umgebrachte Verbrecher: {FF0000}" . Kills . "{FFFFFF} `n|Getazerte Verbrecher: {FF0000}" . Tazer . "{FFFFFF}")
- if(HPAnzeige)
- {
- TextSetShown(HP_Ov, 1)
- TextSetString(HP_Ov, "" . HP . "")
- }
- else
- {
- if(Menu_HP)
- {
- TextSetShown(HP_Ov, 1)
- TextSetString(HP_Ov, "" . HP . "")
- }
- else
- {
- TextSetShown(HP_Ov, 0)
- }
- }
- if(AP != 0)
- {
- if(APAnzeige)
- {
- TextSetString(AP_Ov, "" . AP . "")
- TextSetShown(AP_Ov, 1)
- }
- else
- {
- TextSetShown(AP_Ov, 0)
- }
- }
- else
- {
- if(Menu_AP != 1)
- {
- TextSetShown(AP_Ov, 0)
- }
- else
- {
- TextSetString(AP_Ov, "" . AP . "")
- TextSetShown(AP_Ov, 1)
- }
- }
- if(Menu_Overlay || Menu_HP || Menu_AP)
- {
- bt1 := "Overlay by MrPacific"
- 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_AP)
- {
- bt2 := "Overlay: {8C8C8C} AP"
- bt3 := "Size: {8C8C8C}" AP_size
- bt4 := "X: {8C8C8C}" AP_posx
- bt5 := "Y: {8C8C8C}" AP_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_AP)
- {
- 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_AP)
- {
- switcher--
- }
- return
- ~Down::
- if (IsChatOpen() == 1 || IsDialogOpen == 1)
- return
- if(Menu_Overlay || Menu_HP || Menu_AP)
- {
- switcher++
- }
- return
- ~left::
- if (IsChatOpen() == 1 || IsDialogOpen == 1)
- return
- if Menu_Overlay
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 0
- Menu_AP := 1
- Menu_HP := 0
- }
- ;~ if(Switcher == 3)
- ;~ {
- ;~ overlay_size--
- ;~ TextUpdate(Name_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(StandortText_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Standort_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Partner_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Kennung_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Steuern_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Stats_Ov, "Arial", overlay_size, 1, 0)
- ;~ }
- if(Switcher == 4)
- {
- overlay_posx--
- TextSetPos(Name_Ov, Overlay_posx, Overlay_posy)
- TextSetPos(StandortText_Ov, overlay_posx, (overlay_posy+10))
- TextSetPos(Standort_Ov, (overlay_posx+31), (overlay_posy+10))
- TextSetPos(Partner_Ov, overlay_posx, (overlay_posy+30))
- TextSetPos(Kennung_Ov, overlay_posx, (overlay_posy+40))
- TextSetPos(Steuern_Ov, overlay_posx, (overlay_posy+50))
- TextSetPos(Stats_Ov, overlay_posx, (overlay_posy+70))
- }
- if(Switcher == 5)
- {
- overlay_posy--
- TextSetPos(Name_Ov, Overlay_posx, Overlay_posy)
- TextSetPos(StandortText_Ov, overlay_posx, (overlay_posy+10))
- TextSetPos(Standort_Ov, (overlay_posx+31), (overlay_posy+10))
- TextSetPos(Partner_Ov, overlay_posx, (overlay_posy+30))
- TextSetPos(Kennung_Ov, overlay_posx, (overlay_posy+40))
- TextSetPos(Steuern_Ov, overlay_posx, (overlay_posy+50))
- TextSetPos(Stats_Ov, overlay_posx, (overlay_posy+70))
- }
- }
- else if(Menu_HP)
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 1
- Menu_AP := 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_AP)
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 0
- Menu_AP := 0
- Menu_HP := 1
- }
- if(Switcher == 3)
- {
- AP_size--
- TextUpdate(AP_Ov, "Comic Sans MS", AP_size, 1, 0)
- }
- if(Switcher == 4)
- {
- AP_posx--
- TextSetPos(AP_Ov, AP_posx, AP_posy)
- }
- if(Switcher == 5)
- {
- AP_posy--
- TextSetPos(AP_Ov, AP_posx, AP_posy)
- }
- }
- return
- ~right::
- if (IsChatOpen() == 1 || IsDialogOpen == 1)
- return
- if Menu_Overlay
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 0
- Menu_AP := 0
- Menu_HP := 1
- }
- ;~ if(Switcher == 3)
- ;~ {
- ;~ overlay_size++
- ;~ TextUpdate(Name_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(StandortText_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Standort_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Partner_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Kennung_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Steuern_Ov, "Arial", overlay_size, 1, 0)
- ;~ TextUpdate(Stats_Ov, "Arial", overlay_size, 1, 0)
- ;~ }
- if(Switcher == 4)
- {
- overlay_posx++
- TextSetPos(Name_Ov, Overlay_posx, Overlay_posy)
- TextSetPos(StandortText_Ov, overlay_posx, (overlay_posy+10))
- TextSetPos(Standort_Ov, (overlay_posx+31), (overlay_posy+10))
- TextSetPos(Partner_Ov, overlay_posx, (overlay_posy+30))
- TextSetPos(Kennung_Ov, overlay_posx, (overlay_posy+40))
- TextSetPos(Steuern_Ov, overlay_posx, (overlay_posy+50))
- TextSetPos(Stats_Ov, overlay_posx, (overlay_posy+70))
- }
- if(Switcher == 5)
- {
- overlay_posy++
- TextSetPos(Name_Ov, Overlay_posx, Overlay_posy)
- TextSetPos(StandortText_Ov, overlay_posx, (overlay_posy+10))
- TextSetPos(Standort_Ov, (overlay_posx+31), (overlay_posy+10))
- TextSetPos(Partner_Ov, overlay_posx, (overlay_posy+30))
- TextSetPos(Kennung_Ov, overlay_posx, (overlay_posy+40))
- TextSetPos(Steuern_Ov, overlay_posx, (overlay_posy+50))
- TextSetPos(Stats_Ov, overlay_posx, (overlay_posy+70))
- }
- }
- else if(Menu_HP)
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 0
- Menu_AP := 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_AP)
- {
- if(Switcher == 2)
- {
- Menu_Overlay := 1
- Menu_AP := 0
- Menu_HP := 0
- }
- if(Switcher == 3)
- {
- AP_size++
- TextUpdate(AP_Ov, "Comic Sans MS", AP_size, 1, 0)
- }
- if(Switcher == 4)
- {
- AP_posx++
- TextSetPos(AP_Ov, AP_posx, AP_posy)
- }
- if(Switcher == 5)
- {
- AP_posy++
- TextSetPos(AP_Ov, AP_posx, AP_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
- }
- ;~ -----------------------------------------------------------------------------------------------------------------
- :?:/togtickets::
- Suspend Permit
- if(admin = 1)
- {
- if (TicketOverlay == "0")
- {
- Boxid := BoxCreate(690, 530, 90, 45, 0xDD111314, false)
- BoxSetBorder(Boxid, 3, true)
- BoxSetBorderColor(Boxid, 0x00BFFF00)
- BoxSetShown(Boxid, true)
- titeltext := TextCreate("Arial", 8, false, false, 692, 532, 0xFF00E1FF, "Ticket Statistik", false, false)
- TextSetShown(titeltext, true)
- tickettext := TextCreate("Arial", 6, false, false, 692, 545, 0xFFFFFFFF, " Lade Statistik...", false, false)
- TextSetShown(tickettext, true)
- TicketOverlay = 1
- SetTimer, TicketUpdate, 4000
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Ticket-Overlay {00FF00}eingeschaltet{FFFFFF}.")
- }
- else if (TicketOverlay == "1")
- {
- TextDestroy(tickettext)
- TextDestroy(titeltext)
- BoxDestroy(Boxid)
- TicketOverlay = 0
- SetTimer, TicketUpdate, off
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Ticket-Overlay {FF0000}ausgeschaltet{FFFFFF}.")
- }
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- 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 670
- 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(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- 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
- ;~ SendInput, t/a Ticket %TicketID% für dich{space}
- SendChat("/a Ticket " TicketID " für dich " TeamMitglied "")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- 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(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- 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(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- SendChat("/dt")
- }
- return
- :?:/tafk::
- Suspend Permit
- if(admin = 1)
- {
- FormatTime, Uhrzeit,, HH
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/aw " . TicketID . " Ich werde Ihr Ticket nun schließen, da Sie scheinbar nicht anwesend sind.")
- Sleep, 1200
- SendChat("/aw " . TicketID . " Bei weiteren Fragen melden Sie sich gerne wieder im Ticketsystem")
- if (Uhrzeit >= 20 || Uhrzeit == 0)
- {
- SendChat("/aw " . TicketID . " Schönen Abend noch.")
- }
- else
- {
- SendChat("/aw " . TicketID . " Schönen Tag noch.")
- }
- SendChat("/dt " . TicketID . "")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/fragen::
- Suspend Permit
- if(admin = 1)
- {
- TicketID := PlayerInput("Ticket-ID: ")
- SendChat("/aw " . TicketID . " Haben Sie weitere Fragen, Probleme oder Anliegen?")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- 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(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/rc::
- Suspend Permit
- if(admin = 1)
- {
- FahrzeugID := PlayerInput("Fahrzeug-ID: ")
- SendChat("/respawncar " . FahrzeugID . "")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/adabuse::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /mute 120 Ausnutzung des Werbesystems{left 32}
- ;~ Input, caID, V I M, {Enter}
- ;~ Send {Enter}
- ;~ SendChat("/kick " . caID . " Ausnutzung des Werbesystems")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/aabuse::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /supban 120 Ausnutzung des Adminchats{left 30}
- ;~ Input, caID, V I M, {Enter}
- ;~ Send {Enter}
- ;~ SendChat("/kick " . caID . " Ausnutzung des Adminchats")
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/sdm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Sinnloses Deathmatch{left 25}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/bansdm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /ban Sinnloses Deathmatch mit Level 1{left 33}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/jobstörung::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Jobstörung{left 15}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/jobdm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Job Deathmatch{left 19}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/intflucht::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Interrior-Flucht{left 21}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/escflucht::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 ESC-Flucht{left 25}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}}Du bist kein Teammitglied.")
- }
- return
- :?:/offflucht::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Offline-Flucht{left 19}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/cardm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput, /prison 120 Carsurf DM{left 15}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/spam::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /mute 120 Spam{left 9}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/esccp::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /kick ESC im Checkpoint{left 18}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/afkp::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /kick AFK im Paintball{left 17}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/anfahren::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /prison 120 Absichtliches Anfahren{left 27}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/nodm::
- Suspend Permit
- if(admin = 1)
- {
- SendInput /prison 120 Deathmatch in einer No DM Zone{left 35}
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- return
- :?:/tv::
- Suspend Permit
- SendInput, /tv{space}
- Input, TVID, V I M,{enter}
- SendChat("/id " TVID "")
- return
- :?:/hacker::
- Suspend Permit
- if(admin = 1)
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Diese Funktion ist derzeit deaktiviert.")
- ;~ AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Eine Liste von Level 1er, um den Hacker zu finden")
- ;~ Sleep, 500
- ;~ AddChatMessage(0xFFFFFF, "------------------------------------------------------------------------")
- ;~ hackerID = 0
- ;~ Loop,
- ;~ {
- ;~ score := GetPlayerScoreByID(hackerID)
- ;~ if(score == "1")
- ;~ {
- ;~ GetPlayerNameByID(hackerID, playername)
- ;~ Ping := GetPlayerPingByID(hackerID)
- ;~ AddChatMessage(0xFFFFFF, "ID: " hackerID ", Name: " playername ", Ping: " Ping ", Level: " score "")
- ;~ Sleep, 500
- ;~ }
- ;~ if(hackerID == "375")
- ;~ {
- ;~ AddChatMessage(0xFFFFFF, "------------------------------------------------------------------------")
- ;~ break
- ;~ }
- ;~ hackerID++
- ;~ }
- }
- else
- {
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- 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(0xDF0101, "[Calibinder] {FFFFFF}Du bist kein Teammitglied.")
- }
- 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
- }
- :?:/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(0xDF0101, "[Calibinder] {FFFFFF}Der Marker befindet sich in {FF0000}" . Zone . "{FFFFFF}, {FF0000}" . City . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF}Entfernung: {FF0000}" . Entfernung . "{FFFFFF} Meter.")
- return
- GetPlayerSpeed()
- {
- 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
- }
- ~k::
- if(IsChatOpen() == 1 || IsDialogOpen() == 1)
- {
- return
- }
- caID := PlayerInput("Kontrolle: ")
- SendChat("/alktest " caID)
- SendChat("/waffen " caID)
- sleep, 1500
- SendChat("/frisk " caID)
- GetChatLine(0, Chat1)
- if(InStr(Chat1, "Du hast ") && InStr(Chat1, "g Drogen gefunden."))
- {
- SendChat("/take drogen " caID "")
- }
- return
- Paintballtod:
- IfWinNotActive, GTA:SA:MP
- return
- GetPlayerName(Spieler)
- GetChatLine(0, Chat1)
- If(inStr(Chat1, "" Spieler " wurde von"))
- {
- IniRead, Paintballtod, Statistik.ini, Paintball, Paintballtod
- Paintballtod++
- IniWrite, %Paintballtod%, Statistik.ini, Paintball, Paintballtod
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik]{FFFFFF} Dies war dein {FF0000}" Paintballtod "{FFFFFF}. Paintballtod.")
- }
- return
- Paintballkill:
- IfWinNotActive, GTA:SA:MP
- return
- GetPlayerName(Spieler)
- GetChatLine(0, Chat1)
- If(inStr(Chat1, "wurde von " Spieler " getötet."))
- {
- IniRead, Paintballkill, Statistik.ini, Paintball, Paintballkill
- Paintballkill++
- IniWrite, %Paintballkill%, Statistik.ini, Paintball, Paintballkill
- AddChatMessage(0x00BFFF, "|CALIBINDER|{ACFA58} [Statistik]{FFFFFF} Dies war dein {FF0000}" Paintballkill "{FFFFFF}. Paintballkill.")
- }
- return
- ;;;;;;;;;;;;;
- DownloadToString(url, head, encoding = "utf-8") ; http://www.autohotkey.com/board/topic/89198-simple-download-bin-tostring-und-tofile/
- {
- static a := "AutoHotkey/" A_AhkVersion
- if (!DllCall("LoadLibrary", "str", "wininet") || !(h := DllCall("wininet\InternetOpen", "str", a, "uint", 1, "ptr", 0, "ptr", 0, "uint", 0, "ptr")))
- return 0
- c := s := 0, o := ""
- if (f := DllCall("wininet\InternetOpenUrl", "ptr", h, "str", url, "str", head, "int", -1, "uint", 0x80083000, "ptr", 0, "ptr"))
- {
- while (DllCall("wininet\InternetQueryDataAvailable", "ptr", f, "uint*", s, "uint", 0, "ptr", 0) && s > 0)
- {
- VarSetCapacity(b, s, 0)
- DllCall("wininet\InternetReadFile", "ptr", f, "ptr", &b, "uint", s, "uint*", r)
- o .= StrGet(&b, r >> (encoding = "utf-16" || encoding = "cp1200"), encoding)
- }
- DllCall("wininet\InternetCloseHandle", "ptr", f)
- }
- DllCall("wininet\InternetCloseHandle", "ptr", h)
- return o
- }
- :?:/forum::
- Suspend Permit
- If(Liveticker != 1)
- {
- Liveticker := 1
- Settimer, liveticker, 1000
- AddChatMessage(0xFFFFFF, "Du hast die Forummessages {01DF01}Aktiviert.")
- return
- }
- else
- {
- Settimer, liveticker, off
- Liveticker := -1
- AddChatMessage(0xFFFFFF, "Du hast die Forummessages {FF0000}deaktiviert.")
- }
- liveticker:
- IfWinNotActive GTA:SA:MP
- return
- FormatTime, Zeit, , HH:mm
- test := ""
- test := DownloadToString("http://rpg-city.de/index.php/BoardFeed/", "Cookie: wcf_wcf_oabf=; wcf_userID=14; wcf_password=%242a%2408%24hmKxmyzQ79.Vv7Uf8fv7pOvqwuOjNN5vYLFy5R%2Fm5OZA1UUc5Am8a; wcf_cookieHash=d236a0b4e9fab8195a644a9117809e2ecdd3de64; wcf_oabf=")
- count := 0
- Loop, parse, test, `n, `r
- {
- if(InStr(A_LoopField, "<title><![CDATA[") && !InStr(A_LoopField, "RPG City"))
- {
- RegExMatch(A_LoopField, "<title><!\[CDATA\[(.*)\]\]></title>", v_title)
- }
- if(InStr(A_LoopField, "<dc:creator><![CDATA"))
- {
- RegExMatch(A_LoopField, "<dc:creator><!\[CDATA\[(.*)\]\]></dc:creator>", v_creator)
- count++
- StringReplace, v_creator1, v_creator1, ä, ae
- StringReplace, v_title1, v_title1, ä, ae
- StringReplace, v_creator1, v_creator1, ü, ue
- StringReplace, v_title1, v_title1, ü, ue
- StringReplace, v_creator1, v_creator1, ö, oe
- StringReplace, v_title1, v_title1, ö, oe
- }
- if(count == 1)
- {
- if(v_creator1 == oldcreator && v_title1 == oldtitle)
- return
- oldcreator := v_creator1
- oldtitle := v_title1
- AddChatMessage(0xDF0101, "[FORUM-NEWS] Neuer Forumbeitrag von {FFFFFF}" v_creator1 "{DF0101} im Thread {FFFFFF}" v_title1 "{DF0101} (" Zeit ") ")
- break
- }
- }
- return
- ;::::::::::::::::::::::::
- ;;;;;;;;;;;;;;;;;;;;;Wanted Vergaben::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- !Numpad1::
- id := PlayerInput("Angriff/Beschuss: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten [" Zeit "]")
- SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Angriff, Statistik.ini, Vergaben, Angriff
- Wanted+=2
- Angriff+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Angriff%, Statistik.ini, Vergaben, Angriff
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Angriff / Beschuss Wanteds: {FFBF00}" . Angriff . "{FFFFFF}.")
- }
- }
- return
- !Numpad2::
- FormatTime, Zeit, , HH:mm
- id:=PlayerInput("Flucht: ")
- SendChat("/su " id " Flucht / Fluchtversuch [" Zeit "]")
- SendChat("/su " id " Flucht / Fluchtversuch [" Zeit "]")
- SendChat("/su " id " Verweigerung von Anweisungen [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Flucht, Statistik.ini, Vergaben, Flucht
- IniRead, Verweigerung, Statistik.ini, Vergaben, Verweigerung
- Wanted+=2
- Flucht+=2
- Verweigerung+=1
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Flucht%, Statistik.ini, Vergaben, Flucht
- IniWrite, %Verweigerung%, Statistik.ini, Vergaben, Verweigerung
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Flucht Wanteds: {FFBF00}" . Flucht . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Verweigerungs Wanteds: {FFBF00}" . Verweigerung . "{FFFFFF}.")
- }
- fluchtID := id
- SetTimer, flucht, 300000
- if(id != "")
- {
- SetTimer, Find , Off
- AID := id
- SendChat("/find " AID)
- SetTimer, Find , 6000
- }
- }
- return
- !Numpad3::
- id := PlayerInput("Verweigerung: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Verweigerung von Anweisungen [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Verweigerung, Statistik.ini, Vergaben, Verweigerung
- Wanted++
- Verweigerung++
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Verweigerung%, Statistik.ini, Vergaben, Verweigerung
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Verweigerungs Wanteds: {FFBF00}" . Verweigerung . "{FFFFFF}.")
- }
- }
- return
- !Numpad4::
- id := PlayerInput("BdJ: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Behinderung der Justiz: ")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, BDJ, Statistik.ini, Vergaben, BDJ
- Wanted++
- BDJ++
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %BDJ%, Statistik.ini, Vergaben, BDJ
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Behinderung der Justiz Wanteds: {FFBF00}" . BDJ . "{FFFFFF}.")
- }
- }
- return
- !Numpad5::
- id := PlayerInput("Materialien: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Besitz von illegalen Materialien [" Zeit "]")
- SendChat("/su " id " Besitz von illegalen Materialien [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Mats, Statistik.ini, Vergaben, Mats
- Wanted+=2
- Mats+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Mats%, Statistik.ini, Vergaben, Mats
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Material Wanteds: {FFBF00}" . Mats . "{FFFFFF}.")
- }
- }
- return
- !Numpad6::
- id := PlayerInput("Drogen: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Verstoß gegen das Betäubungsmittel Gesetz [" Zeit "]")
- SendChat("/su " id " Verstoß gegen das Betäubungsmittel Gesetz [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Drogen, Statistik.ini, Vergaben, Drogen
- Wanted+=2
- Drogen+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Drogen%, Statistik.ini, Vergaben, Drogen
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Drogen Wanteds: {FFBF00}" . Drogen . "{FFFFFF}.")
- }
- }
- return
- !Numpad7::
- FormatTime, Zeit, , HH:mm
- id := PlayerInput("Beihilfe: ")
- SendChat("/su " id " Beihilfe zur Flucht [" Zeit "]")
- SendChat("/su " id " Beihilfe zur Flucht [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, FluchtBeihilfe, Statistik.ini, Vergaben, FluchtBeihilfe
- Wanted+=2
- FluchtBeihilfe+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %FluchtBeihilfe%, Statistik.ini, Vergaben, FluchtBeihilfe
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fluchtbeihilfe Wanteds: {FFBF00}" . FluchtBeihilfe . "{FFFFFF}.")
- }
- }
- return
- !Numpad8::
- id := PlayerInput("Drogen-/Waffenhandel: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Illegaler Handel von Drogen / Waffen [" Zeit "]")
- SendChat("/su " id " Illegaler Handel von Drogen / Waffen [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Handel, Statistik.ini, Vergaben, Handel
- Wanted+=2
- Handel+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Handel%, Statistik.ini, Vergaben, Handel
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Waffen/Drogen Handel Wanteds: {FFBF00}" . Handel . "{FFFFFF}.")
- }
- }
- return
- !Numpad9::
- id := PlayerInput("Einbruch: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Unautorisiertes Betreten eines Geländes/Fahrzeuges [" Zeit "]")
- SendChat("/su " id " Unautorisiertes Betreten eines Geländes/Fahrzeuges [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Einbruch, Statistik.ini, Vergaben, Einbruch
- Wanted+=2
- Einbruch+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Einbruch%, Statistik.ini, Vergaben, Einbruch
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Einbruchs Wanteds: {FFBF00}" . Einbruch . "{FFFFFF}.")
- }
- }
- return
- !1::
- id := PlayerInput("Angriff/Beschuss: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten [" Zeit "]")
- SendChat("/su " id " Angriff / Beschuss auf Beamte / Zivilisten [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Angriff, Statistik.ini, Vergaben, Angriff
- Wanted+=2
- Angriff+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Angriff%, Statistik.ini, Vergaben, Angriff
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Angriff / Beschuss Wanteds: {FFBF00}" . Angriff . "{FFFFFF}.")
- }
- }
- return
- !2::
- FormatTime, Zeit, , HH:mm
- id:=PlayerInput("Flucht: ")
- SendChat("/su " id " Flucht / Fluchtversuch [" Zeit "]")
- SendChat("/su " id " Flucht / Fluchtversuch [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Flucht, Statistik.ini, Vergaben, Flucht
- Wanted+=2
- Flucht+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Flucht%, Statistik.ini, Vergaben, Flucht
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Flucht Wanteds: {FFBF00}" . Flucht . "{FFFFFF}.")
- }
- fluchtID := id
- SetTimer, flucht, 300000
- ;~ if(id != "")
- ;~ {
- ;~ SetTimer, Find , Off
- ;~ AID := id
- ;~ SendChat("/find " AID)
- ;~ SetTimer, Find , 6000
- ;~ }
- }
- return
- !3::
- id := PlayerInput("Verweigerung: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Verweigerung von Anweisungen [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Verweigerung, Statistik.ini, Vergaben, Verweigerung
- Wanted++
- Verweigerung++
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Verweigerung%, Statistik.ini, Vergaben, Verweigerung
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Verweigerungs Wanteds: {FFBF00}" . Verweigerung . "{FFFFFF}.")
- }
- }
- return
- !4::
- id := PlayerInput("BdJ: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Behinderung der Justiz: ")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, BDJ, Statistik.ini, Vergaben, BDJ
- Wanted++
- BDJ++
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %BDJ%, Statistik.ini, Vergaben, BDJ
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Behinderung der Justiz Wanteds: {FFBF00}" . BDJ . "{FFFFFF}.")
- }
- }
- return
- !5::
- id := PlayerInput("Materialien: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Besitz von illegalen Materialien [" Zeit "]")
- SendChat("/su " id " Besitz von illegalen Materialien [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Mats, Statistik.ini, Vergaben, Mats
- Wanted+=2
- Mats+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Mats%, Statistik.ini, Vergaben, Mats
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Material Wanteds: {FFBF00}" . Mats . "{FFFFFF}.")
- }
- }
- return
- !6::
- id := PlayerInput("Drogen: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Verstoß gegen das Betäubungsmittel Gesetz [" Zeit "]")
- SendChat("/su " id " Verstoß gegen das Betäubungsmittel Gesetz [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Drogen, Statistik.ini, Vergaben, Drogen
- Wanted+=2
- Drogen+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Drogen%, Statistik.ini, Vergaben, Drogen
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Drogen Wanteds: {FFBF00}" . Drogen . "{FFFFFF}.")
- }
- }
- return
- !7::
- FormatTime, Zeit, , HH:mm
- id := PlayerInput("Beihilfe: ")
- SendChat("/su " id " Beihilfe zur Flucht [" Zeit "]")
- SendChat("/su " id " Beihilfe zur Flucht [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, FluchtBeihilfe, Statistik.ini, Vergaben, FluchtBeihilfe
- Wanted+=2
- FluchtBeihilfe+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %FluchtBeihilfe%, Statistik.ini, Vergaben, FluchtBeihilfe
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fluchtbeihilfe Wanteds: {FFBF00}" . FluchtBeihilfe . "{FFFFFF}.")
- }
- }
- return
- !8::
- id := PlayerInput("Drogen-/Waffenhandel: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Illegaler Handel von Drogen / Waffen [" Zeit "]")
- SendChat("/su " id " Illegaler Handel von Drogen / Waffen [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Handel, Statistik.ini, Vergaben, Handel
- Wanted+=2
- Handel+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Handel%, Statistik.ini, Vergaben, Handel
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Waffen/Drogen Handel Wanteds: {FFBF00}" . Handel . "{FFFFFF}.")
- }
- }
- return
- !9::
- id := PlayerInput("Einbruch: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Unautorisiertes Betreten eines Geländes/Fahrzeuges [" Zeit "]")
- SendChat("/su " id " Unautorisiertes Betreten eines Geländes/Fahrzeuges [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Einbruch, Statistik.ini, Vergaben, Einbruch
- Wanted+=2
- Einbruch+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Einbruch%, Statistik.ini, Vergaben, Einbruch
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Einbruchs Wanteds: {FFBF00}" . Einbruch . "{FFFFFF}.")
- }
- }
- return
- !J::
- id := PlayerInput("Anfahren: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Absichtliches Anfahren von Beamten/Zivilisten [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Anfahren, Statistik.ini, Vergaben, Anfahren
- Wanted++
- Anfahren++
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Anfahren%, Statistik.ini, Vergabe, Anfahren
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Anfahr Wanteds: {FFBF00}" . Anfahren . "{FFFFFF}.")
- }
- }
- return
- !K::
- id := PlayerInput("Privat: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Diebstahl von Privatfahrzeugen [" Zeit "]")
- SendChat("/su " id " Diebstahl von Privatfahrzeugen [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Diebstahl, Statistik.ini, Vergaben, Diebstahl
- Wanted+=2
- Diebstahl+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Diebstahl%, Statistik.ini, Vergaben, Diebstahl
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fahrzeugdiebstahl Wanteds: {FFBF00}" . Diebstahl . "{FFFFFF}.")
- }
- }
- return
- !L::
- id := PlayerInput("Staats: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Diebstahl von Staatsfahrzeugen [" Zeit "]")
- SendChat("/su " id " Diebstahl von Staatsfahrzeugen [" Zeit "]")
- Sleep, 1500
- SendChat("/su " id " Diebstahl von Staatsfahrzeugen [" Zeit "]")
- SendChat("/su " id " Diebstahl von Staatsfahrzeugen [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Diebstahl, Statistik.ini, Vergaben, Diebstahl
- Wanted+=4
- Diebstahl+=4
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Diebstahl%, Statistik.ini, Vergaben, Diebstahl
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fahrzeugdiebstahl Wanteds: {FFBF00}" . Diebstahl . "{FFFFFF}.")
- }
- }
- return
- !ö::
- id := PlayerInput("Bewaffnet: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
- Sleep, 1500
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
- Sleep, 1500
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
- SendChat("/su " id " Diebstahl von schweren / bewaffneten Staatsfahrzeugen [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Diebstahl, Statistik.ini, Vergaben, Diebstahl
- Wanted+=6
- Diebstahl+=6
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Diebstahl%, Statistik.ini, Vergaben, Diebstahl
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Fahrzeugdiebstahl Wanteds: {FFBF00}" . Diebstahl . "{FFFFFF}.")
- }
- }
- return
- !O::
- id := PlayerInput("Beleidigung: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Beamtenbeleidigung / Umganston [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Beleidigung, Statistik.ini, Vergaben, Beleidigung
- Wanted++
- Beleidigung++
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Beleidigung%, Statistik.ini, Vergaben, Beleidigung
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Beleidigungs Wanteds: {FFBF00}" . Beleidigung . "{FFFFFF}.")
- }
- }
- return
- !i::
- id := PlayerInput("Waffengebrauch: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Waffengebrauch in der Öffentlichkeit [" Zeit "]")
- SendChat("/su " id " Waffengebrauch in der Öffentlichkeit [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, WGÖ, Statistik.ini, Vergaben, WGÖ
- Wanted+=2
- WGÖ+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %WGÖ%, Statistik.ini, Vergaben, WGÖ
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Waffengebrauch Wanteds: {FFBF00}" . WGÖ . "{FFFFFF}.")
- }
- }
- return
- !p::
- id := PlayerInput("Waffenbesitz: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Illegaler Waffenbesitz [" Zeit "]")
- SendChat("/su " id " Illegaler Waffenbesitz [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Waffenbesitz, Statistik.ini, Vergaben, Waffenbesitz
- Wanted+=2
- Waffenbesitz+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Waffenbesitz%, Statistik.ini, Vergaben, Waffenbesitz
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Waffenbesitz Wanteds: {FFBF00}" . Waffenbesitz . "{FFFFFF}.")
- }
- }
- return
- !n::
- id := PlayerInput("Notrufmissbrauch: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " . ID . " Missbrauch des Notrufes [" Zeit "]")
- SendChat("/su " . ID . " Behinderung der Justiz [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Notrufabuse, Statistik.ini, Vergaben, Notrufabuse
- IniRead, BDJ, Statistik.ini, Vergaben, BDJ
- Wanted+=2
- Notrufabuse+=1
- BDJ+=1
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Notrufabuse%, Statistik.ini, Vergaben, Notrufabuse
- IniWrite, %BDJ%, Statistik.ini, Vergaben, BDJ
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte BDJ Wanteds: {FFBF00}" . BDJ . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Notrufsmissbrauch Wanteds: {FFBF00}" . Notrufabuse . "{FFFFFF}.")
- }
- }
- return
- !z::
- id := PlayerInput("Zollflucht: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Zollflucht [" Zeit "]")
- SendChat("/su " id " Zollflucht [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Zollflucht, Statistik.ini, Vergaben, Zollflucht
- Wanted+=2
- Zollflucht+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Zollflucht%, Statistik.ini, Vergaben, Zollflucht
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0xDF0101, "[Calibinder] {FFFFFF} Ausgestellte Zollflucht Wanteds: {FFBF00}" . Zollflucht . "{FFFFFF}.")
- }
- }
- return
- !b::
- id := PlayerInput("Bestechung: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Bestechung / Bestechungsversuch eines Beamten [" Zeit "]")
- SendChat("/su " id " Bestechung / Bestechungsversuch eines Beamten [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Bestechung, Statistik.ini, Vergaben, Bestechung
- Wanted+=2
- Bestechung+=2
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Bestechung%, Statistik.ini, Vergaben, Bestechung
- AddChatMessage(0x00BFFF, "|CALIBINDER| {ACFA58}[Vergaben]{FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0x00BFFF, "|CALIBINDER| {ACFA58}[Vergaben]{FFFFFF} Ausgestellte Bestechung Wanteds: {FFBF00}" . Bestechung . "{FFFFFF}.")
- }
- }
- return
- !g::
- id := PlayerInput("Gefährdung: ")
- FormatTime, Zeit, , HH:mm
- SendChat("/su " id " Gefährdung des Straßenverkehrs [" Zeit "]")
- if(id != "")
- {
- Sleep, 200
- GetChatLine(0, chat)
- GetPlayerName(Name)
- If(InStr(chat, "[WANTED] Verdächtiger: ") && InStr(chat, "Zeuge: " Name ","))0x00BFFF
- {
- IniRead, Wanted, Statistik.ini, Vergaben, Wanted
- IniRead, Gefährdung, Statistik.ini, Vergaben, Gefährdung
- Wanted+=1
- Gefährdung+=1
- IniWrite, %Wanted%, Statistik.ini, Vergaben, Wanted
- IniWrite, %Gefährdung%, Statistik.ini, Vergaben, Gefährdung
- AddChatMessage(0x00BFFF, "|CALIBINDER| {ACFA58}[Vergaben]{FFFFFF} Ausgestellte Wanteds gesamt: {FFBF00}" . Wanted . "{FFFFFF}.")
- AddChatMessage(0x00BFFF, "|CALIBINDER| {ACFA58}[Vergaben]{FFFFFF} Ausgestellte Gefährdungs Wanteds: {FFBF00}" . Gefährdung . "{FFFFFF}.")
- }
- }
- return
- :?:/test1::
- Suspend Permit
- AddChatMessage(0xFFFF00, "|================| Gehalts-Check |================|")
- AddChatMessage(0xFFFFFF, "Lohn: 93415$ Miete: -88$ Lohnsteuer: -13754$")
- AddChatMessage(0xFFFFFF, "KFZ Steuer: -31$")
- AddChatMessage(0x2EFE2E, "Steuerklasse: 4 (21 Prozent)")
- AddChatMessage(0xFFFF00, "|=================||============||=================|")
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement