i used the example one.
Code:
public OnPluginStart()
{
RegConsoleCmd("Test", Panel_Test1);
}
public PanelHandler1(Handle:menu, MenuAction:action, param1, param2)
{
if (action == MenuAction_Select)
{
PrintToConsole(param1, "You selected item: %d", param2);
} else if (action == MenuAction_Cancel) {
PrintToServer("Client %d's menu was cancelled. Reason: %d", param1, param2);
}
}
public Action:Panel_Test1(client, args)
{
new Handle:panel = CreatePanel();
SetPanelTitle(panel, "Test..?");
DrawPanelItem(panel, "Yes");
DrawPanelItem(panel, "No");
SendPanelToClient(panel, client, PanelHandler1, 20);
CloseHandle(panel);
return Plugin_Handled;
}
The mod is ZPS, So i checkt the forums also the admin menu everything you need 2 press ESC for. i check't the forum i googled the wiki section of the site did not help its bothering me since others zps server don't seem to have this.
And yes the mod is in the core.txt thing