ReadCommandIterator

Last Updated2007-07-15
Created At2007-07-15

Reads a command iterator, then advances to the next command if any. Only SourceMod specific commands are returned.

native bool ReadCommandIterator(Handle iter, char[] name, int nameLen, int& eflags = 0, char[] desc = "", int descLen = 0)

Parameters

Handle iter
Command iterator Handle.
char[] name
Name buffer.
int nameLen
Name buffer size.
int& eflags
Effective default flags of a command.
char[] desc
Command description buffer.
int descLen
Command description buffer size.

Return Value

bool True on success, false if there are no more commands.