OnPlayerText hmm
#10

pawn Код:
stock replaceSwear(string[], badWord[], replace = '*')
{
    new
        i
    ;
    while((i = strfind(string, badWord, true)) != -1)
    {
        for(new x = (i + strlen(badWord)); i != x; ++i)
        {
            string[i] = replace;
        }
    }
    return 1;
}
Reply


Messages In This Thread
OnPlayerText hmm - by Twinki1993 - 09.01.2012, 00:40
Re: OnPlayerText hmm - by Tanush123 - 09.01.2012, 00:43
Re: OnPlayerText hmm - by Twinki1993 - 09.01.2012, 00:45
Re: OnPlayerText hmm - by Tanush123 - 09.01.2012, 00:45
Re: OnPlayerText hmm - by Twinki1993 - 09.01.2012, 00:53
Re: OnPlayerText hmm - by Laronic - 09.01.2012, 00:56
Re: OnPlayerText hmm - by Twinki1993 - 09.01.2012, 00:57
Re: OnPlayerText hmm - by Tanush123 - 09.01.2012, 01:06
Re: OnPlayerText hmm - by Twinki1993 - 09.01.2012, 01:10
Re: OnPlayerText hmm - by Tanush123 - 09.01.2012, 01:15

Forum Jump:


Users browsing this thread: 5 Guest(s)