% = #
#10

Here is a fix:
PHP Code:
stock _Fix(const string[],bool:chat=false) {
    new 
tmp[145],pos strfind(string,"#");
    
strcat(tmp,string);
    if(
pos == -1) return tmp;
    for(;;) {
        if(
tmp[((pos-1) < 0)?0:(pos-1)] != '\\') {
            
strdel(tmp,pos,pos+1),strins(tmp,(!chat)?("%%"):("%%%%"),pos,sizeof tmp);
            
pos strfind(tmp,"#",false,pos+((!chat)?(2):(4)));
        }
        else {
            
strdel(tmp,pos-1,pos);
            
pos strfind(tmp,"#",false,pos);
        }
        if(
pos == -1) break;
    }
    return 
tmp;

# => %
And if you want to write a #, you have to write this in the chat: \#

Have fun. Maybe it will fix in the next changelog? @Kalcor:
Reply


Messages In This Thread
% = # - by flabed18 - 18.07.2015, 23:09
Re: % = # - by nGen.SoNNy - 18.07.2015, 23:49
Re: % = # - by KayJ - 19.07.2015, 05:51
AW: % = # - by Kaliber - 20.07.2015, 07:59
Re: AW: % = # - by liquor - 20.07.2015, 08:05
Re: AW: % = # - by KingHual - 20.07.2015, 08:57
AW: Re: AW: % = # - by Kaliber - 20.07.2015, 09:33
Re: AW: Re: AW: % = # - by KingHual - 20.07.2015, 10:28
Re: % = # - by Crayder - 03.08.2015, 19:00
Re: % = # - by MarvinPWN - 04.08.2015, 09:59

Forum Jump:


Users browsing this thread: 2 Guest(s)