strreplace problem
#2

You have already 'strreplace', but try this

pawn Code:
stock strreplace(string[], find, replace)
{
    for(new i=0; string[i]; i++)
    {
        if(string[i] == find)
        {
            string[i] = replace;
        }
    }
    return replace;
}
Reply


Messages In This Thread
strreplace problem - by antonio600x - 30.08.2011, 11:58
Re: strreplace problem - by Pinguinn - 30.08.2011, 12:00
Re: strreplace problem - by antonio600x - 30.08.2011, 12:03
Re: strreplace problem - by JaTochNietDan - 30.08.2011, 12:18
Re: strreplace problem - by antonio600x - 30.08.2011, 12:26
Re: strreplace problem - by JaTochNietDan - 30.08.2011, 12:54

Forum Jump:


Users browsing this thread: 2 Guest(s)