Raised This Month: $ Target: $400
 0% 

getting team adn hook say


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-11-2012 , 19:55   Re: getting team adn hook say
Reply With Quote #2

It's much simpler than that to make all "say" chat go through "say_team" chat.

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("No Public chat""0.1""Ford Prefect")
    
register_clcmd("say""cmdSay")
}

public 
cmdSay(id)
{
    static 
szSaid[128]
    
read_args(szSaidcharsmax(szSaid))
    
engclient_cmd(id"say_team"szSaid)
    return 
PLUGIN_HANDLED

__________________
fysiks 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 08:13.


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