Raised This Month: $ Target: $400
 0% 

Help say / say_team


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BlueGaming
BANNED
Join Date: Nov 2013
Old 12-07-2013 , 06:39   Re: Help say / say_team
Reply With Quote #1

try this :
PHP Code:
#include < amxmodx >
#include < colorchat >
#include < amxmisc >



#define PLUGIN "Read argument chat"
#define VERSION "0.1"


public plugin_init( )
{
    
register_pluginPLUGINVERSION"BlueGaming" );
    
    
register_clcmd"say""Func_Say" );
    
register_clcmd"say_team""Func_Say" );
}

public 
Func_Sayid )
{
    new 
szSaid192 ], szName[35];
    
read_argsszSaidsizeofszSaid ) -);
    
get_user_name(idszName34);
    
    
remove_quotesszSaid );
    
    if(
is_user_admin(id))
    {
        
ColorChat(0RED"^4Noob_Admin ^3%s ^4: ^3%s",szName,szSaid);
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE


Last edited by BlueGaming; 12-07-2013 at 06:41.
BlueGaming 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 23:14.


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