Even more library stuff that executes on the client.
| Client library | Even more library stuff that executes on the client. |
| Functions | |
| addToMenu | Adds to the client or admin menu |
function addToMenu( menuid, callback )
Adds to the client or admin menu
| menuid | The ID for the menu to add to, see ID_MCLIENT and ID_MADMIN. |
| callback | The function to callback to add content to the menu. This callback will receive an argument of the menu to add to. |
Adds to the client or admin menu
function addToMenu( menuid, callback )
Used to identify client menu objects in the spawn menu.
ID_MCLIENT
Used to identify admin menu objects in the spawn menu.
ID_MADMIN