DisplayMenuAtItem Function

Displays a menu to a client, starting from the given item.

bool DisplayMenuAtItem(Handle menu, int client, int first_item, int time)

Parameters

Handle menu

Menu Handle.

int client

Client index.

int first_item

First item to begin drawing from.

int time

Maximum time to leave menu on the screen.

Return Value

True on success, false on failure.

Errors

Invalid Handle or client not in game.