From 1b7bc5146472af5a899d761aad91aed6f5d0b1d3 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Sat, 7 Aug 2021 09:07:25 +0300 Subject: [PATCH] FIX: /guns menu don't open on F1 key (#29) --- .../addons/amxmodx/scripting/CSDM_ReAPI/csdm_equip_manager.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cstrike/addons/amxmodx/scripting/CSDM_ReAPI/csdm_equip_manager.sma b/cstrike/addons/amxmodx/scripting/CSDM_ReAPI/csdm_equip_manager.sma index ae21314..8ef4a50 100644 --- a/cstrike/addons/amxmodx/scripting/CSDM_ReAPI/csdm_equip_manager.sma +++ b/cstrike/addons/amxmodx/scripting/CSDM_ReAPI/csdm_equip_manager.sma @@ -75,7 +75,7 @@ public plugin_init() register_dictionary("csdm_reapi.txt") register_dictionary("common.txt") - for(new i = 0; i < sizeof(g_szEquipMenuCmds)-1; i++) + for(new i = 0; i < sizeof(g_szEquipMenuCmds); i++) { register_clcmd(g_szEquipMenuCmds[i], "ClCmd_EnableMenu") }