SA-MP Forums Archive
Error with rRace v0.2a by RyDeR - 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: Error with rRace v0.2a by RyDeR (/showthread.php?tid=361874)



Error with rRace v0.2a by RyDeR - mrsamp - 22.07.2012

I've included Dini as he said but still error...
Link to his FS here.
Код:
C:\Users\Andreas\Desktop\SA-MP Server\filterscripts\rRace.pwn(50) : error 017: undefined symbol "ret_memcpy"
C:\Users\Andreas\Desktop\SA-MP Server\filterscripts\rRace.pwn(616) : error 017: undefined symbol "isNumeric"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: Error with rRace v0.2a by RyDeR - Pinguinn - 22.07.2012

Add this at the top of the script
pawn Код:
#pragma unused ret_memcpy
And at the bottom of the script
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;
}



Re: Error with rRace v0.2a by RyDeR - mrsamp - 22.07.2012

Код:
C:\Users\Andreas\Desktop\SA-MP Server\filterscripts\rRace.pwn(49) : error 017: undefined symbol "ret_memcpy"
C:\Users\Andreas\Desktop\SA-MP Server\filterscripts\rRace.pwn(615) : error 017: undefined symbol "IsNumeric"
C:\Users\Andreas\Desktop\SA-MP Server\filterscripts\rRace.pwn(615) : error 029: invalid expression, assumed zero
C:\Users\Andreas\Desktop\SA-MP Server\filterscripts\rRace.pwn(615) : error 017: undefined symbol "string"
C:\Users\Andreas\Desktop\SA-MP Server\filterscripts\rRace.pwn(615) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
EDIT: I got it working now.. atleast no errors..