27.04.2018, 06:18
PHP код:
new InvalidWords[][100] =
{
"idiot",
"stupid",
"fuck",
"ass",
"lick",
"suck",
"dick",
"pussy",
"cum",
"sperm",
"gay"
};
public OnPlayerText(playerid, text[])
{
new string[128];
for(new cnt = 0; cnt < sizeof(InvalidWords); cnt++)
{
if(strfind(text, InvalidWords[cnt], true) != -1)
{
Kick(playerid);
}
}
return 1;
}