diff --git a/plugins/menufront.sma b/plugins/menufront.sma
index d7ad3dec..a351ac0f 100755
--- a/plugins/menufront.sma
+++ b/plugins/menufront.sma
@@ -20,24 +20,47 @@
#define MENUITEMSPERPAGE 8
//#define MENUS_NUMBER 16
+new g_coloredMenus
new g_menuPosition[MAX_PLAYERS + 1]
+
new g_menusNumber = 0
new g_menuBody[MAXMENUS][STRINGSIZE]
-new bool:g_menuBodyPhrase[MAXMENUS]
new g_menuCmd[MAXMENUS][STRINGSIZE]
new g_menuAccess[MAXMENUS]
new g_menuPlugin[MAXMENUS][STRINGSIZE]
-new g_coloredMenus
-
-new g_clientMenuPosition[MAX_PLAYERS + 1]
new g_clientMenusNumber = 0
new g_clientMenuBody[MAXMENUS][STRINGSIZE]
-new bool:g_clientMenuBodyPhrase[MAXMENUS]
new g_clientMenuCmd[MAXMENUS][STRINGSIZE]
new g_clientMenuAccess[MAXMENUS]
new g_clientMenuPlugin[MAXMENUS][STRINGSIZE]
+public plugin_init()
+{
+ register_plugin("Menus Front-End", AMXX_VERSION_STR, "AMXX Dev Team")
+ register_dictionary("menufront.txt")
+ register_dictionary("common.txt")
+
+ register_menucmd(register_menuid("AMX Mod X Menu"), 1023, "actionMenu")
+ register_menucmd(register_menuid("AMX Mod X Client Menu"), 1023, "clientActionMenu")
+ register_clcmd("amxmodmenu", "cmdMenu", ADMIN_MENU, "- displays menus")
+ register_clcmd("amx_menu", "clientCmdMenu", 0, "- displays menus available to client")
+
+ register_srvcmd("amx_addmenuitem", "addmenuitem_cmd", 0, "