18.09.2016, 05:07
I want to block lots of text,
(just an example)
is there any other method to do this?
(just an example)
PHP код:
if(strfind(text, "php", true) || strfind(text, "html", true) || strfind(text, "java", true) || strfind(text, "c++", true) || strfind(text, "pawn", true) || strfind(text, "pascal", true) || strfind(text, "c#", true) != -1)
{
Error(playerid, "text not allowed.");
return false;
}