get_clcmdsnum
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:
|
Re: get_clcmdsnum
You are right about flags = -1.
https://github.com/alliedmodders/amx...pp#L1618-L1629 Cmds with flags = -1 are not listable. |
Re: get_clcmdsnum
This could be fixed in the current version of amxx or at least make 0 as an default instead of -1 in amxmodx.inc.
|
All times are GMT -4. The time now is 03:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.