Raised This Month: $ Target: $400
 0% 

Block MSG


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 08-10-2013 , 05:27   Re: Block MSG
Reply With Quote #2

PHP Code:
public plugin_init( )
{
    
register_messageget_user_msgid"TextMsg" ), "MessageText" )
}

public 
MessageTextmsgiddestid )
{
    new 
szMsg32 ]
    
get_msg_arg_string2szMsgcharsmaxszMsg ) )
    
    if( 
equalszMsg ,"#Game_teammate_attack" ) || equalszMsg"#Killed_Teammate" ) )
    {
        return 
PLUGIN_HANDLED
    
}
    
    return 
PLUGIN_CONTINUE


Last edited by guipatinador; 08-10-2013 at 06:07.
guipatinador 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 16:01.


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