Issue with VIP Modular

Сообщения
5
Реакции
1
Баллы
3
Ошибка
L 03/04/2026 - 16:55:40: Start of error session.
L 03/04/2026 - 16:55:40: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20260304.log")
L 03/04/2026 - 16:55:40: [ParamsController.amxx] Attempt to interact with params before init them.
L 03/04/2026 - 16:55:40: [AMXX] Run time error 25 (plugin "ParamsController.amxx") - debug not enabled!
L 03/04/2026 - 16:55:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:40: Unhandled dynamic native error
L 03/04/2026 - 16:55:40: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "ParamsController_Param_Construct") - debug not enabled!
L 03/04/2026 - 16:55:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:40: Unhandled dynamic native error
L 03/04/2026 - 16:55:40: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "ParamsController_Param_Construct") - debug not enabled!
L 03/04/2026 - 16:55:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:40: [ParamsController.amxx] Attempt to interact with params before init them.
L 03/04/2026 - 16:55:40: [AMXX] Run time error 25 (plugin "ParamsController.amxx") - debug not enabled!
L 03/04/2026 - 16:55:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:40: Unhandled dynamic native error
L 03/04/2026 - 16:55:40: [AMXX] Run time error 10 (plugin "VipM-ModulesLimiter.amxx") (native "ParamsController_Param_Construct") - debug not enabled!
L 03/04/2026 - 16:55:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:40: [ParamsController.amxx] [JSON][ERROR] Field 'Limit' has invalid value for 'VipM-LimitType' param type. (File 'addons/amxmodx/configs/plugins/VipModular/Vips.json')
L 03/04/2026 - 16:55:40: [AMXX] Run time error 27 (plugin "ParamsController.amxx") - debug not enabled!
L 03/04/2026 - 16:55:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:40: Unhandled dynamic native error
L 03/04/2026 - 16:55:40: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "ArrayDestroy") - debug not enabled!
L 03/04/2026 - 16:55:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:40: Unhandled dynamic native error
L 03/04/2026 - 16:55:40: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "ArrayDestroy") - debug not enabled!
L 03/04/2026 - 16:55:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:40: [VipModular.amxx] [JSON][ERROR] Field 'Access' is required in vip object. (File 'addons/amxmodx/configs/plugins/VipModular/Vips.json')
L 03/04/2026 - 16:55:40: [AMXX] Run time error 27 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:55:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:41: [VipModular.amxx] Limit type 'Steam' not found.
L 03/04/2026 - 16:55:41: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:55:41: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:41: Unhandled dynamic native error
L 03/04/2026 - 16:55:41: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 16:55:41: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:46: [VipModular.amxx] Limit type 'Alive' not found.
L 03/04/2026 - 16:55:46: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:55:46: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:55:46: Unhandled dynamic native error
L 03/04/2026 - 16:55:46: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 16:55:46: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:58:41: [VipModular.amxx] Limit type 'Steam' not found.
L 03/04/2026 - 16:58:41: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:58:41: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:58:41: Unhandled dynamic native error
L 03/04/2026 - 16:58:41: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 16:58:41: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:58:41: [VipModular.amxx] Limit type 'Alive' not found.
L 03/04/2026 - 16:58:41: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:58:41: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:58:41: Unhandled dynamic native error
L 03/04/2026 - 16:58:41: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 16:58:41: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:58:43: [VipModular.amxx] Limit type 'Steam' not found.
L 03/04/2026 - 16:58:43: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:58:43: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:58:43: Unhandled dynamic native error
L 03/04/2026 - 16:58:43: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 16:58:43: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:58:43: [VipModular.amxx] Limit type 'Alive' not found.
L 03/04/2026 - 16:58:43: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:58:43: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:58:43: Unhandled dynamic native error
L 03/04/2026 - 16:58:43: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 16:58:43: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:47: Start of error session.
L 03/04/2026 - 16:59:47: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20260304.log")
L 03/04/2026 - 16:59:47: [ParamsController.amxx] Attempt to interact with params before init them.
L 03/04/2026 - 16:59:47: [AMXX] Run time error 25 (plugin "ParamsController.amxx") - debug not enabled!
L 03/04/2026 - 16:59:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:47: Unhandled dynamic native error
L 03/04/2026 - 16:59:47: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "ParamsController_Param_Construct") - debug not enabled!
L 03/04/2026 - 16:59:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:47: Unhandled dynamic native error
L 03/04/2026 - 16:59:47: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "ParamsController_Param_Construct") - debug not enabled!
L 03/04/2026 - 16:59:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:47: [ParamsController.amxx] Attempt to interact with params before init them.
L 03/04/2026 - 16:59:47: [AMXX] Run time error 25 (plugin "ParamsController.amxx") - debug not enabled!
L 03/04/2026 - 16:59:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:47: Unhandled dynamic native error
L 03/04/2026 - 16:59:47: [AMXX] Run time error 10 (plugin "VipM-ModulesLimiter.amxx") (native "ParamsController_Param_Construct") - debug not enabled!
L 03/04/2026 - 16:59:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:47: [ParamsController.amxx] [JSON][ERROR] Field 'Limit' has invalid value for 'VipM-LimitType' param type. (File 'addons/amxmodx/configs/plugins/VipModular/Vips.json')
L 03/04/2026 - 16:59:47: [AMXX] Run time error 27 (plugin "ParamsController.amxx") - debug not enabled!
L 03/04/2026 - 16:59:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:47: Unhandled dynamic native error
L 03/04/2026 - 16:59:47: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "ArrayDestroy") - debug not enabled!
L 03/04/2026 - 16:59:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:47: Unhandled dynamic native error
L 03/04/2026 - 16:59:47: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "ArrayDestroy") - debug not enabled!
L 03/04/2026 - 16:59:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:47: [VipModular.amxx] [JSON][ERROR] Field 'Access' is required in vip object. (File 'addons/amxmodx/configs/plugins/VipModular/Vips.json')
L 03/04/2026 - 16:59:47: [AMXX] Run time error 27 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:59:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:48: [VipModular.amxx] Limit type 'Steam' not found.
L 03/04/2026 - 16:59:48: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:59:48: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:48: Unhandled dynamic native error
L 03/04/2026 - 16:59:48: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 16:59:48: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:53: [VipModular.amxx] Limit type 'Alive' not found.
L 03/04/2026 - 16:59:53: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 16:59:53: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 16:59:53: Unhandled dynamic native error
L 03/04/2026 - 16:59:53: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 16:59:53: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 17:00:05: [VipModular.amxx] Limit type 'Steam' not found.
L 03/04/2026 - 17:00:05: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 17:00:05: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 17:00:05: Unhandled dynamic native error
L 03/04/2026 - 17:00:05: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 17:00:05: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 17:00:05: [VipModular.amxx] Limit type 'Alive' not found.
L 03/04/2026 - 17:00:05: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 17:00:05: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 17:00:05: Unhandled dynamic native error
L 03/04/2026 - 17:00:05: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 17:00:05: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 17:00:06: [VipModular.amxx] Limit type 'Steam' not found.
L 03/04/2026 - 17:00:06: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 17:00:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 17:00:06: Unhandled dynamic native error
L 03/04/2026 - 17:00:06: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 17:00:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 17:00:06: [VipModular.amxx] Limit type 'Alive' not found.
L 03/04/2026 - 17:00:06: [AMXX] Run time error 25 (plugin "VipModular.amxx") - debug not enabled!
L 03/04/2026 - 17:00:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/04/2026 - 17:00:06: Unhandled dynamic native error
L 03/04/2026 - 17:00:06: [AMXX] Run time error 10 (plugin "VipModular.amxx") (native "abort") - debug not enabled!
L 03/04/2026 - 17:00:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
AMX Mod X
AMX Mod X 1.9.0.5294
Билд сервера
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.14.0.857-dev
Build date: 19:52:21 Mar 27 2025 (4002)
Build from: https://github.com/rehlds/ReHLDS/commit/89958d3
ReGameDLL
ReGameDLL version: 5.28.0.756-dev
Build date: 19:19:31 Mar 27 2025
Metamod версия
Metamod-r v1.3.0.149, API (5:13)
Metamod-r build: 11:31:17 Apr 23 2024
Metamod плагины
[ 1] AMX Mod X     RUN   -    amxmodx_mm_i386.so        v1.9.0.5294      ini  Start ANY
[ 2] Reunion RUN - reunion_mm_i386.so v0.2.0.27 ini Start Never
[ 3] Revoice RUN - revoice_mm_i386.so v0.1.0.34 ini Start Never
[ 4] ReSemiclip RUN - resemiclip_mm_i386.so v2.4.3 ini Chlvl ANY
[ 5] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini Chlvl ANY
[ 6] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[ 7] Rechecker RUN - rechecker_mm_i386.so v2.7 ini Chlvl ANY
[ 8] MySQL RUN - mysql_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[ 9] SQLite RUN - sqlite_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[10] ReAPI RUN - reapi_amxx_i386.so v5.26.0.338-dev pl1 ANY Never
[11] Fun RUN - fun_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[12] Engine RUN - engine_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[13] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[14] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[15] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[16] CSX RUN - csx_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[17] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
Список плагинов
[  1] FreshBans               1.4.8b      kanagava          fresh_bans_148-  running
[ 2] fb_forwards 0.1.5 Kanagava & Realu fb_forwards_lu. running
[ 3] Admin Base 1.9.0.5294 AMXX Dev Team admin.amxx running
[ 4] Admin Commands 1.9.0.5294 AMXX Dev Team admincmd.amxx running
[ 5] Slots Reservation 1.9.0.5294 AMXX Dev Team adminslots.amxx running
[ 6] Menus Front-End 1.9.0.5294 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.9.0.5294 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.9.0.5294 AMXX Dev Team plmenu.amxx running
[ 9] Maps Menu 1.9.0.5294 AMXX Dev Team mapsmenu.amxx running
[ 10] Plugin Menu 1.9.0.5294 AMXX Dev Team pluginmenu.amxx running
[ 11] Admin Color Chat 1.1.1 Van der Cal admin_color_cha running
[ 12] Ultimate Chat 1.2 [ --<-@ ] ultimate_chat.a running
[ 13] Deluxe Admin Chat 1.7 Hell Phoenix/EJL amx_ejl_adminch running
[ 14] Anti Flood 1.9.0.5294 AMXX Dev Team antiflood.amxx running
[ 15] Scrolling Message 1.9.0.5294 AMXX Dev Team scrollmsg.amxx running
[ 16] Info. Messages 1.9.0.5294 AMXX Dev Team imessage.amxx running
[ 17] Admin Votes 1.9.0.5294 AMXX Dev Team adminvote.amxx running
[ 18] AMXX Gag 1.4.9 xPaw & Exolent amx_gag.amxx running
[ 19] Hide HUD/Menu on Vote 1.2.2 d3m37r4 hide_hud_and_me running
[ 20] Dynamic Rount Time 1.0 FILTHY claude_dynamic_ running
[ 21] Pause Plugins 1.9.0.5294 AMXX Dev Team pausecfg.amxx running
[ 22] Stats Configuration 1.9.0.5294 AMXX Dev Team statscfg.amxx running
[ 23] Restrict Weapons 1.9.0.5294 AMXX Dev Team newrestmenu.amx running
[ 24] StatsX 1.9.0.5294 AMXX Dev Team statsx.amxx running
[ 25] CS Misc. Stats 1.9.0.5294 AMXX Dev Team miscstats.amxx running
[ 26] CS Stats Logging 1.9.0.5294 AMXX Dev Team stats_logging.a running
[ 27] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 28] Task Scheduler 0.2 JustinHoMi task_scheduler. running
[ 29] Map Spawns Editor 1.0.16 iG_os Map_Spawns_Edit running
[ 30] Reset Score 1.0.2 Gravi gravi_resetscor running
[ 31] Advanced Kill Assists 1.6 Xelson next21_kill_ass running
[ 32] Admin Free Look 1.9 Jim admin_freelook2 running
[ 33] Advanced Weapon Tracer 1.3.0 ConnorMcLeod advanced_weapon running
[ 34] Game Namer 1.1 NeuroToxin gamenamechanger running
[ 35] HudTextArgs Blocker 1.1 joaquimandrade hudTextArgsBloc running
[ 36] Style C4 Timer 3.1 OciXCrom crx_c4timer.amx running
[ 37] Unlimited ChooseTeam 0.0.1 ConnorMcLeod unlimited_choos running
[ 38] Ultimate Gore 1.6 JTP10181 amx_gore_ultima running
[ 39] Bullet Whizz 1.4 Cheap_Suit bullet_whizz.am running
[ 40] WalkGuard 1.3.2 mogel walkguard.amxx running
[ 41] 'Fire in the hole' blo 1.0 xPaw FITH_block.amxx running
[ 42] Demo Recorder 2.4.1 F@nt0M demo_recorder.a running
[ 43] Blue Fade 0.1 Stimul blue_kill_fade. running
[ 44] DHUD score 0.2 @emmajule filthy_dhud_sco running
[ 45] Automatic Reboot Sched 1.2.4 FILTHY filthy_server_r running
[ 46] [ReAPI] Round info 1.2 mIDnight round_info.amxx running
[ 47] Simple Damager 2.1.0 fl0wer simple_damager. running
[ 48] KGB Bots 2.3 OvidiuS & Desika kgbbots.amxx running
[ 49] Rates Checker 1.7 pRED* ratescheck.amxx running
[ 50] AMX Client Exec 0.03 v3x amx_exec.amxx running
[ 51] Params Controller 1.3.3 ArKaNeMaN ParamsControlle running
[ 52] Vip Modular 5.0.0-rc4 ArKaNeMaN VipModular.amxx running
[ 53] [VipM] Modules Limiter 5.0.0-rc4 ArKaNeMaN VipM-ModulesLim running
[ 54] unknown unknown unknown VipM-Misc.amxx running
[ 55] [VipM-M] Weapon Menu 5.0.0-rc4 ArKaNeMaN VipM-M-WeaponMe running
[ 56] [VipM-M] Vip in TAB 5.0.0-rc4 ArKaNeMaN VipM-M-VipInTab running
[ 57] [VipM-M] Vampire 5.0.0-rc4 ArKaNeMaN VipM-M-Vampire. running
[ 58] [VipM-M] Spawn Items 5.0.0-rc4 ArKaNeMaN VipM-M-SpawnIte running
[ 59] [VipM-M] Spawn Health 5.0.0-rc4 ArKaNeMaN VipM-M-SpawnHea running
[ 60] Items Controller 1.0.0-rc4 ArKaNeMaN ItemsController running
[ 61] Map Manager: Core 3.2.1 Mistrick map_manager_cor running
[ 62] Map Manager: Scheduler 0.2.1 Mistrick map_manager_sch running
[ 63] Map Manager: Online so 0.0.4 Mistrick map_manager_onl running
[ 64] Map Manager: Effects 0.1.3 Mistrick map_manager_eff running
[ 65] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
[ 66] Map Manager: Sounds 0.0.3 Mistrick map_manager_sou running
Исходный код плагина
#include <amxmodx>
#include <VipModular>
#include <ParamsController>
#include "VipM/DebugMode"
#include "VipM/ArrayTrieUtils"
#include "VipM/Utils"
#include "VipM/Forwards"

