Panel.Send Method

Sends a panel to a client. Unlike full menus, the handler function will only receive the following actions, both of which will have null for a menu, and the client as param1.

MenuAction_Select (param2 will be the key pressed) MenuAction_Cancel (param2 will be the reason)

Also, if the menu fails to display, no callbacks will be called.

bool Send(int client, MenuHandler handler, int time)


int client

A client to draw to.

MenuHandler handler

The MenuHandler function to catch actions with.

int time

Time to hold the menu for.

Return Value

True on success, false on failure.