22.09.2013, 16:07
Try this maybe? Btw aren't find and replace string format?
pawn Код:
stock strreplace(string[], find[], replace[], ignorecase = false)
{
for(new i=0; sizeof(string); i++)
{
if(!strcmp(string[i], find, ignorecase))
{
strdel(string[i], 0, strlen(string[i]));
strins(string[i], replace, 0, sizeof(string[i]));
}
}
return string;
}