Raised This Month: $51 Target: $400
 12% 

Disable chat counter-strike 1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AcidLys
Junior Member
Join Date: Jun 2011
Old 05-21-2012 , 06:37   Disable chat counter-strike 1.6
Reply With Quote #1

Hello everybody how i can disable chat on my server for all players?
AcidLys is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 05-21-2012 , 08:57   Re: Disable chat counter-strike 1.6
Reply With Quote #2

make a plugin that makes them type "hud_saytext 0" when they enter the server, and then forbidden them to change those settings, I guess.
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 05-21-2012 , 09:07   Re: Disable chat counter-strike 1.6
Reply With Quote #3

Quote:
Originally Posted by Diegorkable View Post
make a plugin that makes them type "hud_saytext 0" when they enter the server, and then forbidden them to change those settings, I guess.
That is called slowhacking, and is not allowed here.

Not every player in the world knows that you have to write hud_saytext 1 before they can see the chat again, and thus you actually ruin their game.

Think of the clients too!
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-21-2012 , 10:20   Re: Disable chat counter-strike 1.6
Reply With Quote #4

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_clcmd"say""Cmd_Say" );
    
register_clcmd"say_team""Cmd_Say" );
}

public 
Cmd_Say()
    return 
PLUGIN_HANDLED
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
AcidLys
Junior Member
Join Date: Jun 2011
Old 05-22-2012 , 08:31   Re: Disable chat counter-strike 1.6
Reply With Quote #5

Quote:
Originally Posted by hornet View Post
PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_clcmd"say""Cmd_Say" );
    
register_clcmd"say_team""Cmd_Say" );
}

public 
Cmd_Say()
    return 
PLUGIN_HANDLED
Thank you but its my fault i asked badly.

I need plugin which hiding messages.

This code is not useful for me because i cannot see it in Half-life server console.
Please help me how i can hide messages for all players?
AcidLys is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 05-24-2012 , 12:23   Re: Disable chat counter-strike 1.6
Reply With Quote #6

lol I didnt mean to slowhack you could set it back to 1 so they can see it again, the problem with hornet's code that clients might not be able to type, but still plugins client_prints will be displayed or any other engine messages, I thought he didnt want anything to be viewed.
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 05-24-2012 , 12:27   Re: Disable chat counter-strike 1.6
Reply With Quote #7

Change PLUGIN_HANDLED to PLUGIN_HANDLED_MAIN.
__________________
<VeCo> is offline
8088
Veteran Member
Join Date: Jan 2008
Old 05-24-2012 , 12:57   Re: Disable chat counter-strike 1.6
Reply With Quote #8

Quote:
Originally Posted by Diegorkable View Post
you could set it back to 1 so they can see it again
Not if they're not connected.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
Reply



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 06:54.


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