Raised This Month: $ Target: $400
 0% 

"Unregister" or block command?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Desikac
Senior Member
Join Date: Apr 2010
Location: Serbia
Old 03-29-2014 , 19:25   "Unregister" or block command?
Reply With Quote #1

Is there a way to "take over" a command registered by another plugin without putting my plugin above the one registering it in plugins.ini? Or if not, is there a way to block that command?

I have my own plugin which uses amx_ban and another alternative command for the same function. I want to block the amx_ban command from admincmd so that only the alternative command from my plugin works if it is not above admincmd in plugins.ini (if it is, both will work).
Desikac is offline
Send a message via MSN to Desikac Send a message via Skype™ to Desikac
 



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 12:12.


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