optimizing code
#3

I want to block lots of text,
(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;
      } 
is there any other method to do this?
Reply


Messages In This Thread
optimizing code - by Bondz - 18.09.2016, 04:50
Re: optimizing code - by FreAkeD - 18.09.2016, 05:01
Re: optimizing code - by Bondz - 18.09.2016, 05:07
Re: optimizing code - by DarkSkull - 18.09.2016, 05:17
Re: optimizing code - by Gammix - 18.09.2016, 05:19

Forum Jump:


Users browsing this thread: 1 Guest(s)