Raised This Month: $ Target: $400
 0% 

block server message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-30-2011 , 13:00   Re: block server message
Reply With Quote #6

Quote:
Originally Posted by hyphen View Post
I have tried this with no luck..

Code:
register_srvcmd("client_print", "HideAds");

public HideAds()
{
    new szArg[192];
    read_args( szArg, charsmax( szArg ) );
    remove_quotes( szArg );
    
    if (equal( szArg, "TXT_TO_HIDE" ) )
	return PLUGIN_HANDLED;

    return PLUGIN_CONTINUE;
}
You can't hook client_print() like that.
__________________

Last edited by fysiks; 10-30-2011 at 13:01.
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 14:23.


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