Killzähler Problem

  • Gui, 1:Destroy
    Gui, 1:Add, Picture, x-8 y0 w1080 h610 , %A_ScriptDir%\gui.png
    Gui, 1:Add, Picture, x342 y30 w150 h70 +BackgroundTrans, %A_Scriptdir%\GUIHeader.png
    Gui, 1:Font, S15 CWhite Bold, Arial
    Gui, 1:Add, Text, x692 y520 w130 h30 +BackgroundTrans gsafeest, Speichern
    Gui, 1:Add, Text, x552 y520 w120 h30 +BackgroundTrans gback, Zurück
    Gui, 1:Add, Text, x362 y520 w140 h30 +BackgroundTrans gebinds, Eigene Binds
    Gui, 1:Add, Text, x12 y140 +BackgroundTrans, Killspruch
    Gui, 1:Add, GroupBox, x2 y148 w360 h110 +BackgroundTrans,
    Gui, 1:Add, Text, x412 y140 +BackgroundTrans, Todesspruch
    Gui, 1:Add, GroupBox, x402 y148 w380 h110 +BackgroundTrans,
    Gui, 1:Font, S10 CRed, Arial
    Gui, 1:Add, Text, x12 y170 +BackgroundTrans, Verfügbare Variablen:`n[KILL] - Kills Gesamt`n[ZONE] - Aktuelle Zone`n[CITY] - Aktuelle Stadt
    Gui, 1:Add, Text, x412 y170 +BackgroundTrans, Verfügbare Variablen:`n[TOD] - Tode Gesamt`n[ZONE] - Aktuelle Zone`n[CITY] - Aktuelle Stadt
    Gui, 1:Font, S10 CDefault, Arial
    Gui, 1:Add, Edit, x12 y280 w350 h50 kspruch, %kspruch%
    Gui, 1:Add, Edit, x402 y280 w370 h50 tspruch, %tspruch%
    Gui, 1:Font, S12 CBlack, Arial
    if(csafer == 1)
    {
    Gui, 1:Add, CheckBox, x12 y350 w190 h30 +BackgroundTrans +Checked vcsafe, Chatlog Safe ( 30 Min )
    } else {
    Gui, 1:Add, CheckBox, x12 y350 w190 h30 +BackgroundTrans vcsafe, Chatlog Safe ( 30 Min )
    }
    Gui, 1:Show, w864 h593, Binder
    return


    safe:
    GuiControlGet, kspruch,, kspruch
    GuiControlGet, tspruch,, tspruch
    GuiControlGet, csafe,, csafe
    if(casfe == 0)
    {
    csafe := 0
    } else if(csafe == 1)
    {
    csafe := 1
    }
    IniWrite, %csafe%, Daten.ini, Chatlog, Safer
    IniWrite, %kspruch%, Daten.ini, Sprüche, Kill Spruch
    IniWrite, %tspruch%, Daten.ini, Sprüche, Tod Spruch
    MsgBox, 64, Speichern, Erfolgreich gespeichert, 1
    Reload
    return



    Numpad1::
    KD := Round(Kills/Deaths, 3)
    Zone := GetPlayeRZone()
    City := GetPlayerCity()
    HP := GetPlayerHealth()
    Kills ++
    DKills ++
    Streak ++
    IniWrite, %Kills%, Daten.ini, Stats, Kills
    IniWrite, %Streak%, Daten.ini, Stats, Streak
    IniWrite, %DKills%, Daten.ini, %A_DD%%A_MM%%A_Year%, DKills
    AddChatMessage("{FFFFFF}| {0489B1}Giordano-Binder {FFFFFF}| Tages Kills: {FFBF00}" DKills "{FFFFFF} | Streak: {FFBF00}" Streak "{FFFFFF} | KD: {FFBF00}" KD)
    kspruch := RegExReplace(kspruch, "<Kills>", "" Kills "")
    kspruch := RegExReplace(kspruch, "<Deaths>", "" Deaths "")
    kspruch := RegExReplace(kspruch, "<Streak>", "" Streak "")
    kspruch := RegExReplace(kspruch, "<KD>", "" KD "")
    kspruch := RegExReplace(kspruch, "<Zone>", "" Zone "")
    kspruch := RegExReplace(kspruch, "<City>", "" City "")
    kspruch := RegExReplace(kspruch, "<HP>", "" HP "")
    SendChat(" /f " kspruch " ")
    return


    So bearbeitet dennoch das selbe Problem das er nicht die Kills setzt im /f