Client library

Even more library stuff that executes on the client.

Summary
Client libraryEven more library stuff that executes on the client.
Functions
addToMenuAdds to the client or admin menu

Functions

addToMenu

function addToMenu(menuid,
callback)

Adds to the client or admin menu

Parameters

menuidThe ID for the menu to add to, see ID_MCLIENT and ID_MADMIN.
callbackThe function to callback to add content to the menu.  This callback will receive an argument of the menu to add to.
function addToMenu(menuid,
callback)
Adds to the client or admin menu
ID_MCLIENT
Used to identify client menu objects in the spawn menu.
ID_MADMIN
Used to identify admin menu objects in the spawn menu.
Close