09.11.2010, 22:46
Now i've got this heh:
So for the inconsistent return types I have no idea what that means or how to fix it but it shows up here:
Next for Tag mismatch apparently the float: thing fixed the other. Now it seems there's a problem with the integer one or something?
As for the djson one that is for DracoBlues dJSON json editor which I am baffled as to how it showed up on the compiler. Considering the fact I haven't even included the djson include anywhere. Actually I even went into includes and deleted it. But i'll worry about that one later as it's not important..
Код:
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 C:\Users\Mike\Desktop\SAMP\LG\gamemodes\adv.pwn(672) : warning 203: symbol is never used: "djson_GameModeExit" C:\Users\Mike\Desktop\SAMP\LG\gamemodes\adv.pwn(672) : warning 203: symbol is never used: "djson_GameModeInit" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
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;
} // Line 156
} // Line 157
return false;
}
Next for Tag mismatch apparently the float: thing fixed the other. Now it seems there's a problem with the integer one or something?
pawn Код:
stock INI_ReadInt(const key[])
{
new dest[11]; // Line 164
if (INI_ReadString(dest, key)) return strval(dest); // Line 165
return false;
}
As for the djson one that is for DracoBlues dJSON json editor which I am baffled as to how it showed up on the compiler. Considering the fact I haven't even included the djson include anywhere. Actually I even went into includes and deleted it. But i'll worry about that one later as it's not important..