Hello, I noticed that get_clcmdsnum doesn't return the total amount of registered commands. Not sure, but maybe due the third parameter of register_clcmd (flags=-1) or I'm doing something wrong. Anyway, is there no forward that is called when a command is registered or way to fix that problem?
Code:
new iMaxSize = get_clcmdsnum(ADMIN_ALL);
for (new i = 0; i < iMaxSize; i++)
// something
__________________