не работает меню сервера

IIuToH

Только чтение
Заблокированные
Регистрация
5 Авг 2018
Сообщения
143
Симпатии
0
Предупреждения
260
OS
Linux
Amx Mod X
AMXX 1.8.2
Билд
[CODE]Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.4.0.668-dev[/CODE]
ReGamedll
[CODE]ReGameDLL version: 5.7.0.310-dev
Build date: 05:50:50 May 24 2018[/CODE]
Metamod
[CODE]Metamod v1.21p37 2013/05/30 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37[/CODE]
Meta модули
Код:
Код:
 [ 1] Reunion          RUN   -    reunion_mm_i386.  v0.1.0.1  ini   Start Never
 [ 2] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.2    ini   Start ANY 
 [ 3] Rechecker        RUN   -    rechecker_mm_i38  v2.5      ini   Chlvl ANY 
 [ 4] Revoice          RUN   -    revoice_mm_i386.  v0.1.0.3  ini   Start Never
 [ 5] ReSemiclip       RUN   -    resemiclip_mm_i3  v2.3.9    ini   Chlvl ANY 
 [ 6] ProcessCmds      RUN   -    processcmds_mm_i  v1.1.5    ini   Start Never
 [ 7] Fun              RUN   -    fun_amxx_i386.so  v1.8.2    pl2   ANY   ANY 
 [ 8] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.2    pl2   ANY   ANY 
 [ 9] MySQL            RUN   -    mysql_amxx_i386.  v1.8.2    pl2   ANY   ANY 
 [10] Engine           RUN   -    engine_amxx_i386  v1.8.2    pl2   ANY   ANY 
 [11] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.2    pl2   ANY   ANY 
 [12] CStrike          RUN   -    cstrike_amxx_i38  v1.8.2-d  pl2   ANY   ANY 
 [13] CSX              RUN   -    csx_amxx_i386.so  v1.8.2    pl2   ANY   ANY
Плагины
Код:
Код:
[  1] FreshBan                1.0.5b      kanagava          fresh_bans.amxx  running 
 [  2] AMXBans: Core           MA 1.6.9    Larte Team        amxbans_core.am  running 
 [  3] [182] Ultimate Weapons  17.08.28    SKAJIbnEJIb       ultimate_weapon  running 
 [  4] MapChooser RBS          15.07.15    SKAJIbnEJIb & UF  mapchooser_rbs.  running 
 [  5] Anti Flood              1.8.2       AMXX Dev Team     antiflood.amxx   running 
 [  6] Admin Commands          1.8.2       AMXX Dev Team     admincmd.amxx    running 
 [  7] Admin Help              1.8.2       AMXX Dev Team     adminhelp.amxx   running 
 [  8] Slots Reservation       1.8.2       AMXX Dev Team     adminslots.amxx  running 
 [  9] Admin Votes             1.8.2       AMXX Dev Team     adminvote.amxx   running 
 [ 10] Admin Chat              1.8.M       AMXX Dev Team     adminchat.amxx   running 
 [ 11] Commands Menu           1.8.2       AMXX Dev Team     cmdmenu.amxx     running 
 [ 12] Maps Menu               1.8.2       AMXX Dev Team     mapsmenu.amxx    running 
 [ 13] Menus Front-End         1.8.2       AMXX Dev Team     menufront.amxx   running 
 [ 14] CS Misc. Stats          1.8.2       AMXX Dev Team     miscstats.amxx   running 
 [ 15] Multi-Lingual System    1.8.2       AMXX Dev Team     multilingual.am  running 
 [ 16] Pause Plugins           1.8.2       AMXX Dev Team     pausecfg.amxx    running 
 [ 17] Players Menu            1.8.M       AMXX Dev Team     plmenu.amxx      running 
 [ 18] Restrict Weapons        1.8.2       AMXX Dev Team     restmenu.amxx    running 
 [ 19] CS Stats Logging        1.8.2       AMXX Dev Team     stats_logging.a  running 
 [ 20] Stats Configuration     1.8.2       AMXX Dev Team     statscfg.amxx    running 
 [ 21] Teleport Menu           1.8.2       AMXX Dev Team     telemenu.amxx    running 
 [ 22] TimeLeft                15.07.15    SKAJIbnEJIb & AM  timeleft.amxx    running 
 [ 23] Plugin Menu             1.8.2       AMXX Dev Team     pluginmenu.amxx  running 
 [ 24] [182] Ad From Server    17.10.30    SKAJIbnEJIb       ad_from_server.  running 
 [ 25] [182] Ultimate Informe  17.10.30    SKAJIbnEJIb       ultimate_inform  running 
 [ 26] StatsX GUI              1.7         AMXX Dev Team     statsx_gui.amxx  running 
 [ 27] Lite Rank System        2.3         xoymiii           Lite_Rank_Syste  running 
 [ 28] [182] Damager RBS       17.12.22    SKAJIbnEJIb       damager_rbs.amx  running 
 [ 29] Ultimate Gore           1.6         JTP10181          amx_gore_ultima  running 
 [ 30] Warmup Random           4.0Stable   VCL               warmup_random.a  running 
 [ 31] [182] VIP RBS           18.03.24    SKAJIbnEJIb       vip_rbs.amxx     running 
 [ 32] Test vip                1.0         speedkill edit a  vip_test.amxx    running 
 [ 33] [182] Parachute RBS     17.12.12    KRoT@L/JTP10181   parachute_rbs.a  running 
 [ 34] [182] AfkKicker RBS     17.10.30    SKAJIbnEJIb       afkkicker_rbs.a  running 
 [ 35] [182] No Team Flash     17.10.30    SKAJIbnEJIb       NoTeamFlash.amx  running 
 [ 36] [182] Kill Assist RBS   17.10.30    Digi & SKAJIbnEJ  killassist_rbs.  running 
 [ 37] FM ResetScore           0.1         neygomon          fm_rs.amxx       running 
 [ 38] Nade Health             0.1         Dorus             new_health_nade  running 
 [ 39] mute                    1.0         Aziz              mute.amxx        running   
 [ 40] Lite VoteBan            1.4         neygomon          lite_voteban.am  running 
 [ 41] Server Menu             0.1         maFFyoZZyk        menu.amxx        running
