Annoying Tag Mismatch
#5

Quote:
Originally Posted by Grim_
Посмотреть сообщение
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.
Unfortunately that didn't seem to work however it spawned two new errors here:

pawn Код:
stock INI_ReadString(dest[], const key[], maxlength = sizeof(dest))
{
    if ((!gFile[E_OPEN]) || (!key[0])) return false;
    new ln = -1;
    while (((ln + 1) < INI_MAX_LINES) && (gCache[ln + 1][E_VALUE][0]))
    {
        ln ++;
        if (gCache[ln][E_VALUE][0] == ';') continue;
        if (!strcmp(gCache[ln][E_KEY], key, false))
        {
            INI_strcpy(dest, gCache[ln][E_VALUE], INI_MAX_VALUE, maxlength);
            return true;
        } // 156
    } // 157
    return false;
}

Код:
C:\Users\Mike\Desktop\SAMP\Renegade\pawno\include\ACC.inc(156) : error 079: inconsistent return types (array & non-array)
C:\Users\Mike\Desktop\SAMP\Renegade\pawno\include\ACC.inc(157) : error 079: inconsistent return types (array & non-array)
C:\Users\Mike\Desktop\SAMP\Renegade\pawno\include\ACC.inc(164) : warning 213: tag mismatch
C:\Users\Mike\Desktop\SAMP\Renegade\pawno\include\ACC.inc(165) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.

And of course I always leave credits at the top of the scripts, I just only posted the parts having to do with the Float problem.

pawn Код:
//======================================================
// Slick's INI Include 2.0.6
//
// © Copyright 2008-2009, [DRuG]Slick
// This file is provided as is (no warranties).
//======================================================
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)