Error 080
#1

Код HTML:
F:\CNR - RP\gamemodes\SFCRRPG.pwn(13175) : error 080: unknown symbol, or not a constant symbol (symbol "i")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Код:
stock strreplacee(string[], find, replace)
{
( this line )     for(new i=0; i < sizeof(string[i]); i++)
    {
        if(string[i] == find)
        {
            string[i] = replace;
        }
    }
}
Whats wrong?
Reply
#2

pawn Код:
for(new i=0, j = strlen(string); i < j; i++)
Reply
#3

Thank you so much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)