Adds an topobj to a TopMenu.
TopMenuObject AddToTopMenu(Handle topmenu, const char[] name, TopMenuObjectType type, TopMenuHandler handler, TopMenuObject parent, const char[] cmdname, int flags, const char[] info_string)
TopMenu Handle.
Object name (MUST be unique).
Object type.
Handler for topobj.
Parent topobj ID, or INVALID_TOPMENUOBJECT for none. Items must have a category parent. Categories must not have a parent.
Command name (for access overrides).
Default access flags.
Arbitrary storage (max 255 bytes).
A new TopMenuObject ID, or INVALID_TOPMENUOBJECT on failure.
Invalid TopMenu Handle.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.