stock register_menu(const title[], keys, const function[], outside = 0)
title | Menu name |
keys | Key flags |
function | Callback function |
outside | Catch menus outside the calling plugin |
Provides a shorthand to register a working menu.
Combines the necessary calls to register_menuid() and register_menucmd() into a single function.
This function has no return value.
If an invalid callback function is specified, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.