Annoying Tag Mismatch
#3

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 float ReturnFloat;
        } else return 0.00;
}
 
stock Float:INI_ReadFloat(const key[])
{
        new dest[11];
        INI_ReadString(dest, key);
    new Float:flt;
    flt = floatstr(dest);
    return float flt;
}
You have to add float instead of Float:
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: 2 Guest(s)