block swearwords
#2

i belive its something like
pawn Код:
public OnPlayerText(playerid, text[]){
    if(!strcmp(bitch, text, true, 8) || !strcmp(asshole, text, true, 8) || !strcmp( text, true, 6)!strcmp(cunt, text, true, 8)){
        SendClientMessage(playerid,colour,"no swearing");
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
block swearwords - by Lethaal - 23.02.2011, 08:43
Re: block swearwords - by (SF)Noobanatior - 23.02.2011, 09:20
Re: block swearwords - by Cameltoe - 23.02.2011, 09:25
Re: block swearwords - by Lethaal - 23.02.2011, 09:47

Forum Jump:


Users browsing this thread: 1 Guest(s)