From 3324d65f3f044aa1f0b54a76d232f37f56b232c0 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Sun, 20 Nov 2005 20:44:12 +0000 Subject: [PATCH] fixed amx_restrict off and related cmds not working as they should (jtp10181) --- plugins/cstrike/restmenu.sma | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/cstrike/restmenu.sma b/plugins/cstrike/restmenu.sma index 6f6084ad..5984db84 100755 --- a/plugins/cstrike/restmenu.sma +++ b/plugins/cstrike/restmenu.sma @@ -359,7 +359,9 @@ switchCommand(id, action) if (c < 3) { - setc(g_blockPos, 112, action) + for (new x = 0; x < MAXMENUPOS; x++) + setWeapon(x, action) + console_print(id, "%L", id, action ? "EQ_WE_RES" : "EQ_WE_UNRES") g_Modified = true } else {