SA-MP Forums Archive
2 errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 2 errors (/showthread.php?tid=365772)



2 errors - I3ullet - 04.08.2012

how i fix them

Quote:

error 017: undefined symbol "ret_memcpy"
error 017: undefined symbol "isNumeric"




Respuesta: 2 errors - HarlemSAMP - 04.08.2012

Try this:

pawn Код:
#pragma unused ret_memcpy
And this:

pawn Код:
IsNumeric(const string[])
{
        for (new i = 0, j = strlen(string); i < j; i++)
        {
                if (string[i] > '9' || string[i] < '0') return 0;
        }
        return 1;
}