Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :?:/overlay::
- Suspend Permit
- Send {Enter}
- IniRead, xPos, Einstellungen.ini, Einstellungen, xPos, 16
- IniRead, yPos, Einstellungen.ini, Einstellungen, yPos, 280
- If(Ov_On != 1)
- {
- ;~ Box := BoxCreate(16, 280, 200, 85, 0x70000000, true)
- Box := BoxCreate(xPos, yPos, 200, 85, 0x70000000, true)
- Border := BoxSetBorder(Box, 2, true)
- BoxSetBorderColor(Box, 0xFFFFFFFF)
- Settimer, Update_Ov, 300
- Name_Ov := TextCreate("Comic Sans MS", 7, false, false, xPos+3, yPos, 0xFFFFFFFF, "Das Overlay wird geladen", true, true)
- Standort_Ov := TextCreate("Comic Sans MS", 7, false, false, xPos+3, yPos+10, 0xFFFFFFFF, " ", true, true)
- Nahkampf_Ov := TextCreate("Comic Sans MS", 7, false, false, xPos+3, yPos+20, 0xFFFFFFFF, " ", true, true)
- Fernkampf_Ov := TextCreate("Comic Sans MS", 7, false, false, xPos+3, yPos+30, 0xFFFFFFFF, " ", true, true)
- Kills_Ov := TextCreate("Comic Sans MS", 7, false, false, xPos+3, yPos+40, 0xFFFFFFFF, " ", true, true)
- Suche_Ov := TextCreate("Comic Sans MS", 7, false, false, xPos+3, yPos+50, 0xFFFFFFFF, " ", true, true)
- Id_Ov := TextCreate("Comic Sans MS", 7, false, false, xPos+3, yPos+60, 0xFFFFFFFF, " ", true, true)
- Maske_Ov := TextCreate("Comic Sans MS", 7, false, false, xPos+3, yPos+70, 0xFFFFFFFF, " ", true, true)
- HP_Ov := TextCreate("Comic Sans MS", 8, false, false, 715, 88, 0xFFFFFFFF, " ", true, true)
- Ov_On := 1
- }
- else
- {
- DestroyAllVisual()
- Ov_On := !Ov_On
- }
- return
- Update_Ov:
- IfWinNotExist, GTA:SA:MP
- Ov_On := !Ov_On
- IfWinNotActive, GTA:SA:MP
- return
- IniRead, Fernkampf, Einstellungen.ini, Daten, Fernkampf, 0
- IniRead, Nahkampf, Einstellungen.ini, Daten, Nahkampf, 0
- IniRead, Nahkampfgeld, Einstellungen.ini, Daten, Nahkampfgeld, 0
- IniRead, Fernkampfgeld, Einstellungen.ini, Daten, Fernkampfgeld, 0
- IniRead, kills, Einstellungen.ini, Daten, kills, 0
- IniRead, tills, Einstellungen.ini, Daten, tills, 0
- IniRead, Tode, Einstellungen.ini, Daten, Tode, 0
- GetZoneName(Zone)
- GetCityName(City)
- HP := GetPlayerHealth()
- GetPlayerPosition(x, y, z, r)
- fps := GetFramerate()
- id := GetPlayerId()
- If(IsPlayerInAnyInterior())
- {
- If(x > 318.199036 && x < 388.445953 && y > 148.873856 && y < 217.235733)
- TextSetString(Standort_Ov, "Standort:{0xFF0000} Stadthalle")
- Else
- TextSetString(Standort_Ov, "Standort:{0x0000FF} Interior")
- }
- else
- {
- If(IsPlayerInNoDM(x, y, z))
- {
- TextSetString(Standort_Ov, "Standort:{0xFF0000} " . zone . ", " . city . "")
- }
- else
- {
- TextSetString(Standort_Ov, "Standort: " . zone . ", " . city . "")
- }
- }
- TextSetString(HP_Ov, "" . HP . "")
- if(nameanzeigen==5)
- {
- TextSetString(Name_Ov, "Name: " . name . " [" . id . "] [" . fps . "]")
- nameanzeigen := 0
- }
- else
- {
- nameanzeigen++
- }
- if(AID == -1 && BID == -1 && CID == -1)
- {
- TextSetString(Suche_Ov, "Du suchst im Moment niemanden "FindAdd)
- }
- else if(AID!=-1)
- {
- TextSetString(Suche_Ov, "Du suchst im Moment: " . AID . ""FindAdd)
- }
- else if(BID!=-1)
- {
- TextSetString(Suche_Ov, "Du zeigst im Moment " . BID . ": " . CID . ""FindAdd)
- }
- If(Nah==1)
- {
- sleep 1000
- Nah := 0
- }
- Nahkampfgeld /= 1000
- Nahkampfgeld := Round(Nahkampfgeld, 0)
- TextSetString(Nahkampf_Ov, "Contracts aus der Naehe: " . Nahkampf . " (" . Nahkampfgeld . "k)")
- if(Fern==1)
- {
- sleep 1000
- Fern := 0
- }
- Fernkampfgeld /= 1000
- Fernkampfgeld := Round(Fernkampfgeld, 0)
- TextSetString(Fernkampf_Ov, "Contracts aus der Ferne : " . Fernkampf . " (" . Fernkampfgeld . "k)")
- if(Masktime>0)
- TextSetString(Maske_Ov, "In " . masktime . "{0xFFFFFF} Sekunden kannst du deine Maske wieder verwenden.")
- else if(Masktime <= 0)
- TextSetString(Maske_Ov, "Du kannst deine Maske verwenden")
- if(Identität>0)
- TextSetString(Id_Ov, "Dein Name ist noch " . Identität . " Sekunden verborgen")
- else
- TextSetString(Id_Ov, " ")
- kd := Round(kills/tode, 2)
- TextSetString(Kills_Ov, "Morde: " . kills . ", Heute: " . tills . ". KD: "kd)
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement