I Mean like this can u add option to web "Hidden Panel" , "Visible Panel" like this.
PHP Code:
//HIDDEN PANEL MOTD
public Action:DoUrl(client, String:url[128])
{
new Handle:setup = CreateKeyValues("data");
KvSetString(setup, "title", "NO PANEL");
KvSetNum(setup, "type", MOTDPANEL_TYPE_URL);
KvSetString(setup, "msg", url);
ShowVGUIPanel(client, "info", setup, false);
CloseHandle(setup);
return Plugin_Handled;
}
//VISIBLE PANEL
public Action:DoUrlVisible(client, String:url[128])
{
new Handle:setup = CreateKeyValues("data");
KvSetString(setup, "title", "PANEL");
KvSetNum(setup, "type", MOTDPANEL_TYPE_URL);
KvSetString(setup, "msg", url);
ShowVGUIPanel(client, "info", setup, true);
CloseHandle(setup);
return Plugin_Handled;
}