Raised This Month: $ Target: $400
 0% 

How to hide players say?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
portocala
Member
Join Date: Jun 2010
Old 08-01-2010 , 04:44   Re: How to hide players say?
Reply With Quote #4

Do you want to hide all the chat ? If yes, do:

Code:
register_clcmd("say","say_check");
register_clcmd("say_team","say_check");

public say_check(id)
{
  return PLUGIN_HANDLED;
}
Or, if you want to hide only texts which contain "register":

Code:
register_clcmd("say","say_check");
register_clcmd("say_team","say_check");

public say_check(id)
{
  new args[128];
  read_args(args, 127);
  remove_quotes(args);

  if(containi(args, "register") !=-1) return PLUGIN_HANDLED;

  return PLUGIN_CONTINUE;
}
Not verified. But this is it.
portocala is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode