Text Filter / STRFIND
#1

I have this code at the top for a ANTI Swear word thing.

pawn Код:
new Filter[][] =
{
    "hacker",
    "haxx",
    "hax",
    "cheater",
    "cheat",
    "hacks",
    "speed hack"
};
And this under onplayertext.

pawn Код:
if(strfind(text,Filter,true) != -1 ) return 0;
I get errored saying Error 048: array dimensions do not match
Reply


Messages In This Thread
Text Filter / STRFIND - by Kyle - 26.04.2010, 21:13
Re: Text Filter / STRFIND - by Jefff - 26.04.2010, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)