Warning help

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • HEy ich wollte Fragen wie ich diesen Warning behebe : tag mismatch



    Function LoadGwZone()
    {
    new arrCoords[8][64];
    new strFromFile2[256];
    new File: file = fopen("gangzones.cfg", io_read);
    if (file)
    {
    new idx;
    while (idx < GangZone_Index)
    {


    fread(file, strFromFile2);
    split(strFromFile2, arrCoords, ',');
    Gebiete[idx][gOwner] = floatstr(arrCoords[1]); // hier ist der Warning
    Gebiete[idx][gMinX] = floatstr(arrCoords[2]);
    Gebiete[idx][gMinY] = floatstr(arrCoords[3]);
    Gebiete[idx][gMaxX] = floatstr(arrCoords[4]);
    Gebiete[idx][gMaxY] = floatstr(arrCoords[5]);
    printf("Gangwar Loadet %d loadad: %d,%f,%f,%f,%f",idx,
    Gebiete[idx][gOwner],
    Gebiete[idx][gMinX],
    Gebiete[idx][gMinY],
    Gebiete[idx][gMaxX],
    Gebiete[idx][gMaxY]);
    idx++;
    }
    fclose(file);
    }
    return 1;
    }



    Und hier das Enum dazu


    enum gebiet
    {
    gOwner,
    Float:gMinX,
    Float:gMinY,
    Float:gMaxX,
    Float:gMaxY,
    gOn,
    gStand1,
    gStand2,
    gAngreifer,
    gzone
    };