StrReplace Error
#1

Hello... I have a little problem with this code
PHP код:
stock strreplace(string[],find,replace// line 964
{
    for(new 
i=1,i<string[i],i++)
    {
        if(
string[i] == find)
        {
            
string[i] = replace;
        }
    }
    return 
1;
}
// line 974 
ERRORS
PHP код:
RPG.pwn(964) : error 025: function heading differs from prototype
RPG
.pwn(965) : error 021symbol already defined"strreplace"
RPG.pwn(966) : error 021symbol already defined"i"
RPG.pwn(966) : error 029invalid expressionassumed zero
RPG
.pwn(966) : error 029invalid expressionassumed zero
RPG
.pwn(966) : fatal error 107too many error messages on one line 
Does anyone know how can I fix this ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)