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

plugin remove or disable some commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Black Beard
Junior Member
Join Date: Jan 2019
Old 03-17-2019 , 12:36   plugin remove or disable some commands
Reply With Quote #1

hello guys i want a plugin can remove 2 commands
amx_kickmenu and amx_leave
Black Beard is offline
tom .
Member
Join Date: May 2016
Old 03-17-2019 , 12:46   Re: plugin remove or disable some commands
Reply With Quote #2

Admincmd.sma just delete amx_kickmenu and amx_leave.

Last edited by tom .; 03-17-2019 at 12:48.
tom . is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-17-2019 , 14:54   Re: plugin remove or disable some commands
Reply With Quote #3

It's stupid to ask for a plugin to remove something from another plugin. Just delete the something from the plugin you're already using.
Anyways, you can use this if you want to simply disable them - https://forums.alliedmods.net/showthread.php?p=2566819
__________________

Last edited by OciXCrom; 03-17-2019 at 14:55.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Black Beard
Junior Member
Join Date: Jan 2019
Old 03-17-2019 , 17:19   Re: plugin remove or disable some commands
Reply With Quote #4

i dont have sma file thats why i ask i have only amx file so if there is anyway to remove it without changing admincmd
Black Beard is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-17-2019 , 18:11   Re: plugin remove or disable some commands
Reply With Quote #5

The admincmd plugin comes with AMX Mod X, the source code is available with the files when you download AMX Mod X.

However, even easier is to just set the access flag for those command in cmdaccess.ini to the RCON flag, "l" (which is lower case L). Or set it to an access flag that isn't used by anything like "w".
__________________

Last edited by fysiks; 03-17-2019 at 18:12.
fysiks is online now
Black Beard
Junior Member
Join Date: Jan 2019
Old 03-18-2019 , 07:00   Re: plugin remove or disable some commands
Reply With Quote #6

@fysiks thank you so much this is the right help
Black Beard is offline
Reply


Thread Tools
Display Modes

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 20:53.


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