Thread: [Solved] Removing an existing command
View Single Post
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 09-13-2016 , 06:43   Re: Removing an existing command
Reply With Quote #7

Quote:
Originally Posted by Neuro Toxin View Post
I've dealt with this in my easylink plugin for console. It's impossible to de-register a command created with RegConsoleCmd.

I resorted to registering all my easylink commands to the same callback and use a StringMap to manage my data.

When I need to remove a command, I remove the entry form the StringMap.
That's actually what I ended up doing!
__________________
retired
shavit is offline