public stock const PluginName[] = "Vip Modular";
public stock const PluginVersion[] = _VIPM_VERSION;
public stock const PluginAuthor[] = "ArKaNeMaN";
public stock const PluginURL[] = _VIPM_PLUGIN_URL;
public stock const PluginDescription[] = "Modular vip system";

#include "VipM/Core/Objects/Modules/Type"
#include "VipM/Core/Objects/Limits/Type"
#include "VipM/Core/VipsManager"
#include "VipM/Core/SrvCmds"
#include "VipM/DefaultObjects/Registrar"

public plugin_precache() {
register_plugin(PluginName, PluginVersion, PluginAuthor);
register_library(VIPM_LIBRARY);
PCCvar_Const("vipm_version", PluginVersion);

Forwards_Init();

VipsManager_Init();
ModuleType_Init();
SrvCmds_Init();
Forwards_RegAndCall("VipM_OnInitModules", ET_IGNORE); // deprecated

VipsManager_SetRootDir(PCPath_iMakePath(VIPM_CONFIGS_FOLDER_NAME));
VipsManager_LoadFromFile(PCPath_iMakePath(fmt("%s/%s", VIPM_CONFIGS_FOLDER_NAME, VIPM_VIPS_CONFIG_FILE_PATH)));
VipsManager_LoadFromFolder(PCPath_iMakePath(fmt("%s/%s", VIPM_CONFIGS_FOLDER_NAME, VIPM_VIPS_CONFIG_DIR_PATH)));

ModuleType_ActivateUsed();

Forwards_RegAndCall("VipM_OnLoaded", ET_IGNORE);
server_print("[%s v%s] Loaded %d config units.", PluginName, PluginVersion, VipsManager_VipsCount());
Dbg_PrintServer("Vip Modular run in debug mode!");
}

