Disabling the OnPlayerText Through Include?
#6

Simple as fast:

pawn Код:
new BadWords[][] =
{
    "Motherfucker",
    "Nigga",
    "Nigger",
    "Asshole",
    "Bitch",
    "Cunt",
    "Fuckin bastard",
    "Stupid bitch",
    "fuckin nigga!",
    "hijo de puta",
    "puta",
    "/q",
    " /q",
    "/q for free money"
};
OnPlayerText:

pawn Код:
for(new a; a<sizeof(BadWords); a++)
{
    if(strfind(text, BadWords[a], true) != -1)
    {
        return 0;
     }
}
Reply


Messages In This Thread
Disabling the OnPlayerText Through Include? - by ScriptJorkis - 12.01.2012, 09:05
Re: Disabling the OnPlayerText Through Include? - by Mikkel_Pedersen - 12.01.2012, 09:27
Re: Disabling the OnPlayerText Through Include? - by ScriptJorkis - 12.01.2012, 09:33
Re: Disabling the OnPlayerText Through Include? - by [HiC]TheKiller - 12.01.2012, 10:19
Re: Disabling the OnPlayerText Through Include? - by ScriptJorkis - 12.01.2012, 10:22
Re: Disabling the OnPlayerText Through Include? - by Face9000 - 12.01.2012, 10:46

Forum Jump:


Users browsing this thread: 1 Guest(s)