09.11.2010, 22:18
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
}