Beiträge von Kevin_CaruZo

    Ja ehm ne ich bekomme keine Errors...
    Ich kann euch die Codes schicken von dem wo er ladet und saved


    Code:
    Function LoadProperty()
    {
    new arrCoords[29][64];
    new strFromFile2[256];
    new File: file = fopen("property.cfg", io_read);
    if (file)
    {
    new idx;
    while (idx < sizeof(HouseInfo))
    {
    fread(file, strFromFile2);
    split(strFromFile2, arrCoords, ',');
    HouseInfo[idx][hEntrancex] = floatstr(arrCoords[0]);
    HouseInfo[idx][hEntrancey] = floatstr(arrCoords[1]);
    HouseInfo[idx][hEntrancez] = floatstr(arrCoords[2]);
    HouseInfo[idx][hExitx] = floatstr(arrCoords[3]);
    HouseInfo[idx][hExity] = floatstr(arrCoords[4]);
    HouseInfo[idx][hExitz] = floatstr(arrCoords[5]);
    HouseInfo[idx][hHealthx] = strval(arrCoords[6]);
    HouseInfo[idx][hHealthy] = strval(arrCoords[7]);
    HouseInfo[idx][hHealthz] = strval(arrCoords[8]);
    HouseInfo[idx][hArmourx] = strval(arrCoords[9]);
    HouseInfo[idx][hArmoury] = strval(arrCoords[10]);
    HouseInfo[idx][hArmourz] = strval(arrCoords[11]);
    printf("HouseInfo hEntrancez %f",HouseInfo[idx][hEntrancez]);
    strmid(HouseInfo[idx][hOwner], arrCoords[12], 0, strlen(arrCoords[12]), 255);
    strmid(HouseInfo[idx][hDiscription], arrCoords[13], 0, strlen(arrCoords[13]), 255);
    HouseInfo[idx][hValue] = strval(arrCoords[14]);
    HouseInfo[idx][hHel] = strval(arrCoords[15]);
    HouseInfo[idx][hArm] = strval(arrCoords[16]);
    HouseInfo[idx][hInt] = strval(arrCoords[17]);
    HouseInfo[idx][hLock] = strval(arrCoords[18]);
    HouseInfo[idx][hOwned] = strval(arrCoords[19]);
    HouseInfo[idx][hRooms] = strval(arrCoords[20]);
    HouseInfo[idx][hRent] = strval(arrCoords[21]);
    HouseInfo[idx][hRentabil] = strval(arrCoords[22]);
    HouseInfo[idx][hTakings] = strval(arrCoords[23]);
    HouseInfo[idx][hVec] = strval(arrCoords[24]);
    if(HouseInfo[idx][hVec] == 457)
    {
    HouseInfo[idx][hVec] = 411;
    }
    HouseInfo[idx][hVcol1] = strval(arrCoords[25]);
    HouseInfo[idx][hVcol2] = strval(arrCoords[26]);
    HouseInfo[idx][hDate] = strval(arrCoords[27]);
    HouseInfo[idx][hLevel] = strval(arrCoords[28]);
    //printf("HouseInfo:%d Owner:%s hTakings %d hVec %d",idx,HouseInfo[idx][hOwner],HouseInfo[idx][hTakings],HouseInfo[idx][hVec]);
    //LOGSPAMM
    idx++;
    }
    fclose(file);
    }
    return 1;
    }
    Da checkt er irgendwas..
    Function Checkprop()
    {
    new olddate;
    new string[256];
    new curdate = getdate();
    for(new h = 0; h < sizeof(HouseInfo); h++)
    {
    if(HouseInfo[h][hOwned] == 1 && HouseInfo[h][hDate] > 9)
    {
    olddate = HouseInfo[h][hDate];
    if(curdate-olddate >= 5)
    {
    HouseInfo[h][hHel] = 0;
    HouseInfo[h][hArm] = 0;
    HouseInfo[h][hHealthx] = 0;
    HouseInfo[h][hHealthy] = 0;
    HouseInfo[h][hHealthz] = 0;
    HouseInfo[h][hArmourx] = 0;
    HouseInfo[h][hArmoury] = 0;
    HouseInfo[h][hArmourz] = 0;
    HouseInfo[h][hLock] = 1;
    HouseInfo[h][hOwned] = 0;
    HouseInfo[h][hVec] = 418;
    HouseInfo[h][hVcol1] = -1;
    HouseInfo[h][hVcol2] = -1;
    strmid(HouseInfo[h][hOwner], "The State", 0, strlen("The State"), 255);
    format(string, sizeof(string), "_",HouseInfo[h][hValue]);
    SendClientMessageToAll(TEAM_Ballas_COLOR, string);
    OnPropUpdate();
    }
    }
    }
    return 1;
    }
    Und hier saved es glaube ich mal :)


    Function OnPropUpdate()
    {
    new idx;
    new File: file2;
    while (idx < sizeof(HouseInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%f,%f,%f,%f,%f,%f,%d,%d,%d,%d,%d,%d,%s,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n",
    HouseInfo[idx][hEntrancex],
    HouseInfo[idx][hEntrancey],
    HouseInfo[idx][hEntrancez],
    HouseInfo[idx][hExitx],
    HouseInfo[idx][hExity],
    HouseInfo[idx][hExitz],
    HouseInfo[idx][hHealthx],
    HouseInfo[idx][hHealthy],
    HouseInfo[idx][hHealthz],
    HouseInfo[idx][hArmourx],
    HouseInfo[idx][hArmoury],
    HouseInfo[idx][hArmourz],
    HouseInfo[idx][hOwner],
    HouseInfo[idx][hDiscription],
    HouseInfo[idx][hValue],
    HouseInfo[idx][hHel],
    HouseInfo[idx][hArm],
    HouseInfo[idx][hInt],
    HouseInfo[idx][hLock],
    HouseInfo[idx][hOwned],
    HouseInfo[idx][hRooms],
    HouseInfo[idx][hRent],
    HouseInfo[idx][hRentabil],
    HouseInfo[idx][hTakings],
    HouseInfo[idx][hVec],
    HouseInfo[idx][hVcol1],
    HouseInfo[idx][hVcol2],
    HouseInfo[idx][hDate],
    HouseInfo[idx][hLevel]);
    if(idx == 0)
    {
    file2 = fopen("property.cfg", io_write);
    }
    else
    {
    file2 = fopen("property.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    idx = 0;
    while (idx < sizeof(BizzInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
    BizzInfo[idx][bOwned],
    BizzInfo[idx][bOwner],
    BizzInfo[idx][bMessage],
    BizzInfo[idx][bExtortion],
    BizzInfo[idx][bEntranceX],
    BizzInfo[idx][bEntranceY],
    BizzInfo[idx][bEntranceZ],
    BizzInfo[idx][bExitX],
    BizzInfo[idx][bExitY],
    BizzInfo[idx][bExitZ],
    BizzInfo[idx][bLevelNeeded],
    BizzInfo[idx][bBuyPrice],
    BizzInfo[idx][bEntranceCost],
    BizzInfo[idx][bTill],
    BizzInfo[idx][bLocked],
    BizzInfo[idx][bInterior],
    BizzInfo[idx][bProducts],
    BizzInfo[idx][bMaxProducts],
    BizzInfo[idx][bPriceProd]);
    if(idx == 0)
    {
    file2 = fopen("bizz.cfg", io_write);
    }
    else
    {
    file2 = fopen("bizz.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    idx = 0;
    while (idx < sizeof(SBizzInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
    SBizzInfo[idx][sbOwned],
    SBizzInfo[idx][sbOwner],
    SBizzInfo[idx][sbMessage],
    SBizzInfo[idx][sbExtortion],
    SBizzInfo[idx][sbEntranceX],
    SBizzInfo[idx][sbEntranceY],
    SBizzInfo[idx][sbEntranceZ],
    SBizzInfo[idx][sbLevelNeeded],
    SBizzInfo[idx][sbBuyPrice],
    SBizzInfo[idx][sbEntranceCost],
    SBizzInfo[idx][sbTill],
    SBizzInfo[idx][sbLocked],
    SBizzInfo[idx][sbInterior],
    SBizzInfo[idx][sbProducts],
    SBizzInfo[idx][sbMaxProducts],
    SBizzInfo[idx][sbPriceProd]);
    if(idx == 0)
    {
    file2 = fopen("sbizz.cfg", io_write);
    }
    else
    {
    file2 = fopen("sbizz.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    idx = 0;
    while (idx < sizeof(TankeInfo))
    {
    new coordsstring[256];
    //Kauf/Verkauft|Besitzer|Message|Teilhaber|X|Y|Z|Kauflevel|Kaufpreis|Tankpreis|Tankkasse|OffenZu|Interior|Products|MaxProducts|PriceProd
    format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
    TankeInfo[idx][tOwned],
    TankeInfo[idx][tOwner],
    TankeInfo[idx][tMessage],
    TankeInfo[idx][tExtortion],
    TankeInfo[idx][tEntranceX],
    TankeInfo[idx][tEntranceY],
    TankeInfo[idx][tEntranceZ],
    TankeInfo[idx][tLevelNeeded],
    TankeInfo[idx][tBuyPrice],
    TankeInfo[idx][tEntranceCost],
    TankeInfo[idx][tTill],
    TankeInfo[idx][tLocked],
    TankeInfo[idx][tInterior],
    TankeInfo[idx][tProducts],
    TankeInfo[idx][tMaxProducts],
    TankeInfo[idx][tPriceProd]);
    if(idx == 0)
    {
    file2 = fopen("fuelstations.cfg", io_write);
    }
    else
    {
    file2 = fopen("fuelstations.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    Update3d();
    }
    return 1;
    }

    Hei Leuts,
    Ich habe ein Problem mit dem Haus system von GNE :)....
    Ich versuche ganze Zeit häuser einzu fügen, aber es geht nicht.


    Es nimmt immer die gleiche Coordinaten..
    Es ersetzt die Datei einfach...
    Und als ich das gelöscht habe, hat sich die Datei wieder erstellt mit den Coords..



    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,0,0,0,,,0,0,0,0,0,0,0,0,0,0,0,0,0,271,0


    Und ich weiß nicht wonach ich im Script suchen sollte..


    Mit freundlichen Grüßen,
    Dr.House

    Ich weiß nicht warum aber ich bekomme den Dialog nicht zu sehen wenn ich in die autos rein steige von dem Autohaus..
    forward FRAC_OnPlayerStateChange(playerid, newstate, oldstate);
    public FRAC_OnPlayerStateChange(playerid, newstate, oldstate){
    if(newstate==PLAYER_STATE_DRIVER){
    new Carid1 = GetPlayerVehicleID(playerid);
    for(new fbl;fbl<sizeof(FactionBuylist);fbl++){
    if(Carid1 == FactionBuylist[fbl][fbCarid]){
    if(IsAllowedFactionToBuy(GetPlayerLeader(playerid))){
    TogglePlayerControllable(playerid,false);
    new fblText[256];
    format(fblText,sizeof(fblText),"{FFFFFF}Möchtest du das Fahrzeug deiner Fraktion kaufen?\n\n{F3FF02}Fahrzeugname: %s\nPreis: $%d\n\n{FFFFFF}Um das Fahrzeug zu kaufen benutze den Button 'Ja', um es nicht zu kaufen den Button 'Nein'.",fCarName[FactionBuylist[fbl][fbVehid]-400],FactionBuylist[fbl][fbPrice]);
    ShowPlayerDialog(playerid,DIALOG_FACTION_CAR_BUY,DIALOG_STYLE_MSGBOX,"{FFFFFF}Fraktionsautohaus:",fblText,"Nein","Ja");
    }else{
    SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht brechtigt Fraktionsfahrzeuge zu kaufen!");
    new Float:pPos[3];
    GetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]);
    SetPlayerPos(playerid,pPos[0]+2.5,pPos[1]+2.5,pPos[2]);
    }break;
    }
    }
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(FactionCars[fc][fCarid] == GetPlayerVehicleID(playerid)){
    for(new f;f<5;f++){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL || GetPlayerFaction(playerid) == FactionCars[fc][fFaction][f])
    return true;
    }
    SendClientMessage(playerid,FACTION_COL_GREY,"Du bestitzt für dieses Fahrzeug keine Schlüssel, du verlässt das Fahrzeug.");
    RemovePlayerFromVehicle(playerid);
    return true;
    }
    }
    }
    }return 1;
    }

    Ich habe einen Problem undzwar speichern sich die Bizzes nicht.
    Ich weiß nicht was daran liegen kann. Ich verkafue die mit /asellbiz und es speichert sich nicht...
    Function OnPropUpdate()
    {
    new idx;
    new File: file2;
    while (idx < sizeof(HouseInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%f,%f,%f,%f,%f,%f,%d,%d,%d,%d,%d,%d,%s,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n",
    HouseInfo[idx][hEntrancex],
    HouseInfo[idx][hEntrancey],
    HouseInfo[idx][hEntrancez],
    HouseInfo[idx][hExitx],
    HouseInfo[idx][hExity],
    HouseInfo[idx][hExitz],
    HouseInfo[idx][hHealthx],
    HouseInfo[idx][hHealthy],
    HouseInfo[idx][hHealthz],
    HouseInfo[idx][hArmourx],
    HouseInfo[idx][hArmoury],
    HouseInfo[idx][hArmourz],
    HouseInfo[idx][hOwner],
    HouseInfo[idx][hDiscription],
    HouseInfo[idx][hValue],
    HouseInfo[idx][hHel],
    HouseInfo[idx][hArm],
    HouseInfo[idx][hInt],
    HouseInfo[idx][hLock],
    HouseInfo[idx][hOwned],
    HouseInfo[idx][hRooms],
    HouseInfo[idx][hRent],
    HouseInfo[idx][hRentabil],
    HouseInfo[idx][hTakings],
    HouseInfo[idx][hVec],
    HouseInfo[idx][hVcol1],
    HouseInfo[idx][hVcol2],
    HouseInfo[idx][hDate],
    HouseInfo[idx][hLevel]);
    if(idx == 0)
    {
    file2 = fopen("property.cfg", io_write);
    }
    else
    {
    file2 = fopen("property.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    //idx = 0;
    while (idx < sizeof(BizzInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
    BizzInfo[idx][bOwned],
    BizzInfo[idx][bOwner],
    BizzInfo[idx][bMessage],
    BizzInfo[idx][bExtortion],
    BizzInfo[idx][bEntranceX],
    BizzInfo[idx][bEntranceY],
    BizzInfo[idx][bEntranceZ],
    BizzInfo[idx][bExitX],
    BizzInfo[idx][bExitY],
    BizzInfo[idx][bExitZ],
    BizzInfo[idx][bLevelNeeded],
    BizzInfo[idx][bBuyPrice],
    BizzInfo[idx][bEntranceCost],
    BizzInfo[idx][bTill],
    BizzInfo[idx][bLocked],
    BizzInfo[idx][bInterior],
    BizzInfo[idx][bProducts],
    BizzInfo[idx][bMaxProducts],
    BizzInfo[idx][bPriceProd]);
    if(idx == 0)
    {
    file2 = fopen("bizz.cfg", io_write);
    }
    else
    {
    file2 = fopen("bizz.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    idx = 0;
    while (idx < sizeof(SBizzInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
    SBizzInfo[idx][sbOwned],
    SBizzInfo[idx][sbOwner],
    SBizzInfo[idx][sbMessage],
    SBizzInfo[idx][sbExtortion],
    SBizzInfo[idx][sbEntranceX],
    SBizzInfo[idx][sbEntranceY],
    SBizzInfo[idx][sbEntranceZ],
    SBizzInfo[idx][sbLevelNeeded],
    SBizzInfo[idx][sbBuyPrice],
    SBizzInfo[idx][sbEntranceCost],
    SBizzInfo[idx][sbTill],
    SBizzInfo[idx][sbLocked],
    SBizzInfo[idx][sbInterior],
    SBizzInfo[idx][sbProducts],
    SBizzInfo[idx][sbMaxProducts],
    SBizzInfo[idx][sbPriceProd]);
    if(idx == 0)
    {
    file2 = fopen("sbizz.cfg", io_write);
    }
    else
    {
    file2 = fopen("sbizz.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    idx = 0;
    while (idx < sizeof(TankeInfo))
    {
    new coordsstring[256];
    //Kauf/Verkauft|Besitzer|Message|Teilhaber|X|Y|Z|Kauflevel|Kaufpreis|Tankpreis|Tankkasse|OffenZu|Interior|Products|MaxProducts|PriceProd
    format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
    TankeInfo[idx][tOwned],
    TankeInfo[idx][tOwner],
    TankeInfo[idx][tMessage],
    TankeInfo[idx][tExtortion],
    TankeInfo[idx][tEntranceX],
    TankeInfo[idx][tEntranceY],
    TankeInfo[idx][tEntranceZ],
    TankeInfo[idx][tLevelNeeded],
    TankeInfo[idx][tBuyPrice],
    TankeInfo[idx][tEntranceCost],
    TankeInfo[idx][tTill],
    TankeInfo[idx][tLocked],
    TankeInfo[idx][tInterior],
    TankeInfo[idx][tProducts],
    TankeInfo[idx][tMaxProducts],
    TankeInfo[idx][tPriceProd]);
    if(idx == 0)
    {
    file2 = fopen("fuelstations.cfg", io_write);
    }
    else
    {
    file2 = fopen("fuelstations.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    Update3d();
    }
    return 1;
    }

    Ich habe einen Problem undzwar werden die Punkte nicht erhöht, wenn man einen Gegner tötet.
    Und der User der den anderen killt soll so 10k bekommen..
    und beim Gewinnen soll die Fkasse 25k bekommen.



    forward GW_OnPlayerDeath(playerid, killerid, reason);
    public GW_OnPlayerDeath(playerid, killerid, reason){
    if(IsPlayerConnected(killerid)){
    if(IsAFightFaction(GetPlayerFaction(killerid))){
    new TempZone = GetPlayerFightzone(killerid);
    if(TempZone != -255){
    if(FightSystem[TempZone][fsFightTime] && FightSystem[TempZone][fsAttackFaction] != -255){


    if(FightSystem[TempZone][fsOwnerFaction] ==
    GetPlayerFaction(killerid) || FightSystem[TempZone][fsAttackFaction] ==
    GetPlayerFaction(killerid)){
    if(IsAFightFaction(GetPlayerFaction(playerid))){
    new fsText[64];


    if(FightSystem[TempZone][fsAttackFaction] ==
    GetPlayerFaction(killerid) &&
    FightSystem[TempZone][fsOwnerFaction] == GetPlayerFaction(playerid)){
    PlayerPlaySound(killerid,1084,0.0,0.0,0.0);
    GameTextForPlayer(killerid,"~g~GANGFIGHTKILL",3125,3);
    GameTextForPlayer(playerid,"~r~GANGFIGHTKILL",3125,3);
    FightSystem[TempZone][fsKillsOfAttack]++;
    if(FightSystem[TempZone][fsKillsOfOwner] > FightSystem[TempZone][fsKillsOfAttack]){
    format(fsText,sizeof(fsText),"~g~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsOwnerFaction]));
    TextDrawSetString(FightSystem[TempZone][fsWinFaction],fsText);
    format(fsText,sizeof(fsText),"~g~%d Kills",FightSystem[TempZone][fsKillsOfOwner]);
    TextDrawSetString(FightSystem[TempZone][fsWinKills],fsText);
    format(fsText,sizeof(fsText),"~r~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsAttackFaction]));
    TextDrawSetString(FightSystem[TempZone][fsLoseFaction],fsText);
    format(fsText,sizeof(fsText),"~r~%d Kills",FightSystem[TempZone][fsKillsOfAttack]);
    TextDrawSetString(FightSystem[TempZone][fsLoseKills],fsText);
    }
    else if(FightSystem[TempZone][fsKillsOfAttack] > FightSystem[TempZone][fsKillsOfOwner]){
    format(fsText,sizeof(fsText),"~g~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsAttackFaction]));
    TextDrawSetString(FightSystem[TempZone][fsWinFaction],fsText);
    format(fsText,sizeof(fsText),"~g~%d Kills",FightSystem[TempZone][fsKillsOfAttack]);
    TextDrawSetString(FightSystem[TempZone][fsWinKills],fsText);
    format(fsText,sizeof(fsText),"~r~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsOwnerFaction]));
    TextDrawSetString(FightSystem[TempZone][fsLoseFaction],fsText);
    format(fsText,sizeof(fsText),"~r~%d Kills",FightSystem[TempZone][fsKillsOfOwner]);
    TextDrawSetString(FightSystem[TempZone][fsLoseKills],fsText);
    }else{
    format(fsText,sizeof(fsText),"~y~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsOwnerFaction]));
    TextDrawSetString(FightSystem[TempZone][fsWinFaction],fsText);
    format(fsText,sizeof(fsText),"~y~%d Kills",FightSystem[TempZone][fsKillsOfOwner]);
    TextDrawSetString(FightSystem[TempZone][fsWinKills],fsText);
    format(fsText,sizeof(fsText),"~y~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsAttackFaction]));
    TextDrawSetString(FightSystem[TempZone][fsLoseFaction],fsText);
    format(fsText,sizeof(fsText),"~y~%d Kills",FightSystem[TempZone][fsKillsOfAttack]);
    TextDrawSetString(FightSystem[TempZone][fsLoseKills],fsText);
    }
    }


    else if(FightSystem[TempZone][fsOwnerFaction] ==
    GetPlayerFaction(killerid) &&
    FightSystem[TempZone][fsAttackFaction] == GetPlayerFaction(playerid)){
    PlayerPlaySound(killerid,1084,0.0,0.0,0.0);
    GameTextForPlayer(killerid,"~g~GANGFIGHTKILL",3125,3);
    GameTextForPlayer(playerid,"~r~GANGFIGHTKILL",3125,3);
    FightSystem[TempZone][fsKillsOfOwner]++;
    if(FightSystem[TempZone][fsKillsOfOwner] > FightSystem[TempZone][fsKillsOfAttack]){
    format(fsText,sizeof(fsText),"~g~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsOwnerFaction]));
    TextDrawSetString(FightSystem[TempZone][fsWinFaction],fsText);
    format(fsText,sizeof(fsText),"~g~%d Kills",FightSystem[TempZone][fsKillsOfOwner]);
    TextDrawSetString(FightSystem[TempZone][fsWinKills],fsText);
    format(fsText,sizeof(fsText),"~r~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsAttackFaction]));
    TextDrawSetString(FightSystem[TempZone][fsLoseFaction],fsText);
    format(fsText,sizeof(fsText),"~r~%d Kills",FightSystem[TempZone][fsKillsOfAttack]);
    TextDrawSetString(FightSystem[TempZone][fsLoseKills],fsText);
    }
    else if(FightSystem[TempZone][fsKillsOfAttack] > FightSystem[TempZone][fsKillsOfOwner]){
    format(fsText,sizeof(fsText),"~g~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsAttackFaction]));
    TextDrawSetString(FightSystem[TempZone][fsWinFaction],fsText);
    format(fsText,sizeof(fsText),"~g~%d Kills",FightSystem[TempZone][fsKillsOfAttack]);
    TextDrawSetString(FightSystem[TempZone][fsWinKills],fsText);
    format(fsText,sizeof(fsText),"~r~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsOwnerFaction]));
    TextDrawSetString(FightSystem[TempZone][fsLoseFaction],fsText);
    format(fsText,sizeof(fsText),"~r~%d Kills",FightSystem[TempZone][fsKillsOfOwner]);
    TextDrawSetString(FightSystem[TempZone][fsLoseKills],fsText);
    }else{
    format(fsText,sizeof(fsText),"~y~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsOwnerFaction]));
    TextDrawSetString(FightSystem[TempZone][fsWinFaction],fsText);
    format(fsText,sizeof(fsText),"~y~%d Kills",FightSystem[TempZone][fsKillsOfOwner]);
    TextDrawSetString(FightSystem[TempZone][fsWinKills],fsText);
    format(fsText,sizeof(fsText),"~y~%s",GetFactionNameOfFaction(FightSystem[TempZone][fsAttackFaction]));
    TextDrawSetString(FightSystem[TempZone][fsLoseFaction],fsText);
    format(fsText,sizeof(fsText),"~y~%d Kills",FightSystem[TempZone][fsKillsOfAttack]);
    TextDrawSetString(FightSystem[TempZone][fsLoseKills],fsText);
    }
    Das gehört noch dazu:
    public FightUpdate_1()
    {
    for(new fs;fs<sizeof(FightSystem);fs++)
    {
    if(FightSystem[fs][fsFightTime] && FightSystem[fs][fsAttackFaction] != -255)
    {
    new fsText[128];
    if(FightSystem[fs][fsCTF][0] != -255)
    {
    if(IsPlayerConnected(FightSystem[fs][fsCTF][0]))
    {
    if(IsPlayerInRangeOfPoint(FightSystem[fs][fsCTF][0],5.0,FightSystem[fs][fsCTFx],FightSystem[fs][fsCTFy],FightSystem[fs][fsCTFz]))
    {
    FightSystem[fs][fsCTF][2] = 0;
    FightSystem[fs][fsCTF][1]++;
    format(fsText,sizeof(fsText),"~n~~n~~n~~n~~n~~n~~n~~w~Bonus in:~n~~r~%d ~w~Sekunden",(60-FightSystem[fs][fsCTF][1]));
    GameTextForPlayer(FightSystem[fs][fsCTF][0],fsText,1250,3);
    if(FightSystem[fs][fsCTF][1] >= 60)
    {
    new fsName[MAX_PLAYER_NAME];
    GetPlayerName(FightSystem[fs][fsCTF][0],fsName,MAX_PLAYER_NAME);
    FightSystem[fs][fsCTF][1] = 0;
    format(fsText,sizeof(fsText),">>> Fight <<< | %s hat die Flagge erobert!",fsName); // Hier sollte er Geld bekommen um die 5k
    for(new i;i<MAX_PLAYERS;i++)
    {
    if(IsPlayerConnected(i))
    {
    if(GetPlayerFaction(i) == FightSystem[fs][fsOwnerFaction] || GetPlayerFaction(i) == FightSystem[fs][fsAttackFaction])
    {
    PlayerPlaySound(i,1058,0.0,0.0,0.0);
    SendClientMessage(i,FS_COL_YELLOW,fsText);


    fsType = 2;
    format(fsTextToOwner,sizeof(fsTextToOwner),">>> Fight <<< | Ihr habt gewonnen..."); //Die gewonnen haben sollen 25k bekommen auf die Fkasse
    format(fsTextToAttack,sizeof(fsTextToAttack),">>> Fight <<< | Ihr habt verloren...");

    }
    else if(FightSystem[fs][fsKillsOfAttack] > FightSystem[fs][fsKillsOfOwner])
    {
    fsType = 3;
    format(fsTextToOwner,sizeof(fsTextToOwner),">>> Fight <<< | Ihr habt verloren...");
    format(fsTextToAttack,sizeof(fsTextToAttack),">>> Fight <<< | Ihr habt gewonnen...");
    }
    else
    {
    fsType = 1;
    format(fsTextToOwner,sizeof(fsTextToOwner),">>> Fight <<< | Unentschieden, ihr behaltet euer gebiet.");
    format(fsTextToAttack,sizeof(fsTextToAttack),">>> Fight <<< | Unentschieden, ihr müsst euch mehr antrengen.");
    }
    for(new i;i<MAX_PLAYERS;i++)
    {
    if(IsPlayerConnected(i))
    {
    GangZoneStopFlashForPlayer(i,FightSystem[fs][fsZoneID]);
    if(fsType == 3)
    {
    GangZoneHideForPlayer(i,FightSystem[fs][fsZoneID]);
    GangZoneShowForPlayer(i,FightSystem[fs][fsZoneID],GetZoneColorOfFaction(FightSystem[fs][fsAttackFaction]));
    }
    if(GetPlayerFaction(i) == FightSystem[fs][fsOwnerFaction])
    {
    PlayerPlaySound(i,1058,0.0,0.0,0.0);
    TextDrawHideForPlayer(i,Fight);
    TextDrawHideForPlayer(i,FightUnderline);
    TextDrawHideForPlayer(i,FightSystem[fs][fsWinFaction]);
    TextDrawHideForPlayer(i,FightSystem[fs][fsWinKills]);
    TextDrawHideForPlayer(i,FightSystem[fs][fsLoseFaction]);
    TextDrawHideForPlayer(i,FightSystem[fs][fsLoseKills]);
    TextDrawHideForPlayer(i,FightSystem[fs][fsTime]);
    SendClientMessage(i,FS_COL_YELLOW,fsTextToOwner);
    if(fsType == 3 && GetPlayerFightzone(i) == fs)
    AC_BS_SetPlayerHealth(i,0.0);
    }
    else if(GetPlayerFaction(i) == FightSystem[fs][fsAttackFaction])
    {
    PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0);
    TextDrawHideForPlayer(i,Fight);
    TextDrawHideForPlayer(i,FightUnderline);
    TextDrawHideForPlayer(i,FightSystem[fs][fsWinFaction]);
    TextDrawHideForPlayer(i,FightSystem[fs][fsWinKills]);
    TextDrawHideForPlayer(i,FightSystem[fs][fsLoseFaction]);
    TextDrawHideForPlayer(i,FightSystem[fs][fsLoseKills]);
    TextDrawHideForPlayer(i,FightSystem[fs][fsTime]);
    SendClientMessage(i,FS_COL_YELLOW,fsTextToAttack);
    if(fsType != 3 && GetPlayerFightzone(i) == fs)
    AC_BS_SetPlayerHealth(i,0.0);
    }
    }
    }
    FightSystem[fs][fsKillsOfAttack] = 0;
    FightSystem[fs][fsKillsOfOwner] = 0;
    if(fsType == 3)
    FightSystem[fs][fsOwnerFaction] = FightSystem[fs][fsAttackFaction];
    FightSystem[fs][fsAttackFaction] = -255;
    FightSystem[fs][fsCTF][0] = -255;
    FraktionsKasse[fraktion] += 25000;
    }
    }
    if(FightSystem[fs][fsLastFight])
    FightSystem[fs][fsLastFight]--;
    }
    return 1;
    }


    public Fight_Init()
    {
    Fight = TextDrawCreate(88.000000,244.000000,"Fight:~n~_~n~_~n~_~n~_~n~_");
    TextDrawUseBox(Fight,1);
    TextDrawBoxColor(Fight,0x00000066);
    TextDrawTextSize(Fight,102.000000,124.000000);
    TextDrawAlignment(Fight,2);
    TextDrawBackgroundColor(Fight,0xff000033);
    TextDrawFont(Fight,2);
    TextDrawLetterSize(Fight,0.499999,1.000000);
    TextDrawColor(Fight,0xffffffff);
    TextDrawSetOutline(Fight,1);
    TextDrawSetProportional(Fight,1);
    FightUnderline = TextDrawCreate(91.000000,274.000000,".");
    TextDrawAlignment(FightUnderline,2);
    TextDrawBackgroundColor(FightUnderline,0x000000ff);
    TextDrawFont(FightUnderline,3);
    TextDrawLetterSize(FightUnderline,14.799997,1.000000);
    TextDrawColor(FightUnderline,0xffffffff);
    TextDrawSetProportional(FightUnderline,1);
    TextDrawSetShadow(FightUnderline,1);
    if(!fexist("Fightzones.cfg"))
    {
    new File:fFile=fopen("Fightzones.cfg",io_write);
    for(new fs;fs<sizeof(FightSystem);fs++)
    fwrite(fFile,"-14 -14 0 0 0\r\n");
    fclose(fFile);
    }
    new File:fFile=fopen("Fightzones.cfg",io_read),Content[64],fs;
    while(fread(fFile,Content) && fs < sizeof(FightSystem)){
    FightSystem[fs][fsWinFaction] = TextDrawCreate(26.000000,256.000000," ");
    TextDrawSetProportional(FightSystem[fs][fsWinFaction],1);
    TextDrawAlignment(FightSystem[fs][fsWinFaction],0);
    TextDrawBackgroundColor(FightSystem[fs][fsWinFaction],0x000000ff);
    TextDrawFont(FightSystem[fs][fsWinFaction],2);
    TextDrawLetterSize(FightSystem[fs][fsWinFaction],0.199999,1.000000);
    TextDrawColor(FightSystem[fs][fsWinFaction],0xffffffff);
    TextDrawSetOutline(FightSystem[fs][fsWinFaction],1);
    FightSystem[fs][fsLoseFaction] = TextDrawCreate(26.000000,267.000000," ");
    TextDrawSetProportional(FightSystem[fs][fsLoseFaction],1);
    TextDrawSetOutline(FightSystem[fs][fsLoseFaction],1);
    TextDrawColor(FightSystem[fs][fsLoseFaction],0xffffffff);
    TextDrawFont(FightSystem[fs][fsLoseFaction],2);
    TextDrawLetterSize(FightSystem[fs][fsLoseFaction],0.199999,0.899999);
    TextDrawBackgroundColor(FightSystem[fs][fsLoseFaction],0x000000ff);
    TextDrawAlignment(FightSystem[fs][fsLoseFaction],0);
    FightSystem[fs][fsWinKills] = TextDrawCreate(107.000000,256.000000," ");
    TextDrawSetProportional(FightSystem[fs][fsWinKills],1);
    TextDrawSetOutline(FightSystem[fs][fsWinKills],1);
    TextDrawColor(FightSystem[fs][fsWinKills],0xffffffff);
    TextDrawSetShadow(FightSystem[fs][fsWinKills],1);
    TextDrawFont(FightSystem[fs][fsWinKills],2);
    TextDrawLetterSize(FightSystem[fs][fsWinKills],0.199999,1.000000);
    TextDrawBackgroundColor(FightSystem[fs][fsWinKills],0x000000ff);
    TextDrawAlignment(FightSystem[fs][fsWinKills],0);
    FightSystem[fs][fsLoseKills] = TextDrawCreate(107.000000,267.000000," ");
    TextDrawSetProportional(FightSystem[fs][fsLoseKills],1);
    TextDrawSetShadow(FightSystem[fs][fsLoseKills],1);
    TextDrawSetOutline(FightSystem[fs][fsLoseKills],1);
    TextDrawColor(FightSystem[fs][fsLoseKills],0xffffffff);
    TextDrawFont(FightSystem[fs][fsLoseKills],2);
    TextDrawLetterSize(FightSystem[fs][fsLoseKills],0.199999,1.000000);
    TextDrawBackgroundColor(FightSystem[fs][fsLoseKills],0x000000ff);
    TextDrawAlignment(FightSystem[fs][fsLoseKills],0);
    FightSystem[fs][fsTime] = TextDrawCreate(26.000000,286.000000," ");
    TextDrawColor(FightSystem[fs][fsTime],0xffffffff);
    TextDrawAlignment(FightSystem[fs][fsTime],0);
    TextDrawBackgroundColor(FightSystem[fs][fsTime],0x000000ff);
    TextDrawFont(FightSystem[fs][fsTime],2);
    TextDrawLetterSize(FightSystem[fs][fsTime],0.199999,0.899999);
    TextDrawSetProportional(FightSystem[fs][fsTime],1);
    StripNewLine(Content);
    sscanf(Content,"dddddd",FightSystem[fs][fsOwnerFaction],FightSystem[fs][fsAttackFaction],FightSystem[fs][fsKillsOfOwner],FightSystem[fs][fsKillsOfAttack],FightSystem[fs][fsFightTime],FightSystem[fs][fsFightTimeCool]);
    FightSystem[fs][fsCTF][0] = -255;
    FightSystem[fs][fsCTF][1] = 0;
    FightSystem[fs][fsCTF][2] = 0;
    FightSystem[fs][fsLastFight] = 0;
    FightSystem[fs][fsZoneID] = GangZoneCreate(FightSystem[fs][fsMinX],FightSystem[fs][fsMinY],FightSystem[fs][fsMaxX],FightSystem[fs][fsMaxY]);
    FightSystem[fs][fsFlag] = CreatePickup(1314,1,FightSystem[fs][fsCTFx],FightSystem[fs][fsCTFy],FightSystem[fs][fsCTFz],-1);
    if(FightSystem[fs][fsFightTime] && FightSystem[fs][fsAttackFaction] != -255)
    {
    new fsText[64];
    format(fsText,sizeof(fsText),"Verbl. Zeit: %d Minuten",FightSystem[fs][fsFightTime]);
    TextDrawSetString(FightSystem[fs][fsTime],fsText);
    if(FightSystem[fs][fsKillsOfOwner] > FightSystem[fs][fsKillsOfAttack])
    {
    format(fsText,sizeof(fsText),"~g~%s",GetFactionNameOfFaction(FightSystem[fs][fsOwnerFaction]));
    TextDrawSetString(FightSystem[fs][fsWinFaction],fsText);
    format(fsText,sizeof(fsText),"~g~%d Kills",FightSystem[fs][fsKillsOfOwner]);
    TextDrawSetString(FightSystem[fs][fsWinKills],fsText);
    format(fsText,sizeof(fsText),"~r~%s",GetFactionNameOfFaction(FightSystem[fs][fsAttackFaction]));
    TextDrawSetString(FightSystem[fs][fsLoseFaction],fsText);
    format(fsText,sizeof(fsText),"~r~%d Kills",FightSystem[fs][fsKillsOfAttack]);
    TextDrawSetString(FightSystem[fs][fsLoseKills],fsText);
    }
    else if(FightSystem[fs][fsKillsOfAttack] > FightSystem[fs][fsKillsOfOwner])
    {
    format(fsText,sizeof(fsText),"~g~%s",GetFactionNameOfFaction(FightSystem[fs][fsAttackFaction]));
    TextDrawSetString(FightSystem[fs][fsWinFaction],fsText);
    format(fsText,sizeof(fsText),"~g~%d Kills",FightSystem[fs][fsKillsOfAttack]);
    TextDrawSetString(FightSystem[fs][fsWinKills],fsText);
    format(fsText,sizeof(fsText),"~r~%s",GetFactionNameOfFaction(FightSystem[fs][fsOwnerFaction]));
    TextDrawSetString(FightSystem[fs][fsLoseFaction],fsText);
    format(fsText,sizeof(fsText),"~r~%d Kills",FightSystem[fs][fsKillsOfOwner]);
    TextDrawSetString(FightSystem[fs][fsLoseKills],fsText);
    }
    else
    {
    format(fsText,sizeof(fsText),"~y~%s",GetFactionNameOfFaction(FightSystem[fs][fsOwnerFaction]));
    TextDrawSetString(FightSystem[fs][fsWinFaction],fsText);
    format(fsText,sizeof(fsText),"~y~%d Kills",FightSystem[fs][fsKillsOfOwner]);
    TextDrawSetString(FightSystem[fs][fsWinKills],fsText);
    format(fsText,sizeof(fsText),"~y~%s",GetFactionNameOfFaction(FightSystem[fs][fsAttackFaction]));
    TextDrawSetString(FightSystem[fs][fsLoseFaction],fsText);
    format(fsText,sizeof(fsText),"~y~%d Kills",FightSystem[fs][fsKillsOfAttack]);
    TextDrawSetString(FightSystem[fs][fsLoseKills],fsText);
    }
    }
    for(new i;i<MAX_PLAYERS;i++)
    {
    if(IsPlayerConnected(i))
    {
    SetPVarInt(i,"Spawned",1);
    GangZoneShowForPlayer(i,FightSystem[fs][fsZoneID],GetZoneColorOfFaction(FightSystem[fs][fsOwnerFaction]));
    if(FightSystem[fs][fsAttackFaction] && FightSystem[fs][fsFightTime])
    {
    GangZoneFlashForPlayer(i,FightSystem[fs][fsZoneID],GetZoneColorOfFaction(FightSystem[fs][fsAttackFaction]));
    if(GetPlayerFaction(i) == FightSystem[fs][fsAttackFaction] || GetPlayerFaction(i) == FightSystem[fs][fsOwnerFaction])
    {
    TextDrawShowForPlayer(i,Fight);
    TextDrawShowForPlayer(i,FightUnderline);
    TextDrawShowForPlayer(i,FightSystem[fs][fsWinFaction]);
    TextDrawShowForPlayer(i,FightSystem[fs][fsLoseFaction]);
    TextDrawShowForPlayer(i,FightSystem[fs][fsWinKills]);
    TextDrawShowForPlayer(i,FightSystem[fs][fsLoseKills]);
    TextDrawShowForPlayer(i,FightSystem[fs][fsTime]);
    }
    }
    }
    }
    fs++;
    }
    fclose(fFile);
    FightTimer[0] = SetTimer("FightUpdate_1",1003,true);
    FightTimer[1] = SetTimer("FightUpdate_2",60017,true);
    return 1;
    }


    //push
    //edit

    Danke ParadoxDE,


    Ich helfe gerne.


    Mit freundlichen Grüßen,

    Dr.House


    Danke @thetvMt2,
    Ich habe nur vergessen hinzuschreiben, das ich das geändert habe
    Ich biete immernoch diesen Service an!
    Skype: noskitoLP
    Forum: PN


    Mit freundlichen Grüßen
    Dr.House

    Hallo Leute,


    hiermit biete ich mich als TeamSpeak³ Techniker und als Forum Techniker an!


    Ich heiße Kevin K. bin 19 Jahre alt.
    Ich mache derzeit eine Ausbildung zum Informationstechnischer Assistenten (ITA) und nebenbei noch einen Fachabi.
    Zu meinen Hobbies gehören Programmieren(JAVA, PHP), TeamSpeak3 Server verwalten und Foren verwalten.
    Nebenbei arbeite ich auch beim Real sowie in einem PC Laden (Nur-Computer.com).


    Ich bin eher der ruhige Typ, der auch in stille arbeitet, sowie die anderen Leuten behaupten.


    Seitdem ich SA:MP(2010) anfing, hab ich mich auch während dessen für TeamSpeak³ und Foren interessiert.
    Ich kenne mich sehr gut mit dem erweitertem Rechte System aus sowie in allen Foren Softwaren von Woltlab.


    Je nach Aufwand, nehme ich Geld für's einrichten.
    Für kleine Arbeiten, die 5 Minuten dauern, nehme ich kein Geld, das mach ich noch kostenfrei.


    Mein Service:

    • TeamSpeak3 Server einrichten/konfigurieren/sponsoren
    • Foren einrichten/konfigurieren

    Ich war bei dem Sponsoring "RKS-Sponsoring.de" tätig und war da auch Geschäftsleitung sowie Server Techniker.
    Ich werde eine 7 jährige Erfahrung mitbringen und werde für jedes Projekt da sein.
    Ihr könnt mich hier eine private Nachricht schreiben oder auch in Skype anschreiben meine Daten sind hier im Forum aufzufinden.
    Ich helfe gerne, die sich nicht gut mit TeamSpeak3 auskennen.


    Wie ihr mich beauftragen könnt.

    TeamSpeak:


    Pastebin.com link schicken, da wo drinne steht, was ich dort machen muss auf dem TeamSpeak3 Server.
    Die TeamSpeak3 IP sowie einen Token hinterlassen.


    Forum:


    Pastebin.com link schicken, da wo drinne steht, was ich dort machen muss auf dem Forum.
    Den ForumLink und einen Benutzer erstellen und auch hinterlassen.




    Mit freundlichen Grüßen,
    Kevin_CaruZo