public client_authorized(playerIndex, const steamId[]) {
DefaultObjects_OnClientAuth(playerIndex, steamId);
}

public client_putinserver(playerIndex) {
DefaultObjects_OnClientPutInServer(playerIndex);
RequestFrame("@CallUserUpdate", playerIndex);
}

@CallUserUpdate(const playerIndex) {
if (is_user_connected(playerIndex)) {
VipsManager_UserReload(playerIndex);
}
}

public client_disconnected(playerIndex) {
VipsManager_UserReset(playerIndex);
}

#include "VipM/Core/API/Main"
#include "VipM/Core/API/Limits"
#include "VipM/Core/API/Modules"
public plugin_natives() {
API_Main_Init();
API_Limits_Init();
API_Modules_Init();

DefaultObjects_RegsiterNatives();

set_native_filter("@NativeFilter");
}

@NativeFilter(const name[], const index, const trap) {
new ret = PLUGIN_CONTINUE;

if (DefaultObjects_NativeFilter(name, !!trap)) {
ret = PLUGIN_HANDLED;
}

return ret;
}
I can't get this plugin working for some reason, can you please help?
Or I don't know how to activate modules... Still receiving error.

1772640995490.png
 
Последнее редактирование:
Решение

Кто просматривает тему

  • Назад
    Верх