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

Custom Command Block v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 11-06-2011 , 11:17   Custom Command Block v1.2
Reply With Quote #1

Custom Command Block v1.2
By: TheArmagedon

Description:
This is a basic plugin that allows to you block some basic commands.
I created a .INI file to facilitate access these commands.

Commands to block:
TEAM = Block change team
RADIO = Block radio msg
KILL = Block kill
SPRAY
= Block Spray
BUY = Block BUY
SAY = Block Say
S_TEAM
= Block only Say Team

PS: Just type one or more of these commands and the team in the file blockcommands.ini and automatically block the commands written.

Cvar:
amx_ccb 1/0 - Enable / Disable the plugin.

How to install:
Put the .ini file on */addons/amxmodx/configs dir.
Put the .amxx file on */addons/amxmodx/plugins dir.

How to block commands:
You need to put on blockcommands.ini file the commands name and the team name.
Example (blockcommands.ini file):
BUY CT
SAY ALL
SPRAY T

Then ct's can't buy anything, terrorists can't use spray and no one can use say command.

Changelog:
Code:
v1.0 - Plugin Release
v1.1 - Added command for custom team
v1.2 - Fixed issues with team block
Attached Files
File Type: sma Get Plugin or Get Source (amx_cbb.sma - 1989 views - 7.8 KB)
File Type: ini blockcommands.ini (397 Bytes, 1150 views)

Last edited by TheArmagedon; 11-21-2011 at 08:54. Reason: v1.2 released
TheArmagedon is offline
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 11-06-2011 , 11:19   Re: Custom Command Block v1.0
Reply With Quote #2

Please, comment and post suggestions and other commands!
Thank You.
TheArmagedon is offline
GUIZZZZZ
BANNED
Join Date: Oct 2011
Location: Brazil - RJ
Old 11-06-2011 , 11:21   Re: Custom Command Block v1.0
Reply With Quote #3

Nice plugin, T.Armg!

Thank u.
GUIZZZZZ is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 11-06-2011 , 11:36   Re: Custom Command Block v1.0
Reply With Quote #4

cool
__________________

Last edited by kramesa; 11-06-2011 at 11:37.
kramesa is offline
liinuus
Senior Member
Join Date: Apr 2010
Old 11-06-2011 , 11:37   Re: Custom Command Block v1.0
Reply With Quote #5

suggestion, add so that you can block specific teams and not just all players
liinuus is offline
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 11-06-2011 , 11:51   Re: Custom Command Block v1.0
Reply With Quote #6

Quote:
Originally Posted by liinuus View Post
suggestion, add so that you can block specific teams and not just all players
If you block only one team, you will can't join the team. Is that what you mean?
TheArmagedon is offline
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 11-06-2011 , 11:51   Re: Custom Command Block v1.0
Reply With Quote #7

and for specific maps? add that too
gj!!!
__________________
Preparing to release my plugins..
r0ck is offline
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 11-06-2011 , 11:52   Re: Custom Command Block v1.0
Reply With Quote #8

Quote:
Originally Posted by r0ck View Post
and for specific maps? add that too
gj!!!
Good idea, i'll add that soon...
TheArmagedon is offline
liinuus
Senior Member
Join Date: Apr 2010
Old 11-06-2011 , 12:08   Re: Custom Command Block v1.0
Reply With Quote #9

Quote:
Originally Posted by TheArmagedon View Post
If you block only one team, you will can't join the team. Is that what you mean?
no i mean like ex blocking one team from using radio
liinuus is offline
Dark Style
BANNED
Join Date: Feb 2011
Location: Brazil
Old 11-06-2011 , 14:03   Re: Custom Command Block v1.0
Reply With Quote #10

You don't need set the arrays to 0, when you create this is 0.
And this plugin isn't so usefull...
Dark Style 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:32.


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