Raised This Month: $32 Target: $400
 8% 

Needed help.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
combocarte112
Senior Member
Join Date: Jun 2016
Location: Romania
Old 01-06-2017 , 09:32   Needed help.
Reply With Quote #1

Hello.
I need a plugin to block these binds (say);- bind x "say connect XXXX"
- bind z "say bb.XXX.ro admins free" etc
Exception: /rs, /resetscore.
Thanks.
combocarte112 is offline
Send a message via Skype™ to combocarte112
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 01-06-2017 , 09:36   Re: Needed help.
Reply With Quote #2

Slowhack is forbidden here!
__________________
Relaxing is offline
combocarte112
Senior Member
Join Date: Jun 2016
Location: Romania
Old 01-06-2017 , 09:56   Re: Needed help.
Reply With Quote #3

a person keeps entering on my server and he makes many advertise
combocarte112 is offline
Send a message via Skype™ to combocarte112
4ever16
Veteran Member
Join Date: Apr 2015
Old 01-06-2017 , 10:16   Re: Needed help.
Reply With Quote #4

This maybe can help i found it here on the forums i think.
Replace DONTSHOWTHIS with a word you want to hide.
This plugin only hides words or charecters.
So if you replace dont showthis with / it will hide /rank but rank command will still be executed.

PHP Code:
#include < amxmodx >

public plugin_init( )
{
    
register_plugin"Hide Slash Commands""1.0.0""Kreation" );
    
    
register_clcmd"say""CmdSay" );
    
register_clcmd"say_team""CmdSay" );
}

public 
CmdSayid )
{
    new 
szArg[192];
    
read_argsszArgcharsmaxszArg ) );
    
remove_quotesszArg );
    
    return ( 
szArg[0] == 'DONTSHOWTHIS' );

I think this is the best solution for you.

PHP Code:
#include < amxmodx >

public plugin_init( )
{
    
register_plugin"Hide Slash Commands""1.0.0""Kreation" );
    
    
register_clcmd"say""CmdSay" );
    
register_clcmd"say_team""CmdSay" );
}

public 
CmdSayid )
{
    new 
szArg[192];
    
read_argsszArgcharsmaxszArg ) );
    
remove_quotesszArg );
    
    return ( 
szArg[0] == 'connect' );


Last edited by 4ever16; 01-06-2017 at 10:21.
4ever16 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-06-2017 , 10:30   Re: Needed help.
Reply With Quote #5

There are 48237571 plugins to prevent something like that. One of them is a ban plugin.
__________________

Last edited by OciXCrom; 01-06-2017 at 10:31.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 01-06-2017 , 15:54   Re: Needed help.
Reply With Quote #6

He don't want to ban players for poor reasons.
__________________
Relaxing is offline
combocarte112
Senior Member
Join Date: Jun 2016
Location: Romania
Old 01-07-2017 , 06:09   Re: Needed help.
Reply With Quote #7

Thanks Hamlet.

Code:
#include <amxmodx>

public plugin_init()
{
   register_clcmd("say", "ClientCommand_Say")
   register_clcmd("say_team", "ClientCommand_Say")
}

public ClientCommand_Say(id)
{
   new ChatLine[192]
   read_args(ChatLine, charsmax(ChatLine))
   
   if(ChatLine[0] != '^"')
   {
      client_print(id, print_chat, "Bindurile nu sunt permise..")
      return PLUGIN_HANDLED
   }
   
   return PLUGIN_CONTINUE
}
combocarte112 is offline
Send a message via Skype™ to combocarte112
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 19:02.


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