Thread: get_clcmdsnum
View Single Post
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-13-2018 , 11:55   get_clcmdsnum
Reply With Quote #1

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
__________________









Last edited by CrazY.; 10-13-2018 at 11:56.
CrazY. is offline