02.10.2011, 16:10
pawn Код:
forward ReturnStringWithoutBadSign(string[]);
public ReturnStringWithoutBadSign(string[])
{
for(new i=0; i<strlen(string); i++)
{
if(string[i] == '%') string[i] = '#';
}
return string;
}
[pawn]SendClientMessage(playerid, COLOR, ReturnStringWithoutBadSign(string));//i'm not sure if that works but in theory seems yes...
@edited