Raised This Month: $ Target: $400
 0% 

Ultimate Chat + Addons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 05-24-2014 , 10:47   Re: Ultimate Chat + Addons
Reply With Quote #11

I thought that some other plugin was supposed to block them.
If not, you can use this:

Code:
#include <amxmodx> #include <cstrike> new gCommands[][] = {     "/rs",     "/rank" } public plugin_init() {         register_plugin("Block", "1.0", "[ --{-@ ]");         set_task(0.8, "PlaceAlmostLastInQue"); } public PlaceAlmostLastInQue() {     register_clcmd("say", "HandleSay");     register_clcmd("say_team", "HandleSay"); } public HandleSay(id) {         if ( ! is_user_connected(id) )         return PLUGIN_CONTINUE;         static Text[192];     read_args(Text, charsmax(Text));     remove_quotes(Text);     trim(Text);         if ( ! Text[0] )         return PLUGIN_HANDLED;         for ( new i ; i < sizeof gCommands ; i++ ) {         if ( equali(Text, gCommands[i], strlen(gCommands[i])) )             return PLUGIN_HANDLED;     }         return PLUGIN_CONTINUE; }
__________________

Last edited by Black Rose; 05-24-2014 at 10:47.
Black Rose 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 05:52.


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