Amxx Модули
Код:
Код:
Fun                     1.8.2       AMX Mod X Dev Team   running   
FakeMeta                1.8.2       AMX Mod X Dev Team   running   
nVault                  1.8.2       AMX Mod X Dev Team   running   
MySQL                   1.8.2       AMX Mod X Dev Team   running   
Engine                  1.8.2       AMX Mod X Dev Team   running   
Ham Sandwich            1.8.2       AMX Mod X Dev Team   running   
CStrike                 1.8.2-dev-  AMX Mod X Dev Team   running   
CSX                     1.8.2       AMX Mod X Dev Team   running   
Sockets2                1.8.1.3746  HLSW Dev Team        running   
Sockets                 1.8.2       HLSW Dev Team        running
Ошибка
Код:
Код:
L 10/14/2018 - 11:24:38: [AMXX] Run time error 10 (plugin "menu.amxx") (native "menu_display") - debug not enabled!

L 10/14/2018 - 11:24:38: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Исходник
Код:
Код:
#include <amxmodx>

new g_iMenu;

public plugin_init()
{
    register_plugin("Server Menu", "0.1", "maFFyoZZyk")
    register_clcmd("amx_menu", "function_menu")
    register_clcmd("nightvision", "function_menu")
}

public plugin_cfg()
{
    g_iMenu = menu_create("\yМеню\w Нашего\r Сервера\d", "menu_handler")
    
    menu_additem(g_iMenu,"\r[\yОбнулить счет\r]","1")
    menu_additem(g_iMenu,"\r[\yНоминировать карту\r]","2")
    menu_additem(g_iMenu,"\r[\yГолосование за БАН\r]","3")
    menu_additem(g_iMenu,"\r[\yВаш RANK\r]","4")
    menu_additem(g_iMenu,"\r[\yЗаткнуть игрока\r]","5")
    menu_additem(g_iMenu,"\r[\yТоп лучших\r]","6")
    menu_additem(g_iMenu,"\r[\yОбнулить счет\r]","7")
    
    menu_setprop(g_iMenu, MPROP_EXITNAME, "Выход")
    menu_setprop(g_iMenu, MPROP_EXIT,MEXIT_ALL)
}

public function_menu(id)
{
    menu_display(id,g_iMenu,0)
    return PLUGIN_HANDLED
}

public menu_handler(id, menu, item)
{
    if(item == MENU_EXIT)
    {
        menu_destroy(menu)
            return PLUGIN_HANDLED
    }
        
    new data[6], iName[64], access, callback
    menu_item_getinfo(menu, item, access, data, 5, iName, 63, callback)
        
    new key = str_to_num(data)
        
    switch(key)
    {
        case 1: client_cmd(id, "say /rs")
        case 2: client_cmd(id, "say /maps")
        case 3: client_cmd(id, "say /voteban")
        case 4: client_cmd(id, "say /rank")
        case 5: client_cmd(id, "say /mute")
        case 6: client_cmd(id, "say /top15")
        case 7: client_cmd(id, "say /rs")
    }
    return PLUGIN_HANDLED
}
Здравствуйте! поставил плагин "Меню сервера" но не работает! а в логах пишет такое:

L 10/14/2018 - 11:24:38: [AMXX] Run time error 10 (plugin "menu.amxx") (native "menu_display") - debug not enabled!
L 10/14/2018 - 11:24:38: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

в чем может быть проблемка
 

IIuToH

Только чтение
Заблокированные
Регистрация
5 Авг 2018
Сообщения
143
Симпатии
0
Предупреждения
260
Сверху Снизу