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
};