Little help :s
#6

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[])
{
    for(new j = 0; j < ForbidenWordsLoaded; j++)
    {
        DisableBadword(ForbidenWords[j]);
    }
    return 1;
}
I don't see anything touch "text" there.
+1. Where is it doing something with the text[] parameter of OnPlayerText? It doesn't get processed, Meaning it doesn't even modify the player's message... So, how can it censor stuff?
Reply


Messages In This Thread
Little help :s - by FireCat - 08.09.2011, 18:16
Re: Little help :s - by =WoR=Varth - 08.09.2011, 18:22
Re: Little help :s - by JaTochNietDan - 08.09.2011, 18:23
Re: Little help :s - by FireCat - 08.09.2011, 18:27
Re: Little help :s - by FireCat - 08.09.2011, 20:18
Re: Little help :s - by iPLEOMAX - 08.09.2011, 20:44
Re: Little help :s - by FireCat - 08.09.2011, 20:48

Forum Jump:


Users browsing this thread: 1 Guest(s)