AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Custom Command Block v1.2 (https://forums.alliedmods.net/showthread.php?t=171474)

TheArmagedon 11-06-2011 11:17

Custom Command Block v1.2
 
2 Attachment(s)
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


TheArmagedon 11-06-2011 11:19

Re: Custom Command Block v1.0
 
Please, comment and post suggestions and other commands!
Thank You.

GUIZZZZZ 11-06-2011 11:21

Re: Custom Command Block v1.0
 
Nice plugin, T.Armg!

Thank u.

kramesa 11-06-2011 11:36

Re: Custom Command Block v1.0
 
cool

liinuus 11-06-2011 11:37

Re: Custom Command Block v1.0
 
suggestion, add so that you can block specific teams and not just all players

TheArmagedon 11-06-2011 11:51

Re: Custom Command Block v1.0
 
Quote:

Originally Posted by liinuus (Post 1591279)
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?

r0ck 11-06-2011 11:51

Re: Custom Command Block v1.0
 
and for specific maps? add that too :)
gj!!!

TheArmagedon 11-06-2011 11:52

Re: Custom Command Block v1.0
 
Quote:

Originally Posted by r0ck (Post 1591285)
and for specific maps? add that too :)
gj!!!

Good idea, i'll add that soon...

liinuus 11-06-2011 12:08

Re: Custom Command Block v1.0
 
Quote:

Originally Posted by TheArmagedon (Post 1591284)
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

Dark Style 11-06-2011 14:03

Re: Custom Command Block v1.0
 
You don't need set the arrays to 0, when you create this is 0.
And this plugin isn't so usefull...


All times are GMT -4. The time now is 05:48.

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