19.02.2012, 12:54
pawn Код:
stock RemoveTag(p,tag[] = "[LOL]")
{
new n[24],pos,bool:found,len = strlen(tag);
GetPlayerName(p,n,24);
while((pos = strfind(n,tag,true,pos+1)) != (-1))
{
strdel(n,pos,(pos+len));
found = true;
}
if(found)
SetPlayerName(p,n);
}