Annoying Tag Mismatch
#2

pawn Код:
stock Float:AccountGetFloat(nickname[], key[])
{
        if(!AccountExists(nickname)) return 0.00;
        new loc[50];
        format(loc, sizeof(loc), "\\users\\%s.ini", nickname);
        if(INI_Open(loc))
        {
                new Float:ReturnFloat;
                ReturnFloat = INI_ReadFloat(key);
                INI_Close();
                return ReturnFloat;    //  This is line 320: ACC.inc(320) : warning 213: tag mismatch
        } else return 0.00;
}
 
stock Float:INI_ReadFloat(const key[])
{
        new dest[11];
        INI_ReadString(dest, key);
    new Float:flt;
    flt = floatstr(dest);
    return flt;    //  This is line 176: ACC.inc(176) : warning 213: tag mismatch
}
Adding the 'Float:' tag to your functions may fix the problem. And make sure you give credits to the SII developer for making this include, especially since you are only using parts.
Reply


Messages In This Thread
[Fixed] Annoying Tag Mismatch - by lavamike - 09.11.2010, 22:09
Re: Annoying Tag Mismatch - by Grim_ - 09.11.2010, 22:18
Re: Annoying Tag Mismatch - by The_Moddler - 09.11.2010, 22:20
Re: Annoying Tag Mismatch - by Grim_ - 09.11.2010, 22:23
Re: Annoying Tag Mismatch - by lavamike - 09.11.2010, 22:29
Re: Annoying Tag Mismatch - by The_Moddler - 09.11.2010, 22:33
Re: Annoying Tag Mismatch - by lavamike - 09.11.2010, 22:46
Re: Annoying Tag Mismatch - by The_Moddler - 09.11.2010, 22:54
Re: Annoying Tag Mismatch - by Bessensap - 10.11.2010, 13:37
Re: Annoying Tag Mismatch - by The_Moddler - 10.11.2010, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)