30.08.2011, 12:00
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;
}