Tag Mismatch
#1

Hello . i have tryd so many ways to fix this but didn't found help yet.

pawn Код:
public LoadDonatorList()
{
    new arrCoords[2][64];
    new strFromFile2[256];
    new File: file = fopen("DonatorList.cfg", io_read);
    if (file)
    {
        new idx;
        while (idx < sizeof(DonatorList))
        {
            fread(file, strFromFile2);
            split(strFromFile2, arrCoords, '|');
            strmid(DonatorList[idx][Name], arrCoords[0], 0, strlen(arrCoords[0]), 255);
            DonatorList[idx][Amount] = floatstr(arrCoords[1]); // < --- Line 17017 !!
            idx++;
        }
        fclose(file);
    }
    return 1;
}
Error

Код:
(17017) : warning 213: tag mismatch
if someone have time to help , i am very thanks then.
Reply
#2

DonatorList have a Float tag in declaration?
Reply
#3

yeah everything is right.
Reply
#4

pawn Код:
Float:Amount
Like this?
Reply
#5

Do you have Float:Amount? (DonatorList[idx][Amount]) If no, then set it and try again.
Reply
#6

Thanks for trying but the problem was with floatstr i replaced it with strval
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)