Servus,
ich veröffentliche mal meinen alten Keybinder, ich spiele schon lange kein SA:MP mehr und joa, manche Sachen können zur Zeit noch nicht funktionieren.
Im Einstellungsmenü die Taste Numpad 5 ist im Quellcode als vextra deklariert. Wenn ihr wollt, könnt ihr einen Befehl wie /stats reinschreiben.
getplayerdata()
SetTimer, Anrufen, 10000
SetTimer, FrakMord, 250
SetTimer, CheckDir, 5000
;===========================[ SPEICHERFUNKTION ]===========================
IniRead,Name,%A_MyDocuments%\heisenbinder\config.ini,Optionen, Name
IniRead,Telefonnummer,%A_MyDocuments%\heisenbinder\config.ini,Optionen, Telefonnummer
IniRead,Rank,%A_MyDocuments%\heisenbinder\config.ini,Optionen, Rank
IniRead,xtra,%A_MyDocuments%\heisenbinder\config.ini,Optionen, xtra
Gui, Add, Button, x222 y260 w90 h50 gconfigfenster, Einstellungen
Gui, Show, x127 y87 h403 w693, Heisenberg Keybinder (c) - Eingeloggt als %Name%
Return
Gui,2:Add,Text,cred, Keybinder Name:
Gui,2:Add,Edit, w200 h25 vNamek, %Namek%
Gui,2:Add,Text,cred, Name:
Gui,2:Add,Edit, w200 h25 vName, %Name%
Gui,2:Add,Text,cred, Telefonnummer:
Gui,2:Add,Edit, w200 h25 vTelefonnummer, %Telefonnummer%
Gui,2:Add,Text,cred, Rank:
Gui,2:Add,Edit, w200 h25 vRank, %Rank%
Gui,2:Add,Text,cred, Numpad 5 (Kein Pflichtfeld):
Gui,2:Add,Edit, w200 h25 vxtra, %xtra%
Gui,2:Add,Button, w200 h25 gSpeichern,Speichern
Gui,2:Show,,
return
Gui,Submit,
IniWrite,%Namek%,%A_MyDocuments%\heisenbinder\config.ini,Optionen, Namek
IniWrite,%Name%,%A_MyDocuments%\heisenbinder\config.ini,Optionen, Name
IniWrite,%Telefonnummer%,%A_MyDocuments%\heisenbinder\config.ini,Optionen, Telefonnummer
IniWrite,%Rank%,%A_MyDocuments%\heisenbinder\config.ini,Optionen, Rank
IniWrite,%xtra%,%A_MyDocuments%\heisenbinder\config.ini,Optionen, xtra
Gui,2:Destroy
return
ExitApp
CheckDir:
MainDir := A_MyDocuments "\heisenbinder"
SoundDir := A_MyDocuments "\heisenbinder\sound"
Stuff := A_MyDocuments "\heisenbinder\Stuff"
IfNotExist, %MainDir%
FileCreateDir, %MainDir%
IfNotExist, %MainDir%\config.ini
{
UrlDownloadToFile, http://jumeirah-dev.de/config.ini, %MainDir%\config.ini ; DOWNLOAD KLAPPT NOCH!!
}
;IfNotExist, %MainDir%\sound\gwkill.mp3
;{
;UrlDownloadToFile, http://rynnloh.funpic.de/heisenbinder/gwkill.mp3, %MainDir%\sound\gwkill.mp3 ; DOWNLOAD DEAKTIVIERT - DATEI FEHLT DA FUNPIC DOWN
;}
;IfNotExist, %MainDir%\sound\kill.mp3
;{
;URLDownloadToFile, http://rynnloh.funpic.de/heisenbinder/kill.mp3, %MainDir%\sound\kill.mp3 ; DOWNLOAD DEAKTIVIERT - DATEI FEHLT DA FUNPIC DOWN
;}
;IfNotExist, %MainDir%\Stuff\Background.jpg
;{
;URLDownloadToFile, http://rynnloh.funpic.de/heisenbinder/Background.jpg, %MainDir%\Stuff\Background.jpg ; DOWNLOAD DEAKTIVIERT - DATEI FEHLT DA FUNPIC DOWN
;}
FileCreateDir, %MainDir%
FileCreateDir, %SoundDir%
FileCreateDir, %Stuff%
SendChat("/erstehilfe")
return
Suspend Permit
SendChat("/tog")
SendInput, {down 4}
SendInput, {enter}
return
Suspend Permit
SendChat("/f >>> ** ALLE BASE - GANGFIGHT ** <<<")
sleep 500
SendChat("/f >>> ** ALLE BASE - GANGFIGHT ** <<<")
sleep 500
SendChat("/f >>> ** ALLE BASE - GANGFIGHT ** <<<")
return
IfWinNotActive, GTA:SA:MP
return
GetChatLine(0, chat)
if(InStr(chat, "Du hast ein Verbrechen begangen")){
RegExMatch(var, "Du hast ein Verbrechen begangen \((.+)\)\. Zeuge: (.+)\.", var)
Verbrechen := var1
Zeuge := var2
IniRead, Morde, %A_MyDocuments%\heisenbinder\config.ini, Statistik, Morde
Morde+=1
IniWrite, %Morde%, %A_MyDocuments%\heisenbinder\config.ini, Statistik, Morde
;SendChat("/f Ich habe " var1 " ermordet | Morde insgesamt: " Morde "") ; Auch ggf. abändern
AddChatMessage(0xFFFFFF,"Du hast einen Mord begangen, Zeuge: " var1 ", Grund: " var2 ".")
IniRead, Morde, %A_MyDocuments%\heisenbinder\config.ini, Statistik, Morde
AddChatMessage(0xFFFFFF,"Du hast nun insgesamt " Morde " Morde.")
}
return
Suspend Permit
SendChat(" >>> *** Verlassen sie bitte nach dem Countdown die Base.")
sleep 1000
SendChat(" >>> *** 5 Sekunden verbleibend!")
sleep 1000
SendChat(" >>> *** 4 Sekunden verbleibend!")
sleep 1000
SendChat(" >>> *** 3 Sekunden verbleibend!")
sleep 1000
SendChat(" >>> *** 2 Sekunden verbleibend!")
sleep 1000
SendChat(" >>> *** 1 Sekunden verbleibend!")
sleep 1000
SendChat(" >>> *** Snack.")
return
Suspend Permit
IniRead, Morde, %A_MyDocuments%\heisenbinder\config.ini, Statistik, Morde
Morde := 0
IniWrite, %Morde%, %A_MyDocuments%\heisenbinder\config.ini, Statistik, Morde
AddChatMessage(0xFFFFFF,"{AEFF00}Die Kills wurden erfolgreich zurückgesetzt.")
return
IniRead, GWMorde, %A_MyDocuments%\heisenbinder\config.ini, Statistik, GWMorde
GWMorde+=1
IniWrite, %GWMorde%, %A_MyDocuments%\heisenbinder\config.ini, Statistik, GWMorde
SoundPlay, %A_MyDocuments%\heisenbinder\sound\gwkill.mp3
SendChat(" Gangwarkill .:: Nr. " GWMorde " ::. ||")
return
GWMorde -= 1
IniWrite, %GWMorde%, %A_MyDocuments%\heisenbinder\config.ini, Statistik, GWMorde
IniRead, GWMorde, %A_MyDocuments%\heisenbinder\config.ini, Statistik, GWMorde
AddChatMessage(0xFFFFFF,"Du hast nun insgesamt " GWMorde " Morde.")
return
GWMorde := 0
IniWrite, %GWMorde%, %A_MyDocuments%\heisenbinder\config.ini, Statistik, GWMorde
IniRead, GWMorde, %A_MyDocuments%\heisenbinder\config.ini, Statistik, GWMorde
AddChatMessage(0xFFFFFF,"Du hast deine GW Kills zurückgesetzt (" GWMorde ")")
return
GetChatLine(0, chat)
if(InStr(chat, "Du hast ein Verbrechen begangen")){
RegExMatch(chat, "Du hast ein Verbrechen begangen \((.+)\)\. Zeuge: (.+)\.", var)
Verbrechen := var1
Zeuge := var2
IniRead, Morde, %A_MyDocuments%\heisenbinder\config.ini, Statistik, Morde
Morde+=1
IniWrite, %Morde%, %A_MyDocuments%\heisenbinder\config.ini, Statistik, Morde
SendChat("/f Spieler ermordet: Zeuge: " var1 ", Grund: " var2 " ||")
SoundPlay, %A_MyDocuments%\heisenbinder\sound\kill.mp
IniRead, Morde, %A_MyDocuments%\heisenbinder\config.ini, Statistik, Morde
AddChatMessage(0xFFFFFF,"Du hast nun insgesamt " Morde " Morde.")
}
return
if(IsChatOpen() == 1 IsDialogOpen() == 1)
return
SendChat("/zoll")
return
SendInput {p}
SendInput {l}
SendInput {u}
SendInput {s}
SendInput {c}
return
Suspend Permit
SendChat("/ad [EK BUSINESS] Newsletter: Erhalte immer neue Informationen bei neuer Ware / Angeboten - Einfach /sms!")
return
Suspend Permit
SendChat("Easy Snack!")
return
Suspend Permit
SendChat("/gtake Mats 200")
return
Suspend Permit
SendChat("Waffe:")
SendChat("Menge:")
return
Suspend Permit
SendChat("Zieh den Rucksack aus wenn du mit mir redest!")
return
Suspend Permit
AddChatMessage(0xFFFFFF,"{AEFF00}/1d - Eine Deagle")
AddChatMessage(0xFFFFFF,"{AEFF00}/2d - Zwei Deagle")
return
Suspend Permit
AddChatMessage(0xFFFFFF,"{AEFF00}/1mp - Eine MP5")
AddChatMessage(0xFFFFFF,"{AEFF00}/2mp - Zwei MP5")
return
Suspend Permit
AddChatMessage(0xFFFFFF,"{AEFF00}/tm - Take 200 Mats")
AddChatMessage(0xFFFFFF,"{AEFF00}/vk - Ask for Weapon & Amount")
AddChatMessage(0xFFFFFF,"{AEFF00}/deagle")
AddChatMessage(0xFFFFFF,"{AEFF00}/mp5")
;ShowDialog(0, ">> STATISTIK <<", "Waffendealer Hilfe`n-----------------------------`n/td - Take 200 Mats`n/vk - Ask for Weapon & Amount`n-----------------------------Desert Eagle:`n/1d - Eine Deagle`n/2d - Zwei Deagle`n-----------------------------MP5:`n/1mp - Eine MP5`n/2mp - Zwei MP5`n`nMehr Ware ist (noch) nicht verfügbar!", "OK")
return
Suspend Permit
GetPlayerId()
playerid := GetPlayerId()
SendChat("Bitte 1.000$ an ID: " playerid " zahlen.")
return
Suspend Permit
GetPlayerId()
playerid := GetPlayerId()
SendChat("Bitte 2.000$ an ID: " playerid ",zahlen.")
return
Suspend Permit
GetPlayerId()
playerid := GetPlayerId()
SendChat("Bitte 1.000$ an ID: " playerid " zahlen.")
return
Suspend Permit
GetPlayerId()
playerid := GetPlayerId()
SendChat("Bitte 2.000$ an ID: " playerid " zahlen.")
return
Suspend, Toggle
StatusCheck := A_IsSuspended ? "Aus" : "Ein"
SendInput t/me schaltet seinen Keybinder %Statuscheck%
return
SendInput t/motor{enter}
return
SendChat("/materials get 10")
return
SendChat("/materials deliver 10")
return
SendInput t/lock{enter}
return
SendInput t/licht{enter}
return
SendInput t/%xtra%{enter}
return
SendInput t/pickup{enter}
GetPlayerName(MyName)
SendChat("Hallo mein Name ist " MyName " was kann ich für sie tun?")
return
SendInput t/pickup{enter}
SendInput tHallo mein Name ist %Name%, bitte hinterlassen sie mir eine Nachricht (SMS){enter}
SendInput t/hangup{enter}
return
Suspend Permit
SendInput t/f >.>.> GANGWARKILL <.<.<{enter}
return
Suspend Permit
SendInput t/f >.>.> GANGWAR-GEWINN <.<.<{enter}
return
Suspend Permit
SendChat("Ich habe nun ledigliche Beweismateriale am laufen,")
SendChat("Es wird umgehend eine Beschwerde geschrieben!")
return
Suspend Permit
SendInput t/sup Hallo, ich habe eine kleine Frage, und zwar{enter}
return
Suspend Permit
prefix := ""
SendChat(prefix . "Vielen Dank!")
return
if(!IsChatOpen() AND !IsDialogOpen() AND !IsMenuOpen()){
TempomatOnOff := !TempomatOnOff
if(TempomatOnOFF){
SetTimer, Tempomat, 50
sspeed := GetVehicleSpeed()
AddChatMessage(0xFF0000, "{FF00FF}[Fahrzeug]{FFFFFF} Tempomat: {00FF00}Eingeschaltet{FFFFFF}. Geschwindigkeit: {0033FF}~" sspeed)
}
else{
SetTimer, Tempomat, Off
AddChatMessage(0xFF0000, "{FF00FF}[Fahrzeug]{FFFFFF} Tempomat: {FF0005}Ausgeschaltet{FFFFFF}.")
if(!GetKeyState("W", "P"))
SendInput, {W Up}
}
}
return
Tempomat:
if(!WinActive("GTA:SA:MP") OR IsChatOpen() OR IsDialogOpen() OR IsMenuOpen()){
if(!GetKeyState("W", "P"))
SendInput, {W Up}
return
}
if(GetVehicleSpeed() <= sspeed)
SendInput, {W Down}
else
SendInput, {W Up}
return
Suspend Permit
SendInput /f Sers{!}{enter}
SendInput t/j Sers{!}{enter}
SendInput tSers{!}{enter}
return
Suspend Permit
SendInput /j Achtung Kapitän Niveau, wir sinken{!}{enter}
SendInput tAchtung Kapitän Niveau, wir sinken{!}{enter}
return
Suspend Permit
SendInput /j *** Morgens ein Joint, und der Tag ist dein Freund{!} ***{enter}
SendInput *** Morgens ein Joint, und der Tag ist dein Freund{!} ***{enter}
return
prefix := ""
;SendChat(prefix . "Meine aktuelle Lebensenergie: " . GetPlayerHealth())
if(IsPlayerInAnyVehicle()) {
GetVehicleName(GetVehicleModel(),vehicle)
SendChat(prefix . "Fahrzeug: " . vehicle . " | Zustand: " . round(GetVehicleHealth()/10,1) . " Prozent")
}
GetZoneName(zone)
GetCityName(city)
if(city != "") {
SendChat(prefix . "Mein aktueller Standort: " . zone . ", " . city)
} else {
SendChat(prefix . "Mein aktueller Standort: " . zone)
}
return
prefix := "/f"
;SendChat(prefix . "Meine aktuelle Lebensenergie: " . GetPlayerHealth())
SendChat(prefix . "Benötige dringend Hilfe!")
if(IsPlayerInAnyVehicle()) {
GetVehicleName(GetVehicleModel(),vehicle)
SendChat(prefix . "Fahrzeug: " . vehicle . " | Zustand: " . round(GetVehicleHealth()/10,1) . " Prozent")
}
GetZoneName(zone)
GetCityName(city)
if(city != "") {
SendChat(prefix . "Mein aktueller Standort: " . zone . ", " . city)
} else {
SendChat(prefix . "Mein aktueller Standort: " . zone)
}
return
if(IsPlayerInAnyVehicle()) {
GetVehicleName(GetVehicleModel(),vehicle)
SendChat("/j Fahrzeug: " . vehicle . " | Zustand: " . round(GetVehicleHealth()/10,1) . " Prozent")
}
GetZoneName(zone)
GetCityName(city)
if(city != "") {
SendChat("/j Mein aktueller Standort: " . zone . ", " . city)
} else {
SendChat("/j Mein aktueller Standort: " . zone)
}
return
IfWinNotActive, GTA:SA:MP
return
GetChatLine(0, chat)
if(InStr(chat, "Dein Handy klingelt")){
RegExMatch(chat, "Dein Handy klingelt\. Anrufer: (.*)" ,nummer)
SendChat("/pickup")
SendChat("Hallo , " nummer1 " was kann ich für sie tun?")
SoundPlay, %A_MyDocuments%\heisenbinder\sound\kill.mp
}
return
if (IsAnyPlayerInVehicle == 1)
{
goto Telefon
}
if (IsAnyPlayerInVehicle == 0)
{
goto Telefon
}
return
Suspend Permit
SendChat("/zoll")
SendChat("/me öffnet den Zoll!")
return
Suspend Permit
SendChat("Dann wünsche ich ihnen noch einen schönen Tag!")
SendChat("Sollten sie weitere Fragen haben, rufen sie mich einfach an.")
return
Suspend Permit
GetPlayerHealth()
GetPlayerId()
pHealth := GetPlayerHealth()
playerid := GetPlayerId()
if(IsPlayerInAnyVehicle()) {
GetVehicleName(GetVehicleModel(),vehicle)
sleep 1000
SendChat("/f Fahrzeug: " . vehicle . " | Zustand: " . round(GetVehicleHealth()/10,1) . " Prozent")
}
GetZoneName(zone)
GetCityName(city)
if(city != "") {
sleep 1000
SendChat("/f Mein aktueller Standort: " . zone . ", " . city)
} else {
sleep 1000
SendChat("/f Mein aktueller Standort: " . zone)
}
return
Suspend Permit
GetZoneName(zone)
GetCityName(city)
SendChat("/f Gegner kommen! " . zone . ", " . city)
sleep 1000
SendChat("/f Gegner kommen! " . zone . ", " . city)
return
Suspend Permit
GetZoneName(zone)
GetCityName(city)
SendChat("/f Benötge keine Hilfe mehr bei " . zone . ", " . city)
sleep 1000
SendChat("/f Benötge keine Hilfe mehr bei " . zone . ", " . city)
return
PLAYER_STATE_LEAVING_VEHICLE := 0
PLAYER_STATE_NORMAL := 1
PLAYER_STATE_DRIVING := 50
PLAYER_STATE_DYING := 54
PLAYER_STATE_DEAD := 55
; ---
hModule := DllCall("LoadLibrary", Str, A_ScriptDir . "\API.dll")
if(hModule == -1 hModule == 0)
{
MsgBox, 48, API - Fehler, Die API.dll konnte nicht gefunden werden.`nDer Keybinder wird nun beendet.
ExitApp
; Ihr könnt die Funktion hier natuerlich selber bearbeiten.
; Die Aktuelle API findet ihr hier:
; http://samp-api.net/downloads/current_api/API.dll
; Den MD5 Wert der aktuellen API findet ihr hier:
; http://samp-api.net/downloads/current_api/API.php
; Dort befindet sich immer die aktuellste API.
}
; ---
BlockChatInput_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BlockChatInput")
BoxCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxCreate")
BoxDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxDestroy")
BoxHide_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxHide")
BoxSetBorder_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetBorder")
BoxSetBorderColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetBorderColor")
BoxSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetColor")
BoxSetHeight_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetHeight")
BoxSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetPos")
BoxSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxSetWidth")
BoxShow_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_BoxShow")
DestroyAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_DestroyAllVisual")
GetAmmoForCurrentWeapon_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetAmmoForCurrentWeapon")
GetChatLine_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetChatLine")
GetCityName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCityName")
GetClipForCurrentWeapon_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetClipForCurrentWeapon")
GetCurrentWeaponId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeaponId")
GetCurrentWeatherId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetCurrentWeatherId")
GetOnlinePlayers_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetOnlinePlayers")
GetPlayerArmor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerArmor")
GetPlayerData_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerData")
GetPlayerHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerHealth")
GetPlayerId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerId")
GetPlayerIdByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerIdByName")
GetPlayerMoney_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerMoney")
GetPlayerName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerName")
GetPlayerNameById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerNameById")
GetPlayerPing_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPing")
GetPlayerPingById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPingById")
GetPlayerPingByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPingByName")
GetPlayerPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerPos")
GetPlayerScore_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScore")
GetPlayerScoreById_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScoreById")
GetPlayerScoreByName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerScoreByName")
GetPlayerSkin_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerSkin")
GetPlayerState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerState")
GetPlayerWanteds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetPlayerWanteds")
GetRadioSlot_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetRadioSlot")
GetScreenSizeX_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeX")
GetScreenSizeY_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetScreenSizeY")
GetServerIp_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetServerIp")
GetVehicleEngineState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleEngineState")
GetVehicleFirstColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleFirstColor")
GetVehicleHealth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHealth")
GetVehicleHornState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleHornState")
GetVehicleId_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleId")
GetVehicleLightState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleLightState")
GetVehicleLockState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleLockState")
GetVehicleModel_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleModel")
GetVehicleName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleName")
GetVehicleSeatState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSeatState")
GetVehicleSecondColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSecondColor")
GetVehicleSirenState_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSirenState")
GetVehicleSpeed_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetVehicleSpeed")
GetZoneName_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_GetZoneName")
HideAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_HideAllVisual")
ImageCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageCreate")
ImageDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageDestroy")
ImageHide_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageHide")
ImageSetAlign_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageSetAlign")
ImageSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageSetPos")
ImageSetRotation_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageSetRotation")
ImageShow_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ImageShow")
IsChatOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsChatOpen")
IsDialogOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsDialogOpen")
IsMenuOpen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsMenuOpen")
IsPlayerDriver_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerDriver")
IsPlayerFrozen_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerFrozen")
IsPlayerInAnyInterior_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyInterior")
IsPlayerInAnyVehicle_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInAnyVehicle")
IsPlayerInRangeOfPoint_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint")
IsPlayerInRangeOfPoint2D_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsPlayerInRangeOfPoint2D")
IsUpdateAvailable_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_IsUpdateAvailable")
LineCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineCreate")
LineDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineDestroy")
LineHide_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineHide")
LineSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineSetColor")
LineSetHeight_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineSetHeight")
LineSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineSetPos")
LineSetWidth_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineSetWidth")
LineShow_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_LineShow")
RegisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_RegisterTextBind")
SendChat_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_SendChat")
ShowAllVisual_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowAllVisual")
ShowDialog_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowDialog")
ShowGameText_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_ShowGameText")
TextBindTimer_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextBindTimer")
TextCreate_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextCreate")
TextDestroy_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextDestroy")
TextHide_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextHide")
TextSetAlign_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextSetAlign")
TextSetColor_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextSetColor")
TextSetPos_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextSetPos")
TextSetString_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextSetString")
TextShow_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_TextShow")
UnblockChatInput_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnblockChatInput")
UnloadOverlay_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnloadOverlay")
UnregisterAllTextBinds_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterAllTextBinds")
UnregisterTextBind_func := DllCall("GetProcAddress", UInt, hModule, Str, "API_UnregisterTextBind")
{
global AddChatMessage_func
Result := DllCall(AddChatMessage_func, Int, Color, Str, Text)
return Result
}
{
global BlockChatInput_func
Result := DllCall(BlockChatInput_func)
return Result
}
{
global BoxCreate_func
Result := DllCall(BoxCreate_func)
return Result
}
{
global BoxDestroy_func
Result := DllCall(BoxDestroy_func, Int, BoxIndex)
return Result
}
{
global BoxHide_func
Result := DllCall(BoxHide_func, Int, BoxIndex)
return Result
}
{
global BoxSetBorder_func
Result := DllCall(BoxSetBorder_func, Int, BoxIndex, Int, Width)
return Result
}
{
global BoxSetBorderColor_func
Result := DllCall(BoxSetBorderColor_func, Int, BoxIndex, UInt, Color)
return Result
}
{
global BoxSetColor_func
Result := DllCall(BoxSetColor_func, Int, BoxIndex, UInt, Color)
return Result
}
{
global BoxSetHeight_func
Result := DllCall(BoxSetHeight_func, Int, BoxIndex, Int, Height)
return Result
}
{
global BoxSetPos_func
Result := DllCall(BoxSetPos_func, Int, BoxIndex, Int, X, Int, Y)
return Result
}
{
global BoxSetWidth_func
Result := DllCall(BoxSetWidth_func, Int, BoxIndex, Int, Width)
return Result
}
{
global BoxShow_func
Result := DllCall(BoxShow_func, Int, BoxIndex)
return Result
}
{
global DestroyAllVisual_func
Result := DllCall(DestroyAllVisual_func)
return Result
}
{
global GetAmmoForCurrentWeapon_func
Result := DllCall(GetAmmoForCurrentWeapon_func)
return Result
}
{
global GetChatLine_func
VarSetCapacity(Output, 252)
Result := DllCall(GetChatLine_func, Int, Line, StrP, Output)
return Result
}
{
global GetCityName_func
VarSetCapacity(City, 32, 0)
Result := DllCall(GetCityName_func, StrP, City)
return Result
}
{
global GetClipForCurrentWeapon_func
Result := DllCall(GetClipForCurrentWeapon_func)
return Result
}
{
global GetCurrentWeaponId_func
Result := DllCall(GetCurrentWeaponId_func)
return Result
}
{
global GetCurrentWeatherId_func
Result := DllCall(GetCurrentWeatherId_func)
return Result
}
{
global GetOnlinePlayers_func
Result := DllCall(GetOnlinePlayers_func)
return Result
}
{
global GetPlayerArmor_func
Result := DllCall(GetPlayerArmor_func)
return Result
}
{
global GetPlayerData_func
Result := DllCall(GetPlayerData_func)
return Result
}
{
global GetPlayerHealth_func
Result := DllCall(GetPlayerHealth_func)
return Result
}
{
global GetPlayerId_func
Result := DllCall(GetPlayerId_func)
return Result
}
{
global GetPlayerIdByName_func
Result := DllCall(GetPlayerIdByName_func, Str, Name)
return Result
}
{
global GetPlayerMoney_func
Result := DllCall(GetPlayerMoney_func)
return Result
}
{
global GetPlayerName_func
VarSetCapacity(Name, 24)
Result := DllCall(GetPlayerName_func, StrP, Name)
return Result
}
{
global GetPlayerNameById_func
VarSetCapacity(Name, 24)
Result := DllCall(GetPlayerNameById_func, Int, Id, StrP, Name)
return Result
}
{
global GetPlayerPing_func
Result := DllCall(GetPlayerPing_func)
return Result
}
{
global GetPlayerPingById_func
Result := DllCall(GetPlayerPingById_func, Int, Id)
return Result
}
{
global GetPlayerPingByName_func
Result := DllCall(GetPlayerPingByName_func, Str, Name)
return Result
}
{
global GetPlayerPos_func
Result := DllCall(GetPlayerPos_func, FloatP, X, FloatP, Y, FloatP, Z, FloatP, R)
return Result
}
{
global GetPlayerScore_func
Result := DllCall(GetPlayerScore_func)
return Result
}
{
global GetPlayerScoreById_func
Result := DllCall(GetPlayerScoreById_func, Int, Id)
return Result
}
{
global GetPlayerScoreByName_func
Result := DllCall(GetPlayerScoreByName_func, Str, Name)
return Result
}
{
global GetPlayerSkin_func
Result := DllCall(GetPlayerSkin_func)
return Result
}
{
global GetPlayerState_func
Result := DllCall(GetPlayerState_func)
return Result
}
{
global GetPlayerWanteds_func
Result := DllCall(GetPlayerWanteds_func)
return Result
}
{
global GetRadioSlot_func
Result := DllCall(GetRadioSlot_func)
return Result
}
{
global GetScreenSizeX_func
Result := DllCall(GetScreenSizeX_func)
return Result
}
{
global GetScreenSizeY_func
Result := DllCall(GetScreenSizeY_func)
return Result
}
{
global GetServerIp_func
VarSetCapacity(Address, 21, 0)
Result := DllCall(GetServerIp_func, StrP, Address)
return Result
}
{
global GetVehicleEngineState_func
Result := DllCall(GetVehicleEngineState_func)
return Result
}
{
global GetVehicleFirstColor_func
Result := DllCall(GetVehicleFirstColor_func)
return Result
}
{
global GetVehicleHealth_func
Result := DllCall(GetVehicleHealth_func)
return Result
}
{
global GetVehicleHornState_func
Result := DllCall(GetVehicleHornState_func)
return Result
}
{
global GetVehicleId_func
Result := DllCall(GetVehicleId_func)
return Result
}
{
global GetVehicleLightState_func
Result := DllCall(GetVehicleLightState_func)
return Result
}
{
global GetVehicleLockState_func
Result := DllCall(GetVehicleLockState_func)
return Result
}
{
global GetVehicleModel_func
Result := DllCall(GetVehicleModel_func)
return Result
}
{
global GetVehicleName_func
VarSetCapacity(VehicleName, 24, 0)
Result := DllCall(GetVehicleName_func, Int, ModelId, StrP, VehicleName)
return Result
}
{
global GetVehicleSeatState_func
Result := DllCall(GetVehicleSeatState_func, Int, Seat)
return Result
}
{
global GetVehicleSecondColor_func
Result := DllCall(GetVehicleSecondColor_func)
return Result
}
{
global GetVehicleSirenState_func
Result := DllCall(GetVehicleSirenState_func)
return Result
}
{
global GetVehicleSpeed_func
fMult := 1.45
Result := DllCall(GetVehicleSpeed_func, Float, fMult)
return Result
}
{
global GetZoneName_func
VarSetCapacity(Zone, 32, 0)
Result := DllCall(GetZoneName_func, StrP, Zone)
return Result
}
{
global ShowAllVisual_func
Result := DllCall(ShowAllVisual_func)
return Result
}
{
global ImageCreate_func
path = %A_ScriptDir%
Result := DllCall(ImageCreate_func, Str, path . ImagePath)
return Result
}
{
global ImageDestroy_func
Result := DllCall(ImageDestroy_func, Int, ImageIndex)
return Result
}
{
global ImageHide_func
Result := DllCall(ImageHide_func, Int, ImageIndex)
return Result
}
{
global ImageSetAlign_func
Result := DllCall(ImageSetAlign_func, Int, ImageIndex, Int, Align)
return Result
}
{
global ImageSetPos_func
Result := DllCall(ImageSetPos_func, Int, ImageIndex, Int, PosX, Int, PosY)
return Result
}
{
global ImageSetRotation_func
Result := DllCall(ImageSetRotation_func, Int, ImageIndex, Int, Rotation)
return Result
}
{
global ImageShow_func
Result := DllCall(ImageShow_func, Int, ImageIndex)
return Result
}
{
global IsChatOpen_func
Result := DllCall(IsChatOpen_func)
return Result
}
{
global IsDialogOpen_func
Result := DllCall(IsDialogOpen_func)
return Result
}
{
global IsMenuOpen_func
Result := DllCall(IsMenuOpen_func)
return Result
}
{
global IsPlayerDriver_func
Result := DllCall(IsPlayerDriver_func)
return Result
}
{
global IsPlayerFrozen_func
Result := DllCall(IsPlayerFrozen_func)
return Result
}
{
global IsPlayerInAnyInterior_func
Result := DllCall(IsPlayerInAnyInterior_func)
return Result
}
{
global IsPlayerInAnyVehicle_func
Result := DllCall(IsPlayerInAnyVehicle_func)
return Result
}
{
global IsPlayerInRangeOfPoint_func
Result := DllCall(IsPlayerInRangeOfPoint_func, Float, X, Float, Y, Float, Z, Float, Radius)
return Result
}
{
global IsPlayerInRangeOfPoint2D_func
Result := DllCall(IsPlayerInRangeOfPoint2D_func, Float, X, Float, Y, Float, Radius)
return Result
}
{
global IsUpdateAvailable_func
Result := DllCall(IsUpdateAvailable_func)
return Result
}
{
global LineCreate_func
Result := DllCall(LineCreate_func)
return Result
}
{
global LineDestroy_func
Result := DllCall(LineDestroy_func, Int, LineIndex)
return Result
}
{
global LineHide_func
Result := DllCall(LineHide_func, Int, LineIndex)
return Result
}
{
global LineSetColor_func
Result := DllCall(LineSetColor_func, Int, LineIndex, Int64, Color)
return Result
}
{
global LineSetHeight_func
Result := DllCall(LineSetHeight_func, Int, LineIndex, Int, Height)
return Result
}
{
global LineSetPos_func
Result := DllCall(LineSetPos_func, Int, LineIndex, Int, PosX, Int, PosY)
return Result
}
{
global LineSetWidth_func
Result := DllCall(LineSetWidth_func, Int, LineIndex, Int, Width)
return Result
}
{
global LineShow_func
Result := DllCall(LineShow_func, Int, LineIndex)
return Result
}
{
global RegisterTextBind_func
Result := DllCall(RegisterTextBind_func, Str, Bind, Float, X, Float, Y, Float, Z, Float, Radius, Int, Loop, Int, Timeout, Int, GroupId, Int, Delay)
return Result
}
{
global SendChat_func
Result := DllCall(SendChat_func, Str, Text)
return Result
}
{
global ShowAllVisual_func
Result := DllCall(ShowAllVisual_func)
return Result
}
{
global ShowDialog_func
Result := DllCall(ShowDialog_func, Int, Style, Str, Title, Str, Text, Str, Button)
return Result
}
{
global ShowGameText_func
Result := DllCall(ShowGameText_func, Str, Text, Int, Time, Int, Style)
return Result
}
{
global TextBindTimer_func
Result := DllCall(TextBindTimer_func, Int, TextBindTime)
return Result
}
{
global TextCreate_func
Result := DllCall(TextCreate_func, Str, Font, Int, FontSize, Int, Bold, Int, Italic)
return Result
}
{
global TextDestroy_func
Result := DllCall(TextDestroy_func, Int, TextIndex)
return Result
}
{
global TextHide_func
Result := DllCall(TextHide_func, Int, TextIndex)
return Result
}
{
global TextSetAlign_func
Result := DllCall(TextSetAlign_func, Int, TextIndex, Int, Align)
return Result
}
{
global TextSetColor_func
Result := DllCall(TextSetColor_func, Int, TextIndex, Int64, Color)
return Result
}
{
global TextSetPos_func
Result := DllCall(TextSetPos_func, Int, TextIndex, Int, PosX, Int, PosY)
return Result
}
{
global TextSetString_func
Result := DllCall(TextSetString_func, Int, TextIndex, Str, Text)
return Result
}
{
global TextShow_func
Result := DllCall(TextShow_func, Int, TextIndex)
return Result
}
{
global UnblockChatInput_func
Result := DllCall(UnblockChatInput_func)
return Result
}
{
global UnloadOverlay_func
Result := DllCall(UnloadOverlay_func)
return Result
}
{
global UnregisterAllTextBinds_func
Result := DllCall(UnregisterAllTextBinds_func)
return Result
}
{
global UnregisterTextBind_func
Result := DllCall(UnregisterTextBind_func, Int, TextBindId)
return Result
}
; damit sich das Overlay nicht ueberlappt.
; ---
DestroyAllVisual()
Pastebin: http://jumeirah-dev.de/keybinder.txt